通过资格推理和面向节段的强化学习可靠地使用引理
Reliable Use of Lemmas via Eligibility Reasoning and Section$-$Aware Reinforcement Learning
AI总结:
通过资格推理和面向节段的强化学习提升LLM在数学引理应用的可靠性与鲁棒性
摘要:
最近的大型语言模型(LLMs)在数学基准测试中表现强劲,但常常错误地应用引理,得出结论而未验证假设。我们正式将引理判断制定为一个结构化预测任务:给定一个陈述和一个候选引理,模型必须输出前提检查和结论-效用检查,从而得出有用性决策。我们提出了RULES,通过双节段输出编码此规范,并通过强化学习加面向节段的损失掩码训练,以对错误负责的节段施加惩罚。训练和评估利用了多样化的自然语言和形式证明语料库;鲁棒性通过保留的扰动套件进行评估;端到端评估涵盖跨各种LLM的竞赛式、扰动对齐和定理基于的问题。结果表明,与普通模型和单标签RL基线相比,在领域内有持续的提升,对破坏适用性的扰动有更大的改进,并在端到端任务上达到持平或适度的提升;消融实验表明,双节段输出和面向节段的强化学习对鲁棒性都是必要的。
英文摘要:
Recent large language models (LLMs) perform strongly on mathematical benchmarks yet often misapply lemmas, importing conclusions without validating assumptions. We formalize lemma$-$judging as a structured prediction task: given a statement and a candidate lemma, the model must output a precondition check and a conclusion$-$utility check, from which a usefulness decision is derived. We present RULES, which encodes this specification via a two$-$section output and trains with reinforcement learning plus section$-$aware loss masking to assign penalty to the section responsible for errors. Training and evaluation draw on diverse natural language and formal proof corpora; robustness is assessed with a held$-$out perturbation suite; and end$-$to$-$end evaluation spans competition$-$style, perturbation$-$aligned, and theorem$-$based problems across various LLMs. Results show consistent in$-$domain gains over both a vanilla model and a single$-$label RL baseline, larger improvements on applicability$-$breaking perturbations, and parity or modest gains on end$-$to$-$end tasks; ablations indicate that the two$-$section outputs and section$-$aware reinforcement are both necessary for robustness.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。