Deep Dive · Agents

AREX-2: The Harness Moves Into the Model

A 27B open-weights model from BAAI, fine-tuned so that the try-check-revise loop lives inside it rather than in your code. Give it five hours and it keeps improving; give the same budget to DeepSeek-V4-Pro and it stops after two. But the ablation is the interesting part: most of the headline score comes from skills, not from the training.

AREX-2 - The Harness in the Model — video thumbnail
Video: Sam Witteveen 16:27 6 November 2026
AREX-2 Qwen3.8-27B Long-horizon Apache-2.0

🔁 The loop you wrote by hand 0:00

If you have built an agent in the last year, you have written the same code: try something, check the result, decide whether to retry, keep the best version so far, and work out when to stop. All of that logic lives in the harness. The model gives you one attempt at a time and your code does everything else.

AREX-2 asks the obvious question: what if the model did that part itself? Give it a budget — say five hours on one problem — and let it work out how to spend those hours making its answer better.

"The interesting part is not necessarily the model itself. It's the ideas behind it. What does this actually mean for harnesses that we're all building?"

📦 What AREX-2 is 0:52

PropertyDetail
Base modelA fine-tune of Qwen3.8-27B
Size / licence27B parameters, Apache-2.0 open weights
Paper"AREX-2: Advancing Self-Improving Agents through Long-Horizon Reflective Tasks", arXiv 2609.38288, 29 September 2026
WhereHugging Face BAAI/AREX-2 (~27.36B stored parameters); code at VectorSpaceLab/AREX-2
Trained forLong-running agent work: try, check, revise — repeated across many rounds inside a single session

Being a 27B fine-tune is not a footnote, it is the point of the comparison: every number below is achieved by a model roughly an order of magnitude smaller than the closed systems it is measured against.

🏛 Who built it 1:38

The paper's affiliation is the Beijing Academy of Artificial Intelligence (BAAI) — a twelve-author team led by Hongjin Qian, with Zhicheng Dou among the senior authors. The video notes it was built alongside two other Chinese institutions, and that apart from the paper the main write-up is a blog post available only in Chinese, which is a fair explanation for why an English-language audience has been slow to notice it.

What is not public: the video says he could not find which teacher model generated the training trajectories, and that neither the datasets nor the training code appear to have been released — the model weights and an inference repo are. That matters for anyone hoping to reproduce the recipe rather than the result.

🎯 Two capabilities, and a diagnostic 2:24

The paper's definition of self-improvement at test time rests on exactly two things, and the framing is the most useful idea in the video because it applies to agents you already run.

CapabilityQuestion the model asks itselfWhat it decides
Reflection"Given my current situation and the feedback I just got, can I produce a better attempt?"How much the next round is worth
Long-horizon execution"Can I keep doing this for hours, remember what I already tried, and recover when something goes backwards?"How many rounds stay useful before it stalls

Multiply them and the failure modes separate cleanly: if reflection is weak, more rounds just burn tokens; if the horizon is short, even sharp reflection plateaus early.

The diagnostic worth stealing — no fine-tuning required. When your agent stalls, ask which of the two it is. Making bad changes? You need a better feedback signal. Losing the thread and redoing work it already tried? That is a state and memory problem. Different diagnoses, different fixes — and most teams apply the second fix to the first problem.

Budget awareness is the third ingredient: the model is told how many rounds it has, and paces itself — early rounds to measure, later rounds to act on what was measured.

🗃 Why agent data hides improvement 4:58

The paper's diagnosis of the training-data problem is blunt: the standard recipe poses a task, has the model attempt it, has a verifier mark pass or fail, and keeps the passes. That teaches a model what a correct answer looks like — not how an answer gets improved. The intermediate attempts, the feedback, the revisions and the abandoned approaches are all discarded.

Standard dataWhat AREX-2 trains on
One attempt per taskA trajectory of many rounds, hours long, hundreds of tool calls
Pass/fail labelFinal score, plus whether the process satisfied the task's requirements
Failures thrown awayFailures kept deliberately, because they show how to continue after a setback
Loss over everythingLoss only on steps that move the solution forward

Two domains were chosen because their feedback is unambiguous and their headroom is real: machine-learning engineering (a validation score goes up or it does not) and algorithmic programming (tests pass or they do not), both with a long path from a baseline to a tuned ensemble or from brute force to near-optimal.

