INJ Search

CLOSE


Int Neurourol J > Volume 29(1); 2025 > Article
Liu, Zhong, Chen, and Liao: Real-Time Typical Urodynamic Signal Recognition System Using Deep Learning

ABSTRACT

Purpose

Gold-standard urodynamic examination is widely used in the diagnosis and treatment of lower urinary tract dysfunction. The purpose of urodynamic quality control is to standardize urodynamic examination and ensure its clinical reference value. In our study, we attempted to use a deep learning (DL) algorithm model, mainly for the recognition of typical urodynamic signal, to help physicians complete high-quality urodynamic examinations.

Methods

Urodynamic image data from 2 cohorts of adult patients with neurogenic bladder were used: (1) 300 patients with neurogenic bladder in our center from 2012 to 2018 (1,960 images used to train and validate the DL model); and (2) 100 patients with neurogenic bladder from 2020 to 2021 (695 images used to test the performance of the DL model). This resulted in a total of 2,655 images to train, validate and test the DL algorithm to predict the urdynamic signals.

Results

Yolov5l had the best detection performance and the highest comprehensive index score (F1, 0.81; mean average precision, 0.83). Our study is a retrospective single-center study, and the generalization ability of the model has not been verified.

Conclusions

DL algorithms can help operators identify typical urodynamic signals in real time, improve the interpretation and quality of urodynamic examination, and benefit patients.

INTRODUCTION

Urodynamic studies are diagnostic procedures that evaluate the function of the lower urinary tract by measuring pressures and flows within the urethra and bladder. The Good Urodynamic Practices (GUP) aim to standardize these procedures and interpretations to ensure accurate and reliable results, thereby providing a scientific basis for clinical diagnosis and treatment, which was used by the International Association of Urinary Control (International Continence Society, ICS) to develop a series of measurements of urodynamics, quality control mechanisms, and technical specifications of the results [1, 2].
The changes of urodynamic signal features are complex, and traditional machine learning cannot identify the signal features in real time, while deep learning (DL) has the advantages of capturing high-dimensional image features and strong data processing capabilities, which can just complete the task [3]. DL algorithms are a subset of machine learning that uses multilayer neural networks to simulate how the human brain processes information to learn complex patterns and features from large amounts of data [4]. It has unique advantages in medical image processing, such as automatic feature extraction, batch data processing, generalization, and multitask learning. The implementation of the previous urodynamic technical specifications required the operator to complete the urodynamic examination and pay attention to the changes of the urodynamic signals in real time, which was often difficult for inexperienced operators, and eventually the technical specifications were not strictly implemented or ignored, resulting in the unreliable results of the urodynamic report [5]. Though the technical specification of urodynamics is clear and objective, it is often affected by subjective factors such as the difference of operator level in the implementation process, which leads to its popularization and application being restricted. Therefore, our study developed a real-time urodynamic signal recognition system to accurately identify signals with objective and unified standards to reduce the influence of the above subjective factors, thereby improving the quality of urodynamic examination in different regions and reducing healthcare disparities in underserved areas.

MATERIALS AND METHODS

Patient Cohort

Urodynamic image data from 2 cohorts of patients with neurogenic bladder were studied. The first cohort was made up of 300 adult patients with neurogenic bladder in our center from 2012 to 2018 and used to train and validate the DL model to determine performance metrics. Data included 1,960 images with urodynamics technical specifications related to typical signal, cough wave (grades A, B, and C), detrusor overactivity (DO), rectal peristalsis, and abdominal muscle contractions. Poor-quality images were excluded. The second cohort was made up of 100 patients with urinary dysfunction in our center from 2020 to 2021 used to test the depth of the DL model. The baseline characteristics of patients are shown in Table 1. A total of 695 images were included. The flow chart of the study process is shown in Fig. 1.

Typical Urodynamic Signal Pattern Category

