arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.13997cs.CVcs.AIcs.LG
收藏

SharedSAE:扩散模型中跨U-Net模块和去噪时间的统一稀疏字典

SharedSAE: a unified sparse dictionary across u-net blocks and denoising time for diffusion models

Hunan University(湖南大学)

Longhao Lei, Lan Yao

AI总结:

SharedSAE是扩散模型中跨U-Net模块和去噪时间的统一稀疏字典,通过特定适配器和时间条件模块实现,可用于概念分析与擦除,能将I2P检测器阳性子集的NudeNet阳性生成从139降至1。

摘要:

扩散模型中的概念表示会随网络深度和去噪时间发生漂移,但现有稀疏自编码器仅提供每模块或每时间步的字典,不存在可用于网络定位和干预的单一特征字典。本文提出Shared Sparse Autoencoder(SharedSAE),它学习一个稀疏字典,该字典在SDXL 1.0的4个U-Net注意力模块和全部50个去噪步骤间共享。模块特定的低秩输入适配器会在共享编码器前对齐各模块的残差分布,带有共享时间步分支和模块-时间步校正分支的时间条件模块则吸收时间非平稳性。尽管跨越了两个维度,SharedSAE仍保持了连贯的字典结构。基于该共享字典,局部特征抑制将I2P检测器阳性子集中的NudeNet阳性生成数量从139降至1。追踪稀疏特征的轨迹进一步发现,概念表示在生成过程中会在U-Net模块间重新分布,随去噪进行从最早的下采样模块向中间和后续模块转移。因此,SharedSAE为扩散模型提供了统一、可解释且可干预的表示空间,支持在任意覆盖的模块和去噪步骤进行概念分析与擦除。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