让大模型像人一样一步步思考,无需训练就能提升数学解题能力。
Step Guided Reasoning: Improving Mathematical Reasoning using Guidance Generation and Step Reasoning
- 推理时引入反思机制,引导模型逐步推进解题
- Qwen2-72B-Instruct在MMLU-STEM上达90.9%准确率,超越专用数学模型
- 通用模型数学成绩平均提升10个百分点,适合部署在无专用数据场景
数学推理对大语言模型仍具挑战性,尽管逐步推理(Chain-of-Thought)已显著提升其能力,但现有方法或需大量训练数据,或依赖少样本提示而影响计算精度。为此,本文提出无需训练的Step Guided Reasoning框架,使通用预训练语言模型在推理阶段通过反思小步骤,自主引导后续推理过程,模拟人类专注与决策。实验表明,该方法显著提升模型数学表现:Qwen2-72B-Instruct在MMLU-STEM上达到90.9%,优于专用数学模型Qwen2.5-72B-Math-Instruct的87.3%;Qwen2-7B-Instruct和Qwen2-72B-Instruct在数学领域的平均得分分别从27.1%提升至36.3%、36.5%提升至47.4%。
原文摘要 · Abstract (English)
Mathematical reasoning has been challenging for large language models (LLMs), and the introduction of step-by-step Chain-of-Thought (CoT) inference has significantly advanced the mathematical capabilities of LLMs. However, current approaches either necessitate extensive inference datasets for training or depend on few-shot methods that frequently compromise computational accuracy. To address these fundamental limitations, we propose Step Guided Reasoning, a novel training-free adaptation framework that efficiently equips general-purpose pre-trained language models with enhanced mathematical reasoning capabilities. In this approach, LLMs reflect on small reasoning steps, similar to how humans deliberate and focus attention on what to do next. By incorporating this reflective process into the inference stage, LLMs can effectively guide their reasoning from one step to the next. Through extensive experiments, we demonstrate the significant effect of Step Guided Reasoning in enhancing mathematical performance in state-of-the-art language models -- Qwen2-72B-Instruct outperforms its math-specific counterpart, Qwen2.5-72B-Math-Instruct, on MMLU-STEM with a score of 90.9%, compared to 87.3%. The average scores of Qwen2-7B-Instruct and Qwen2-72B-Instruct increase from 27.1% to 36. 3% and from 36. 5% to 47.4% in the math domain, respectively.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。