Voice anonymization systems change how a voice sounds, meaning its timbre and pitch, so that a recording can be shared without revealing who spoke. Almost all of them keep the original timing: every phone (the smallest speech sound) lasts exactly as long as it did in the input. That timing turns out to be a fingerprint. A speaker-verification attack that looks only at phone durations identifies speakers in anonymized LibriSpeech audio at a 3.9% equal error rate (EER, the operating point where false accepts equal false rejects; 50% means the attacker is guessing) (Exploiting Context-dependent Duration Features for Voice Anonymization Attack Systems). The obvious fix is to throw the timing away and regenerate it. That also throws away the timing that carries meaning: lengthening before phrase boundaries, slowing down on hard-to-predict words, and emphasis and emotion.
We propose to split each phone's duration into three parts. The first is what the linguistic context predicts for an average speaker. The second is a stable, speaker-specific offset for each class of sound. The third is an utterance-specific leftover. The anonymizer replaces only the second part, substituting an offset drawn from a population of other speakers. It keeps the context-driven and expressive timing intact. We develop and test this on spontaneous conversational speech, where nobody has yet measured whether duration fingerprints survive. The population of offsets is learned with shuffle-model differential privacy, so no central server ever holds raw timing profiles.
Core Claim
The identity-bearing part of speech timing is mostly a low-dimensional, per-speaker offset on top of context-predictable durations. Once context is factored out, that offset can be estimated from a user's own recordings and swapped. The swap should drive duration-based verification close to chance and keep downstream utility well above what full timing regeneration keeps. Utility here means word error rate, emotion recognition, and recovery of the known link between syntactic surprisal and word duration. We expect the attack to be at least as strong on spontaneous speech as on read speech, not weaker. Spontaneous timing variation is systematic, so an attacker can model and subtract it. Any conversational anonymizer therefore needs an explicit timing defense.
What exists and what it leaves open
Two recent attack papers motivate this work and supply its adversaries. Analysis of Speech Temporal Dynamics in the Context of Speaker Verification and Voice Anonymization represents speakers by mean phone durations. It reports EER of 2.5% on original LibriSpeech, 7.1% on an anonymizer that preserves timing (SAS-1), and 26.3% on an ASR-then-TTS cascade that regenerates timing (SAS-2). Exploiting Context-dependent Duration Features feeds duration sequences to an ECAPA-TDNN, a time-delay network normally used on spectra. Its attack reaches 1.8% EER on original test-clean and 3.9% on VoicePrivacy B3 output, without retraining on anonymized audio. Both papers use only read audiobooks, and both call for countermeasures without building one. Differentially Private Speaker Anonymization adds calibrated noise to pitch and ASR bottleneck features. At $\epsilon=1$ it drops attacker accuracy from 97% to 14%, with WER moving from 5% to 7%. Its conclusion names temporal warping of speech rate as future work. The VoicePrivacy series (Introducing the VoicePrivacy Initiative; The Third VoicePrivacy Challenge) frames the task and utility metrics. It notes that most submitted systems keep the input timing and that rhythm-based attacks remain open. Our proposal is the missing defense, and it targets the conversational setting the challenge points toward.
The decomposition draws its method from speaking-rate normalization in phonetics. Utterance-level normalization for relative articulation rate analysis divides each phone's duration by the mean of its phonological category, which exposes final lengthening that raw ratios hide. We reuse that category structure for the speaker offset. Syntactic Surprisal Affects Spoken Word Duration in Conversational Contexts subtracts a fixed-rate TTS duration from observed durations in AMI meetings. It finds about 7 ms of lengthening per unit of syntactic surprisal. We reuse the residualization idea, with two changes. We replace the read-speech TTS baseline with a context model trained on spontaneous speech, which answers the paper's own "synthetic neutrality" weakness. We also use the surprisal effect as a utility probe that an anonymizer should preserve. Evidence on hypo-speech (Prosodic markings of semantic predictability in taiwan Mandarin) and on reduction in conversation (Berry et al.) supports our prediction that spontaneous timing variation is structured rather than random. That is why we do not expect conversation to anonymize itself. The large ASR drop from LibriSpeech to EdAcc (The Edinburgh International Accents of English Corpus) constrains the design. Any method that routes spontaneous speech through a transcript will lose words.
Research Program
Let $d_i$ be the duration of phone $i$ in an utterance from speaker $u$, $c_i$ its linguistic context, and $k(i)$ its phonological category. We model
$$\log d_i = f(c_i) + s_{u,k(i)} + r_i ,$$
where $f$ is a speaker-independent context model, $s_{u,k}$ is speaker $u$'s offset for category $k$, and $r_i$ is the utterance-specific residual. The context $c_i$ covers phone identity, neighbours, position from the end of the phrase, stress, word surprisal from a language model, and disfluency tags. The residual captures emphasis, emotion, hesitation, and noise. The anonymized duration is $\log \tilde d_i = f(c_i) + \tilde s_{k(i)} + r_i$, where $\tilde s$ is a pseudo-speaker offset sampled from the population distribution of offsets. On the user's device, $s_u$ is estimated by shrinkage averaging of $\log d_i - f(c_i)$ over the user's own past utterances. This works because offsets are stable across a speaker's recordings and residuals are not. We use roughly seven to fifteen categories, following Saarni et al., plus a global tempo term. A variant also rescales $r_i$ toward the population residual variance, since how much a speaker's timing varies may itself identify them.
The system is built in four pieces. The first is $f$, trained on forced alignments of AMI and EdAcc training speakers, with LibriSpeech as a read-speech contrast. The second is the device-side offset estimator and swap. The third is a timing editor that repeats or drops frames within each phone segment, operating on the frame-level features of a timing-preserving anonymizer before its vocoder. We use VoicePrivacy B3 and a HuBERT or WavLM disentanglement system. Spectral anonymization therefore stays unchanged, and only timing moves.
The fourth piece is the population prior over offsets, which needs the mean and per-category variance of many users' offset vectors. A central server holding everyone's $s_u$ would recreate the very database we are trying to avoid. We therefore estimate the prior in the shuffle model. The shuffle model has each device add modest local noise, after which a non-colluding shuffler strips identities and permutes reports, which amplifies privacy by roughly a $1/\sqrt{n}$ factor (Amplification by Shuffling). Each device reports $(s_u, s_u^2)$ through the Blanket-Mixed Gaussian mechanism, which is asymptotically optimal for single-message shuffled vector mean estimation (Shuffling-Aware Optimization for Private Vector Mean Estimation). The offset vector is short, so the dimension-dependent error bound $d\chi^2$ is small. We treat this as the trust-respecting way to build the prior. We do not claim that the per-utterance swap itself satisfies differential privacy. Its protection is measured against attackers.
The first study is a measurement study. We run the ICASSP-2025 mean-duration attack and the ECAPA-TDNN duration attack on AMI and EdAcc, original and B3-anonymized, and match the amount of enrollment speech to the LibriSpeech setups. We add a new "context-aware" attacker that computes $\log d_i - f(c_i)$ before its encoder. This first study settles Gap 2 independently of the defense.
Baselines
The naive reference point is doing nothing to timing: the B3 or disentanglement anonymizer with original durations. On read speech this is the 3.9% EER condition from Exploiting Context-dependent Duration Features, which we re-run with the same attack code and enrollment counts. On spontaneous speech we found no reported result on Lacuna for duration attacks on AMI or EdAcc, so our first study establishes it.
The strongest existing timing defense is full timing regeneration by an ASR-to-TTS cascade, the SAS-2 condition. It reports a duration-attack EER of 26.3% on LibriSpeech (Analysis of Speech Temporal Dynamics). On the utility side, the reference points come from The Third VoicePrivacy Challenge. The best system reaches a WER of 2.37% against 1.85% on original data, and emotion UAR reaches about 61–64% against 71% original, on IEMOCAP. We run a cascade with Whisper and a multi-speaker TTS on the same test sets. Beating it means a higher attacker EER than the cascade at equal or better WER, together with a statistically significant advantage in emotion UAR and in recovered surprisal slope.
A stronger version of regeneration keeps the spectral anonymizer and replaces every duration with $f(c_i)$ alone. This oracle-transcript "predict-and-replace" baseline shares our context model, training data, and tuning budget. It is the ablation that isolates our key ingredient, keeping $r_i$. If it matches our privacy but loses emotion and emphasis, keeping the residual earns its place. If it matches our utility too, the offset decomposition is unnecessary.
We also run two cheap defenses under the same timing editor. One is global random tempo scaling. The other is per-phone Laplace noise on log-duration, with the noise scale tuned to give the same attacker EER as our method so that utility is compared at matched privacy.
Every system faces three attackers: the attacker trained on original audio, one retrained on anonymized audio (the informed "lazy-informed" setting of VoicePrivacy), and the context-aware attacker. Our claim counts as supported only if it holds against the informed, context-aware attacker.
Why not just…?
Why not just regenerate timing with ASR and TTS? It is the most direct fix, but the file's own numbers show it is incomplete. SAS-2 still leaves 26.3% EER, well short of chance, presumably because lexical and stylistic choices survive transcription. The VoicePrivacy findings show cascades lose emotional prosody. On spontaneous speech the cascade inherits conversational ASR error, with Whisper Large going from 2.7% WER on LibriSpeech to 19.7% on EdAcc (Sanabria et al.). Our timing editor never passes through a transcript at release time; alignment is only used to locate phone boundaries. The cascade baseline above measures these costs directly on AMI and EdAcc.
Why not just speed up or slow down the whole utterance? Global scaling adds a constant to every log-duration. It leaves the relative, per-category pattern untouched, and that pattern is what the ratio metric and the ECAPA-TDNN exploit. Our model's global tempo term is exactly what global scaling changes, so the experiment shows how much identity lives outside that single term. We expect most of it does.
Why not just add local differential-privacy noise to each phone's duration? Independent noise large enough to hide a speaker's stable offset must be large on every phone. It then swamps the roughly 7 ms-per-surprisal-unit effect and the final-lengthening profile that carry linguistic information. Averaging over many phones also lets an attacker cancel zero-mean noise and recover the offset, so the formal guarantee compounds across frames and utterances, as Differentially Private Speaker Anonymization itself notes. The matched-EER comparison tests this directly.
Why not rely on conversation's own variability? If duration attacks collapse on AMI and EdAcc, a timing defense is unnecessary there, and that would be a real and publishable negative result. The literature suggests the opposite, because the variation follows predictability and syntax, but only the first study can tell. The context-aware attacker is the decisive test: if subtracting $f(c_i)$ restores attack accuracy, the variability was never protective.
Why not just replace durations with a speaker-independent duration predictor? This is the most serious alternative. It is our predict-and-replace ablation, and we treat it as a genuine threat. If spontaneous-trained duration models capture emphasis and emotion from text context alone, keeping $r_i$ buys nothing. The emotion UAR and emphasis comparisons decide this. If the ablation ties on utility, we would report the simpler method as the recommendation.
Proposed Experiments and Decisive Checks
Data comprise LibriSpeech (train-960, test-clean) for read speech, AMI and EdAcc for spontaneous speech, and IEMOCAP for emotion. We use speaker-disjoint splits and forced alignment on reference transcripts. A robustness condition uses Whisper transcripts to measure how alignment errors from disfluency affect both attack and defense. Privacy is measured as duration-attack EER and, for completeness, spectral ASV EER to confirm that the timing edit does not undo spectral anonymization. Utility is measured in four ways: WER with Whisper on anonymized output, emotion UAR on IEMOCAP, and the Demberg-style mixed-effects surprisal slope and Saarni-style final-lengthening curves re-estimated on anonymized AMI audio. A preserved slope near the original about 7 ms per unit is our clearest test that linguistic timing survives. We also run a listening test for naturalness.
Four checks decide the proposal. First, the spontaneous-speech attack study either finds duration leakage on AMI and EdAcc comparable to or larger than LibriSpeech, or finds that it does not; either outcome is reported. Second, against the context-aware informed attacker, offset swapping must push EER substantially above the cascade's 26.3% while WER stays near the timing-preserving anonymizer. Third, the swap must retain emotion UAR and the surprisal slope clearly better than predict-and-replace; otherwise the residual is not worth keeping. Fourth, a leakage analysis trains an attacker on $r_i$ alone. If it still identifies speakers well, the three-way decomposition is wrong about where identity lives, and the residual-variance rescaling variant becomes the main method. Finally, we compare pseudo-speaker priors built centrally, through the shuffle-model mechanism, and through purely local noise, measuring how prior accuracy affects naturalness and EER. This quantifies what the shuffle model buys at realistic user counts.
References
- Exploiting Context-dependent Duration Features for Voice Anonymization Attack Systems
- Analysis of Speech Temporal Dynamics in the Context of Speaker Verification and Voice Anonymization
- Differentially Private Speaker Anonymization
- Introducing the VoicePrivacy Initiative
- The Third VoicePrivacy Challenge: Preserving Emotional Expressiveness and Linguistic Content in Voice Anonymization
- Utterance-level normalization for relative articulation rate analysis
- Syntactic Surprisal Affects Spoken Word Duration in Conversational Contexts
- Prosodic markings of semantic predictability in taiwan Mandarin
- Articulatory reduction in Mandarin Chinese words
- The Edinburgh International Accents of English Corpus: Towards the Democratization of English ASR
- Amplification by Shuffling: From Local to Central Differential Privacy via Anonymity
- Shuffling-Aware Optimization for Private Vector Mean Estimation