Lightweight Protection for Privacy in Offloaded Speech Understanding

Dongqi Cai, Shangguang Wang, Zeling Zhang, Felix Xiaozhu Lin, Mengwei XuarXiv 2024

TL;DR

This paper introduces XXX, a novel system for privacy-preserving speech understanding on resource-constrained devices. By selectively masking short-term speech details that are crucial for privacy but less so for overall intent recognition, XXX achieves significant efficiency gains without sacrificing accuracy, making cloud-based speech services more practical for "wimpy" devices.

What Problem Does This Paper Address?

Mobile devices increasingly rely on speech for user interaction, but sending raw speech data to the cloud for processing raises significant privacy concerns. Existing solutions, like disentanglement-based encoders, aim to filter sensitive information but are computationally expensive and memory-intensive, making them unsuitable for low-power embedded devices. This creates a gap where users want the convenience of cloud-based speech services but cannot afford the privacy risks or the resource demands of current protection methods. The paper tackles the challenge of enabling privacy-preserving speech understanding on devices with very limited resources, like microcontrollers with only 1MB of RAM.

Methods

The core innovation of XXX lies in its asymmetric dependency-based masking approach. The authors observe that while Automatic Speech Recognition (ASR) heavily relies on short-term, "peaky" phoneme dependencies, Speech Understanding (SLU) primarily depends on long-term utterance-level context. XXX exploits this by selectively masking out segments of the audio that are critical for privacy (short-term details) but less important for understanding the overall intent (long-term dependencies).

To dynamically determine what and how much to mask, XXX employs an innovative differential mask generator. This component, inspired by interpretable learning, is trained to optimize the balance between privacy (high ASR word error rate) and utility (high SLU accuracy). It learns to generate a binary masking vector that effectively obscures sensitive information while preserving the necessary context for SLU. The system operates in two phases: an offline phase for training the mask generator and adapting the cloud SLU model, and an online phase for efficient, privacy-preserving inference.

Datasets

The primary dataset used for evaluation is SLURP [13], an English speech dataset with 102 hours of complex, daily-life utterances, used for measuring SLU performance (ACC-SLU). For multi-task protection scenarios, where background speech is also uploaded, the LibriSpeech [33] corpus was used to evaluate ASR performance (WER).

Key Insights and Ideas

  • Asymmetric Dependency is Key: The fundamental insight is that ASR and SLU have different dependency requirements. Exploiting this difference allows for targeted masking that preserves SLU accuracy while significantly enhancing privacy.
  • Masking for Privacy, Not Just Obfuscation: Instead of complex transformations, simple masking of short-term speech features is surprisingly effective at preventing ASR-based reconstruction of private information.
  • Interpretable Learning for Dynamic Masking: Using interpretable learning techniques to train a mask generator allows for an adaptive and optimized approach to privacy protection, moving beyond static or heuristic masking strategies.
  • Feasibility on Microcontrollers: The paper demonstrates that this approach is not just theoretical but practically implementable on extremely resource-constrained devices like the STM32H7 microcontroller.

Key Results

XXX achieves a strong balance between privacy and utility:

  • Accuracy: It maintains comparable SLU accuracy to existing methods, achieving 81.2% on SLURP, with only a ~7% drop compared to unprotected SLU systems.
  • Privacy: Under black-box and white-box ASR attacks, XXX achieves high word error rates (up to 81.6%) and entity error rates (up to 90.7%), indicating effective privacy protection.
  • Efficiency: This is where XXX truly shines. It offers a significant improvement in efficiency, achieving up to 53.3x faster processing and a 134.1x smaller memory footprint compared to prior state-of-the-art privacy-preserving SLU systems. On the STM32H7 microcontroller, XXX uses only 394.9KB of memory and takes 912.0ms to encode a 4-second speech signal.

Limitations and Future Work

  • Mask Generator Complexity: While XXX-S is highly efficient, more complex mask generators (XXX-M, XXX-L) offer better utility at the cost of increased resource usage, suggesting a trade-off that might still be challenging for the most constrained devices.
  • Attack Model Specificity: The paper focuses on ASR-based attacks. While effective against these, other potential attack vectors might require further investigation.
  • Future Work: The authors suggest exploring more complex mask generator structures for a better privacy-utility trade-off. The current work lays the groundwork for more practical and efficient privacy-preserving speech processing on edge devices.

Summary updated

BibTeX
@misc{cai2024lightweight,
  author = {Dongqi Cai and Shangguang Wang and Zeling Zhang and Felix Xiaozhu Lin and Mengwei Xu},
  title = {{Lightweight Protection for Privacy in Offloaded Speech Understanding}},
  year = {2024},
  eprint = {2401.11983},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.11983},
}

Loading related content...

Figure