DreamReader: An Interpretability Toolkit for Text-to-Image Models
Organizations: Singapore University of Technology and Design · Martian · Thoughtworks · NVIDIA ·
Abstract
Despite the rapid adoption of text-to-image (T2I) diffusion models, causal and representation-level analysis remains fragmented and largely limited to isolated probing techniques. To address this gap, we introduce DreamReader: a unified framework that formalizes diffusion interpretability as composable representation operators spanning activation extraction, causal patching, structured ablations, and activation steering across modules and timesteps. DreamReader provides a model-agnostic abstraction layer enabling systematic analysis and intervention across diffusion architectures. Beyond consolidating existing methods, DreamReader introduces three novel intervention primitives for diffusion models: (1) representation fine-tuning (LoReFT) for subspace-constrained internal adaptation; (2) classifier-guided gradient steering using MLP probes trained on activations; and (3) component-level cross-model mapping for systematic study of transferability of representations across modalities. These mechanisms allows us to do lightweight white-box interventions on T2I models by drawing inspiration from interpretability techniques on LLMs. We demonstrate DreamReader through controlled experiments that (i) perform activation stitching between two models, and (ii) apply LoReFT to steer multiple activation units, reliably injecting a target concept into the generated images. Experiments are specified declaratively and executed in controlled batched pipelines to enable reproducible large-scale analysis. Across multiple case studies, we show that techniques adapted from language model interpretability yield promising and controllable interventions in diffusion models. DreamReader is released as an open source toolkit for advancing research on T2I interpretability.
Figures & tables
| Workflow | Unique configuration / interventions | Workflow-specific metrics & outputs |
|---|---|---|
| Localization | Intervention type (scaling/zeroing/corruption), strength, and timestep schedule. | Effect ranking over sites/timesteps; influence reports (e.g. which hook sites are more causal). |
| Steering | Method (CAA/K-Steer/LoREFT), learned direction(s), application site(s), scale(s), schedule(s). | Steering success curves vs. strength/location; reusable steering vectors and ranking plots. |
| Stitching | Mapper family (affine/MLP), training schedule/loss; module swapping and transfer settings. | Compatibility heatmaps (i.e. cross-layer comparison between modules); stitched vs. native comparison grids; mapper checkpoints. |
| SAEs | Dictionary size, sparsity/Top- , activation source (raw/residual); feature editing scale. | Dead-feature rate, sparsity stats; feature cards with top activations. |
| Capability | Dream Reader (Ours) | TransformerLens | nnsight |
|---|---|---|---|
| Primary focus | Diffusion / T2I | Autoregressive LLMs | LLMs (+ diffusion) |
| Abstraction level | End-to-end workflows | Mechanistic primitives | Tracing/editing primitives |
| Tracing & editing | (steer, ablate, stitch) | Patch-only | Patch + causal |
| SAE support | Built-in workflow | External add-ons | External add-ons |
| Experiment infrastructure | YAML pipelines + standardized outputs | Python scripts | Python scripts |
| Visualization & reporting | Integrated tables | External tooling | External tooling |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| System / Paper | Interpretability Capabilities | Visualization & Workflow | |||||||
| Head/Block Patching | Concept Directions | SAE Training | SAE Intervene | Model Stitching | Trained Steering (LoREFT/K-Steer) | Attention Maps | Intermed. Viz ( /steps) | Workflow & Reports | |
| Patch Explorer ( Grabe et al., 2025 ) | ✓ | – | – | – | – | – | – | ||
| One-Step is Enough (SAE) ( Surkov et al., 2024 ) | – | – | ✓ | ✓ | – | – | – | – | |
| Cross/Self-Attn for Editing ( Liu et al., 2024 ) | – | – | – | – | – | – | ✓ | – | – |
| Distilling Diversity & Control ( Gandikota and Bau, 2025 ) | – | – | – | – | – | ✓ | |||
| SliderSpace ( Gandikota et al., 2025 ) | – | ✓ | – | – | – | – | ✓ | ||
| Term | Definition |
|---|---|
| Scales | Intervention strength parameters (e.g., how strongly activations are modified). |
| Schedules | Temporal specifications describing when an intervention is applied (e.g., which denoising steps/timesteps). |
| Steering vector | A learned direction in activation space that, when added to activations, steers model behavior. |
| Mapper | A neural network (affine/linear or MLP) transforming activations, used in steering and stitching workflows. |
| Feature ablation | Removing or zeroing specific features to test their causal role. |
| CLIP alignment | Semantic similarity between text prompt and generated image using CLIP embeddings. |
Diffusion Models
Diffusion models learn to reverse gradual data corruption, enabling flexible generation, editing, forecasting, and inference.
See all 1,163 papers