The image study mainly included 4 channels (urodynamics abdominal pressure [Pabd], vesical pressure [Pves], detrusor pressure [Pdet], and flow of urodynamics), which included 6 kinds of typical signals and cough waves (grades A, B, and C), DO, rectum peristaltic waves, and abdominal muscle contractions. The most common method of cough wave evaluation with stress signaling quality was used [6, 7] (cough grade A: smaller wave/bigger wave 70% or higher; cough grade B: >70% smaller wave/bigger wave >30%; and cough grade C: 30% or greater smaller wave/bigger wave). Grade A was acceptable, while grades B and C were not. DO waves showed synchronous changes in Pves and Pdet but no or insignificant changes in Pabd. Rectal peristalsis waves showed the positive wave in Pabd, the negative wave in Pdet, and no significant change in Pves. Changes in abdominal muscle contraction wave Pabd and Pves, Pdet were mild. All signal examples are shown in Fig. 2B.

Data Preprocessing

All urodynamic studies were completed on a Laborie machine. The image study used local screenshots of urodynamics tests with a size of 512×512 pixels after considering the urodynamics used the process of training data image characteristics and the actual application. The image annotation was completed by 2 doctors with more than 5 years of working experience, and was included in the database (including development cohort and test cohort) after being corrected by one doctor with more than 10 years of working experience. The data-enhancement approach included the translation of all types of typical signals only, and no patient personal information was included. Labeling software was used for data annotation. The label data format was YOLO (you only look once), the label file format was txt, and the image format was png. The artificial intelligence system detection process is shown in Fig. 2.

DL Algorithms

