AI on the Internet

Watermarking AI Output

How invisible marks are hidden in AI text, images and audio, how detectors read them, and why a missing watermark proves very little.

Key takeaways

  • A watermark is added by the generating system on purpose, which makes it different from detectors that guess from style or artifacts.
  • Image and audio marks hide in patterns designed to survive compression and resizing, while text marks bias word choice in a measurable way.
  • Detection is statistical, so results come with error rates, and short or heavily edited content gives weak signals.
  • Only cooperating generators add marks, and determined people can often weaken or remove them.
  • Treat a positive result as useful evidence and a negative result as no answer.

An AI watermark is a signal deliberately built into generated content so that a matching detector can later recognize it. In an image or audio clip it's usually a faint pattern spread through the pixels or sound. In text it can be a statistical tilt in which words get chosen. You normally can't see or hear it.

A watermark can tell a detector that content probably came from a system that applies that particular mark. It can't identify AI content from other systems, and not finding one doesn't mean a person made the thing. Once you understand why, most claims about "AI detection" become much easier to judge.

Watermarks, metadata and guesswork are three different things

People use "AI detection" to mean several unrelated techniques, and mixing them up causes trouble.

Metadata labels are notes attached to a file, such as a field saying a model generated it. They're easy to read and easy to strip. Signed versions, described in content credentials, are harder to forge but can still be removed.

Watermarks live inside the content itself. Resaving the file doesn't automatically remove them.

After-the-fact classifiers have no planted signal to find. They're models trained to guess whether something looks machine-made. They can be wrong in both directions, and they tend to degrade as generators change.

Three ways to flag generated content
Metadata label Stored beside the content Easy to read Lost when files are stripped or screenshotted Watermark Woven into pixels, sound or word choice Needs the matching detector Can survive some editing Classifier guess No planted signal Judges style and artifacts Error rates shift as models change Metadata label Stored beside the content Easy to read Lost when files are stripped or screenshotted Watermark Woven into pixels, sound or word choice Needs the matching detector Can survive some editing Classifier guess No planted signal Judges style and artifacts Error rates shift as models change

How image watermarks hide

A digital image is a grid of numbers. Tiny changes to those numbers are invisible to people, especially in busy textured areas. A watermarking system uses that slack to encode a pattern that a detector knows how to look for.

The oldest trick changes the least significant bit of pixel values. It's easy to explain and very fragile: saving as a compressed format destroys it. Sturdier methods place the signal in the frequency domain, which describes an image as combinations of coarse and fine patterns. JPEG compression throws away mostly fine detail, so a mark placed in middle frequencies has a better chance of surviving.

Modern systems often train a pair of neural networks together: one to embed a mark and one to recover it. During training, the images are deliberately cropped, blurred, recolored and recompressed, so the pair learns a mark that tolerates those changes. Some generators build the mark in during generation instead of adding it afterward.

Every design juggles three goals that pull against each other.

  • Invisibility: the mark shouldn't visibly degrade the result.
  • Robustness: it should survive normal handling.
  • Capacity: it may need to carry information, such as which system made the content.

Strengthening one usually costs another.

Marking audio and video

Audio watermarks use the limits of human hearing. A loud sound masks quieter sounds close to it in frequency and time, so a low-level pattern tucked under it goes unnoticed. The mark can be repeated across a clip, letting a detector flag which segments carry it. That's useful when someone splices generated speech into a real recording.

Video can be marked frame by frame, across time, or both. The challenge is that video is aggressively compressed and often re-edited, trimmed and filmed off a screen. A mark has to cope with all of that without causing flicker.

For spoken fraud in particular, don't wait for detection technology. A call from a cloned voice arrives over a phone line with no detector attached, which is why a family code word remains a practical defense.

How text can carry a watermark at all

Text seems to have no room for hidden data, but a language model makes thousands of small choices. At each step it assigns probabilities to many possible next tokens, the word pieces described in tokens and context windows. Often several would read equally well.

A common family of schemes works like this. A secret key and the preceding few tokens are used to sort the possible next tokens into favored and unfavored groups. The model nudges its choices slightly toward the favored group. A reader notices nothing, but a detector with the key can count how often the favored group was picked. Unmarked text should hit it about as often as chance predicts. Marked text hits it noticeably more.

