arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2501.05398cs.LGcs.AI
收藏

使用 SemanticLens 对大型 AI 模型进行机制性理解与验证

Mechanistic understanding and validation of large AI models with SemanticLens

Fraunhofer Heinrich Hertz Institute(弗劳恩霍夫海因茨·赫兹研究所);BIFOLD – Berlin Institute for the Foundations of Learning and Data(柏林学习与数据基础研究所(BIFOLD))

Maximilian Dreyer, Jim Berend, Tobias Labarta, Johanna Vielhaben, Thomas Wiegand, Sebastian Lapuschkin, Wojciech Samek

AI总结:

本文提出 SemanticLens,将神经网络组件知识映射到 CLIP 多模态语义空间,以实现神经元搜索、表示比较、自动标注、决策审计及虚假相关性检测。

摘要:

与飞机等人工工程系统中每个组件的作用和依赖关系都得到充分理解不同,AI 模型的内部运作在很大程度上仍然不透明,这妨碍了可验证性并削弱了信任。本文介绍了 SemanticLens,这是一种面向神经网络的通用解释方法,可将组件(例如单个神经元)编码的隐性知识映射到 CLIP 等基础模型的语义结构化多模态空间中。在该空间中,一些独特操作成为可能,包括:(i)通过文本搜索识别编码特定概念的神经元;(ii)对模型表示进行系统分析和比较;(iii)自动标注神经元并解释其功能角色;(iv)依据需求验证决策的审计。SemanticLens 具有完全可扩展性且无需人工输入,研究表明它可有效用于调试和验证、总结模型知识、使推理与预期保持一致(例如在黑色素瘤分类中遵守 ABCDE 规则),以及检测与虚假相关性及其相关训练数据有关的组件。通过实现组件级理解和验证,所提出的方法有助于弥合 AI 模型与传统工程系统之间的“信任鸿沟”。我们在 https://github.com/jim-berend/semanticlens 提供 SemanticLens 的代码,并在 https://semanticlens.hhi-research-insights.eu 提供演示。

英文摘要:

Unlike human-engineered systems such as aeroplanes, where each component's role and dependencies are well understood, the inner workings of AI models remain largely opaque, hindering verifiability and undermining trust. This paper introduces SemanticLens, a universal explanation method for neural networks that maps hidden knowledge encoded by components (e.g., individual neurons) into the semantically structured, multimodal space of a foundation model such as CLIP. In this space, unique operations become possible, including (i) textual search to identify neurons encoding specific concepts, (ii) systematic analysis and comparison of model representations, (iii) automated labelling of neurons and explanation of their functional roles, and (iv) audits to validate decision-making against requirements. Fully scalable and operating without human input, SemanticLens is shown to be effective for debugging and validation, summarizing model knowledge, aligning reasoning with expectations (e.g., adherence to the ABCDE-rule in melanoma classification), and detecting components tied to spurious correlations and their associated training data. By enabling component-level understanding and validation, the proposed approach helps bridge the "trust gap" between AI models and traditional engineered systems. We provide code for SemanticLens on https://github.com/jim-berend/semanticlens and a demo on https://semanticlens.hhi-research-insights.eu.

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

↑