Interpreting Large Text-to-Image Diffusion Models with Dictionary Learning

Stepan Shabalin, Ayush Panda, Dmitrii Kharlapenko, Abdur Raheem Ali, Yixiong Hao +1 more
5/30/2025
cs.LG
diffusion-flow

No confident code implementation found for this paper.

Abstract

Sparse autoencoders are a promising new approach for decomposing language model activations for interpretation and control. They have been applied successfully to vision transformer image encoders and to small-scale diffusion models.

Show full abstract

Inference-Time Decomposition of Activations (ITDA) is a recently proposed variant of dictionary learning that takes the dictionary to be a set of data points from the activation distribution and reconstructs them with gradient pursuit. We apply Sparse Autoencoders (SAEs) and ITDA to a large text-to-image diffusion model, Flux 1, and consider the interpretability of embeddings of both by introducing a visual automated interpretation pipeline. We find that SAEs accurately reconstruct residual stream embeddings and beat MLP neurons on interpretability. We are able to use SAE features to steer image generation through activation addition. We find that ITDA has comparable interpretability to SAEs.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shabalin2025interpreting,
  title  = {Interpreting Large Text-to-Image Diffusion Models with Dictionary Learning},
  author = {Stepan Shabalin and Ayush Panda and Dmitrii Kharlapenko and Abdur Raheem Ali and Yixiong Hao and Arthur Conmy},
  year   = {2025},
  eprint = {2505.24360},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.24360v3}
}

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

Discussion