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

基于相关矩阵秩的大语言模型推理路径验证

Verifying Large Language Models' Reasoning Paths via Correlation Matrix Rank

School of Artificial Intelligence and Data Science, University of Science and Technology of China(人工智能与数据科学学院,中国科学技术大学);State Key Laboratory of Cognitive Intelligence(认知智能国家重点实验室);School of Computer Science and Technology, University of Science and Technology of China(计算机科学与技术学院,中国科学技术大学);Department of Data Science, City University of Hong Kong(数据科学系,香港城市大学);Hong Kong Institute of AI for Science, City University of Hong Kong(香港人工智能科学研究院,香港城市大学)

Jiayu Liu, Wei Dai, Zhenya Huang, Ning Miao, Enhong Chen

AI总结:

针对大语言模型易出错、现有验证方法依赖外部资源且开销高的问题,提出基于输入问题与推理路径相关矩阵秩的即插即用Self-Indicator方法,以低开销有效提升推理基准准确率。

摘要:

尽管大语言模型(LLMs)具备强大的推理能力,但它们容易出现错误和幻觉。因此,如何有效且高效地检验其输出,已成为这类模型应用中的关键问题。现有的检验方法严重依赖外部资源,例如经过训练的验证器(如过程/结果奖励模型)或精心设计的提示词,这会导致高昂的计算开销,且仅适用于特定领域。本文探究了大语言模型的内部行为是否已经隐含了其推理路径的可信度。具体而言,我们发现输入问题与输出推理路径之间相关矩阵的秩,是衡量推理正确性的一个鲁棒指标。与其他大语言模型正确性指标不同,相关矩阵的计算仅依赖大语言模型本身,避免了训练单独模型或设计复杂提示词的麻烦。基于此,我们设计了一种简单的即插即用Self-Indicator(自指标)方法,对候选推理路径进行重新加权,该方法以极低的计算开销实现了比其他投票和验证方法更显著的性能提升。我们在不同规模、不同模型家族的多个大语言模型上开展的实验进一步验证了Self-Indicator的有效性。该方法区分正确与错误推理路径的准确率超过75%,并进而将三个推理基准测试的准确率提升了8%以上。

英文摘要:

Despite the strong reasoning ability of large language models~(LLMs), they are prone to errors and hallucinations. As a result, how to check their outputs effectively and efficiently has become a critical problem in their applications. Existing checking methods heavily rely on external resources, such as trained verifiers (e.g., process/outcome reward models) or elaborate prompts, which lead to high computational overhead and are only applicable to specific domains. In this paper, we investigate whether the internal behaviors of LLMs have already implied the credibility of their reasoning paths. Specifically, we find that the rank of the correlation matrix between the input problem and the output reasoning path is a robust indicator of reasoning correctness. Different from other correctness indicators for LLMs, the calculation of the correlation matrix only relies on the LLM itself, which avoids the hassle of training a separate model or designing complicated prompts. Based on it, we design a simple, plug-and-play Self-Indicator method to reweight candidate reasoning paths, which achieves significant performance improvements than other voting and verification methods with very few computational overhead. Our experiments across multiple LLMs of varying scales and model families have further shown the effectiveness of Self-Indicator. It achieves over 75% accuracy in distinguishing correct reasoning paths from incorrect ones, and, in turn, improves the accuracies on three reasoning benchmarks by more than 8%.

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

↑