GraphForge:通过图锚定工作区合成训练工作代理
研究论文 · 2026/10/02
工作型智能体需要读取多样文件、协调工具并产出交付物。训练此类智能体需要基于大量真实文件构建且结果可验证的任务,但现有数据合成流水线很少。现有流水线要么用模型生成文件,缺乏真实性和多样性;要么在真实文件上构建任务却没有任务特定的验证器,导致结果质量不受检查。我们提出 GraphForge,一个基于证据图的框架,将任务及其验证都锚定在真实文件上。从基于职业的种子出发以实现受控多样性,GraphForge 为每个种子组装真实文件工作区,并构建其关系上的证据图。由于任务陈述和评分标准都源自该图,任务要求由工作区文件支撑,每条标准都锚定到验证它所需的文件。初始 rollout 进一步测试可执行性,修订智能体在收集轨迹前针对原始文件修复任务和评分标准。在 2,169 条 GraphForge 轨迹上微调 Qwen3.6-27B,在 OpenHands 下将 GDPVal 提升至 1445.7(+65.7),在 Claude Code 下将 Workspace-Bench-Lite 和 SpreadsheetBench II 提升至 63.7(+7.7)和 24.0(+13.7)。对 SFT 模型自身 rollout 进行拒绝微调,候选由证据锚定评分标准选择,在三个基准上均带来进一步提升,表明评分标准提供了有用的选择信号。数据和模型已公开。
该工作解决了工作型智能体训练数据合成中真实性与可验证性难以兼顾的问题,通过证据图将任务和评分标准锚定在真实文件上,并在多个基准上取得显著提升,且数据和模型已公开,对智能体训练研究具有实用价值。
Working agents need to read diverse files, coordinate tools, and produce deliverables. Training such agents requires tasks built on many real files with verifiable results, but few pipelines exist to synthesize this kind of data. Existing pipelines either generate files with models, which lack realism and diversity, or build tasks on real files without task-specific verifiers, leaving result quality unchecked. We introduce GraphForge, an evidence-graph based framework that grounds both the task and its verification in real files. Starting from occupation-grounded seeds for controlled diversity, GraphForge assembles a workspace of real files for each seed and builds an evidence graph over their relations. Since the task statement and rubrics are both derived from this graph, task requirements are backed by the workspace files and each criterion is anchored to the files needed to verify it. An initial rollout further tests executability, and a revision agent repairs the task and rubrics against the original files before trajectories are collected. Fine-tuning Qwen3.6-27B on 2,169 GraphForge trajectories brings GDPVal to 1445.7 (+65.7) under OpenHands, and Workspace-Bench-Lite and SpreadsheetBench II to 63.7 (+7.7) and 24.0 (+13.7) under Claude Code. Rejection fine-tuning on the SFT model's own rollouts, with candidates selected by the evidence-anchored rubrics, yields further improvements on all three benchmarks, suggesting that the rubrics provide a useful selection signal. The data and models are available.