WavShape: Information-Theoretic Speech Representation Learning for Fair and Privacy-Aware Audio Processing

Oguzhan Baser, Ahmet Ege Tanriverdi, Kaan Kale, Sandeep Chinchali, Sriram Vishwanath

Abstract

Modern speech processing models often produce embeddings that inadvertently leak sensitive speaker information, such as identity, gender, or accent. This leakage poses significant privacy risks and can introduce algorithmic bias. We present WavShape, a novel framework that leverages information theory to "scrub" sensitive attributes from speech embeddings while preserving task-relevant utility. By optimizing mutual information (MI) objectives, WavShape reduces privacy leakage by up to 81% while retaining 97% of the information needed for downstream tasks. Our results across multiple datasets demonstrate that WavShape provides a robust, model-agnostic solution for generating fair and privacy-aware speech representations.

Introduction

The proliferation of voice-activated technologies has made speech processing a cornerstone of modern AI. State-of-the-art models like Whisper or wav2vec 2.0 transform raw audio into high-dimensional embeddings. However, these representations are often "too rich," capturing not only the linguistic content required for transcription but also paralinguistic features that reveal a speaker's age, gender, or demographic background.

This information leakage leads to two critical challenges. First, it compromises user privacy, as sensitive traits can be reconstructed from supposedly anonymous data. Second, it facilitates algorithmic bias; if a model's internal representation is correlated with demographic traits, its performance may vary unfairly across different groups. Existing mitigation strategies often struggle to balance the trade-off between privacy and utility. WavShape addresses this by treating representation learning as a constrained information-theoretic optimization problem.

The WavShape Framework

WavShape introduces a projection layer designed to filter information based on Mutual Information (MI) principles. The goal is to transform "private" embeddings into "public" embeddings that are optimized for specific utility while being agnostic to sensitive attributes.

Information-Theoretic Objectives

The framework optimizes three primary MI terms:

  1. Signal Preservation: Maximizing MI between the public embedding and the original audio signal to ensure the representation remains grounded in the source data.
  2. Utility Maximization: Maximizing MI with the target task label (e.g., speech-to-text content) to maintain high performance.
  3. Privacy/Fairness Constraint: Minimizing MI with sensitive attributes (e.g., speaker identity or accent) to prevent leakage.

Architecture

As shown in the architecture diagram, WavShape acts as a wrapper around a pre-trained feature extractor.

The WavShape architecture consists of a frozen speech encoder (e.g., Whisper) followed by a trainable projection layer and an Information Theoretic Evaluator used during training.

The system consists of:

  • Feature Extractor: A frozen, pre-trained model (e.g., OpenAI’s Whisper) that provides the initial embeddings.
  • WavShape Projection Layer: A trainable neural network that maps the high-dimensional private embeddings to a lower-dimensional public space.
  • Information Theoretic (IT) Evaluator: A neural discriminator that estimates MI using the Donsker-Varadhan (DV) formulation. During training, it acts as a "critic," guiding the projection layer to discard sensitive information. Crucially, the IT Evaluator is only required during training; at inference time, the system remains lightweight and efficient.

Experimental Evaluation

The researchers evaluated WavShape using two benchmark datasets:

  • Mozilla Common Voice (CV): Used to test the suppression of "gender" while preserving "age" as the target task.
  • VCTK Corpus: Used to suppress "accent" while preserving "gender" as the target task.

Key Results

WavShape demonstrates a remarkable ability to disentangle utility from sensitive information. In the Common Voice experiments, Mutual Information regarding the sensitive gender attribute was reduced from 0.40 to 0.07, an 81% decrease.

Mutual Information (MI) trends during training on Common Voice and VCTK datasets, showing the simultaneous increase in utility MI and decrease in privacy MI.

Despite this significant reduction in sensitive data, the model retained 97% of task-relevant information. Furthermore, the ability of an external classifier to predict sensitive attributes (measured by AUROC) dropped by approximately 25.77% for Common Voice and 38.36% for VCTK. The framework also achieved significant data compression, reducing embedding dimensions from 512 to 64 without substantial performance loss.

Discussion and Future Work

The success of WavShape highlights that task-relevant information and demographic traits are often sufficiently disentangled in high-dimensional space to allow for surgical removal of the latter. This "information scalpel" approach is more precise than traditional noise-based differential privacy methods.

Current limitations include the manual tuning of hyperparameters for the multi-objective loss function. Future research will explore automated weight optimization using rate-distortion theory. Additionally, the authors plan to extend WavShape to more complex sensitive features, such as emotional state or health indicators, further broadening the scope of privacy-preserving audio processing.

Conclusion

WavShape provides a mathematically rigorous and model-agnostic framework for learning fair and privacy-aware speech representations. By leveraging information theory to explicitly manage the flow of data, it enables the development of speech technologies that are both highly capable and ethically sound.

Summary updated

BibTeX
@inproceedings{baser2025wavshape,
  author = {Oguzhan Baser and Ahmet Ege Tanriverdi and Kaan Kale and Sandeep Chinchali and Sriram Vishwanath},
  title = {{WavShape: Information-Theoretic Speech Representation Learning for Fair and Privacy-Aware Audio Processing}},
  booktitle = {Interspeech},
  year = {2025},
  doi = {10.21437/interspeech.2025-2528},
}
Figure