Self-Discovering Interpretable Diffusion Latent Directions for Responsible Text-to-Image Generation

Hang Li, Chengzhi Shen, Philip H. S. Torr, Volker Tresp, Jindong Gu
2/14/2026

No official code found. Best implementation: hangligit/InterpretDiffusion (48 stars, last commit 2024-05-14).

Abstract

Diffusion-based models have gained significant popularity for text-to-image generation due to their exceptional image-generation capabilities. A risk with these models is the potential generation of inappropriate content, such as biased or harmful images. However, the underlying reasons for generating such undesired content from the perspective of the diffusion model's internal representation remain unclear. Previous work interprets vectors in an interpretable latent space of diffusion models as seman-tic concepts. However, existing approaches cannot discover directions for arbitrary concepts, such as those related to inappropriate concepts. In this work, we propose a novel self-supervised approach to find interpretable latent directions for a given concept. With the discovered vectors, we further propose a simple approach to mitigate inappropriate generation. Extensive experiments have been conducted to verify the effectiveness of our mitigation approach, namely, for fair generation, safe generation, and responsible text-enhancing generation. Project page: https://interpretdiffusion.github.io.

View on arXivView PDF

Code Implementations(1)

[CVPR 2024] Self-Discovering Interpretable Diffusion Latent Directions for Responsible Text-to-Image Generation

486MDX, PythonApr 10, 20242 years ago

Similar Papers

Cite this paper

@article{li2026selfdiscovering,
  title  = {Self-Discovering Interpretable Diffusion Latent Directions for Responsible Text-to-Image Generation},
  author = {Hang Li and Chengzhi Shen and Philip H. S. Torr and Volker Tresp and Jindong Gu},
  year   = {2026},
  eprint = {2311.17216},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2311.17216},
  journal = {CVPR 2023 2023}
}

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

Discussion