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

ReliableMath:大型语言模型可靠数学推理基准

ReliableMath: Benchmark of Reliable Mathematical Reasoning on Large Language Models

The Chinese University of Hong Kong(香港中文大学);Huawei Noah’s Ark Lab(华为诺亚实验室);The University of Hong Kong(香港大学)

Boyang Xue, Qi Zhu, Rui Wang, Sheng Wang, Hongru Wang, Minda Hu, Fei Mi, Yasheng Wang, Lifeng Shang, Qun Liu, Kam-Fai Wong

AI总结:

针对LLM在数学推理中面对不可解问题易生成虚假响应的可靠性问题,本文构建ReliableMath数据集,制定可解与不可解问题的可靠性评估框架,并提出对齐策略提升小型LLM的可靠性。

摘要:

尽管大型语言模型(LLMs)在推理任务上表现出色,但面对无法解决或超出其能力的问题时,仍倾向于生成不可靠的虚假响应,严重影响可靠性。以往关于LLM可靠性的研究主要集中在知识任务中识别无法回答的问题,而数学推理任务因缺乏不可解数学问题尚未被探索。为系统研究LLM在数学推理任务中的可靠性,我们针对可解和不可解问题制定了可靠性评估框架。随后,我们构建了ReliableMath数据集,该数据集整合了开源可解问题以及通过我们提出的带有人工评估的构建流程合成的高质量不可解问题。我们在多种LLM上进行实验并发现了几个关键结论:LLM无法直接识别不可解问题,总是生成虚假响应;当使用可靠提示词指示LLM标记不可解性时,更大规模的LLM在可解问题上的可靠性保持稳定,但在不可解问题上显著提升,不过仍低于可解问题;然而,小型LLM即使使用可靠提示词也几乎没有进步。因此,我们进一步提出一种对齐策略以增强小型LLM的可靠性,该策略可显著提升LLM在域内和域外任务上的可靠性表现。

英文摘要:

Although demonstrating remarkable performance on reasoning tasks, Large Language Models (LLMs) still tend to fabricate unreliable responses when confronted with problems that are unsolvable or beyond their capability, severely undermining the reliability. Prior studies of LLM reliability have primarily focused on knowledge tasks to identify unanswerable questions, while mathematical reasoning tasks have remained unexplored due to the dearth of unsolvable math problems. To systematically investigate LLM reliability in mathematical reasoning tasks, we formulate the reliability evaluation for both solvable and unsolvable problems. We then develop a ReliableMath dataset which incorporates open-source solvable problems and high-quality unsolvable problems synthesized by our proposed construction workflow with human evaluations. Experiments are conducted on various LLMs with several key findings uncovered. LLMs fail to directly identify unsolvable problems and always generate fabricated responses. When instructing LLMs to indicate unsolvability using a reliable prompt, the reliability of larger-sized LLMs remains on solvable problems, but notably improves on unsolvable problems yet still falls short of solvable problems. However, small LLMs rarely show any progress despite employing reliable prompts. Therefore, we further propose an alignment strategy to enhance small LLMs' reliability, which can significantly improve LLM reliability performances on both in-domain and out-of-domain tasks.

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

↑