Skip to content
English

Switch theme

arXiv 2611.02074 · cs.AI · 2026-11-01

SWE-Trail: History-Guided Trajectory Collection for Coding Agent Training

Ziming Li, Lu Yu, Jiatan Huang, Qing Cui, Jun Zhou, Chuxu Zhang

Ant Group

In latest · #199 Added on 2026-11-05

One-line takeaway

SWE-Trail studies how to collect training trajectories for coding agents. Sampling many trajectories independently per issue and then curating them yields increasingly redundant later samples, even though earlier ones could guide where effort goes. Simply showing history to the agent as advice makes the trained model rely on advice that is unavailable at test time, creating a train-test mismatch. The authors argue that history should guide where collection effort is spent while the agent decides what to generate, and introduce SWE-Trail on that basis.

SWE-Trail 研究如何收集编程智能体的训练轨迹。常见做法是对每个问题独立采样多条轨迹再筛选,但采样越多后续轨迹越冗余,而早期轨迹本可指导后续收集方向。若直接把历史作为建议交给智能体,训练出的模型会依赖测试时不存在的建议,造成训练—测试不一致。作者主张历史只用来决定在哪里投入收集精力,具体生成什么仍由编程智能体自己决定,并据此提出 SWE-Trail。

41HF upvotes
–GitHub stars
1Citations (Semantic Scholar)
41.2Buzz score

Read on arXiv PDF Hugging Face discussion

Related papers

About this data

Metadata from the arXiv API (verified); upvotes from Hugging Face Daily Papers; citations from Semantic Scholar. Last refreshed 2026-11-30.

The takeaway is written by AIMap from the abstract; the abstract itself is not reproduced — read the original.

Data updated: Latest AI papers(UTC+8)