cs.AINov 12, 2026

Acoustic Respiratory Phase Detection on Mobile Devices

Authors: Julian Szymanski, Tomasz Sankowski, Piotr Sulewski, Iwo Czartowski, Javier Medina Quero

Organizations: Faculty of Electronics, Telecommunications and Informatics, Gdansk University of Technology, Poland · University of Granada, Granada, Spain

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.

Figures & tables

Explore similar work

CardsList
  1. Design and Architecture of Airmod: An Active Noise Cancellation and Deep Learning System for Real-Time Respiratory Rate Estimation from Tracheal Sounds

    Oct 27, 2026Shang-Ran Huang, Fu-Shun Hsu, Ji-Chang Huang +5Respiratory Sound Classification

  2. Sleep Sound Event Detection Powered by Learnable Multi-Resolution Adaptive Line Enhancer

    Oct 11, 2026Chanwoo Park, Chanwoo KimSound Event Detection

  3. SpiroPhonia: Non-Invasive Respiratory Health Assessment from Spontaneous Speech

    Sep 15, 2026Roksana Khanom, Shafia Supty, Nirupam Roy +1