LGMay 30, 2025

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

arXiv:2505.24360v35 citationsh-index: 20
Originality Synthesis-oriented
AI Analysis

This work addresses the challenge of making complex AI models more interpretable for researchers and practitioners, though it is incremental as it extends existing methods to a new model.

The researchers tackled the problem of interpreting large text-to-image diffusion models by applying sparse autoencoders (SAEs) and inference-time decomposition of activations (ITDA) to Flux 1, finding that SAEs accurately reconstruct embeddings and outperform MLP neurons in interpretability, enabling image steering through activation addition.

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. 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.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes