arXiv:2610.21167cs.AIOct 2026

Manuscript Offprint

arXiv:2610.21167

GRADS: Graph-Regulated Agentic Data Synthesis with Controllable Difficulty

Gaocheng Yang, Ruijie Tao, Kai Ye, Senhua Zhang, Zhengqin Zhu, Ziyang Li

ABSTRACT

Deep research agents are increasingly deployed to retrieve precise information from large corpora, yet multi-hop, long-horizon tasks remain challenging. Synthetic data generation has emerged as a scalable solution, with existing pipelines typically expanding seed tasks to increase their apparent depth and breadth. However, this expansion does not reliably translate into necessary reasoning: newly introduced evidence may be only weakly coupled to the answer, creating a mismatch between intended and empirical difficulty. To address this problem, we introduce GRADS, a graph-guided agentic data synthesis framework with explicit difficulty control. GRADS runs a closed loop of seed selection, evidence expansion, question-answer construction, and verification while maintaining a graph of the evidence and inference dependencies required to derive each answer. At each step, it conditions generation on a relevant subgraph, preserving indispensable inference without accumulating irrelevant context. Experiments across security, software-engineering, and scientific-document domains show that GRADS consistently generates verified tasks with empirically separated difficulty distributions, as measured by independent solvers. Moreover, under matched training budgets, post-training on this data delivers consistent gains at every level: SFT raises the solution-termination rate to over 95% while cutting tool calls and turns by up to 75%, RL trims tool use by up to a further 19.5%, and on our held-out, domain-specific benchmarks, the resulting 4B model matches Sonnet 4 on software engineering and surpasses it on the scientific and security domains.

1 INTRODUCTION

Specialized knowledge is often distributed across domain-specific record collections that are too large to inspect manually. Deep search agents have emerged as a promising way to exploit such collections: LLM-based agents that iteratively plan, issue search queries, read retrieved documents, and reason over them to answer complex, multi-hop information needs (Huang et al., 2025b; Li et al., 2025b;c). Post-training, including supervised fine-tuning (SFT) and reinforcement learning (RL), has proven to be effective in teaching models when and how to invoke search tools during reasoning (Jin et al., 2025; Song et al., 2025; Zheng et al., 2025). A rapidly growing body of work demonstrates that synthetic question-answer data is sufficient to train strong deep search agents through SFT and RL (Wu et al., 2025a; Li et al., 2025a; Gao et al., 2025; Sun et al., 2025b;a; Liu et al., 2025). The quality of such agents is therefore bounded by the quality of the data they are trained on, and in particular by how reliably that data exercises genuine multi-step reasoning.

To make synthetic data sufficiently challenging, most pipelines impose an explicit structure intended to raise the latent inference complexity of each question. Representative strategies include depth-and width-based task extension (Shi et al., 2026), set-theoretic formalization of information-seeking tasks (Tao et al., 2026), graph sampling combined with information obfuscation (Li et al., 2025a; Wei et al., 2025), recursive construction of hierarchical research trees (Xia et al., 2025a), and bottom-up composition of single-hop questions (Trivedi et al., 2022). These methods share a common premise that complexity accumulated during synthesis translates into complexity of the reasoning.

required at solution time. But this premise does not reliably hold. A long line of analysis shows that nominally multi-hop questions are frequently answerable through shortcuts or disconnected reasoning that bypasses the intended chain (Min et al., 2019; Jiang & Bansal, 2019; Trivedi et al., 2020). When evidence is added to a question without regard to whether it is necessary, it may be only weakly coupled to the answer. The intended difficulty of the resulting item then diverges from its empirical difficulty, and the difficulty label ceases to be a reliable signal for evaluation or curriculum design. This motivates the central questions of this work: can we synthesize data whose difficulty is realized in the solver's reasoning, not merely claimed? Is such data effective for post-training?

We approach these questions by defining the evidence graph of a QA pair, whose nodes are source-grounded claims and whose edges are necessary inference steps, so that its depth estimates the reasoning an answer requires. Building on this structure, we introduce GRADS, a graph-regulated agentic data synthesis method with controllable difficulty. GRADS departs from two prevailing strategies. The first piles ever more explicit evidence into a question, extending tasks with additional constraints, entities, or obfuscated clues until they appear harder (Shi et al., 2026; Tao et al., 2026; Li et al., 2025a; Liu et al., 2025). The second builds or samples a knowledge graph to broaden the raw material from which questions are drawn (Chen et al., 2025; Lu et al., 2025; Xia et al., 2025a). Both increase the apparent size of a question, but neither guarantees that the added evidence is required to reach the answer. GRADS instead deepens a question within an agentic loop by regulating the structure of its evidence graph. It decouples exploration from difficulty control, and is designed to ensure that each question attains its required reasoning depth.

Applying this idea to real domain knowledge, such as GitHub issue trackers and scientific experiment notes, raises two further challenges. First, the underlying corpora are too large to be explored exhaustively, so an agent must locate relevant evidence efficiently. Second, LLM-synthesized answers are prone to hallucination (Huang et al., 2025a), and an incorrect answer is more damaging in training data than an easy one. To address scale, we clean and cluster the raw records and expose unified local and online search tools to the agents. To address correctness, each answer carries a rubric of atomic claims tied to verbatim source spans (Gao et al., 2023; Min et al., 2023), and verification subagents check every item before acceptance (Dhuliawala et al., 2024; Manakul et al., 2023; Du et al., 2024).

We evaluate GRADS on three heterogeneous domains: GitHub issue tracking, experimental particle physics, and security. For each domain, we construct a representative benchmark and a post-training corpus. Compared with three synthesis baselines, GRADS is the only method whose delivered reasoning depth increases monotonically with the requested difficulty, and correspondingly the only one whose solver scores decrease monotonically from Easy to Hard. This ordering is preserved across solvers of three capability tiers. The resulting data is also effective for training: supervised fine-tuning a 4B model on GRADS trajectories yields large gains over the untrained model in every domain and outperforms every baseline at matched sample count and optimizer steps. Although SFT accounts for most of the post-training margin, subsequent RL further improves tool use and the model's ability to terminate with an answer, bringing the 4B model to the level of the mid-sized Sonnet 4 solver.

Our contributions are as follows: (i) We formalize the evidence graph of a QA pair, whose necessary-inference depth serves as both a synthesis-time control and an evaluation-time measure. (ii) We introduce GRADS, which decouples exploration from difficulty control and pairs every item with a source-grounded rubric and multi-stage verification. (iii) Across three real-world domains, GRADS delivers controllable, empirically realized difficulty, and its data yields consistent post-training gains over the base model and competing synthesis methods.