NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning to Surpass: Training Tool-Using Agents with Anchored Feedback

John Gkountouras, Fengjun Wang, Angelantonio Castelli, Satendra KumarNeurIPS 2026

TL;DR

How do you teach an AI agent to use tools and plan complex tasks when you only have examples of finished plans, not the messy step-by-step API calls used to build them? Instead of reverse-engineering fake tool traces to imitate, this paper treats existing plans as "anchors" to beat in a head-to-head competition. By pairing strict rule-checking gates with a comparative LLM judge, a lightweight 4B-parameter model learns to figure out its own tool calls and surpass both human references and much larger teacher models.

What Problem Does This Paper Address?

Imagine trying to learn how to cook a five-course meal solely by looking at photos of the plated dishes. In the real world, we have plenty of high-quality outcomes—curated travel itineraries, resolved support tickets, finished reports—but we rarely have records of the intermediate tool calls (database queries, API lookups, search steps) that produced them.

The standard workaround is trace imputation: guessing the intermediate steps, stitching together synthetic trajectories, and training the model via supervised fine-tuning (imitation learning). The catch? Imitation sets a ceiling: if you train a model to copy a reference, it can at best match it, never surpass it.

Compounding this is a second headache: planning objectives are only partially specifiable. You can write a Python script to verify if a travel itinerary stays under budget or uses real hotels (hard constraints), but you cannot easily code a check for "good vibes" or sensible pacing (holistic quality). If you optimize only for rules, you get robotic plans; if you optimize for an LLM judge's approval, the agent learns to sweet-talk the judge while hallucinating hotels.

Methods

The authors introduce Anchored Comparative Feedback, built on top of Group Relative Policy Optimization (GRPO)—a standard reinforcement learning algorithm that estimates baselines by sampling multiple rollouts per prompt rather than training a separate critic network.

Figure 1: Anchored GRPO training overview. (Left) The optimization loop (single rollout): the agent policy generates a plan ˆy from a user query, which passes through a constraint gate before reward calculation. (Right) Comparison of reward formulations: Anchored GRPO (ours) compares the model’s plan against a reference plan ˜y via an LLM judge J(x, ˆy, ˜y), yielding win/tie/lose outcomes. Score GRPO uses absolute scoring J(x, ˆy) without a reference, which can be exploited through superficial artifacts.

What’s new is how the reward is constructed and safeguarded:

  1. Outcome-Only Exploration: Given a user query, the agent explores its own sequence of sandbox tool calls (with chain-of-thought disabled) and emits a structured JSON plan.
  2. Hard-Gated Rewards: Before any subjective judging happens, the plan hits a deterministic constraint gate. If any hard rule fails (e.g., over budget, fake venue, repeated restaurant), the reward is immediately zeroed out.
  3. Anchored Comparison: Valid plans are evaluated alongside a reference "anchor" plan (human or synthetic) by a frozen LLM judge (Gemini-2.5-Flash-Lite). Instead of asking for an easily gamed absolute score ("Rate this 1–5"), the judge scores both plans side-by-side to yield a win ($1$), tie ($0.5$), or loss ($0$), which is added to rule-based efficiency bonuses.
  4. Neutralizing Judge Biases: Because LLM judges notoriously favor longer, flashier text or specific list positions, both the model’s JSON and the anchor JSON are rendered into natural language using the exact same deterministic template, and their presentation order is randomized.

Datasets

No new benchmarks are introduced; the authors train exclusively on one dataset and test generalization across several existing ones:

  • TripTailor (Training & Primary Eval): A tool-augmented single-city travel planning benchmark (3,145 training queries with human-written narrative itineraries converted to JSON; 703 test queries) backed by a sandbox database of hotels, restaurants, attractions, and transit.
  • Held-out Transfer Benchmarks: TravelPlanner (US multi-city itineraries evaluated purely on hard rules), NaturalPlan (static-context trip, meeting, and calendar scheduling), $\tau^2$-Bench (multi-turn retail customer service dialogue with tools), plus TaskBench and UltraTool (general non-travel tool planning).

