Urgent.News

What's breaking now, across thousands of outlets.

AI

AREX-2: Advancing Self-Improving LLM Agents via Long-Horizon Reflection

Beyond One-Shot Success: How AREX-2 Teaches LLM Agents to Reflect and Persevere Current autonomous LLM agents are often evaluated by their ability to solve a task in a single pass or through a short sequence of scripted interactions. While models like GPT-4o and Claude 3.5 have shown impressive capabilities in these one-shot scenarios, they frequently struggle when faced with long-horizon…

The limitations of existing autonomous LLM agents become evident when they are faced with complex, multi-step problems that demand sustained reasoning and self-correction. Despite impressive performance on one-shot tasks, models like GPT-4o and Claude 3.5 often loop endlessly or hallucinate success when a plan fails at an intermediate step.

A new paper, titled AREX-2: Advancing Self-Improving Agents through Long-Horizon Reflective Tasks (arXiv:2609.38288), tackles this issue by focusing on two key aspects of reliable agent behavior: reflection and long-horizon execution.

AREX-2 employs a two-pronged approach to self-improvement. Reflection involves the agent's ability to analyze a flawed solution and propose a specific improvement, much like a human developer might iterate on a script after encountering an error. Long-Horizon Execution refers to the agent's capacity to maintain this iterative loop across numerous rounds without losing focus or succumbing to "context contamination" – the overwhelming of the context window by errors and repeated failures.

While some agents exhibit reflection capabilities, they typically plateau after a few rounds of refinement.

To train AREX-2, researchers synthesized a large dataset of long-horizon improvement trajectories from machine learning engineering and algorithmic programming domains. These domains were selected for their provision of verifiable feedback, such as loss curves in machine learning or pass rates in programming unit tests. The synthesis process involved generating multiple candidate solutions, selecting those where improvement occurred over time, and filtering for logical, non-redundant reasoning paths.

This training enabled the base Qwen3.8-27B model to learn the pattern of recovering from errors and managing internal state over long sequences.

AREX-2's performance is remarkable, particularly in technical benchmarks and general-purpose tasks. On the MLE-bench Lite suite, designed for real-world ML engineering skills, AREX-2 achieved an impressive score of 81.8, positioning it at the top of autonomous agents in the 30B parameter class. The model also excelled on general-purpose benchmarks like GAIA, GAIA, and DeepSearchQA, scoring 92.2 and 93.8 respectively.

However, the most compelling metric is the performance vs. rounds curve, which shows that AREX-2 maintains a positive trajectory even after 30 rounds of refinement, unlike baseline models like GPT-4o, which see their success rate plateau after 5-10 rounds.

The key to AREX-2's success lies in its Reflective-Self-Correction (RSC) loop. When the agent reflects, it generates a distilled state update summarizing the lessons learned from previous failures and outlining the new plan. This approach keeps the effective context length manageable and prevents the model from getting stuck in a loop of hallucinations, where it repeatedly attempts to fix a problem it has already forgotten the source of.

The implications of AREX-2's success are far-reaching, suggesting a potential shift in AI applications from chatbots to agents capable of long-term, autonomous improvement in scientific and engineering domains.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

More from Thursday 1 October →