2025-02-11 · 专家 · 自然语言处理 · 其他 · 机器学习

ReasonFlux: Hierarchical LLM Reasoning via Scaling Thought Templates

ReasonFlux通过扩展思维模板,实现分层LLM推理,有效优化推理搜索空间,并在数学推理能力上超越OpenAI o1-preview和DeepSeek V3等强大LLM。

更新于 2025-02-11。作者:Ling Yang、Zhaochen Yu、Bin Cui、Mengdi Wang。

中文摘要

我们提出,通过扩展思维模板进行分层LLM推理可以有效优化推理搜索空间,并超越像OpenAI o1-preview和DeepSeek V3这样的强大LLM的数学推理能力。我们使用仅8个GPU训练我们的ReasonFlux-32B模型,并引入了三项创新:(i)一个结构化和通用的思维模板库,包含约500个高级思维模板,能够泛化到类似或相关的推理问题;(ii)在一系列思维模板上执行分层强化学习,而不是在长CoTs上,优化基础LLM以规划出最佳的模板轨迹,逐步处理复杂问题;(iii)一个全新的推理扩展系统,通过在推理时自适应扩展思维模板,实现了分层LLM推理。我们的ReasonFlux-32B模型通过包含连续思维模板的模板轨迹,显著提升了数学推理能力,达到了行业领先水平。值得注意的是,在MATH基准测试中,它达到了91.2%的准确率,超过了o1-preview 6.7%。在USA数学奥林匹克(AIME)基准测试中,ReasonFlux-32B平均解决了56.7%的问题,分别比o1-preview和DeepSeek-V3高出27%和45%。代码:https://github.com/Gen-Verse/ReasonFlux

英文摘要

We present that hierarchical LLM reasoning via scaling thought templates can effectively optimize the reasoning search space and outperform the mathematical reasoning capabilities of powerful LLMs like OpenAI o1-preview and DeepSeek V3. We train our ReasonFlux-32B model with only 8 GPUs and introduces three innovations: (i) a structured and generic thought template library, containing around 500 high-level thought templates capable of generalizing to similar or relevant reasoning problems; (ii) performing hierarchical reinforcement learning on a sequence of thought templates instead of long CoTs, optimizing a base LLM to plan out an optimal template trajectory for gradually handling complex problems; (iii) a brand new inference scaling system that enables hierarchical LLM reasoning by adaptively scaling thought templates at inference time. With a template trajectory containing sequential thought templates, our ReasonFlux-32B significantly advances math reasoning capabilities to state-of-the-art levels. Notably, on the MATH benchmark, it achieves an accuracy of 91.2% and surpasses o1-preview by 6.7%. On the USA Math Olympiad (AIME) benchmark, ReasonFlux-32B solves an average of 56.7% of problems, surpassing o1-preview and DeepSeek-V3 by 27% and 45%, respectively. Code: https://github.com/Gen-Verse/ReasonFlux

解读

一句话总结

ReasonFlux通过扩展思维模板,实现分层LLM推理,有效优化推理搜索空间,并在数学推理能力上超越OpenAI o1-preview和DeepSeek V3等强大LLM。

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

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

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

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

来源

机器可读索引:llms.txt