SolidMark: Evaluating Image Memorization in Generative Models

Nicky Kriplani, Minh Pham, Gowthami Somepalli, Chinmay Hegde, Niv Cohen
3/1/2025
cs.LG

Official code: NickyDCFP/SolidMark (1 star, last commit 2024-10-02).

Abstract

Recent works have shown that diffusion models are able to memorize training images and emit them at generation time. However, the metrics used to evaluate memorization and its mitigation techniques suffer from dataset-dependent biases and struggle to detect whether a given specific image has been memorized or not. This paper begins with a comprehensive exploration of issues surrounding memorization metrics in diffusion models. Then, to mitigate these issues, we introduce $\rm \style{font-variant: small-caps}{SolidMark}$, a novel evaluation method that provides a per-image memorization score. We then re-evaluate existing memorization mitigation techniques. We also show that $\rm \style{font-variant: small-caps}{SolidMark}$ is capable of evaluating fine-grained pixel-level memorization. Finally, we release a variety of models based on $\rm \style{font-variant: small-caps}{SolidMark}$ to facilitate further research for understanding memorization phenomena in generative models. All of our code is available at https://github.com/NickyDCFP/SolidMark.

View on arXivView PDF

Code Implementations(1)

10Python, Jupyter NotebookMay 18, 20242 years ago

Similar Papers

Cite this paper

@article{kriplani2025solidmark,
  title  = {SolidMark: Evaluating Image Memorization in Generative Models},
  author = {Nicky Kriplani and Minh Pham and Gowthami Somepalli and Chinmay Hegde and Niv Cohen},
  year   = {2025},
  eprint = {2503.00592},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.00592v1}
}

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/2503.00592.svg)](https://codeofpaper.com/paper/2503.00592)

Discussion