跳到正文
arXiv:cs.AI· Sida Li, Yuanxin Liu, Shicheng Li, Linli Yao, Xu Sun, Haoli Bai, Xiaohui Li·· 13 小时前

TQS:面向编程智能体监督微调的结构化轨迹评分框架

Quality, Not Just Outcome: A Structural Scoring Framework for Selecting Coding-Agent Trajectories for Supervised Fine-Tuning

AI 导读

研究提出 TQS(Trajectory Quality Score),一种直接作用于轨迹结构、无需 LLM 评委且线性时间运行的编程智能体轨迹评分框架,围绕信息聚焦、意图—动作对齐与策略动态等结构化收敛信号衡量质量。

正文

View PDF HTML (experimental)

Abstract:Open coding agents are commonly trained through supervised fine-tuning on interaction trajectories whose final patches pass the benchmark test suite. However, this outcome-level filtering criterion ignores process quality: trajectories that eventually succeed may still contain inefficient interaction patterns such as repetitive file inspection, unstable tool usage, or delayed modification behavior, all of which become part of the imitation target. We propose TQS (Trajectory Quality Score), a structural scoring framework for coding-agent trajectories that operates directly on trajectory structure, requires no LLM judge, and runs in linear time. TQS characterizes trajectory quality through structural signals organized around structured convergence: information focus, intent--action alignment, and policy dynamics. Using 155,144 successful trajectories from a public open-license corpus, we rank trajectories by TQS and fine-tune coding agents on filtered subsets. Models trained on top-ranked trajectories consistently outperform those trained on random or bottom-ranked subsets on SWE-Bench-Verified. Our results suggest that process-level trajectory quality is an important factor in coding-agent supervision and that structural trajectory filtering provides an effective and scalable alternative to LLM-based data selection.
Subjects: Artificial Intelligence (cs.AI)
Cite as: arXiv:2610.13152 [cs.AI]
  (or arXiv:2610.13152v1 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2610.13152

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Sida Li [view email]
[v1] Fri, 9 Oct 2026 07:40:42 UTC (771 KB)

来源:arXiv:cs.AI · arxiv.org