$\textit{Revelio}$: Interpreting and leveraging semantic information in diffusion models

Dahye Kim, Xavier Thomas, Deepti Ghadiyaram
11/23/2024
cs.CV

Official code: revelio-diffusion/revelio (26 stars, last commit 2025-06-29).

Abstract

We study $\textit{how}$ rich visual semantic information is represented within various layers and denoising timesteps of different diffusion architectures. We uncover monosemantic interpretable features by leveraging k-sparse autoencoders (k-SAE). We substantiate our mechanistic interpretations via transfer learning using light-weight classifiers on off-the-shelf diffusion models' features. On $4$ datasets, we demonstrate the effectiveness of diffusion features for representation learning. We provide an in-depth analysis of how different diffusion architectures, pre-training datasets, and language model conditioning impacts visual representation granularity, inductive biases, and transfer learning capabilities. Our work is a critical step towards deepening interpretability of black-box diffusion models. Code and visualizations available at: https://github.com/revelio-diffusion/revelio

View on arXivView PDF

Code Implementations(1)

263CSS, HTMLNov 16, 20241 years ago

Similar Papers

Cite this paper

@article{kim2024textitrevelio,
  title  = {$\textit{Revelio}$: Interpreting and leveraging semantic information in diffusion models},
  author = {Dahye Kim and Xavier Thomas and Deepti Ghadiyaram},
  year   = {2024},
  eprint = {2411.16725},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.16725v3}
}

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

Discussion