MARGE: Improving Math Reasoning for LLMs with Guided Exploration
Jingyue Gao, Runji Lin, Keming Lu, Bowen Yu, Junyang Lin, Jianyu Chen
TL;DR
This work tackles the data-efficiency bottleneck and spurious correlations that limit mathematical reasoning in LLMs by introducing MARGE, a guided-exploration framework. MARGE decomposes reasoning into intermediate states and uses hit-guided exploration to complete prefixes from a guide solution, estimating state values via Monte Carlo and updating policies through RL or DPO without external value models. Empirical results across multiple backbones and benchmarks (e.g., MATH, GSM8k, CollegeMath, OlympiadBench) show substantial gains in both single-shot accuracy and exploration diversity (pass@64), with ablations confirming the value of guided exploration and data-generation strategies. The approach scales self-generated training data more effectively, yielding improved reasoning capabilities and broader solution repertoires, and opens avenues for applying guided-exploration principles to other reasoning-intensive tasks.
Abstract
Large Language Models (LLMs) exhibit strong potential in mathematical reasoning, yet their effectiveness is often limited by a shortage of high-quality queries. This limitation necessitates scaling up computational responses through self-generated data, yet current methods struggle due to spurious correlated data caused by ineffective exploration across all reasoning stages. To address such challenge, we introduce \textbf{MARGE}: Improving \textbf{Ma}th \textbf{R}easoning with \textbf{G}uided \textbf{E}xploration, a novel method to address this issue and enhance mathematical reasoning through hit-guided exploration. MARGE systematically explores intermediate reasoning states derived from self-generated solutions, enabling adequate exploration and improved credit assignment throughout the reasoning process. Through extensive experiments across multiple backbone models and benchmarks, we demonstrate that MARGE significantly improves reasoning capabilities without requiring external annotations or training additional value models. Notably, MARGE improves both single-shot accuracy and exploration diversity, mitigating a common trade-off in alignment methods. These results demonstrate MARGE's effectiveness in enhancing mathematical reasoning capabilities and unlocking the potential of scaling self-generated training data. Our code and models are available at \href{https://github.com/georgao35/MARGE}{this link}.
