Reverie is about to add a dream recorder: a nightly microphone feature that builds a timeline of your night — breathing, snoring, coughs, movement in the bedding, and the moments you talk in your sleep — so your dream journal can sit next to what your night actually sounded like.

A microphone in the bedroom is a serious privacy proposition. Sleep-talk is unfiltered speech. A partner’s voice, a phone call leaking through a wall, a late conversation — all of it lands on the microphone. So before we build this, we set ourselves one hard constraint, and this report is the public evidence of how we are meeting it:

Raw audio is never stored and never leaves your device. What is stored is a tiny, lossy, engineered summary — one that keeps the sleep-relevant events and is designed so that neither the words you said nor whose voice said them can be recovered from it.

Not “we promise not to look.” Not “encrypted on our servers.” The audio itself, the thing that could betray you, does not exist anywhere except a few seconds of memory on the phone you own. That claim has to survive contact with people actively trying to break it, and the rest of this report is about exactly that.

Illustration: a phone on a nightstand beside a sleeper, a sound waveform rising from it and dissolving into simple rounded event bars, under a starry sky.

Executive summary

  • What ships: a representation we call R — for each night, about 2 kB per minute (roughly 1 MB for an 8-hour night, about a thousand times smaller than the raw audio it replaces). It captures six sound-event classes (quiet breathing, snore, cough, bedding movement, speech present, other ambient) plus a breathing-rate estimate.
  • What never exists: raw audio outside a ≤ 4-second ring buffer in RAM, on your device. Never on disk, never on the network. Verified by an instrumented test over ten nights.
  • How we know it resists reconstruction: we run a five-attack adversarial suite — inversion, direct speech recognition, feature-domain recognition, speaker verification, and human listeners — against progressively stronger attackers, including ones that know our exact encoder and train 100 hours of paired data against it.
  • The bars it must clear (worst attacker): attacker transcription error ≥ 90% (target), speaker-identification error ≥ 40%, human listeners recover ≤ 10% of words — while event detection stays within 3 points of a raw-audio baseline, on a battery budget of ≤ 3% per night.
  • What we are not claiming: this is not anonymity and not a proof. It is an empirically bounded engineering claim. A “speech present” flag survives by design. Attackers beyond 100 hours of paired training data, cross-night linkage, and event-timing side channels are explicitly out of scope — and we say so rather than imply otherwise.
  • What happens on failure: the feature doesn’t ship, and we publish the negative result anyway.

What the recorder keeps — and what it throws away

The dream recorder’s job is a night timeline, not a transcript. Six event classes and a breathing-rate estimate are what the product actually uses:

Kept in RExampleUsed for
Quiet breathingsteady breath rhythmbreathing-rate trend across the night
Snoreloud, regular, low-frequencynight-sound timeline; wellness prompts
Coughshort, explosive events“you coughed a lot before 3 a.m.” context
Bedding movementduvet shifts, turning overcorrelating movement with dream recall
Speech presenta binary flag, no wordsmarking sleep-talk episodes in your dream timeline
Other ambientfan, traffic, petlabelling the soundscape around events

Everything else about the sound — the spectral detail that makes speech speech, the voice timbre that identifies you — is what the encoder is designed to destroy. That is the whole game: keep the event skeleton, discard the recoverable detail.

Where raw audio can exist — and where it cannot

Every privacy claim in this feature reduces to one boundary. Raw audio exists in exactly one place: a small ring buffer in your device’s memory, holding at most four seconds at a time while the on-device encoder consumes it. The encoder’s output — R — is the only thing that is ever written to storage or synced. The app and the device’s own process are trusted; everything beyond the device is not.

Diagram: sound enters the microphone on your device, passes through a four-second memory ring buffer into the on-device encoder, and only the small quantised representation R is stored or synced. Raw audio paths to disk and network are crossed out. A tracing test over ten nights verifies zero raw-audio bytes leave the buffer.
Figure 1. The trust boundary. Raw audio lives only in a short-lived RAM ring buffer inside your device; only the quantised representation R (≤ 2 kB/min) crosses to storage and sync. Test T1 traces the file system and network for ten real nights and requires zero raw-audio bytes.

Two verification hooks make this boundary testable rather than aspirational:

  • T1 — no raw audio on disk or network. An instrumented build runs ten real nights with file-system and network tracing. Any raw-audio byte that reaches persistent storage or a socket is a failure.
  • T2 — one-command reproducibility. The full evaluation suite that produces the headline numbers in this report can be re-run end-to-end with a single command, so the results are checkable rather than narrated.

