Introduction

Obstetric anal sphincter injuries (OASIs) are a serious yet often undiagnosed complication of vaginal delivery, directly implicated in various degrees of continence issues, including frank faecal incontinence (FI). It is estimated that one in four women who undergo vaginal delivery experience some form of OASI1,2,3,4, placing them at a 25–50% risk of developing FI, either shortly after delivery5,6 or later in life7,8,9,10. FI has a profoundly negative impact on quality of life, affecting women’s social interactions, professional activities, family dynamics, and intimate relationships11,12,13.

Despite this significant risk, early and reliable postpartum detection of OASI remains a critical gap in maternal care. There is no widely accessible, objective diagnostic tool that enables timely and accurate identification of OASI before complications arise. Currently, obstetricians rely on digital rectal examination (DRE), the only available assessment method in maternity settings, which is highly dependent on the examiner’s experience and skills. As a subjective method, DRE lacks reliability, with primary detection failure rates for OASI reported as high as 80%10.

The lack of an effective early detection tool contributes to delayed diagnosis, missed treatment opportunities, and a higher burden of FI among postpartum women9,10. While endoanal ultrasound (EAUS) is the gold standard for diagnosing anal sphincter injuries14,15, with near-perfect sensitivity in identifying structural abnormalities, it is nor routinely used in obstetric care. Its limited accessibility is primarily due to a shortage of trained specialists and the technical challenges of interpreting perianal imaging in the immediate postpartum period, when swelling, blood, and tissue changes obscure visibility16.

Nonetheless, as highlighted in a Cochrane review17, EAUS demonstrates clinical value when used immediately after childbirth, before perineal repair, as it can reduce the rate of severe FI at 6-month follow-up. Over the past decade, transperineal ultrasound (TPUS) has been explored as a more accessible alternative to EAUS for identifying OASI, demonstrating good correlation with EAUS results18,19. Studies indicate that when TPUS is performed before sphincter repair, it detects more OASIs than DRE alone20. However, both EAUS and TPUS require specialized training and interpretation, which limits their widespread adoption in real-world obstetric care.

Addressing this unmet need requires a rapid, objective, and easy-to-use bedside diagnostic tool that can be applied in standard maternity settings, reducing reliance on subjective examination and ensuring timely intervention. To this end, a novel approach using electric impedance spectroscopy has been developed, as this technique is an established method for assessing tissue condition21,22, and has been successfully applied in various medical fields23,24,25,26. This technique applies a sinusoidal electrical current below the sensation threshold to the body at various frequencies, measuring the impedance response to infer tissue characteristics. Despite its broad medical applications, impedance spectroscopy has never been explored for perianal diagnostics. A proof-of-concept study involving 22 patients, followed by two pilot clinical studies using prototype devices on a total of 69 postpartum women, demonstrated the validity of this method27,28,29,30. However, distinguishing between normal and injured tissue required advanced signal processing techniques. Due to subtle differences in impedance values high sensitivity and specificity were achieved only through the application of nonlinear machine learning (ML) algorithms for test interpretation.

Prototypes of this new diagnostic tool, called the ONIRY system, were designed and developed, with the ML module progressively trained on clinical data to refine its accuracy27,28. The overall concept for this system is to serve as a rapid, accessible, and objective bedside method for early OASI detection, addressing the longstanding gap in postpartum care.

This study aims to evaluate the clinical performance and safety of the ONIRY system—a rapid OASI detection device incorporating impedance spectroscopy and ML—against EAUS as the reference diagnostic method, following re-training of the ML model on a larger, balanced postpartum population.

Materials and methods

A prospective, comparative, multicenter, international clinical study was designed, composed of two parts: the clinical conduct (Part I) and modelling and ML (Part II). Part I of the study was conducted from 2021 to 2022 at five European centers in Czech Republic, Slovakia, Poland, and Spain. The study design and conduct were in line with the Good Clinical Practice guidelines for medical device studies (ISO 14155:2020) and conducted in accordance with the Declaration of Helsinki. All approvals by the national regulatory authorities as well as positive opinions by the ethics committees, per local regulations, were obtained prior to study initiation. Written informed consent was collected from each study participant before enrolment. The study was registered at ClinicalTrials.gov under NCT04903977 (27/05/2021).

