# Task-adaptive anonymisation enables privacy-preserving sharing of clinical speech data

CASA tailors speech anonymisation to each clinical task while keeping disease cues

Ziyun Cui, Haoyu Niu, Wen Wu, Hao Sun, Sihan Zhang, Chang Lei and 9 more · arXiv · 2026-11-8

- **Problem** Fixed speech anonymisers hide the speaker but often erase the cues a clinical model needs. Clinical tasks rely on different speech traits, so one fixed recipe fails on some tasks.
- **Method** CASA is an LLM agent that picks and tunes voiceprint and content anonymisation per task. It runs a method, measures privacy and utility, and re-plans when a requirement fails.
- **Results** CASA passed all 14 clinical tasks; the best fixed method passed 8 of 14.

![Figure 1: \|Overview of CASA and comparison with baselines.a, Architecture of the CASA agent. An LLM-based controller receives the clinical task, speech paradig…](https://refivu.com/papers/2d28cb8a-75a8-4897-bbf8-fdb5cfb0dcac/figures/figure-2b8c1a31ee7e2e0a5446441da521f587.png?thumb=512)

**Fig. 1** \|Overview of CASA and comparison with baselines.a, Architecture of the CASA agent. An LLM-based controller receives the clinical task, speech paradigm and privacy–utility requirements, plans an anonymisation strategy and invokes tools for voiceprint and content anonymi- sation. Evaluation feedback guides adjustment to methods and parameters. Cross-task memory retains coarse-grained summaries and fine-grained experimental records to guide subsequent planning. b, Number of datasets or task subsets meeting all applicable privacy and clinical-utility criteria, com- paring five individual methods used as fixed strategies (grey), a SecureSpeech pipeline (orange) and CASA (blue). Success is defined as that the anonymised speech achieve an EER of at least 20%, sensitive-content localisation F1 of at least 0.75 when required, and a downstream BACC decrease of less than three percentage points relative to original speech. c, Delta BACC in percentage points after anonymisation with CASA and SecureSpeech. The dashed green circle marks the -3-percentage-point boundary, and the green shaded outer region indicates changes satisfying the utility requirement. The datasets are grouped into mental health, cognitive and voice disorders.

[Original paper](https://arxiv.org/abs/2611.11273v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ziyun Cui, Haoyu Niu, Wen Wu, Hao Sun, Sihan Zhang, Chang Lei, Yun Zhang, Chunyun Sun, Yang Luo, Liangliang Cao, Ji Wu, Runsen Chen, Lian Zhou, Yongsheng Tong, Chao Zhang · Task-adaptive anonymisation enables privacy-preserving sharing of clinical speech data · Original paper figure · Extracted the figure area from page 4 of the original PDF.

## Why one fixed anonymiser falls short

Clinical speech leaks identity through two channels at once: the voice points to the speaker, and the words can name people or places. An anonymiser therefore has to scrub both channels while keeping the cues a disease classifier needs. Those cues vary by task, because acoustic, phonetic, paralinguistic and linguistic information each support different assessments.

Elicitation style shifts the risk as well, since reading aloud mainly exposes vocal traits that identify the speaker. Autobiographical speech can also reveal sensitive content, so a single recipe rarely fits every elicitation paradigm.

Existing tools fall into two camps, and neither covers the whole problem. General-purpose speaker anonymisers hide identity, and they often erase clinically relevant speech information along the way. Disease-specific methods, cited as 20 to 22 in the paper, are built for one disorder or one narrow task. Such methods transfer poorly to heterogeneous clinical settings.

The authors note that no framework had yet adapted both voiceprint and spoken-content anonymisation to individual tasks, languages and elicitation paradigms.

CASA reformulates anonymisation as a task-adaptive privacy–utility problem instead of a fixed preprocessing step. Its experience memory reduced the iterations needed to meet privacy–utility requirements by 31.3%. Fixed methods trade identity protection against clinical information, so one choice made in advance can fail on some tasks.

## How CASA plans, runs and tests a strategy

CASA treats anonymisation as a search: the agent proposes a strategy, runs it, and measures what it protected and what it cost. Measured downstream performance steers that search, because the clinical relevance of a speech cue can't always be known in advance. Strategy generation runs on Qwen3.8-27B, which sees tool descriptions, parameter constraints, workflow dependencies and retrieved memory entries.

Transcription turns each recording into sentence-level text with word-level timestamps, sentence indices and speaker labels. Paraformer handles Mandarin Chinese recordings, and WhisperX handles recordings in other languages. The voiceprint step chooses from three method families: signal processing, neural voice conversion and transcription–resynthesis.

For example, Pitch shifts pitch by 3 semitones, upward for male speakers and downward for female speakers, based on transcription-stage gender estimates. Content masking runs a locally deployed Qwen2.5-32B-Instruct to find privacy-sensitive spans, so transcripts stay off external services. Time-aligned methods replace those spans with noise, while Resyn removes them from the transcript before resynthesis.

If a requirement fails, the agent re-plans using evaluation feedback, the current-task history and retrieved processing steps. The agent tries alternative methods at default settings first, and it adjusts method parameters only when none satisfies the requirements, up to 7 adaptation iterations.

Each request set an EER floor of 20%, 30% or 40%, plus one utility or speech-preservation constraint. Memory-enabled runs could draw on the other 13 tasks, while memory-free runs had no cross-task experience, and cross-task memory cut the number of iterations by 31.3%.

## What each voiceprint method trades away

The authors ran five voiceprint methods as fixed strategies and scored each on speaker EER, transcription error, pitch contour, emotion, perceptual quality and downstream BACC. Pitch shifts the pitch by 3 semitones, with the direction set by the speaker's estimated gender. Formant spec scales the spectrum by 1.1, which approximates a change in vocal tract length.

Formant LPC moves the LPC pole angles with a power coefficient of 0.8 at an LPC order of 20. Neural VC relies on SeedVC, while Resyn resynthesises speech from transcripts with FishSpeech.

The signal-processing methods lowered perceptual quality but kept pitch contours better than Neural VC and Resyn. Formant spec kept linguistic and emotional information best among them, yet it gave the lowest EER. So Formant spec protected speaker identity least of the group. Pitch gave EER generally above 0.4, and it introduced more transcription errors.

Neural VC held EER between 0.43 and 0.51, which is close to random speaker verification. Resyn ranged from 0.34 to 0.54 across datasets, so its speaker protection varied more. Resyn gave the highest perceptual quality and lowest transcription error rates, but it lost pitch contour accuracy.

Downstream BACC moved differently by task, and the heatmap in Fig. 2 shows each change. Neural VC and Resyn caused significant drops on the Saarbrücken subsets and PUMCH, and Resyn pushed accuracy close to chance. On the fixed-content reading datasets Androids-R and Ivanova, Resyn also caused significant degradation.

![Figure 2: \|V oiceprint anonymisation evaluation across methods and datasets.Boxplots show six evaluation metrics across datasets for each voiceprint anonymisat…](https://refivu.com/papers/2d28cb8a-75a8-4897-bbf8-fdb5cfb0dcac/figures/figure-076a0e4a12be64bf5ddf51e2b9d4c4bf.png?thumb=512)

**Fig. 2** \|V oiceprint anonymisation evaluation across methods and datasets.Boxplots show six evaluation metrics across datasets for each voiceprint anonymisation method: ∆SNR (change in SNR, anonymised vs. original), ∆MOS, PCC F0, CER/WER, Emo, and EER. Each dot represents a single subset/task. Box plots show the median (centre line), the first and third quartiles (box bounds), and whiskers extending to 1.5×the interquartile range. The dashed horizontal line in ∆SNR and ∆MOS at zero indicates no change relative to the original audio. The heatmap shows ∆BACC. Negative values (blue) indicate performance degradation and positive values (red) indicate improve- ment. Statistical significance was assessed using one-sided exact binomial tests on discordant paired subject-level predictions. No adjustment was made for multiple comparisons. ExactPvalues are pro- vided in Supplementary Tables 1–3. Asterisks denote significance levels:∗P \<0.05,∗ ∗P \<0.01, ∗ ∗ ∗P \<0.001.

[Original paper](https://arxiv.org/abs/2611.11273v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

Mental health and cognitive tasks tolerated the methods better, which the authors tie to reliance on linguistic content and pause patterns. Significance came from one-sided exact binomial tests, and the authors made no adjustment for multiple comparisons. The authors conclude that stronger speaker anonymisation doesn't automatically yield a better outcome, because the same methods can disrupt the cues a task needs.

## Did the agent meet all 14 task requirements?

A task counted as a success only when three conditions held at the same time. The speaker EER had to reach at least 20%, the content localisation F1 at least 0.75 where required, and the BACC drop stay under three points. CASA passed all 14 tasks, while the best fixed voiceprint method passed 8 and SecureSpeech passed 4. The authors attribute this wider coverage to task-adaptive strategy rather than to one stronger anonymisation tool.

Crisis and PUMCH need both voiceprint and content anonymisation, which the five individual voiceprint methods cannot provide. On these two datasets, the comparison therefore sets CASA against SecureSpeech, the only other complete system. CASA reached higher BACC than SecureSpeech on every task and stayed within the three-point tolerance throughout.

Two external attackers then tested whether speakers stayed linkable after anonymisation. The semi-informed attacker was an ECAPA-TDNN model trained on CASA-Resyn anonymised LibriSpeech under the VoicePrivacy 2024 recipe. That attacker reached a mean EER of 0.338 across the 14 clinical tasks, and all of them met the VoicePrivacy 2024 threshold.

SALMONN-2-8B acted as the SpeechLLM attacker, judging same-speaker or different-speaker pairs from 15-second excerpts. Its mean verification error reached 0.441, computed as one minus same-versus-different accuracy. CASA never saw these attackers during planning or adaptation, so the scores serve as an external check.

## Localising spoken private information with an LLM

Voiceprint masking doesn't touch names or phone numbers that a speaker says aloud, so CASA adds an LLM step that works on transcripts. CASA's LLM-based localisation reached an F1 of 0.861 on Crisis, compared with 0.570 for the NER approach used in SecureSpeech. On PUMCH, the same comparison gave 0.914 for CASA's LLM against 0.343 for the NER approach.

The ground truth for both comparisons was a set of manually annotated privacy-sensitive spans. The NER baseline is the piece that struggled most here, since it missed much of the sensitive content on PUMCH.

Prompt design mattered, because task-adaptive prompts pushed F1 above 0.85 on both datasets compared with the default prompt. The default prompt asked the model to find names, numerical identifiers and address information in any dataset. The adaptation is dataset-specific: on Crisis the prompt excludes descriptions of psychological state from private identifiers.

On PUMCH, the prompt instead highlights name-like nouns at the start of recordings. The Crisis and PUMCH numbers for the default prompt are listed in the figure, and the figure shows the task-adaptive gains.

To compare with a closed model, the authors replaced all privacy-sensitive spans in Crisis with fictitious but realistic ones. They ran GPT-5-nano on this synthetic-privacy version, so no real private information reached the closed-source model. Qwen2.5 achieved comparable performance to GPT-5-nano on this set, when paired with appropriate prompts.

This result supports keeping the open-source Qwen2.5-32B-Instruct running locally, so transcripts stay inside the institution.

Masking was then checked for downstream cost, comparing BACC with and without content anonymisation on Crisis and PUMCH. Across the evaluated voiceprint methods, no statistically significant BACC reduction was detected on either dataset. The authors read this as evidence that spoken private content can be removed without substantially hurting clinical utility.

They didn't test a setting in which masking runs without the voiceprint step.

## Cross-task memory and planning effort

Each of the 14 datasets or task subsets received 10 requests, which makes 140 in all. Every request set an EER floor of 20%, 30% or 40%, paired with one constraint on utility or speech preservation. That second constraint could be a BACC drop under three or six points, a CER/WER limit of 15% or 20%, an emotion similarity above 0.93, or a PCC F0 above 0.70 or 0.80.

The authors ran the same 140 requests twice, once with cross-task memory and once without.

In the memory-enabled condition, the agent drew on general lessons and detailed records from the other 13 tasks. The task under evaluation was excluded from that pool, so the agent never reused its own runs. The memory-free condition gave the agent no cross-task experience, but within-task planning and feedback-guided adaptation stayed on in both conditions.

Memory has two levels: a coarse-grained experience store of lessons and failure cases, and a fine-grained store of run configurations, metrics and logs. The fine-grained level lets a run be diagnosed and reproduced exactly, while the coarse-grained level keeps reusable patterns for new tasks.

Each adaptation round re-plans from the evaluation result, the current-task history and previously executed steps pulled from memory. Adaptation stops when the objectives are met or after a maximum of 7 iterations. The authors scored Success@1 and Success@2 as the shares of requests satisfied within one and two evaluation steps. They also reported the mean number of steps needed to reach the first satisfactory configuration.

## Clinicians' judgements on anonymised recordings

The Crisis evaluation began with 60 randomly selected recordings, which the experts relabelled from anonymised speech alone. The experts didn't see the original reference labels, and agreement was the proportion of labels that matched those originals. Two clinical experts each relabelled 30 anonymised recordings and also rated 15 original–anonymised pairs.

Clinical agreement stayed high after anonymisation for both the psychological crisis and cleft-palate tasks.

For suicide risk, one expert compared 350 randomly selected Suicide-YF recordings in original–anonymised pairs. The expert didn't relabel the anonymised speech, because the reference labels came from clinical assessments separate from the audio. The expert rated acoustic and semantic information on a five-point scale. Semantic information scored 4.78, while acoustic information scored 3.56.

That gap matches Resyn keeping the words while losing acoustic and prosodic cues.

For the cleft-palate task, a speech-language pathologist rated all 244 PUMCH recordings for nasality severity. Nasality had four ordinal levels: none, mild, moderate and severe. Clinical information preservation counted exact agreement between original and anonymised ratings. Clinicians rated voiceprint anonymisation highly on all three datasets, PUMCH included.

Content anonymisation scored high on PUMCH but lower on Crisis, where hotline conversations are long and open-ended.

The acceptability score covers whether an anonymised recording suits external researchers under a data-use agreement. Suicide-YF got no content anonymisation, so its ratings focused on voiceprint anonymisation and sharing acceptability.

## Limitations of the evidence

The first bound on the evidence is the speech recognition step, which the authors call out directly. Sensitive-content localisation and transcription–resynthesis both depend on ASR transcripts to work. Accuracy could slip on low-resource languages and dialects, on children's voices, and on heavily impaired speech. Recognition errors can carry into anonymisation, hurting either privacy protection or the retention of clinical content.

The authors propose domain-specific ASR adaptation for the target population as a mitigation, but this paper doesn't test it.

The evaluation covered a narrow toolset: five voiceprint methods and one LLM-based content approach. CASA's modular design lets the authors add further anonymisation and evaluation tools later. Adding tools could widen the range of clinical tasks that CASA can serve. For high-risk uses, the authors say human review may still be needed, because residual leakage can be unacceptable.

CASA's human-in-the-loop design keeps intermediate outputs transparent and editable, so reviewers can correct decisions. Future research should examine how the feedback loop between data sharing and experience-guided adaptation develops across institutions.

The one-sided exact binomial tests ran on discordant paired predictions with no correction for multiple comparisons. The authors point readers to Supplementary Tables 1–3 for the exact p-values behind the uncorrected results. The same no-correction caveat applies to the content anonymisation comparisons on Crisis and PUMCH.

## Paper info

- **Authors**: Ziyun Cui, Haoyu Niu, Wen Wu, Hao Sun, Sihan Zhang, Chang Lei, Yun Zhang, Chunyun Sun, Yang Luo, Liangliang Cao, Ji Wu, Runsen Chen, Lian Zhou, Yongsheng Tong, Chao Zhang
- **Venue**: arXiv · Preprint
- **First published**: 2026-11-8
- **Added**: 2026-11-10
- **Updated**: 2026-11-8
- **Version**: v1
- **arXiv**: 2611.11273
- **Category**: eess.AS · cs.CL
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2611.11273v1) · [PDF ↗](https://arxiv.org/pdf/2611.11273v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Abstract

Clinical speech is increasingly used for disease screening and clinical assessment, but directly distributing speech recordings poses privacy risks because they contain both speaker-identifying voiceprints and sensitive spoken content. Existing speech anonymisation approaches are primarily developed for general speech applications or task-specific clinical speech and overlook that different clinical tasks rely on distinct speech characteristics, necessitating task-adaptive anonymisation strategies to protect patient privacy while preserving clinical utility. Here we introduce CASA, a clinically adaptive speech anonymisation agent that transforms anonymisation from a fixed processing procedure into a task-guided optimisation process, dynamically tailoring voiceprint and content anonymisation to task-specific privacy and clinical utility requirements. Through recursive self-improvement (RSI), CASA iteratively evaluates and refines anonymisation strategies against task-specific privacy and clinical utility requirements, while learning from these outcomes to guide more efficient planning in subsequent clinical tasks. CASA is validated across 14 clinical tasks encompassing five languages, diverse elicitation paradigms, and mental health, cognitive and voice disorders. CASA preserved disease-related classification performance while meeting speaker-anonymisation requirements across all clinical tasks, versus only 8/14 for the strongest fixed method. Assessments of resistance to speaker re-identification by external attackers and identification and redaction of sensitive personal information in clinical speech further demonstrated CASA's dual protection of speaker identity and sensitive spoken content. Clinical expert assessments further supported the preservation of clinically relevant information and the acceptability of anonymised speech for controlled research sharing.

## Quote from the paper

Ziyun Cui, Haoyu Niu, Wen Wu, Hao Sun, Sihan Zhang, Chang Lei, Yun Zhang, Chunyun Sun, Yang Luo, Liangliang Cao, Ji Wu, Runsen Chen, Lian Zhou, Yongsheng Tong, Chao Zhang (2026). Task-adaptive anonymisation enables privacy-preserving sharing of clinical speech data. arXiv:2611.11273v1. https://arxiv.org/abs/2611.11273v1

**BibTeX**

```
@misc{cui2026task,
  title = {{Task-adaptive anonymisation enables privacy-preserving sharing of clinical speech data}},
  author = {Ziyun Cui and Haoyu Niu and Wen Wu and Hao Sun and Sihan Zhang and Chang Lei and Yun Zhang and Chunyun Sun and Yang Luo and Liangliang Cao and Ji Wu and Runsen Chen and Lian Zhou and Yongsheng Tong and Chao Zhang},
  year = {2026},
  eprint = {2611.11273},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.11273v1}
}
```

## Other paper commentary

- [LongCap: Hour-Scale Timestamped Audio Captioning via Chunk-wise Processing](https://refivu.com/en/papers/3d29785b-d68d-4ba4-8ec6-d0cb9c1d3076-longcap-hour-scale-timestamped-audio-captioning-via-chunk.md)
- [wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations](https://refivu.com/en/papers/084e48fc-2ff1-4e6f-a703-2575f966a7bc-wav2vec-2-0-a-framework-for-self-supervised.md)
- [WaveNet: A Generative Model for Raw Audio](https://refivu.com/en/papers/df60bc5e-602b-494d-b90e-87e94d1fe90d-wavenet-a-generative-model-for-raw-audio.md)
- [Robust Speech Recognition via Large-Scale Weak Supervision](https://refivu.com/en/papers/52603b17-2b8d-42a8-916e-6c06910f2ca7-robust-speech-recognition-via-large-scale-weak-supervision.md)
- [Reproducing the Speech Labels of Qwen3-Omni's Talker: Mimi in bf16, and a Last-Frame Pitfall](https://refivu.com/en/papers/f3ee984a-ec3a-4882-9798-a3a6875352e6-reproducing-the-speech-labels-of-qwen3-omni-s.md)
- [Latency, Speech Recognition and Turn-Taking in Voice Agents for Spanish Phone Negotiation: An Externally Measured Comparison of Pipecat, LiveKit and GPT-Live](https://refivu.com/en/papers/c1b5695f-c69b-4548-a3bd-417b75affe95-latency-speech-recognition-and-turn-taking-in-voice.md)
- [Learning calibrated probabilistic forecasts using Koopman mode decomposition and the continuous ranked probability score](https://refivu.com/en/papers/7d2160bc-b50d-4daa-80ae-47f45db09a7e-learning-calibrated-probabilistic-forecasts-using-koopman.md)
- [Fast Approximate $\\ell\_p$ Chamfer Distance via Lopsided Embeddings and Structured JL](https://refivu.com/en/papers/af65be94-df4a-495e-b528-92e1039c3712-fast-approximate-ell-p-chamfer-distance-via-lopsided.md)
- [Map2SLAM: From Streaming Map Prediction to Real-Time SLAM](https://refivu.com/en/papers/bb1368e0-4956-4656-a723-87cdafb34923-map2slam-from-streaming-map-prediction-to-real-time.md)
- [Horizon-Scalable Q-Learning](https://refivu.com/en/papers/7423413a-b61a-4919-884f-a61103a7ae8f-horizon-scalable-q-learning.md)
- [PIA: Agentic Physics-Informed Runtime Anomaly Detection](https://refivu.com/en/papers/9759ea5e-4edd-4749-bb03-45759285d767-pia-agentic-physics-informed-runtime-anomaly-detection.md)
- [Advancements in Cloud-Native Systems: A Systematic Mapping Study of Reliability and Scalability across Cloud-Native, Edge-Native and AI-Enabled Systems](https://refivu.com/en/papers/dcc9a55c-1402-4ca3-b4fb-5c370442536e-advancements-in-cloud-native-systems-a-systematic-mapping.md)

## Terms in this paper

- [F1 score](https://refivu.com/en/terms/220c2aa29a7c-f1-score)
- [balanced accuracy](https://refivu.com/en/terms/bc9870524813-balanced-accuracy)
- [GPT-5-nano](https://refivu.com/en/terms/fefb77a0a4ef-gpt-5-nano)
- [Qwen2.5-32B-Instruct](https://refivu.com/en/terms/80a0a1e87eb4-qwen2-5-32b-instruct)
- [signal-to-noise ratio](https://refivu.com/en/terms/9b3a8b590fb6-signal-to-noise-ratio)
- [ECAPA-TDNN](https://refivu.com/en/terms/80f5704e1032-ecapa-tdnn)
- [equal error rate](https://refivu.com/en/terms/065ecd48f07b-equal-error-rate)
- [mean opinion score](https://refivu.com/en/terms/563b7c59b92f-mean-opinion-score)
- [recursive self-improvement](https://refivu.com/en/terms/bbf0655d934a-recursive-self-improvement)
- [UTMOS](https://refivu.com/en/terms/78271e92a7d0-utmos)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/2d28cb8a-75a8-4897-bbf8-fdb5cfb0dcac-task-adaptive-anonymisation-enables-privacy-preserving)
