arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.13632cs.LGcs.AIcs.CL
收藏

Concept Layers:通过 LLM 概念化增强可解释性与可干预性

Concept Layers: Enhancing Interpretability and Intervenability via LLM Conceptualization

Or Raphael Bidusa, Shaul Markovitch

AI总结:

本文提出 Concept Layers,通过将 LLM 内部表示投影到可解释概念空间并重构,在无需人工概念集的情况下保持模型性能,并实现推理时动态干预。

摘要:

大型语言模型(LLM)的不透明性质促使研究界投入大量努力来提升其可解释性,这些努力主要通过事后方法实现。较新的事中方法,例如 Concept Bottleneck Models(CBM,概念瓶颈模型),通过引入显式概念表示,同时提供可解释性和可干预性。然而,这些方法存在关键局限,包括依赖带标签的概念数据集,以及需要对架构进行重大修改,这给重新集成到现有系统流程中带来挑战。在本工作中,我们提出一种新方法,通过将 Concept Layers(CL,概念层)集成到现有模型的架构中,为其引入可解释性和可干预性。我们的方法将模型的内部向量表示投影到一个概念化、可解释的向量空间,随后再重构这些表示并将其反馈回模型。此外,我们通过算法在本体中搜索一组既可以面向特定任务、也可以与任务无关的概念,消除了对人工选择概念集合的需求。我们在多个任务上评估 CL,结果表明它们能够保持原始模型的性能和一致性,同时支持有意义的干预。此外,我们还展示了一个概念验证,呈现一个可干预性界面,允许用户动态调整模型行为,例如在推理过程中缓解偏见。

英文摘要:

The opaque nature of Large Language Models (LLMs) has led to significant research efforts aimed at enhancing their interpretability, primarily through post-hoc methods. More recent in-hoc approaches, such as Concept Bottleneck Models (CBMs), offer both interpretability and intervenability by incorporating explicit concept representations. However, these methods suffer from key limitations, including reliance on labeled concept datasets and significant architectural modifications that challenges re-integration into existing system pipelines. In this work, we introduce a new methodology for incorporating interpretability and intervenability into an existing model by integrating Concept Layers (CLs) into its architecture. Our approach projects the model's internal vector representations into a conceptual, explainable vector space before reconstructing and feeding them back into the model. Furthermore, we eliminate the need for a human-selected concept set by algorithmically searching an ontology for a set of concepts that can be either task-specific or task-agnostic. We evaluate CLs across multiple tasks, demonstrating that they maintain the original model's performance and agreement while enabling meaningful interventions. Additionally, we present a proof of concept showcasing an intervenability interface, allowing users to adjust model behavior dynamically, such as mitigating biases during inference.

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

↑