betaFeedback

WorksComputer Science

Toward Complete Speaker Anonymization: a Streaming Cascaded System for Voice Privacy and PII Removal

Abstract

We present a cascade streaming voice privacy system, consisting of ASR, NLP, and TTS modules. By leveraging recent improvements in all three aspects of speech and language processing, we show that such a system is capable of achieving a result comparable to state-of-the-art offline voice privacy systems, while providing controllable capabilities of content protection beyond voice. With an estimated utterance-onset end-to-end latency of 717 ms, the presented system preserves speech content with 11% WER on Librispeech, while detecting PII with a 69% SLU F1 score and achieving up to 47.66% EER against a semi-informed attacker.

Introduction

Privacy and the protection of personal information have become central in machine learning in recent years. The General Data Protection Regulation (GDPR) [1] has set the grounds for strong protection of personal data for all European citizens. Personal data includes both biometric data (such as speech, face images, or fingerprints) and any personal identifying information (PII), which includes direct identifiers (names, home addresses), digital identifiers (IP addresses), and sensitive information (religious beliefs, sexual orientation).

Speech anonymization is the technique of removing one’s identity from a speech signal while keeping useful information such as the linguistic or emotional content of the speech. Driven by initiatives such as the Voice Privacy Challenge [2, 3] (VPC), the speech community has shown a variety of techniques allowing the removal of acoustic and prosodic cues in a signal such that an individual can no longer be recognized from their anonymized speech, even by informed systems. Currently, neural speech anonymization systems generally follow

two main approaches: Voice Conversion (VC) and cascade systems. VC systems [4], which directly transform the speech, one short temporal window at a time, to modify the speaker’s identity to sound like a target identity. Those systems usually offer weaker privacy, but allow for a stronger conservation of utility signals [5], and can allow streaming processing of speech [6, 7]. Cascaded systems, on the other hand, consisting of Automatic Speech Recognition (ASR) followed by a Text-To-Speech (TTS) system [8, 9], have demonstrated strong privacy performance, at the cost of reduced utility. Another cascade system SecureSpeech consisting of ASR, Name Entity Recognition (NER) and TTS was presented in [10]. However, these systems are designed to work offline. In [11] the authors show redaction of the PII in live speech by masking the audio with a beep sound.

However, if some systems use cascaded ASR+TTS to remove almost all identifying information from audio [9, 12], and some systems use cascaded ASR+NER to redact PII [11], the combination of both approaches has seen little exploration. We propose to apply an additional NLP module to remove PII, creating a cascaded ASR + NLP + TTS system. Moreover, we select the components of our cascaded system to make it as fast as possible, to close the gap toward streaming anonymization systems.

An additional motivation for streaming voice privacy systems is their potential use in privacy-sensitive settings, such as remote therapy or support hotlines, where protecting a speaker’s identity may lower barriers to using these services and facilitate more open communication. Our contributions can be expressed as follows:

  • We introduce a speech anonymization system that can detect personal information from audio and text through a cascade of an ASR, an NLP, and a TTS modules.

  • Our system can be used in an almost-streaming fashion, with fast components, which sets up the baseline for fully anonymized streaming systems.

  • The evaluation of the proposed system.

System components

Automatic Speech Recognition (ASR)

Since our goal is real-time natural speech generation, processing phrases instead of single words seems to be a better suited for downstream TTS. For that reason, after preliminary experiments with streaming ASR systems, we decided to continue with Whisper [13]. Whisper is not an intrinsically streaming ASR; however, it has been shown to work in a streaming scenario [14]. We implement our own algorithm to use Whisper turbo and SileroVAD [15] in a streaming manner. We start with 700 ms audio chunks and process only blocks that contain speech. If less than 100 ms of non-speech remains after the detected end of speech in a block, blocks of up to 200 ms are added and VAD processing is repeated until at least 100 ms of trailing non-speech is found or the recognition block reaches 1.3 s. If VAD detects further speech after that internal non-speech segment of at least 100 ms, the audio corresponding to the next utterance is carried over to the next recognition block. ASR recognition is performed once on the established recognition block. If speech extends to within 100 ms of the maximum 1.3 s recognition block boundary, words that may be truncated by the boundary are removed from the transcript, and the corresponding audio is carried over to the next recognition block.

PII detection with LLM/NER

For the detection of personal identifying information (PII), we consider using LLMs and dedicated name entity recognition (NER) models. We choose to test two Qwen2.5-Instruct [16] models [17, 18], two GLiNER [19] based models [20, 21] and en_core_web_trf pipeline from spaCy [22].

