All models

audiocraft.AudioSeal

Speech watermarking where a generator adds the mark and a detector localizes it per sample in one pass.

Audio and speech · 195 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (18 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
23.3M
Operations
195
Framework
PyTorch
Recurrent
No
Published
ICML 2024
Cited by
15 (as of 18 October 2026)
Authors
Robin San Roman, Pierre Fernandez, Alexandre Défossez and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m3554
Graph hash
0a15aa9fe0e7fa92b8bbef832c889692dfcef8f7782b585dbfa5e4a960aa4036
Skeleton hash
2bfa37e6c2e21547537dbfbdb9e566f24088656cb87c3b64141a626360e010f6
Architecture hash
2ddce359f1327b6b853a1e2ec02a8d4e3f960e13da49f13b77eaedcc30c6ba74
Diagram SHA-256
336c909250f4d744056ce56e75deab9597bc028222a0fc7e4635811a761bb65a
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

AudioSeal is a watermarking system for speech, presented as the first audio watermarking technique designed specifically for localized detection of AI-generated speech. It jointly trains two networks: a generator that predicts an additive watermark waveform from the input audio, and a detector that outputs the probability that a watermark is present at each sample.

Both networks are based on EnCodec. The generator's encoder opens with a 32-channel kernel-7 convolution and four residual down-sampling blocks, ends in a two-layer LSTM, and the decoder mirrors it with transposed convolutions. The detector reuses that encoder with its own weights, then a transposed convolution back to audio resolution and a linear layer with softmax giving a probability per sample.

A novel perceptual loss inspired by auditory masking keeps the watermark imperceptible. During training the watermark is masked out of random sections of the signal so the detector learns to localize synthesized speech embedded in longer clips. An optional 16-bit message can be embedded through a message processing layer in the middle of the generator, letting a clip be attributed to a model version without affecting detection.

The models were trained on a 4.5K-hour subset of VoxPopuli. Training used 16 kHz audio in one-second samples. Because the detector runs in a single pass, detection is up to two orders of magnitude faster than earlier methods. The member traced here wraps the released 16-bit generator and detector through audiocraft, which lists AudioSeal among its models as a state-of-the-art audio watermarking. The code and model weights moved to a full MIT license in April 2024, which the README notes allows commercial use.

Key idea. A generator/detector pair trained jointly with a localization loss, giving sample-level watermark detection of AI-generated speech in one pass.

  • audioseal
  • audio watermarking
  • speech watermarking
  • voice cloning detection
  • localized watermark
  • ai-generated speech detection
  • audiocraft
  • facebook audioseal

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{roman2024proactivedetectionvoicecloning,
      title={Proactive Detection of Voice Cloning with Localized Watermarking}, 
      author={Robin San Roman and Pierre Fernandez and Alexandre Défossez and Teddy Furon and Tuan Tran and Hady Elsahar},
      year={2024},
      eprint={2401.17264},
      archivePrefix={arXiv},
      primaryClass={cs.SD},
      url={https://arxiv.org/abs/2401.17264}, 
}