TL;DR
Reinforcement learning for LLM search agents often wastes massive compute on queries that are either "too easy" or "too hard" to provide a learning signal. By recognizing that query difficulty is dynamic and "recycling" these zero-variance queries back into the training pool, the authors enable a 1.7B parameter model to match or outperform 7B models on complex multi-hop QA benchmarks.
What Problem Does This Paper Address?
Training Large Language Models (LLMs) to act as search agents—interleaving multi-turn reasoning with search engine calls—increasingly relies on Reinforcement Learning (RL) algorithms like Group Relative Policy Optimization (GRPO).
Under standard outcome-only rewards, GRPO samples a group of $K$ rollouts for a single query and computes advantages based on the reward distribution within that group. However, a major inefficiency arises: if a query is "too easy" (the model succeeds on every rollout) or "too hard" (the model fails on every rollout), the reward variance within the group drops to zero. These zero-variance queries provide absolutely no gradient signal, wasting expensive rollout compute.
Prior approaches treat this zero-variance status as a static property of the query, permanently discarding or pre-filtering them. The authors challenge this assumption, hypothesizing that zero-variance is actually a transient state relative to the model's evolving policy.
Methods
The authors introduce Query Recycling, a dynamic pool management strategy for RL training. Instead of discarding zero-variance queries, the training pool is treated as a mutable set of weighted queries:
- Signal-bearing queries (groups containing both successes and failures) contribute to parameter updates, and their weights are set to 0, effectively removing them from the pool.
- Zero-variance queries (all-correct or all-failed groups) yield no gradient updates, but their weights remain 1, keeping them eligible for future resampling.
This simple shift allows the effective training distribution to co-evolve with the policy. To maximize efficiency, they combine recycling with bounded oversampling—generating rollouts for a larger candidate set and filtering for signal-bearing groups before performing gradient updates.
Datasets
- Training Pool: An entirely synthetic dataset of 25k query-answer pairs grounded in a sandboxed ClueWeb22 snapshot. It combines 9k queries from DeepResearchGym with 16k newly generated queries designed to induce specific search behaviors: Webgraph-based (hop-following), Iterative Search (retrieval-driven chaining), and Comparative Search (parallel retrieval). 15k pairs were allocated for Supervised Fine-Tuning (SFT) and 10k for RL.
- Evaluation Benchmarks: To test zero-shot generalization, the models were evaluated across 7 multi-hop QA datasets (2WikiMultiHopQA, Bamboogle, HotpotQA, MuSiQue, Natural Questions, PopQA, TriviaQA) and 3 long-horizon reasoning/web navigation datasets (GAIA, HLE, WebWalkerQA).
Key Insights and Ideas
- Difficulty is Transient, Not Static: Queries frequently flip between zero-variance and signal-bearing states as the model learns. By the time the query pool saturated, roughly 20% of unique queries had flipped. "Too hard" queries become informative as the policy improves, while "too easy" queries can re-enter the signal-bearing region due to policy drift. Recycling of zero-variance queries over training steps
- Recycled Queries Dominate Late-Stage Training: By the end of training, rescued "too hard" and "too easy" queries make up roughly 75% of the effective training batch. Without recycling, multi-epoch training compute is largely wasted on repeating already-mastered queries. Cumulative queries seen during training, showing how recycling avoids redundant revisits
- Model Capacity Shifts the Pool: A larger model (4B vs 1.7B) migrates a much larger fraction of the query pool into the "too easy" zone (~50% by the end of training), proving that zero-variance is highly policy-dependent rather than an inherent property of the data.
Key Results
- Outperforming Larger Models: A Qwen3-1.7B model trained with query recycling achieved an average Pass@1 score of 66.0 across seven multi-hop QA benchmarks, matching or outperforming 7B models trained on benchmark-derived supervision.
- Scaling Up: Scaling the pipeline to Qwen3-4B pushed the average performance to 71.3.
- Compute Efficiency: Under a strictly matched rollout budget (84.5K trajectories), query recycling consistently outperformed standard multi-epoch GRPO and Bounded-DAPO baselines.
Limitations and Future Work
- Evaluation Constraints: The pipeline relies on an LLM judge for correctness, which introduces potential reproducibility issues.
- Language and Domain Bias: The synthetic query generation and training were English-only, leading to lower performance on multilingual benchmarks like WebWalkerQA.
- Outcome-Only Rewards: The study only focused on outcome-only rewards; exploring how query recycling interacts with denser process rewards remains future work.
- Static Pool Limits: A fixed query pool eventually saturates as the model masters it. The authors suggest online query generation matched to the policy's current capability as a promising next step to relax this constraint.
Summary updated