Text-to-Speech (TTS)

For speech synthesis, we use VoxCPM 2.0 [23] with the Nano-vLLM-VoxCPM inference engine [24]. This selection was motivated by the ability to perform high-fidelity continuation cloning and native streaming support. Continuation cloning is an extremely desired feature, since our system operates on small chunks of text that need to be synthesized as continuous speech. The model exposes a configurable guidance parameter cfgcfg (with higher values following the conditioning more strictly and lower values allowing more variation), the number of inference time steps (which controls the quality), the temperature, and the maximum number of model generation steps. We experiment with different values using live systems and a subset of LibriSpeech [25] train-100. For final experiments, we choose cfg=2.0cfg = 2.0, a default value of 10 inference steps, 0.9 temperature, and a maximum of 10 model generation steps (which corresponds to 1.6 s of audio). Putting a rather aggressive cap on model generation steps allowed one to prevent hallucination or generating long silences after the speech. In addition, we restart the continuation mode after silence period, generation of two consecutive phrases or if more than 10 seconds of audio were already generated. Those additional settings are intended to prevent compounding errors that would affect future continuous generations. For all experiments, we used synthesized reference audio using ElevenLabs2 solution.

Evaluation

Datasets

For utility evaluation (WER and UTMOS), we use the development and test splits of LibriSpeech [25], and for content protection evaluation, we work with SLURP [26] and Dialog-PII [27]. SLURP was not designed as a privacy benchmark, but is rare example of NER evaluation benchmark that contains an actual audio, which allows us to perform experiments in a streaming manner and compare them to the results obtained offline and gold transcripts. In our experiments, we used 11514 training and 2974 test transcripts from SLURP and 2913 transcripts from english part of DialogPII.

Experiments

Latency

Our first experiment aimed to measure system latency, which is most important parameter for real-life deployments. For this experiment, we chose 100 audio files from the LibriSpeech train-100 and force-aligned their transcripts using WhisperX [28] to obtain gold transcripts for the calculation of ASR latency with continuous Levenshtein alignment [29]. The same tool was used to calculate utterance-onset end-to-end (E2E) latency, using the emission time of the first audio segment that corresponds to a generated utterance. We also report time to first audio (TTFA) measured from the beginning of the TTS generation and the ratio of durations of generated and input audio. Those measurements do not take into consideration temporal drift during playback caused by differences in duration of input and generated speech. This experiment measures only the ASR + TTS pipeline and does not include the NLP processing time, which will be measured separately for different NLP systems. The experiment was performed on a machine with NVIDIA RTX PRO 6000 Blackwell Max-Q GPU.

Utility

The utility evaluation of our system mostly follows the metrics proposed by VPC2026 [3]: Speech content preservation is measured by the Word Error Rate (WER) in the anonymized Librispeech dev and test sets [25], transcribed by a wav2vec2-based ASR model trained on LibriSpeech-train-960. For this evaluation, no PII removal is applied. Emotion preservation is measured by the Unweighted Average Recall (UAR) on the anonymized IEMOCAP dataset [30], using a wav2vec2-based Speech Emotion Recognition (SER) system, with performance averaged across 5 validation folds. Speech quality is measured by UTMOS, automatically evaluated by the UTMOSv2 [31] system.

Privacy

The privacy of our system is evaluated upon 2 aspects: the anonymization of the speech components, measured as its capacity to fool a semi-informed ASV system, and the removal of PII, measured as a task of PII detection in text.

Speech anonymization: The ASV system used is an ECAPA-TDNN with WavLM-large features combined with filterbanks, trained on voice-converted data from the Source Speaker Tracing Challenge (SSTC) [32] which is then fine-tuned on the Librispeech-train-clean-360 [25] anonymized data collected during the VPC2024 [2]. The equal error rate (EER) is computed on the gender-mixed trials defined in the VPC2026 from LibriSpeech’s test and dev subsets.

PII detection: For the PII detection task, we focused only on entity types: person, email_address, date and time, place_name, and relation, which closely correspond to privacy information, and limit SLURP audio to only headset recordings (resulting in 6281 test recordings). In DialogPII evaluation, we test almost the same subset of entities, except predictions of date and time are mapped to datetime to match the dataset taxonomy. For the transcript-only experiments, each transcript was replicated according to the number of corresponding audio recordings to preserve the same sample distribution as in the audio-based experiments.

