Two CNN baselines + the cascaded two-stage pipeline
The baseline snore and apnea CNNs, with multi-seed bootstrap validation — and the Stage-1→Stage-2 cascade that the next two build on.
Research & validation
These are SomniAI LLC's internal validation results, validated against polysomnography. Three papers, three open-source repositories. Don't take the numbers on faith — run the code on your own data.
Detection was evaluated against in-lab and ambulatory polysomnography (PSG): 80 paired PSG nights across 40 participants — 10 in-lab PSG and 70 ambulatory PSG nights with a nasal-airflow cannula, smartphone audio captured simultaneously. The ambulatory majority means most of the data is real home environments, not a quiet lab.
One connected line of work: each builds on the one before — a cascade, its attention-based Stage-2 classifier, then that classifier compressed for the device. All three papers and their code are here.
The baseline snore and apnea CNNs, with multi-seed bootstrap validation — and the Stage-1→Stage-2 cascade that the next two build on.
Replaces the baseline apnea CNN above as the cascade’s Stage-2 classifier: a 14,001-parameter attention model that keeps temporal position — a 93.2% parameter cut, with accuracy preserved or improved.
Compresses the Stage-2 model above to production size: INT8 quantization-aware training + 50% structured pruning + CoreML. On this dataset, compression raises test accuracy.
The papers and code disclose the full method — the cascaded two-stage architecture over a compact 200×3 @ 1 Hz representation, the Coordinate-Attention 1D formulation, the quantization and pruning protocol, and the evaluation methodology — so the results are reproducible. Certain production specifics — multi-stage gating, event-driven triggering, and the privacy-preserving on-device system architecture — are covered by three co-filed U.S. provisional patent applications (SomniAI LLC) and are not described.
Authored at SomniAI LLC by the inventor on the pending U.S. patent (PAT-001). Each paper is published on Zenodo with a citable DOI — linked under each paper above. ORCID: 0009-0002-4798-5161. An arXiv mirror is planned.
Want to evaluate it on your own data? See how the SDK works or email the founder.