Back to Search Start Over

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

Authors :
Kim, Dahye
Thomas, Xavier
Ghadiyaram, Deepti
Publication Year :
2024

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 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<br />Comment: 14 pages, 14 figures

Details

Database :
arXiv
Publication Type :
Report
Accession number :
edsarx.2411.16725
Document Type :
Working Paper