TL;DR
This paper identifies object-dependent concept brittleness in text-to-image diffusion models—a systematic failure where a model successfully applies a style or attribute to most objects but consistently fails on a specific few. To diagnose and fix this without costly retraining, the authors introduce a lightweight framework that maps denoising trajectories into a step-wise Sparse Autoencoder (SAE) space, allowing for real-time, prototype-guided concept correction during the early stages of generation.
What Problem Does This Paper Address?
State-of-the-art text-to-image diffusion models (like Flux or Stable Diffusion) boast incredible prompt-following capabilities. However, they suffer from a peculiar, underexplored glitch: they can reliably render a concept (like "ink sketch style") across dozens of objects, yet completely fail when paired with a specific, semantically related object (reverting to a colorful photo for "cake, ink sketch", for instance).
The authors term this phenomenon object-dependent concept brittleness. Because these failures persist across different random seeds, they represent systematic internal blind spots rather than random sampling noise. Diagnosing these failures is incredibly difficult because, in raw denoising feature space, representations of content, style, and attributes are highly entangled.
Methods
To untangle these features, the authors leverage Sparse Autoencoders (SAEs). Because a diffusion model's features change drastically in distribution and semantic role across different timesteps, the authors train a separate, step-wise SAE for each individual denoising timestep.
The framework operates in two distinct stages:
- Stage I: Diagnosis & Prototype Construction: Denoising features from a reference dataset are projected into the timestep-specific SAE space. In this sparse space, successful and failed generations become highly separable. The authors filter out failed or anomalous samples and average the clean token-level sparse codes to construct a clean class-level concept prototype.
- Stage II: Inference-Time Correction: During a failed generation, the framework intercepts the step-update features at early timesteps, projects them into the SAE space, and linearly interpolates them toward the clean concept prototype. This corrected representation is then decoded back into the original feature space and fed back into the sampler.
Datasets
Because existing public datasets do not explicitly isolate content-condition separation for this specific type of failure analysis, the authors constructed a custom dataset:
- Training Split: 2,080 samples covering 10 distinct styles (e.g., abstract art, ink sketch, 3D render) and 10 attribute terms (gold, rubber, cylindrical). This split is used solely for training the SAEs and building prototypes.
- Held-out Test Split: 1,780 compositional prompts spanning more than 150 entity categories (animals, vehicles, food, etc.), following the template:
[color] [texture] [shape] [entity], [style].
Key Insights and Ideas
- Disentanglement via Sparsity: Raw noise-latent features are highly entangled, making class separation messy. Projecting these features into an SAE space cleanly separates abstract concepts into distinct, interpretable latent dimensions.
- Structured Deviations: When a model experiences concept brittleness, it isn't experiencing random noise. In the SAE space, failed samples show massive, structured activation deviations on a very small subset of dominant sparse dimensions compared to the class mean.
- The "Early Window" Leverage: Concept correction is highly time-sensitive. The authors found that intervening during the earliest 20% of denoising steps provides the strongest leverage to fix the trajectory. Intervening too late has little effect, while prolonged intervention across all steps overwrites structural layout and causes severe content distortion.
Key Results
The authors validated their framework across five major diffusion backbones: Stable Diffusion 1.5, SD 3.5, SDXL, PixArt-Alpha, and FLUX.1-dev.
- Quantitative Improvements: The method consistently boosted prompt-conditioned metrics across the board. For example, on Flux.1-dev, style intervention raised the CLIP-Image score from 0.598 to 0.623 and Style Alignment from 0.220 to 0.230. Attribute control (Color, Texture, Shape via BLIP-VQA) saw even larger jumps across all backbones.
- Negligible Overhead: Because the intervention is a lightweight linear interpolation in a sparse space, it functions as a plug-and-play module, adding virtually zero computational overhead to the end-to-end inference time (e.g., adding only ~0.04 seconds to Flux's 4.1-second generation time).
Limitations and Future Work
While highly effective, the current implementation applies the concept prototype uniformly across the entire token tensor. It lacks concept-level routing, meaning it cannot parse which specific token span should align with which concept prototype in multi-condition prompts. Additionally, the target class must currently be manually specified externally.
The authors note that future work will focus on developing more fine-grained token-routing interventions and extending this mechanistic interpretability approach to video generation models and multimodal agent settings.
Summary updated