arXiv:2603.24844cs.LGcs.AI2026-03被引 5

让语言模型一次生成多个合理答案并给出置信度。

Reaching Beyond the Mode: RL for Distributional Reasoning in Language Models

  • 用强化学习训练模型在单次推理中生成多个候选答案。
  • 在医疗诊断等任务中,答案多样性与覆盖率显著提升。
  • 适合需要多解或不确定性的实际场景,如医学诊断。

给定一个问题,语言模型(LM)隐式地对可能的答案进行分布编码。然而,实际的后训练过程常将此分布坍缩为单一主导模式。尽管这在假设唯一正确答案的基准评估中无大碍,但许多现实任务本身包含多个有效答案或不可消除的不确定性,如医学诊断、模糊问答和信息不全场景。此时,我们希望模型能生成多个合理假设,并为每个假设提供置信度,同时避免计算昂贵的重复采样以生成非主模式答案。本文提出一种多答案强化学习方法,训练语言模型在推理时进行分布推理。通过修改强化学习目标,使模型能在单次前向传播中显式生成多个候选答案,将推理时搜索机制内化至生成过程。在问答、医学诊断和编程基准上,相比仅生成单答案的基线模型,本方法在多样性、覆盖范围和集合级校准分数方面均有提升。使用该方法的模型生成多个答案所需词元数更少,在编程任务中准确率也显著更高。这些结果表明,多答案强化学习是比传统推理时扩展方法(如best-of-k)更合理且高效的替代方案。代码与更多信息见:https://multi-answer-rl.github.io/。

原文摘要 · Abstract (English)

Given a question, a language model (LM) implicitly encodes a distribution over possible answers. In practice, post-training procedures for LMs often collapse this distribution onto a single dominant mode. While this is generally not a problem for benchmark-style evaluations that assume one correct answer, many real-world tasks inherently involve multiple valid answers or irreducible uncertainty. Examples include medical diagnosis, ambiguous question answering, and settings with incomplete information. In these cases, we would like LMs to generate multiple plausible hypotheses, ideally with confidence estimates for each one, and without computationally intensive repeated sampling to generate non-modal answers. This paper describes a multi-answer reinforcement learning approach for training LMs to perform distributional reasoning over multiple answers during inference. We modify the RL objective to enable models to explicitly generate multiple candidate answers in a single forward pass, internalizing aspects of inference-time search into the model's generative process. Across question-answering, medical diagnostic, and coding benchmarks, we observe improved diversity, coverage, and set-level calibration scores compared to single answer trained baselines. Models trained with our approach require fewer tokens to generate multiple answers than competing approaches. On coding tasks, they are also substantially more accurate. These results position multi-answer RL as a principled and compute-efficient alternative to inference-time scaling procedures such as best-of-k. Code and more information can be found at https://multi-answer-rl.github.io/.

语言模型强化学习多答案生成分布推理

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