Research map / Large language models / Agents, code and math
HardGen: Generating Hard Samples for Tool-use Agents
Bingguang Hao, Zengzhuang Xu, Yuntao Wen, Xinyi Xu, Quanen Sun, Yang Liu, Zihao Huang, Tong Zhao, Long Chen, Dong Wang, Yicheng Chen, Maolin Wang and 4 more
City University of Hong Kong · Ant Group · Zhejiang University · Southwest Jiaotong University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
This paper tried a common change: Chain-of-thought prompting
add closed-loop CoT refinement · BFCLv3 · overall accuracy: 67.64 -> 69.23 Improved
What 2,675 accepted papers report for this change
- 1,683 improved
- 270 no clear effect
- 109 mixed
- 613 hurt
- AudioChat: Unified Audio Storytelling, Editing, and Understanding with Transfusion Forcing ICML 2026 · add structured chain-of-thought reasoning to the diffusion LLM · StoryGen-Eval editing · delta multiFLAM: 27.8 -> 11.7Improved
- Vision Language Models Cannot Reason About Physical Transformation ICML 2026 · add CoT prompt instead of Direct prompt · Number & Length · accuracy: F(3, 333) = 18.28Hurt
- VideoSEG-O3: A Multi-turn Reinforcement Learning Framework for Reasoning Video Object Segmentation ICML 2026 · Add CoT cold-start stage on top of SFT · Long-RVOS · J&F: 47.12 -> 51.82Improved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add HardGen SFT data | Qwen3-4B · BFCLv3 | overall accuracy: 62.13 -> 73.70 | Improved |
| add RL on top of HardGen SFT | HardGen-4B-SFT · BFCLv3 | overall accuracy: 73.70 -> 79.14 | Improved |
| add HardGen-SFT data vs other synthesis pipelines | Qwen2.5-7B-Instruct · BFCLv3 | overall accuracy: 62.86 (ToolACE-MT) -> 69.58 | Improved |
| replace random sampling with failure-oriented execution sampling (ablation) | HardGen SFT · BFCLv3 | overall accuracy: 64.90 -> 67.64 | Improved |
| add advanced-tool hard query construction (ablation) | failure-based sampling · BFCLv3 | overall accuracy: 67.64 -> 70.18 | Improved |
| add closed-loop CoT refinement (ablation) | failure-based sampling · BFCLv3 | overall accuracy: 67.64 -> 69.23 | Improved |
| combine all three phases (ablation) | HardGen SFT · BFCLv3 | overall accuracy: 70.18 -> 73.70 | Improved |
| remove tools overlapping with benchmarks (ablation) | HardGen-4B-RL · BFCLv3 | overall accuracy: 79.14 -> 78.87 | No clear effect |
| train on HardGen data | Qwen3-4B · IFEval | accuracy: 83.4 -> 81.4 (RL); 83.4 -> 79.1 (SFT) | Hurt |
| apply HardGen at different model scales (0.6B, 1.7B) | Qwen3-0.6B · BFCLv3 | overall accuracy: 44.01 -> 54.50 (SFT) | Improved |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- ToolACE-2-8B — ToolACE: Winning the Points of LLM Function Calling (ICLR 2025) · better on 2 of 2 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in software engineering agents
Do coding-agent results hold beyond Python, small benchmarks and LLM judges?
- Tested on Python or a few languages, so other languages are untested. · 20 papers state it
- Benchmarks are small, with only 100 to a few hundred tasks. · 14 papers state it
- Scores depend on an LLM judge that may not match human judgment. · 11 papers state it
Closest papers by meaning
- Generalizable End-to-End Tool-Use RL with Synthetic CodeGym (ICLR 2026 · similarity 0.88)
- A Matter of TASTE: Improving Coverage and Difficulty of Agent Benchmarks (NeurIPS 2026 · similarity 0.87)
- AutoTool: Efficient Tool Selection for Large Language Model Agents (AAAI 2026 · similarity 0.87)
- SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agents (NeurIPS 2025 · similarity 0.87)
- ToolGen: Unified Tool Retrieval and Calling via Generation (ICLR 2025 · similarity 0.87)
- ToolTree: Efficient LLM Tool Planning via Dual-Feedback Monte Carlo Tree Search and Bidirectional Pruning (ICLR 2026 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.