🤖 AI Summary
Existing mathematical reasoning methods rely on fixed paradigms—such as natural language inference (NLI), code augmentation, tool invocation, or ensemble-based reasoning—struggling to balance effectiveness and efficiency. To address this, we propose PRISM, a two-stage framework that decouples reasoning into *strategy planning* and *goal execution*. PRISM introduces the first problem-aware, confidence-driven dynamic routing mechanism: it adaptively selects among single-strategy execution, dual-strategy verification, or multi-strategy exploration based on the predicted confidence distribution over candidate strategies. Leveraging the newly constructed MathStrat dataset—a multi-strategy preference benchmark—we train a lightweight strategy adapter that seamlessly integrates four mainstream reasoning paradigms. Evaluated across five mathematical reasoning benchmarks, PRISM consistently outperforms both single-paradigm and ensemble baselines, achieving absolute improvements of 0.9–7.6% across diverse foundation models, demonstrating strong generalization and cross-architecture robustness.
📝 Abstract
Existing methods usually leverage a fixed strategy, such as natural language reasoning, code-augmented reasoning, tool-integrated reasoning, or ensemble-based reasoning, to guide Large Language Models (LLMs) to perform mathematical reasoning. Our analysis reveals that the single strategy cannot adapt to problem-specific requirements and thus overlooks the trade-off between effectiveness and efficiency. To address these issues, we propose Planning and Routing through Instance-Specific Modeling (PRISM), a novel framework that decouples mathematical reasoning into two stages: strategy planning and targeted execution. Specifically, we first curate a multi-strategy preference dataset, which we call MathStrat, capturing correctness, process quality, and computational efficiency for each problem--strategy pair. Then, we train a lightweight Strategy Adapter based on the dataset to obtain confidence distributions over the mentioned four reasoning strategies. At inference time, an adaptive routing policy dynamically tailors the reasoning approach based on predictor confidence. It directs the model to use single-strategy execution for high-confidence predictions, dual-strategy verification for competitive scenarios, or comprehensive multi-strategy exploration for uncertain cases. Extensive experiments across five mathematical reasoning benchmarks demonstrate that PRISM consistently outperforms individual strategies and ensemble baselines, achieving improvements ranging from 0.9% to 7.6% across different base models. The adaptive routing approach shows particularly strong benefits for mathematical reasoning tasks across diverse model architectures. Our code is released at https://github.com/reml-group/PRISM.