NeurIPS 2026QuestionsPapersAreasAboutMarkdown

CASL: Concept-Aligned Sparse Latents for Interpreting Diffusion Models

Zhenghao He, Guangzhi Xiong, Boyang Wang, Sanchit Sinha, Aidong Zhang

NeurIPS page · Open on the map

Category: Interpretability & Model Adaptation › Concept Decomposition and Interpretability · Type: new method · Keywords: diffusion model interpretability, sparse autoencoders, concept alignment, latent steering, image generation

Areas: Interpretability › Mechanistic Interpretability › Concept Geometry and Interpretability

Summary

CASL introduces a supervised framework that aligns sparse latent dimensions of diffusion models with semantic concepts, enabling precise causal probing of generated images.

Explained to a 5-year-old

We look inside a picture-making computer program. It has hidden spots that store ideas like smiling or wearing glasses. These spots are messy, so we make a special tool to tidy them up. Then we draw lines from each idea to its tidy spot, so we can ask the computer to add or remove that idea when making new pictures. This helps us understand how the computer decides what to draw.

Explained to a 5-year-old, longer

A computer can draw pictures using a special kind of program called a diffusion model. Inside this program there are hidden places called latents that hold information about things like faces, animals, or objects. These hidden places are usually tangled together, making it hard to know what each one means. To help, we use a tool called a sparse autoencoder that separates the tangled information into simpler pieces. Then we connect each simple piece to a clear idea, like “smiling” or “wearing a hat,” by drawing a line between them. This line lets us move the idea’s influence up or down, so we can add or remove that idea from a new picture. We call this moving a “steer” because it guides the picture-making process. To check how well the idea works, we compare the picture’s details with what we want, using a special score. The experiments show that when we steer using these clear lines, the pictures change in exactly the way we expect. Also, a small group of these clear pieces already contains most of the information about the idea. This makes it easier for people to understand why a picture looks the way it does. Overall, the method gives us a reliable way to see and control the hidden thoughts of picture-making computers.

For a technical reader

The paper presents a way to map semantic concepts to latent directions in diffusion models, making their internal representations more interpretable. It uses a sparse autoencoder on frozen U-Net activations and adds a simple linear mapping to align concepts. A new steering technique lets engineers probe how each concept influences image generation without altering the model. Evaluation on several image datasets shows improved control and clearer concept signals compared to existing editing methods.

Problem

Interpreting the internal activations of diffusion models to understand how they encode semantic concepts is challenging, especially when sparse autoencoders are used without alignment to human-understandable concepts.

Method

The approach first trains a sparse autoencoder on frozen U-Net activations to obtain disentangled latent representations, then learns a lightweight linear mapping that links each semantic concept to a small set of latent dimensions. A controlled latent intervention shifts activations along these concept axes for causal probing, and an Editing Precision Ratio metric evaluates concept specificity and attribute preservation.

Results

The approach shows more precise and disentangled causal effects on standard image datasets compared to prior activation-space editing methods, and classification probing confirms that aligned latent units carry strong concept signals.

Contributions

A supervised alignment framework that links sparse latent dimensions of diffusion models to semantic concepts, a controlled latent intervention for causal probing, and a new Editing Precision Ratio metric to evaluate concept specificity and attribute preservation.

Limitations and assumptions

The study focuses on unconditional diffusion models, assuming their h-space contains stable and unconfounded semantic structure, and the findings may not generalize to conditional or other model architectures.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction