Field Notes / AI provenance

AI Leaves a Trace

Inside the world of invisible watermarks

A paragraph. A photograph. A voice. A video. They can look and sound completely ordinary—yet a machine may see a pattern that you cannot.

The mystery

What if AI leaves fingerprints humans cannot see?

There is no tiny sentence hidden behind the page saying “Generated by AI.” There may be no visible badge, no strange font, and no suspicious file name.

Instead, the trace can be woven into the decisions made while the content is created: which token comes next, how pixels are arranged, or how an audio signal is shaped. The result still feels normal to us. A detector, given the right method, can look for the pattern.

Humans see the content. Machines can see the signature.

This is not a story about surveillance, and a watermark does not automatically reveal a person. It is a story about provenance: the evidence that can help us understand where digital content came from and how it changed.

01 / Before the watermark

How does AI create anything?

Generative models learn patterns from large collections of data. When you give one an instruction, it does not search a vault for one finished answer. It produces a new output from a landscape of learned possibilities.

Each medium has a different generation process. Text watermarking can act on token choices. Image, audio, and video watermarking can embed signals in the generated media. The family resemblance is simple: the generator has room to make choices, and some of those choices can carry a signal.

02 / One choice at a time

How does AI know what comes next?

People often say a language model predicts the next word. More precisely, most modern language models work with tokens—pieces of text that might be a whole word, part of a word, punctuation, or code.

Interactive / next-token prediction

The sky is ___

blue42%
clear21%
bright14%
cloudy11%
beautiful7%

Illustrative probabilities. A real model considers a much larger vocabulary.

Now the interesting question:

What if we could subtly influence those choices without changing what the sentence means?

The hidden signal

A watermark can live in the choices themselves

Imagine several next tokens that would all make sense. A watermark-aware generation process can slightly change how those candidates are sampled. Across one choice, the adjustment tells us almost nothing. Across hundreds of choices, a statistical pattern can emerge.

Concept / probability adjustment
improve28%
increase22%
enhance18%
simplify14%
support10%

Educational numbers only—not Google’s, Anthropic’s, or any provider’s production values.

Did you know?

A text watermark does not require invisible Unicode characters. The pattern can exist in perfectly ordinary-looking tokens selected during generation.

Green and red tokens are an intuition—not a universal recipe

A landmark 2023 ICML paper described a method that pseudorandomly divides candidate tokens into “green” and “red” sets, then softly favors the green set. That makes a wonderful mental model:

Important: this green/red picture explains one class of academic techniques. Google’s published SynthID Text uses tournament sampling, and Anthropic has not published Claude’s exact algorithm. The visual is not evidence that either system uses a fixed green-word dictionary.

03 / Try the idea

Token Watermarking Simulation

This toy model has a tiny vocabulary. In watermark mode, a seeded rule gives some valid choices a modest statistical preference. Generate a sequence, then let the toy detector count how often those preferred choices appeared.

Generated toy sequence
Choose a generation mode to begin.
Detector result Not run

The detector needs a generated sequence.

preferred at that step other valid choice

Educational simulation only. This is not SynthID and cannot detect text from Gemini, Claude, ChatGPT, or any real model. Short toy sequences can also produce uncertain or coincidental results.

How a real detector thinks

A detector compares the observed pattern with the pattern expected under its watermarking scheme. The answer is probabilistic: likely detected, no recognizable mark, or uncertain.

Think about coins. Four heads in five flips is unremarkable. Eight hundred heads in one thousand fair flips would be extraordinary. Longer, varied text gives a detector more choices to examine; “New Delhi.” gives it almost none.

The most important distinction

No watermark human

Watermark detectedEvidence that a supported signal is present
No watermark detectedOrigin remains unknown

An unmarked result could be human writing—or output from an unsupported model, an older model, another provider, a short answer, or content that was edited, translated, or mixed.

04 / One idea, four media

SynthID is a family, not one copied-and-pasted algorithm

Google DeepMind launched the first SynthID image beta in August 2023, expanded it to Lyria-generated audio that November, and announced text and video watermarking in May 2024. The SynthID Text paper appeared in Nature in October 2024, and Google released implementations for developers.

TXT / Statistical signal

Choice by choice

SynthID Text changes the sampling process used to choose tokens. Google’s paper describes a tournament-based method; detection scores the resulting statistical pattern.

The visuals above teach the concept. They do not reproduce Google’s proprietary image, audio, or video embedding systems.

05 / Watermarking is not the whole story

An invisible fingerprint and a signed passport

A watermark can place a signal inside content. C2PA Content Credentials take a different route: a cryptographically signed set of provenance statements is bound to an asset.

Watermark

An invisible fingerprint carried by the content.

Can persist through some transformations; usually carries limited context.

C2PA

A signed passport travelling with the asset.

Can carry richer history; can be lost when metadata is stripped unless durable bindings help recover it.

C2PA is not “just EXIF.” A Content Credential can contain assertions about creation and edits, a claim, a content binding, and a digital signature. A validator checks whether those statements are correctly bound and untampered. It does not certify that an image is truthful or that its message is trustworthy.

