SAGE: Steerable Agentic Data Generation for Deep Search with Execution Feedback

Fangyuan Xu, Rujun Han, Yanfei Chen, Zifeng Wang, I-Hung Hsu, Jun Yan, Vishy Tirumalashetty, Eunsol Choi, Tomas Pfister, Chen-Yu Lee

TL;DR

SAGE (Steerable Agentic Data Generation) is a novel dual-agent framework that automatically generates high-quality, difficulty-controlled question-answer pairs to train deep search LLM agents. By using a search agent to test generated questions and provide iterative execution feedback to a data generator, SAGE successfully synthesizes complex, multi-hop training data that boosts downstream agent performance by up to 23% on tough search benchmarks.

What Problem Does This Paper Address?

LLM-based search agents are increasingly used to solve complex tasks by retrieving and reasoning over external information. However, training these agents to perform "deep search"—which requires long, multi-step retrieval and reasoning chains—is bottlenecked by data. Collecting human annotations for complex search trajectories is prohibitively expensive and difficult to scale.

While automatically generating data via "reverse formulation" (starting with a document and generating a question answered by it) seems like a solution, it has a major pitfall: a massive mismatch between the generator's intended difficulty and the actual difficulty a search agent experiences. Naive generators often create questions they think are hard, but a real search agent can solve them in far fewer steps due to shortcuts like information co-location (finding multiple answers in one document).

Methods

To bridge this gap, the authors introduce SAGE, a dual-agent framework that uses execution feedback to iteratively refine synthetic data.

Overview of the SAGE framework showing the iterative generation, verification, and feedback loop.

The pipeline operates in three main phases:

  1. Initial Generation with Difficulty Control: A data generator agent ($A_{gen}$) is given a seed document and a target difficulty level (expressed as a target number of search steps, $S$). It generates an initial question-answer (QA) pair.
  2. Verification via Search Agent: A separate search agent ($A_{search}$) attempts to solve the generated question. It records its actual execution traces (the queries it made, documents retrieved, and steps taken).
  3. Update with Execution Feedback: If the search agent solves the question in fewer steps than the target $S$, or gets it wrong, the execution traces are fed back to $A_{gen}$. The generator uses this feedback to rewrite the question, increasing its complexity (e.g., by adding constraints or requiring information from disparate sources) until it satisfies the target difficulty.

Datasets

The authors used the 2018 Wikipedia dump as the base corpus, paired with an E5 retriever to generate a training dataset of 20,000 QA pairs.

For evaluation, they compared SAGE against existing multi-hop datasets:

  • NQ (Natural Questions) & HotpotQA: Standard training sets primarily consisting of low-hop questions.
  • Musique: A complex multi-hop dataset requiring 2-4 steps.
  • FRAMES: A recent, challenging human-annotated evaluation set for verification.

SAGE distinguishes itself by automatically scaling up to an average of 4.9 searches per question, making it significantly more challenging than existing benchmarks.

Comparison of SAGE with other multi-hop question answering datasets.

Key Insights and Ideas

  • The Environment Dictates Difficulty: A key "aha moment" is that question difficulty isn't just about semantic complexity; it's heavily influenced by the retrieval environment. The authors categorized generator errors and found that 35% of "too easy" questions suffered from information co-location (the retriever pulled a single document containing multiple clues), and 21% suffered from multi-query collapse (a single smart query bypassed multiple intended search steps).
  • Feedback Beats Resampling: Simply discarding bad questions and resampling new ones (a common LLM data curation practice) is inefficient. Providing the explicit execution trace as feedback helps the model understand how the search agent took a shortcut, allowing it to systematically harden the question against those specific shortcuts.
  • Zero-Shot Tool Generalization: Agents trained on SAGE's fixed-corpus (Wikipedia) data learn generalized search and reasoning strategies. At inference time, they can switch from a local vector database to live Google Search without any additional fine-tuning.

Key Results

SAGE significantly improves both the quality of synthetic data and the performance of models trained on it.

Intrinsic Data Quality

Compared to a naive generator ($A_{gen}$ alone), which only hit the target difficulty 18% of the time, SAGE with three rounds of feedback achieved a 50% pass rate while simultaneously boosting question correctness to 87%.

Percentage of correct and difficult data achieved by SAGE vs resampling across different target search steps.

Downstream Agent Performance

The authors trained Qwen-2.5 (3B and 7B) models using reinforcement learning (PPO) on different datasets.

  • In-Domain: Qwen-7B trained on SAGE data achieved a 38.1% average accuracy across 3-to-7-hop questions, outperforming models trained on NQ+HotpotQA (29.1%) and Musique (29.6%).
  • Out-of-Domain: On the human-annotated FRAMES dataset, the SAGE-trained Qwen-7B achieved 32.3% accuracy, a 23% relative improvement over the NQ+HotpotQA baseline.

Additionally, when evaluated on live web browsing tasks (like GAIA) using Google Search, the SAGE-trained Qwen-7B model achieved a 24.0% accuracy, representing a 50% relative gain over the strongest baseline.

Limitations and Future Work

  • Fixed Search Agent: The framework currently relies on a static search agent to provide feedback. The authors note that co-evolving both the generator and the search agent through iterative training could further elevate data quality.
  • Correctness Approximation: SAGE uses pass@K=1 as a proxy for correctness, which might occasionally let subtle hallucinations slip through. More robust verification methods are needed.
  • Domain Constraints: The pipeline was only evaluated on Wikipedia. Testing SAGE on highly specialized, domain-specific corpora (such as legal or scientific databases) remains an open direction for future research.

Summary updated

BibTeX
@inproceedings{xu2026sage,
  author = {Fangyuan Xu and Rujun Han and Yanfei Chen and Zifeng Wang and I-Hung Hsu and Jun Yan and Vishy Tirumalashetty and Eunsol Choi and Tomas Pfister and Chen-Yu Lee},
  title = {{SAGE: Steerable Agentic Data Generation for Deep Search with Execution Feedback}},
  booktitle = {EACL (Findings)},
  year = {2026},
  doi = {10.18653/v1/2026.findings-eacl.174},
}
Figure