Deep learning-based dynamic ventilatory threshold estimation from electrocardiograms

Comput Methods Programs Biomed. 2024 Feb:244:107973. doi: 10.1016/j.cmpb.2023.107973. Epub 2023 Dec 10.

Abstract

Background and objective: The ventilatory threshold (VT) marks the transition from aerobic to anaerobic metabolism and is used to assess cardiorespiratory endurance. A conventional way to assess VT is cardiopulmonary exercise testing, which requires a gas analyzer. Another method for measuring VT involves calculating the heart rate variability (HRV) from an electrocardiogram (ECG) by computing the variability of heartbeats. However, the HRV method has some limitations. ECGs should be recorded for at least 5 minutes to calculate the HRV, and the result may depend on the utilized ECG preprocessing algorithms.

Methods: To overcome these problems, we developed a deep learning-based model consisting of long short-term memory (LSTM) and convolutional neural network (CNN) for a lead II ECG. Variables reflecting subjects' physical characteristics, as well as ECG signals, were input into the model to estimate VT. We applied joint optimization to the CNN layers to generate an informative latent space, which was fed to the LSTM layers. The model was trained and evaluated on two datasets, one from the Bruce protocol and the other from a protocol including multiple tasks (MT).

Results: Acceptable performances (mean and 95% CI) were obtained on the datasets from the Bruce protocol (-0.28[-1.91,1.34] ml/min/kg) and the MT protocol (0.07[-3.14,3.28] ml/min/kg) regarding the differences between the predictions and labels. The coefficient of determination, Pearson correlation coefficient, and root mean square error were 0.84, 0.93, and 0.868 for the Bruce protocol and 0.73, 0.97, and 3.373 for the MT protocol, respectively.

Conclusions: The results indicated that it is possible for the proposed model to simultaneously assess VT with the inputs of successive ECGs. In addition, from ablation studies concerning the physical variables and the joint optimization process, it was demonstrated that their use could boost the VT assessment performance of the model. The proposed model enables dynamic VT estimation with ECGs, which could help with managing cardiorespiratory fitness in daily life and cardiovascular rehabilitation in patients.

Keywords: Convolutional neural network; Electrocardiogram; Long short-term memory; Ventilatory threshold.

MeSH terms

  • Algorithms
  • Deep Learning*
  • Electrocardiography / methods
  • Exercise Test
  • Humans
  • Neural Networks, Computer