TL;DR
EvoGuard is a lightweight, pairwise selector that protects language agents from "skill drift" during online learning. By replacing expensive environment rollouts with a single model forward pass, it significantly boosts agent success rates across household, science, and coding benchmarks while maintaining the low latency required for real-time deployment.
What Problem Does This Paper Address?
Language agents often use "skills"—natural-language documents containing procedures and strategies—to solve tasks. Ideally, these agents should evolve their skills "online," updating their playbook after every interaction.
However, the authors identify a major hurdle: Skill Degradation. Single-trajectory updates are incredibly noisy. A successful episode might lead an agent to add redundant or overly specific advice, while a failure might result in misleading rules. As shown in Figure 1, nearly 42% of rewrites actually lower an agent's performance on a private test set.
Existing solutions usually involve "validating" every new skill by running it against a held-out test set. While effective, this is far too slow and computationally expensive to perform after every single task in a live deployment.
Methods
The authors propose EvoGuard, a pairwise skill selector that "amortizes" the cost of validation. The workflow consists of three main stages:
- Multi-Source Skill Pool Construction: They run a rewrite loop on training tasks using both a base generator and a stronger "expert" generator to create a diverse pool of skills ranging from poor to excellent.
- Utility-Grounded Pairwise Preference Learning: Every skill in the pool is scored on a private test set to determine its "utility." They then use rejection sampling to create training pairs where one skill is significantly better than the other. A selector (a cross-encoder) is trained to predict the better skill using a Bradley-Terry preference loss based on the logits of two label tokens ("A" or "B").
- Online Skill Selection: At deployment, the selector is frozen. After each task, the agent generates a new skill rewrite. The selector compares the current skill against the new rewrite in a single forward pass. It picks the winner based on the model's logits, requiring no extra environment rollouts and generating no new tokens.
Datasets
The researchers evaluated EvoGuard across four diverse benchmarks:
- ALFWorld: A text-based household environment (e.g., "clean the apple").
- ScienceWorld: Complex elementary science experiments.
- LiveCodeBench: Competitive programming problems, categorized into algorithmic "families" like Dynamic Programming or Greedy algorithms.
- WebShop: A simulated online shopping environment.
Key Insights and Ideas
- The "Expert" Matters: Training only on skills from a weak generator provides a poor signal. Including "expert-written" skills in the training pool is crucial for the selector to learn what high-quality features look like.
- Logits over Reasoning: While "Chain-of-Thought" (LLM-Judge Think) is popular, it is slow. EvoGuard proves that a well-calibrated selector using raw logits is not only faster but often more accurate for this specific task.
- Brevity is a Virtue: Interestingly, EvoGuard tends to select skills that are shorter (averaging ~370 tokens) compared to the "Accept-All" baseline (~560 tokens). This suggests the selector favors general, useful content over specific, overfitted details.
- Robustness to Bias: Standard LLM judges often suffer from "position bias" (preferring the first option). EvoGuard achieves 98.3% agreement when swapping the order of skills, compared to just 55.6% for an untrained baseline (Figure 4).
Key Results
EvoGuard consistently outperformed all baselines, including "Accept-All" (adopting every rewrite) and various LLM-Judge configurations.
- ALFWorld: Improved success rates by 11.0% over the "Accept-All" strategy. On unseen tasks with a Qwen-32B executor, it reached 71.6% success (see Table 1/Figure 6).
- ScienceWorld: Raised success from 10.2% (no skills) to 15.3%.
- LiveCodeBench: Achieved a pass rate of 28.4%, outperforming the no-skill baseline of 26.1%.
- Efficiency: EvoGuard is 174x faster than a reasoning-based LLM-Judge, returning a decision in just 24ms.
Limitations and Future Work
- Domain Specificity: The current experiments are limited to text-based and code environments. Extending this to multimodal or embodied (robotics) settings is a logical next step.
- Setup Cost: Building and scoring the initial skill pool requires significant offline computation before the agent can be deployed.
- Binary Choices: The selector currently only compares two versions (current vs. new). The authors suggest that richer rules—like maintaining a history of versions or merging skills—could yield further gains.
- Executor Dependency: While EvoGuard shows good transfer, different model families might rank skills differently, potentially requiring re-training for vastly different agent architectures.
Summary updated