# From Sound to Occupancy: Privacy-Aware Audio Sensing for Buildings

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

## Key facts

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

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

- [Robust Speech Recognition via Large-Scale Weak Supervision](https://mlsanity.com/paper/2212.04356/) (2022)
- [Unsupervised Domain Adaptation by Backpropagation](https://mlsanity.com/paper/1409.7495/) (2014)
- [PANNs: Large-Scale Pretrained Audio Neural Networks for Audio Pattern Recognition](https://mlsanity.com/paper/1912.10211/) (2019)
- [Adversarial Removal of Demographic Attributes from Text Data](https://mlsanity.com/paper/1808.06640/) (2018)
- [Contrastive Learning of General-Purpose Audio Representations](https://mlsanity.com/paper/2010.10915/) (2020)
- [Building and Evaluation of a Real Room Impulse Response Dataset](https://mlsanity.com/paper/1811.06795/) (2018)
- [The VoicePrivacy 2020 Challenge: Results and findings](https://mlsanity.com/paper/2109.00648/) (2021)
- [Convolutional Recurrent Neural Networks for Polyphonic Sound Event Detection](https://mlsanity.com/paper/1702.06286/) (2017)
- [Privacy-Preserving Adversarial Representation Learning in ASR: Reality or Illusion?](https://mlsanity.com/paper/1911.04913/) (2019)
- [Sound Event Detection in Synthetic Audio: Analysis of the DCASE 2016 Task Results](https://mlsanity.com/paper/1711.05551/) (2017)
- [FeatureSense: Protecting Speaker Attributes in Always-On Audio Sensing System](https://mlsanity.com/paper/2505.24115/) (2025)
- [ABROA : Audio-Based Room-Occupancy Analysis using Gaussian Mixtures and Hidden Markov Models](https://mlsanity.com/paper/1607.07801/) (2016)
- [DCASE 2018 Challenge - Task 5: Monitoring of domestic activities based on multi-channel acoustics](https://mlsanity.com/paper/1807.11246/) (2018)
- [Crowdotic: A Privacy-Preserving Hospital Waiting Room Crowd Density Estimation with Non-speech Audio](https://mlsanity.com/paper/2309.10280/) (2023)
- [Towards Privacy-Preserving Audio Classification Systems](https://mlsanity.com/paper/2404.18002/) (2024)
- [Privacy-Aware Ambient Audio Sensing for Healthy Indoor Spaces](https://mlsanity.com/paper/2512.12471/) (2025)

## Abstract (arXiv)

Occupancy-based controls regulate lighting and HVAC according to whether a space is in use. Passive infrared (PIR) sensors, the most common choice, respond to motion and can report an occupied room as vacant when its occupants remain still. Sound offers an alternative cue, since seated occupants type, turn pages and cough, but microphones raise privacy concerns. We therefore study a two-stage design: an on-device encoder maps each second of audio to a short embedding, and a server-side temporal model turns the stream of embeddings into an occupancy state. To our knowledge, no publicly available dataset pairs office audio with occupancy labels, so we evaluate the two stages separately on public data. The encoder is trained on synthetic scenes that mix empty-room recordings, room impulse responses, office sounds and read speech, and tested on unseen rooms, recordings and speakers for whether a second contains a sound made by a person. On 11 real office recordings (DCASE 2013) it reaches an AUC of 0.87, against 0.76 for log-mel statistics. Attacks on the transmitted embeddings recover at most 1% of the spoken words, against 94% from log-mel frames, but still identify the speaker among 40 in 69 to 77% of the utterances. Noise-floor normalization with adversarial training, an 8-dimensional embedding, or sending only class probabilities lowers this to 38 to 55% without hurting detection. On HPDmobile, which pairs home occupancy labels with an amplitude envelope of the audio, a causal temporal model pretrained with a hierarchical contrastive loss matches hand-crafted features (AUC 0.75) and does better when only one labelled day per home is available. These results make the two-stage design a practical basis for privacy-aware acoustic occupancy sensing, with speaker identity as the one leak still to close.
