Abstract
SMART (Self-learning Meta-strategy Agent for Reasoning Tasks) is a novel framework that enables Large Language Models (LLMs) to autonomously select the most effective reasoning strategy—such as Chain-of-Thought or Program-of-Thought—on their very first attempt. By modeling strategy selection as a reinforcement learning problem, SMART significantly boosts reasoning accuracy while drastically reducing the computational overhead typically required by iterative self-refinement.
Introduction
Complex reasoning tasks, such as multi-step mathematical problems, often require specialized strategies. While some problems are best solved through step-by-step verbal logic (Chain-of-Thought), others are more robustly addressed via code generation (Program-of-Thought). Current LLMs typically rely on a single default strategy or expensive iterative "self-refinement" processes where the model tries, fails, and tries again. SMART addresses this inefficiency by teaching models to pick the optimal strategy on the first trial, internalizing the decision-making process much like a human expert.
Methodology
SMART treats strategy selection as a Markov Decision Process (MDP) and utilizes a two-stage self-learning loop to train the model. The core innovation lies in how it handles failures during training to improve first-pass performance.
- Initial Sampling: The model attempts to solve a problem using a chosen strategy.
- Iterative Refinement (Training Only): If the first attempt fails, the model iteratively tries different strategies until it finds the correct answer.
- Reinforcement Learning: The model is updated using successful trajectories via policy gradients.
- Implicit Biasing: When a model finds a correct answer during refinement (e.g., on a subsequent try), the training data is updated to map that successful strategy back to the initial problem state. This "biases" the model to select the winning strategy immediately during future inference.
Experimental Setup
The framework was evaluated using three primary strategies: Chain-of-Thought (CoT), Least-to-Most (L2M), and Program-of-Thought (PoT). Training was conducted on the MetaMath dataset (110K problems). Performance was measured on the GSM8K dataset (in-distribution) and SVAMP/ASDiv datasets to test out-of-distribution (OOD) generalization.
Key Results and Insights
SMART demonstrated substantial performance gains across multiple architectures, including Llama3, Gemma, Mistral, and Qwen2.
- Accuracy and Efficiency: On the GSM8K dataset, SMART improved the Gemma 7B model's accuracy by +15.2 points (from 40.4% to 55.6%) on the first attempt. Notably, SMART achieved higher accuracy with a single inference pass than baseline models could achieve even after multiple rounds of refinement.
- Strategy Evolution: Researchers observed that as training progressed, models developed specific preferences. For example, Gemma 7B increasingly favored Program-of-Thought (PoT) as it recognized code-based solutions were more robust for the target tasks.
- Generalization: The model showed "zero-shot" strategy transfer, improving performance on OOD datasets like SVAMP and ASDiv without specific training on those distributions.
Conclusion and Future Work
While SMART requires a baseline level of intelligence (typically 7B+ parameters) to successfully initiate the self-learning loop, it offers a path toward more efficient and accurate reasoning agents by internalizing the "Aha!" moment. Future research will focus on expanding the strategy library beyond mathematics and exploring how this meta-strategy approach scales to models exceeding 70B parameters.
Summary updated