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

概念成分分析:一种用于大语言模型中概念提取的原则性方法

Concept Component Analysis: A Principled Approach for Concept Extraction in LLMs

Australian Institute for Machine Learning, The University of Adelaide(澳大利亚机器学习研究所,阿德莱德大学);School of Computer Science and Engineering, The University of New South Wales(计算机科学与工程学院,新南威尔士大学)

Yuhang Liu, Erdun Gao, Dong Gong, Anton van den Hengel, Javen Qinfeng Shi

AI总结:

本文提出概念成分分析(ConCA)方法,通过无监督线性解混从LLM中提取可解释概念,提供理论支持优于现有SAEs方法。

摘要:

开发人类可理解的大型语言模型(LLM)解释性在关键领域部署中变得越来越关键。机制可解释性试图通过从LLM激活中提取人类可理解的过程和概念来缓解这些问题。稀疏自编码器(SAEs)已成为提取可解释且单义概念的流行方法,通过将LLM内部表示分解为字典。尽管在经验上取得了进展,但SAEs仍然存在根本的理论模糊:LLM表示与人类可理解的概念之间明确的对应关系仍然不明确。这种理论基础的缺乏导致了若干方法学挑战,包括在原则性方法设计和评估标准上的困难。在本工作中,我们表明,在温和的假设下,LLM表示可以通过潜在变量模型中的视角近似为输入上下文下概念的log-posteriors的线性混合,其中概念被视为潜在变量。这促使了一种概念提取的原则性框架,即概念成分分析(ConCA),其旨在通过无监督的线性解混过程从LLM表示中恢复每个概念的log-posterior。我们探索了一个特定的变种,称为稀疏ConCA,它利用稀疏先验来解决解混问题固有的不明确性。我们实现了12种稀疏ConCA变种,并展示了它们在多个LLM中提取有意义概念的能力,提供了对SAEs的理论支持优势。

英文摘要:

Developing human understandable interpretation of large language models (LLMs) becomes increasingly critical for their deployment in essential domains. Mechanistic interpretability seeks to mitigate the issues through extracts human-interpretable process and concepts from LLMs' activations. Sparse autoencoders (SAEs) have emerged as a popular approach for extracting interpretable and monosemantic concepts by decomposing the LLM internal representations into a dictionary. Despite their empirical progress, SAEs suffer from a fundamental theoretical ambiguity: the well-defined correspondence between LLM representations and human-interpretable concepts remains unclear. This lack of theoretical grounding gives rise to several methodological challenges, including difficulties in principled method design and evaluation criteria. In this work, we show that, under mild assumptions, LLM representations can be approximated as a {linear mixture} of the log-posteriors over concepts given the input context, through the lens of a latent variable model where concepts are treated as latent variables. This motivates a principled framework for concept extraction, namely Concept Component Analysis (ConCA), which aims to recover the log-posterior of each concept from LLM representations through a {unsupervised} linear unmixing process. We explore a specific variant, termed sparse ConCA, which leverages a sparsity prior to address the inherent ill-posedness of the unmixing problem. We implement 12 sparse ConCA variants and demonstrate their ability to extract meaningful concepts across multiple LLMs, offering theory-backed advantages over SAEs.

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

↑