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

从扁平到层次化:用匹配追踪提取稀疏表示

From Flat to Hierarchical: Extracting Sparse Representations with Matching Pursuit

EPFL(瑞士联邦理工学院);Kempner Institute, Harvard University(哈佛大学凯普纳研究所);CBS-NTT Program in Physics of Intelligence, Harvard University(哈佛大学物理智能CBSTNTT项目);Physics of Artificial Intelligence Group, NTT Research, Inc., Sunnyvale, CA, USA(NTT研究公司人工智能物理研究组);University of Alberta(阿尔伯塔大学);Alberta Machine Intelligence Institute (Amii)(阿尔伯塔人工智能研究所);SEAS, Harvard University(哈佛大学工程与应用科学学院)

Valérie Costa, Thomas Fel, Ekdeep Singh Lubana, Bahareh Tolooshams, Demba Ba

AI总结:

针对现有稀疏自编码器假设无法涵盖层次化与非线性特征的问题,提出MP-SAE架构,通过展开残差引导的匹配追踪编码步骤捕获复杂特征,在合成与自然数据上验证了其优越性并揭示了视觉-语言模型中的共享结构。

摘要:

受神经网络表示将抽象、可解释特征编码为线性可及、近似正交方向的假设驱动,稀疏自编码器(SAEs)已成为可解释性领域的一种流行工具。然而,近期研究展示了超出该假设范围的模型表示现象,揭示了层次化、非线性和多维特征的特征迹象。这引发了一个问题:SAEs是否表示了与其驱动假设相悖的结构化特征?如果不是,避免这种不匹配是否有助于识别上述特征并进一步深入理解神经网络表示?为回答这些问题,我们采用基于构造的方法,将稀疏编码中流行的匹配追踪(MP)算法重新语境化以设计MP-SAE——一种将其编码器展开为残差引导步骤序列的SAE,使其能够捕获层次化和非线性可及的特征。在合成与自然数据的混合设置下将该架构与现有SAEs进行比较,我们表明:(i) 层次化概念会诱发条件正交特征,而现有SAEs无法忠实地捕获它们;(ii) MP-SAE的非线性编码步骤恢复了高度有意义的特征,帮助我们 unravel 视觉-语言模型中不同模态看似二分的表示空间中的共享结构,从而证明有用特征仅线性可及的假设是不充分的。我们还表明,MP-SAE的顺序编码器原则在推理时提供了自适应稀疏性的额外益处,这可能具有独立的研究价值。总体而言,我们认为研究结果为以下观点提供了佐证:可解释性应从表示的现象学出发,而方法应源自与之契合的假设。

英文摘要:

Motivated by the hypothesis that neural network representations encode abstract, interpretable features as linearly accessible, approximately orthogonal directions, sparse autoencoders (SAEs) have become a popular tool in interpretability. However, recent work has demonstrated phenomenology of model representations that lies outside the scope of this hypothesis, showing signatures of hierarchical, nonlinear, and multi-dimensional features. This raises the question: do SAEs represent features that possess structure at odds with their motivating hypothesis? If not, does avoiding this mismatch help identify said features and gain further insights into neural network representations? To answer these questions, we take a construction-based approach and re-contextualize the popular matching pursuits (MP) algorithm from sparse coding to design MP-SAE -- an SAE that unrolls its encoder into a sequence of residual-guided steps, allowing it to capture hierarchical and nonlinearly accessible features. Comparing this architecture with existing SAEs on a mixture of synthetic and natural data settings, we show: (i) hierarchical concepts induce conditionally orthogonal features, which existing SAEs are unable to faithfully capture, and (ii) the nonlinear encoding step of MP-SAE recovers highly meaningful features, helping us unravel shared structure in the seemingly dichotomous representation spaces of different modalities in a vision-language model, hence demonstrating the assumption that useful features are solely linearly accessible is insufficient. We also show that the sequential encoder principle of MP-SAE affords an additional benefit of adaptive sparsity at inference time, which may be of independent interest. Overall, we argue our results provide credence to the idea that interpretability should begin with the phenomenology of representations, with methods emerging from assumptions that fit it.

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

↑