Expanding LLM Agent Boundaries with Strategy-Guided Exploration

Andrew Szot, Michael Kirchhof, Omar Attia, Alexander T ToshevNeurIPS 2026

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:

Figure 1: Overview of Strategy-Guided Exploration (SGE). SGE improves reinforcement learning (RL) training on hard agentic tasks for which the base model fails (left of figure). SGE addresses this by having the LLM policy output a language “strategy” and conditioning action generation on this strategy. The reasoning capabilities of the LLM enable diverse strategy generation through: (1) mixed-temperature sampling, where strategy tokens are sampled with higher temperature, and (2) strategy reflection, where strategies are generated to be distinct from earlier strategies in RL training. This enables SGE to explore to solve tasks that the base model is not capable solving (right of figure).
  1. 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 the Action:.
  2. 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).
  3. 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).

Figure 2: RL training curves for SGE and baselines in each environment. Training curves show the average pass@1 rate versus the number of RL updates for the training tasks across 3 random seeds in training runs, with the shaded area representing the standard deviation of the pass@1 rate across the seeds. The horizontal lines indicate the base model pass@k rate with lighter shades meaning a higher k. In the Coding environment, SGE and GRPO are trained longer than the other approaches to show better converged performance. RND and RLAD baselines are also only shown for this environment since they underperform the GRPO and EntropyAdv.
  • 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-try pass@1 to 73%, officially solving problems the base model couldn't touch. In Coding and LangR, SGE surpasses the base models' maximum pass@k ceiling 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

Abstract

Reinforcement learning (RL) has demonstrated success in post-training large language models (LLMs) as agents for tasks such as computer use, tool calling, and coding. However, exploration remains a central challenge in RL for LLM agents, especially as they operate in language-action spaces with complex observations and sparse rewards. In this work, we address exploration for LLM agents by leveraging the ability of LLMs to plan and reason in language about the environment to shift exploration from low-level actions to higher-level language strategies. We thus propose Strategy-Guided Exploration (SGE), which first generates a concise natural-language strategy that describes what to do to make progress toward the goal, and then generates environment actions conditioned on that strategy. By exploring in the space of strategies rather than the space of actions, SGE induces structured and diverse exploration that targets different environment outcomes. To increase strategy diversity during RL, SGE introduces mixed-temperature sampling, which explores diverse strategies in parallel, along with a strategy reflection process that grounds strategy generation on the outcomes of previous strategies in the environment. Across UI interaction, tool-calling, coding, and embodied agent environments, SGE consistently outperforms exploration-focused RL baselines, improving both learning efficiency and final performance. We show that SGE enables the agent to learn to solve tasks too difficult for the base model.
BibTeX
@inproceedings{szot2026expanding,
  author = {Andrew Szot and Michael Kirchhof and Omar Attia and Alexander T Toshev},
  title = {{Expanding LLM Agent Boundaries with Strategy-Guided Exploration}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=VaJZqNyAXo},
}
Figure