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

Concept-SAE: 一种可控且可逆的概念接口用于稀疏自编码器

Concept-SAE: A Controllable and Invertible Concept Interface for Sparse Autoencoders

The Chinese University of Hong Kong(香港中文大学)

Jianrong Ding, Muxi Chen, Chenchen Zhao, Qiang Xu

AI总结:

本文提出Concept-SAE,一种通过结构化可控接口探测用户定义概念的框架,通过将激活子空间分解为概念令牌和自由令牌,实现高保真、局部化强且解耦的概念表示,优于现有方法。

摘要:

标准稀疏自编码器(SAEs)在发现模型学习的字典方面表现出色,为被动特征发现提供了强大视角。然而,这种被动性质使得系统评估或分析用户关心的概念变得困难。我们引入Concept-SAE,一种通过结构化可控接口扩展SAEs的框架,用于探测用户定义的概念。Concept-SAE将激活子空间分解为两个正交部分:概念令牌,通过双监督在概念存在和空间定位上对齐外部指定语义;自由令牌,像标准SAEs一样捕捉所有剩余信息。这种混合解耦策略确保概念令牌忠实、空间接地且与残差子空间清洁分离,同时保留SAEs对开放概念发现的能力。我们进行了广泛的实验,证明Concept-SAE产生高保真、局部化强且解耦的概念表示,优于替代方法。最后,我们通过三个诊断评估验证该概念接口的实用性:对对抗图像样本的分类检测测试、聚焦于可控反事实编辑的可控性测试以及使用对抗扰动的稳定性测试。这些结果表明,Concept-SAE为SAEs提供了一种可靠的机制,用于评估、探测和诊断用户定义的概念。

英文摘要:

Standard Sparse Autoencoders (SAEs) excel at discovering a dictionary of a model's learned features, providing a powerful lens for passive feature discovery. However, this passive nature makes it difficult to systematically evaluate or analyze concepts that users explicitly care about. We introduce Concept-SAE, a framework that augments SAEs with a structured and controllable interface for probing user-defined concepts. Concept-SAE decomposes an activation subspace into two orthogonal components: Concept Tokens, which are aligned to externally specified semantics through dual supervision on both concept existence and spatial localization, and Free Tokens, which operate like standard SAEs to capture all remaining information. This hybrid disentanglement strategy ensures that Concept Tokens are faithful, spatially grounded, and cleanly separated from the residual subspace while preserving the ability of SAEs for open-ended concept discovery. We conduct extensive experiments demonstrating that Concept-SAE yields high-fidelity, well-localized, and strongly disentangled concept representations, outperforming alternatives in interface quality. Finally, we validate the utility of this conceptual interface through three diagnostic evaluations: a detection test on classifying adversarial image samples, a controllability test focusing on controlled counterfactual editing and a stability test using adversarial perturbations. Together, these results show that Concept-SAE equips SAEs with a reliable mechanism for evaluating, probing, and diagnosing user-defined concepts.

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

↑