mlsanityData to 14 Oct 2026

Reconstructing Template-Memorized Images from Natural Prompts

arXiv 2507.07947 ↗First posted 10 Jul 2025cs.LG cs.AIcited by 1

On the map: Diffusion models → Robustness, privacy and adversarial aspects

Abstract (arXiv)

Recent advances in generative models, such as diffusion models, have raised concerns related to privacy, copyright infringement, and data stewardship. To better understand and control these risks, prior work has introduced techniques and attacks that reconstruct images, or parts of images, from training data. While these results demonstrate that training data can be recovered, existing methods often rely on high computational resources, partial access to the training set, or carefully engineered prompts. In this work, we present a new attack that requires low resources, assumes little to no access to the training data, and identifies seemingly benign prompts that can lead to potentially risky image reconstruction. We further show that such reconstructions may occur unintentionally, even for users without specialized knowledge. For example, we observe that for one existing model, the prompt ``blue Unisex T-Shirt'' generates the face of a real individual. Moreover, by combining the identified vulnerabilities with real-world prompt data, we discover prompts that reproduce memorized visual elements. Our approach builds on insights from prior work and leverages domain knowledge to expose a fundamental vulnerability arising from the use of scraped e-commerce data, where templated layouts and images are closely tied to pattern-like textual prompts. The code for our attack is publicly available at https://github.com/TheSolY/lr-tmi.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Robustness, privacy and adversarial aspects, one of 14 directions in Diffusion models. Builds on 25 of its 37 references that are in the map. First posted on arXiv 10 Jul 2025.

Builds on

25 of 37 references.

Closest ancestors · 6

Same direction, newest first

  1. 2024Not Every Image is Worth a Thousand Words: Quantifying Originality in Stable Diffusion15 Aug
  2. 2024Jailbreaking Prompt Attack: A Controllable Adversarial Attack against Diffusion Models2 Apr
  3. 2023To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still Easy To Generate Unsafe Images ... For Now18 Oct
  4. 2023SneakyPrompt: Jailbreaking Text-to-image Generative Models20 May
  5. 2023A Reproducible Extraction of Training Images from Diffusion Models15 May
  6. 2023Extracting Training Data from Diffusion Models30 Jan

Other references · 19

  1. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
  2. 2020Extracting Training Data from Large Language Modelscited by 2,189
  3. 2021Deduplicating Training Data Makes Language Models Bettercited by 714
  4. 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 460
  5. 2022Diffusion Art or Digital Forgery? Investigating Data Replication in Diffusion Modelscited by 424
  6. 2019Dreaming to Distill: Data-free Knowledge Transfer via DeepInversioncited by 423
  7. 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 314
  8. 2023Understanding and Mitigating Copying in Diffusion Modelscited by 209
  9. 2022Reconstructing Training Data from Trained Neural Networkscited by 133
  10. 2024Understanding Hallucinations in Diffusion Models through Mode Interpolationcited by 91
  11. 2022Position: Considerations for Differentially Private Learning with Large-Scale Public Pretrainingcited by 88
  12. 2024Finding NeMo: Localizing Neurons Responsible For Memorization in Diffusion Modelscited by 37
7 more
  1. 2023Can Copyright be Reduced to Privacy?cited by 24
  2. 2024Exploring Local Memorization in Diffusion Models via Bright Ending Attentioncited by 19
  3. 2023Information Theoretic Lower Bounds for Information Theoretic Upper Boundscited by 17
  4. 2022Formalizing Human Ingenuity: A Quantitative Framework for Copyright Law's Substantial Similaritycited by 15
  5. 2024Not All Similarities Are Created Equal: Leveraging Data-Driven Biases to Inform GenAI Copyright Disputescited by 10
  6. 2024Tackling Copyright Issues in AI Image Generation Through Originality Estimation and Genericizationcited by 6
  7. 2024Credit Attribution and Stable Compressioncited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025PROMPTMINER: Black-Box Prompt Stealing against Text-to-Image Generative Models via Reinforcement Learning and Fuzz Optimization
  2. 2026PROVE: Training-Free Prompt Recovery using Verifiable Evidence
  3. 2025Safer Prompts: Reducing Risks from Memorization in Visual Generative AI
  4. 2025Towards Effective Prompt Stealing Attack against Text-to-Image Diffusion Models
  5. 2025Vulnerability of Text-to-Image Models to Prompt Template Stealing: A Differential Evolution Approach
  6. 2022DE-FAKE: Detection and Attribution of Fake Images Generated by Text-to-Image Generation Models
  7. 2025Prompt-Based Safety Guidance Is Ineffective for Unlearned Text-to-Image Diffusion Models
  8. 2025Unconsciously Forget: Mitigating Memorization; Without Knowing What is being Memorized