arXiv:2507.03133cs.CL2025-07被引 6

构建数学推理可靠性评估基准,揭示大模型在无解题面前的虚假回应问题。

ReliableMath: Benchmark of Reliable Mathematical Reasoning on Large Language Models

  • 提出可信赖提示策略,让大模型识别无解数学题并拒绝回答。
  • 大模型在无解问题上可靠性提升但仍低于有解题表现,小模型效果不佳。
  • 针对小模型设计对齐策略,显著提升其在内外域任务中的可靠性。

尽管在推理任务中表现卓越,大型语言模型(LLMs)在面对无解或超出能力范围的问题时,仍倾向于生成不可靠的虚假回答,严重削弱其可信度。以往关于LLM可靠性的研究主要集中在知识类任务以识别无答案问题,而数学推理任务因缺乏无解题目尚未被系统探索。为此,我们构建了ReliableMath数据集,包含开源可解题和通过人工验证的高质量无解题,采用自研构造流程合成。在多个LLM上进行实验,发现模型无法直接识别无解问题,总是生成虚构答案;使用可靠提示后,大模型在可解问题上保持性能,而在无解问题上可靠性显著提升,但仍不及可解问题。小模型即使使用可靠提示也几乎无改善。因此,我们进一步提出一种对齐策略,显著提升小模型在域内与域外任务中的可靠性表现。

原文摘要 · Abstract (English)

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.

数学推理可靠性大模型提示工程

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。