DUET: Co-Evolving Solver and Grader Agents

Fengyu Gao, Sourav Pal, Austin Z. Henley, Arjun Radhakrishna, Gustavo SoaresarXiv 2026

TL;DR

DUET is a framework that jointly optimizes "solver" agents (which perform tasks) and "grader" agents (which evaluate them) in a reciprocal loop. By co-evolving evaluation alongside task execution, DUET overcomes the bottleneck of static feedback, outperforming state-of-the-art optimization methods even when those baselines have access to high-quality reference evaluators.

What Problem Does This Paper Address?

Building capable Large Language Model (LLM) agents for complex tasks—like spreadsheet manipulation or multi-step financial analysis—requires iterative optimization. Typically, researchers use a fixed "grader" to provide feedback to a "solver."

However, the authors identify a fundamental "moving target" problem: as a solver agent becomes more sophisticated, its failure modes become subtler. A static grader that was adequate at the start of training may eventually fail to notice the fine-grained errors of a high-performing agent. This creates a feedback bottleneck. The authors argue that for an agent to truly evolve, the evaluation policy must adapt alongside it.

Methods

The authors introduce DUET (Dual Updates for Evaluation and Task-solving), which treats both the solver and the grader as optimization targets. The framework operates in three main steps per round:

  1. Adaptive Task Selection: Instead of training on every task equally, DUET uses a "Sliding-Window Upper Confidence Bound" (SW-UCB) algorithm. It prioritizes tasks where the grader's score has recently fluctuated, signaling that these tasks still offer valuable learning opportunities for either the solver or the grader.
  2. Execution and Evaluation: The solver performs the selected tasks, and the grader provides a scalar score and a natural-language critique based on the execution artifacts (logs, screenshots, etc.).
  3. Alternating and Bounded Updates: To ensure stable learning, DUET alternates between updating the solver and the grader across rounds. An LLM-based "update module" analyzes the history of successes and failures to propose prompt or skill revisions. These revisions are "bounded" by a textual learning rate (an edit budget) to prevent the agents from drifting into unstable behaviors.
Figure 1: Overview of DUET. At each round, DUET first selects a training batch adaptively that balances exploitation and exploration. The solver then executes the selected tasks, and the grader evaluates the resulting trajectories and outputs to produce scores and critiques. Finally, the update module alternates between revising the grader and the solver, keeping the other fixed in each round.

Datasets

DUET was evaluated across four diverse benchmarks requiring tool use and long-horizon reasoning:

  • SpreadsheetBench: Expert-verified tasks involving complex Excel workbook edits.
  • GDPval: Economic data analysis tasks that require creating or modifying spreadsheets from various source files.
  • $\tau^2$-Bench: A multi-turn customer service benchmark spanning airline, retail, and telecom domains.
  • Finance Agent Benchmark: Long-form financial QA requiring web retrieval and citation-heavy responses.

To evaluate the graders themselves, the authors also constructed dedicated pairwise evaluation sets for each benchmark, selecting "adversarial" pairs where superficial cues might trick a weak evaluator.

Key Insights and Ideas

  • The Reciprocal Loop: The core "aha moment" is that solver executions provide the evidence needed to refine the grader, while a more discerning grader provides the high-fidelity feedback needed to further improve the solver.
  • Outperforming the Oracle: Remarkably, DUET (starting from a minimal, empty-prompt grader) often achieved higher solver performance than baselines that were given access to the benchmark's own "oracle" reference evaluator. This suggests that co-evolution can discover task-specific nuances that even human-designed rubrics might miss.
  • Prompt Evolution: During optimization, the agents don't just get "better"; they develop reusable habits. Solvers learned to diagnose root causes before acting, while graders developed sophisticated practices for evidence grounding and score calibration.
Figure 2: Representative solver and grader prompt updates produced by DUET during optimization. The solver develops reusable practices for root-cause diagnosis, completeness checking, and efficient tool use, while the grader develops practices for correctness verification, evidence assessment, and score calibration.

Key Results

DUET consistently outperformed established baselines like SkillOpt and GEPA across all metrics:

  • Solver Gains: On the Finance Agent Benchmark, DUET reached a 96.5% rubric score, compared to 94.4% for the best baseline. On $\tau^2$-Bench, it achieved an 89.4% success rate, significantly higher than the 83.3% achieved by GEPA.
  • Grader Gains: The grader's ability to agree with reference labels improved significantly. For instance, on GDPval, grader agreement jumped from 68.4% to 78.5%.
  • Inference Efficiency: Despite the dual optimization, DUET maintains an inference cost (tokens and LLM calls per task) comparable to fixed-grader baselines.
Table 1: Solver and grader performance on the test sets using Claude Opus 4.8, with system prompts as the optimization target. Solver metrics are rubric score for Finance Agent Benchmark, success rate for τ 2-Bench, win rate for GDPval, and task accuracy for SpreadsheetBench. Grader performance is measured by pairwise agreement. A0 and G0 denote empty-prompt initialization, and G⋆denotes the benchmark reference evaluator. Results show mean and standard deviation over 3 random seeds.

Limitations and Future Work

  • Validation Dependency: While DUET is "reference-free" during the update steps, it still uses a labeled validation set for final checkpoint selection and early stopping. The authors tested a "fixed-budget" version that removes this dependency, but it remains a point for further refinement.
  • Human Judgment Gap: The study relies on benchmark reference evaluators as the ground truth. The authors acknowledge that incorporating actual human judgments into the loop would be the gold standard, though it is currently cost-prohibitive for large-scale optimization.
  • Scaling to Multi-Agent Systems: While DUET focuses on a solver-grader pair, future work could explore co-evolving larger teams of specialized agents.

Summary updated

BibTeX
@misc{gao2026duet,
  author = {Fengyu Gao and Sourav Pal and Austin Z. Henley and Arjun Radhakrishna and Gustavo Soares},
  title = {{DUET: Co-Evolving Solver and Grader Agents}},
  year = {2026},
  eprint = {2610.04087},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.04087},
}
Figure