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

DevFeed: [From Sound to Occupancy: Privacy-Aware Audio Sensing for Buildings](<https://devfeed.tech/articles/from-sound-to-occupancy-privacy-aware-audio-sensing-for-buildings-125413.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.11564>)

Author: Myeongwon Chae, Seonghyuk Son

Published: 2026-11-10T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [responsible-ai](<https://devfeed.tech/topics/responsible-ai.md>)

Tags: [adversarial](<https://devfeed.tech/tags/adversarial.md>), [amplitude](<https://devfeed.tech/tags/amplitude.md>), [attacks](<https://devfeed.tech/tags/attacks.md>), [audio](<https://devfeed.tech/tags/audio.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [cs-sd](<https://devfeed.tech/tags/cs-sd.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [design](<https://devfeed.tech/tags/design.md>), [detection](<https://devfeed.tech/tags/detection.md>), [device](<https://devfeed.tech/tags/device.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [features](<https://devfeed.tech/tags/features.md>), [home](<https://devfeed.tech/tags/home.md>), [identity](<https://devfeed.tech/tags/identity.md>), [infrared](<https://devfeed.tech/tags/infrared.md>), [lighting](<https://devfeed.tech/tags/lighting.md>), [office](<https://devfeed.tech/tags/office.md>), [on-device](<https://devfeed.tech/tags/on-device.md>), [privacy](<https://devfeed.tech/tags/privacy.md>), [sensing](<https://devfeed.tech/tags/sensing.md>), [sound](<https://devfeed.tech/tags/sound.md>), [speech](<https://devfeed.tech/tags/speech.md>)

## AI overview

The study tests a two-stage acoustic occupancy system: an on-device encoder converts each second of audio into a short embedding, then a server-side temporal model estimates occupancy. With no public office-audio dataset paired with occupancy labels, the stages are evaluated separately. On 11 DCASE 2013 office recordings, the encoder detects human-produced sound with AUC 0.87, versus 0.76 for log-mel statistics. Embedding attacks recover at most 1% of spoken words, compared with 94% from log-mel frames, but identify speakers among 40 in 69-77% of utterances. Noise-floor normalization with adversarial training, an 8-dimensional embedding, or sending only class probabilities reduces speaker identification to 38-55% without lowering detection. On HPDmobile home data, a causal temporal model matches hand-crafted features at AUC 0.75 and performs better with only one labelled day per home. The results support the approach while leaving speaker identity as a privacy leak.

## Source excerpt

arXiv:2611.11564v1 Announce Type: cross Abstract: 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.