AREX-2 - Harness or Model: Who Should Run the Loop?

summarized

TLDR

AREX-2 is a 27B fine-tune of Qwen that internalizes the try-check-revise loop, enabling it to improve over hours on a single task. It scores 81.8 on MLE Bench Light, beating GPT 5.6 Soul, and its long-horizon capability means harnesses should shift from controlling the loop to providing feedback and budget.

Key points

AREX-2 scores 81.8 on MLE Bench Light, outperforming GPT 5.6 Soul's 72.7.

The model is trained on full trajectories including failures, using supervised fine-tuning on steps that move forward.

AREX-2's score improves from 54 after 1 hour to 70.7 after 5 hours, while Deep Seek 4 Pro plateaus at 45 after 2 hours.

Skills drive most of the improvement, with training adding about 14 points on top.

The model is a 27B dense model with Apache 2.0 license, but training data and code are not released.

Tools mentioned

Techniques

  • reflection
  • long-horizon execution
  • try-check-revise loop
  • supervised fine-tuning on trajectories
  • loss masking
  • skills-based context augmentation
  • budget-based pacing
Transcript (captions)

0:00 Okay, so if you've built an agent from scratch in the last year or so, you've almost certainly written the bit of code, the loop, basically getting it to try something, check the result, and

0:10 then to decide whether to retry. And if you do retry, keep the best version so far and figure out when to stop. And really, up until now, all of that logic has lived in your harness, not in the

0:21 model. The model gives you one attempt at a time, and your code does everything else. So B AI, the Beijing Academy of Artificial Intelligence has put out a model called Arex 2 that kind of asks

0:34 this obvious question. What if the model did that part for you itself? What if you just gave it a budget, say 5 hours on a problem, and it worked out how to actually use those hours to keep making

0:48 its answer better? So this is exactly what I'm going to look at in this video. The model itself is a 27B open weights Apache 2 license. In fact, it's actually a finetune of all of our favorite model,

1:01 the Quen 3.827B. And amazingly, this finetune of it is actually posting a score on an ML engineering benchmark that's higher than GPT 5.6 Soul. And for me, the

1:12 interesting part, again, like many of these things, is not necessarily the model itself. It's the ideas that are behind it. What does this actually mean for harnesses that we're all building?

1:23 And you've heard me talk about this more and more on the channel that the pendulum is swinging back to the harness as being the important part at the moment rather than just the model. So

1:31 the cool thing is that they've actually released a paper with this and I want to dig into that and look at the ideas that they're actually proposing. But before we get into that, there's one thing I

1:40 want to ask of you. My team's pointed out that a majority of people watching the videos are not subscribed. And nowadays with YouTube's algorithm is really basically a game of luck if

1:49 you're going to see any of the next videos we actually make. So if you're not already subscribed to the channel, as much as I hate to do the whole YouTuber thing, if you find the videos

1:58 useful, please click like and subscribe so the videos actually get in front of a lot more people and you get to see them in your feed as soon as they come out. All right, so a bit of context. Ax 2,

2:08 like I mentioned, is built on the Quen 3.827B. So when I saw that they had taken it and trained it specifically for longunning agent work, I was very interested to

2:18 actually try this out. It's coming from three different institutions in China. B AI which is actually a very prestigious academic lab there. They've done a bunch of things. I think on the channel I've

2:28 covered some of their embeddings work and other models that they've done over the last few years and they built this along with two other universities. So there is actually a paper out on archive

2:38 for this. But when I was doing the research for putting this together, actually the main write up I found outside of that paper is a blog post that's only in Chinese. So I was kind of

2:47 surprised that this model really hasn't had a lot of coverage in English yet. Okay, so here's the core idea. They've built this to basically have a few different key parts and the model will

2:58 actually do a try, a check, a revise loop all in the one round. And they talk about setting this up as actually making the model get better over many rounds. And that that actually comes down to two

3:11 key things. The first one is reflection. So I've talked about reflection on the channel probably about 3 years ago. It was one of the first sort of key ideas that certainly helped LMS get a lot

3:21 better. And you can kind of think of this as that the model's saying to itself given my current situation and the feedback that I just got, can I produce a better try? And from that it

3:33 decides how much each round is actually worth. The second thing here that's really important is this idea of long horizon execution. So you can think of that one as can I keep doing that for

3:45 hours, remember what I've already tried and recover when something goes backwards. So obviously we don't just want loops where it's trying lots of different things without actually

3:54 tracking what's getting better, what's actually not getting better. So you can kind of think of this part as deciding how many rounds stay useful before the model kind of stalls out and loses its

4:05 way. And then if you multiply these two things together, if reflection is weak, more rounds just burn tokens. If the horizon is short, even really sharp reflection kind of plateaus after a

4:18 certain period. And I actually think a really useful way to look at this is to look at your own agents. Even if you never touch the model, when your agent stalls, ask which one it is. Is it

4:28 making bad changes? Then you probably need a better feedback signal. Or is it losing the thread and redoing things that it's already tried before? Then that usually comes down to a state and