This study applied yolov5 (https://github.com/ultralytics/yolov5) 5 series model of the (n, s, m, l, x) training test, at least within n model parameters, for the fastest but lowest-precision model parameters. The model of depth and width increased the ability to perform increased-complexity image feature extraction and gradually improved accuracy, but slowed the reasoning speed. The real-time recognition model of typical urodynamic signal by the yolov5 algorithm was combined with real-time screen capture (size 512×512 pixels) to assess. The detection mode is shown in the supplemental video. After classifying each type of signal, gradient class activation map (GradCAM) class activation graph-visualization analysis [8] was used to aid understanding of the focus area for the model classification of consistency with physicians.

Statistical Analysis

For training and validation, in accordance with the training set (70%) and validation set (30%), we determined the proportion of model training and performance evaluation in the validation set. Performance indicators included the recall rate (sensitivity), precision rate, F1 score, precision-recall (PR) area under curve (average precision, AP), and mean AP (mAP). All DL experiments were done using PyTorch in Python 3.8.

RESULTS

Typical Signal Pattern Recognition Analysis

PR curve is the curve enclosed by the precision rate values of the model under different recall rates, and the AP value was the AP of each signal type, which is the area under the curve value of PR curves. The quality of cough response signal was classified into 3 grades according to the most commonly used standard. Grade A represented high‐quality pressure transmission, and grades B and C represented low‐quality pressure transmission. The best AP value of cough grade A was 0.89, and the best grades B and C value was 0.71 and 0.86. The best AP value was 0.89 for DO signals. The best mAP rectal peristalsis signal value was 0.86, and the best mAP value of abdominal muscle contraction signal was 0.83.

Typical Signal Prediction Through Urodynamic Traces

The results of the yolov5 model after 250 epoch of training in the training set and validation of the validation set are shown in Table 2. And, the results of the test set are shown in Table 3. As Table 3 shows, the detection performance of yolov5l yielded the highest comprehensive index scores (F1, 0.84; mAP, 0.89). The F1 score, a comprehensive precision evaluation, was negatively correlated with the false-positive rate, the recall rate was negatively correlated with the nonresponse rate index, and the mAP was the average of the model prediction of accuracy for all categories. The verification of the yolov5 model on the test set showed similar performance. Yolov5l had the best detection performance and the highest comprehensive index score (F1, 0.81; mAP, 0.83) and inference speed was 10.2 msec per image (Table 3).
The classification accuracy of the yolov5 model for each signal is shown in Table 3. The recognition accuracy of yolov5l for the cough A, cough C, and DO signals was above 95%, and rectal peristalsis was close to 95%. The accuracy of cough B and abdominal muscle contraction was low (mAP, 0.67, 0.75, respectively) due to the partial overlap among signal features.
Examples of multiclass typical urodynamic signals is shown in Fig. 3A. The GradCAM class activation heatmap was used to visualize the focus areas of different signals identified by the yolov5 model. The focus areas of different signals of the model (the darker the color of the area, the greater the weight) were basically consistent with those of urodynamic experts (Fig. 3B). The training process of yolov5 is in Fig. 4.

DISCUSSION

Urodynamic quality control is categorized as qualitative or quantitative analysis. Qualitative analysis mainly consists of typical signal pattern recognition (e.g., DO, cough test signal, rectal peristalsis), such as the establishment of the quantitative analysis in a typical value range, clear-urine baseline value range of the urodynamic trace [1, 2], The ICS guidelines include different criteria to use for different examination positions [1, 2], but the criteria can be changed according to differences at urodynamic centers. At the same time, the guidelines point out that artifacts in urodynamic reports are often found in retrospective analysis but cannot be corrected, which reflects the importance and necessity of real-time quality control but has not been shown to be of high quality.
In our study, the model monitors the quality of urodynamic signal transmission through real-time grading evaluation of cough test signals, and then improves the quality of urodynamic examination. Recognition of DO waves can assist in the diagnosis of overactivity bladder, and interference signals such as rectal peristaltic wave and abdominal muscle contraction wave can be used to improve the recognition accuracy of DO waves, improve interpretation of urodynamic, and more directly and conveniently observe the vesicourethral function of patients and evaluate the relevant urodynamic changes. Assist clinicians to efficiently complete urodynamic report and realize intelligent urodynamic examination. The real-time urodynamic signal recognition system can play the role of clinical assistant, reduce the difficulty and burden of testing, and promote and implement the urodynamic technical specifications. Currently, machine learning algorithms are widely used in the field of urodynamics [9]. Some research teams that have carried out relevant research on the combination of machine learning and urodynamic examination have achieved high detection accuracy (i.e., the detection of DO signals and bladder compliance assessment) [10-12]. The DL algorithm is used to analyze the urine stream of sound changes, assess the patient’s urine flow rate, increase convenience, and confirm that DL can improve the exploration of urodynamics [13]. However, most of the model is mainly used for urodynamic test-image post-processing or single signal recognition and depends on the quality of the urodynamic test. High-quality examination, however, require the process to strictly follow the GUP, which is difficult for some physicians with little experience. Therefore, this study proposes a scheme combining a DL algorithm for urodynamic real-time signal recognition, which helps operators complete urodynamic examinations in accordance with GUP and reduces the difficulty of the work.
In addition to the role of quality control, the model’s recognition of typical signals is helpful for the auxiliary diagnosis and analysis of lower urinary tract dysfunction. First, the model can identify signals throughout the entire examination process, and the diagnostic accuracy of DO waves is over 95%, which aids in identifying symptomatic DO waves during examinations and in diagnosing overactive bladder. A multicenter study also confirmed the importance of quality control in the diagnosis of bladder hyperactivity [14]. At the same time, the model can identify the signal of abdominal muscle contraction, which can help the operator more rapidly capture the signal of Pabd urination and change in urine flow rate, which helps in the diagnosis of lower urinary tract obstruction [15]. This study tested yolov5 in all types of models and compared their performance to select the most suitable for clinical deployment of the model of signal and found the optimum properties of yolov5l. Yolov5x had comparable performance but more model parameters requiring more computing resources. Therefore, the model parameters and structure depth of yolov5l are more compatible with the task requirements of real-time quality control, which provides a reference for later clinical deployment and application.
Deploying the system into the real clinical workflow will exert its greater clinical value, but there are some potential challenges. First of all, there are differences in the equipment of urodynamics. Our system is developed based on the urodynamic equipment of Laborie. Whether other equipment can achieve the same effect needs further verification to exclude the influence of equipment differences. Secondly, clinical operators required unified and standardized software operation training and urodynamic practice training, so as to improve the use efficiency and inspection quality. Finally, our team has made the system into a computer application, with a simple operation interface to help overcome the challenges, which can be deployed in urodynamic equipment for clinical application. There are also some limitations in this study. The model test was completed in a single center, and no multicenter test has been conducted to verify the generalization ability of the model. We will verify and improve it in the next stage of our research.
In conclusion, our research has developed a real-time urodynamic signal recognition system to assist clinicians in quality control during examinations. This system aims to enhance the standardization and quality of urodynamic assessments, reduce regional disparities in medical services, and benefit more patients with lower urinary tract dysfunction.

NOTES

Grant/Fund Support
Key Technologies Research and Development Program (2023YFC3605300). The Fundamental Research Funds for Central Public Welfare Research (2023CZ-1). National Natural Science Foundation of China (No. 82470810).
Research Ethics
The study was reviewed and approved by the Institutional Review Board at the China Rehabilitation Research Centre (No. 2023-078-01).
Conflict of Interest
No potential conflict of interest relevant to this article was reported.
AUTHOR CONTRIBUTION STATEMENT
· Conceptualization: LL
· Data curation: XL, PZ
· Formal analysis: DC
· Funding acquisition: LL
· Methodology: XL, DC
· Project administration: LL
· Visualization: DC
· Writing - original draft: XL
· Writing - review & editing: LL

REFERENCES

1. Schäfer W, Abrams P, Liao L, Mattiasson A, Pesce F, Spangberg A, et al. Good urodynamic practices: uroflowmetry, filling cystometry, and pressure-flow studies. Neurourol Urodyn 2002;21:261-74. PMID: 11948720
crossref pmid
2. Rosier PFWM, Schaefer W, Lose G, Goldman HB, Guralnick M, Eustice S, et al. International Continence Society Good Urodynamic Practices and Terms 2016: urodynamics, uroflowmetry, cystometry, and pressure-flow study. Neurourol Urodyn 2017;36:1243-60. PMID: 27917521
crossref pmid pdf
3. Shin H, Ko KJ, Park WJ, Han DH, Yeom I, Lee KS. Machine learning models for the noninvasive diagnosis of bladder outlet obstruction and detrusor underactivity in men with lower urinary tract symptoms. Int Neurourol J 2024;28(Suppl 2):S74-81. PMID: 39638454
crossref pmid pmc pdf
4. LeCun Y, Bengio Y, Hinton G. Deep learning. Nature 2015;521:436-44. PMID: 26017442
crossref pmid pdf
5. Finazzi Agrò E, Bianchi D, Iacovelli V. Pitfalls in urodynamics. Eur Urol Focus 2020;6:820-2. PMID: 31982363
crossref pmid
6. Sullivan J, Lewis P, Howell S, Williams T, Shepherd AM, Abrams P. Quality control in urodynamics: a review of urodynamic traces from one centre. BJU Int 2003;91:201-7. PMID: 12581004
crossref pmid
7. Lee SM, Gammie A, Abrams P. Assessment of quality in urodynamics: cough versus valsalva. Neurourol Urodyn 2021;40:1021-6. PMID: 33792955
crossref pmid pdf
8. Selvaraju RR, Cogswell M, Das A, Vedantam R, Parikh D, Batra D. GradCAM visual explanations from deep networks. In: Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV); 2017 Oct 22-29; Venice, Italy. 2017:618-26.
9. Liu X, Zhong P, Gao Y, Liao L. Applications of machine learning in urodynamics: a narrative review. Neurourol Urodyn 2024;43:1617-25. PMID: 38837301
crossref pmid
10. Karam R, Bourbeau D, Majerus S, Makovey I, Goldman HB, Damaser MS, et al. Real-time classification of bladder events for effective diagnosis and treatment of urinary incontinence. IEEE Trans Biomed Eng 2016;63:721-9. PMID: 26292331
crossref pmid
11. Ge Z, Tang L, Peng Y, Zhang M, Tang J, Yang X, et al. Design of a rapid diagnostic model for bladder compliance based on real-time intravesical pressure monitoring system. Comput Biol Med 2022;141:105173. PMID: 34971983
crossref pmid
12. Hobbs KT, Choe N, Aksenov LI, Reyes L, Aquino W, Routh JC, et al. Machine learning for urodynamic detection of detrusor overactivity. Urology 2022;159:247-54. PMID: 34757048
crossref pmid
13. Lee HJ, Aslim EJ, Balamurali BT, Ng LYS, Kuo TLC, Lin CMY, et al. Development and validation of a deep learning system for sound-based prediction of urinary flow. Eur Urol Focus 2023;9:209-15. PMID: 35835694
crossref pmid
14. Renganathan A, Cartwright R, Cardozo L, Robinson D, Srikrishna S. Quality control in urodynamics: analysis of an international multi-center study. Neurourol Urodyn 2009;28:380-4. PMID: 19090592
crossref pmid pdf
15. MacLachlan LS, Rovner ES. Good urodynamic practice: keys to performing a quality UDS study. Urol Clin North Am 2014;41:363-73 vii. PMID: 25063592
pmid

Fig. 1.
Flow chart depicting the study process. AI, artificial intelligence.
inj-2448430-215f1.jpg
Fig. 2.
Workflow of our study. DO, detrusor overactivity; PR, precision-recall; DL, deep learning.
inj-2448430-215f2.jpg
Fig. 3.
Signal recognition example and class activation maps for visualization. (A) Examples of multiclass typical urodynamic signals. (B) Class activation maps for visualization of 6 typical urodynamic signals. GradCAM, gradient class activation map; DO, detrusor overactivity.
inj-2448430-215f3.jpg
Fig. 4.
The training process of yolov5. mAP, mean average precision.
inj-2448430-215f4.jpg
Table 1.
The baseline characteristics of patients
Characteristic Creation cohort (n = 300) Test cohort (n = 100) P-value
Age (yr) 38 (26–50) 37 (25–60) 0.811
Sex 0.282
 Male 194 58
 Female 106 42
Cause 0.816
 Spinal cord injury 129 45
 Other 171 55

Values are presented as median (interquartile range) or number (%).

Table 2.
Yolov5 performance results on validation set
Class Yolov5n
Yolov5s
Yolov5m
Yolov5l
Yolov5x
P R mAP@0.5 F1 P R mAP@0.5 F1 P R mAP@0.5 F1 P R mAP@0.5 F1 P R mAP@0.5 F1
All 0.81 0.84 0.88 0.82 0.82 0.84 0.88 0.83 0.84 0.81 0.87 0.82 0.85 0.83 0.89 0.84 0.85 0.83 0.89 0.84
Background 0.88 1.00 0.99 0.94 0.98 0.93 0.98 0.95 0.94 0.96 0.99 0.95 0.94 0.97 0.99 0.95 0.97 0.90 0.98 0.93
Cough grade A 0.84 0.90 0.94 0.87 0.84 0.86 0.93 0.85 0.88 0.84 0.93 0.86 0.87 0.86 0.94 0.86 0.86 0.88 0.94 0.87
Cough grade B 0.71 0.85 0.82 0.77 0.69 0.87 0.82 0.77 0.70 0.84 0.80 0.76 0.75 0.82 0.83 0.78 0.70 0.78 0.79 0.74
Cough grade C 0.70 0.46 0.59 0.56 0.75 0.54 0.63 0.63 0.71 0.42 0.63 0.53 0.84 0.48 0.68 0.61 0.77 0.55 0.70 0.64
DO 0.86 0.95 0.94 0.90 0.86 0.93 0.96 0.89 0.94 0.92 0.95 0.93 0.88 0.92 0.95 0.90 0.90 0.91 0.94 0.90
Rectal peristalsis 0.83 0.84 0.94 0.83 0.77 0.87 0.89 0.82 0.86 0.90 0.92 0.88 0.89 0.93 0.97 0.91 0.90 0.88 0.94 0.89
Abdominal muscle contraction 0.82 0.90 0.92 0.76 0.84 0.88 0.92 0.86 0.84 0.81 0.90 0.82 0.82 0.81 0.90 0.81 0.85 0.90 0.92 0.87

