arXiv:2502.14565cs.LGcs.CL2025-02ICML被引 38

让大模型自己检查并修正推理错误,无需外部验证器。

ReVISE: Learning to Refine at Test-Time via Intrinsic Self-Verification

  • 通过自验证机制让模型在推理中自我纠错。
  • 在多个推理任务上显著提升准确率,实现高效自修正。
  • 适合需要高可靠性的智能问答与逻辑推理场景。

自我意识,即评估并修正自身生成的能力,是人类智能的核心特征,将其复现于大语言模型(LLMs)虽重要但极具挑战。以往方法依赖大规模强化学习或大型外部验证器。本文提出基于内在自验证的自修正框架 ReVISE,使 LLM 能通过自验证持续反思推理路径。核心思想是构建基于在线偏好学习的结构化训练课程,分阶段解决自验证与推理修正两个难题。通过收集失败与成功的推理路径构建偏好对,实现高效训练。推理时,该方法天然支持测试时扩展,结合提出的置信度感知解码机制,进一步增强自验证与修正能力。实验表明,ReVISE 在多种推理任务上实现了高效的自修正,并显著提升推理性能。

原文摘要 · Abstract (English)

Self-awareness, i.e., the ability to assess and correct one's own generation, is a fundamental aspect of human intelligence, making its replication in large language models (LLMs) an important yet challenging task. Previous works tackle this by employing extensive reinforcement learning or rather relying on large external verifiers. In this work, we propose Refine via Intrinsic Self-Verification (ReVISE), an efficient and effective framework that enables LLMs to self-correct their outputs through self-verification. The core idea of ReVISE is to enable LLMs to verify their reasoning processes and continually rethink reasoning trajectories based on its verification. We introduce a structured curriculum based upon online preference learning to implement this efficiently. Specifically, as ReVISE involves two challenging tasks (i.e., self-verification and reasoning correction), we tackle each task sequentially using curriculum learning, collecting both failed and successful reasoning paths to construct preference pairs for efficient training. During inference, our approach enjoys natural test-time scaling by integrating self-verification and correction capabilities, further enhanced by our proposed confidence-aware decoding mechanism. Our experiments on various reasoning tasks demonstrate that ReVISE achieves efficient self-correction and significantly improves reasoning performance.

大模型自验证推理优化

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