AI 编程 4.0 · 优秀 2026-10-07 · 论文

Before They Can Solve: Predicting Post-Training Coding-Agent Performance from Base Models

怎么在花大钱做 agentic 后训练之前判断一个 base checkpoint 值不值?端到端 pass@K 不适合 agentic coding:很多 base 模型连格式良好的工具调用都稳定产出不了,短视野单发任务又绕开了多步状态维护这个核心能力作者把成功的后训练 agent 轨迹当作 base 模型潜力的 lookahead 信号:重放轨迹每一步代码改动后重跑测试,找到第一个让仓库从挂转过的决定性步骤,在该步骤上构造三个不需要 base 模型冷启动驱动 harness 的筛子Decisive-Action BPB(对已认证动作的概率质量)Patch MCQ(在与同一 verifier 否掉的备选之间做选择)prefix-conditioned pass@K(认可任何能过测试的续写)十个公开 base/post-trained 模型对上...

打开原文回到归档

Before They Can Solve: Predicting Post-Training Coding-Agent Performance from Base Models

  • ID: 4d8e3506
  • 原文链接: https://arxiv.org/abs/2610.10478
  • PDF: https://arxiv.org/pdf/2610.10478
  • 作者: Tan Yu, Alexander Bukharin, Khushi Bhardwaj, Jennifer Williams, Zirui Liu, Jonathan Lingjie Li, Soumye Singhal, Joseph Jennings, Sanjeev Satheesh, Yash Jain, Ashish Vaswani, Venkat Krishna Srinivasan, Matthew Papakipos, Hyunwoo Kim, Jian Zhang, Oleksii Kuchaiev, Markus Kliegl, Mostofa Patwary, Mohammad Shoeybi, Bryan Catanzaro, Jonathan Cohen, Jiantao Jiao
  • 日期: 2026-10-07
  • 更新: 2026-10-07
  • 分类: coding
  • 来源类型: paper
  • 标签: coding-agent, post-training, model-selection, swebench, evaluation
  • 质量评分: 4/5
  • 抓取时间: 2026-10-09T04:29:21Z
  • 元数据来源: opencli arxiv API

中文导读

怎么在花大钱做 agentic 后训练之前判断一个 base checkpoint 值不值?端到端 pass@K 不适合 agentic coding:很多 base 模型连格式良好的工具调用都稳定产出不了,短视野单发任务又绕开了多步状态维护这个核心能力作者把成功的后训练 agent 轨迹当作 base 模型潜力的 lookahead 信号:重放轨迹每一步代码改动后重跑测试,找到第一个让仓库从挂转过的决定性步骤,在该步骤上构造三个不需要 base 模型冷启动驱动 harness 的筛子Decisive-Action BPB(对已认证动作的概率质量)Patch MCQ(在与同一 verifier 否掉的备选之间做选择)prefix-conditioned pass@K(认可任何能过测试的续写)十个公开 base/post-trained 模型对上,三个筛子给出的排序与后训练后 SWE-bench Verified pass@1 高度一致;方法只需要基准的成功轨迹和 verifier,可把未来 agentic coding 基准直接变成 base 模型评估

为什么值得关注

条目一句话:用成功轨迹的决定性步骤给 base 模型做体检,排序对齐后训练 SWE-bench

把后训练预算押错 base checkpoint 的代价极高。这篇工作给出可操作的潜力预测路径:重放成功 agent 轨迹、逐步重跑测试,找到第一个让仓库由挂转好的「决定性步骤」,以此给 base 模型排序,并同后训练后的 SWE-bench 表现对齐,直接服务 model-selection 决策。

关键信息

  • 论文标题:Before They Can Solve: Predicting Post-Training Coding-Agent Performance from Base Models
  • 作者:Tan Yu, Alexander Bukharin, Khushi Bhardwaj, Jennifer Williams, Zirui Liu, Jonathan Lingjie Li, Soumye Singhal, Joseph Jennings, Sanjeev Satheesh, Yash Jain, Ashish Vaswani, Venkat Krishna Srinivasan, Matthew Papakipos, Hyunwoo Kim, Jian Zhang, Oleksii Kuchaiev, Markus Kliegl, Mostofa Patwary, Mohammad Shoeybi, Bryan Catanzaro, Jonathan Cohen, Jiantao Jiao
  • arXiv:https://arxiv.org/abs/2610.10478
  • 发布时间:2026-10-07
  • arXiv 分类:cs.AI, cs.SE
  • 关联标签:coding-agent, post-training, model-selection, swebench, evaluation

English Abstract

How can we predict which base checkpoint is worth an expensive round of agentic post-training? End-to-end pass@$K$ tests whether successful behavior already appears in a base model's distribution, but it is a poor fit for agentic coding: many base checkpoints cannot reliably produce the well-formed tool invocation required to complete a task end-to-end. Single-shot or short-horizon tasks avoid these tool-calling failures by collapsing a multi-step interaction into a fixed prompt and a single patch, but they sidestep the core capability we care about: maintaining coherent state over many tool-using steps as the repository evolves. To bridge this gap, we treat successful post-trained agent trajectories as a lookahead signal of base-model potential. Replaying each trajectory and rerunning tests after every code-changing step identifies the decisive step: the first step whose cumulative patch flips the repository from failing to passing, certifying that the recorded action solves the task given the prior context. Motivated by a coverage principle for agentic traces, we build three screens at this step that do not require a base checkpoint to drive the harness from a cold start: (i) Decisive-Action BPB (bits per byte) measures the probability mass on the certified action, (ii) Patch MCQ tests the checkpoint's choice between that action and alternatives rejected by the same verifier, and (iii) prefix-conditioned pass@$K$ evaluates support for functionally-correct generations and credits any continuation that the tests accept. Across ten pairs of public base and post-trained models, all three screens rank the cohort in close agreement with post-trained SWE-bench Verified pass@$1$. As our methods need only a benchmark's successful trajectories and its verifier, they can be applied to turn future agentic coding benchmarks into base-model evaluations.

English Summary

How do you predict which base checkpoint is worth an expensive round of agentic post-training? End-to-end pass@K fits agentic coding poorly: many base checkpoints cannot reliably produce well-formed tool invocations, and single-shot tasks sidestep the core capability of maintaining coherent state over many tool-using steps. The authors treat successful post-trained agent trajectories as a lookahead signal: replay each trajectory, rerun tests after every code-changing step to find the decisive step that flips the repo from failing to passing, and build three screens there needing no cold-start harness driving - Decisive-Action BPB (probability mass on the certified action), Patch MCQ (choice between that action and verifier-rejected alternatives), and prefix-conditioned pass@K....

Obsidian Notes

  • 内容获取路径:由 opencli arxiv paper 2610.10478 -f json 拉取 arXiv 元数据与摘要生成。
  • 中文导读与价值判断均锚定在条目已有摘要、论文摘要、作者、日期与分类信息上;未补充论文摘要之外的实验细节。
  • 本文件写入 canonical content 目录(content/{id}.md),而非 openclaw/content/(project_root symlink 陷阱)。