Introduction
As voice data sharing becomes ubiquitous, the risk of "voice identity theft" increases. Malicious actors can leverage short speech clips to train synthesis models for impersonation, potentially compromising Automatic Speaker Verification (ASV) systems used by financial or private services. This paper introduces a novel framework for speaker anonymization that "swaps" a person's vocal identity while preserving spoken content and speech quality.
Problem Statement
Existing identity-hiding methods often degrade speech quality or scramble linguistic content, rendering speech unintelligible. The goal is logical anonymization: modifying a recording so it sounds like a different person uttered the same words with the same emotion and clarity, effectively breaking the link between the audio and the original speaker's identity.
Proposed Framework
The authors propose a modular pipeline based on the principle of feature disentanglement, consisting of three primary stages: feature extraction, anonymization, and speech synthesis.
1. Feature Extraction
- Linguistic Content: Extracted as Phoneme Posteriorgrams (PPGs) using an Automatic Speech Recognition (ASR) system. PPGs represent phoneme probabilities over time, ideally independent of speaker identity.
- Prosody: The fundamental frequency (F0) is extracted to maintain the "melody" and semantic nuances of the speech.
- Speaker Identity: Captured via x-vectors, which are fixed-length embeddings representing unique vocal characteristics.
2. Anonymization
The original x-vector is replaced with a "pseudo-speaker" identity. Two strategies were evaluated:
- Random Selection: Averaging x-vectors from $M$ random speakers in a large pool.
- Range Selection: Composing an x-vector by averaging speakers within a specific similarity range to the original speaker, allowing for fine-tuned control over the degree of anonymization.
3. Speech Synthesis
The PPG, F0, and the anonymized x-vector are processed by an Acoustic Model (autoregressive LSTM) to generate a Mel-spectrogram. A Neural Source-Filter (NSF) model then converts this spectrogram into a high-quality audio waveform.
Key Insights
- Disentanglement: The choice of PPG layer is critical. Using the softmax output of the ASR system provided superior anonymization compared to internal hidden layers, as the softmax layer discards speaker-specific acoustic details to focus purely on phoneme classification.
- F0 Preservation: While preserving F0 maintains intonation, it also retains identity cues like gender and age, presenting a trade-off in total anonymity.
- Pseudo-Identities: Averaging multiple x-vectors creates a "synthetic" persona that does not exist in the training data, providing a more robust form of anonymization than simple voice conversion.
Evaluation and Results
The system was evaluated on privacy (Equal Error Rate - EER), utility (Word Error Rate - WER), and quality (Mean Opinion Score - MOS) using datasets like TIMIT, VoxCeleb, and VCTK.
- Privacy: The system effectively concealed identity. For an ASV system, the EER jumped from a baseline of ~2% to over 20-30% after anonymization, indicating high concealment.
- Quality: While objective scores (P.563) remained relatively high, human listeners rated anonymized speech between 2.3 and 3.2. It remained intelligible and natural-sounding compared to traditional signal-processing methods.
- Utility Gap: A significant drawback was the increase in WER (from ~9.5% to 25-45%), suggesting that PPG extraction is not yet perfect and loses some linguistic information during the identity swap.
Limitations and Future Work
The primary limitation is linguistic degradation (high WER) due to ASR-based PPG extraction errors. Future research will focus on:
- Unsupervised Representation Learning: Capturing linguistic features without relying on potentially flawed ASR models.
- F0 Anonymization: Modifying pitch contours to hide gender/age cues while preserving emotional intent.
- Standardization: Establishing common databases and protocols for fair comparison across the research community.
Summary updated