TL;DR
When we train Large Language Model (LLM) agents using reinforcement learning (RL), they usually just get better at doing things they already knew how to do, rather than discovering genuinely new solutions. This paper introduces Strategy-Guided Exploration (SGE), a method that shifts exploration from noisy low-level actions to creative, high-level natural language "strategies." By brainstorming diverse plans before acting—and learning from past strategic failures—LLM agents can finally break past their baseline limits and solve tasks that originally stumped them completely.
What Problem Does This Paper Address?
Imagine trying to figure out an unfamiliar smartphone app by randomly tapping pixels on the screen. You probably won't get very far, and even if you add "noise" to explore more, tapping ten pixels to the left of the same wrong button achieves the exact same nothing.
This is the core dilemma of training LLM agents with reinforcement learning (RL). In agentic tasks—like writing code, navigating user interfaces, or calling APIs—rewards are usually sparse (you either pass the unit tests at the very end, or you get zero). Because pretrained LLMs already have strong habits, standard RL algorithms struggle to stumble upon novel, winning trajectories. Instead of teaching the model new skills, RL mostly acts as a filter, sharpening behaviors the base model could already pull off if given enough tries (measured as pass@k, the chance of succeeding at least once in $k$ attempts). If a base model has a 0% chance of solving a hard task after a thousand tries, standard RL gets zero learning signal and hits a brick wall.
Methods
Instead of hoping random token variations will magically produce a smart new sequence of actions, the authors propose Strategy-Guided Exploration (SGE). Built on top of standard Group Relative Policy Optimization (GRPO), SGE changes how the model samples rollouts during RL training using three main ingredients:
- Strategy Prompting: Before outputting any reasoning or environment action at each step, the agent is prompted to write a concise, high-level natural language
Strategy:describing what it intends to accomplish next, followed by theAction:. - Mixed-Temperature Sampling: While prompting for a plan isn't new, SGE decodes the strategy tokens at a high temperature (encouraging wilder, more diverse ideas across parallel rollouts) and the subsequent action tokens at a lower temperature (ensuring precise, reliable execution of that idea, like clicking the exact center of a button).
- Strategy Reflection: SGE keeps a task-specific buffer of past strategies from earlier in training. With some probability, it feeds a previously failed strategy sequence back into the prompt and explicitly asks the model to critique it and try something completely different (Negative Reflection), or shows a winning strategy to inspire variations (Positive Reflection).
Crucially, mixed-temperature sampling and reflection are training wheels: at test time, they are removed, leaving a single, standalone policy with zero memory-retrieval overhead.
Datasets
The authors did not introduce new benchmarks, instead evaluating SGE across four distinct, existing multi-step agentic environments (training separate Qwen-family models from 3B to 8B parameters for each):
- Coding: The "hard" problem subset from Xia et al. (2025a), made multi-turn by feeding execution errors and unit test results back to the agent.
- AndroidWorld: A visual phone UI control benchmark where the agent views RGB screenshots and outputs pixel taps, swipes, and text.
- Language Rearrangement (LangR): A text-based embodied AI benchmark where a household robot navigates rooms and moves objects (e.g., "put all the apples in the fridge").
- AppWorld: A multi-step tool-calling environment spanning 9 simulated apps and 457 APIs (using the "Easy" split, which remains tough for 8B models).
Key Insights and Ideas
- Outcome diversity beats token diversity: Adding randomness at the action level creates superficial variety—like renaming a Python variable or tapping slightly different coordinates on the same icon. Turning up the heat in strategy space forces the LLM to explore genuinely different outcomes in the environment.
- RL can expand an LLM's boundaries, not just sharpen them: Recent conventional wisdom in math and reasoning RL suggests post-training cannot beat the base model's ceiling (
max pass@k). SGE disproves this for agentic tasks, showing that structured language exploration unlocks solutions the base model would never find on its own. - Failure is the best teacher, provided you're smart enough: Ablations show that reflecting on failed strategies drives new task discoveries much more than reflecting on successful ones. However, scaling experiments (600M vs. 4B vs. 8B models) reveal a catch: a tiny 600M model gets almost zero benefit from SGE because it lacks the baseline reasoning power to brainstorm or follow strategies in the first place.
Key Results
Across all four environments, SGE achieves an average 27% relative improvement in final training success rate over the next best RL baseline (including exploration-heavy baselines like Entropy Advantage and Random Network Distillation).
- Breaking the ceiling: In multi-turn Coding, the base model solves 69% of problems at least once given 2,048 tries (
pass@2048= 0.69). Standard RL baselines stall out at 64% (pass@1). SGE pushes single-trypass@1to 73%, officially solving problems the base model couldn't touch. In Coding and LangR, SGE surpasses the base models' maximumpass@kceiling by an average of 11% (relative). - Unseen task generalization: Those exploration gains translate directly to held-out test tasks (
pass@1), where SGE beats standard GRPO across the board: 29.2% vs. 22.0% in Coding, 36.7% vs. 21.9% in AndroidWorld, 60.8% vs. 46.0% in LangR, and 66.6% vs. 49.3% in AppWorld.
Limitations and Future Work
- Requires a capable base model: As the 600M scaling test showed, if the starting LLM can't reason well enough to formulate distinct plans or translate them into actions, SGE falls flat.
- Inference latency: Generating an explicit natural language strategy before every single step burns extra tokens and adds latency, which isn't ideal for real-time applications. Future work could teach agents to dynamically generate new strategies only when stuck or at major decision points.
- Long-horizon context bloat & non-agentic tasks: Conditioning reflection on every step's strategy works fine for 10-step episodes, but 100-step tasks will require summarizing history into compact "meta-strategies." Extending SGE from interactive environments to single-turn math or pure reasoning domains also remains an open avenue.
Summary updated