StreamVoiceAnon+
checkpoints for emotion preservation in streaming voice anonymization
2 min readupdated
The repository contains two checkpoints (frame-distill and pool-distill) for the StreamVoiceAnon streaming voice anonymization system. The model transforms source speech based on a reference audio recording in real time while preserving the speaker's emotional tone. The development is based on the acoustic distillation method and is designed to protect privacy in voice services and real-time applications.
Key features
- Two distillation variants: the
frame-distillversion transfers emotional features to the model's hidden states, whilepool-distilluses statistical pooling for emotion classification. - Streaming processing: low-latency streaming mode is supported for on-the-fly operation.
- Privacy metric improvements: increased unweighted average recall (UAR) and equal error rate against speaker verification attacks (EER-L) compared to the base version.
- Ready weights: checkpoint files and configuration receipts easily integrate with inference scripts from the project's official repository.
What you can do
- Run inference: convert a source audio file using the evaluation script by specifying the path to the reference voice and the selected checkpoint.
- Test streaming: run a streaming simulation with adjustable latency and chunk size (decode_chunk_frames).
- Compare modes: evaluate the quality of frame-level distillation and the pooling version on your own audio data.
Example
python evaluations/infer_arvc.py \
--model frame-distill --checkpoint_path pretrained_checkpoints/frame.pth \
--src_path source.wav --ref_path reference.wav --out_dir audio_outputs \
--simulate_streaming --delay 2 --decode_chunk_frames 3 --alpha 0.9 --compileRead more
DetailsBenchmarks (VoicePrivacy 2024): WER 6.00% (frame-distill) / 5.47% (pool-distill), UAR 51.22% / 48.32%, EER-L 47.26% / 46.10%
System requirements: CUDA-compatible graphics card and the StreamVoiceAnon repository environment version v0.2.0 are required
Base model: Plachta/StreamVoiceAnon
License: MIT (for the inference code)










Comments