Key Insights and Ideas

  • Absolute scoring breeds "rule lawyers": When trained with pointwise LLM scores instead of an anchor (Score GRPO), the agent gives up on holistic quality and hyper-focuses on verifiable rules—hitting 97.9% rationality but dropping to a 38.5% LLM win rate. The anchor provides a stable target that keeps subjective quality and hard rules in balance.
  • Human anchors beat synthetic ones on transfer: Training against synthetic plans from Gemini-3.0-Pro works well in-distribution, but trails human-anchored training when tested on orthogonal, held-out evaluation rubrics. Synthetic anchors quietly bake in teacher-specific quirks.
  • Fixing validity unlocks everything else: Decomposing the errors reveals that the base model mostly fails by breaking hard rules (53.3% of the time), not by making boring plans. Anchored GRPO slashes constraint failures to 8.4% without sacrificing subjective preference.
Outcome decomposition showing how Anchored GRPO drastically reduces constraint failures.
  • More tool calls aren't the secret: While the trained agent calls tools more often (8.73 vs. 5.78 calls per plan), comparing trajectories of identical length shows Anchored GRPO hits 89.9% validity at 7–8 calls versus 46.6% for the base model. It learns smarter tool use, not just more tool use.

Key Results

Fine-tuning Qwen3-4B-Instruct with Anchored GRPO delivers striking gains on TripTailor's primary Final Surpass metric (plans that pass all hard constraints and beat the human reference under either a cross-family GPT-4o/Claude-4.5-Haiku judge ensemble or a held-out reward model):

  • 80.1% Final Surpass, more than doubling the base Qwen3-4B model (34.1%), crushing supervised fine-tuning on oracle-imputed traces (43.7%), and outperforming the much larger Gemini-3.0-Pro teacher workflow (52.6%).
  • Under Strict Surpass (requiring both the LLM judges and the reward model to prefer the plan), Anchored GRPO reaches 38.4%, beating the next best method by nearly 12 percentage points.
  • Human Evaluation: Seven blind professional annotators rated plans across the full test set. Humans handed out ties 56% of the time, lowering overall win rates, yet Anchored GRPO (16.9% human Final Surpass) still more than doubled the baseline (7.8%) and matched Gemini-3.0-Pro (16.1%).
  • Zero-Shot Transfer: Without touching target-domain data, the 4B model achieves a 5x jump on TravelPlanner (1.1% to 5.6% Final Pass—notable where 8B and 32B Qwen3 models score near 0%) and a +4.1 point boost on $\tau^2$-Bench retail tasks (39.0% to 43.1%). Static reasoning without tools (NaturalPlan) stays flat (~0.2% difference), showing the gains are genuinely tied to tool-augmented planning.

Limitations and Future Work

The authors are candid about when this recipe breaks down:

  • Garbage in, ceiling lowered: The method relies on having decent outcome-level anchors to compare against, and an LLM judge whose rubric actually correlates with true quality.
  • Single training domain: All training experiments were conducted on travel planning (TripTailor), and quality was predominantly measured via automated evaluators (LLM judges and a learned reward model), though backed by a human study.
  • Domain-specific boundaries: Skills only transfer to tasks that exercise what the training reward actually touched—tool-augmented constraint satisfaction transfers, whereas pure static puzzle-solving (like NaturalPlan) sees no benefit. Future extensions aren't explicitly mapped out in the main text, leaving multi-domain training and broader judge-vulnerability defenses open to explore.

Summary updated

BibTeX
@inproceedings{gkountouras2026learning,
  author = {John Gkountouras and Fengjun Wang and Angelantonio Castelli and Satendra Kumar},
  title = {{Learning to Surpass: Training Tool-Using Agents with Anchored Feedback}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=irZGe0gK3i},
}
Figure