The AI Reader.
The Mechanics

Millions of watermarked stock photos teach image generators to draw one of their own

A diffusion model learns the regularities across billions of training photos, and a stock-photo mark common enough in that data becomes one of them, a mechanism distinct from the rarer case where a model reproduces one training photo almost whole.

Why this matters

A generated photo comes back with a smeared, half-legible watermark sitting in one corner, on an image nobody ever scanned from a stock-photo site. People who use these tools often read it as proof that one specific photo got copied in. This lesson traces the mark back through the training data, the training objective, and the two ways a diffusion model can relate to what it learned from. By the end you can say which mechanism produced it, and which claim about it a piece of evidence can and cannot support.

Background optional reading
01
An image generator turns a field of static into your picture by removing the noise a little at a time: the training and drawing steps this lesson builds on, taught in full.
02
A generated image gets its letters wrong before the picture is ever drawn: why generated text comes out garbled, a different question from why a watermark pattern is there at all.

A mark on a photo nobody watermarked

Ask an image generator for an ordinary photograph. Sometimes a garbled, half-legible mark shows up across one corner of the frame, pale text in a stock-photography font, smeared just enough that you cannot quite read it, on an image that came from a text prompt, not a scan of a real photo agency's archive. In a 2023 copyright lawsuit against Stability AI, Getty Images filed several such images as exhibits: a garden wedding photo, a red-carpet gown, a synthetic-looking rugby scene. Each carries a blurred, gettyimages-style mark in one corner, on pictures Getty had no part in making. The complaint itself calls them "distorted versions of Getty Images' watermark and other watermarks."1

That is a different question from why the letters in that smear never spell a real word, which a different lesson covers. This lesson is about the more basic mystery: why a watermark-shaped pattern is on the image at all, when nothing resembling copy-and-paste happens anywhere in the system that draws it.

Billions of photos, and no clean count of how many carry a mark

Start with what these models actually train on. Stable Diffusion, the model behind Getty's exhibits, trained on subsets of LAION-5B, a dataset of 5.85 billion image-text pairs pulled from the public web.2 The English-language slice, LAION-2B-en, is 2.32 billion pairs on its own, the largest single piece of Stable Diffusion's training recipe. The model spent its first 237,000 training steps there, before later stages moved to two smaller, more curated subsets of the same dataset.2

5.85BLAION-5B image-text pairs
6.1%watermarked, English subset (est.)
3%flagged NSFW, whole dataset

LAION-5B's own paper scores every image for two things: how likely it is to be NSFW, and how likely it is to carry a watermark. Both are probability scores, not a filter, and the paper gives a headline NSFW figure, 3% of the dataset, but no equivalent watermark number.2 That figure comes instead from LAION's own announcement blog: a watermark proportion of 6.1% for LAION-2B-en, 5.6% for the multilingual slice, and 4% for the slice whose language could not be classified. The post measures this at a classifier threshold it calls conservative, meaning the true share likely runs higher, not lower.3 A separate assessment of data risk in large training sets cites the same figure, still unrevised.4

Stable Diffusion's own developers documented where a watermark filter entered training, and where it did not. The first two stages, 237,000 steps on LAION-2B-en and 194,000 more on a higher-resolution subset, carry no watermark filter at all, and every later checkpoint resumed from that unfiltered pair rather than starting over.5 Only the next subset was screened for it, at an estimated probability under 0.5, looser than the 0.8 threshold behind LAION's own conservative estimate above, and an estimate rather than a checked label.5 LAION-5B's own datasheet also notes near-duplicate images make "a many to one embedding" possible, and lists deduplication as future work, not something done.2 That combination, a partial, permissive filter over an unfiltered foundation with no deduplication, is the raw material ahead.

Learning the class of photo, mark included

A diffusion model is never told which pixels to reproduce. It is trained on one repeated task: take a training image with random noise mixed into it, predict the noise that was added, and subtract that prediction out. Run that step backward, over and over, starting from pure noise. That reverse process is generating a picture: the same denoising loop an earlier lesson walks through in full. The paper that introduced this architecture defines the training goal plainly: a diffusion model is "a probabilistic model designed to learn a data distribution p(x) by gradually denoising a normally distributed variable." Its training loss has no step that targets any one specific training example, only the distribution as a whole.6

"Learn a data distribution" is the phrase worth sitting with. Say a watermark shows up in roughly one in twenty of the training photos in a class the model sees constantly, stock sports photography for instance. That smear is then a statistical regularity of that class of image, the same kind of regularity as grass reading green. The model has no notion of "this specific photo's copyright mark." It has only seen millions of examples where a certain texture co-occurs with a certain kind of scene, and learned to reproduce that co-occurrence along with everything else about it. Ask for a generic sports photo and the mark can come along, not because one photo got copied, but because the mark is part of what "looks like a stock sports photo" statistically means to the model. This part of the chain is settled: it is the training objective the model's own architects describe, not a disputed inference.

A second, rarer mechanism reproduces one photo almost whole

A diffusion model can also reproduce one training image nearly intact, not a class of images but one photo, as researchers have shown. A 2023 study attacked Stable Diffusion v1.4 directly: 500 generations each for the 350,000 most-duplicated training captions, 175 million images in total, each checked against the training set for a near-pixel-perfect match. 94 cleared a strict distance threshold, and 13 more were confirmed by manual inspection, 109 near-copies in total.7