Storage is auditable by arithmetic: R is quantised to at most 2 kB per minute — under 1 MB for an 8-hour night, next to roughly 920 MB for 16 kHz 16-bit mono PCM. There is no place for raw audio to hide in a file that small.

Why the obvious designs fail

“Listen but don’t keep the audio” has no off-the-shelf answer, because every conventional representation of sound is either too informative or too destroyed. Five well-known failure modes shaped our design:

ApproachWhat it promisesWhere it breaks
Standard features (log-mel, MFCC)compact, well-understoodneural vocoders reconstruct intelligible audio from them — this is routine practice [HiFi-GAN, Kong 2020]
Voice anonymisation“de-identify” the speakerpreserves linguistic content; challenges show identity still leaks and intelligibility degrades [VoicePrivacy, 2022]
Very coarse envelopes (3–4 bands)too little detail for speechhuman listeners still recognise ~high proportions of words — temporal cues alone carry speech [Shannon 1995]
Voice-activity gating (keep non-speech only)cut speech outmisses whispered sleep-talk, which looks like breath; a missed gate leaks full audio
Local noise injection (LDP-style)formal privacy budgetat noise levels that protect speech, it destroys the event signal too — or it is denoisable

Two more lessons come from adversarial machine learning itself. Adversarial training [Ganin 2016] only demonstrates robustness against the specific proxy attacker used in training — which is why our evaluation uses fresh attackers trained after the representation is frozen. And the information-bottleneck framing [Tishby 1999] tells us privacy and utility pull against each other by construction; the honest question is where on that frontier a sleep-event representation can live, not whether the frontier exists.

The representation families we are testing

We are evaluating five encoder families, from classical signal processing to learned bottlenecks. All operate far below speech’s information rate — coarse time, coarse frequency, few bits:

FamilyIdeaWhy it might workWhere it could fail
F1 — slow envelopes8–32 critical-band energy envelopes, low-passed below 2 Hz, 4 frames/sspeech needs modulation detail up to ~16 Hz; breathing and bedding events live below 2 Hz [Drullman 1994, Elliott & Theunissen 2009]whispered sleep-talk has breath-like modulation; a smart attacker may exploit what survives
F2 — modulation splitkeep sub-2 Hz modulations, hard-attenuate the 4–8 Hz speech bandtargets the known intelligibility band directlythe split is a fixed, public filter — an attacker knows exactly what was removed
F3 — event posteriors onlystore only probabilities of the six event classes (+ energy)nothing left to invert: privacy upper boundutility floor — loses breathing-rate detail and event richness
F4 — learned bottleneck8–32 numbers at 2 Hz, trained with speech and speaker adversaries in the loop [Ganin 2016, Tishby 1999]; ≤ 200k parameters, int8learns the privacy-utility frontier instead of guessing itmeasured robustness may not transfer to unseen attackers (see U2)
F5 — gated hybridhigh-recall speech detector; during speech, emit a constant token, elsewhere pass F1-style envelopescontainment: if speech is detected, nothing speech-specific is emitteda missed whisper is a full leak; detector recall on sleep-talk is the whole ballgame

The search grid around these families: 1–8 frames per second, 8–32 frequency bands, 4–8 bits per value. The final shipped encoder is whatever clears every bar in this report at the best utility — and the encoder’s weights ship inside the public app binary, so every assumption we make is one an attacker can also make.

Who we assume is attacking — and how hard they try

A privacy claim is only as strong as the attacker it names. We model four attacker classes, each strictly stronger than the last, and we publish what each is allowed to know and spend:

Diagram of four attacker classes, from A0 ignorant to A3 targeted, each with their knowledge, compute budget, goal, and the bar they must clear.
Figure 2. The attacker ladder. Each class is given strictly more knowledge, data, and compute. The release bars apply to the worst attacker, A3, not the average one.
  • A0 — Ignorant. Runs off-the-shelf speech recognition (Whisper-class) and speaker verification (ECAPA-TDNN-class) directly on R, no training. This is the “someone finds your synced file” scenario.
  • A1 — Informed. Has our full public encoder, plus 20 hours of paired data (real speech and its R representation), and 20 GPU-hours. Trains an inversion vocoder (HiFi-GAN-class) to turn R back into audio, then runs ASR on the result.
  • A2 — Adaptive. 100 hours of paired data and 100 GPU-hours. Skips audio reconstruction entirely and trains speech-recognition and speaker models directly on R — the strongest realistic attack on the representation itself.
  • A3 — Targeted. A2 plus one minute of the target’s real voice for enrolment — the “someone specifically wants to identify you” scenario.

