Modern generative models, such as Stable Diffusion and Large Language Models (LLMs), are powerful but remain largely opaque "black boxes." While empirical tools like Sparse Autoencoders (SAEs) have emerged to probe these models for interpretable features, they often lack rigorous theoretical guarantees. This paper introduces a principled framework grounded in causal minimality to ensure that extracted latent variables are not just subjective artifacts, but true, identifiable concepts of the data-generating process.
The Principle of Causal Minimality
The core of this research lies in modeling data generation through hierarchical selection models. Unlike traditional top-down causal models, selection models posit that high-level concepts (e.g., a "cat face") emerge from the coherent composition of lower-level variables (e.g., "eyes," "ears").
To identify these concepts uniquely, the authors apply the principle of causal minimality—favoring the simplest causal explanation that fits the observed data. This principle is operationalized differently across modalities:
- Vision (Diffusion Models): Minimality is enforced via sparse connectivity in the learned causal graph.
- Text (LLMs): Minimality is achieved through state compression, identifying the minimal set of active units required for representation.
The authors mathematically prove that under these minimality conditions, the learned representations achieve identifiability, meaning they are equivalent to the true latent variables of the underlying data-generating process.
Extracting Hierarchical Concept Graphs
The practical implementation involves a two-step pipeline:
- Level-Specific Concept Learning: $K$-sparse SAEs are trained on internal model features at various abstraction levels. In diffusion models, these levels correspond to different noise timesteps; in LLMs, they correspond to token positions.
- Cross-Level Causal Discovery: The PC algorithm is applied across these sparse features to construct a directed, hierarchical concept graph.
This process reveals that concepts naturally organize by abstraction. In diffusion models, high-level abstract concepts (like a "face") emerge at early, high-noise timesteps, while fine-grained details (like "fur texture") appear at later, low-noise timesteps.
Interpretable Control and Applications
By mapping concepts hierarchically, the framework enables precise, multi-level editing and unlearning. Users can target specific nodes in the graph for "feature steering" without affecting unrelated parts of the generation.
Key Results
- State-of-the-Art Unlearning: On Stable Diffusion 1.4, the method achieved top scores in removing unsafe concepts (e.g., 0.00 on RING-A-BELL K16) while maintaining high image quality (FID of 17.02 on COCO).
- Controllable Generation: The method outperformed standard baselines in targeted editing. For example, replacing a specific object while preserving context achieved a CLIP-I score of 0.96, compared to 0.93 for standard Stable Diffusion.
- LLM Interpretability: The framework successfully extracted hierarchical graphs from
Gemma-2-2b-it, identifying high-level nodes like "humor" driven by specific lower-level linguistic features. - Architecture Versatility: Beyond U-Nets, the framework was successfully applied to the DiT-based
Flux.1-Schnellmodel.
Conclusion and Future Directions
This work bridges the gap between empirical interpretability and causal theory. While the current approach requires some manual annotation to label identified nodes, it provides a mathematically sound foundation for safe and controllable AI. Future work aims to automate concept labeling using Vision-Language Models (VLMs) and further explore the robustness of minimality assumptions in diverse real-world datasets.
Summary updated