Membership Inference on Text-to-Image Diffusion Models via Conditional Likelihood Discrepancy

Shengfang Zhai, Huanran Chen, Yinpeng Dong, Jiajun Li, Qingni Shen +3 more
2/3/2026

No official code found. Best implementation: zhaisf/CLiD (12 stars, Apache-2.0, last commit 2025-09-15).

Abstract

Text-to-image diffusion models have achieved tremendous success in the field of controllable image generation, while also coming along with issues of privacy leakage and data copyrights. Membership inference arises in these contexts as a potential auditing method for detecting unauthorized data usage. While some efforts have been made on diffusion models, they are not applicable to text-to-image diffusion models due to the high computation overhead and enhanced generalization capabilities. In this paper, we first identify a conditional overfitting phenomenon in text-to-image diffusion models, indicating that these models tend to overfit the conditional distribution of images given the corresponding text rather than the marginal distribution of images only. Based on this observation, we derive an analytical indicator, namely Conditional Likelihood Discrepancy (CLiD), to perform membership inference, which reduces the stochasticity in estimating memorization of individual samples. Experimental results demonstrate that our method significantly outperforms previous methods across various data distributions and dataset scales. Additionally, our method shows superior resistance to overfitting mitigation strategies, such as early stopping and data augmentation.

View on arXivView PDF

Code Implementations(1)

zhaisf/CLiDCommunity100%
Apache-2.0

[NeurIPS 2024] "Membership Inference on Text-to-image Diffusion Models via Conditional Likelihood Discrepancy"

122Shell, PythonSep 28, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhai2026membership,
  title  = {Membership Inference on Text-to-Image Diffusion Models via Conditional Likelihood Discrepancy},
  author = {Shengfang Zhai and Huanran Chen and Yinpeng Dong and Jiajun Li and Qingni Shen and Yansong Gao and Hang Su and Yang Liu},
  year   = {2026},
  eprint = {2405.14800},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2405.14800},
  url    = {https://arxiv.org/abs/2405.14800},
  journal = {NEURIPS 2024 2024}
}

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

Discussion