DIVE: Scaling Diversity in Agentic Task Synthesis for Generalizable Tool Use
Organizations: Fudan University · MiniMax · Independent
Abstract
Recent work synthesizes agentic tasks for post-training tool-using LLMs, yet robust generalization under shifts in tasks and toolsets remains an open challenge. We trace this brittleness to insufficient diversity in synthesized tasks. Scaling diversity is difficult because training requires tasks to remain executable and verifiable, while generalization demands coverage of diverse tool types, toolset combinations, and heterogeneous tool-use patterns. We propose DIVE, an evidence-driven recipe that inverts synthesis order, executing diverse, real-world tools first and reverse-deriving tasks strictly entailed by the resulting traces, thereby providing grounding by construction. DIVE scales structural diversity along two controllable axes, tool-pool coverage and per-task toolset variety, and an Evidence Collection--Task Derivation loop further induces rich multi-step tool-use patterns across 373 tools in five domains. Training Qwen3-8B on DIVE data (48k SFT + 3.2k RL) improves by +22 average points across 9 OOD benchmarks and outperforms the strongest 8B baseline by +68. Remarkably, controlled scaling analysis reveals that diversity scaling consistently outperforms quantity scaling for OOD generalization, even with 4x less data.
Figures & tables
| Tier | Task Family | Benchmark | OOD Factors | Tool Pool | Toolset | Protocol | Env |
| L1 | In-Distribution | Dive-Eval | – | 384 Tools (General + Expert) | Per-task | OpenAI | Stateless |
| L2 | General DeepResearch | GAIA , HLE , BrowseComp , Xbench-DS | Task , Set | Search / Browse | Uniform | OpenAI | Stateless |
| Domain DeepResearch | FinSearchComp (Global) | Task , Set | Search / Browse / Code Execution | Uniform | OpenAI | Stateless | |
| L3 | Financial Specialist | Finance Agent Benchmark | Task , Pool , Set | EDGAR / Web / Parse / Retrieve | Uniform | OpenAI | Stateless |
| Medical Specialist | MedAgentBench | Task , Pool , Set , Proto , Env | FHIR GET / POST / Finish | Uniform | HTTP | Stateful | |
| Software Engineering | SWE-bench Verified | Task , Pool , Set , Env | Bash / Search / Editor / Finish | Uniform | OpenAI | Stateful |
| L1 In-distribution | L2 OOD w/ General Tools | L3 OOD w/ Specialized Tools | ||||||||||
| Category | Model | Dive -Eval | GAIA | HLE | BC | XB-DS | FSC 2 | FSC 3 | FAB | MAB | SWE | Toolathlon |
| Frontier ( 8B) | Gemini-3-Pro | 45.3 | 80.3 | 42.9 | 49.0 | 76.0 | 70.6 | 52.4 | 39.0 | 74.8 | 76.2 | 36.4 |
| Claude-4-Sonnet | 44.8 | 63.7 | 20.8 | 12.8 | 62.2 | 60.2 | 33.3 | 39.0 | 79.3 | 72.7 | 29.9 | |
| Gemini-2.5-Pro | 29.1 | 60.2 | 28.4 | 9.9 | 56.0 | 44.5 | 27.4 | 24.0 | 65.1 | 59.6 | 10.5 | |
| DeepSeek-V3.2-Exp | 40.4 | 61.0 | 17.9 | 40.1 | 67.2 | 61.3 | 27.4 | 26.0 | 67.3 | 67.8 | 20.1 | |
| Kimi-K2-0905 | 32.9 | 60.0 | 26.9 | 14.1 | 61.0 | 47.1 | 10.7 | 28.0 | 61.2 | 69.2 | 13.0 | |
| Diversity Metric | Gen-DR | Dive | |
| Tools covered | 2 | 373 | +186 |
| Unique toolsets | 1 | 46,398 | +46k |
| Unique tool-call sequences | 1,231 | 25,084 | +20 |
| Unique tool-call graphs | 19,442 | 39,810 | +105% |
| Unique R/P topologies | 12,315 | 23,450 | +90% |
| R/P topology classes covered | 65 | 153 | +135% |
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| Domain | Retrieval | Processing | Total | P% |
| Financial | 155 | 14 | 169 | 8.3% |
| Medical | 80 | 9 | 89 | 10.1% |
| Academic | 43 | 7 | 50 | 14.0% |
| Biological | 18 | 43 | 61 | 70.5% |
| General | 3 | 1 | 4 | 25.0% |
| Total | 299 | 74 | 373 | 19.8% |
| Domain | Source Name | URL / Documentation |
|---|---|---|
| Financial | Tushare | https://tushare.pro/ |
| Medical | RxNorm API | https://lhncbc.nlm.nih.gov/RxNav/APIs/RxNormAPIs.html |
| RxClass API | https://lhncbc.nlm.nih.gov/RxNav/APIs/RxClassAPIs.html | |
| Clinical Tables | https://clinicaltables.nlm.nih.gov/ | |
| Academic | Semantic Scholar | https://www.semanticscholar.org/product/api |
| OpenAlex | https://docs.openalex.org/ |
| Category | Domain | R/P | Count | Tools |
|---|---|---|---|---|
| Conv. Bonds | Financial | P | 1 | cb_factor_pro |
| ETF Data | Financial | P | 1 | etf_adj |
| Mutual Funds | Financial | P | 1 | fund_factor |
| Indices | Financial | P | 1 | index_factor |
| Stock Metrics | Financial | P | 10 | stock_adj_factor, stock_ah_ratio, stock_cyq_perf, stock_daily_basic, stock_fina_indicator, stock_fina_indicator_vip, stock_stk_ah_comparison, stock_stk_factor, stock_stk_factor_pro, stock_stk_nine_turn |
| Bonds/Rates | Financial | R | 7 | bc_bestotcqt, bc_otcqt, libor, repo_daily, us_tbr, us_trycr, us_tycr |
| Benchmark | Task Description |
| WebArena ( Zhou et al., 2023 ) | Long-horizon realistic web information seeking |
| AgentBench ( Liu et al., 2023 ) | Comprehensive evaluation across multiple environments |
| ToolBench ( Qin et al., 2023 ) | Diverse instruction following with real-world APIs |
| DSBench ( Jing et al., 2024 ) | Data analysis and SQL/Python code generation |
| BrowseComp ( Wei et al., 2025 ) | Web navigation and information extraction |
| Mind2Web ( Deng et al., 2023 ) | Generalizable web interactions across domains |
| Metric | K=1 | K=2 | K=3 | (1 3) |
| GPT-OSS-120B Pass Rate (%) | 66.8 | 51.1 | 41.2 | 38% |
| Avg. Tool Calls per Task | 4.6 | 7.5 | 10.1 | +120% |
| Tool Coverage (%) | 58.2 | 74.3 | 92.2 | +58% |
| Unique Tool-call Sequences | 892 | 1,321 | 2,348 | +163% |
| Unique Tool-call Graphs | 1,362 | 2,467 | 3,551 | +161% |
| Unique R/P Topologies | 542 | 1,004 | 2,393 | +341% |
| Level | Dimension | Values | Definition |
| 1. R/P Type | PureR | – | Only Retrieval tools |
| R+P | – | Both Retrieval and Processing | |
| PureP | – | Only Processing tools | |
| 2. Structure (priority order) | Single | Single tool call | |
| Indep | Multiple independent calls | ||
| Phain | Linear chain |
| Structure | Scale Params | Bins | Classes |
| Single | none | 1 | |
| Indep | node count | 5 | |
| Phain | depth only | 4 | |
| Fork | depth width | ||
| Join | depth width | ||
| DAG | depth width |
| Condition | Setting | FSC 2 | FSC 3 | FAB | MAB | GAIA | BC | HLE | XB-DS | SWE | Tool. |
| Scaling Diversity (12k fixed, tool pool expanding) | |||||||||||
| 1 domain | fin (174 tools) | 57.1 | 19.0 | 14.0 | 38.8 | 32.0 | 6.5 | 8.5 | 31.2 | 10.9 | 0.9 |
| 2 domain | fin_med (263 tools) | 60.7 | 23.4 | 15.5 | 43.6 | 45.5 | 9.8 | 11.5 | 44.2 | 11.2 | 1.5 |
| 3 domain | fin_med_bio (324 tools) | 61.2 | 27.4 | 17.0 | 45.2 | 47.1 | 10.8 | 12.3 | 48.6 | 11.8 | 2.5 |
| 4 domain | fin_med_bio_aca (373 tools) | 62.0 | 29.8 | 18.0 | 47.6 | 50.5 | 12.2 | 13.4 | 50.1 | 12.5 | 2.9 |
| Scaling Quantity – Gen-DR (search/browse only, 2 tools fixed) | |||||||||||
| Condition | Setting | FSC 2 | FSC 3 | FAB | MAB | GAIA | BC | HLE | XB-DS | SWE | Tool. |
| Config Scaling (fin domain fixed, 174 tools) | |||||||||||
| 12k | fin | 57.1 | 19.0 | 14.0 | 38.8 | 32.0 | 6.5 | 8.5 | 31.2 | 10.9 | 0.9 |
| 24k | fin | 60.6 | 22.9 | 15.0 | 41.3 | 41.6 | 8.9 | 9.8 | 37.6 | 11.3 | 1.2 |
| 36k | fin | 61.6 | 24.2 | 16.0 | 41.8 | 45.5 | 9.8 | 10.5 | 40.5 | 11.5 | 1.5 |
| 48k | fin | 62.1 | 25.3 | 16.5 | 42.0 | 47.0 | 10.3 | 11.0 | 42.8 | 11.5 | 1.5 |
| Pool+Config Scaling (all paths starting from fin, tool pool expanding) | |||||||||||
| Domains | Combo | L2-A | L2-B | L3-A | L3-B | L3-C | L3-D | Avg | Avg |
| 1 domain 12k | fin | 19.6 29.0 | 38.0 44.8 | 14.0 22.0 | 38.8 49.9 | 10.9 11.9 | 0.9 3.7 | 20.4 26.9 | +6.5 |
| med | 20.8 31.1 | 37.0 44.0 | 12.0 16.0 | 47.1 52.1 | 12.2 12.4 | 2.3 4.4 | 21.9 26.7 | +4.8 | |
| aca | 30.1 31.0 | 37.6 46.5 | 10.0 16.0 | 42.3 44.8 | 14.2 14.7 | 1.5 2.5 | 22.6 25.9 | +3.3 | |
| bio | 25.3 30.1 | 38.2 37.1 | 6.0 8.0 | 39.9 50.3 | 11.0 15.9 | 1.0 2.5 | 20.2 24.0 | +3.7 | |
| Avg | 23.9 30.3 | 37.7 43.1 | 10.5 15.5 | 42.0 49.3 | 12.1 13.7 | 1.4 3.3 | 21.3 25.9 | +4.6 | |
| 2 domain 24k | fin-med | 29.5 31.8 | 42.8 45.5 | 16.0 26.0 | 48.3 56.4 | 11.9 14.2 | 3.1 4.0 | 25.3 29.7 | +4.4 |
Tool-Augmented Language Model Agents
Tool-augmented language model agents use external tools, APIs, and environments to solve tasks beyond text generation alone.
See all 167 papers