Exploiting Context-dependent Duration Features for Voice Anonymization Attack Systems

Natalia A. Tomashenko, Emmanuel Vincent, Marc Tommasi

Abstract

Voice anonymization systems typically aim to protect speaker identity by modifying pitch and timbre while preserving linguistic content. However, these systems often leave temporal dynamics—the unique rhythmic patterns of a speaker—untouched. This paper introduces a novel attack model that extracts context-dependent duration embeddings using an ECAPA-TDNN architecture. Our results demonstrate that these temporal "fingerprints" are highly speaker-discriminative, allowing an attacker to re-identify speakers with an Equal Error Rate (EER) as low as 3.9% on anonymized data, effectively unmasking state-of-the-art privacy-preserving systems.

Introduction: The Hidden Biometric in Speech Rhythm

Voice anonymization is essential for GDPR compliance and personal privacy in speech technology. Most modern frameworks disentangle speech into content, pitch, and identity, replacing the original identity with a "pseudo-speaker." While this effectively masks spectral characteristics, it often preserves the original timing and duration of phonemes to maintain naturalness.

This paper addresses a critical security gap: the information leakage inherent in the sequence and context of phoneme durations. We demonstrate that a "semi-informed" attacker—one who knows the anonymization method but not the specific pseudo-speaker mapping—can exploit these temporal dynamics to bypass sophisticated anonymization tools.

Proposed Attack Methodology

The core of the proposed attack is the use of context-dependent duration embeddings. Unlike previous attacks that relied on simple averages of phoneme lengths, our approach captures the transitions and sequences of durations.

  1. Duration Sequences: Each utterance is converted into a sequence of vectors. Each vector represents a phoneme, encoded as a one-hot vector multiplied by its duration in acoustic frames.
  2. ECAPA-TDNN Architecture: We adapt the Emphasized Channel Attention, Propagation, and Aggregation in Time Delay Neural Network (ECAPA-TDNN), a standard for speaker verification, to process these duration sequences instead of traditional spectral features.
  3. Training and Verification: The model is trained on the LibriSpeech train-960 corpus to classify 2,338 speakers based solely on timing. At test time, the model generates a 128-dimensional embedding, and identity is verified via cosine distance between enrollment and trial samples.
Figure 2: The attack model architecture, showing the transformation of speaker utterances into duration vectors processed by an ECAPA-TDNN to identify speakers.

Experimental Results

We evaluated the attack model (A2) against a baseline metric-based approach (A1) and a standard spectral-feature-based model (A3) using the LibriSpeech dev-clean and test-clean sets. Anonymization was performed using the GAN-based B3 baseline from the VoicePrivacy 2024 Challenge.

Breaking Anonymization

The results indicate that temporal dynamics are a primary biometric trait. On original test-clean data with 8 enrollment utterances, the A2 model achieved an EER of 1.8%. Crucially, when applied to anonymized data, the model maintained high accuracy with an EER of 3.9%. This represents an 85% relative error reduction compared to the A1 baseline.

Figure 4: Comparison of Equal Error Rates (EER) across different models (A1, A2, A3) and data types. The proposed A2 model significantly outperforms the A1 baseline and approaches the performance of spectral-based attacks (A3).

Key Insights

  • Contextual Importance: Capturing how durations transition between sounds (context) provides significantly more speaker-identifiable information than simple averages.
  • Cross-Domain Robustness: Because anonymization systems preserve timing, a model trained on original, unprocessed audio remains highly effective against anonymized speech without requiring retraining on the anonymized domain.
  • Data Volume Sensitivity: The attack's potency increases dramatically with more data; increasing enrollment from 1 to 8 utterances consistently lowered the EER across all test scenarios.

Conclusion and Future Work

This research proves that current voice anonymization techniques are vulnerable to attacks targeting temporal dynamics. Temporal fingerprinting is a robust biometric that persists even after spectral transformation. Future work must focus on developing countermeasures that can warp or "shuffle" phoneme durations to enhance privacy without sacrificing the naturalness and intelligibility of the synthesized speech. Additionally, investigating the impact of automatic speech recognition (ASR) errors on phonetic alignment will be crucial for understanding the feasibility of these attacks in real-world, "in-the-wild" scenarios.

Summary updated

BibTeX
@inproceedings{tomashenko2025exploiting,
  author = {Natalia A. Tomashenko and Emmanuel Vincent and Marc Tommasi},
  title = {{Exploiting Context-dependent Duration Features for Voice Anonymization Attack Systems}},
  booktitle = {Interspeech},
  year = {2025},
  doi = {10.21437/interspeech.2025-2317},
}
Figure