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

一个用于展示大语言模型抽象能力的模块化数据集

A Modular Dataset to Demonstrate LLM Abstraction Capability

SES AI

Adam Atanas, Kai Liu

AI总结:

本研究提出新型谜题数据集ArrangementPuzzle,通过训练分类器发现LLM能内部区分推理正误,中后层表征最强,且中间层编码抽象推理概念,为提升AI可靠性与可解释性提供支持。

摘要:

大语言模型(LLMs)展现出令人瞩目的能力,但因幻觉和逻辑缺陷存在推理错误的问题。为探究其内部的推理表征,我们提出了ArrangementPuzzle——一个具备结构化解答与自动化逐步正确性验证的新型谜题数据集。我们基于该数据集上的LLM激活值训练了一个分类器模型,发现其在预测推理正确性上准确率超过80%,表明LLMs内部能够区分正确与错误的推理步骤,且最强表征出现在Transformer的中后层。进一步分析显示,LLMs在Transformer架构的中间激活层中编码抽象推理概念,能够区分逻辑等价与语义等价。这些发现为理解LLM推理机制提供了洞见,有助于提升AI的可靠性与可解释性,也为操控和优化LLM推理提供了可能。

英文摘要:

Large language models (LLMs) exhibit impressive capabilities but struggle with reasoning errors due to hallucinations and flawed logic. To investigate their internal representations of reasoning, we introduce ArrangementPuzzle, a novel puzzle dataset with structured solutions and automated stepwise correctness verification. We trained a classifier model on LLM activations on this dataset and found that it achieved over 80% accuracy in predicting reasoning correctness, implying that LLMs internally distinguish between correct and incorrect reasoning steps, with the strongest representations in middle-late Transformer layers. Further analysis reveals that LLMs encode abstract reasoning concepts within the middle activation layers of the transformer architecture, distinguishing logical from semantic equivalence. These findings provide insights into LLM reasoning mechanisms and contribute to improving AI reliability and interpretability, thereby offering the possibility to manipulate and refine LLM reasoning.

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

↑