Low Resource Reconstruction Attacks Through Benign Prompts

Sol Yarkoni, Mahmood Sharif, Roi Livni
7/10/2025
cs.LGcs.AI

Official code: TheSolY/lr-tmi (1 star, last commit 2026-01-26).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

TheSolY/lr-tmiOfficial100%

Low Resource Attack on Stable Diffusion to extract Template Memorized Images.

10Shell, PythonMay 12, 20258 months ago

Similar Papers

Cite this paper

@article{yarkoni2025resource,
  title  = {Low Resource Reconstruction Attacks Through Benign Prompts},
  author = {Sol Yarkoni and Mahmood Sharif and Roi Livni},
  year   = {2025},
  eprint = {2507.07947},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.07947v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.07947.svg)](https://codeofpaper.com/paper/2507.07947)

Discussion