🏗 The three-step pipeline 5:41

  1. A teacher model builds environments. It reads a GitHub repository or an online-judge problem and turns it into a task plus a scoring function — a repository has code and a metric but no stated task; a judge problem has a statement and tests but no sandbox. The teacher supplies the missing half.
  2. An agent works the task for hours. Hundreds of tool calls per task: reading code, searching papers, running small experiments, seeing what actually improves the score.
  3. Trajectories are selected as a whole. A trajectory is kept if its final score is high and its process satisfies the requirements — no individual round is required to succeed.

Then the subtle part, and the bit worth copying if you fine-tune on your own agent traces:

"The whole trajectory is kept as context, and the loss is applied to the decisions that move the solution forward... Failed attempts and regressions stay in the context, so that the model sees the state from which it has to recover." The paper adds: "Steps that make no progress receive no loss" — repeated polling, calls that return nothing new, and similar filler.
This is a generalisable recipe for anyone training on agent traces: select by outcome, mask by progress. Keep the mess in context so the model learns recovery, but put gradient only on the steps that diagnose, repair, change strategy, run the next experiment, or submit. Most teams do the opposite — filter to clean successes, which trains a model that has never seen a failure it caused.

⚙️ It is fine-tuning, not RL 6:54

The launch material described the tasks as being "reinforced", which sounds like reinforcement learning. The paper is explicit: AREX-2 is supervised fine-tuning on the selected trajectories, mixed with the deep-research data from the earlier AREX recipe — which is left unchanged, so any gain on research benchmarks is transfer, not new training data.

Why the distinction matters for you: SFT on well-selected trajectories is something a small team can actually do. RL infrastructure is not. If the result holds up, the practical lesson is that most of the benefit comes from how you select and mask your existing logs, not from a fancier optimiser.

📊 The numbers 7:08

Two benchmarks, and the pattern across them is different — which the video is careful to point out.

ModelSizeFrontier-CSMLE-bench Lite
GPT-5.6 Sol—76.472.7
Claude Opus 4.8—74.563.6
GPT-5.5—72.168.2
Gemini-3.1-Pro—68.9—
Kimi-K32.8T—72.7
DeepSeek-V4-Pro1.6T44.754.5
AREX-227B70.781.8
  • MLE-bench Lite: 81.8 — the highest score in the paper's comparison, above GPT-5.6 Sol's 72.7, from a model a fraction of the size.
  • Frontier-CS: 70.7 — the best open-weights result, about six points behind GPT-5.6 Sol (76.4). Open-ended algorithmic problems remain harder to win outright.
  • Transfer without new data: BrowseComp 84.0, HLE 52.6, GAIA 92.2, DeepSearchQA 93.8 — the deep-research scores improve over the previous recipe even though no research trajectories were added.

📈 Five hours, two flat lines 8:10

The most important chart in the paper is not a leaderboard — it is score against wall-clock budget on the 188 problems of the Frontier-CS Agent Track, five hours each.

BudgetAREX-2DeepSeek-V4-Pro
1 hour54.4—
2 hours65.944.7 — then stops improving
5 hours70.744.7

AREX-2 does not start in front; it takes the lead as the budget grows, and the later hours stay productive — 4.8 points between the second and fifth hour, of which 2.2 arrive in the final hour. DeepSeek-V4-Flash flattens even earlier, at 39.1 after three hours.

That is the whole thesis in one line: the difference between these models is not what they can do in one attempt, it is whether the tenth hour is still worth paying for. A harness can schedule more rounds; it cannot make round nine better than round two. That is a property of the model.

🔬 The ablation that reframes the headline 8:35

AREX-2's MLE-bench Lite score was measured with skills in context — general ML-practice skills plus task-specific ones assembled by searching around the problem. The paper publishes the stage-wise ablation, and it changes how you should read the 81.8.

StageWhat is addedMLE-bench Lite
Base Qwen3.8-27BNothing28.8
+ general skillsOperational knowledge41.2
+ task-specific skills + more roundsStill no training68.2
AREX-2, same skills, base roundsTraining75.8
AREX-2, same skills, more roundsTraining + budget81.8

So: skills and rounds take an untrained base model from 28.8 to 68.2, and the fine-tune adds roughly fourteen points on top of that. Both levers are real; the free one is bigger.

The honest reading of the headline: 81.8 is not "a 27B model is smarter than GPT-5.6 Sol". It is "a 27B model, given good operational knowledge and a long budget, and trained to use both, wins this benchmark". Anyone quoting the first sentence is quoting the wrong one — and the same caveat applies to your own evaluations: the skills in the context are part of the system under test.

🧰 What it means for your harness 10:23

If models start carrying the loop, do harnesses go away? No — their job changes. The video's version of the new division of labour:

Harness responsibilityWasBecomes
Loop controlDecide when to retry, keep, stop, swapLess of this — the model paces itself
Feedback signalA nice-to-haveA real score, real logs, real errors — the fuel for reflection
Operational knowledgeSometimesSkills in context: the biggest measured lever
BudgetIteration capsDeclared wall-clock and round budget the model plans against
"If your framework has its own reflect-and-retry nodes and the model is trained to pace itself over one long session, you've got two loops fighting against each other."

That is the practical risk, and it is testable: a harness that resets context every few steps and re-decides when to retry may actively damage a model trained to hold the thread across hours. His own test bench included exactly this condition — wiping history every three rounds and passing only a summary forward.

The prediction to watch: harness features that used to be differentiators — retry policies, best-of-N, reflection nodes — become redundant for models like this and essential for models unlike it. The harness's job shifts from being the loop to supplying the score and the operating manual.

🌀 Is this recursive self-improvement? 11:30

BAAI frames AREX-2 as self-improving, and the video makes the necessary distinction: what was demonstrated is self-improvement at test time. Inside one task the model gets better over many rounds — but the weights never change.

"That's like giving the intern a week to work on something, having them try it 20 different ways, working out which is the best and bringing it back — and then next week wiping their brain from scratch so they have to do all 20 ways again."

True recursive self-improvement, in this framing, is when the model's own trajectories become the next round of training data — so the next generation needs fewer attempts, not the same 20. To their credit, that is exactly what the authors propose as future work: they list it as the path forward rather than repeating the many steps every time.

Test-time improvement is still a big deal, just not the same deal. It means the value of a model now depends on how long you let it run — which changes serving costs, scheduling, and how you price a task. It does not mean the model trains itself overnight.

🧪 His own test bench 12:32

Rather than eyeballing chats, he built a small bench ("Round Lab") that runs AREX-2 and base Qwen3.8-27B through the identical loop: same prompt, same budget, same settings. Each round the model submits a full solution, it runs in a sandbox, and the model gets back its score, the logs and how many rounds remain.

Design choiceWhy
Task: 300 random points, shortest tour (TSP), graded against a strong reference solverImprovement is visible, and partial progress is measurable
Stripped prompt: no planning advice, no requests for notesTests whether the loop is in the model, not in the prompt
12 attempts, plus a 3-attempt variantDoes the model plan differently in round one when it knows the budget?
History wiped every three roundsDirectly tests the "harness fighting the model" hypothesis

The result was modest and reported as such: AREX-2 does slightly better, especially on harder problems, but the difference is not huge — plausibly because he used his own harness rather than BAAI's, and because TSP is unlike the training domains.

That negative-ish result is the most useful part of the video. A capability trained on ML engineering and competitive programming transferred only weakly to a toy optimisation problem in a foreign harness. Which is exactly what the paper's own transfer claims would predict: the meta-skill transfers when the feedback is comparable, and a benchmark you invented five minutes ago is not a fair test of it.

✅ Claims checked

ClaimVerdictEvidence
AREX-2 is a 27B open-weights model, Apache-2.0, fine-tuned from Qwen3.8-27BCorrectHF BAAI/AREX-2: apache-2.0, ~27.36B parameters; paper trained from Qwen3.8-27B
Built by BAAI with other Chinese institutionsCorrect for BAAIPaper affiliation: Beijing Academy of Artificial Intelligence; 12 authors, Hongjin Qian first, Zhicheng Dou senior
Paper exists and is publicCorrectarXiv 2609.38288, 29 Sep 2026
MLE-bench Lite 81.8, above GPT-5.6 Sol's 72.7CorrectTable 1: AREX-2 81.8; GPT-5.6 Sol 72.7 — highest of all compared systems
Frontier-CS 70.7, best open weights, ~6 points behind GPT-5.6 SolCorrectTable 1: Sol 76.4, AREX-2 70.7 (difference 5.7)
5-hour curve: 54 after 1h, 66 after 2h, 70.7 after 5hCorrect (54.4 / 65.9 / 70.7)Round-scaling section, 188 Frontier-CS Agent Track problems
DeepSeek-V4-Pro flattens around 45 after two hoursCorrectPaper: V4-Pro stops at 44.7 after two hours; V4-Flash at 39.1 after three
Ablation: base 28.8 → +general skills 41.2 → +task skills/rounds 68.2 → AREX-2 81.8CorrectStage-wise ablation on MLE-bench Lite; AREX-2 is 75.8 with base rounds, 81.8 with more
Training adds roughly 14 points over skills aloneCorrect81.8 − 68.2 = 13.6
Skills account for a large share of the headlineCorrect — the paper's own reading"Operational knowledge matters: skills and more rounds raise the base model from 28.8 to 68.2 without any training"
It is supervised fine-tuning, not RLCorrectPaper: fine-tune Qwen3.8-27B on selected trajectories plus the earlier AREX deep-research data
Failures are kept in context; loss only on progress stepsCorrect"Failed attempts and regressions stay in the context… Steps that make no progress receive no loss"
Transfers to deep research with no new training dataCorrectBrowseComp 84.0, HLE 52.6, GAIA 92.2, DeepSearchQA 93.8
Video: "GPT 5.6 Soul", "Quen 3.827B", "Ax 2 / AEX 2", "B AI", "Emily Bench Light"Transcript garblesGPT-5.6 Sol, Qwen3.8-27B, AREX-2, BAAI, MLE-bench Lite
Datasets and training code not releasedThe video's observationModel weights and an inference repo are public (VectorSpaceLab/AREX-2, Apache-2.0); no training data or code found in this check either
His own Round Lab found only a modest advantageAuthor's own test, not peer-reviewedOwn harness, TSP task, 12 rounds; reports slight edge for AREX-2, larger on harder problems