We fine-tuned all the PII detection systems using SLURP training transcripts (we use 10% of the training data for model validation) and simulate streaming by splitting them into blocks of 2 to 4 words. During training, each model sees the left context from previous blocks, but all selections are trimmed to match the text in the current block. Each model is fine-tuned for 10 epochs, and the epoch that corresponds to the highest F1 on the validation subset is selected. The Qwen models were fine-tuned using LoRA [33]. For evaluation, adjacent predicted entities of the same type were merged. We evaluated the trained models on gold transcripts and ASR predictions block by block with left context (which corresponds to real system processing). We calculated the micro entity F1 and micro SLU-F1 [26]. The first measures exact agreement of detected entities, while the second is designed to assess error propagation in structured E2E-SLU tasks by incorporating word- and character distance based components.

Results

Latency

The latency results are presented in Table 1. The median ASR latency is consistent with our expectations. Since we use the maximum recognition window of 1.3 s, and speech can start anytime, on average at least half of that time should contribute to latency. The TTS is extremely fast, although it has to be pointed out that the first frames of audio can contain silence.

ASR [ms]TTS (TTFA) [ms]E2E [ms]Tout/TinT_{\mathrm{out}}/T_{\mathrm{in}}
669417111.33

Table 1. Median of measurements for latency, TTFA and the duration ratio of output and input audio.

The difference in the durations of the generated audio is caused by the generation of sentences as separate phrases and the mismatch of the speech rate between the input and voice reference audio.

Utility

Table 2 shows the utility evaluation results for the proposed system compared to the baselines of the VPC2026. Emotion preservation shows similar levels to existing non-streaming cascaded anonymization systems, with a UAR at 29.22%.

SystemWER ↓\downarrow devWER ↓\downarrow testUAR ↑\uparrow devUAR ↑\uparrow test
Orig.1.801.8469.0871.06
T30[9]5.024.7828.4529.44
T8-4[12]3.743.7530.1030.59
Ours (Streaming)11.1111.4429.3729.22

Table 2. Utility metrics evaluating linguistic preservation (WER) on LibriSpeech and emotion preservation (UAR) on IEMOCAP, on the original speech.

However, speech preservation suffers from ASR streaming, showing up to 11.44% WER on the LibriSpeech test after reconstruction. The ASR alone achieves a WER of 7.83%, and the TTS system on ground-truth transcripts yields a WER of 10.38%, showing that while the first block may be the fastest way to improve PII removal, the TTS also needs improvement for better speech preservation.

Our system also exhibits a 3.21±0.443.21 \pm0.44 UTMOS, compared to the original speech, which is 3.35±0.283.35 \pm0.28, showing that little to no degradation is added to the quality of the generated speech.

Privacy

Speech privacy results are shown in Table 3, which compares our system with the other systems. As expected from a cascaded ASR+TTS system, our proposed system outperforms the baseline system, with EER≥44%EER \ge44\%, but also places itself in the same range as existing cascaded systems.

SplitOrig.T30[9]T8-4[12]B5[2]Ours
dev-f ↑10.5144.3247.5835.8244.18
dev-m ↑0.9347.5249.2332.9247.66
test-f ↑8.7645.0747.4433.9544.37
test-m ↑0.4244.7748.7534.7345.25

Table 3. Privacy results are shown as an EER, evaluated on the Librispeech subsets.

The PII detection results are presented in Table 4. SLURP is a challenging dataset, and our streaming-like ASR system achieves 24%24\% WER, which contributes to the degradation of PII detection in ASR chunks. The results obtained on DialogPII are shown along with the measured latency in simulated streaming scenarios. The GLiNER Small v2.5 entity F1 corresponds to 61.55 precision and 59.30 recall, while SLU F1 corresponds to 69.09 precision and 66.88 recall. The results show that simpler NER systems can efficiently replace small LLMs in streaming scenarios, while showing significantly faster processing (4 ms for spaCy vs 46 ms for Qwen 1.5B). The fine-tuning and evaluation of the NER and LLM models used a non-systematic selection of hyperparameters, mainly default or commonly used values.Therefore, the results presented in Table 4 should not be interpreted as a careful comparison of their capabilities. The aim of this work is to establish a reasonable lower bound for the robustness of a cascade-like voice privacy system.