Out of scope, stated plainly: attackers with more than 100 hours of paired data; attempts to link one person’s nights to each other across time (cross-night linkage); and side channels from the timing of events (when you fell asleep, how often you turned over). These are real risks; we bound the claim rather than pretend the bound away. We report the 20 → 100-hour attacker-scaling result as a slope so you can see which way more attacker effort pushes the numbers.

How we try to break our own design

The evaluation suite is adversarial and pre-registered — the attackers are described and frozen before the final representation is measured, so the result cannot be tailored to a convenient attacker.

  1. Inversion + ASR (against A1). The attacker trains a neural vocoder on paired data to synthesise audio from R, then transcribes it. Metric: word error rate (WER) — higher is better for privacy. Calibration gate: the vocoder must first prove itself on standard features (log-mel) of the same benchmark set, reaching ≤ 15% WER there, before its results on R count. An attack that fails on easy input has proven nothing about hard input.
  2. Feature-domain ASR (against A2). Train a recogniser directly on R, skipping audio entirely — the strongest content attack.
  3. Speaker verification (against A2/A3). ECAPA-TDNN-class models try to link R to a voice, with and without a one-minute raw enrolment sample. Metric: equal error rate (EER) — 50% is a coin flip, which is the target.
  4. Attribute inference. Inferring coarse attributes (e.g., gender) from R. We measure and report it; it is not a release gate — a disclosure, not a promise.
  5. Human listening. At least five listeners, 100 sentences each, attempt to transcribe audio reconstructed from R. Target: ≤ 10% word accuracy.

Protocol details that make the numbers mean something:

  • Held-out speakers. No voice appears in both attacker training and evaluation.
  • Fresh attackers. The representation is frozen before the final attackers train, and the attack harness is frozen with it.
  • Worst-of-three seeds. We report the best result the attacker achieved across three independent training runs, not the average.
  • External red team. Researchers outside the project run the harness before results are final.
  • Real-device audio paths. Attacks and events are tested across three distinct microphone signal paths (B8), because phone audio pipelines (automatic gain control, noise suppression, band-limiting) change what R sees.

The bars R must clear before release

These are the ship gates, fixed in advance. Every one of them applies to the worst attacker (A3) unless noted:

Infographic: five headline numbers — at most four seconds of raw audio in memory, two kilobytes per minute stored, ninety percent minimum attacker word error rate, forty percent minimum speaker identification error, and at most three percent battery per night.
Figure 3. The five headline numbers of the release gate. The full bar list is below.
BarQuestion it answersShip barStretchHow it is measured
B1Does R still detect sleep events?event macro-F1 within 3 pts of the raw log-mel baselinewithin 1.5 ptslabelled event corpus, baseline trained on raw audio
B3Can an informed attacker transcribe R (20 h)?WER ≥ 90%≥ 95%inversion vocoder + ASR, calibration-gated
B4Does 5× more attacker data break it (100 h)?WER ≥ 85%, and ≤ 5-pt drop from 20→100 h—A2 feature-domain ASR at 20 and 100 h
B5Can humans read reconstructed audio?≤ 10% word accuracy—≥ 5 listeners × 100 sentences
B6Can an attacker identify the speaker?EER ≥ 40%≥ 45%ECAPA-class verification, incl. 1-min enrolment
B7Does it hold on sleep-talk specifically?same WER/EER bars in the sleep-talk regime—whispered/murmured speech corpus + synthetic sleep-talk
B9Is it actually runnable on-device?≤ 3% battery per 8-h night, ≤ 5% of one big core, ≤ 50 MB peak memory≤ 2% batteryreal phones, full night
B10How much is stored?≤ 2 kB/min (≈ 1 MB/night)—output audit
B11Is the shipped encoder the tested one?on-device R within 1 quantiser step of the research pipeline over 10k frames—fixed-point parity harness
T1Does any raw audio escape?zero raw-audio bytes to disk/network over 10 real nights—instrumented build, fs + network tracing
T2Can you check our work?one command reproduces the headline table—frozen evaluation harness

Two design properties sit behind the bars. On-device parity (B11): the arithmetic the shipped encoder does in fixed-point on a phone must match the research pipeline that was attacked, within one quantiser step — otherwise the tested object and the shipped object are different objects. And reproducibility (T2): the harness, the frozen attackers, and the metrics are a self-contained package, so the table above can be regenerated, not just believed.

The trade-off we will not hide

Privacy and utility are in tension by construction [Tishby 1999]. A representation that keeps everything is raw audio. A representation that keeps nothing is privacy-perfect and useless. The design question is where the sleep-event frontier lies, and the evaluation maps it rather than asserts it:

