Skip to main content
QUICK REVIEW

[Paper Review] CASL: Concept-Aligned Sparse Latents for Interpreting Diffusion Models

Zhenghao He, Kèyù Zhü|arXiv (Cornell University)|Jan 21, 2026
Generative Adversarial Networks and Image SynthesisComputer Science0 citations
TL;DR

CASL presents a supervised framework that aligns sparse latent dimensions of diffusion models with human semantic concepts, and validates them via CASL-Steer and a new Editing Precision Ratio.

ABSTRACT

Internal activations of diffusion models encode rich semantic information, but interpreting such representations remains challenging. While Sparse Autoencoders (SAEs) have shown promise in disentangling latent representations, existing SAE-based methods for diffusion model understanding rely on unsupervised approaches that fail to align sparse features with human-understandable concepts. This limits their ability to provide reliable semantic control over generated images. We introduce CASL (Concept-Aligned Sparse Latents), a supervised framework that aligns sparse latent dimensions of diffusion models with semantic concepts. CASL first trains an SAE on frozen U-Net activations to obtain disentangled latent representations, and then learns a lightweight linear mapping that associates each concept with a small set of relevant latent dimensions. To validate the semantic meaning of these aligned directions, we propose CASL-Steer, a controlled latent intervention that shifts activations along the learned concept axis. Unlike editing methods, CASL-Steer is used solely as a causal probe to reveal how concept-aligned latents influence generated content. We further introduce the Editing Precision Ratio (EPR), a metric that jointly measures concept specificity and the preservation of unrelated attributes. Experiments show that our method achieves superior editing precision and interpretability compared to existing approaches. To the best of our knowledge, this is the first work to achieve supervised alignment between latent representations and semantic concepts in diffusion models.

Motivation & Objective

  • Motivate interpretation of diffusion-model internals by linking sparse latent units to human concepts.
  • Develop CASL to learn concept-aligned sparse latents via supervised alignment of SAE representations.
  • Provide CASL-Steer as a causal probe to verify semantic influence of aligned directions.
  • Introduce EPR to jointly quantify editing strength on target concepts and preservation of unrelated attributes.

Proposed method

  • Train a Sparse Autoencoder (SAE) on frozen U-Net activations to obtain a disentangled sparse latent space Z.
  • Freeze SAE encoder and learn a lightweight linear mapping that associates each concept with a small set of latent dimensions via Delta h = WΔ z + bΔ.
  • Edit activations by adding Δh to h and evaluate with DDIM inversion to produce edited images.
  • Use a DiffusionCLIP-based loss plus an L1 reconstruction term to align edits with target concepts.
  • CASL-Steer constructs top-k concept-aligned latent directions and evaluates their semantic effect as a probing mechanism.
  • Propose Editing Precision Ratio (EPR) to measure target attribute change against non-target attribute changes.

Experimental results

Research questions

  • RQ1Can sparse latent directions learned from a supervised setup align with human-defined semantic concepts in diffusion models?
  • RQ2Do concept-aligned latent directions causally influence generated content in a localized and disentangled manner?
  • RQ3Does the CASL framework enable precise semantic edits with minimal unintended changes compared to existing methods?
  • RQ4How effective is the proposed EPR metric in evaluating concept alignment and editing precision?

Key findings

  • CASL achieves concept-aligned sparse latent directions that produce targeted semantic edits with minimal collateral changes.
  • CASL-Steer provides a causal probe showing that edits along aligned directions reliably affect the intended attribute across datasets (CelebA-HQ, AFHQ-Dog, LSUN-Church).
  • CASL attains higher Editing Precision Ratio (EPR) than baseline editing methods, indicating superior precision and interpretability.
  • SVM probing shows high concept separability using top-k aligned latent units, with near-perfect accuracy when using 16 units per concept.
  • SAE representations balance reconstruction quality and sparsity, supporting interpretable latent bases without excessive loss of fidelity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.