mAP, mean average precision; DO, detrusor overactivity.

Table 3.
Yolov5 performance results on test set
Class Yolov5n
Yolov5s
Yolov5m
Yolov5l
Yolov5x
P R mAP@0.5 F1 P R mAP@0.5 F1 P R mAP@0.5 F1 P R mAP@0.5 F1 P R mAP@0.5 F1
All 0.88 0.71 0.80 0.79 0.84 0.70 0.80 0.76 0.83 0.76 0.81 0.79 0.89 0.75 0.83 0.81 0.87 0.75 0.83 0.81
Background 0.79 0.97 0.86 0.87 0.80 0.65 0.75 0.72 0.81 0.94 0.93 0.87 0.85 1.00 0.98 0.92 0.95 0.84 0.91 0.89
Cough grade A 0.96 0.74 0.86 0.84 0.96 0.71 0.85 0.82 0.95 0.75 0.86 0.84 0.95 0.74 0.85 0.83 0.95 0.81 0.89 0.87
Cough grade B 0.71 0.63 0.69 0.67 0.53 0.63 0.67 0.58 0.49 0.91 0.71 0.64 0.74 0.57 0.67 0.64 0.64 0.66 0.71 0.65
Cough grade C 1.00 0.38 0.69 0.55 0.94 0.76 0.87 0.84 0.92 0.57 0.74 0.70 1.00 0.71 0.86 0.83 0.92 0.57 0.77 0.70
DO 0.96 0.79 0.89 0.87 0.94 0.77 0.87 0.85 0.96 0.76 0.87 0.85 0.96 0.74 0.86 0.84 0.95 0.78 0.88 0.86
Rectal peristalsis 0.97 0.69 0.83 0.81 0.97 0.68 0.83 0.80 0.92 0.72 0.83 0.81 0.94 0.78 0.86 0.85 0.93 0.75 0.85 0.83
Abdominal muscle contraction 0.77 0.73 0.79 0.75 0.76 0.72 0.77 0.74 0.77 0.70 0.76 0.73 0.76 0.70 0.75 0.73 0.75 0.83 0.83 0.79

mAP, mean average precision; DO, detrusor overactivity.

TOOLS
Share :
Facebook Twitter Linked In Google+
METRICS Graph View
  • 0 Crossref
  • 1 Scopus
  • 287 View
  • 13 Download
We recommend


ARTICLE & ORGAN
Article Category

Browse all articles >

Organ

Browse all articles >

ISSUES
DISEASES & TOPICS
Diseases

Browse all articles >

Topics

Browse all articles >

AUTHOR
INFORMATION

Official Journal of Korean Continence Society & ESSIC (International Society for the Study of BPS) & Korean Society of Urological Research & The Korean Children’s Continence and Enuresis Society & The Korean Association of Urogenital Tract Infection and Inflammation & Korean Society of Geriatric Urological Care
Editorial Office
Department of Urology, Kangbuk Samsung Medical Center, Sungkyunkwan University School of Medicine,
29 Saemunan-ro, Jongno-gu, Seoul 03181, Korea
Tel: +82-2-2001-2237     Fax: +82-2-2001-2247    E-mail: support@einj.org

Copyright © 2025 by Korean Continence Society.

Developed in M2PI

Close layer
prev next