Paralinguistic Privacy Protection at the Edge

Ranya Aloufi, Hamed Haddadi, David Boyle

Abstract: Voice user interfaces and digital assistants are rapidly entering our lives and becoming singular touch points spanning our devices. These always-on services capture and transmit our audio data to powerful cloud services for further processing and subsequent actions. Our voices and raw audio signals collected through these devices contain a host of sensitive paralinguistic information that is transmitted to service providers regardless of deliberate or false triggers. As our emotional patterns and sensitive attributes like our identity, gender, well-being, are easily inferred using deep acoustic models, we encounter a new generation of privacy risks by using these services. One approach to mitigate the risk of paralinguistic-based privacy breaches is to exploit a combination of cloud-based processing with privacy-preserving, on-device paralinguistic information learning and filtering before transmitting voice data. In this paper we introduce EDGY, a configurable, lightweight, disentangled representation learning framework that transforms and filters high-dimensional voice data to identify and contain sensitive attributes at the edge prior to offloading to the cloud. We evaluate EDGY's on-device performance and explore optimization techniques, including model quantization and knowledge distillation, to enable private, accurate and efficient representation learning on resource-constrained devices. Our results show that EDGY runs in tens of milliseconds with 0.2% relative improvement in "zero-shot" ABX score or minimal performance penalties of approximately 5.95% word error rate (WER) in learning linguistic representations from raw voice signals, using a CPU and a single-core ARM processor without specialized hardware.

Introduction: The Privacy Risks of Voice Assistants

Voice User Interfaces (VUIs) like Alexa, Siri, and Google Assistant have become ubiquitous, acting as "always-on" portals to cloud services. However, this convenience comes with a significant privacy cost. When these devices capture audio—often due to false triggers—they typically stream raw signals to cloud servers for processing.

Raw audio is a privacy goldmine. Beyond the words spoken (linguistics), a voice contains "paralinguistic" information that can reveal identity, age, gender, health status, and emotional state. Currently, users must trust service providers not to exploit this secondary data. The challenge lies in filtering this sensitive information at the "edge" (on the device itself) without sacrificing the accuracy of the primary speech recognition task or requiring expensive, specialized hardware.

Figure 1: Overview of the voice assistant ecosystem (A) and the proposed latent space representation flow (B) for privacy-preserving speech processing.

The EDGY Framework

The core of the EDGY framework is disentangled representation learning. The framework treats the voice signal as a composite of two layers:

  1. Linguistics Layer: Meaningful units like phonemes required for speech-to-text.
  2. Paralinguistic Layer: Non-verbal phenomena like speaker traits and emotional states.

To separate these, EDGY uses an encoder to transform audio into discrete units. By employing Vector Quantization (VQ), the framework creates an information bottleneck. Forcing the model to map audio to a fixed set of discrete "codes" effectively filters out the subtle, continuous variations in a voice that signal emotion or identity.

Figure 3: The modular architecture of EDGY, including encoding, quantization, and classification modules, alongside the three-stage deployment pipeline.

Optimization for the Edge

To enable performance on resource-constrained hardware like a Raspberry Pi, EDGY employs two key optimization techniques:

  • Quantization (INT8): Reducing model weights from 32-bit floating-point to 8-bit integers reduced model size by 4x and sped up inference by 2.4x.
  • Knowledge Distillation: The authors distilled a large paralinguistic model (TRILL) into a compact, MobileNet-based "student" model that is 2.9x faster while maintaining high performance.

Key Results and Evaluation

The authors utilized benchmarks including LibriSpeech, VoxCeleb, and CREMA-D to validate the framework's efficiency and privacy gains:

  • Efficiency: EDGY runs in tens of milliseconds on a single-core ARM processor without needing a GPU.
  • Utility Preservation: When sending sanitized audio to cloud ASR services, there was only a minimal performance penalty—roughly a 5.95% increase in Word Error Rate (WER) compared to raw audio.
  • Privacy Gains: The framework successfully "blinded" inference attempts; classification accuracy for sensitive attributes (gender, emotion) dropped by 34% to 58%.
  • Robustness: Linguistic representations showed a 0.2% relative improvement in "zero-shot" ABX scores, proving the filtered data remains highly robust for speech tasks.

Conclusion and Future Work

EDGY demonstrates that privacy-aware representation learning can be performed efficiently at the edge. By doing the "heavy lifting" of sanitization before transmission, users can utilize cloud power without exposing sensitive paralinguistic traits. Future work will explore hardening the framework against active adversarial attacks and further optimizing the architecture for "micro-edge" devices with even smaller memory footprints.

Summary updated

BibTeX
@article{aloufi2023paralinguistic,
  author = {Ranya Aloufi and Hamed Haddadi and David Boyle},
  title = {{Paralinguistic Privacy Protection at the Edge}},
  journal = {ACM Trans. Priv. Secur.},
  year = {2023},
  doi = {10.1145/3570161},
}
Figure