How it works · 37 of 37 Advanced
How do AI watermarks mark AI-generated content?
A hidden mark that says “AI made this”
Watermarks: Marks hidden in generated text, images or audio, plus visible labels, so AI content can be identified; increasingly required by law.
Loading the animation…
Say it like this A watermark is a hidden signal an AI maker puts into what it generates, so a detector with the key can tell it's AI-made; a missing mark doesn't prove something is real.
Under the hood — for builders
- How a text mark works
- Before each word, a secret key splits the vocabulary into a “green” and a “red” list, and the model is nudged towards green words. A detector with the key counts green words: far more than half means the text was marked. It needs no access to the model (green-list watermark).
- Images and sound
- For pictures, audio and video the mark is spread as tiny changes across the whole file, so a crop or a resize usually leaves enough of it for the detector.
- Marks can be scrubbed
- Researchers showed that an attacker who can reword or lightly edit the output, and check it still reads well, can wash out a watermark: they removed three published text watermarks with little loss of quality.
- No mark ≠ real
- A missing mark proves nothing: open models and many tools add none, and a mark can be stripped. Treat a found mark as strong evidence of AI, and its absence as no evidence either way.
- What the law asks
- The EU AI Act makes AI makers mark generated audio, images, video and text “in a machine-readable format and detectable as artificially generated”, and makes anyone publishing a deep fake disclose it.
- Labels and credentials
- Visible labels (“AI-generated”) tell people; signed metadata (content credentials) records who made a file and with what tool. Both help, but metadata disappears with a screenshot, which is why hidden marks exist.
- Sources
- Kirchenbauer et al., A Watermark for Large Language Models, arXiv 2301.10226 · Zhang et al., Watermarks in the Sand, arXiv 2311.04378 · Regulation (EU) 2024/1689 (AI Act), Articles 50 and 113.
What happens in the watermarks animation, step by step?
- Two photos of a flooded street reach a news desk. One is from a reporter's phone, one was made by an AI. They look identical.
- Your turn: drag the key card onto a photo (or tap a photo). Its holes sit exactly where the AI maker hides its mark.
- On the AI-made photo the specks line up and spell AI: a watermark hidden in its pixels. On the real one the holes stay nearly empty.
- AI text can be marked too: the model quietly prefers words from a secret list. Nine “green” words in ten is no accident; human writing lands near half.
- The law now asks for this: under the EU AI Act, AI-made images, audio, video and text must carry a machine-readable mark from 2 August 2026, and deep fakes a visible label.
What everyday example explains watermarks?
The security thread in a banknote.
Why should a team care about watermarks?
Compliance for anyone publishing AI content.