Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 Sep 7;17(1):32.
doi: 10.1186/s13040-024-00383-z.

Enhanced labor pain monitoring using machine learning and ECG waveform analysis for uterine contraction-induced pain

Affiliations

Enhanced labor pain monitoring using machine learning and ECG waveform analysis for uterine contraction-induced pain

Yuan-Chia Chu et al. BioData Min. .

Abstract

Objectives: This study aims to develop an innovative approach for monitoring and assessing labor pain through ECG waveform analysis, utilizing machine learning techniques to monitor pain resulting from uterine contractions.

Methods: The study was conducted at National Taiwan University Hospital between January and July 2020. We collected a dataset of 6010 ECG samples from women preparing for natural spontaneous delivery (NSD). The ECG data was used to develop an ECG waveform-based Nociception Monitoring Index (NoM). The dataset was divided into training (80%) and validation (20%) sets. Multiple machine learning models, including LightGBM, XGBoost, SnapLogisticRegression, and SnapDecisionTree, were developed and evaluated. Hyperparameter optimization was performed using grid search and five-fold cross-validation to enhance model performance.

Results: The LightGBM model demonstrated superior performance with an AUC of 0.96 and an accuracy of 90%, making it the optimal model for monitoring labor pain based on ECG data. Other models, such as XGBoost and SnapLogisticRegression, also showed strong performance, with AUC values ranging from 0.88 to 0.95.

Conclusions: This study demonstrates that the integration of machine learning algorithms with ECG data significantly enhances the accuracy and reliability of labor pain monitoring. Specifically, the LightGBM model exhibits exceptional precision and robustness in continuous pain monitoring during labor, with potential applicability extending to broader healthcare settings.

Trial registration: ClinicalTrials.gov Identifier: NCT04461704.

Keywords: Artificial Intelligence (AI); Clinical Decision-Making; Electrocardiography (ECG); Healthcare Technology; Labor Pain; Machine Learning; Nociception Assessment; Pain Monitoring; Predictive Analytics; Uterine Contractions.

PubMed Disclaimer

Conflict of interest statement

The authors declare no competing interests.

Figures

Fig. 1
Fig. 1
Workflow Diagram for ECG-Based Labor Pain Monitoring. This figure illustrates the methodological workflow employed in this study for monitoring labor pain using ECG waveform analysis. The process consists of seven key steps: 1) Data Collection: Gathering ECG data from women pre-paring for natural spontaneous delivery (NSD); 2) Feature Selection: Identifying critical ECG features correlated with labor pain; 3) Data Splitting: Dividing the data into training and validation sets; 4) Model Development: Building machine learning models using the selected features; 5) Model Evaluation: Assessing model performance with metrics such as AUC, accuracy, and precision; 6) Model Optimization: Tuning model parameters through grid search and cross-validation; 7) Monitoring and Validation: Conducting final predictions and validating the optimized model's performance to ensure accurate and reliable labor pain monitoring
Fig. 2
Fig. 2
A Characteristic curves for receiver operations. and (B) Assessing Machine Learning Models' Performance. For every machine learning model, performance metrics such as AUC (Area Under the Curve), F1 Score, Accura-cy, Specificity, Sensitivity, and Precision were evaluated. An asterisk (*) denotes the LightGBM model's AUC value
Fig. 3
Fig. 3
Crucial Clinical Characteristics for Labor Pain Monitoring Based on ECG. A Features' Significance Plot of several clinical variables utilizing the Nociception Monitoring Index (NoM) and Machine Learning for ECG-Based Monitoring of Labor Pain. B The SHAP Summary Plot offers a concise synopsis of the key clinical characteristics that influence the Nociception Monitoring Index (NoM) and ECG-Based Monitoring of Labor Pain
Fig. 4
Fig. 4
Effects of Key Elements on ECG-Based Labor Pain Monitoring. This figure displays LIME (Local Interpretable Model-agnostic Explanations) force graphs to illustrate the impact of important aspects on the ECG-Based Monitoring of Labor Pain. Specifically, the Nociception Monitoring Index (NoM) and various frequency bins are shown to influence the probability of labor pain. These plots provide individual-level explanations by visually representing how each variable contributes to the likelihood of labor pain, with red bars indicating a decrease and green bars indicating an increase in the probability

References

    1. Trifirò G, Sultana J, Bate A. From big data to smart data for pharmacovigilance: the role of healthcare databases and other emerging sources. Drug Safety. 2018;41(2):143–149. Available: https://link.springer.com/content/pdf/10.1007%2Fs40264-017-0592-4.pdf. - PubMed
    1. Kehlet H, Jensen TS, Woolf CJ. Persistent postsurgical pain: risk factors and prevention. The Lancet. 2006;367(9522):1618–25. 10.1016/S0140-6736(06)68700-X. - PubMed
    1. Benarroch EE. Pain-autonomic interactions. Neurol Sci. 2006;27:Suppl 2. 10.1007/s10072-006-0587-x. - PubMed
    1. Chen JS, Kandle PF, Murray I, Fitzgerald LA, Sehdev JS. Physiology, pain. 2021. - PubMed
    1. Jänig W. Autonomic reactions in pain. Pain. 2012;153(4):733–5. 10.1016/j.pain.2012.01.030. - PubMed

Associated data

LinkOut - more resources