arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.06265cs.CVcs.AI
收藏

SPARC:概念对齐的稀疏自编码器用于跨模型和跨模态可解释性

SPARC: Concept-Aligned Sparse Autoencoders for Cross-Model and Cross-Modal Interpretability

Department of Computer Science and Software Engineering (CSSE) Concordia University, Canada(计算机科学与软件工程系(CSSE)康科迪亚大学,加拿大);Department of Electrical and Computer Engineering (ECE) Concordia University, Canada(电气与计算机工程系(ECE)康科迪亚大学,加拿大)

Ali Nasiri-Sarvi, Hassan Rivaz, Mahdi S. Hosseini

AI总结:

SPARC通过稀疏自编码器实现跨模型和跨模态的概念对齐,提升概念表示的一致性与可解释性

摘要:

理解不同AI模型如何编码相同高层概念(如对象或属性)仍然具有挑战性,因为每个模型通常会产生自己的孤立表示。现有的可解释性方法如稀疏自编码器(SAEs)为每个模型单独生成潜在概念,导致不兼容的概念空间并限制跨模型可解释性。为了解决这个问题,我们引入了SPARC(用于概念对齐的稀疏自编码器),这是一种新的框架,学习了一个统一的潜在空间,该空间在多样化的架构和模态(例如视觉模型如DINO,和多模态模型如CLIP)中共享。SPARC的对齐是通过两个关键创新实现的:(1)全局TopK稀疏机制,确保所有输入流为给定概念激活相同的潜在维度;(2)跨重建损失,这明确鼓励模型之间的语义一致性。在Open Images上,SPARC显著提高了概念对齐,实现了0.80的Jaccard相似度,比先前方法高出三倍以上。SPARC创建了一个共享的稀疏潜在空间,其中各个维度往往对应于不同模型和模态中的相似高层概念,使不同架构表示相同概念的直接比较成为可能,而无需手动对齐或模型特定分析。作为这种对齐表示的后果,SPARC还启用了实际应用,如文本引导的空间定位在视觉模型中以及跨模型/跨模态检索。代码和模型可在https://github.com/AtlasAnalyticsLab/SPARC上获得

英文摘要:

Understanding how different AI models encode the same high-level concepts, such as objects or attributes, remains challenging because each model typically produces its own isolated representation. Existing interpretability methods like Sparse Autoencoders (SAEs) produce latent concepts individually for each model, resulting in incompatible concept spaces and limiting cross-model interpretability. To address this, we introduce SPARC (Sparse Autoencoders for Aligned Representation of Concepts), a new framework that learns a single, unified latent space shared across diverse architectures and modalities (e.g., vision models like DINO, and multimodal models like CLIP). SPARC's alignment is enforced through two key innovations: (1) a Global TopK sparsity mechanism, ensuring all input streams activate identical latent dimensions for a given concept; and (2) a Cross-Reconstruction Loss, which explicitly encourages semantic consistency between models. On Open Images, SPARC dramatically improves concept alignment, achieving a Jaccard similarity of 0.80, more than tripling the alignment compared to previous methods. SPARC creates a shared sparse latent space where individual dimensions often correspond to similar high-level concepts across models and modalities, enabling direct comparison of how different architectures represent identical concepts without requiring manual alignment or model-specific analysis. As a consequence of this aligned representation, SPARC also enables practical applications such as text-guided spatial localization in vision-only models and cross-model/cross-modal retrieval. Code and models are available at https://github.com/AtlasAnalyticsLab/SPARC

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

↑