ModelSLURPDialogPII
Clean transcriptASR chunksSimulated Streaming
Entity F1↑SLU F1↑Entity F1↑SLU F1↑Entity F1↑SLU F1↑Latency [ms]↓
Qwen 1.5B87.5089.1051.4866.5156.2764.2246
Qwen 0.5B83.9285.4248.3362.7346.5556.6239
spaCy87.1988.9854.8269.0153.2760.604
GLiNER Small v2.582.5587.5550.5966.9361.2269.146
NVIDIA GLiNER PII86.8989.6053.7468.6660.4067.9717

Table 4. DialogPII and SLURP PII detection results for fine-tuned models.

Conclusion

We presented a streaming-oriented ASR-NLP-TTS cascade that combines speaker anonymization with PII detection for content protection. The Whisper-based configuration achieves an estimated median utterance-onset end-to-end latency of 717 ms (ASR latency + NER latency + TTFA). In VPC2024 gender-specific trials, EERs range from 44.18% to 47.66%, exceeding the baselines evaluated B2-B5 and approaching the results of existing offline cascades. These findings support the feasibility of extending cascaded speech privacy toward streaming operation.

The results highlight the importance of jointly selecting and coordinating cascade components. Dedicated NER models offer a promising alternative to small LLMs: on simulated DialogPII streaming, GLiNER Small achieves 61.22% entity F1 at 6 ms latency, compared with 56.27% at 46 ms for Qwen 1.5B. Thus, efficient content filtering need not require generative language models in the evaluated setting. However, depending on the application, even the simpler dictionary approach could be used to filter PII, and on the other hand, an LLM could perform additional rewriting of the text to hide the information.

Future work will focus on two directions. First, we will reduce end-to-end latency and accumulated delays through adaptive text buffering and coordinated ASR-TTS scheduling with true streaming ASR. Second, the substantial degradation of PII detection on streaming ASR outputs motivates the development of streaming NLP methods that remain robust to recognition errors and incomplete context, enabling more reliable content protection from incremental transcripts.

Generative AI Use Disclosure

Generative AI tools supported software development, debugging, test generation, implementation analysis, LaTeX table generation. They were also used to provide editorial and critical feedback on author-written manuscript text, including its clarity, presentation, and argumentation. All numerical results are derived from the described experiments, with AI-generated scripts used only to process and format outputs. The authors remain fully responsible for the methodology, results, and conclusions.

