Submitted:
12 June 2025
Posted:
13 June 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Related Works
2.1. Pain Monitoring Methods
2.2. Pain Prediction Models
2.3. Integration of Multiple Physiological Signals
2.4. Clinical Applications and Challenges
2.5. Traditional Models as an Alternative
- Lower data requirements: These models can be trained with smaller datasets, making them more viable clinically.
- Higher interpretability: They facilitate the identification of key physiological patterns related to pain, aiding clinical decision-making [3].
- Clinical adaptability: Their ease of integration into existing medical monitoring systems improves real-world applicability [2].
2.6. Future Research Directions
- Integration of new physiological signals: Incorporation of new physiological signals could enhance model accuracy [10].
- Comprehensive multi-signal integration: More extensive combinations of signals are needed to boost predictive accuracy and clinical relevance [17].
- Application of advanced machine learning models: Sophisticated algorithms (e.g., deep learning) may further improve pain prediction in clinical contexts [5].
- Validation in real-world clinical environments: Testing model performance in actual rehabilitation settings is necessary for practical applicability [1].
3. Methodology
3.1. Objective
3.2. Variables
- Self-reported pain intensity: Pain intensity was measured on a continuous scale from 1 (minimal pain) to 10 (maximum pain). For analysis, these values were grouped into three categories: low pain (1–4), medium pain (4–7), and high pain (7–10).
- Heart rate (BPM).
- Heart rate variability (HRV).
- Oxygen saturation (SpO₂).
3.3. Instrumentation (Materials)
- Heart rate monitor: COOSPO HW807, a wearable arm strap for continuous HR and HRV monitoring.
- Oxygen saturation sensor: FS20F, a Bluetooth-enabled fingertip pulse oximeter for real-time SpO₂ tracking.
- Data collection software: Custom Python scripts for real-time signal acquisition and processing.
- Experimental protocol: A structured procedure was developed for this study to ensure standardized data collection and participant compliance during rehabilitation sessions.
3.4. Operation
3.4.1. Preparation
- Participant introduction: Participants received an overview of the study’s purpose and procedure.
- Device setup: The heart rate band and pulse oximeter were placed on each participant for continuous monitoring.
- Pain reporting instruction: Participants were instructed to report any pain verbally using a numerical scale (0-10), where 0 indicates no pain, and 10 indicates the highest pain.
- Session execution: Participants engaged in rehabilitation activities while their physiological data were recorded.
- Pain reporting: Participants reported their pain level during episodes or when discomfort was evident.
- Session completion: Time was allocated for participants to ask questions or express concerns about the study.
3.4.2. Execution
3.4.3. Data Collection
3.4.4. Validation of Data
- Data normalization: Min-max scaling was used to standardize the range of physiological variables.
- Handling missing values: Techniques such as linear interpolation, zero imputation, and omission of incomplete records ensured data completeness.
- Noise filtering: Median and low-pass filters were applied to reduce artifacts from movement or signal variability.
- Exploratory analysis: Correlation studies (along with visual tools like histograms, scatter plots, and heat maps) were conducted to identify significant relationships between physiological variables and reported pain.
3.4.5. Predictive Models
- Linear Regression: Employed as a baseline to evaluate trends between physiological variables and pain intensity. Although it is simple and interpretable, its ability to model complex relationships is limited.
- Random Forest: A decision tree-based model that captures nonlinear relationships and is robust to noise, making it suitable for physiological prediction.
- Mean Absolute Error (MAE): The average difference between predicted and actual pain scores.
- Coefficient of determination (R²): The proportion of pain variability explained by the model.
- Confusion matrix: Used in classification tasks to analyze the distribution of true positives, false positives, and false negatives.
4. Results and Discussion
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| AI | Artificial Intelligence |
| ANN | Artificial Neural Network |
| BPM | Beats Per Minute |
| ECG | Electrocardiography |
| EMG | Electromyography |
| GSR | Galvanic Skin Response |
| HR | Heart Rate |
| HRV | Heart Rate Variability |
| LDA | Linear Discriminant Analysis |
| MAE | Mean Absolute Error |
| PPG | Photoplethysmography |
| RF | Random Forest |
| RMSE | Root Mean Square Error |
| RR | Respiratory Rate |
| R² | Coefficient of Determination |
| SpO₂ | Peripheral Capillary Oxygen Saturation |
| SVM | Support Vector Machine |
References
- Tousignant-Laflamme, Y.; Rainville, P.; Marchand, S. Establishing a link between heart rate and pain in healthy subjects: A gender effect. J. Pain 2005, 6(6), 341–347.
- Jhang, D.F.; Chu, Y.S.; Cai, J.H.; Tai, Y.Y.; Chuang, C.C. Pain monitoring using heart rate variability and photoplethysmograph-derived parameters by binary logistic regression. J. Med. Biol. Eng. 2021, 41(5).
- Seok, H.S.; Choi, B.M.; Noh, G.J.; Shin, H. Postoperative pain assessment model based on pulse contour characteristics analysis. IEEE J. Biomed. Health Inform. 2019, 23(6), 2317–2324.
- Castillón Ramírez, G.A. Diseño y desarrollo de un dispositivo de asistencia para la rehabilitación motriz de extremidades inferiores de pacientes con secuela de accidente cerebrovascular (MoveLeg). Bachelor’s Thesis, Instituto Tecnológico de Ensenada, Ensenada, México, 2021.
- Gkikas, S.; Chatzaki, C.; Pavlidou, E.; Verigou, F.; Kalkanis, K.; Tsiknakis, M. Automatic pain intensity estimation based on electrocardiogram and demographic factors. In Proceedings of the 8th International Conference on Information and Communication Technologies for Ageing Well and e-Health, 2022, pp. 155–162.
- Naeini, E.K.; et al. Pain recognition with electrocardiographic features in postoperative patients: Method validation study. J. Med. Internet Res. 2021, 23(5), e25079.
- Vicente Herrero, M.T.; Delgado Bueno, S.; Bandrés Moyá, F.; Ramírez Iñiguez de la Torre, M.V.; Capdevila García, L. Valoración del dolor. Revisión comparativa de escalas y cuestionarios. Rev. Soc. Esp. Dolor 2018.
- Caicedo Gutierrez, E.; María, L.; Calderón, P. Pain detection using EEG signals. Rev. EIA 2022, 19(38).
- Chuang, C.C.; Chung, W.Y.; Shu, C.; Chen, M.W. Pain assessment in musculoskeletal pain patients by heart rate variability. J. Musculoskelet. Pain 2007, 15(4), 67–74.
- Jiang, M.; Walter, S.; Friedrich, M.; Struck, M.; Braun, C. Acute pain intensity monitoring with the classification of multiple physiological parameters. J. Clin. Monit. Comput. 2019, 33(3), 493–507.
- Secretaría de Salud. Norma Oficial Mexicana NOM-012-SSA3-2012. Que establece los criterios para la ejecución de proyectos de investigación en seres humanos. Diario Oficial de la Federación 2012.
- Secretaría de Salud. Reglamento de la Ley General de Salud en Materia de Investigación para la Salud. Diario Oficial de la Federación 1987.
- Walter, S.; Gruss, S.; Ehleiter, H.; Tan, J.; Salomon, R.; Traue, H.C.; Werner, P.; Kappesser, J. Automatic pain quantification using autonomic parameters. Psychol. Neurosci. 2014, 7(3), 363–380. https://doi.org/10.3922/j.psns.2014.041. [CrossRef]
- Koenig, J.; Jarczok, M.N.; Ellis, R.J.; Hillecke, T.K.; Thayer, J.F. Heart rate variability and experimentally induced pain in healthy adults: A systematic review. Eur. J. Pain 2014, 18(3), 301–314. [CrossRef]
- Kobayashi, N.; Shiga, T.; Ikumi, S.; Watanabe, K.; Murakami, H.; Yamauchi, M. Semi-automated tracking of pain in critical care patients using artificial intelligence: A retrospective observational study. Sci. Rep. 2021, 11(1). [CrossRef]
- Mansoor, Z.; Ghazanfar, M.A.; Anwar, S.M.; Alfakeeh, A.S.; Alyoubi, K.H. Pain prediction in humans using human brain activity data. In Companion Proceedings of the Web Conference 2018, 2018, pp. 359–364. [CrossRef]
- Chu, Y.; Zhao, X.; Han, J.; Su, Y. Physiological signal-based method for measurement of pain intensity. Front. Neurosci. 2017, 11, 279. [CrossRef]
- Kasaeyan Naeini, E.; Kalimeri, K.; Poli, A.; Rizzo, G. Pain recognition with electrocardiographic features in postoperative patients: Method validation study. J. Med. Internet Res. 2021, 23(5), e25079. [CrossRef]
- Cital Duarte, A.H.; Borrego Soto, G.; Ruiz Ibarra, E.C.; González López, S. Systematic review of data analysis methods for pain prediction in physical rehabilitation. Abstraction & Application 2024, 47, 56–65.

| Model | MAE | RMSE | Low pain accuracy | Moderate-High pain accuracy | |
|---|---|---|---|---|---|
| Linear regression | Low (0.1) | High (3.4) | - | N/A | N/A |
| Random forest (data imputed with zeros) | Very Low (0.086) | Low (0.297) | Low (0.948) | High (97.77%) | Low (12.5%) |
| Random forest (interpolated data) | Moderate (0.26) | Moderate (1.027) | High (1.463) | Moderate (60.65%) | |
| Random forest (removed data) | Moderate (0.52) | Moderate (0.93) | Moderate (1.398) | Moderate (76.64%) | |
| Patients | Pain intensity | Mean BPM | Mean RR intervals | Mean oxygen level |
|---|---|---|---|---|
| P1 | No pain | 71.5895 | 0.8092 | 96.2173 |
| 5 | 74.75 | 0.8844 | 96.4166 | |
| 8 | 70.6428 | 0.7961 | 95.5 | |
| P2 | No pain | 71.7199 | 0.8187 | 96.1968 |
| 3 | 74.2 | 0.8154 | 97 | |
| 5 | 70.24 | 0.8168 | 96.52 | |
| 8 | 70.2857 | 0.7152 | 96 | |
| P3 | No pain | 84.3372 | 0.7001 | 98.4497 |
| 4 | 82 | 0.6726 | 97 | |
| 5 | 84 | 0.6898 | 99 | |
| 6 | 84 | 0.6894 | 99 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).