Paper · published 2026-11 · added 2026-11-04 · arxiv.org

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

What it is

SWE-Trail is a method for collecting training trajectories for coding agents that uses historical data to guide where new collection effort is spent, rather than exposing that history to the agent as advice. It identifies useful states from previous runs and briefly executes candidate actions from those checkpoints to select the most promising routes, ensuring the agent relies only on its own context during training.

The problem it solves

Independent sampling of coding agent trajectories leads to redundancy, and exposing historical advice to the agent during training creates a mismatch with test-time conditions where such advice is unavailable.

What you could use it for

Why it matters

Improves the performance of coding agents by producing more effective training data that avoids train-test mismatch, leading to higher issue resolution rates on complex software engineering benchmarks.

coding-agentstrajectory-collectionpost-trainingswe-benchllm-training

Read the source ↗Back to the library →

Summary written by an AI model from the source; check the source before you rely on it.