How long-horizon trajectory supervision affects the reliability and cost of training terminal agentsSelecting Long-Horizon Trajectories for Reliable and Efficient Terminal-Agent Training
Translation in progress — untranslated text is omitted.
The study proposes that "supervision horizon" (the number of trajectory tokens retained for training) is a key design axis for terminal agent reliability and cost: on Terminal-Bench, a 12K token horizon solves more tasks than 16K (29±0.7 vs. 26±0.8), with 30% less training time. Short horizons lead to premature termination, medium horizons enable effective error recovery, and long horizons cause over-persistence. The proposed selective long-horizon refinement first trains on a short prefix, then refines only the most likely continuations under the warm-started model, improving successful attempts from 110±2.7 to 126±2.1 at 16K, tasks solved at least six out of eight times from 9±0.7 to 14±0.6, and transferring to Terminal-Bench v2.0 and OpenThoughts-TBLite.
- Terminal agents often imitate long teacher trajectories, but how many tokens should be supervised remains unclear. Too few can miss recovery, verification, and strategy switching; too many makes training more expensive and later histories noisier. The authors ask whether longer is always better, and whether selecting continuations can outperform using full-length teacher trajectories.
- Make supervision a response token budget. First warm-start on the full short prefix (8K in experiments), then use that model to rank new continuations by average log-likelihood, retain only the highest or lowest certain proportion, and extend supervision from the warm-start checkpoint to 12K or 16K.
- On TB v1.0, single-stage 12K has Rel≥1 of 29±0.7, and 16K has 26±0.8. 16K Top-75% has 126±2.1 successful attempts, higher than the full 110±2.7; Top-50% has 23.0% less total time. On v2.0 and TBLite, high-likelihood refinement also outperforms the corresponding full 16K.
- The paper has no separate limitations section. Appendix E states that the theoretical bounds do not imply that task success rate is non-monotonic in H, nor do they predict persistence. The experimental student is Qwen3-8B, refinement warm-starts from 8K; the main evaluation is Terminal-Bench v1.0 with eight attempts and four evaluations.
Related events and news
1 events · 0 news mentions
- This event's paper
长时程轨迹监督对终端智能体训练的影响