Basis note. Built from the full 16:27 transcript, then verified against the paper's full text (arXiv HTML), the Hugging Face model card and the GitHub repository. Every benchmark figure in this article is the paper's, including two the video rounds: the 1-hour and 2-hour points are 54.4 and 65.9, and the ablation's intermediate stage of 75.8 (same skills, base rounds) is not mentioned in the video. The paper is an arXiv preprint, not a peer-reviewed publication.

🔑 Key takeaways

  • The loop is moving into the model. Try, check, revise used to be harness code; AREX-2 learns to do it inside one long session, given a budget.
  • Two capabilities, two failure modes. Reflection decides whether the next round is worth more; long-horizon execution decides whether round ten is still useful. Diagnose your stalls accordingly.
  • Ask the diagnostic question before buying anything: bad changes mean you need a better feedback signal; repeated work means you need state and memory. Different problems, different fixes.
  • Agent training data usually discards the useful part. Keeping only passes teaches what a correct answer looks like, not how an answer improves.
  • Select by outcome, mask by progress. Keep failures in context, apply loss only to steps that diagnose, repair, change strategy or submit — the reusable recipe from the paper.
  • It is SFT, not RL. The result came from how trajectories were selected and masked, which is within reach of a small team with a good log store.
  • MLE-bench Lite 81.8 beats GPT-5.6 Sol's 72.7 — but read the ablation first: skills and extra rounds take the untrained base model from 28.8 to 68.2, and training adds ~14 points on top.
  • Most of the gain is free: operational knowledge in context is the biggest single lever, and it needs no training run at all.
  • The real differentiator is the tail of the curve: at a five-hour budget, AREX-2 keeps climbing while DeepSeek-V4-Pro stops at 44.7 after two hours.
  • Test-time improvement is not recursive self-improvement. The weights never change; doing twenty attempts again tomorrow is the intern whose memory is wiped weekly.
  • Harnesses do not disappear — they change jobs: less loop control, more feedback signal, operational skills, and a declared budget the model can plan against.
  • Watch for two loops fighting: a harness that resets context and re-decides retries can damage a model trained to hold the thread for hours.

🔗 Resources

Basis note. All figures verified against the paper's tables and text, not the narration; four model/benchmark names were corrected from caption garbles, and one number the video omits (75.8 at the same skills with base rounds) was added because it changes the interpretation of the ablation. The video's hardware aside is a loaned machine, not a sponsorship, and one segment is a plain subscribe request — neither affects the content.

⏱ Timestamp index

0:00The loop that used to live in your harness
0:52AREX-2: a 27B Qwen fine-tune, Apache-2.0
1:38Who built it: BAAI and partners
2:24The core idea: try, check, revise in one round
3:14Reflection versus long-horizon execution
4:20The diagnostic for your own stalled agents
4:58Why agent training data loses the improvement
5:41The three-step data pipeline
6:43Failures in context, loss on progress only
6:54It is SFT, not RL
7:08MLE-bench Lite 81.8, Frontier-CS 70.7
8:10The five-hour budget curve
8:35Skills versus training: the ablation
10:23What changes for harnesses
11:09Budget, and seven-day cloud runs
11:30Two loops fighting each other
11:56Is this really RSI? Test-time only
12:32Round Lab: his own test bench
14:26Results of the test, and the caveats
15:24Verdict: a direction, not a benchmark number
☰ View all