---
title: "Diffusion Art or Digital Forgery? Investigating Data Replication in"
description: "How diffusion systems reproduce training images, how retrieval detects copied content, and what experiments reveal about scale and prompts."
canonical: "https://research.elamur.ai/free/en/papers/somepalli-2023-diffusion-art-or-digital-forgery/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/somepalli-2023-diffusion-art-or-digital-forgery/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2023](https://md.research.elamur.ai/free/en/papers/2023/) / Diffusion Art or Digital Forgery? Investigating Data Replication in Diffusion Models

# Diffusion Art or Digital Forgery? Investigating Data Replication in Diffusion Models

Paper · 2023 · Gowthami Somepalli, Vasu Singla, Micah Goldblum et al.

**Authors:** [Gowthami Somepalli](https://md.research.elamur.ai/free/en/authors/gowthami-somepalli/), Vasu Singla, [Micah Goldblum](https://md.research.elamur.ai/free/en/authors/micah-goldblum/), [Jonas Geiping](https://md.research.elamur.ai/free/en/authors/jonas-geiping/) and [Tom Goldstein](https://md.research.elamur.ai/free/en/authors/tom-goldstein/) · **Year:** 2023 · **Venue:** IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · **Licence:** [CC BY 4.0 (arXiv)](https://creativecommons.org/licenses/by/4.0/)

[**194** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W4386076098) · [IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings](https://openalex.org/S4210176548) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [PDF](https://arxiv.org/pdf/2212.03860)
- [DOI 10.1109/cvpr52729.2023.00586](https://doi.org/10.1109/cvpr52729.2023.00586)
- [arXiv 2212.03860](https://arxiv.org/abs/2212.03860)
- [OpenAlex](https://openalex.org/W4386076098)

Citations: OpenAlex, 2026-10-14.

## Deep dive: Diffusion Art or Digital Forgery? Investigating Data Replication in Diffusion Models

How diffusion systems reproduce training images, how retrieval detects copied content, and what experiments reveal about scale and prompts. · about 34 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

An image generator can produce a convincing picture without producing an original one. It might recreate a photograph, reuse a background, or place a familiar object inside an otherwise different composition. “Diffusion Art or Digital Forgery?” investigates whether diffusion systems exhibit these behaviors and how researchers can detect them. The question matters wherever generated pictures are used as creative work: a convincing output offers little visible evidence about its relationship to the training collection. The authors concentrate on establishing whether copying occurs, instead of deciding which instances would be legally or ethically acceptable.

The paper treats replication as the reuse of recognizable image content, including an object or background, while allowing for small changes comparable to those introduced during training. This is narrower than sharing a subject or an artistic style, but broader than reproducing every pixel of a complete picture. To investigate it, the authors first evaluate image retrieval methods: systems that represent pictures as numerical features and search for matching examples. They compare candidate detectors on existing retrieval benchmarks and synthetic collections built to contain known instances of partial copying. This preliminary evaluation matters because a detector that recognizes only complete duplicates could miss the behavior the study is trying to measure.

The experiments reveal a strong dependence on the training setting. Diffusion systems trained on small face and flower collections can reproduce their examples closely. Increasing the amount of training data reduces the copying observed in these experiments. A class-conditioned latent diffusion system trained on ImageNet produces similar-looking examples, but the researchers find no convincing exact reproductions in the samples they inspect. That result does not extend straightforwardly to Stable Diffusion v1.4. Despite its much larger training collection, Stable Diffusion sometimes reuses distinctive objects, backgrounds, and recognizable arrangements from training images.

For Stable Diffusion, the authors generate images from 9000 captions sampled from LAION and search a 12M-image subset for matches. Roughly 1.88% of these generations reach the similarity region in which the authors observe substantial copying. That percentage describes a retrieval-based screening result under a particular caption distribution, instead of an independently verified rate of copyright infringement. The search also covers less than 0.6% of the full training collection, and the detector can miss relevant matches. The authors consequently regard their findings as an underestimate of replication. Their central conclusion is that substantial copying is possible even when typical outputs look novel, and that dataset size alone does not establish originality.

### Ideas worth borrowing

Define the event before choosing the detector. The authors begin with the kind of reuse they want to find: a particular object or background appearing again, with modest visual changes allowed. That definition makes the evaluation more demanding than a search for identical files. The same discipline applies to audits of generated text, retrieval systems, or synthetic records. A useful detector must be tested against the event that matters to the application, instead of an easier substitute that happens to have a convenient metric.

Create tests with known sources. The synthetic retrieval collections preserve selected content from an original image while changing its surroundings. This gives the researchers a known relationship between query and source, even when there is no established benchmark for their precise question. The approach is reusable whenever real examples are difficult to label: construct controlled cases that retain the property of interest, then vary the distractions around it. Such tests do not replace natural examples, but they expose whether a measurement instrument can recognize the phenomenon at all.

Compare outputs with the collection’s own resemblance. A generated face may resemble a training face because the generator copied it, or because many faces in that collection already look similar. The paper addresses this ambiguity by comparing generated-to-training matches with training-to-training matches. This baseline makes similarity easier to interpret. It is useful in any novelty assessment where the reference collection contains repeated patterns, restricted categories, or near duplicates.

Use complementary representations. SSCD and DINO often identify overlapping suspicious outputs, yet they retrieve different kinds of matches. A detector that emphasizes detailed appearance and one that recognizes broader structural relationships can reveal different evidence. The reusable lesson is to inspect what each representation preserves. Combining perspectives is especially useful when the target behavior can occur locally and when a single whole-example score conceals how a match arose.

Audit the rare tail as well as the average. An overall distribution can look reassuring while a small group of outputs contains striking copies. The paper examines similarity histograms and also inspects the highest-scoring generations. These views answer different questions: how typical outputs behave, and whether problematic events occur at all. The same distinction matters in [evaluation and benchmarking](https://md.research.elamur.ai/free/en/topics/evaluation-benchmarks/) whenever an uncommon failure can have consequences that average performance obscures.

Treat the input sampler as part of the experiment. Captions drawn from training data are convenient and reproducible, but they may contain phrases closely associated with memorized images. The authors explicitly consider this influence instead of treating their prompts as a neutral sample of all possible use. This principle transfers to any prompted system: the distribution of inputs helps determine the observed behavior, so conclusions should identify that distribution and explain what it might emphasize.

### How Mova uses it

For Mova, the small transparent language system implemented in Rust, the strongest connection is an approach to auditing provenance and reuse. The paper studies image generation, so its visual detectors and numerical results do not establish anything about Mova’s text behavior. Its experimental logic could nonetheless guide an examination of whether an output reproduces material from a known collection. Such an examination would be a proposed application of the paper’s ideas; there is no basis here for claiming that Mova already implements it.

A concrete starting point would be to define what counts as reuse in Mova’s setting. Repeating a distinctive passage, preserving a sentence with small edits, and sharing a broad topic are different events. The image paper is valuable because it refuses to collapse analogous visual cases into a single notion of resemblance. Mova could adopt that separation when describing an audit: exact textual overlap would be one category, close reuse of a passage another, and general [semantic similarity](https://md.research.elamur.ai/free/en/concepts/semantic-similarity/) a separate observation. These categories would need their own definitions and validation rather than thresholds borrowed from image features.

A transparent audit could also preserve the relationship between an output and the material used to evaluate it. For each suspicious output, Mova could show the matching passage, the surrounding context, and the reason the comparison was flagged. That would make the evidence reviewable. The diffusion study’s most persuasive cases work in a similar way: the reader can compare a generation with its retrieved source and inspect the reused object or background. A similarity score helps locate the case, but the visible relationship carries much of the explanatory weight.

The collection-to-itself baseline is particularly relevant to a small system with inspectable data. Before interpreting an output as unusually close to a source, an audit could ask how much repetition already exists among the sources. Conventional phrases and recurring formulations may produce high overlap without identifying a distinctive act of copying. Conversely, a long or unusual shared passage may deserve attention even if the rest of the output differs. The paper motivates this contextual comparison, but a textual implementation would still need to demonstrate that its scoring method distinguishes those cases reliably.

Mova could also borrow the paper’s distinction between ordinary sampling and targeted elicitation. An audit of routine outputs would describe what happens under a stated input distribution. A separate investigation of phrases that repeatedly evoke a particular passage would probe whether specific wording makes reproduction easier. Neither experiment would substitute for the other. Keeping their purposes explicit would let Mova report both typical behavior and exceptional vulnerabilities without presenting either as a complete account.

Rust is an implementation choice for such an audit, not a finding of the paper. The contribution worth transferring is the structure of the evidence: a defined event, a validated detector, an inspectable reference collection, an appropriate baseline, and a clear account of missed coverage. Those components could support Mova’s transparency even if its eventual methods differ substantially from the visual retrieval machinery used here.

### The problem and its context

#### Originality is difficult to infer from appearance

Diffusion systems turn noise into images through repeated denoising. Their outputs can be visually coherent and responsive to descriptions, making them attractive for art and graphic design. Yet visual quality does not settle where the content came from. An output may be an unfamiliar composition while still containing a background or object reproduced from a training example. Looking only at the complete picture can conceal that relationship.

The training collections intensify the problem. The paper describes web-scale image-and-caption datasets whose size prevents careful inspection of every source. Questions about origins, permissions, and attribution therefore coexist with a technical uncertainty: whether a generator can spontaneously return material it encountered during training. The authors separate this uncertainty from the legal judgment. They investigate the occurrence and character of replication while acknowledging that acceptable reuse depends on circumstances outside their experiments.

This framing avoids treating originality as a binary property that can be read directly from a generated image. A picture can contain both newly arranged material and a closely reproduced element. The relevant evidence may lie in a small part of the scene. A full-image duplicate detector would answer only a restricted version of the question.

The paper’s working scope is therefore object-level reuse. An object may belong to the foreground, such as furniture, or to the background, such as the setting behind a subject. Minor alterations do not automatically make the relationship irrelevant. Training commonly changes crops, orientation, and appearance, so an audit that required identical pixels could miss recognizable reproduction after those transformations.

#### Retrieval offers an instrument for the investigation

[Information retrieval](https://md.research.elamur.ai/free/en/topics/information-retrieval/) provides the basic search framework. A query image is compared with a database, and the system ranks candidate matches. In visual retrieval, a feature extractor converts each image into a representation designed to preserve useful relationships. Pictures with related content should receive compatible representations, allowing the search to operate on features rather than inspecting every pixel manually.

The paper describes a progression from neural image descriptors to retrieval-specific training and self-supervised representation learning. Some earlier methods adapt features using examples of the same physical scene. Others use contrastive objectives, which encourage compatible views of an example to receive similar representations. DINO is especially relevant because the authors identify it as a self-supervised method with competitive instance retrieval behavior.

Instance retrieval is closer to the paper’s needs than ordinary category recognition. A category system might consider two different cars similar because both are cars. An instance-oriented detector should help identify the particular car or scene that reappears. Even then, retrieval and replication detection are not identical tasks. Photographs of the same building can be appropriate retrieval matches without being copies of one another.

SSCD offers another relevant starting point. It was designed for image copy detection and uses strong augmentations during training. Its objective incorporates InfoNCE, associated in the paper with [Representation Learning with Contrastive Predictive Coding](https://md.research.elamur.ai/free/en/papers/oord-2018-representation-learning-contrastive-predictive-coding/), alongside entropy-based regularization. The authors do not assume that its specialization makes it universally preferable. They compare it with other feature extractors across different kinds of matching problems.

#### Memorization and spontaneous reproduction are different claims

Earlier [machine learning](https://md.research.elamur.ai/free/en/concepts/machine-learning/) research uses “memorization” for several related phenomena. In theoretical discussions it may be closely associated with overfitting. In membership inference, the goal is to determine whether a particular example belonged to a training collection. In inversion, the goal is to reconstruct training information from access to a trained system.

These distinctions matter because none directly establishes spontaneous copying during ordinary generation. A system could retain enough information for an attacker to infer membership while never producing the original image by chance. It could also permit a specialized reconstruction procedure without emitting such reconstructions under routine inputs. The paper’s target is the output behavior itself.

The authors connect their question to earlier work on [language models](https://md.research.elamur.ai/free/en/concepts/language-model/). As they describe that literature, textual replication relates to factors including system size, repeated training examples, and the amount of prompting. They also note findings that reproduction can occur without conventional evidence of overfitting. This background motivates caution about treating a successful training or validation curve as proof that outputs cannot reproduce examples.

The image experiments do not test those textual findings. Their relevance is conceptual: internal retention, statistical generalization, and observable reproduction need separate measurements. The paper seeks evidence for the last of these.

#### Earlier generative-image studies left a measurement gap

The paper situates its investigation alongside work on generative adversarial networks. One earlier approach tests whether generated samples are collectively closer to training data than a held-out reference population would be. That is useful for detecting a distributional tendency, but it does not identify the individual output that reused a particular source.

Other studies examined copying through pixel-space comparisons and related it to dataset size or complexity. Research on generated faces also showed that a system could produce a new image of a training identity without making a literal duplicate. These observations reinforce the need to distinguish identity, semantic resemblance, and detailed reproduction.

The authors also discuss weaknesses in common quality measurements. They cite work showing that FID can favor generators that memorize examples, motivating measures of generalization that are sensitive to copying. Some authenticity measures, however, focus on copies altered by pixel-level noise. That scope can miss a reused object embedded in a different scene.

Earlier diffusion work had already considered deduplication and nearest-neighbor inspection. The present paper broadens the detector evaluation and makes partial reuse central. Its contribution is not the first concern about memorization in generated images. It is a systematic attempt to connect a particular definition of replication with validated search tools and then apply those tools across several diffusion settings.

### The method, step by step

#### Begin with a detectable event

The authors start by narrowing the scientific question. Their main target is the recurrence of a particular visual element from training, allowing modest appearance changes. This includes full-image copying but also reuse confined to a foreground object or a background.

The definition excludes a broad claim that every stylistic resemblance is replication. Two pictures can share a genre, palette, subject, or manner of painting without containing the same object in the relevant sense. Those relationships may still interest an observer, but they require different judgments. The paper later examines style-related examples while keeping them distinct from its main detection target.

This initial choice determines the rest of the procedure. A detector should recognize retained content despite changes elsewhere in the picture. It should also avoid equating every pair of semantically related images with copied content. The evaluation must therefore include both realistic retrieval problems and cases where partial reuse is known in advance.

From a replication definition to evidence The steps in order.

#### Construct examples whose copied regions are known

The authors create 5 synthetic datasets because existing labeled collections do not directly cover their definition. These datasets preserve part of a source image and place it in a changed visual context. The source relationship is therefore known without asking a human annotator to infer it from appearance.

IN-Cutmix uses ImageNet pictures. A square region taken from one image is pasted into another image at a randomly selected location, with the region’s size also varying. The challenge is to retrieve the source of that region even though the complete query contains unrelated material.

IN-Dif-Patch changes the surroundings more naturally through diffusion-based outpainting. The procedure retains a square region while masking 80% of the image, then generates content for the missing area using the method of Lugmayr and colleagues. The resulting picture has a known connection to the original, but most of its visible content has been replaced.

These square-based constructions raise a possible evaluation bias. Vision transformers process images through patches, so square copied regions might particularly suit their representations. IN-Dif-Diagonal addresses that concern by preserving a triangular part of an ImageNet picture and outpainting the other part. The known source relationship remains, but its boundary no longer follows a single retained square.

The remaining synthetic collections use segmentation annotations from MS COCO and Pascal VOC. A segmentation mask identifies the pixels belonging to a selected object or to the background. The authors transform that region and insert it into another image. For foreground objects, they also vary position and size.

The transformations include changes to color and contrast, blurring, and flips. These make the task closer to the paper’s intended definition, where small appearance changes do not erase the underlying reuse. The resulting MSCOCO Segmix and VOC Segmix collections also contain irregular shapes, making them more demanding than tests built entirely from rectangular patches.

#### Add natural retrieval benchmarks

The authors supplement the constructed cases with 5 existing retrieval datasets. Oxford and Paris provide landmark queries: different photographs can show the same building under changed conditions. These test recognition of an instance across views, although that relationship is broader than copying.

INSTRE contains particular objects photographed in different settings. GPR1200 combines varied retrieval categories drawn from other collections. CUB-200 supplies fine-grained bird categories with changing pose, lighting, and background.

These benchmarks contribute diversity, but their labels require interpretation. A correct match in a landmark dataset does not certify copied pixels or reused photographic content. The natural datasets measure whether a representation remains useful under realistic visual variation. The synthetic collections test whether it can recover a deliberately preserved source component.

Using both kinds of evidence helps prevent the detector evaluation from becoming too narrow. A method could succeed on pasted patches yet perform poorly on ordinary images. It could also be excellent at category or instance retrieval while failing to detect the particular local reuse that motivates the study.

#### Compare different kinds of feature extractors

The evaluation covers 10 candidate feature extractors. The comparison includes retrieval specialists, supervised image representations, and self-supervised methods. The purpose is to select tools for an audit rather than to introduce a new diffusion training objective.

MultiGrain combines classification training with a retrieval-oriented triplet loss. SSCD specializes in copy detection. Both use official ResNet-50 checkpoints in the study, with ImageNet as the relevant pretraining collection.

The supervised comparison includes visual transformers with different pretraining histories. The authors evaluate ImageNet-trained ViT-Small/16 and an ImageNet-21k-trained ViT-Base/16. They also include a CLIP image encoder trained on LAION and a Swin Transformer trained on ImageNet.

The self-supervised group includes DINO, VICRegL, and MoCo v3. The authors additionally adapt MoCo v3 with CutMix for 50 epochs, intending to improve sensitivity to reused regions. This is a detector-training intervention, separate from training the image generators whose outputs will later be audited.

A [transformer](https://md.research.elamur.ai/free/en/concepts/transformer/) supplies both an aggregate representation and representations associated with image tokens. That distinction becomes important in the similarity comparison. A feature describing the complete image may behave differently from features tied more closely to its parts.

#### Decide how features should express a match

A conventional comparison uses an inner product between image representations. Such a score can be effective when the whole image should resemble its source. The difficulty is that the paper also wants to detect compositions assembled from unrelated sources.

The authors illustrate the problem with a generated scene containing a car from one image and a tree from another. The generated scene should match each source because it reuses content from both. Yet the original car image and tree image need not resemble each other.

The paper expresses the constraint through the triangle inequality:

```
d(I_car, I_tree) ≤ d(I_gen, I_car) + d(I_gen, I_tree)
```

Here, d denotes a distance. I_car is the source image containing the car, I_tree is the source containing the tree, and I_gen is the generated image that includes both elements. The inequality says that the distance between the source images cannot exceed the sum of their distances through the generated image.

If both generated-to-source distances must be very small, a metric satisfying this inequality also forces the sources to be close. That is an awkward requirement when the desired relationship is local overlap. The source pictures can share nothing even though each contributes a recognizable part to the generated composition.

There is a mathematical qualification to keep in view. An inner product is a similarity operation, not itself a distance metric. The useful point in the authors’ argument concerns the restrictions imposed by representing all relevant relationships through one global metric geometry. The practical comparison then asks whether a more localized scoring procedure retrieves different evidence.

Their split-product method divides representations into corresponding chunks, compares those chunks through inner products, and retains the strongest chunk-level result. For vision transformers, image-token representations supply the chunks. This allows one region to support a match with one source and another region to support a match with a different source.

The authors do not present split-product as uniformly superior for every definition of copying. In their qualitative comparisons, it tends to retrieve broader semantic relationships, while ordinary inner-product comparisons frequently emphasize stricter appearance correspondence. Both can be useful, and they can return different nearest matches for the same generated image.

#### Evaluate retrieval quality before auditing generation

The main detector metric is mean average precision, abbreviated mAP. For each query, average precision summarizes how relevant matches are ranked. Averaging those values over the query set produces mAP. Higher values indicate better retrieval under the dataset’s relevance labels.

The authors also examine Recall@k and mean reciprocal rank. These provide additional views of how quickly useful matches appear near the top of a ranked list. Their account reports broadly similar ordering across these measures, including Recall@1 and Recall@5.

The distinction between retrieval performance and replication frequency is essential. A detector’s mAP measures its ability to retrieve labeled matches on a benchmark. It does not measure the proportion of generated images that copy training content. The generator audit begins only after the authors choose sufficiently capable retrieval tools.

DINO with split-product achieves the strongest average ranking across the full benchmark collection. Swin leads on the real datasets, while SSCD leads on the synthetic ones. The authors carry these complementary methods into the subsequent experiments.

#### Train smaller diffusion systems and sample their outputs

For the controlled training-size studies, the authors use denoising diffusion probabilistic systems with a discrete denoising scheduler. The implementation comes from HuggingFace. The experiments vary the amount of face or flower training data and then search the resulting generations against the corresponding collection.

Celeb-A experiments include training sets containing 300 and 3000 images, together with an official checkpoint trained on the complete collection. Oxford Flowers experiments use 100 images, a 1083-image subset covering the top 5 classes, and the complete 8189-image dataset.

Training includes random crops and horizontal flips. The authors continue until the outputs appear visually good, with the main account describing at least 300k steps and FID below 50. They then analyze 10,000 generated faces and 5000 generated flower images.

The supplementary settings show that the smaller training runs are not identical except for dataset size. For Celeb-A, the 300-image experiment uses batch size 4, learning rate 5e-5, and 200 warmup steps. The 3000-image experiment uses batch size 20 and learning rate 5e-4, also with 200 warmup steps. Both are described as running for 4000 epochs.

Flower training likewise uses different batch sizes and schedules. The 100-image run uses batch size 5 and learning rate 5e-5 for 2000 epochs. The intermediate run is described in the supplement as a 1000-image experiment, using batch size 20, learning rate 1e-4, and 400 warmup steps. This differs from the 1083-image description in the main experimental account and should remain visible as a reporting inconsistency.

#### Search outputs and build the reference baseline

For each generated image, the detector retrieves the closest training examples. The principal comparison uses dot-product similarity, with DINO using split-product. The highest-ranked training match supplies a top-1 similarity score.

The authors then construct a second distribution. They take training images as queries and retrieve their closest neighbors from the remaining training data. Excluding the query itself prevents the comparison from becoming a trivial self-match.

This reference distribution describes how repetitive the collection already is. If generated images receive much stronger matches than training images receive from one another, copying becomes a more plausible explanation. If the distributions overlap closely, generated-to-training resemblance may reflect the collection’s existing structure.

Visual inspection follows the scoring stage. For the smaller diffusion experiments, illustrated examples come from the 20 generations with the strongest top-1 similarities. For Stable Diffusion, the authors inspect a high-similarity group identified through SSCD. The figures therefore reveal suspicious cases deliberately selected by a stated rule; they do not depict a random cross-section of all outputs.

### Experiments and results

#### Retrieval tools disagree in useful ways

The retrieval benchmark establishes that detector choice affects what the audit can see. DINO with split-product has the best average rank over the 10 evaluation datasets. Swin performs best on the real retrieval datasets, whereas SSCD is strongest on the synthetic replication collections.

These outcomes have a direct interpretation. Natural instance retrieval rewards recognition across changes of viewpoint and setting. Constructed copying cases reward recovery of a known reused region in spite of altered surroundings. A feature extractor can perform well on one relationship without leading on the other.

The authors report that additional metrics produce similar broad rankings. This supports using the selected detectors beyond a single scoring convention. It does not make their outputs interchangeable. Their Stable Diffusion examples show that SSCD can concentrate on almost identical versions of an image while DINO retrieves a more varied group with related content.

The numerical mAP entries are not available in the paper’s narrative account, so the defensible result is the reported ordering rather than an invented performance margin. The important operational outcome is the selection of SSCD, Swin, and DINO with split-product for the generation studies.

#### Small face collections produce clear copies

The Celeb-A experiments show conspicuous reproduction when training data are scarce. Generations from the 300-image and 3000-image settings include pictures that closely reproduce training faces. These are not merely members of the same broad category; the retrieved examples support detailed visual correspondence.

The distributions distinguish the settings more clearly than isolated examples do. For the 300-image experiment, most generated samples receive very strong matches to training data. The generated-to-training distribution therefore indicates widespread close resemblance within that setting.

With 3000 training images, the distribution moves towards lower similarities. Clear copies still occur, but they become less common. This combination matters: increasing data reduces the typical tendency to reproduce examples without eliminating the possibility of a striking copy.

The complete-data checkpoint behaves differently again. Its generated-to-training similarities overlap strongly with the training-to-training baseline. The authors interpret this as evidence that generated images are not generally more duplicative than the collection itself.

The full-data histogram also lacks the pronounced high-similarity tail seen in the smaller settings. This supports the narrower conclusion that obvious exact reproduction is unlikely in the sampled outputs. It does not establish that no training content could ever be recovered by another procedure or under another sampling condition.

The baseline itself contains a small group of similarities above 0.9. The authors attribute this to duplicate or nearly duplicate training pictures. That observation illustrates why a reference distribution is needed: strong matches can reflect repetition already present in the data.

#### Flowers show the same broad direction

Oxford Flowers provides a second domain for the training-size comparison. The experiments move from a 100-image collection through an intermediate subset to the full 8189-image dataset. As with faces, the authors observe less direct reproduction as the amount of data increases.

The intermediate flower setting is especially informative. With 1083 images in the main account, the generator already produces small but distinct variations rather than simply returning identical training pictures. This suggests that the transition from copying to variation depends on the visual domain and the available diversity.

The result does not yield a universal threshold for adequate dataset size. Faces and flowers differ in their structure, and the training configurations also vary. The paper’s evidence supports a trend within these experiments, not a rule that any particular collection size guarantees novelty.

The flower study uses 5000 generations for quantitative analysis. Its examples serve the same purpose as the face figures: they make the highest-similarity cases inspectable while the distributions describe broader behavior. Neither kind of evidence should be interpreted alone.

#### ImageNet offers a counterexample to inevitable replication

The ImageNet case study uses an existing class-conditioned latent diffusion checkpoint. The authors randomly select 100 classes and generate 1000 samples for each class. This permits inspection within classes as well as comparison across the sampled population.

They do not find convincing exact copying in the inspected generations. The strongest similarities remain below 0.65. High-scoring pairs can look very alike, but the authors judge them to be different images rather than straightforward reproductions.

Class structure helps explain some of that resemblance. Categories with more internally similar training images also tend to yield stronger generated-to-training matches. The reported correlation is 0.6, and the fitted relationship has slope 0.39.

The paper identifies theater curtains, peacocks, and bananas among the categories with particularly strong matches. Categories towards the other end include sea lions and shopping carts. These examples show why resemblance needs interpretation: some classes constrain shape and composition more tightly than others.

Across the sampled classes, both generated-to-training and training-to-training similarities are comparatively low. The qualitative inspection and aggregate distributions therefore point in the same direction. Significant replication is not detected in this setting.

The significance of this result is comparative. It shows that the observed copying in smaller experiments is not an unavoidable visible property of every diffusion system. It also supplies a useful caution against assuming that any high nearest-neighbor match must be a copy.

#### Stable Diffusion reproduces content despite large-scale training

Stable Diffusion v1.4 has a much larger training history. The paper describes initial training on over 2B images, followed by [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) using 600M images from an aesthetics-filtered LAION subset. Searching all of that material is outside the authors’ available storage and computation.

They instead search the 12M-image Aesthetics v2 6+ subset. This collection contains training material, but it represents only part of what the system has seen. The experiment can establish a match when it finds one; failure to retrieve a source does not establish that the source was absent from training.

The authors sample 9000 captions from this collection with replacement. Each caption produces a single image, with no manual selection among alternative generations. The supplementary settings specify guidance scale 7.5, strength 0.5, and 50 steps.

Roughly 170 generated images fall above the SSCD similarity threshold of 0.5. The paper associates this group with the top 1.88 percentile and later describes the corresponding share as approximately 1.88%. Visual examination of this region reveals substantial reuse.

The cases include detailed foreground-and-background correspondence as well as copying confined to a background. A generated composition can therefore change one visible element while retaining much of the original setting. This is precisely the behavior that a definition restricted to complete duplicate pictures would miss.

The paper also describes reconstructed content whose semantic identity remains recognizable in spite of pixel-level differences. Such cases complicate any attempt to draw a single threshold between invention and repetition. They are part of the reason the authors present matched examples alongside scores.

#### A caption’s source is not necessarily the copied image

A useful feature of the Stable Diffusion experiment is that every sampled caption has an associated source image. The authors can therefore distinguish that source from the nearest training match retrieved for the generation.

None of the generated images matches its own corresponding source in their observations. This weakens a simple account in which supplying a training caption merely retrieves the exact picture originally paired with it.

Some source captions also describe their own images poorly. A generation can follow the wording while diverging from the caption’s source picture. In another case, the retrieved match fits the caption more closely than the original source does.

A comparison using 1000 generated images and their 1000 caption-source images supports the same distinction. Generated images have lower average nearest-neighbor similarities than the source images do. Caption reuse therefore does not ordinarily produce direct reconstruction of the paired source in this experiment.

That result coexists with copying from elsewhere in the collection. A phrase can evoke material associated with other images even when it does not reproduce the image that supplied the caption. The prompt-to-source relationship and the output-to-match relationship answer different questions.

#### Duplication concentrates among the strongest matches

To examine repetition in LAION, the authors define near duplicates using SSCD similarity above 0.95. They compare how frequently images recur in the searched collection, separating randomly sampled source images from images retrieved as matches to generated outputs.

For 1000 random source images, the reported average duplication count is 11.6. Across ordinary retrieved matches, the corresponding average is 3.1. Looking at all matches therefore does not support the simple claim that generated images are generally closest to the collection’s most repeated pictures.

The pattern changes when the analysis focuses on strong generated-to-training correspondence. Among matches with SSCD similarity above .5, the average duplication count is 34.1. The images associated with these conspicuous matches are substantially more repetitive within the searched collection.

LAION-Aesthetics image groups and average duplication count Strong generated-image matches are associated with the most repeated training images among these groups.

**The numbers**

| System or setting | average duplication count |
| --- | --- |
| Retrieved matches overall | 3.1 |
| Random source images | 11.6 |
| Strong matches above .5 SSCD (this paper) | 34.1 |

The chart’s direction indicates greater concentration of repeated training material, not better generation quality. The starred group is the setting with the strongest reported association between close matching and duplication.

These counts are evidence of an association, not a controlled estimate of duplication’s causal effect. The collection, captions, and training exposure all remain entangled. The authors consequently treat duplication as important but insufficient to explain the entire pattern.

### What the ablations show

#### The paper offers controlled comparisons rather than a single ablation ladder

This study does not introduce a generator whose components are removed one by one. Its explanatory evidence comes from detector comparisons, synthetic stress tests, training-size changes, prompt variations, and analyses of dataset structure.

That form of evidence suits the central question. The researchers are trying to establish whether replication occurs and how to recognize it. They must therefore investigate the measurement procedure as well as the systems being measured.

Some comparisons are more controlled than others. Changing the preserved region in a synthetic retrieval query isolates a detector challenge relatively directly. Comparing ImageNet generation with Stable Diffusion changes several conditions together. The latter can motivate hypotheses, but it cannot by itself identify a unique cause.

#### Synthetic shapes probe what detectors actually recognize

The move from square pasted regions to triangular retained regions tests a potential advantage arising from transformer patch structure. If performance depended entirely on square boundaries, a detector might look effective for the wrong reason.

Segmentation-based examples broaden the challenge further. They preserve irregular objects or backgrounds rather than geometric patches. Changes to size, position, and appearance test whether the detector remains sensitive to the source relationship when the copied content no longer occupies the same place.

These constructions support the paper’s choice to evaluate replication as local content reuse. They also show why ordinary instance retrieval datasets cannot carry the entire argument. A representation that recognizes the same bird category across photographs may still fail to identify a particular pasted background.

The paper does not provide a numerical decomposition attributing detector performance to each individual transformation. Its contribution here is the range of controlled conditions and the resulting aggregate detector comparison, instead of a separate causal estimate for every augmentation.

#### Split-product changes the meaning of a close match

The comparison between global inner products and split-product asks whether a localized score retrieves evidence hidden by whole-image similarity. The answer is partly affirmative: both methods find useful matches, and their results often differ.

DINO with split-product performs best by average rank across the detector benchmark. Yet the Stable Diffusion examples also show it returning semantically related matches whose pixels differ more substantially. SSCD can be stricter about detailed visual alignment.

One illustrative generation has top SSCD matches that are repeated versions of the same source image. Edges in the generated object align closely with the retrieved source. DINO returns a broader selection of visually related images instead.

This is a warning against interpreting a detector leaderboard as a complete audit strategy. Strong average retrieval performance does not mean that every high-scoring pair supports the same claim. Local semantic resemblance, structural correspondence, and almost identical appearance must still be distinguished during inspection.

#### More training data reduces copying in the smaller studies

The face and flower experiments provide the clearest evidence that data availability affects reproduction. The smallest training sets yield extensive close matching. Larger settings produce more variation and distributions closer to the training-to-training baseline.

However, these experiments do not change dataset size while freezing every other aspect of training. Batch sizes, learning rates, and training schedules differ, and the complete face setting uses an existing checkpoint. A careful interpretation is therefore that the tested larger-data configurations exhibit less copying.

The findings still matter because the effect appears across both visual domains. They make scarcity of examples a credible contributor to replication. They do not establish a universal scaling law or a precise dataset size beyond which reproduction disappears.

The authors also use these experiments to challenge duplication as a complete explanation. A small collection can produce copying even when it is unlikely to contain repeated images. Repeated exposure to a limited set of distinct examples can matter without duplicate files being present.

#### Dataset self-similarity explains part of the ImageNet pattern

The ImageNet analysis relates the strongest generated-to-training matches to the average resemblance among examples in each class. The reported correlation of 0.6 indicates a meaningful association within the sampled classes.

This supports a concrete interpretation: when a class has limited visual diversity, a new image can resemble a training example strongly without reproducing it. Bananas or theater curtains may constrain the possible appearance more than some other categories.

The fitted slope of 0.39 describes the reported relationship; it does not identify a mechanism. The analysis remains observational. Its value is to provide an alternative explanation for high similarity and to show that a detector score should be considered alongside class structure and visual evidence.

The broader baseline comparison makes the same point at population level. Strong resemblance is more suspicious when it exceeds what the reference collection routinely exhibits.

#### Small prompt changes reveal strong associations

The Stable Diffusion prompt investigations examine whether particular wording repeatedly evokes recognizable content. One example involves a phrase used in wall-art product descriptions. Including that wording produces a particular sofa in approximately 20% of the trials described by the authors.

This is more specific than a general observation that furnishing prompts yield sofas. The suspicious relationship concerns a particular visual object recurring across generated settings. The wording appears to act as a cue for that retained content.

A separate investigation progressively removes words from a prompt referring to Hokusai’s wave painting. Even when the description is reduced to the ideas of a painting and a wave, the resulting wave structure continues to resemble the familiar source.

These examples show that an explicit request for a named image is not always necessary for recognizable reproduction. They do not establish how often the same behavior would occur across all objects or all prompt families. The study presents them as informative cases within the broader retrieval investigation.

#### Artist prompts expose a boundary between content and style

The authors also investigate prompts combining a painting’s name with an artist’s name. Their hand-curated exploration covers around 20 artists, including classical and contemporary examples.

The resulting pictures reproduce known paintings with varying fidelity. Some preserve substantial content, while others retain a recognizable style with less direct structural copying. This supports the paper’s decision to keep style outside its main operational definition.

The comparison is informative but does not yield a separate measured rate for style imitation. The prompts are deliberately chosen to invoke artists and paintings, and the figures illustrate a range of outcomes. They cannot be treated as a random sample of routine image generation.

Together, the prompt analyses reveal that input wording can change the probability and character of reproduction. They also explain why the main experiment’s caption sampler belongs in the interpretation of its results.

### Limitations

#### The authors state that the search is incomplete

The most consequential limitation is coverage. The Stable Diffusion audit searches 12M images from the Aesthetics v2 6+ subset, while the training history includes over 2B images and a 600M-image fine-tuning collection. The searched material accounts for less than 0.6% of the overall training data described by the authors.

A successful retrieval supplies evidence of reuse from that subset. An unsuccessful retrieval leaves open the possibility that the relevant source exists elsewhere. The authors illustrate this with a generated version of “The Scream” whose source belongs to the larger aesthetics collection but lies outside the subset used for searching.

This example makes the coverage problem concrete. The detector can fail to provide a source not because the output is original, but because the search database lacks the relevant training image. More capable retrieval alone would not solve that absence.

The authors also acknowledge detector failures. Their feature extractors may overlook copied content even when a source is available. A small object, an altered arrangement, or a relationship poorly represented by the chosen features could escape the search.

For these reasons, the authors describe their findings as systematically undercounting replication. That statement concerns missing evidence under their procedure. It does not supply a correction factor or permit a numerical estimate of the unseen amount.

#### The authors acknowledge that similarity has a judgment component

The paper offers an informal working definition rather than a universally accepted boundary. Some matched pairs are unambiguous, while others fall between direct reproduction and ordinary visual resemblance.

A similarity threshold helps identify cases for inspection, but it does not resolve that boundary. The approximately 1.88% high-similarity share should therefore remain attached to its scoring rule and sampling conditions. It is not a legally adjudicated fraction of infringing outputs.

The authors deliberately avoid deciding which uses are acceptable. Content reuse could be permitted, desirable, or objectionable depending on context. Their experiments establish technical behavior rather than the legal ownership of generated images.

Their principal scope also excludes style as such. The artist-prompt examples broaden the discussion, but they do not transform the main detector into a general measure of creative influence or stylistic appropriation.

#### The authors identify prompt sampling as a possible bias

The main Stable Diffusion experiment draws captions from LAION. Those captions may contain phrases strongly associated with particular training images. This can make reproduction more likely than under some other input distribution.

At the same time, the authors note that practiced users also employ phrases common in the training collection. A hypothetical neutral sampler is therefore difficult to define. Replacing dataset captions with arbitrary descriptions would change the experiment without automatically making it representative.

The appropriate conclusion is conditional. The reported behavior occurs under the paper’s caption-sampling procedure and under its additional targeted prompts. Neither set of observations establishes a universal rate for all uses of Stable Diffusion.

The key-phrase examples strengthen the reason to preserve this qualification. Input wording is not merely a way to label desired content; it can also act as a cue associated with particular retained images.

#### Further limits follow from the experimental comparisons

A careful reader should distinguish failure to detect from proof of absence. The ImageNet result is reassuring within the sampled classes, generated images, and retrieval methods. It cannot establish that no prompt, random draw, or specialized extraction procedure could ever recover training content.

The same distinction applies to the complete-data face experiment. Overlapping similarity distributions show that ordinary generations are not unusually close to training examples on average. They do not rule out a rare event outside the sample.

The training-size comparisons also change optimization settings. They support a broad empirical trend, but they do not isolate dataset size with all other conditions held constant. The difference between the main and supplementary descriptions of the intermediate flower collection adds uncertainty about that particular setup.

The causal discussion of Stable Diffusion is necessarily provisional. Text conditioning, uneven duplication, and repeated training updates are plausible contributors identified by the authors. The paper does not independently vary those factors to measure their separate effects.

The duplication analysis has the same limitation. Strong matches are associated with more frequently repeated training images, but those images may also differ in captions, content, or other properties. The reported association cannot show that deduplication alone would remove the observed behavior.

Finally, the visual figures emphasize suspicious outputs. Their selection follows stated similarity criteria, which makes them valuable evidence that copying happens. Their visual impact should not be mistaken for evidence that the same degree of copying characterizes a typical generation.

### What came after

The later citation record supplied for this paper connects its questions to work on extracting training text and to a subsequent large-scale language-system report. The available descriptions support a detailed connection for the former and only a limited statement for the latter.

[Scalable Extraction](https://md.research.elamur.ai/free/en/papers/nasr-2023-scalable-extraction-training-data-production/) investigates how much training material an attacker can recover from a language system without knowing its training collection. It calls the target “extractable memorization.” The accompanying description contrasts that objective with earlier approaches dependent on slow manual checking or prompts drawn from genuine training passages.

The connection is methodological. The diffusion study asks whether generated outputs reproduce training content and uses retrieval to locate evidence. Scalable Extraction focuses on whether an attacker can actually obtain such material under restricted knowledge. Both direct attention away from a vague claim that a system retains information and towards an observable event involving recovered content.

Their stated access conditions also clarify a limit of the diffusion investigation. Searching a known image subset provides a route to verifying suspicious matches, but it assumes access to reference material. The later extraction question asks what remains possible when the attacker lacks that knowledge. The available account does not establish that the later work adopts SSCD, split-product scoring, or the image paper’s thresholds.

[The Llama 3 Herd of Models](https://md.research.elamur.ai/free/en/papers/grattafiori-2024-llama-3-herd-models/) is also listed as citing the diffusion study. No accompanying description specifies how it uses the citation. It would therefore be unwarranted to attribute a particular audit, mitigation, or result to that relationship.

What these connections preserve is the paper’s central scientific distinction: retaining training information and releasing recognizable training content are different propositions. Investigating the latter requires an explicit event, a way to identify its source, and conclusions bounded by the search procedure.

## Cite

Cite as Gowthami Somepalli, Vasu Singla, Micah Goldblum, Jonas Geiping and Tom Goldstein. 2023. Diffusion Art or Digital Forgery? Investigating Data Replication in Diffusion Models. IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1109/cvpr52729.2023.00586](https://doi.org/10.1109/cvpr52729.2023.00586) · [arXiv 2212.03860](https://arxiv.org/abs/2212.03860)

```bibtex
@inproceedings{somepalli2023diffusion,
  title = {{Diffusion Art or Digital Forgery? Investigating Data Replication in Diffusion Models}},
  author = {Gowthami Somepalli, Vasu Singla, Micah Goldblum, Jonas Geiping and Tom Goldstein},
  booktitle = {IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings},
  year = {2023},
  doi = {10.1109/cvpr52729.2023.00586},
  eprint = {2212.03860},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1109/cvpr52729.2023.00586}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
