A 7-point Terminal-Bench jump from 1,200 examples

3 months ago

One paper today. FACET, from Shanghai AI Lab, U S T C, and Fudan. It answers a question every coding agent team has right now. Where does trustworthy training data for terminal agents come from, when writing tasks by hand does not scale. Here is the first pass.

Ask about this presentation

Chapters

  1. 0:00FACET
  2. 0:16The Claim
  3. 0:34The Method
  4. 1:12The Evidence
  5. 1:42The Catch
  6. 2:15The Verdict
  7. 2:31Sources
Show transcript
  1. One paper today. FACET, from Shanghai AI Lab, U S T C, and Fudan. It answers a question every coding agent team has right now. Where does trustworthy training data for terminal agents come from, when writing tasks by hand does not scale. Here is the first pass.

    Slide text
    First Pass
    one paper, read for you · friday, august 21
    FACET
    Preserving Source Intent and Executable State in Terminal Task Synthesis
    K. Shi, Z. Wang, Q. Su, S. Huang, et al.
    Shanghai AI Laboratory · USTC · Fudan University
    arXiv 2608.18580 FIRST PASS · 01
  2. The claim, in one sentence. You can mass produce terminal agent training tasks that you can actually trust, if the instruction, the solution, and the tests are all grounded in one real, running container. Not three artifacts written separately and hoped into agreement. One environment that all three must answer to.

    Slide text
    The claim · in one sentence
    You can mass-produce terminal-agent training tasks you can actually trust, if the instruction, the solution, and the tests are all grounded in one real, running container.
    K. Shi et al. · Shanghai AI Lab · USTC · Fudan arXiv 2608.18580
  3. The method is a three stage pipeline, and this is the paper's own figure. Stage one collects over seventy one thousand real skills from open agent repositories and distills them into scenarios. Stage two rebuilds each scenario into a goal, a context, and matched references for the instruction and the solution. Stage three is the idea that matters. It builds the actual Docker environment first, validates that it runs, and only then generates the instruction, the solution, and the tests against that live state. When a test fails, the pipeline repairs the artifacts and tries again, so a task that survives is executable by construction.

    Slide text
    The method · the paper's own Figure 1
    build the environment first — then everything must agree with it ↑
    Figure 1 arXiv 2608.18580
  4. Does the data actually work. Fine tuning on it lifts the four billion parameter Qwen model by seven point one two points on Terminal Bench, from seventeen point six to twenty four point seven. The nine billion model gains eight point two four. And the twenty seven billion model reaches forty seven point six, up six point seven five. Here is the striking part. The training set behind all of that is twelve hundred trajectories. Not millions. The leverage comes from density, nearly twenty three executable checks on every single task.

    Slide text
    The evidence · Terminal-Bench 2.1, after fine-tuning
    +7.12
    QWEN3.5-4B
    17.60 → 24.72
    +8.24
    QWEN3.5-9B
    27.34 → 35.58
    +6.75
    QWEN3.5-27B
    40.82 → 47.57
    From a training set of 1,200 trajectories — with an average of 22.77 executable checks per task.
    K. Shi et al. · Table results as reported arXiv 2608.18580
  5. Now the catch, and there are three. Every training gain is on Qwen three point five, and nothing above twenty seven billion parameters. Whether frontier scale models benefit is untested. This is the terminal domain only, measured on one benchmark with one agent scaffold, and to the authors' credit they claim nothing beyond that. And the tasks are genuinely hard. The teacher agent solves only about twenty one percent of its own tasks, so harvesting training trajectories is expensive. One more thing. The paper ships without a dedicated limitations section, so this scoping is ours, not theirs.

    Slide text
    The catch · read the scope before you quote the number
    i Gains are shown on Qwen3.5 only, and nothing above 27B.Whether frontier-scale models benefit is untested.
    Terminal domain only — the paper claims nothing beyond it.One benchmark (Terminal-Bench 2.1), one agent scaffold. ii
    iii The teacher solves only 20.94% of its own tasks.Trajectories are expensive to harvest — and there is no dedicated limitations section; this scoping is ours.
    K. Shi et al. · Shanghai AI Lab · USTC · Fudan arXiv 2608.18580
  6. The verdict. Read it. If you train or evaluate coding agents, the environment first idea is worth an hour of your weekend, and the failure analysis alone will sharpen how you write verifiers. If the six thousand task set ships publicly, this graduates to implement it.

    Slide text
    The verdict
    Skim it Read it Implement it
    If you train or evaluate coding agents, the environment-first idea is worth an hour. If the 6,078-task set ships publicly, this graduates to implement it.
    K. Shi et al. · Shanghai AI Lab · USTC · Fudan arXiv 2608.18580
  7. The paper is FACET, from Shi and colleagues at Shanghai AI Lab. The full text is on arXiv, linked right here. That is the first pass. Back Monday with the next paper.

    Slide text
    Sources · what this episode read
    The paper, in full — HTML v1, including scope and results tables
    arxiv.org/abs/2608.18580
    Discovery — Hugging Face daily papers, August 21
    huggingface.co/papers
    Back Monday with the next paper.
    FIRST PASS · one paper, read for you bisque.today

What happened in AI today, in your inbox

One short email each evening. Read it and you’re caught up.

Built with ❤️ in New York