Papers
Topics
Authors
Recent
Search
2000 character limit reached

CASL-Steer: Causal Probing in Diffusion Models

Updated 24 January 2026
  • CASL-Steer is a causal probing technique in diffusion models that uses supervised sparse autoencoding to enable targeted, interpretable latent manipulations.
  • It employs a sparse autoencoder framework on U-Net activations, achieving low reconstruction error (MSE ≈ 0.0191) and high latent sparsity.
  • Empirical tests on benchmarks like CelebA-HQ show that CASL-Steer attains high editing precision ratios (≈4.47) while preserving image fidelity and identity.

CASL-Steer is a causal probing technique in the domain of diffusion models, introduced to enable precise, interpretable manipulation of latent representations by leveraging concept-aligned sparse latents via supervised sparse autoencoding. CASL-Steer is distinguished from editing methods by its exclusive use as a causal probe rather than as a tool for direct generative editing, providing a principled mechanism for attributing semantic effects in high-dimensional generative processes (He et al., 21 Jan 2026).

1. Sparse Autoencoder Framework for U-Net Activations

At the foundation of CASL-Steer is a sparse autoencoder (SAE) trained on frozen bottleneck activations hRC×H×Wh \in \mathbb{R}^{C \times H \times W} from a diffusion model's U-Net. The activations are reshaped into h(t)RN×Ch^{(t)} \in \mathbb{R}^{N \times C}, where N=HWN = H \cdot W. The encoder is a linear layer WηRK×CW_\eta \in \mathbb{R}^{K \times C} (with KCK \gg C for overcompleteness), a learnable bias bηRKb_\eta \in \mathbb{R}^K, a timestep embedding e(t)RCe(t) \in \mathbb{R}^C, and a pre-bias bpreRCb_{\mathrm{pre}} \in \mathbb{R}^C. After bias adjustment and embedding, activations are mapped and passed through ReLU: z(t)=ϕ(Wη(h(t)+e(t)bpre)+bη)RN×K.z^{(t)} = \phi\left(W_\eta \left(h^{(t)} + e(t) - b_{\mathrm{pre}}\right) + b_\eta\right) \in \mathbb{R}^{N \times K}. The decoder reconstructs the activations via WψRC×KW_\psi \in \mathbb{R}^{C \times K} and h(t)RN×Ch^{(t)} \in \mathbb{R}^{N \times C}0: h(t)RN×Ch^{(t)} \in \mathbb{R}^{N \times C}1 The objective function is a combination of reconstruction loss and h(t)RN×Ch^{(t)} \in \mathbb{R}^{N \times C}2 sparsity on h(t)RN×Ch^{(t)} \in \mathbb{R}^{N \times C}3: h(t)RN×Ch^{(t)} \in \mathbb{R}^{N \times C}4 At fine-tuned expansion ratios (e.g., 128), the SAE achieves a mean squared error (MSE) of approximately 0.0191 and a dimension activation ratio (DAR) of about 1.08%, confirming the highly sparse structure of the learned latent space (He et al., 21 Jan 2026).

2. Supervised Alignment of Sparse Latents with Semantic Concepts

Following SAE training, the encoder weights are frozen. For any h(t)RN×Ch^{(t)} \in \mathbb{R}^{N \times C}5, the sparse latent h(t)RN×Ch^{(t)} \in \mathbb{R}^{N \times C}6 is generated as above. CASL learns a lightweight linear mapping to predict activation shifts corresponding to semantic concepts: h(t)RN×Ch^{(t)} \in \mathbb{R}^{N \times C}7 The prediction h(t)RN×Ch^{(t)} \in \mathbb{R}^{N \times C}8 is intended to drive h(t)RN×Ch^{(t)} \in \mathbb{R}^{N \times C}9 toward supporting the target concept in image space. The training loss combines a DiffusionCLIP component—which aligns image edits to CLIP-embedded semantic targets—and an N=HWN = H \cdot W0 image reconstruction penalty: N=HWN = H \cdot W1 Concept alignment is made sparse via top-N=HWN = H \cdot W2 selection: N=HWN = H \cdot W3 where N=HWN = H \cdot W4 is the row of N=HWN = H \cdot W5 for concept N=HWN = H \cdot W6. Only the latents in N=HWN = H \cdot W7 are used for steering, ensuring selective, interpretable interventions.

