Abstract
Diffusion Transformers (DiTs) have achieved state-of-the-art performance in image and video generation but operate as "black boxes." We present TIDE (Temporal-Aware Sparse Autoencoders), a framework designed to extract sparse, human-interpretable features from DiT internal activations. By incorporating timestep-dependent modulation, TIDE accounts for the evolving nature of representations during the denoising process. Our results demonstrate that TIDE reveals a hierarchical organization of concepts—ranging from 3D structures to fine-grained semantics—while enabling precise applications such as safe image editing and style transfer with minimal impact on generation quality.
Introduction
While Diffusion Transformers (DiTs) power leading generators like Sora and PixArt-α, their internal mechanisms remain opaque. Traditional interpretability tools like Sparse Autoencoders (SAEs), successful in Large Language Models (LLMs), face unique challenges in diffusion models. Specifically, the iterative nature of diffusion means internal activations shift drastically from pure noise to clean images. Furthermore, the token-based transformer architecture in DiTs lacks the explicit spatial feature maps found in earlier U-Net-based models. TIDE addresses these gaps by introducing temporal awareness and controlled sparsity to the SAE framework.
Methods: Temporal-Aware Sparse Autoencoders
TIDE is specifically tailored to the temporal and multimodal complexities of DiTs.
Temporal-Aware (TA) Architecture
The core innovation is a timestep-dependent modulation. TIDE utilizes a lightweight MLP to "scale and shift" activations based on the current diffusion timestep. This allows the SAE to adapt its feature extraction "lens" as the distribution of features evolves from noise to structure during the denoising process.
TopK Activation and Training
Instead of complex $L_1$ regularization, TIDE employs a TopK function to enforce sparsity, keeping only the $k$ largest latent activations. To optimize training, the authors use Random Sampling Augmentation, processing only 1/16th of tokens per layer, and Progressive Sparsity Scheduling to balance reconstruction accuracy with interpretability.
Key Insights: Hierarchical Concept Organization
TIDE reveals that DiTs naturally learn a hierarchy of features. Early in the denoising process or in specific layers, the model focuses on 3D-level concepts (e.g., depth, shadows). As generation progresses, it transitions to Class-level features (e.g., "house", "bird") and finally to fine-grained Semantic-level details (e.g., the specific shape of a beak).
Results and Applications
- High Fidelity Reconstruction: TIDE achieves a high cosine similarity (~0.97) when reconstructing internal activations, significantly outperforming standard SAEs.
- Minimal Quality Degradation: Integrating TIDE into the generation pipeline increases the FID score by only 0.15, meaning interpretability does not come at the cost of image quality.
- Enhanced Safety and Editing: By identifying and suppressing "unsafe" latent features, TIDE reduced the Attack Success Rate (ASR) on the I2P benchmark to 0.64%. Furthermore, the decomposition of polysemantic neurons into sparse features allows for precise "concept removal," such as stripping a specific artistic style without altering the base composition.
Conclusion
TIDE provides a powerful lens into the "brain" of Diffusion Transformers. By accounting for temporal dynamics, it successfully extracts interpretable features that enable both a deeper understanding of model behavior and practical tools for safer, more controllable image generation.
Summary updated