Acoustic Respiratory Phase Detection on Mobile Devices
Julian Szymanski, Tomasz Sankowski, Piotr Sulewski, Iwo Czartowski, Javier Medina Quero
Abstract
Breathing monitoring is important for well-being, stress regulation, and guided breathing exercises, yet existing approaches often rely on contact-based sensors or controlled environments. This paper presents a non-invasive framework for respiratory phase detection using acoustic signals recorded on commodity smartphones. The proposed hybrid CNN-Transformer architecture combines local spectral feature extraction with long-range temporal modeling to capture the cyclic structure of breathing. The model is evaluated using a Leave-One-Subject-Out (LOSO) protocol on the Foundation Dataset and on an independent unseen test set comprising over 1300 breathing cycles and 2 hours of continuous recordings. The proposed 3-class formulation achieves 72.85% frame-level accuracy and 96.6% cycle-level exhalation detection efficiency in the LOSO evaluation, while achieving 76.94% frame-level accuracy, a Cohen's Kappa score of 0.65, and 99.2% cycle-level exhalation detection efficiency on the unseen test set. Results suggest that accurate respiratory monitoring may be achievable under data-constrained conditions, indicating that appropriate temporal modeling can learn transferable respiratory representations and generalize to previously unseen participants. An end-to-end ONNX deployment pipeline enables privacy-preserving on-device inference with latency below 20 ms, supporting real-time monitoring on mobile and wearable devices.
Create a lesson
Related papers
Do You Even Know What I Want? Improving LLMs Ability to Detect Hidden User Intent
Shared title terminology · Kelsey Sikes, Sarath Sreedharan
SMAD: A Semantics-Guided Multi-Agent Framework for Unsupervised Time-Series Anomaly Detection
Shared title terminology · Qinghua Liu, Junpeng Wang, Mingzhi Hu et al.
SLP-Bench: Evaluating and Improving Acoustic Claims of Reasoning Audio Language Models on Clinical Speech
Shared title terminology · Côme Hosxe, Rachid Riad, Quentin Spinat
Spatiotemporal Graph Neural Networks for Fault Detection and Structural Learning in Chemical Processes: Use Case on the Tennessee Eastman Process
Shared title terminology · Rayane Ammar Khodja, Alexandre Voisin, Victor Costa et al.
Comparative Performance of Machine Learning Architectures for Fault Detection and Diagnosis in Chemical Processes
Shared title terminology · Rayane Ammar Khodja, Alexandre Voisin, Victor Costa et al.
γ-Scape: An Agent-Centric World for Mobile Embodied Intelligence
Shared title terminology · Xiaotao Zhang, Lin Qian, Hao Zhang et al.