SharedSAE: a unified sparse dictionary across u-net blocks and denoising time for diffusion models
Abstract
Concept representations in diffusion models drift across network depth and denoising time, yet existing sparse autoencoders offer only per-block or per-timestep dictionaries, leaving no single feature dictionary for localization and intervention in the network. We present Shared Sparse Autoencoder (SharedSAE), which learns one sparse dictionary shared across four U-Net attention blocks and all 50 denoising steps of SDXL 1.0. A block-specific low-rank input adapter aligns the residual distribution of each block before the shared encoder, and a temporal conditioning module with a shared timestep branch and a block-timestep correction branch absorbs temporal non-stationarity. Despite spanning both axes, Shared SAE preserves a coherent dictionary structure. Built on the shared dictionary, localized feature suppression reduces the number of NudeNet-positive generations in the I2P detector-positive subset from 139 to 1. Tracing sparse features across the trajectory further reveals that concept representations are redistributed across U-Net blocks during generation, shifting from the earliest downsampling block toward intermediate and later blocks as denoising proceeds. SharedSAE thus provides a unified, interpretable, and intervention-ready representation space for diffusion models, enabling concept analysis and erasure at any covered block and denoising step.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI, cs.LG
Related papers
Carrying Feature Ablations Across Sparse Autoencoder Seeds
Shared title terminologycs.CVKarl Li
Physics-Guided Generative Modelling of Oxy-Combustion Flame Images: From Conditional LSGANs to Denoising Diffusion Models
Shared title terminologycs.CVImane Er-rabhi, Gorkem Oztarlik, Jean Caudal et al.
OceanFix: Reference-Guided Diffusion for Sparse-View Underwater 3D Reconstruction
Shared title terminologycs.CVGen Li, Maoxin Chen, Yao Xiao et al.
BMND: Direct Poisson Denoising by N-Dimensional Block Matching and Collaborative Filtering
Shared title terminologycs.CVChristof Duhme, Lars Schiefelbein, Florian Büther et al.
VGGT-Diff: Visual Geometry Meets Diffusion for Sparse-View Novel View Synthesis
Shared title terminologycs.CVKangjie Chen, Xiangyu Li, Dongbin Zhang et al.
LuxAvatar: Real-Time Relightable Head Avatars via Causal Neural Shading of 3D Intrinsic Proxies
Shared title terminologycs.CVYipengjing Sun, Chenyang Wang, Boyao Zhou et al.