QuestionAI detectorWatermarkC2PA / Content Credentials
What does it do?Guesses whether content resembles AI outputFinds a signal deliberately embedded by a generatorValidates signed provenance claims bound to an asset
Generator cooperation?Usually noYes, for generative watermarkingYes, from a creator/editor in the C2PA workflow
Positive result means…“This resembles the detector’s AI examples”“A supported embedded signal is present”“These signed claims validate against this asset”
Main limitationsFalse positives, false negatives, model driftEdits, short content, unsupported systemsMetadata stripping, broken workflows, trust in signer

06 / What about source code?

Code is generated as tokens, too

Ask a coding model: Write a Python function to check whether a TCP port is open. It has many valid ways to answer.

Implementation Acontext manager
def is_port_open(host, port):
    with socket.socket(
        socket.AF_INET,
        socket.SOCK_STREAM
    ) as sock:
        sock.settimeout(2)
        return sock.connect_ex(
            (host, port)
        ) == 0
Implementation Bexplicit cleanup
def check_port(host, port):
    s = socket.socket(
        socket.AF_INET,
        socket.SOCK_STREAM
    )
    s.settimeout(2)
    try:
        return s.connect_ex(
            (host, port)
        ) == 0
    finally:
        s.close()

Function names, variable names, context managers, error handling, comments, statement order, formatting, and even the algorithm are all generation choices. In theory, some choices could receive a statistical preference while the program remains functionally equivalent.

Conceptual code-watermarking example—not a demonstration of any proprietary system.

The problem: developers constantly transform code

Same intent / changing tokens
for device in devices:
    process_device(device)

Original generated loop

Renaming, formatting with Black or Prettier, linting, adding comments, extracting helpers, changing a loop into a comprehension, refactoring an algorithm, transpiling, and compiling can all alter or erase the original token sequence.

Natural-language textSource code
Many acceptable phrasingsMany equivalent implementations
Human rewriting changes tokensRefactoring changes tokens
Translation may disrupt signalsCompilation can remove the source representation
Grammar constrains generationProgramming syntax constrains it more strongly
Meaning survives paraphrasingBehavior can survive structural change

Academic systems exist. For example, the ACL 2024 paper SWEET selectively watermarks higher-entropy code tokens because ordinary code contains many low-choice regions. That is research evidence—not proof that Claude Code, Codex, Gemini, GitHub Copilot, or another assistant currently watermarks source code in that way.

In prose, the watermark may hide in word choice. In code, it could hide in implementation choice.

07 / Can the trace disappear?

Robust does not mean indestructible

Watermark survival depends on the medium, the implementation, the strength of the transformation, and the detector. Good systems are evaluated against ordinary edits, but none should be treated as perfect.

TXT

Text

Copy/paste may preserve a token pattern. Light edits may dilute it. Heavy rewriting, translation, summarization, and mixed authorship can reduce detector confidence.

IMG

Images

Systems may be designed for resize, compression, crops, and filters. Screenshots and stronger transformations can still challenge provenance signals.

WAV

Audio

Compression, noise, and modest speed changes may be in scope for robust designs. Re-recording and extensive processing can change the signal.

VID

Video

Re-encoding, crops, frame-rate changes, and screen recording affect frames and audio. Results depend on where and how the watermark is distributed.

Short, factual answers leave less room

Low choiceQ: What is the capital of France?

Paris.

Few reasonable continuations
High choiceDescribe Paris on a rainy evening.

Thousands of plausible descriptions…

Many reasonable continuations

Researchers call this freedom entropy. More plausible options create more room for a statistical signal. Google explicitly notes that SynthID Text is less effective for factual answers and works better with longer, varied responses.

Try it in your head

Automation makes network operations more ______.

reliableefficientpredictableconsistentscalable
If all five are reasonable, could choosing among them leave a statistical signature? That freedom of choice is what makes token-level watermarking possible.

Does the watermark know who you are?

Not inherently. A detector can be designed simply to answer whether a supported pattern is present. OpenAI says its current verification result does not identify who created a file. Anthropic describes its mark as evidence that Claude may have processed content, not as an identity tag.

But provenance systems vary. In C2PA, a claim is digitally signed on behalf of a signer using a signing credential, while assertions can include provenance details chosen by the implementer. That is still separate from a watermark. Account logs, prompt records, timestamps, and signed provenance manifests are different things; never assume one contains—or excludes—the others without reading that system’s documentation.

Why is this happening now?

Watermarking research predates today’s regulation, but law is accelerating deployment. Article 50 of the EU AI Act requires providers of systems that generate synthetic audio, image, video, or text to mark outputs in a machine-readable, detectable way, as far as technically feasible. The provider duty has stated exceptions for systems that merely perform standard editing assistance or do not substantially alter input data, and for certain legally authorised law-enforcement uses. These transparency obligations became applicable on August 2, 2026.

