2025-03-10 · 进阶 · 机器学习 · 自然语言处理

Learning from Failures in Multi-Attempt Reinforcement Learning

这篇论文提出了一种多尝试设置,通过让大型语言模型(LLM)在多轮对话中学习和改进其回答,显著提高了其在数学基准测试中的准确率。

更新于 2025-03-10。作者:Stephen Chung、Wenyu Du、Jie Fu。

中文摘要

近期,强化学习(RL)在大型语言模型(LLM)中的应用取得了显著进展,DeepSeek R1便是这一领域的典范。研究表明,即使是一个简单的问答任务,也能显著提升LLM的推理能力。在本研究中,我们通过将任务修改为多尝试设置来扩展这一方法。模型不是针对每个问题生成单个响应,而是给出多次尝试,并在回答错误后提供反馈。多尝试任务鼓励模型优化其之前的尝试并提高搜索效率。实验结果表明,即使是经过多尝试任务训练的小型LLM,在评估时尝试次数越多,准确率也显著提高,从数学基准测试中的1次尝试的45.6%提高到2次尝试的52.5%。相比之下,在评估时给予更多尝试的、在标准单轮任务上训练的同一LLM,其表现仅略有提升,从42.3%增加到43.2%。这些结果表明,与标准单轮任务相比,在多尝试任务上训练的LLM在数学基准测试上实现了略好的性能,同时学会了根据用户反馈更有效地优化其回答。完整代码可在https://github.com/DualityRL/multi-attempt上找到。

英文摘要

Recent advancements in reinforcement learning (RL) for large language models (LLMs), exemplified by DeepSeek R1, have shown that even a simple question-answering task can substantially improve an LLM's reasoning capabilities. In this work, we extend this approach by modifying the task into a multi-attempt setting. Instead of generating a single response per question, the model is given multiple attempts, with feedback provided after incorrect responses. The multi-attempt task encourages the model to refine its previous attempts and improve search efficiency. Experimental results show that even a small LLM trained on a multi-attempt task achieves significantly higher accuracy when evaluated with more attempts, improving from 45.6% with 1 attempt to 52.5% with 2 attempts on the math benchmark. In contrast, the same LLM trained on a standard single-turn task exhibits only a marginal improvement, increasing from 42.3% to 43.2% when given more attempts during evaluation. The results indicate that, compared to the standard single-turn task, an LLM trained on a multi-attempt task achieves slightly better performance on math benchmarks while also learning to refine its responses more effectively based on user feedback. Full code is available at https://github.com/DualityRL/multi-attempt

解读

一句话总结

这篇论文提出了一种多尝试设置,通过让大型语言模型(LLM)在多轮对话中学习和改进其回答,显著提高了其在数学基准测试中的准确率。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt