Privacy-Preserving End-to-End Spoken Language Understanding

Yinggui Wang, Wei Huang, Le Yang

Abstract

Spoken language understanding (SLU) is a cornerstone of human-computer interaction in IoT devices. However, human speech contains sensitive user information, including gender, identity, and verbatim content, which can be exploited by malicious third parties. This paper proposes a novel SLU multi-task privacy-preserving model designed to thwart both Automatic Speech Recognition (ASR) and Identity Recognition (IR) attacks. By utilizing hidden layer separation and joint adversarial training, the model ensures that SLU information is isolated within specific portions of the hidden layer while sensitive attributes are scrubbed. Experimental results demonstrate that the proposed method reduces attacker accuracy to near-random levels while maintaining high SLU performance.

Introduction: The Privacy Leakage in Voice Embeddings

As voice-controlled IoT devices and smart assistants become ubiquitous, the risk of privacy leakage grows. Modern SLU systems typically employ an "encoder-server" architecture where the device encodes audio into a compact embedding and transmits it to a server for intent classification.

The threat model: a malicious attacker can intercept speech representations to perform unauthorized recognition tasks like identity or gender recognition.

The fundamental issue is that these embeddings are often "leaky." Even when only intent is required (e.g., "turn on the lights"), the representation often contains residual information sufficient for a malicious actor to reconstruct the user's exact words (ASR) or identify the speaker (IR). Traditional privacy solutions like differential privacy or heavy cryptography often impose a significant "utility tax," degrading system accuracy or increasing latency. This research seeks a "sweet spot" where intent is preserved while sensitive metadata is effectively eliminated.

Methodology: Architectural Separation and Adversarial Scrubbing

The authors propose a hybrid approach that combines architectural constraints with specialized training objectives to achieve information disentanglement.

1. Hidden Layer Separation

Rather than a single entangled representation, the model partitions the encoder's output into four distinct zones: SLU-specific, ASR-specific, IR-specific, and a shared buffer. The shared portion captures common acoustic correlations to prevent performance degradation, while the task-specific bins isolate sensitive features.

The proposed multi-task architecture featuring an attention-based encoder and specialized decoders for SLU, ASR, and IR tasks.

2. Cosine Similarity Constraint

To prevent information "leakage" between these partitions, a penalty is added to the loss function based on the cosine similarity between different parts. This mathematical constraint forces the model to strictly isolate specific types of information into their designated bins.

3. Joint Adversarial Training

To further refine the SLU-specific partition, the model undergoes joint adversarial training. The encoder is trained to minimize SLU loss while simultaneously maximizing the loss of internal ASR and IR decoders. This "adversarial pressure" forces the encoder to find representations that are highly informative for intent but useless for recognizing words or identities.

Experimental Setup and Datasets

The framework was evaluated using five diverse speech datasets to simulate realistic multi-task scenarios:

  • SLURP & Fluent Speech Commands (FSC): Primary datasets for intent (SLU) tasks.
  • LibriSpeech: Used for ASR pre-training and performance evaluation.
  • VoxCeleb1: Used for Identity Recognition (IR) training.
  • TED-LIUM: Used to test robustness against "unseen" data and new attackers.

Key Results and Insights

The proposed HA-PPSLU (Hidden layer separation with Adversarial training) model demonstrated a superior balance between utility and privacy:

  • Utility Preservation: On the FSC dataset, intent accuracy reached 97.2%, nearly matching the non-private baseline.
  • Content Privacy: The Word Error Rate (WER) for an ASR attacker increased from a vulnerable 12.0% to 92.1%, rendering the reconstructed speech unintelligible.
  • Identity Privacy: IR accuracy dropped to 52.3%. In a 1:1 verification context, this is effectively a random guess, indicating successful masking of the speaker's "voiceprint."
  • The "Shared" Buffer: A critical finding was that complete task separation hurts accuracy. The "shared" portion allows the model to retain essential acoustic features that benefit all tasks while the "private" bins handle the filtering.

Conclusion

This work demonstrates that architectural isolation combined with adversarial training can effectively disentangle intent from sensitive speech attributes. By creating dedicated "bins" for information and applying training pressure to scrub sensitive data, the HA-PPSLU framework provides a robust defense against sophisticated attackers without sacrificing the utility of voice-controlled systems.

Summary updated

Abstract

Spoken language understanding (SLU), one of the key enabling technologies for human-computer interaction in IoT devices, provides an easy-to-use user interface. Human speech can contain a lot of user-sensitive information, such as gender, identity, and sensitive content. New types of security and privacy breaches have thus emerged. Users do not want to expose their personal sensitive information to malicious attacks by untrusted third parties. Thus, the SLU system needs to ensure that a potential malicious attacker cannot deduce the sensitive attributes of the users, while it should avoid greatly compromising the SLU accuracy. To address the above challenge, this paper proposes a novel SLU multi-task privacy-preserving model to prevent both the speech recognition (ASR) and identity recognition (IR) attacks. The model uses the hidden layer separation technique so that SLU information is distributed only in a specific portion of the hidden layer, and the other two types of information are removed to obtain a privacy-secure hidden layer. In order to achieve good balance between efficiency and privacy, we introduce a new mechanism of model pre-training, namely joint adversarial training, to further enhance the user privacy. Experiments over two SLU datasets show that the proposed method can reduce the accuracy of both the ASR and IR attacks close to that of a random guess, while leaving the SLU performance largely unaffected.
BibTeX
@inproceedings{wang2023privacy,
  author = {Yinggui Wang and Wei Huang and Le Yang},
  title = {{Privacy-Preserving End-to-End Spoken Language Understanding}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  url = {https://openreview.net/forum?id=NGvYddfg4C},
}
Figure