Paper commentary
AREX-2: Advancing Self-Improving Agents through Long-Horizon Reflective Tasks
AREX-2 learns to keep refining its answers over many rounds
- Problem Agent training data keeps only passing solutions, so it shows what a fix looks like but not how to make one. Agents therefore stop iterating after a setback instead of improving over many rounds.
- Method AREX-2 is Qwen3.8-27B, fine-tuned on whole improvement trajectories from ML and algorithmic programming tasks. Failed rounds stay in the data, so the agent learns to press on after a stumble.
- Results AREX-2 scored 81.8 on MLE-bench Lite, compared with 73.7 for Naive-N0.5-Flash, the strongest baseline in the table. It also transferred to deep research without new training data.
Why one-attempt training data stops short
Most agent training data is built one attempt at a time, with a verifier marking each solution as pass or fail. Only the passing solutions are kept for training, following the practice of fine-tuning on a model's own successful outputs.
They frame this as test-time scaling within a single task, so more rounds should yield a better solution. Reflection produces a better solution from the current one and its feedback, while long-horizon execution sustains this across rounds. Let s_t be the best score after t rounds and r_t the expected gain of round t. The expected total improvement is the sum of the per-round gains, which is approximately r̄T* when only the productive rounds count.
Reflection sets r̄, how much a productive round is worth, while long-horizon execution sets T*, how many rounds stay productive.
Current training data demonstrates little of either capability, so the loop stays outside the model.
Choosing training domains where improvement can be checked
The authors bet that long-horizon reflection is a meta-skill, not tied to any single domain. If that holds, the training domain doesn't have to look like the target domain. Instead, they pick a domain for how well it lets the skill be supervised, and expect the gains to transfer.
The first reason is clear feedback: a validation score or a judge's verdict tells whether a revision helped. The second reason is room for sustained improvement, so long trajectories get rewarded. The third reason is abundant source material, since GitHub and online judges supply many problems, code, and tests. Together, these properties make the two domains a good fit for supervising self-improvement.
A teacher model first turns GitHub repositories and online judge problems into executable environments. Each environment pairs a task with a scoring function that measures the agent's solutions. The authors select whole trajectories by final score and process, so no single round must succeed. Retaining failed runs lets the model learn to press on after a stumble.
Filtering by individual step would strip those runs out and leave only fully successful examples.
How environments and trajectories are built
A teacher model turns each source into an environment, which is a pair of a task and a scoring function. For a judge problem, the statement becomes the task and the hidden tests give the score. Where the judge allows it, the score is graded, such as the fraction of tests passed, rather than binary. An environment is admitted only if the reference solution runs under the score and a simple baseline scores well below the reference.
The agent produces trajectories under three conditions meant to elicit long-horizon reflection, and the first is a large budget of rounds. The second is operational knowledge, which the agent collects by reading the source and searching for papers. The agent also runs small experiments in the environment, and then uses what it learned in the rounds that follow.
Part of this knowledge can be supplied as skills, with general skills prepared in advance from machine learning repositories. Task-specific skills are built by searching for task-related information, and the task material itself is excluded. The third condition is feedback in the loop, so the agent sees each score and report before its next round.
A trajectory is kept as a whole when its best submission clears a threshold set relative to the reference. Its process must also meet the task's rules, such as a well-formed run and no reconstructed answers from the held-out split. No condition applies to individual rounds, so failed runs and abandoned approaches can remain in the data. The whole trajectory stays in context, but the loss covers only steps that move the solution forward.
Repeated polling, empty tool calls, system messages and retrieved documents receive no loss.
AREX-2 is Qwen3.8-27B, fine-tuned by imitation on the selected trajectories. The selected trajectories are mixed with the deep-research data of the AREX recipe, which stays unchanged. Because the new trajectories are the only change, the deep-research results can be read as transfer. The model reaches 81.8 on MLE-bench Lite and 70.7 on Frontier-CS after this training.
Headline results on the training domains
On MLE-bench Lite, Table 1 places AREX-2 among closed-weight and open-weight models. AREX-2, built on Qwen3.8-27B, reaches an Any Medal rate of 81.8 there. That is 8.1 points above Naive-N0.5-Flash at 73.7, the strongest baseline in the table. It also beats the strongest closed-weight baseline, GPT-5.6 Sol at 72.7, by 9.1 points. Each Any Medal figure is a percentage of competitions medaled, averaged over three seeds.
AREX-2 runs with skills in its context, so the score combines those skills with the trained model.
On Frontier-CS, AREX-2 reaches 70.7 on the 188-task Agent Track. Each Frontier-CS run gets a maximum execution budget of 5 hours per task. That score is 16.0 points above Kimi-K2.7-Code at 54.7, the strongest reported open-weight baseline. It sits 5.7 points below GPT-5.6 Sol at 76.4, the strongest closed-weight system in the table. The authors read this as leading machine learning engineering results alongside competitive algorithmic programming at 27B parameters.
Table 1 covers the two domains that supplied the new training trajectories. Section 3.3.3 separates the MLE-bench Lite gain into the contributions of skills and training.
Does the round budget keep paying off?
With correctness feedback, the authors ran all 188 Frontier-CS Agent Track problems and scored each submission. In each round, the agent edits its code, compiles it, runs the sample cases, and writes its own randomized and edge-case tests. The agent then uses the returned score and evaluation feedback to decide what to change next.
AREX-2 climbed from 54.4 after one hour to 65.9 after two hours and 70.7 after five hours. It started below the leading systems, but it took the lead as the budget grew. DeepSeek-V4-Pro stopped improving at 44.7 after two hours, and DeepSeek-V4-Flash stopped at 39.1 after three hours. Between the second and fifth hours, AREX-2 gained 4.8 points, and 2.2 of those points came in the final hour.
The authors read this as sustained improvement rather than a strong start, because the gains kept coming until the budget ran out.
The second setting uses BrowseComp, a benchmark with no new training trajectories, and the agent sees no score during a run. AREX-2 runs an inner loop that gathers evidence and drafts a provisional answer. An outer loop accepts, refines, or restarts that answer based on the model's own confidence. The budget is measured as average turns per question, where one turn is one LLM call.
AREX(122B), trained with the previous recipe, also improved with more turns, but far less efficiently. At about 140 turns, AREX-2 stays more than 12 points ahead of AREX(122B). AREX-2 exceeds the final accuracy of AREX with less than half the turns. AREX-2 does this with 27B parameters, less than a quarter the size of AREX. The gains come from self-judged search and refinement, not from correcting an answer after a wrong verdict.
Which parts of the approach matter
The stage-wise ablation on MLE-bench Lite separates the gains by changing the model, the skills and the number of rounds. M0 to M2 use the base model, Qwen3.8-27B, while M3 and M4 use the trained model, AREX-2. M0 runs with no skills, M1 adds general skills, and M2 adds task-specific skills along with more rounds. M3 keeps the round count of M0 and M1, while M4 keeps the round count of M2.
General skills come from machine learning repositories and common practices, whereas task-specific skills come from searches about each task.
The base model scores 28.8 when it has no skills. General skills raise the base model's score to 41.2. With the same skills, AREX-2 reaches 75.8 at the base round count and 81.8 with more rounds. The authors read the rise from 28.8 to 68.2 as operational knowledge at work, since it comes without any training.
Holding skills and rounds equal, AREX-2 exceeds the base model by 13.6 points. Training therefore adds a gain on top of what the skills provide. Even with fewer rounds, M3 exceeds M2 by 7.6 points. From M3 to M4, the trained model gains 6.0 points as its rounds increase. The authors tie this gain to their scaling results, since the trained model turns extra rounds into further progress.
Transfer to deep research
The authors test whether training on coding and ML tasks carries over to four deep-research benchmarks. They evaluate BrowseComp, HLE, GAIA and DeepSearchQA, reporting F1 for DeepSearchQA and accuracy for the rest. Inner turns are capped at 300 and total turns at 1500, following the AREX evaluation protocol. AREX-2 receives no new deep-research training data, so these scores measure transfer from the two training domains.
AREX-2 scores 84.0 on BrowseComp, 52.6 on text-only HLE, 92.2 on GAIA and 93.8 on DeepSearchQA. Among models with at most 40B parameters, AREX-2 leads on BrowseComp, text-only HLE and DeepSearchQA. On GAIA, XYZ-Aquila-mini and Agents-A1 rank ahead of it, but AREX-2 beats the other small models with reported results. AREX-2 also exceeds DeepSeek-V4-Pro, which scores 83.4, and Kimi-K2.6, which scores 83.2, on BrowseComp.
The sharpest comparison is with the previous recipe, because AREX(4B) and AREX(122B) use the same deep-research data. AREX-2 surpasses both AREX(4B) and AREX(122B) on all four benchmarks. On DeepSearchQA, AREX(122B) scores 89.9 and AREX(4B) scores 78.5, against 93.8 for AREX-2. The 27B model therefore beats a 122B model trained with the previous recipe.
The authors read this pattern as long-horizon reflection carrying across domains, which is the hypothesis behind the training choice. Since the gain doesn't come from new deep-research data, the change must originate in the coding and ML trajectories. The authors note that a gap remains on the strongest BrowseComp and HLE results.
Where AREX-2 still trails and which results rest on reproduced settings
The clearest gap appears on the strongest BrowseComp and HLE results, where AREX-2 does not lead. GPT-5.6 Sol reaches 90.4 on BrowseComp, so two closed or large systems sit above AREX-2 there. On HLE, Claude Fable 5 reaches 64.5, but that figure is on the full HLE set. AREX-2's 52.6 on HLE uses the text-only subset, so the two HLE numbers aren't measured on the same set.
Frontier-CS was evaluated only on the 188-task Agent Track, so the 70.7 score covers that track alone. AREX-2 reaches 70.7 there, within 5.7 points of GPT-5.6 Sol at 76.4. In Table 1, the asterisk marks scores that the authors reproduced themselves, such as DeepSeek-V4-Pro at 44.7 on Frontier-CS. In Table 2, the asterisk marks a different condition, namely results reported on the full HLE set.
The MLE-bench Lite score of 81.8 holds only with skills in the agent's context. The base model without skills scores 28.8 on MLE-bench Lite. Several MLE-Lite entries for open models are reproduced and reported by OpenMLE, not by the AREX-2 authors.
Frontier-CS runs allowed a maximum execution budget of 5 hours per task. MLE-Lite runs allowed 12 hours per task, following the OpenMLE protocol. The deep-research scores use 300 maximum inner turns and 1500 overall turns, following the AREX protocol. The authors didn't test how these scores change under other budgets.
Paper info
- Authors
- Hongjin Qian, Chaofan Li, Kun Luo, Wenqing Wei, Jianlyu Chen, Shuqi Lu, Yuyang Hu, Hongwang Xiao, Hui Wang, Chaozhuo Li, Qiwei Ye, Zhicheng Dou, Defu Lian, Zheng Liu
- Venue
- arXiv · Preprint
- First published
- 2026-9-29
- Added
- 2026-10-20
- Updated
- 2026-9-29
- Version
- v1
- arXiv
- 2609.38288
- Category
- cs.AI
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Hongjin Qian, Chaofan Li, Kun Luo, Wenqing Wei, Jianlyu Chen, Shuqi Lu, Yuyang Hu, Hongwang Xiao, Hui Wang, Chaozhuo Li, Qiwei Ye, Zhicheng Dou, Defu Lian, Zheng Liu (2026). AREX-2: Advancing Self-Improving Agents through Long-Horizon Reflective Tasks. arXiv:2609.38288v1. https://arxiv.org/abs/2609.38288v1
BibTeX
@misc{qian2026arex,
title = {{AREX-2: Advancing Self-Improving Agents through Long-Horizon Reflective Tasks}},
author = {Hongjin Qian and Chaofan Li and Kun Luo and Wenqing Wei and Jianlyu Chen and Shuqi Lu and Yuyang Hu and Hongwang Xiao and Hui Wang and Chaozhuo Li and Qiwei Ye and Zhicheng Dou and Defu Lian and Zheng Liu},
year = {2026},
eprint = {2609.38288},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2609.38288v1}
}