WavMark
WavMark embeds a 32-bit watermark in one second of 16 kHz audio with an invertible neural network.
Audio and speech · 776 operations Checked
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
- Task
- Audio and speech
- Parameters
- 2.5M
- Operations
- 776
- Framework
- PyTorch
- Recurrent
- Yes
- Published
- 2023
- Cited by
- 177 (as of 26 November 2026)
- Authors
- Guangyu Chen, Yu Wu, Shujie Liu and others
- Source
- GitHub: wavmark/wavmark
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m21453
- Graph hash
- 7bb0c19595a10d0e82f3cc1d50a7833664016278d5eb3376ebc0f154a5feac97
- Skeleton hash
- 84c43999ee0c6c2b104b9154fd09b96972610f763801038c0f62bf31180f4efc
- Architecture hash
- 1c6c08405e2c4df4ea40622dee80ee03f73d9ff827898399f2b2ac775fdfeb72
- Diagram SHA-256
- 7dfd365325cf87fc7ec1e3590927a76e881c7d40998be7bce430af2347fbf2f1
- 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
WavMark hides a short binary message inside audio: it encodes up to 32 bits of watermark within a 1-second snippet. The stated motivation is zero-shot voice synthesis, which the authors say introduces risks including voice fraud and speaker impersonation.
The model is an invertible neural network, in which encoding and decoding are reciprocal processes that share the same parameters. It takes single-channel 16 kHz audio in 1-second units and converts the waveform to a spectrogram with the short-time Fourier transform. The message is expanded by a linear layer to the size of the waveform and passed through the same transform. Eight invertible blocks then combine the audio and message branches; the functions inside each block are five-layer 2D CNNs with dense connections. To decode, only the watermarked audio is available, so a variable sampled from a normal distribution stands in for the message branch.
Training adds a shift module, which moves the decoding window by at most 10% of the unit length, and an attack simulator covering ten common attack types. To locate a watermark, the model slides along the audio and repeatedly attempts decoding. The paper reports an average bit error rate of 0.48% across ten common attacks when 10 to 20-second audio is the host. The released package's basic usage example adds a 16-bit watermark to an input file.
Key idea. WavMark applies invertible neural networks to audio watermarking, so one network with shared parameters both encodes 32 bits into 1 second of audio and decodes them.
- WavMark
- audio watermarking
- audio watermark
- watermarking for audio generation
- invertible neural network
- synthetic speech watermark
- voice cloning protection
- 32-bit watermark
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{chen2024wavmarkwatermarkingaudiogeneration,
title={WavMark: Watermarking for Audio Generation},
author={Guangyu Chen and Yu Wu and Shujie Liu and Tao Liu and Xiaoyong Du and Furu Wei},
year={2024},
eprint={2308.12770},
archivePrefix={arXiv},
primaryClass={cs.SD},
url={https://arxiv.org/abs/2308.12770},
}