How a statistical text watermark works
1 Model scores tokens Several next words are plausible at each step. 2 Key picks a favored set A secret key and recent context split the candidates. 3 Gentle nudge Sampling leans toward favored tokens without forcing them. 4 Detector counts With the key, it counts favored tokens in a passage. 5 Score against chance A large excess suggests the mark is present. Model scores tokens Several next words are plausible at each step. 1 Key picks a favored set A secret key and recent context split the candidates. 2 Gentle nudge Sampling leans toward favored tokens without forcing them. 3 Detector counts With the key, it counts favored tokens in a passage. 4 Score against chance A large excess suggests the mark is present. 5

Google's SynthID is one named example of a watermarking approach applied to text and media. Different vendors use different schemes, and a detector for one generally can't read another.

Why short, predictable text is hard

The signal accumulates with each free choice. A long essay offers hundreds of them. A one-line reply offers few, so the statistics can't separate marked from unmarked.

Predictable content is also difficult. If you ask for a well-known quotation, a legal formula or a line of code with only one sensible form, the model has little freedom. Nudging it anyway would introduce errors, so the mark stays weak in those places.

Editing erodes the signal as well. Changing a few words does little. Heavy rewriting, translating into another language and back, or passing the text through a different model can wash it out.

Error rates and what a result means

A detector produces a score, and someone chooses a threshold. A strict threshold means fewer false alarms and more missed content. A loose one does the opposite.

Even a small false positive rate matters at scale. Suppose, as a made-up example, a detector wrongly flags 1 in 1,000 human-written documents, and a school runs it on 20,000 essays that were all written by students. You'd expect around 20 innocent essays to be flagged. No score of that kind should be the only basis for punishing a person.

Statistical watermark detectors can estimate false positive rates more cleanly than style classifiers, because chance behavior is well defined. They're still not proof of who did what. A marked paragraph might be quoted inside an otherwise original piece.

Who adds marks, and who doesn't

Watermarking is cooperative. A company running a hosted generator can mark everything that leaves it. Someone running a model on their own machine, particularly an open-weight model, may be able to turn marking off in the code. People with the motivation to deceive have the strongest reason to pick tools without marks.

Detectors also raise an access question. If anyone can query a detector without limit, an attacker can keep editing until the result turns negative. If only the vendor can query it, the public has to take the vendor's word. Systems land at various points between those.

Laws are starting to push on this. The European Union's AI Act includes transparency duties that call for machine-readable marking of certain generated content, and other jurisdictions have proposed or adopted labeling rules. Dates, scope and technical expectations have been changing, so confirm the present requirements with the official text or a qualified adviser. The broader picture is in the main approaches to AI regulation.

How to use watermark information sensibly

For everyday readers:

  1. If a platform says content carries a generator's mark, take that as a fairly strong hint that the tool was involved.
  2. If a check finds nothing, draw no conclusion. Most generators and most detectors don't overlap.
  3. Look for the source and the context before you share anything surprising.
  4. Don't upload sensitive files to unknown "AI detector" sites. You may be handing them your data.

For people who publish AI-assisted work, label it in plain words regardless of hidden marks. A visible sentence reaches readers who will never run a detector.

For organizations buying or building generators, ask which marks are applied, which edits they survive, what the measured false positive rate is, who can run detection, and how keys are protected. If a vendor can't answer, don't build policy on the feature.

Common questions

Can I see a watermark if I zoom in?

Usually not. Visible logos in a corner are watermarks too, but the invisible kind is designed so that ordinary inspection reveals nothing. Cropping out a visible logo says nothing about whether a hidden mark remains.

Does my own writing get marked if an assistant only fixes grammar?

It depends on the tool. Light corrections leave most of your original words in place, so there's little room for a signal. A full rewrite is closer to generation.

Will watermarking solve the deepfake problem?

No single method will. Marks help label cooperative output, signed provenance helps confirm honest sources, and human verification covers the rest. For background on the threat itself, see deepfakes explained.

Written for 4Internet with AI writing tools and not reviewed line by line by a person. Check anything you rely on with the maker, provider or standard concerned. Report an error.

Keep reading

All 45 articles in AI on the Internet →

Latest news on this topic