arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.00847cs.CLcs.AIcs.LG
收藏

H-Probes:从语言模型的潜在表示中提取层次结构

H-Probes: Extracting Hierarchical Structures From Latent Representations of Language Models

Supervised Program for Alignment Research(对齐研究监督计划);Yale University(耶鲁大学);Harvard University(哈佛大学)

Cutter Dawes, Aryan Sharma, Angelos Ioannis Lagos, Shivam Raval

AI总结:

H-Probes通过线性探针从语言模型的潜在表示中提取层次结构,揭示模型在语法、概念及推理过程中的深层抽象能力。

摘要:

表示和导航层次结构是推理的基本原始能力。大型语言模型在需要层次推理的各种任务中表现出色,但对其几何表示必要潜在构造的分析有限。为此,我们开发了H-probes,一组线性探针,用于从潜在表示中提取层次结构,特别是深度和成对距离。在合成树遍历任务中,H-probes稳健地找到包含完成任务所需层次结构的子空间;此外,在全面的消融实验中,我们发现这些包含层次结构的子空间是低维的,对高任务性能具有因果重要性,并且在领域内和领域外都能泛化。此外,我们在现实世界的层次结构上下文中,如数学推理轨迹中,发现了类似的但较弱的层次结构。这些结果表明,模型不仅在语法和概念层面表示层次结构,还在更深层次的抽象层面——包括推理过程本身——中表示层次结构。

英文摘要:

Representing and navigating hierarchy is a fundamental primitive of reasoning. Large language models have demonstrated proficiency in a wide variety of tasks requiring hierarchical reasoning, but there exists limited analysis on how the models geometrically represent the necessary latent constructions for such thinking. To this end, we develop H-probes, a collection of linear probes that extract hierarchical structure, specifically depth and pairwise distance, from latent representations. In synthetic tree traversal tasks, the H-probes robustly find the subspaces containing hierarchical structure necessary to complete the tasks; furthermore, in comprehensive ablation experiments, we show that these hierarchy-containing subspaces are low-dimensional, causally important for high task performance, and generalize within- and out-of-domain. Furthermore, we find analogous, though weaker, hierarchical structure in real-world hierarchical contexts such as mathematical reasoning traces. These results demonstrate that models represent hierarchy not only at the level of syntax and concepts, but at deeper levels of abstraction -- including the reasoning process itself.

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

↑