AI & Computational Science

JudgeMix: Judge-Guided Mixed-Rollout Data Synthesis for LLM Agents

How the science connects

Reinforcement lear…Large language modelSupervised learning

AI Insight

JudgeMix is a new training framework for large language model (LLM) agents that addresses the distribution mismatch problem in supervised fine-tuning by using a judge model to decide when to invoke expert guidance during training data generation. Unlike existing methods that randomly or uniformly apply expert intervention, JudgeMix evaluates each step semantically and only requests expert help when the target model struggles, while preserving the model's correct behaviors. On two benchmark tests (AppWorld and AutomationBench), JudgeMix outperformed existing training methods by up to 10 percentage points in success rate.


This approach could improve the training efficiency and performance of AI agents used in real-world applications like automated task completion and tool use, by creating better-aligned training data that respects what the model already does well while correcting its mistakes. The selective intervention strategy may also reduce the computational cost of incorporating expert guidance during training.


⚠️ Preprint – Noch nicht peer-reviewed

Dieser Artikel wurde noch nicht von unabhängigen Experten begutachtet. Die Ergebnisse sind vorläufig und sollten mit Vorsicht interpretiert werden.

Abstract: Supervised fine-tuning (SFT) on expert trajectories is a standard paradigm for training LLM agents. However, it suffers from a well-known training-inference distribution mismatch, calling for target-aware data synthesis strategies that ground the training data in the target model’s native state distribution. To bridge this gap, emerging approaches incorporate the expert either to guide mixed rollouts alongside the target model, or to provide dense step-wise supervision. Nonetheless, existing methods apply expert assistance blind to the target model’s inherent behavior: they either disrupt the rollout using sub-optimal random intervention heuristics, or they enforce indiscriminate uniform supervision that unnecessarily overwrites the model’s already-correct actions. We introduce JudgeMix, a judge-guided data synthesis framework that dynamically interleaves the target model and expert based on step-wise semantic evaluations. JudgeMix queries expert guidance precisely when the target model struggles, ensuring high trajectory success rates while keeping the state distribution aligned with the target model. It additionally uses the judge evaluation to reweight expert supervision on different steps, preserving model’s inherent valid behavior while correcting its errors. On two agentic tool-use benchmarks, AppWorld and AutomationBench, JudgeMix demonstrates consistent superior performance to existing methods, with improvements up to 10 pass@1 points.

Source: JudgeMix: Judge-Guided Mixed-Rollout Data Synthesis for LLM Agents