Invisible Watermarking for Audio Generation Diffusion Models

Xirong Cao, Xiang Li, Divyesh Jadav, Yanzhao Wu, Zhehui Chen, Chen Zeng, Wenqi Wei

TL;DR

This paper introduces the first watermarking technique specifically designed for audio diffusion models trained on mel-spectrograms. By blending invisible triggers—such as humanly inaudible infrasound or ambient environmental noise—into the initial Gaussian noise, the authors successfully embed a hidden ownership signature into the model. This method protects the intellectual property of generative audio models without compromising the quality of normal audio generation.

What Problem Does This Paper Address?

Generative diffusion models have revolutionized audio synthesis, enabling high-quality text-to-audio generation and deepfake creation. However, this rapid advancement brings severe challenges regarding intellectual property (IP) protection, copyright enforcement, and content authenticity.

While watermarking techniques have matured for image-based diffusion models, safeguarding audio generation models remains largely unexplored. Audio models present unique hurdles: they operate on complex time-frequency representations (like mel-spectrograms) rather than standard pixels, and their stochastic (random) denoising behavior makes it difficult to inject reliable, undetectable watermarks. The authors address this gap by asking: How can we effectively watermark audio diffusion models while keeping the watermark completely imperceptible to unauthorized users?

Methods

The authors propose a novel watermarking framework tailored for two prominent diffusion variants: Denoising Diffusion Probabilistic Models (DDPM) and Denoising Diffusion Implicit Models (DDIM).

The pipeline works as follows:

  1. Mel-Spectrogram Conversion: Raw audio signals are converted into time-frequency mel-spectrograms using the Short-Time Fourier Transform (STFT).
  2. Trigger Injection: During training, the standard Gaussian noise distribution is modified. The model is trained on a dual distribution: when given clean noise, it generates normal, benign audio; when the initial noise is blended with a specific watermark trigger ($\delta$), the model shifts its distribution to generate a predefined "watermark" audio sample.
  3. Invisible Triggers: Instead of using obvious visual patches or conspicuous images (like a Hello Kitty graphic), the authors introduce two audio-native, invisible triggers:
  4. Infrasound: Sound waves generated at 10 Hz. Because this is well below the human hearing threshold (20 Hz), it is completely inaudible and remains virtually invisible within the mel-spectrogram.
  5. Environmental Sound: Ambient sounds (e.g., fire cracking) that naturally blend into everyday background noise.
Fig. 1: The overall framework encompasses the watermarking diffu- sion training and sampling process. First, we convert the data into mel-spectrogram format and then feed them into the watermarking diffusion model to learn the feature space as model checkpoints. When we input a noise image into these model checkpoints, we obtain three distinct generations based on whether different triggers are presented with inputs or not.

The authors evaluate two watermarking schemes: In-distribution (where the trigger forces the model to generate a word already in the training set, like "six") and Out-of-distribution (generating a word outside the training set, like "backward").

Datasets

The method was evaluated using two primary datasets:

  • Speech Commands Dataset: A large-scale collection of over 105,000 one-second spoken utterances across 35 short words. The authors selected a 10-class subset (spoken digits zero through nine) to train the base audio diffusion models.
  • ESC50 Environmental Sound Dataset: Used specifically to source the "fire cracking" audio clip (7057-A-12) deployed as the environmental noise trigger.

Key Insights and Ideas

  • Audio-Native Triggers Converge Faster: One of the most striking findings is that invisible, audio-native triggers (infrasound and environmental noise) achieve faster training convergence compared to traditional image-level triggers like patches or logos.
  • The Utility vs. Robustness Trade-off: Conspicuous triggers (like the Hello Kitty image) yield a high Watermarking Success Rate (WSR) but severely degrade the model's normal generation quality. Conversely, tiny pixel patches don't harm model utility but fail to trigger the watermark reliably. The proposed invisible audio triggers strike an optimal balance—maintaining high utility while ensuring robust watermark activation.
  • Denoising Discrepancies as a Defense: The authors noticed that the L2 distance trajectory during the denoising process differs significantly between vanilla models and watermarked models. This discrepancy could potentially be exploited as a defense mechanism to detect if a third-party model has been backdoored or stolen.
Fig. 2: The denoising process with different watermark triggers. Note that only the White Square is embeded into noisy mel-spectrogram as patch with size of 8 on 64x64 image. The rest of the query type are blend into the whole mel-spectrogram.

Key Results

  • High Success & Maintained Quality: In the DDPM in-distribution setup, the Infrasound trigger achieved a Watermarking Success Rate (WSR) of 85.6% while actually improving the Frechet Inception Distance (FID) to 1.011 (compared to the vanilla model's 1.079), proving that the watermark does not degrade audio quality.
  • Superior Audio Clarity: The Environmental Sound trigger achieved a WSR of 83.8% and yielded the highest Signal-to-Noise Ratio (30.292 dB), indicating exceptionally low background distortion in the generated watermark audio.
  • Instance-Specific Perfection: When tasked with generating a highly specific target word ("wow"), both infrasound and environmental triggers achieved a 100% WSR with high structural similarity (SSIM of 0.966 for infrasound).

Limitations and Future Work

Despite the strong results, the paper highlights two key limitations:

  • Out-of-Distribution Challenges: When the watermark target is a word completely outside the training dataset, the success rate drops noticeably (to roughly 63% for DDPM and 59% for DDIM), making out-of-distribution watermarking less reliable.
  • High-Resolution Scaling: Scaling the mel-spectrograms to higher resolutions (e.g., 256×256) caused the denoising process to fail under constrained hardware environments (batch size of 2). Future work will need to explore how to stabilize watermark injection for high-fidelity audio generation without requiring prohibitive computational resources.

Summary updated

BibTeX
@inproceedings{cao2023invisible,
  author = {Xirong Cao and Xiang Li and Divyesh Jadav and Yanzhao Wu and Zhehui Chen and Chen Zeng and Wenqi Wei},
  title = {{Invisible Watermarking for Audio Generation Diffusion Models}},
  booktitle = {TPS-ISA},
  year = {2023},
  doi = {10.1109/tps-isa58951.2023.00033},
}
Figure