The European Commission’s voluntary Code of Practice is an officially recognised route for signatories to demonstrate compliance. Separate deployer duties cover deepfakes and some AI-generated public-interest text; the public-interest-text duty has an exception where content has undergone human review or editorial control. The law does not prescribe one universal technology for every medium.

Look under the hood Technical terms, translated
Logit
A model’s raw score for a possible next token before it becomes a probability.
Softmax
The calculation that turns a set of raw scores into probabilities that add up to 100%.
Entropy
How much uncertainty or choice exists. High entropy means many plausible next steps.
Pseudorandom function
A repeatable key-driven rule that looks random without the key.
Watermark key
A secret or configuration used to embed and later recognize a particular pattern.
Hypothesis test
A statistical check asking whether the observed pattern is too unusual to attribute to chance.
False positive
A detector says a mark is present when it is not.
False negative
A detector misses a mark that is present.

Formats are not modalities

PDFs, JSON, spreadsheets, and everything else

PDF / DOCX

Containers that can hold text, images, metadata, and signed provenance. They are not automatically a separate generation medium.

JSON / XML / CSV

Structured text or data. Strict syntax can reduce token freedom, just as source code does.

3D / CAD

Possible territory for future provenance systems, but do not assume SynthID support where Google does not list it.

08 / Quick answers

Questions people actually ask

What is an AI watermark?

A machine-detectable signal embedded in AI-generated content. In text it may be statistical; in media it may be an imperceptible signal in pixels, an audio representation, or video frames.

What is Google SynthID?

A family of Google DeepMind watermarking technologies for supported AI-generated text, images, audio, and video. Each medium uses an approach suited to that medium.

Can humans see SynthID?

Google describes SynthID watermarks as imperceptible to humans. Detection requires compatible tools; it is not the same as a visible AI label.

Does copying text remove an AI watermark?

A token-level statistical pattern can travel with copied text because the tokens travel too. Heavy editing, paraphrasing, translation, or mixing can weaken it. Exact behavior depends on the system.

Is SynthID the same as C2PA?

No. SynthID embeds a signal inside supported content. C2PA binds cryptographically signed provenance information to an asset. They can work together.

Does every AI model use a watermark?

No. Coverage varies by provider, model, product, date, modality, and export path.

Does ChatGPT text use SynthID?

OpenAI currently documents SynthID for supported images and audio. Its help page says expanding provenance signals to text is a goal; it does not say ChatGPT text currently uses SynthID.

Does Claude watermark generated text?

Anthropic says new Claude models launched in the EU on or after August 2, 2026 support model-level text marking at launch. It applies marks worldwide on supported models and surfaces, while rollout to earlier models remains in progress. Detailed detection guidance is still forthcoming.

Can an AI watermark survive editing?

Some systems are designed to survive some edits, but confidence can fall as content changes. Robustness varies; no responsible claim is “always.”

Can an AI watermark identify the user?

Not necessarily. A basic watermark can signal supported provenance without encoding a person. Other logs or provenance records are separate and may contain different information.

Does no watermark mean a human wrote it?

No. It means only that the detector did not find the signal it knows how to find. The content may be human-made, unsupported, generated by an older model, or altered enough to weaken the signal.

Can source code be watermarked?

Research systems demonstrate that it can, but constrained syntax, formatting, refactoring, and compilation make durable code watermarking difficult. Do not assume a specific coding assistant marks code without provider confirmation.

Something to remember

AI watermarking is not about making generated content look different.

It is about leaving a machine-detectable trace without changing how humans experience the content.

Humans see the content.Machines can see the signature.
  1. 01A watermark is not the same as a general AI detector.
  2. 02No watermark does not prove human authorship.
  3. 03Provenance is more useful than a simplistic “human or AI?” guess.

Where the signal leads

The internet’s next question may be: where did this come from?

For years, we focused on what digital content says. Increasingly, we will also need to understand its origin, creation, and modification history.

In a world where anyone—or anything—can create convincing content, will knowing where it came from become as important as the content itself?

Primary sources

Read the evidence

  1. 01
    SynthID overviewGoogle DeepMind · current product overview
  2. 02
  3. 03
    SynthID Text developer guideGoogle AI for Developers · implementation and limitations
  4. 04
    How Claude marks AI-generated contentAnthropic · current product guidance
  5. 05
    Advancing content provenanceOpenAI · May 2026; updated July 31, 2026
  6. 06
    Provenance signals in OpenAI-generated contentOpenAI Help Center · current modality coverage
  7. 07
    C2PA Specifications 2.4Coalition for Content Provenance and Authenticity · April 2026
  8. 08
    EU Artificial Intelligence ActEUR-Lex · Regulation (EU) 2024/1689
  9. 09
    Code of Practice on Transparency of AI-generated ContentEuropean Commission · published June 10, 2026; updated July 31, 2026
  10. 10
    A Watermark for Large Language ModelsICML / PMLR · green-list watermarking paper · 2023
  11. 11
    Who Wrote this Code? Watermarking for Code GenerationACL · SWEET code-watermarking research · 2024