跳到正文
arXiv cs.AI· Qin Wang, Afsoun Owji, Hang Yin, Guangyi Liu·· 3 天前AI 评分33

Actions Without Reasons:大规模真实编程智能体轨迹数据集的推理缺失研究

Actions Without Reasons: Filling the Reasoning Gap in a Large-Scale Public Dataset of Real Coding-Agent Trajectories

AI 导读

该研究针对 20,000 个会话、775K 条助手轮次的真实编程智能体轨迹数据集,发现超过 82% 的助手轮次没有推理内容(每 100 轮仅 17.6 个非空推理块)。

正文 · 原文

View PDF HTML (experimental)

Abstract:Trajectories collected from deployed coding agents record many actions but little of the reasoning behind them. In a dataset of 20,000 sessions and 775K assistant turns, we observe only 17.6 non-empty reasoning blocks per 100 turns, i.e., more than 82% of assistant turns carry no reasoning supervision. In this paper, we study whether the missing reasoning can be synthesized from the recorded actions. Specifically, we propose an action-grounded synthesis method in which a writer model is shown the context and the kind of the next action (e.g., reading a file) but not its arguments, and several candidate rationales are generated for each position. The candidate under which a frozen student model assigns the highest log-probability to the true action is retained, where candidates are compared only within the same position. Moreover, we show that filtering rationales with a fixed threshold on this score strongly favors hindsight: 49.6% of the rationales written with the action visible pass the threshold, compared with 1.6% of those written without it. In matched-budget training of a 7B student, keeping the native reasoning lowers held-out real-thinking perplexity by 18.4%, and adding synthesized reasoning at empty positions improves held-out action log-probability by 3.9% on average across seed pairs, which exceeds the seed variation. It is worth noting that both metrics are proxies: no downstream benchmark was run, and the selection step was not tested in isolation. Finally, we release Trajector-SWE-20K, a public dataset of 20,000 consented sessions that have been redacted, credential-screened, decontaminated, and deduplicated.
Comments: 19 pages. Accepted at the NeurIPS 2026 Workshop on Transitioning from Pre-Training to Post-Training
Subjects: Artificial Intelligence (cs.AI); Computation and Language (cs.CL); Machine Learning (cs.LG); Software Engineering (cs.SE)
Cite as: arXiv:2612.02919 [cs.AI]
  (or arXiv:2612.02919v1 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2612.02919

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Qin Wang [view email]
[v1] Wed, 2 Dec 2026 00:20:14 UTC (54 KB)

来源:arXiv cs.AI · arxiv.org