An Inversion-based Measure of Memorization for Diffusion Models

Zhe Ma, Qingming Li, Xuhong Zhang, Tianyu Du, Ruixiao Lin +3 more
5/9/2024
cs.CRcs.CV

No official code found. Best implementation: Maryeon/InvMM (4 stars, last commit 2025-03-20).

Abstract

The past few years have witnessed substantial advances in image generation powered by diffusion models. However, it was shown that diffusion models are susceptible to training data memorization, raising significant concerns regarding copyright infringement and privacy invasion. This study delves into a rigorous analysis of memorization in diffusion models. We introduce InvMM, an inversion-based measure of memorization, which is based on inverting a sensitive latent noise distribution accounting for the replication of an image. For accurate estimation of the measure, we propose an adaptive algorithm that balances the normality and sensitivity of the noise distribution. Comprehensive experiments across four datasets, conducted on both unconditional and text-guided diffusion models, demonstrate that InvMM provides a reliable and complete quantification of memorization. Notably, InvMM is commensurable between samples, reveals the true extent of memorization from an adversarial standpoint and implies how memorization differs from membership. In practice, it serves as an auditing tool for developers to reliably assess the risk of memorization, thereby contributing to the enhancement of trustworthiness and privacy-preserving capabilities of diffusion models.

View on arXivView PDF

Code Implementations(1)

Maryeon/InvMMCommunity100%
40PythonNov 21, 20241 years ago

Similar Papers

Cite this paper

@article{ma2024inversionbased,
  title  = {An Inversion-based Measure of Memorization for Diffusion Models},
  author = {Zhe Ma and Qingming Li and Xuhong Zhang and Tianyu Du and Ruixiao Lin and Zonghui Wang and Shouling Ji and Wenzhi Chen},
  year   = {2024},
  eprint = {2405.05846},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.05846v3}
}

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

Discussion