TL;DR
Autonomous LLM agents often stumble during long, multi-step tasks because a single early mistake can snowball into catastrophic failure. Asking a "critic" model for a second opinion at every step improves reliability, but it burns through tokens and explodes latency. This paper introduces SAG, an agent framework that treats asking for help as an economic decision—requesting a critique only when genuinely uncertain, and distilling successful lessons back into itself so it needs less help over time.
What Problem Does This Paper Address?
Imagine driving across an unfamiliar city. If you never check a map, one wrong turn early on leaves you hopelessly lost. Conversely, pulling over at every single intersection to consult a navigation committee guarantees you'll arrive eventually, though it might take three days.
LLM agents face this exact dilemma in long-horizon decision-making. Standard agents (like ReAct) reason and act step-by-step on their own; they are fast and cheap, but brittle. Recent "always-on" critique or multi-agent debate frameworks catch errors by evaluating every move, yet they inflate token consumption by $3\times$ to over $10\times$. Worse, critics aren't infallible oracles—constant second-guessing at easy steps wastes compute and can actually talk a confident agent out of the right answer. Missing from the toolkit has been a principled way to answer a simple deployment question: When is a critique actually worth its cost?
Methods
The authors propose SAG (Self-improving Agent with Gated critique), which pairs a lightweight, training-free gating mechanism with online self-improvement.
Instead of relying on fixed schedules, SAG frames critique invocation through decision theory's Value of Information (VoI): only pay for advice when the expected drop in error risk outweighs the compute cost. Because exact VoI is intractable, SAG approximates it by measuring the actor's own confusion over valid actions using two signals:
- Global ambiguity (Normalized Entropy): Is probability mass spread thin across many options, meaning the agent has no clear favorite?
- Local ambiguity (Top-2 Log-Probability Margin): Is the agent torn in a near-tie between its top two choices, sitting right on a fragile decision boundary?
These two signals combine into a bounded score. Only when this score crosses a cost threshold does SAG query a non-oracle critic (typically the exact same LLM backbone with a different prompt).
Finally, SAG incorporates online bootstrapped self-improvement. Whenever an episode succeeds, the context-action pairs—including actions rescued by the critic—are saved. Every 10 successful episodes, the base actor is fine-tuned via lightweight Supervised Fine-Tuning (SFT) on those actions, internalizing the critic's wisdom.
Datasets
No new benchmarks were introduced. SAG is evaluated sequentially online across three established, complementary long-horizon environments:
- ALFWorld (134 test instances): Embodied household tasks requiring state tracking under partial observability.
- BabyAI-Text (100 instances): Grid-world compositional instruction following and planning.
- WebShop (200 instances): Noisy, open-domain e-commerce search and product selection.
Key Insights and Ideas
- Over-critiquing isn't just expensive; it's actively harmful. Removing SAG's gate so the critic intervenes at every step caused ALFWorld success to drop from 78.3% to 62.0% while consuming $5\times$ more tokens. Non-oracle critics introduce noise when second-guessing straightforward moves.
- Critique acts as temporary training wheels. Because SAG fine-tunes on its own successful trajectories, the actor grows more confident on familiar states. Under the exact same gate threshold, critic calls naturally drop from 2.85 per episode early on to 1.10 late in evaluation, even as task success climbs.
- Smart test-time routing rivals raw parameter scaling. Pairing a 7B actor with a tiny 3B critic (76.9% success) virtually matches a standalone 14B actor without critique (77.2%). Selective deliberation recovers big-model reliability on a small-model budget.
Key Results
Across Qwen2.5-7B, Llama-3.1-8B, and Mistral-7B backbones, SAG achieves an average relative success improvement of 91% over ReAct while preserving a near-ReAct token budget.
- Efficiency Breakthroughs: On ALFWorld (Qwen2.5-7B), SAG jumps task success from 24.6% to 78.3% (approaching GPT-4.1's 80.6% ReAct baseline) while using 56k tokens per episode—essentially matching ReAct's 55k and crushing always-on LAC's 339k. This yields a $3.1\times$ boost in normalized token efficiency.
- Thriving on Hard Tasks: When stratified by difficulty, SAG doubles ReAct's performance on easy ALFWorld tasks (43.4% $\rightarrow$ 85.1%) and achieves over a $4\times$ improvement on hard tasks (17.8% $\rightarrow$ 75.0%), where preventing early cascading errors matters most.
- Zero Task-Specific Tuning: The exact same gating thresholds ($\tau, \delta$) worked robustly across all three benchmarks and model families.
Limitations and Future Work
While a dedicated limitations section is not included in the main text, several scope boundaries are apparent from the formulation:
- Admissible Action Sets: Computing normalized entropy and top-2 margins requires scoring a discrete set of valid actions ($\mathcal{A}_t$) provided by the environment. Adapting this exact probability distribution to unconstrained, open-ended action spaces (like free-form code generation) would require modifications.
- Deployment vs. RL Post-Training: The authors focus strictly on deployment-time adaptation and lightweight action-level SFT rather than heavy reinforcement learning (RL) rollouts prior to deployment, positioning SAG as a low-overhead alternative when large-scale RL infrastructure isn't practical.
Summary updated