arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.06755cs.CV
收藏

通过稀疏自编码器实现可解释且可测试的视觉特征

Interpretable and Testable Vision Features via Sparse Autoencoders

The Ohio State University(俄亥俄州立大学)

Samuel Stevens, Wei-Lun Chao, Tanya Berger-Wolf, Yu Su

AI总结:

通过稀疏自编码器揭示视觉模型中不同预训练目标的语义差异,并支持跨任务的因果编辑。

摘要:

为了真正理解视觉模型,我们不仅需要解释其学习的特征,还必须通过受控实验验证这些解释。尽管早期工作提供了丰富的语义或直接的控制,但很少有事后工具能在一个模型无关的流程中同时提供两者。我们使用稀疏自编码器(SAEs)来弥合这一差距;每个稀疏特征都配有真实图像示例,揭示其含义,并有一个解码向量,可以被操控以探测其对下游任务行为的影响。通过将我们的方法应用于广泛使用的预训练视觉模型,我们揭示了不同预训练目标所学习的语义抽象之间有意义的差异。然后我们展示,一个在冻结ViT激活上训练的SAE可以在不重新训练ViT或任务头的情况下,支持跨任务的补丁级因果编辑(分类和分割)。这些定性的、可检验的演示将SAEs定位为视觉模型概念发现和因果探测之间的实用桥梁。我们提供了项目网站上的代码、演示和模型:https://osu-nlp-group.github.io/saev。

英文摘要:

To truly understand vision models, we must not only interpret their learned features but also validate these interpretations through controlled experiments. While earlier work offers either rich semantics or direct control, few post-hoc tools supply both in a single, model-agnostic procedure. We use sparse autoencoders (SAEs) to bridge this gap; each sparse feature comes with real-image exemplars that reveal its meaning and a decoding vector that can be manipulated to probe its influence on downstream task behavior. By applying our method to widely-used pre-trained vision models, we reveal meaningful differences in the semantic abstractions learned by different pre-training objectives. We then show that a single SAE trained on frozen ViT activations supports patch-level causal edits across tasks (classification and segmentation) all without retraining the ViT or task heads. These qualitative, falsifiable demonstrations position SAEs as a practical bridge between concept discovery and causal probing of vision models. We provide code, demos and models on our project website: https://osu-nlp-group.github.io/saev.

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

↑