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

向量量化潜在概念:聚类式概念发现的可扩展替代方案

Vector Quantized Latent Concepts: A Scalable Alternative to Clustering-Based Concept Discovery

Dalhousie University, Canada(加拿大达尔豪斯大学);University of Calgary, Canada(加拿大卡尔加里大学)

Xuemin Yu, Ankur Garg, Samira Ebrahimi Kahou, Hassan Sajjad

AI总结:

提出VQLC框架,通过向量量化学习离散潜在概念,在保持可解释性的同时,实现与K-Means相当的计算效率,并优于层次聚类在大规模数据上的扩展性。

摘要:

大型语言模型(LLMs)在其隐藏状态中编码了丰富的语义信息,但理解这些内部表示捕获了哪些信息仍然困难。从隐藏状态中提取的潜在概念为解释LLMs提供了有希望的方向,但现有的基于聚类的方法面临权衡:层次聚类产生连贯的概念,但由于其二次内存成本而仅限于小数据集,而K-Means高效扩展但可能产生语义连贯性较差的概念。我们提出向量量化潜在概念(VQLC),一种离散概念学习框架,在冻结的隐藏状态上学习潜在概念的码本。在12个数据集-模型设置中,VQLC在计算成本上接近K-Means,扩展性优于层次聚类,并在忠实度上保持竞争力,在仅解码器模型上增益最明显。基于LLMs的评估、定性分析和稀疏自编码器(SAE)比较表明,学习到的概念是可解释且任务相关的。

英文摘要:

Large language models (LLMs) encode rich semantic information in their hidden states, yet it remains difficult to understand what information these internal representations capture. Latent concepts extracted from hidden states offer a promising direction for interpreting LLMs, but existing clustering-based methods face a trade-off: hierarchical clustering produces coherent concepts but is limited to small datasets due to its quadratic memory cost, while K-Means scales efficiently but may yield less semantically coherent concepts. We propose Vector Quantized Latent Concept (VQLC), a discrete concept learning framework that learns a codebook of latent concepts on frozen hidden states. Across 12 dataset-model settings, VQLC stays close to K-Means in computational cost, scales better than hierarchical clustering, and remains competitive in faithfulness, with the clearest gains on decoder-only models. LLMs-based evaluation, qualitative analysis, and a Sparse Autoencoder (SAE) comparison demonstrate that the learned concepts are interpretable and task-relevant.

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

↑