# Acoustic Respiratory Phase Detection on Mobile Devices

arXiv: https://arxiv.org/abs/2611.16710 · HTML: https://mlsanity.com/paper/2611.16710/

## Key facts

- No citing papers in the map yet (data through 24 Nov 2026).
- Builds on 5 of its 13 references that are in the map.
- Submitted 12 Nov 2026.

## Builds on (most cited first, 5 of 5)

- [Attention Is All You Need](https://mlsanity.com/paper/1706.03762/) (2017)
- [Deep Neural Network for Respiratory Sound Classification in Wearable Devices Enabled by Patient Specific Model Tuning](https://mlsanity.com/paper/2004.08287/) (2020)
- [Convolutional neural network for breathing phase detection in lung sounds](https://mlsanity.com/paper/1903.10251/) (2019)
- [Multi-View Spectrogram Transformer for Respiratory Sound Classification](https://mlsanity.com/paper/2311.09655/) (2023)
- [On the effectiveness of smartphone IMU sensors and Deep Learning in the detection of cardiorespiratory conditions](https://mlsanity.com/paper/2408.15357/) (2024)

## Abstract (arXiv)

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.