Study design

The study was designed to enroll a total of approximately 150 women between 18 and 49 years old, primiparous, or multiparous, from the first moments up to 8 weeks after vaginal (spontaneous or assisted) delivery of a singleton, live fetus, in any presentation, in gestational week 34 or higher. All inclusion and exclusion criteria are listed in Supporting Information S1, along with the detailed study plan.

Three study groups were pre-defined, with fixed numbers of participants enrolled as to ensure generation of balanced data from women with and without OASI. Participants were initially enrolled in these groups based on the evaluation made immediately after delivery according to the 4-degree perineal tears scale31: approximately 30 women were planned for group A (no visible perineal tear), approximately 60 for group B (clinically detectable first- or second-degree perineal tear, including episiotomy), and approximately 60 for group C (clinically detectable third- or fourth-degree perineal tear, involving anal sphincters, regardless of primary repair. Specifically, including women with pre-existing primary repairs in Group C was intentional and considered necessary for ML training purposes, as muscle tissue that has been approximated by sutures differs from healthy tissue and should be distinguishable. Furthermore, even after initial sphincter repair, the sphincters’ integrity may remain compromised (in 40–71% of cases) if their continuity is not fully restored32,33.

The study duration for each participant was from 2 days up to 5 weeks and included 3 study visits. The first visit, occurring anytime from the immediate postpartum period up to 8 weeks post-delivery, involved the collection of medical history, including pregnancy and birth details, a comprehensive physical examination with proctological and gynaecological assessment, a 12-lead electrocardiogram (ECG) recording, and an evaluation of clinical FI symptoms using the Wexner score. At this initial visit, three dimensional (3-D) EAUS was also performed, serving as the reference diagnostic method and as the final tool for study group allocation.

Following such allocation (per EAUS-based OASIS classification34,35), participants underwent impedance spectroscopy using the ONIRY system at the second visit, which took place on the same day as the first visit or up to 7 days later. A web-based application was utilized to provide preliminary test interpretation, allowing the operator to experience an immediate OASI detection result from the ONIRY system (indicating either OASI detected or not detected). These preliminary interpretations were generated from an ML model trained on data from previous pilot studies, which could differ from the final interpretation based on the refined ML model trained during Part II of this study.

To explore the reproducibility of impedance measurements, two consecutive measurement runs were conducted per participant. An arbitrary reproducibility criterion was applied, whereby any difference greater than 1 kΩ at the frequency of 1 kHz between the first and second runs was noted as a discrepancy.

A 12-lead ECG was repeated immediately after impedance measurement with the ONIRY system. Faecal calprotectin levels and blood morphology parameters were also measured to assess any correlation with tissue electrical impedance results as potential confounding factors. At the third study visit, which occurred between 0 and 28 days after the second visit, anal sphincter function was evaluated using high-resolution anorectal manometry. This procedure was optional, depending on availability at each study site. Vital signs were assessed at each study visit to monitor participant safety throughout. The sequence of study procedures is summarized in Fig. 1.

Fig. 1
figure 1

The diagram outlining the individual steps of the study.

Due to the nature of the study design, no blinding was deemed feasible. However, it was not considered essential for maintaining objectivity of study outcomes, as the preliminary interpretation of impedance measurements displayed by the ONIRY system was generated independently based on the ML model trained in prior pilot studies. This interpretation was thus uninfluenced by the test operator and unaffected by knowledge of the EAUS results at study entry. To further minimize any potential bias associated with using EAUS as the primary reference method, a specific technical control measure ensured that the ONIRY examination could only proceed once the EAUS results and interpretation were finalized and entered into the electronic Case Report Form.

Study endpoints

The diagnostic outcome of the ONIRY examination compared to 3-D EAUS assessed using the OASIS classification was set as primary endpoint and used for the conclusion on the diagnostic performance of the ONIRY system (following the application of the ML algorithms re-trained in Part II of the study). For the EAUS-based Diagnostic Outcome, OASI was considered detected as long as any depth, length, or circumference range of either anal sphincter (external or internal) was captured (score > 2 by OASIS classification). OASI was considered detected if any depth, length, or circumferential involvement of either the external or internal anal sphincter was observed (OASIS classification score > 2).

Secondary endpoints related to diagnostic performance assessed in this study, including Diagnostic Outcomes using other reference methods such as digital rectal examination and high-resolution anorectal manometry, were used for respective ML models construction but are not included in this report.

Adverse Events (AE) were recorded for each participant from the time of enrolment until the last study visit.

Impedance spectroscopy system

Impedance spectroscopy was performed on each study participant using the ONIRY system, which consists of three components: the impedance spectrometer, the endoanal probe, and the ML module. Note that ONIRY is a proprietary name, not an abbreviation. The spectrometer generates a sinusoidal current in the 1–100 kHz frequency range with an amplitude below sensation and pain thresholds, enabling tissue impedance measurement.

The endoanal probe, made from biocompatible, rigid plastic, measures 12 mm in diameter at the electrode site (with a head diameter of up to 19 mm) and contains 8 stainless steel electrodes. These electrodes allow the measurement of impedance modulus, phase shift, resistance, and reactance within the perianal area. The probe also features a handle with a positioning marker to ensure correct placement in the anal canal (see Fig. 2).

Fig. 2
figure 2

ONIRY Probe with the marker location.

During examination, the probe is inserted into the anal canal for approximately one minute, remaining stationary throughout the measurement. The examination is performed with the patient in a supine position or lying on her left side with knees flexed, depending on operator preference (see Fig. 3).

Fig. 3
figure 3

The participant’s position during the ONIRY examination (a) along with position of the probe marker (b).

The spectrometer captures raw impedance data through the endoanal probe, which are then processed to determine statistical parameters for various frequency sub-compartments. These processed parameters serve as an input vector for the ML model, which is trained to analyze subtle differences in impedance patterns that distinguish injured tissue from healthy (or repaired) tissue. The ML model processes these patterns across a complex multi-dimensional dataset, refining its analysis with each frequency parameter to classify tissue integrity accurately.

Following the impedance measurement, the ONIRY system, supported by the ML model, determines whether OASI is present and outputs either “PASS” (no OASI detected) or “REFER” (OASI detected). The ML algorithm is also equipped with control protocols that prevent measurement if improper probe placement is detected, including misalignment or incomplete insertion. The complete ONIRY system setup is illustrated in Fig. 4.

Fig. 4
figure 4

ONIRY system comprising ONIRY Spectrometer and ONIRY Probe.

Endoanal ultrasound

3-D EAUS, although not typically performed immediately postpartum, remains the only objective, high-precision method for detecting OASI and is thus the gold standard for OASI diagnosis. Despite practical limitations, EAUS was selected as the optimal reference standard for obstetric care in this study to train the ML model and achieve the highest possible diagnostic efficiency for the ONIRY system.

All EAUS examinations were conducted by experts with at least 20 years of experience in perianal imaging. Imaging included assessments of the external and internal anal sphincters as well as the puborectalis muscle. To ensure consistency, the 3-D EAUS procedures followed a standardized study-specific protocol (detailed in a study manual implemented across all centres). The 3-D EAUS results were interpreted according to the OASIS classification32,33 for the primary endpoint.

In addition to the OASIS classification, each EAUS examination was assessed using the Starck scale36 and the Norderval scale37, well-regarded semi-quantitative scoring systems established for EAUS. These alternative assessments allowed for exploratory analyses to determine whether substituting these scores for the OASIS classification could enhance the ONIRY system’s diagnostic performance. Corresponding ML models were also constructed based on these additional scores, allowing for further evaluation in exploratory studies.

Statistical analysis

For calculation of diagnostic performance metrics for ONIRY, the Diagnostic Outcome was determined separately for each performance endpoint, as:

  1. 1.

    Diagnostic Success: presence (True Positive) or absence (True Negative) of OASI consistently detected by the ONIRY examination and the reference diagnostic method, or.

  2. 2.

    Diagnostic Failure: mismatch (False Positive or False Negative) of the OASI detection by the ONIRY examination and the reference diagnostic method, or.

  3. 3.

    Diagnostic Indeterminate: no ONIRY or reference diagnostic method result available or interpretable.

For the primary endpoint, 3-D EAUS result (by OASIS classification) served as the reference method. Evaluation of the exploratory endpoints (diagnostic outcome with 3-D EAUS evaluated with Starck36 or Norderval37 scales) was performed accordingly.

Accuracies were defined as Diagnostic Successes/Total, sensitivities as True Positives/(True positives + False Negatives), and specificities as True Negatives/(True Negatives + False Positives). Also, the F1 score, and Matthew’s Correlation Coefficient (MCC)38 were calculated.

The safety profile of ONIRY system was evaluated using descriptive statistics.

Data analysis (part I) and machine learning modelling (part II)

Details of the algorithm used to interpret impedance examination results in Part I of the study, based on the preliminary ML model trained with data from two prior pilot clinical studies, are provided in Supporting Information S2. In Part II, in silico analyses included exploratory data analysis, dimensionality reduction, ML modeling, and final performance evaluation with 10-fold cross-validation; full methodological details are available in Supporting Information S3.

For the per-patient reproducibility analysis, if a significant discrepancy was found between the two impedance measurement runs from the same participant, the second measurement run was excluded from the analysis dataset used to develop the final algorithm (note: in real-world application, a single measurement run will be performed per patient).

Results

Study population

Of one hundred fifty-three participants screened, 152 were enrolled (1 screening failure). Following 3-D EAUS with OASIS classification, participants were allocated as follows: 30 in Group A (no visible perineal tear and no OASI), 61 in Group B (clinically detectable first- or second-degree perineal tear but no OASI), and 61 in Group C (clinically detectable third- or fourth-degree perineal tear with OASI).

Table 1 presents the key characteristics of the study population by group and overall.

Table 1 Characteristics of the study population.

Fifteen participants discontinued the study prematurely: 3 in Group A (10.0%; 3/10), 10 in Group B (16.4%; 10/61), and 2 in Group C (3.3%; 2/61), with all discontinuations occurring between the second and last visits. Thus, as all these participants had undergone both EAUS and impedance examinations, they were included in the Clinically Evaluated Population.

Part I (clinical conduct)

All enrolled participants were evaluable for the primary endpoint as well as safety outcomes. Diagnostic Success or Failure was determined for 147 participants. For the remaining 5 participants (enrolled at 3 study sites), the Diagnostic Outcome was Indeterminate due to electric impedance measurements falling outside the spectrometer’s expected range, unrelated to the anal canal tissue impedance profile. Thus, the primary endpoint was assessed in 60 participants with OASI (Group C) and 87 participants without OASI (Groups A and B).

Using the preliminary ML model trained on data from prior pilot studies, diagnostic performance metrics were observed as follows: sensitivity of 66.7%, specificity of 57.5%, accuracy of 61.2%, F1 score of 0.58, and MCC of 0.24 (see Supporting Information S4 for detailed metrics).

No significant correlation was found between faecal calprotectin levels and the results of wither EAUS or ONIRY examinations.

Part II (in silico machine learning modelling)

The ultimate performance analysis was conducted with an ML model trained on data generated in Part I of this study, incorporating both raw impedance data from ONIRY and OASI detection results from EAUS as a reference standard. A total of 298 impedance measurements meeting quality requirements (see Supporting Information S5) were included: 122 from participants with OASI (group C) and 176 from participants without OASI (group A and B). Following exploratory data analysis, dimensionality reduction, and modelling using artificial neural networks, diagnostic metrics showed marked improvement, achieving sensitivity slightly above 90% and specificity slightly below 85%, as presented in Table 2 (with individual cross-validation statistics available in Supporting Information S6).

The exploratory per-patient reproducibility analysis from Part I revealed discrepancies between the two impedance measurement runs in 19 participants (12.8%). In exploratory analyses using alternative EAUS classification scores, performance metrics based on the Starck36 and Norderval37 classifications were assessed. Using the Starck classification sensitivity was 83.8%, specificity 88.1%, accuracy 86.4%, F1 score 0.83, and MCC 0.73. For the Norderval classification, sensitivity reached 84.3%, specificity 89.3%, accuracy 87.4%, F1 score 0.84, and MCC 0.74.

Table 2 Mean performance metrics of the ONIRY system using the models trained on data from part I of the study, in the assessment relative to 3-D endoanal ultrasound and OASIS classification.

Safety results

No deaths, serious AE, or AE leading to premature withdrawal from the study were reported during the study conduct. A total of 22 AE were observed in 21 participants: 4 AE in group A, 5 in group B, and 13 in group C. All AE occurred after the ONIRY examinations. Four types of AE were reported by more than one participant, with the most common being nasopharyngitis (2.6%, 4/152) and COVID-19 (2.6%, 4/152).

None of AE were considered related to the ONIRY system, and no adverse device effect were reported.

No trends were observed in ECG parameters when comparing baseline recordings (pre-ONIRY examination) with post-ONIRY recordings. Additionally, no clinically significant cardiovascular abnormalities were recorded as an AE following ONIRY application.

Post-hoc analysis

Following exploratory analyses of per-patient reproducibility in impedance measurements, 19 measurement files (each from the second measurement per relevant patient) were excluded from the final ML model for the ONIRY system, resulting in a “limited dataset” comprising 93.6% (279/298) of the original dataset. The limited dataset included 279 impedance measurements: 117 corresponding to OASI and 162 with no OASI. A post-hoc performance analysis using cross-validations on this refined ML model demonstrated diagnostic metrics with both sensitivity and specificity of ONIRY system at 90.0%, as detailed in Table 3 (individual cross-validation statistics are provided in Supporting Information S6).

Table 3 Mean performance metrics of the ONIRY system using the Machine Learning model trained based on the limited clinical study dataset in the assessment relative to 3-D Endoanal Ultrasound and OASIS classification.

Discussion

Key findings

The ML-assisted impedance spectroscopy using ONIRY system demonstrated high diagnostic performance for OASI detection, when compared to EAUS in the study population enriched with OASI cases (40.1%, 61/152 of enrolled women). Following re-training of the ML model in Part II with data generated in Part I, the system achieved an accuracy of 87.0 ± 0.5%, with a sensitivity of 90.6 ± 2.0%, and specificity of 84.6% ± 1.9%. After refining the dataset by excluding 6.4% (19/298) of impedance measurements due to measurement discrepancies, the optimized ML model intended for the final ONIRY system reached an accuracy of 90.0 ± 0.4%, with both sensitivity and specificity at 90% (sensitivity 90.0 ± 1.2%, specificity 90.0 ± 0.7%). This significant improvement, particularly after re-training the ML model with a well-balanced dataset, highlights the importance of balanced and representative training data in machine learning-driven diagnostics.

The initial lower performance observed in Part I of the study (accuracy of 61.2%), where the ML model was trained on smaller, less diverse pilot datasets27,28,29,30, underscores the need for larger, well-balanced training cohorts to enhance model robustness. The improved performance of the final ML model in this study likely reflects the broader variability of raw impedance data collected and the higher representation of OASI cases, which better supported model optimization.

Exploratory analyses using alternative EAUS reference methods (Starck and Norderval classifications with corresponding alternative ML models) did not demonstrate additional diagnostic advantages over the primary performance metrics.

The safety profile of the ONIRY system was also confirmed, with no adverse events related to the device. The few reported adverse events were unrelated to ONIRY, and no device deficiencies were recorded. Future studies in unselected postpartum cohorts will be essential to confirm the real-world applicability of ONIRY.

Clinical implications

Currently, no rapid easy-to-use diagnostic tool is available in maternity care settings for whole obstetric team, beyond digital rectal examination. Although DRE is a standard procedure, recommended in most obstetric guidelines39,40,41,42,43, it has significant limitations due to its subjective nature with sensitivity for detecting OASI heavily dependent on the examiner’s experience44,45,46. Hence the crucial importance of practical training and programmes dedicated to midwives and obstetricians aimed at increasing the OASI detection rate and the effectiveness of its management47,48.

Although EAUS, as the gold standard for detecting OASI, is rarely feasible in the early postpartum period due to resource and operational constraints, as well as challenges to interpret images in the immediate postpartum hours49 - its value in accurately detecting even minor injuries is undeniable. Typically, EAUS is more suitable later in the postpartum period, around 6–8 weeks after delivery, when patients return with symptoms of incontinence or perineal wound healing issues, which are current indications for an EAUS assessment.

As demonstrated in this study, the ML-supported impedance spectroscopy, providing a straightforward interpretation of the perianal tissue impedance results, has shown high diagnostic accuracy, achieving approximately 90% sensitivity and specificity (compared with 3-D EAUS, per OASIS classification, the only available objective reference) during the whole postpartum period (from the first hours up to 8 weeks after delivery).

Unlike DRE, impedance spectroscopy is not examiner-dependent and provides automated, standardized results, reducing variability between different healthcare providers. Unlike EAUS, ONIRY does not require advanced imaging interpretation, making it a practical, accessible diagnostic option for maternity care settings. Given that the entire ONIRY examination—including automated analysis and result generation—takes under a minute, it has the potential for widespread adoption in routine postpartum assessments.

One of the most promising applications of ONIRY is its use within the first 24 h postpartum, when early detection of OASI allows for primary sphincter repair, significantly reducing the risk of long-term FI. A systematic review by Walsh et al.17 highlighted that EAUS performed immediately postpartum, before perineal repair,, before any perineal repair, significantly increases OASI detection rates and improves primary repair outcomes. However, EAUS is rarely available in the maternity setting, leaving most obstetric teams without an effective tool for immediate postpartum OASI diagnosis. ONIRY could fill this critical gap, enabling timely, evidence-based clinical decisions.

Beyond the immediate postpartum period, ONIRY could also serve as a valuable screening tool in the weeks following delivery. Many occult OASI cases remain undiagnosed until women develop incontinence symptoms months or even years later, making early detection critical for long-term pelvic floor health. By bridging the gap until EAUS becomes feasible, ONIRY could identify asymptomatic or underdiagnosed cases, ensuring that at-risk women receive appropriate follow-up care, targeted rehabilitation, or specialist referral before symptoms of FI. This expanded diagnostic window could fundamentally improve the standard of postpartum care, shifting the focus from reactive symptom management to proactive early intervention.

From a cost-effectiveness standpoint, ONIRY represents a practical supplement to standard of care particularly in low-resource or high-volume maternity units, where access to specialized imaging is limited. The implementation of ONIRY could help reduce long-term healthcare costs by preventing chronic FI, minimizing the need for complex surgical interventions, and improving overall maternal quality of life. Future health-economic analyses are warranted to assess the financial benefits of integrating ONIRY into routine postpartum protocols.

What favours EAUS as the diagnostic method is the possibility to separately visualise both external and internal anal sphincters. This enables targeted repairs of the external sphincter alone or combined repair of both sphincters, making EAUS an essential tool for elective diagnosis before any delayed sphincter repair. However, it is not a practical solution for routine OASI screening in maternity settings. ONIRY does not replace EAUS but complements it, serving as an intermediate step between DRE and advanced imaging, ensuring better patient triaging and reducing missed diagnoses.

If impedance spectroscopy proves successful in clinical practice, it could not only enhance postpartum management in maternity care settings but also facilitate timely referrals to specialist surgical units, ultimately improving long-term outcomes for women affected by OASI. Because ONIRY provides automated, rapid interpretation of impedance data in a simple binary output (PASS/REFER), it has potential for routine use by a wider range of maternity care staff, even those with minimal specialized training.

In this study, no device-related safety concerns were identified, and ONIRY was well tolerated by all participants. While no absolute contraindications for ONIRY use were observed, caution is advised in cases involving:

  • Women with implanted pelvic devices or metallic implants, which could theoretically interfere with impedance readings.,

  • Severe perianal malformations, where altered tissue structures may affect measurement accuracy, or.

Patients using electronic medical implants, particularly those generating alternating currents above 1 kHz, to avoid potential electromagnetic interference. These considerations will be addressed in future risk assessments and protocol refinements to ensure the broadest possible applicability of ONIRY in routine obstetric practice.

This study represents the first clinical validation of impedance spectroscopy for OASI detection in a broader postpartum population. Future studies are planned, focusing on:

  • The critical time window within the first few hours postpartum, to further refine the ML model’s efficacy at a point when early OASI detection offers the most benefit—allowing for timely primary repair.

  • Expanding ONIRY validation in an unselected postpartum population, ensuring its effectiveness in diverse maternity care settings.

  • Conducting longitudinal follow-up studies to assess how early OASI detection influences long-term pelvic floor function and FI prevalence.

  • Developing standardized clinical protocols for integrating ONIRY into maternity care guidelines, ensuring routine adoption by midwives and obstetricians.

Limitations and research implications

This study has several limitations.

Firstly, the study population was selectively enriched with OASI cases (Group C, n = 61) to improve the dataset’s internal balance and increase the robustness of the ML model. This approach, common in AI and ML tool development50, ensures higher internal data coherence, enhancing the model’s effectiveness within a controlled dataset structure.

Secondly, the primary endpoint focused on OASI detection rather than a clinically meaningful outcome, such as faecal incontinence (FI) or quality of life measures. The surrogate endpoint was chosen to facilitate a clear comparison between the ONIRY system and 3-D EAUS, the gold standard, within a manageable timeframe. Establishing a clinically meaningful benefit for the ONIRY system would require extended, long-term follow-up studies, spanning years to account for the gradual development of FI in women with OASI. The potential benefit of rapid OASI detection hinges on the availability and prompt implementation of therapeutic measures, notably primary sphincter repair within the optimal 8–12 h window after delivery34,35,39,40,41,42,43.

Another limitation arises from the high proportion of participants in Group C (52 out of 61) who had already undergone primary sphincter repair before study enrolment. This factor may have influenced impedance spectroscopy results toward readings typical of non-injured cases. However, given that the ML models were trained with this dataset, it is plausible that the ONIRY system’s performance could be even greater in real-world use, where OASI detection would ideally occur before repair. Newly injured, unrepaired sphincters are likely to present a clearer contrast in impedance measurements compared to tissues that have already undergone repair.

The difference in median time between delivery and ONIRY examination across groups (28 days in Group C, versus 2 and 11 days in Groups A and B, respectively) reflects challenges encountered in recruiting cases of 3rd and 4th degree perineal tears (Group C) in this challenging study design. This delay also mirrors the lengthy diagnostic and therapeutic pathway typically experienced by OASI patients in current practice.

In addition, the inclusion of participants with previously repaired OASI in Group C captures clinical scenarios where underdiagnosed or inadequately repaired OASIs persist despite initial repair. Literature indicates that primary repair is incomplete in over 30% of cases, often due to the limited experience of the operator or the emergency nature of the procedure itself, usually performed during on-call hours51,52,53. Thus, classifying cases with recent repairs in the “injured” group is methodologically sound and aligns with real-world conditions.

Finally, no detailed data were captured for multiparous women on potentially undetected OASIs from prior deliveries. This could theoretically result in normal impedance readings due to tissue healing, despite persistent EAUS abnormalities. Conversely, abnormal impedance with normal EAUS could indicate fibrosis from a prior injury.

Conclusions

The ML-assisted impedance spectroscopy demonstrated safety and high diagnostic accuracy, achieving approximately 90% sensitivity and specificity in detecting obstetric anal sphincter injuries in women after vaginal birth. This approach could effectively complement digital rectal examination in obstetric settings, supporting timely postpartum care.