Conceptual scatter plot of sleep-event utility against resistance to speech recovery. Raw log-mel sits at high utility and low privacy; coarse noise-vocoded envelopes remain partly intelligible; event posteriors only are maximally private but low utility; the candidate families are plotted between, with the release bar marked at ninety percent attacker word error rate and within three F1 points of baseline. Positions are illustrative, not measured results.
Figure 4. The privacy–utility frontier, drawn conceptually. Positions of untested families are hypotheses, not results — the evaluation exists to replace this sketch with measured points.

What we know going in, from four standing uncertainties:

  • U1 — Separability. Speech intelligibility lives in modulations up to ~16 Hz; breathing events live below ~2 Hz. That gap is the entire premise of families F1/F2 — but whispered sleep-talk modulates slowly, resembling breath. If sleep-talk is not separable at our frame rates, the honest outcomes are the F5 gate or the F3 floor.
  • U2 — Adaptive robustness. A bottleneck trained against our training-time adversaries may not survive adversaries trained after the freeze. This is why fresh attackers, external red-teaming, and the worst-of-three rule exist.
  • U3 — Sleep-talk transfer. There is no large public corpus of real sleep-talk. We build one from degraded and whispered speech, validated against a smaller set of real murmured episodes, and we treat the transfer as a risk to be measured, not assumed.
  • U4 — Device audio paths. Phones apply gain control, noise suppression, and band-limiting before our encoder ever sees a sample. A representation that is private on clean audio but leaks on processed audio is not private; hence three real microphone paths in every test.

The evaluation runs on public corpora — LibriSpeech (read speech), FSD50K and ESC-50 (environmental sound events) — plus whispered speech, and synthetic sleep-talk constructed from degraded speech corpora. The real-night corpus is collected under written consent: at least 30 nights across at least 3 phone models, with around 300 labelled events per class, from adults who volunteered with full knowledge of the research purpose.

Rules that are not negotiable: no recordings of children; no recordings where bystanders can be captured without consent (the data-collection protocol excludes shared rooms); no claims of “anonymity” in any output of this project; and the trained attack tools themselves are kept private — publishing turnkey inversion kits would harm the people this design protects, and security researchers can request access through our responsible-disclosure programme.

Reverie remains a wellness product. A snore timeline is not an apnea test, and this report changes nothing about the advice on every page of our Science Center: persistent sleep problems belong with a clinician.

Timeline and how this report will change

The programme runs six phases over 22 weeks — data and baselines, family screening, adversarial hardening, real-device evaluation, the frozen final attack, and the written results. When the final numbers exist, this report gains a results section with the measured value for every bar in the table above, and one of three verdicts: pass (the feature ships with the numbers attached), conditional pass (a weaker configuration ships, with the weaker numbers attached), or fail (the feature does not ship, and the negative result is published here all the same).

If you want the shortest possible version of this whole report: the microphone’s memory is four seconds long, the night’s file is one megabyte small, and before we let a single sentence survive that gauntlet, we will pay people to try to extract it.

What this report deliberately does not claim

  • It is not a proof. It is a bounded, adversarial, reproducible measurement against named attackers with capped budgets.
  • It is not anonymity. Timing, event patterns, and a speech-presence flag survive in R by design.
  • It does not cover attackers beyond 100 hours of paired data, cross-night linkage, or event-timing side channels.
  • It does not turn Reverie into a medical device or the event timeline into a diagnosis.
  • And it is not finished: the numbers above are thresholds; the measurements are coming, and a failure will be printed as loudly as a success.

