On the effectiveness of smartphone IMU sensors and Deep Learning in the detection of cardiorespiratory conditions

Lorenzo Simone, Luca Miglior, Vincenzo Gervasi, Luca Moroni, Emanuele Vignali, Emanuele Gasparotti, Simona CeliarXiv 2024 · DOI

Abstract

This research introduces an innovative method for the early screening of cardiorespiratory diseases using commodity smartphone Inertial Measurement Units (IMUs) and deep learning. We propose an end-to-end pipeline that captures breathing kinematics from five distinct body regions. Using a Bidirectional Long Short-Term Memory (Bi-LSTM) network, the system achieves an accuracy of $80.2\% \pm 3.9$ and an F1 score of $0.81 \pm 0.02$. These results highlight the potential of ubiquitous mobile devices as accessible tools for remote cardiorespiratory health monitoring.

Introduction

Cardiorespiratory diseases are a leading cause of global morbidity and mortality. Early detection is critical for effective management, yet traditional diagnostic tools often require clinical visits and specialized equipment. The COVID-19 pandemic underscored the urgent need for accessible, remote screening solutions. This paper explores whether the sensors already present in commodity smartphones—specifically accelerometers and gyroscopes—can be repurposed as effective medical screening tools by capturing the subtle movements of the torso during respiration.

Methodology

Acquisition Protocol

The proposed method utilizes a smartphone placed on five specific torso locations: three on the chest (left, right, and middle) and two on the abdomen (top and lower). During acquisition, the patient remains in a supine position. A dedicated smartphone application was developed to guide users through this process, ensuring consistent placement and data quality.

The five targeted positions for smartphone placement and the acquisition setup.

Data Preprocessing

To handle noise and focus on respiratory signals, the first 5 seconds of each recording are discarded. The signals undergo low-pass filtering at 0.7Hz. A key innovation is the segmentation of continuous data into individual breathing cycles by identifying local maxima in the gyroscope readings. This process acts as a form of data augmentation and allows the model to focus on the fundamental unit of respiration.

Deep Learning Architecture

The core of the screening system is a Bidirectional Long Short-Term Memory (Bi-LSTM) network. This architecture was selected after comparing it against standard LSTMs, CNNs, and Transformers. The bidirectional nature of the model allows it to capture temporal features from both the inhalation and exhalation phases of the respiratory cycle, providing a more comprehensive representation of breathing kinematics.

Smartphone application interface designed to facilitate the data acquisition protocol.

Experimental Results

The study utilized a novel clinical dataset of 133 subjects, including 77 healthy volunteers and 56 preoperative patients with various cardiorespiratory conditions. Using Leave-one-out-cross-validation (LOOCV), the Bi-LSTM model demonstrated robust performance:

  • Accuracy: $80.2\% \pm 3.9$
  • Sensitivity: $0.81 \pm 0.02$
  • Specificity: $0.82 \pm 0.05$
  • F1 Score: $0.81 \pm 0.02$

Furthermore, the model maintained a True Negative Rate of $74.8\% \pm 4.5$ when tested on an entirely unseen cohort of healthy patients, indicating strong generalization capabilities for population-wide screening.

Conclusion

This investigation underscores the potential of widely available smartphones as devices for timely cardiorespiratory disease screening. By leveraging existing IMU sensors and advanced deep learning techniques, the proposed method offers a non-invasive, low-cost solution for at-home health monitoring. Future research will focus on increasing dataset diversity and evaluating the system's robustness across varying hardware specifications and real-world environments.

Summary updated

BibTeX
@misc{simone2024effectiveness,
  author = {Lorenzo Simone and Luca Miglior and Vincenzo Gervasi and Luca Moroni and Emanuele Vignali and Emanuele Gasparotti and Simona Celi},
  title = {{On the effectiveness of smartphone IMU sensors and Deep Learning in the detection of cardiorespiratory conditions}},
  year = {2024},
  eprint = {2408.15357},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.15357},
}
Figure