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

多维一致性提升语言模型的推理能力

Multidimensional Consistency Improves Reasoning in Language Models

University of Groningen(格罗宁根大学)

Huiyuan Lai, Xiao Zhang, Malvina Nissim

AI总结:

针对大型语言模型对输入变化敏感的问题,提出“多维推理一致性”框架,通过聚合示例顺序、问题表述和语言等维度的答案一致性,显著提升了模型在GSM8K和MGSM数据集上的数学推理性能,尤其是较小模型。

摘要:

尽管大型语言模型(LLMs)已被证明能够处理一些复杂的推理任务,但我们也知道它们对输入变化高度敏感,这可能导致不同的求解路径和最终答案。因此,跨输入变化的答案一致性可以被视为更强置信度的标志。利用这一见解,我们引入了一个框架,即“多维推理一致性”(Multidimensional Reasoning Consistency)。该框架以数学问题为重点,系统性地促使模型在求解最终答案时实现求解路径的多样化,从而测试模型在多种输入变化下的答案一致性。我们在以下方面引入变化:(i) 提示中示例的顺序,(ii) 问题的表述方式,以及 (iii) 使用的语言。在多种规模的大型开源最先进LLMs上进行的广泛实验表明,推理一致性因变化维度而异,并且通过聚合跨维度的一致性,我们的框架在单语数据集GSM8K和多语数据集MGSM上均持续提升了数学推理性能,尤其是对于较小的模型。

英文摘要:

While Large language models (LLMs) have proved able to address some complex reasoning tasks, we also know that they are highly sensitive to input variation, which can lead to different solution paths and final answers. Answer consistency across input variations can thus be taken as a sign of stronger confidence. Leveraging this aspect, we introduce a framework where models are \textit{systematically pushed to diversify solution paths} towards a final answer, thereby testing them for answer consistency across multiple input variations. Focusing on math problems, we induce variations in (i) order of shots in prompt, (ii) problem phrasing, and (iii) languages used. Experiments on a wide range of open-source LLMs of various sizes show that reasoning consistency differs by variation dimension, and that by aggregating consistency across dimensions, our framework enhances mathematical reasoning performance on monolingual datasets GSM8K and MATH500, and the multilingual dataset MGSM. We also discuss the different efficacy of the types of variations induced and how they could be further leveraged in future work.

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

↑