🛰️ Daily AI Frontier
‹ back to 2026-08-28

SWE-Prime: Fewer Trajectories, Better Performance

arXiv cs.SE LLM Agents Dewu Zheng, Ruizhe Ye, Yanlin Wang, Yang Ye, Hongyu Zhang, Ensheng Shi, Xilin Liu, Yuchi Ma, Jianxing Yu, Zibin Zheng 2026-08-27
Representative image for SWE-Prime: Fewer Trajectories, Better Performance

TL;DR - SWE-Prime is a two-stage data-selection method for supervised fine-tuning of software-engineering agents that filters successful trajectories by quality and representativeness, then selects useful segments for loss computation. Using only 10% of trajectories outperformed training on the full resolved dataset, showing that cleaner supervision can beat greater data volume.

  • Screens trajectories using process quality, result quality, and dataset representativeness.
  • Evaluates semantic step segments for solution contribution, learnability, and potential risks.
  • Retains all segments as context during training but computes loss only on selected segments.
  • Achieved relative gains of up to 12.2% on SWE-Bench Pro and 24.2% on SWE-Bench Verified.

view merged work →