References

  1. [1]European Parliament and Council of the European Union, “Regulation (EU) 2016/679 (General Data Protection Regulation),” 2016, Official Journal of the European Union, L 119, pp. 1–88.
  2. [2]N. Tomashenko et al., “The VoicePrivacy 2024 Challenge Evaluation Plan,” arXiv preprint arXiv:2404.02677, 2024.arxiv.org/abs/2404.02677
  3. [3]X. Miao et al., “The VoicePrivacy 2026 Challenge Evaluation Plan,” 2026.
  4. [4]T. Walczyna and Z. Piotrowski, “Overview of voice conversion methods based on deep learning,” Applied sciences, vol. 13, no. 5, pp. 3100, 2023.DOI
  5. [5]M. Panariello et al., “The VoicePrivacy 2022 challenge: Progress and perspectives in voice anonymisation,” IEEE/ACM Transactions on Audio, Speech, and Language Processing, vol. 32, pp. 3477–3491, 2024.arxiv.org/abs/2407.11516
  6. [6]H. Kanagawa, T. Moriya, and Y. Ijima, “Vc-t: Streaming voice conversion based on neural transducer.,” in INTERSPEECH, 2023, pp. 2088–2092.DOI
  7. [7]Y. Yang et al., “StreamVC: Real-time low-latency voice conversion,” in ICASSP 2024-2024 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 2024, pp. 11016–11020.arxiv.org/abs/2401.03078
  8. [8]C. Aggazzotti, A. Garg, Z. Cai, and N. Andrews, “Content anonymization for privacy in long-form audio,” in ICASSP 2026-2026 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 2026, pp. 13412–13416.DOI
  9. [9]J. Lee, T. Park, and Y. You, “Voice anonymization using emotion-enriched feature integration with STT and TTS models,” in Proc. SPSC 2024, 2024, pp. 50–54.
  10. [10]B. S. H. Hui, X. Miao, and X. Wang, “SecureSpeech: Prompt-based speaker and content protection,” in 2025 IEEE International Joint Conference on Biometrics (IJCB). IEEE, 2025, pp. 1–8.arxiv.org/abs/2507.07799
  11. [11]E. Gouvêa et al., “TRUESTRERA: A Live Conversation Redaction System,” in ICASSP 2023-2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 2023, pp. 1–5.arxiv.org/abs/2303.09438
  12. [12]H. L. Xinyuan et al., “HLTCOE JHU submission to the Voice Privacy Challenge 2024,” arXiv preprint arXiv:2409.08913, 2024.arxiv.org/abs/2409.08913
  13. [13]A. Radford, J. W. Kim, T. Xu, G. Brockman, C. McLeavey, and I. Sutskever, “Robust speech recognition via large-scale weak supervision,” in International conference on machine learning. PMLR, 2023, pp. 28492–28518.arxiv.org/abs/2212.04356
  14. [14]D. Macháček, R. Dabre, and O. Bojar, “Turning Whisper into real-time transcription system,” in Proc. IJCNLP-AACL 2023 System Demonstration, 2023, pp. 17–24.
  15. [15]Silero Team, “Silero VAD: pre-trained enterprise-grade Voice Activity Detector (VAD),” https://github.com/snakers4/silero-vad, 2024.
  16. [16]Qwen Team, “Qwen2.5: A Party of Foundation Models,” September 2024.
  17. [17]“Qwen2.5-0.5B-Instruct,” https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct.
  18. [18]“Qwen2.5-1.5B-Instruct,” https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct.
  19. [19]U. Zaratiana, N. Tomeh, P. Holat, and T. Charnois, “GLiNER: Generalist Model for Named Entity Recognition using Bidirectional Transformer,” 2023.
  20. [20]NVIDIA, “GLiNER-PII,” https://huggingface.co/nvidia/gliner-PII.
  21. [21]“gliner_small-v2.5,” https://huggingface.co/gliner-community/gliner_small-v2.5.
  22. [22]M. Honnibal, I. Montani, S. Van Landeghem, A. Boyd, et al., “spaCy: Industrial-strength natural language processing in Python,” 2020.
  23. [23]Y. Zhou et al., “Voxcpm2 technical report,” arXiv preprint arXiv:2606.06928, 2026.arxiv.org/abs/2606.06928
  24. [24]“Nano-vLLM-VoxCPM,” https://github.com/a710128/nanovllm-voxcpm.
  25. [25]V. Panayotov, G. Chen, D. Povey, and S. Khudanpur, “Librispeech: an asr corpus based on public domain audio books,” in 2015 IEEE international conference on acoustics, speech and signal processing (ICASSP). IEEE, 2015, pp. 5206–5210.DOI
  26. [26]E. Bastianelli, A. Vanzo, P. Swietojanski, and V. Rieser, “SLURP: A Spoken Language Understanding Resource Package,” in Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP). Nov. 2020, pp. 7252–7262, Association for Computational Linguistics.arxiv.org/abs/2011.13205
  27. [27]R. Roller et al., “DialogPII: A multilingual dataset of synthetic dialog transcripts to detect personal information,” arXiv preprint arXiv:2606.30312, 2026.arxiv.org/abs/2606.30312
  28. [28]M. Bain, J. Huh, T. Han, and A. Zisserman, “WhisperX: Time-Accurate Speech Transcription of Long-Form Audio,” in Interspeech 2023, 2023, pp. 4489–4493.arxiv.org/abs/2303.00747
  29. [29]D. Macháček and P. Polák, “Simultaneous translation with offline speech and LLM models in CUNI submission to IWSLT 2025,” in Proceedings of the 22nd International Conference on Spoken Language Translation (IWSLT 2025), 2025, pp. 389–398.arxiv.org/abs/2506.17077
  30. [30]C. Busso et al., “IEMOCAP: Interactive emotional dyadic motion capture database,” Language resources and evaluation, vol. 42, no. 4, pp. 335–359, 2008.DOI
  31. [31]K. Baba, W. Nakata, Y. Saito, and H. Saruwatari, “The T05 system for the VoiceMOS Challenge 2024: Transfer learning from deep image classifier to naturalness MOS prediction of high-quality synthetic speech,” in 2024 IEEE Spoken Language Technology Workshop (SLT). IEEE, 2024, pp. 818–824.arxiv.org/abs/2409.09305
  32. [32]Z. Li, M. Li, P. Zhang, Y. Ren, Z. Cai, and H. Nishizaki, “The SLT 2024 source speaker tracing challenge (SSTC 2024) evaluation plan,”.
  33. [33]E. J. Hu et al., “LoRA: Low-Rank Adaptation of Large Language Models,” in ICLR 2022, April 2022.arxiv.org/abs/2106.09685

Paper details

vlnc:W_cnf8j6ck
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 4

downloads · 2

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents