Related Experiment Video
Updated: Jul 15, 2025

Software for Analysis of Heart Rate and Blood Pressure Time-series Data from the Valsalva Maneuver
Published on: June 27, 2025
Predicting Respiratory Rate from Electrocardiogram and Photoplethysmogram Using a Transformer-Based Model.
Qi Zhao1, Fang Liu2, Yide Song2
1School of Medicine and Biological Information Engineering, Northeastern University, Shenyang 110819, China.
This study introduces TransRR, an enhanced Transformer model for predicting respiratory rate (RR) using ECG and PPG signals. TransRR significantly improves accuracy, paving the way for automated clinical RR estimation.
Area of Science:
- Biomedical Engineering
- Physiological Monitoring
- Machine Learning in Healthcare
Background:
- Respiratory rate (RR) is crucial for diagnosis and prognosis but difficult to measure accurately.
- Manual RR counting is standard but prone to errors.
- Existing algorithms for predicting RR from ECG and PPG signals have limited accuracy and generalization.
Purpose of the Study:
- To develop an enhanced Transformer model (TransRR) for accurate RR prediction using ECG and PPG signals.
- To evaluate the model's generalization capability on unseen data.
- To introduce a novel preprocessing pipeline to boost model performance.
Main Methods:
- Developed an enhanced Transformer model incorporating inception blocks.
- Utilized subject-level ten-fold cross-validation on BIDMC and CapnoBase datasets.
- Implemented a new preprocessing pipeline for ECG and PPG signals.
Main Results:
- Achieved superior performance compared to five popular deep-learning methods.
- Reduced mean absolute error by 36.5% (MAE=1.2).
- Increased correlation coefficient by 84.8% (R=0.85) on the test set.
Conclusions:
- The TransRR model demonstrates significant improvements in RR prediction accuracy and generalization.
- The proposed preprocessing pipeline further enhances model performance.
- TransRR is expected to accelerate the clinical adoption of automated RR estimation.
More Related Videos
Related Concept Videos
Assessment of Ventilation I: Respiratory Rate
A Ventilation assessment is critical for monitoring a patient's health status. Respiration, one of the most accessible vital signs, provides insights into the function of numerous body systems and can indicate serious health issues, such as brainstem injuries from head trauma.
Critical Guidelines for Assessing Ventilation:
Transformers with Off-Nominal Turns Ratios
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
ECG Interpretation of Rhythms
Components of the Electrocardiogram
The primary components of a normal ECG waveform in Normal sinus rhythm(NSR) include the P wave, PR interval, QRS complex, ST segment, T wave, and occasionally a U wave.
ECG waveforms are divided by vertical and horizontal lines at standard intervals.
The horizontal axis measures time and rate, and the vertical axis measures amplitude or voltage....
Special considerations while measuring oxygen saturation
Ensuring accuracy in vital sign recordings while prioritizing patient comfort and minimizing anxiety is...
Correlation between ECG and Cardiac Cycle
A cardiac action potential originates in the SA node and spreads throughout the atria and the AV node in approximately 0.03 seconds. This results in the P wave in an ECG and triggers atrial contraction. The action potential is then briefly slowed at the AV node, allowing the atria to contract and fill the ventricles with blood before...