The study is explicit about what drives it: memorization concentrated almost entirely on images duplicated at least 100 times somewhere in the training set. Duplication itself, not the training objective alone, is what the authors call "a major factor behind training data extraction."7 Even at that level, the images involved were still roughly one in a million of the full training set: the single most-repeated sliver of the data, not typical behavior. Deduplicating the training set helps, but the only measurement of how much comes from a far smaller test. On CIFAR-10, removing near-duplicate images cut the number of memorized outputs from 1,280 to 986, about a 23% relative drop, a result the researchers themselves call "not a substantial drop." They never ran the equivalent test on Stable Diffusion or any LAION-scale dataset.7

Both mechanisms are real and distinct: one reproduces a pattern learned across a whole class of images, the other reproduces one image almost whole. What is still open is telling them apart for any single output. The same researchers name that directly, for the field generally. Whether large-scale generative models work by producing novel output or by copying and interpolating between individual training examples "remains open," in their own words.7 On the watermark specifically, there is a further gap, and it is not confined to one study. This memorization study never mentions watermarks, and its breakdown of what got memorized (recognizable people, products for sale, logos) has no watermark category.7 A second, independent study of that same reproduction, using an entirely different detection method, does not mention watermarks either. Its own examples are full images and objects, a sofa, a Hokusai wave print, a celebrity portrait, never a mark alone.8

What the lawsuit's own exhibit actually shows

That gap sits inside Getty Images' 2023 lawsuit against Stability AI, filed in federal court in Delaware.9 One paragraph of the complaint cites exactly the memorization research above to say that "independent researchers have observed that Stable Diffusion sometimes memorizes and regenerates specific images that were used to train the model." The very next paragraph presents the complaint's central watermark exhibit.1

Getty's own framing
In many cases, and as discussed further below, the output delivered by Stability AI includes a modified version of a Getty Images watermark, underscoring the clear link between the copyrighted images that Stability AI copied without permission and the output its model delivers.1 Getty Images v. Stability AI, complaint ¶52

The paragraph captions a side-by-side pair as an original training photo on the left and the model's output on the right. Look at the two images directly, and the pairing does not hold up as a copy.

Two soccer photographs side by side, as printed in Getty's complaint. The left image is a real Getty stock photo of a Tottenham Hotspur player challenging a Southampton player, watermarked 'gettyimages / Andrew Powell' with a visible stock-photo ID number. The right image is a different scene: a Tottenham player wearing a fictitious red 'AA' chest crest challenges a Liverpool player, and carries a smeared, largely illegible mark in the same corner position and typeface family as a Getty watermark.
Fig. 1 · Getty's own exhibit pairs two different photographs, not a matched original and its copy.1

The two photographs are not the same players, the same pose, or even the same sponsor. The left shirt carries a real kit sponsor. The right shirt's red crest reads "AA," which is not any real sponsor's mark. What the two images actually share is a corner position and a general typeface family for the distorted text, nothing else. Read on its own, the exhibit is not evidence that one specific photo got copied. It is better evidence for the other mechanism in this lesson: a mark reproduced as a learned regularity of an entire class of image, independent of any single source photo. Getty's later exhibits make a more modest claim: three further examples show only recurring watermark distortion, none paired against a specific training photo.1 That framing sits more comfortably with distributional learning than paragraph 52's matched-pair claim does. None of this settles Getty's broader copyright claim, a separate legal question the images alone cannot answer.

Zoom out, and the ghost watermark stops being a special case. The training objective, the scale of the data, and a watermark filter that only partly applied are enough to produce a watermark-shaped pattern in generated output. Go one level deeper and there is nothing left to find. The objective, the data, and how much of that data was screened before training account for the whole behavior. None of it is unique to one model or one company. Any system trained on scraped web data inherits that data's regularities, filtered or not, and a stock-photo watermark is only the most visible one. Deduplication and watermark filtering can reduce how often it surfaces, the way the CIFAR-10 result above suggests, but neither removes it outright at the scale these models train on.

The takeaway

Both mechanisms are real, and now you can tell them apart. A watermark on an ordinary generated scene is almost always the boring, settled explanation: a mark common enough in the training data that the model folded it into what "this kind of photo" statistically looks like, the same way it folded in grass being green. The rarer case is a model reproducing one training photo nearly whole, a different mechanism tied to images duplicated many times over. Researchers say plainly that telling the two apart for a single output is still unresolved. The lawsuit exhibit that reads like a smoking gun for copying is, read directly, much better evidence for the other mechanism. The next time someone hands you a ghost watermark as proof that one photo was stolen, check what the two images actually share before you believe it.

Go deeper optional reading
01
Extracting Training Data from Diffusion Models: the full extraction study behind this lesson's memorization numbers, including the CIFAR-10 deduplication experiment.
02
LAION-5B: A New Era of Open Large-Scale Multi-Modal Datasets: the dataset's own announcement, with the watermark-proportion figures this lesson cites.

Sources

  1. Getty Images (US), Inc. · Complaint, Getty Images v. Stability AI (D. Del.)
  2. Schuhmann et al. · LAION-5B: An Open Large-Scale Dataset for Training Next Generation Image-Text Models
  3. LAION · LAION-5B: A New Era of Open Large-Scale Multi-Modal Datasets
  4. Cooper · Between Randomness and Arbitrariness: Some Lessons for Reliable Machine Learning at Scale
  5. Rombach and Esser · Stable Diffusion v1 Model Card
  6. Rombach et al. · High-Resolution Image Synthesis with Latent Diffusion Models
  7. Carlini et al. · Extracting Training Data from Diffusion Models
  8. Somepalli et al. · Diffusion Art or Digital Forgery? Investigating Data Replication in Diffusion Models
  9. CourtListener/RECAP · Docket, Getty Images v. Stability AI, No. 1:23-cv-00135 (D. Del.)