4:39 memory problem. And you should really think about these as different problems, different fixes. The other thing to think about here is the whole sort of budget. The model is told how many

4:49 rounds it has and it paces itself. early rounds to sort of measure later rounds to act on what it's actually measured already. Okay, so how do they actually train this? Because actually most sort

5:00 of agent traces and agent training data don't actually show this at all. The way agent data usually gets made is you pose a task, the model has a go, a verifier has a pass or fail, and you keep the

5:12 passes. That shows a model what a correct answer looks like, but that really doesn't show how an answer gets improved in any way. All those failed attempts, the feedback, the fixes, they

5:24 just get thrown away. And usually things like the long messy runs where something starts bad and ends up great are actually the ones that probably are the most useful for the improvement. And

5:36 they're often the ones that get lost first in this kind of data collection system. So they built that data themselves and they picked out two specific domains to do it in machine

5:45 learning engineering and algorithmic programming. And the reason is pretty smart. In both of those, the feedback is unambiguous. A validation store either goes up or it doesn't. Tests either pass

5:56 or they don't. And the other thing with this is that there's room to keep improving for a long time from a basic baseline to a tuned ensemble or from sort of just brute forcing a program to

6:07 something that's near optimal. And this pipeline pretty much boils down to three key steps here. First, a teacher model takes GitHub repos and turns them into environments, each with a task and a

6:18 scoring function. Second, a teacher agent works on one for hours, hundreds of tool calls, reading the code, searching papers, running small experiments, and seeing what actually

6:30 improves there. And then third, they keep the whole trajectories based on how they finished. And interestingly, they deliberately leave the failures in here. And it's perhaps that last bit that is

6:41 really kind of the clever bit. So the failed rounds stay in context, but they only train on steps that move things forward. So the model sees these messy runs and it learns how to respond to

6:52 them. Now, one thing to clear up. The launch post talked about reinforcing these tasks, which kind of sounds like RL. It isn't RL. This is supervised fine-tuning on these trajectories mixed

7:03 with deep research data from the first AEX model. And so if you're doing any fine-tuning on your own agent traces, I think the recipe here becomes directly reusable. Pick trajectories by how they

7:14 end, not step by step and mask the loss. So you only train on the recovery and the progress. Now, unfortunately, I couldn't see anything where they were saying actually what teacher model

7:26 generated all of this, and it doesn't look like they've released any of the data sets or the training code here. Okay, so the big question is, does this work? Well, on MLE Bench Light, it's

7:36 getting 81.8, which is their top score in comparison, and that's getting above GPT 5.6 Soul, which is at 72.7. on the Frontier CS, which is open-ended algorithmic problems. It's getting 70.7

7:51 best open weights models there, but it's still about six points behind that GPT 5.6 Soul. But don't forget, this is coming from a 27B model. I think it's safe to say that GPT 5.6 Soul is

8:03 probably a lot bigger than that. Now, the chart that I find probably most interesting here is this one. This is the score over a 5h hour budget. AEX 2 doesn't start out in front, but it's at

8:15 54 after 1 hour, 66 after two, and 70.7 after five. So, that ability to just continually keep improving is really what everyone's going for with the whole sort of ideas behind the RSI loops, etc.

8:31 They show that even Deep Seek 4 Pro flattens out at about 45 after 2 hours and it doesn't really move after that. So this idea of the long horizon idea really does look like if you set the

8:43 model up for that hours later this can still be improving. The other thing here too is that long horizon allows this to beat the earlier AEX models on all four of these research benchmarks including

8:56 beating the 122 billion parameter version. Now there's some interesting things going on here that are not just the training. The Emily Bench Light isn't just the model. It was run with

9:07 skills in its context. These were a whole bunch of skills of general ones about ML practice plus very taskspecific ones built by searching around the problem. It's good to see that they

9:18 actually published an ablation study that actually breaks down those numbers both with the skills and without the skills. If we look at the results there, we can see the plane quen 3.8 27B with

9:28 no skills is grading 28.8. Add in the general skills and it goes to 41.2. Add in the task specific skills and more rounds, still the base model with no training at all and it's at around 68.2.

9:43 Then swap in the AX 2 model with all of those same skills and the same number of rounds. That's where the 81.8 score is coming from. So I think the key takeaway there is that the skills drive a lot of

9:56 the improvement. That's undoubted. But the training does go on to add about another 14 points of improvement there. So the training that they've done here really is a real thing. It's just that

10:07 perhaps it's a smaller lever than the actual skills in getting immediate improvement in there, which I kind of think is going to come as no surprise to most of us who we've seen when you build

10:17 really good skills, you're able to basically put this kind of thing in. Okay, so what does this actually mean for harnesses and for RSI? So, I've been covering the deepseek harness recently a

10:28 lot and a lot of what makes harnesses like that work is exactly this kind of loop logic. So, if more models get trained like this, do I think the harnesses are going to go away? No, I

