Introduction
The rapid evolution of zero-shot Text-to-Speech (TTS) and voice cloning technologies has introduced significant security challenges. With only a few seconds of reference audio, malicious actors can generate highly convincing synthetic speech for fraud or misinformation. While passive detection methods attempt to identify artifacts in AI-generated audio, proactive watermarking—embedding a hidden, traceable signal during the generation process—offers a more robust solution for provenance tracking.
However, existing speech watermarking techniques often struggle with a "trilemma" of competing requirements:
- Robustness: The ability of the watermark to survive common audio processing like MP3 compression, resampling, or environmental noise.
- Imperceptibility: Ensuring the embedded signal does not degrade audio quality or introduce audible artifacts.
- Efficiency: The capability to detect and localize watermarks in real-time without computationally expensive search algorithms.
To address these challenges, this paper introduces DiscreteWM, a novel framework that embeds watermarks into the discrete latent space of audio rather than traditional continuous waveforms.
The DiscreteWM Framework
Traditional watermarking methods typically operate in continuous space, where small perturbations intended to hide data can be easily lost or distorted by standard audio processing. DiscreteWM shifts this paradigm by utilizing a discrete intermediate representation.
By mapping continuous audio into a sequence of discrete tokens, the system creates a more resilient environment for data hiding. In this space, information is encoded into the choice of tokens themselves. Because a token ID is a discrete value, it is inherently more resistant to the "noise" of continuous signal processing; a token is either correctly identified or it is not, providing a clearer boundary for data recovery.
System Architecture
The DiscreteWM architecture consists of two primary stages: discrete representation and intelligent manipulation.
1. Discrete Representation (VQ-VAE)
The system employs a Vector-Quantized Variational Autoencoder (VQ-VAE) to encode speech into a sequence of discrete token IDs. This process effectively translates complex acoustic features into a finite "vocabulary" of tokens.
2. The Manipulator and Masked Decoder
The core innovation is the Manipulator model. Rather than simply flipping bits, the Manipulator learns the probability distribution of tokens within their acoustic context. When embedding a message, it selects alternative token IDs that satisfy specific mathematical relationships (such as modular arithmetic) while remaining acoustically similar to the original token. This ensures that the watermark is hidden in regions where it is least likely to be perceived by human listeners.
3. Detection and Localization
DiscreteWM utilizes a frame-wise detection strategy. Unlike previous neural watermarking schemes that require fixed-length strings and brute-force searching, DiscreteWM can locate watermarks instantly on a per-frame basis. To minimize false positives, a statistical Z-test aggregates these frame-level detections to provide a mathematically grounded decision on whether a clip contains a watermark.
Experimental Evaluation
The model was trained on the LibriTTS corpus and evaluated against state-of-the-art TTS models, including NaturalSpeech 2 and Mega-TTS 2. Robustness was tested against a wide array of distortions, including Gaussian noise, amplitude scaling, MP3 compression, and low-pass filtering.
Key Results:
- Superior Quality: DiscreteWM achieved a PESQ (Perceptual Evaluation of Speech Quality) score of 4.45, indicating that the watermarked audio is virtually indistinguishable from the original (where 4.5 is the maximum score).
- High Robustness: The system maintained a significantly lower Bit Error Rate (BER) under heavy compression and noise compared to existing SOTA models like WavMark.
- Efficiency Gains: The frame-wise localization approach resulted in a 22.1x speedup over traditional Brute Force Detection (BFD) methods.
- Reliability: In AI-detection tasks, the framework achieved an exceptionally low False Positive Rate of $3 \times 10^{-5}$.
Conclusion and Future Work
DiscreteWM demonstrates that embedding watermarks in discrete latent spaces significantly improves the robustness and efficiency of speech provenance tracking. While the current method is "proactive"—requiring integration at the time of audio generation—it sets a new standard for protecting synthetic speech. Future research may explore even more resilient discrete representations, such as semantic tokens used in large language models, to ensure watermarks can survive aggressive speech-to-speech translation and re-encoding attacks.
Summary updated