Primary sources

  1. Shannon RV, Zeng FG, Kamath V, Wygonski J, Ekelid M (1995). Speech recognition with primarily temporal cues Science, 270(5234), 303-304. doi:10.1126/science.270.5234.303 PMID 7569981
  2. Drullman R, Festen JM, Plomp R (1994). Effect of temporal envelope smearing on speech reception The Journal of the Acoustical Society of America, 95(2), 1053-1064. doi:10.1121/1.408467
  3. Elliott TM, Theunissen FE (2009). The modulation transfer function for speech intelligibility PLoS Computational Biology, 5(3), e1000302. doi:10.1371/journal.pcbi.1000302
  4. Kong J, Kim J, Bae J (2020). HiFi-GAN: Generative adversarial networks for efficient and high fidelity speech synthesis Advances in Neural Information Processing Systems 33 (NeurIPS 2020), 17022-17033. Source
  5. Tomashenko N, Wang X, Vincent E, et al. (2022). The VoicePrivacy 2020 Challenge: Results and findings Computer Speech & Language, 74, 101319. doi:10.1016/j.csl.2021.101319
  6. Desplanques B, Thienpondt J, Demuynck K (2020). ECAPA-TDNN: Emphasized channel attention, propagation and aggregation in TDNN based speaker verification Proceedings of INTERSPEECH 2020, 3830-3834. doi:10.21437/Interspeech.2020-2850
  7. Radford A, Kim JW, Xu T, Brockman G, McLeavey C, Sutskever I (2023). Robust speech recognition via large-scale weak supervision Proceedings of the 40th International Conference on Machine Learning (ICML), PMLR 202, 28492-28518. Source
  8. Panayotov V, Chen G, Povey D, Khudanpur S (2015). LibriSpeech: An ASR corpus based on public domain audio books IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 5205-5209. doi:10.1109/ICASSP.2015.7178964
  9. Fonseca E, Favory X, Pons J, Font F, Bogdanov D, et al. (2022). FSD50K: An open dataset of human-labeled sound events IEEE/ACM Transactions on Audio, Speech, and Language Processing, 30, 829-852. Source
  10. Piczak KJ (2015). ESC: Dataset for environmental sound classification Proceedings of the 23rd ACM International Conference on Multimedia, 1015-1018. doi:10.1145/2806216.2806470
  11. Ganin Y, Ustinova E, Ajakan H, et al. (2016). Domain-adversarial training of neural networks Journal of Machine Learning Research, 17(59), 1-35.
  12. Tishby N, Pereira FC, Bialek W (1999). The information bottleneck method Proceedings of the 37th Allerton Conference on Communication, Control, and Computing, 368-377. Source

Questions we hear

Can anyone reconstruct what I said in my sleep from what Reverie stores?
That is precisely the question our attack suite is built to measure, not assume away. Before release, independent-style attackers with our public encoder, 20–100 hours of paired training data, and up to 100 GPU-hours of compute try to transcribe the stored representation and to identify the speaker. The feature ships only if their word error rate stays at or above 90% and speaker-verification error stays at or above 40%. We will publish the measured numbers — including if we fail.
Is this 'anonymous' audio?
No, and we will not use that word. What we claim is narrower and testable: the stored representation keeps sleep-relevant sound events while resisting reconstruction of speech content and speaker identity, within the attack budgets we define. Some information survives — for example a binary ‘speech present’ flag and the timing of events. ‘Privacy-irreversible’ is an empirically bounded engineering claim, not a proof of anonymity.
What if an attacker uses far more than 100 hours of training data?
Then they are outside our threat model, and we say so plainly. We cap the modelled attacker at 100 hours of paired data and 100 GPU-hours because that is a realistic bound for a motivated, well-resourced adversary — not the theoretical maximum. The encoder’s weights ship inside the public app binary, so we assume attackers have them. Our scaling test (20 → 100 hours) is reported as a slope, so you can see which direction more attacker data pushes the result.
Does the microphone stream audio to your servers while I sleep?
No. Raw audio exists only inside a ring buffer in your device’s memory, at most four seconds of it at a time. It is never written to disk and never transmitted — a tracing test over ten nights of real device runs asserts that zero raw-audio bytes reach storage or the network. Only the small, quantised summary (about 2 kB per minute, roughly 1 MB per night) is stored and synced, end-to-end encrypted.
Why keep a 'speech present' flag if you discard speech content?
Because a dream-recording timeline without sleep-talk episodes is much less useful for dream recall, and because pretending speech never happens would be dishonest. The flag says a speech-like sound occurred and when — it carries no words and no voice identity. We disclose it as a residual disclosure rather than hide it, and it is subject to the same attack bars as everything else.
What happens if the design fails one of the bars?
Then it does not ship — or it ships redesigned until it passes. A negative result is an acceptable outcome of this programme and will be published in this report all the same. We set the acceptance thresholds before running the full evaluation, precisely so that a failure cannot be quietly redefined as success.
Can the dream recorder diagnose sleep apnea or other conditions?
No. Reverie is a wellness product. The event classes (snore, cough, breathing pattern) are inputs to your own dream and sleep timeline, not a medical measurement. Loud snoring with witnessed pauses, unrefreshing sleep, or uncontrollable daytime sleepiness are reasons to see a clinician — an app is not the tool for that, and our Science Center says so on every page.

How we use this evidence

Mindful Slumber is a commercial meditation and dream-yoga app. We use the studies above to decide what we do not claim, as much as what we do. Guided mindfulness, dream journaling, and lucid-dreaming skills are wellness practices. They are not a substitute for cognitive behavioral therapy for insomnia (CBT-I), imagery rehearsal therapy, or other clinician-directed care.

See our editorial standards for how briefs are selected, graded, and updated.