10:38 don't think that at all. But I think their job changes. I think the harness is then going to need to worry about controlling the loop less. It's not going to need to worry as much around

10:48 when to retry, what to keep, what to stop, what to swap out, that kind of thing. I think this could be three things here. First, giving the model a good feedback signal, a real score, real

10:59 logs, real errors, etc. is going to just improve this loop a lot. Second, giving it the operational knowledge, which is the skills part that we just saw. And third is setting the budget on the model

11:10 of how long do you actually want it to go on its long horizon. And I should point out that the long horizon thing is really becoming a big thing. Google Cloud themselves are now introducing

11:21 things where you can actually run models for seven days straight. People are actually reconfiguring infrastructure to allow for these long horizon runs. Anyway, my guess is there's still going

11:32 to be friction though. If your framework has its own reflect and retried nodes and the model is trained to pace itself over one long session, you've kind of got two loops perhaps fighting against

11:43 each other. So, it's going to be interesting to see how that plays out. You could imagine that if the harness itself is resetting the context every few steps with a model like this, that

11:52 actually could make it worse, not better. Now, going back to the RSI part, BAI frames this as recursive self-improvement. And I should stress that what they've shown here is

12:03 self-improvement at test time, right? Inside one task, the model gets better at the problem over many rounds. The weights themselves don't change. So that's kind of like giving the intern a

12:16 week to work on something, having them try it out 20 different ways, work out which is the best and bring it back and then next week wiping their brain from scratch so they're going to have to do

12:26 all 20 ways again. So really what we would like for sort of true RSI is when the model's own trajectories become the next round of training data so that each generation that it's going through and

12:37 being successful is actually training the model to get better over time. So it doesn't need the 20 attempts next time. And to be totally fair to the researchers here, that's exactly what

12:48 they state at the end of their paper. They list out that this should be the path forward rather than just repeating the many steps every single time. Okay. So I wanted to test the core claim

12:58 myself. And rather than just eyeball a few chats, I put together a little test bench for this, which I'm calling round lab. So this is basically running the Ax 2 and the base Quen 3.827B 827B

13:12 through the exact same loop. Same prompt, same budget, same settings. Each round, the model submits a full solution. It gets run in a sandbox. The model gets back its score, the logs, and

13:24 how many rounds it has left. And just to be clear here, I'm using my own sort of simplified harness, not BI's one here. The main task here is a traveling salesman kind of problem. So, we've got

13:34 300 random points. Find the shortest tour here and you get a graded score against a strong reference solver. And I actually picked this because visually we can actually see this improve. Now I ran

13:45 the same race with a stripped down prompt. No planning advice, no requests to written notes. Just here's the task. You get 12 attempts. If the loop really lives in the model 2 should still keep

13:57 improving and the base model sort of shouldn't. The other cool thing here is that if I tell it three rounds versus 12, does it actually plan differently in round one? So, we can actually sort of

14:08 test out the different budgets and allocating a different budget to each of these. If I cut the time limit going through it, does it suddenly adapt or does it just keep resubmitting? Really,

14:19 what I'm looking for is how much of that intelligence actually is baked into this model itself. The other thing that I wanted to try in here is a version of their skills ablation thing. Now, I'm

14:29 not doing it anywhere as strict as they are. I'm just having a play with it in here. But the whole idea is we want to see is the harness actually fighting the model. So, I've tested that too in here.

14:39 In one mode, the harness wipes the history every three rounds and only passes a summary forward. Overall, on my tests, I do find that the AEX model does slightly better, especially when it

14:50 comes to the harder problems, but the difference is not huge here. And that could be for a few different reasons. It could be that because I'm not using their harness. It could be because the

14:58 problems that I chose are actually quite different than what they had in their training data. A few practical notes here. This is a dense 27B model. You're going to want a decent GPU or perhaps

15:08 two cards if you want to run this side by side. Luckily, as I'm recording this, I still have HP's ZGX Fury on hand with 252 gigs of that high bandwidth memory here. So, it's not sponsored by them,

15:20 but I'm definitely going to use the machine to try out things like this while I've still got it on loan. Okay. So overall, I think Ax 2 is less interesting as a model benchmark number

15:29 and much more interesting as a direction. The loop that we've all been trying to write into our harnesses is starting to move into the model. And really, this is not surprising. We've

15:39 heard people from Anthropic talk about how they're getting Claude code to work better with the models. They're getting the models to actually work better with Claude code as they bring out each

15:48 version going forward. I kind of feel if you're running long agent jobs like ML experiments, coding problems, research tasks, etc., this is definitely worth a try. It's also a nice exercise for you

16:00 just to revisit what your harness is actually doing for you under the hood. So, as always, I've put the links to the paper, the model, the repo in the description. Let me know in the comments

16:10 what you think. Are you seeing your agents stall out on long tasks? And if you are, do you think it's the reflection elements that's causing it or just the long horizon task that's

16:20 causing it? Anyway, as always, if you found the video useful, please click like and subscribe and I will talk to you in the next video. Bye for now.

Frontier News · by Hyperjump Technology