3. CASL-Steer: Controlled Latent Intervention Protocol

CASL-Steer applies a controlled latent shift along the supervised, concept-aligned direction. For a target concept N=HWN = H \cdot W8, an editing coordinate N=HWN = H \cdot W9 is constructed: WηRK×CW_\eta \in \mathbb{R}^{K \times C}0 where WηRK×CW_\eta \in \mathbb{R}^{K \times C}1 is an intensity hyperparameter. The adjusted activation shift is

WηRK×CW_\eta \in \mathbb{R}^{K \times C}2

with WηRK×CW_\eta \in \mathbb{R}^{K \times C}3 denoting elementwise multiplication. At denoising timestep WηRK×CW_\eta \in \mathbb{R}^{K \times C}4, the bottleneck activation is updated: WηRK×CW_\eta \in \mathbb{R}^{K \times C}5 The DDIM denoising step is then performed with the modified activation: WηRK×CW_\eta \in \mathbb{R}^{K \times C}6 Unlike generative editors, CASL-Steer is applied solely as a causal probe to diagnose which latents are responsible for which semantic attributes.

4. Editing Precision Ratio: Quantitative Assessment of Causality and Specificity

The Editing Precision Ratio (EPR) is defined to quantitatively measure the specificity of a causal intervention relative to off-target attribute drift. For WηRK×CW_\eta \in \mathbb{R}^{K \times C}7 pairs WηRK×CW_\eta \in \mathbb{R}^{K \times C}8: WηRK×CW_\eta \in \mathbb{R}^{K \times C}9

KCK \gg C0

KCK \gg C1

where KCK \gg C2 and KCK \gg C3 are CLIP-based concept scores, KCK \gg C4. Higher EPR values correspond to more precise, less confounded interventions. CASL-Steer achieves top EPR (e.g., KCK \gg C5 for "Smiling"), outperforming baseline methods (He et al., 21 Jan 2026).

5. Empirical Results and Analysis

CASL-Steer provides clean, localized semantic interventions, such as inducing "smiling," increasing "youth," or architectural factors like "Gothic church," while preserving identity and non-target content. On the CelebA-HQ benchmark, CASL-Steer achieves the highest EPR across all tested attributes, with improved CLIP-Score, lowest LPIPS (perceptual metric), and best ArcFace identity preservation. The SAE’s overcomplete structure allows the single top-1 latent to predict concepts with over 65% accuracy, scaling to over 93% with the top-16—substantially above chance.

Ablation studies demonstrate:

  • Editing along a single dimension maintains stable EPR across intensity values, underscoring the value of the sparse, concept-aligned basis.
  • Increasing the number of edited latents (KCK \gg C6) degrades EPR, indicating a tradeoff between intervention generality and specificity.
  • For KCK \gg C7, both target and off-target changes scale proportionally with KCK \gg C8, keeping EPR nearly constant.

These results confirm that CASL-Steer enables precise, interpretable causal analysis of semantic control axes in diffusion models (He et al., 21 Jan 2026).

6. Significance and Implications for Diffusion Model Interpretability

CASL-Steer establishes the first protocol for supervised, causality-focused probing of sparse latent directions aligned to human-defined semantics in diffusion models. By disentangling the representation space and allowing controlled latent interventions, it addresses key challenges in attribution and interpretability. Its principled avoidance of confounding factors, demonstrated via high EPR, and preservation of generative fidelity position it as a benchmark for future work in concept-level model understanding, diagnosis, and semantic control. A plausible implication is the applicability of similar alignment and steering protocols beyond image synthesis, potentially informing interpretability frameworks in large-scale generative architectures (He et al., 21 Jan 2026).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to CASL-Steer.