# AREX: Towards a Recursively Self-Improving Agent for Deep Research

> AREX's recursive self-improvement framework enables a 10B parameter model to match or exceed much larger frontier models on deep research benchmarks.

- **Source:** [arXiv](https://arxiv.org/abs/2607.21461)
- **Published:** 2026-07-25
- **Permalink:** https://picx.dev/p/G4lEVu
- **Whiteboard:** https://picx.dev/p/G4lEVu/image

## Summary

## Summary (Overview)

- **Recursive Self-Improvement Framework**: AREX introduces a bi‑level architecture that alternates between an inner research loop (evidence gathering and provisional answer construction) and an outer self‑improvement loop (constraint‑wise audit and targeted follow‑up), motivated by the discovery–verification asymmetry in deep research.
- **Autonomous Context Updating (ACU)**: The model learns to invoke a dedicated `update_context` tool that compresses the growing interaction history into a compact *improvement state*, preserving verified evidence, unresolved constraints, rejected candidates, and next‑step plans without relying on an external model.
- **Step‑Aware Training**: A multi‑stage pipeline combines supervised agentic mid‑training (progressive capability acquisition, key‑step focused supervision) with step‑aware reinforcement learning (hierarchical step‑level GRPO and key‑step reward shaping) to handle sparse credit assignment in long‑horizon trajectories.
- **Strong Empirical Results**: AREX is instantiated as a dense 4B model (Turbo) and a 122B‑A10B MoE model (Base). On six benchmarks (BrowseComp, GAIA, DeepSearchQA, WideSearch, HLE, xbench‑2510), AREX‑Base substantially outperforms comparable‑scale open‑source baselines and remains competitive with frontier closed‑source models using significantly more activated parameters.

## Introduction and Theoretical Foundation

Deep research requires discovering answers that simultaneously satisfy multiple coupled constraints. The paper identifies a fundamental **discovery–verification asymmetry**:  
- **Discovery** is costly because the search space is large and sparsely informative.  
- **Verification** of a candidate can often be decomposed into tractable constraint‑wise checks, revealing which claims are supported, unresolved, or conflicting.

Existing systems often extend a single search trajectory with more reasoning, tool calls, or context, but this does not guarantee systematic progress—early errors may persist, exhausted directions may be revisited, and partially valid candidates may be accepted prematurely. The key insight of AREX is that verification should not be a final filter but an **active control signal** that recursively refines the research state and solution. By converting a provisional answer into a partially verified state, the agent preserves established progress, isolates remaining uncertainty, and formulates a more targeted next research problem.

## Methodology

### Overall Framework

AREX uses a hierarchical bi‑level structure (Figure 2 in the paper). Given a query \(x\), it derives a research objective \(q^{(1)}\). The **inner research loop** executes actions, integrates evidence, and produces a provisional answer with supporting evidence and a confidence score. The **outer self‑improvement loop** evaluates this structured result: if confidence exceeds a threshold \(\tau\) the answer is accepted; otherwise it decides to **refine** (preserve useful findings and target unresolved constraints) or **restart** (discard the trajectory and begin anew from the original problem).

### Inner Research Loop

At step \(t\) of recursive round \(k\), the interaction trajectory is

\[
h^{(k)}_t = \left[ \left\langle m^{(k)}_i, a^{(k)}_i, o^{(k)}_i \right\rangle \right]_{i=1}^{t},
\tag{1}
\]

where \(m\) is the model’s analysis, \(a\) a research action, and \(o\) the observation. The research policy generates the next analysis and action:

\[
\left\langle m^{(k)}_{t+1}, a^{(k)}_{t+1} \right\rangle = \pi_\theta\!\left(x, q^{(k)}, h^{(k)}_t\right), \quad o^{(k)}_{t+1} = \mathcal{T}\!\left(a^{(k)}_{t+1}\right).
\tag{2}
\]

The trajectory is updated by appending the new interaction: \(h^{(k)}_{t+1} = h^{(k)}_t \oplus \langle m^{(k)}_{t+1}, a^{(k)}_{t+1}, o^{(k)}_{t+1} \rangle\).

#### Autonomous Context Updating (ACU)

To prevent the growing history from exceeding the context window and to focus on decision‑relevant information, AREX learns a dedicated `update_context` tool. Given the trajectory \(h^{(k)}_t\), it constructs a refreshed **improvement state**:

\[
z^{(k)}_t = f_\theta\!\left(h^{(k)}_t\right).
\tag{4}
\]

The state preserves verified findings, current candidates, unresolved constraints, validity concerns, rejected candidates, and the next‑step plan. After an update at step \(\tau\), the effective context becomes

\[
\bar{h}^{(k)}_t = z^{(k)}_\tau \oplus \left[ \langle m^{(k)}_i, a^{(k)}_i, o^{(k)}_i \rangle \right]_{i=\tau+1}^{t}.
\tag{5}
\]

Subsequent actions are conditioned on \(\bar{h}^{(k)}_t\).

#### Structured Answer Externalization

When the inner loop finishes, it outputs a structured result:

\[
r^{(k)} = F_\theta\!\left( \bar{h}^{(k)}_{T_k} \right) = \left\langle y^{(k)}, \mathcal{E}^{(k)}, s^{(k)} \right\rangle,
\tag{8}
\]

where \(y^{(k)}\) is the provisional answer, \(\mathcal{E}^{(k)}\) contains supporting evidence, and \(s^{(k)} \in [0,100]\) is an answer‑level confidence score.

### Outer Self‑Improvement Loop

The outer loop receives \(r^{(k)}\) and the effective context. The decision rule is:

\[
d^{(k)} =
\begin{cases}
\text{Accept}, & s^{(k)} \ge \tau, \\
\text{Refine}, & s^{(k)} < \tau \wedge v^{(k)} = 1, \\
\text{Restart}, & s^{(k)} < \tau \wedge v^{(k)} = 0,
\end{cases}
\tag{10}
\]

where \(v^{(k)}\) indicates whether the trajectory is recoverable. A new research objective \(q^{(k+1)}\) is generated for the next round.

### Training Data Construction

1. **Recursive Research Task Synthesis**: Generates verifiable problems with multiple constraints \(\mathcal{C}(y) = \{c_1,\dots,c_n\}\) and transforms them into indirect, multi‑hop queries. Each task \((x, y)\) is verified for correctness, uniqueness, and evidence availability.
2. **Teacher Trajectory Collection**: Strong teacher models sample trajectories \(\tau_i \sim \pi_{\text{teacher}}(\tau|x)\) in the same research environment. Quality control retains only trajectories that exhibit iterative investigation, valid tool use, evidence‑grounded answers, and confidence above a threshold.

### Training Pipeline

#### Multi‑Stage Agentic Mid‑Training

- **Progressive capability acquisition**: First train on browse‑intensive multi‑round trajectories (tool use, evidence acquisition); then on reasoning‑intensive trajectories (long‑form thinking, hypothesis verification). This ordering reduces interference.
- **Key‑step focused consolidation**: Identify decisive steps (first evidence discovery, path rejection/redirection, key context‑updates) using rule‑based detectors. Apply supervision only to these steps while preserving the full preceding context. The step‑level loss is:

\[
\mathcal{L}_{\text{key}} = -\mathbb{E}_{s_j \sim \mathcal{K}}\!\left[ \frac{1}{|s_j|} \sum_{k=1}^{|s_j|} \log \pi_\theta(a_{j,k} | c_{j,k}) \right].
\]

Step‑level analysis (Figure 4) shows that key steps have substantially higher loss than ordinary steps after full‑trajectory training, confirming they are underlearned.

#### Step‑Aware Reinforcement Learning

Adopts turn‑level policy optimization with hierarchical step‑balanced normalization and key‑step shaping. For trajectory \(i\) with steps \(j\) and tokens \(k\), the token‑level probability ratio is:

\[
r_{i,j,k}(\theta) = \frac{\pi_\theta(a_{i,j,k} | c_{i,j,k})}{\pi_{\theta_{\text{old}}}(a_{i,j,k} | c_{i,j,k})}.
\]

The step‑level policy ratio uses the geometric mean for length normalization:

\[
\rho_{i,j}(\theta) = \exp\!\left( \frac{1}{L_{i,j}} \sum_{k=1}^{L_{i,j}} \log r_{i,j,k}(\theta) \right).
\]

The objective averages over steps within each trajectory and then over trajectories:

\[
\mathcal{L}_{\text{step}} = -\mathbb{E}_{x \sim \mathcal{D}}\!\left[ \frac{1}{G} \sum_{i=1}^{G} \frac{1}{M_i} \sum_{j=1}^{M_i} \min\!\left( \rho_{i,j}(\theta) A_{i,j},\; \text{clip}(\rho_{i,j}(\theta), 1-\epsilon, 1+\epsilon) A_{i,j} \right) \right].
\]

Step rewards are shaped with an auxiliary key‑step bonus:

\[
A_{i,j} = A^{\text{out}}_i + \lambda_{\text{key}} \tilde{B}_{i,j}, \quad \tilde{B}_{i,j} = \mathbb{I}[R_i > 0] \cdot B_{i,j}.
\]

## Empirical Validation / Results

### Overall Performance

Table 1 shows results across six benchmarks.

| Model               | BrowseComp | GAIA  | xbench-2510 | DeepSearchQA | WideSearch-en | HLE (tool) |
|---------------------|------------|-------|-------------|--------------|---------------|------------|
| **Frontier models** |            |       |             |              |               |            |
| GPT-5.4            | 82.7       | –     | –           | 88.5         | 77.5          | 52.1*      |
| Opus-4.6           | 83.7       | –     | –           | 91.3         | 77.5          | 53.0*      |
| Gemini-3.1-Pro     | 85.9       | 80.6  | 53.0        | 93.3         | 66.4          | 51.4*      |
| **Open-source**    |            |       |             |              |               |            |
| Kimi-K2.6          | 83.2       | 80.6  | 90.0        | 92.5         | 80.8          | 54.0*      |
| DeepSeek-V4-Pro    | 83.4       | –     | 80.0        | 88.7         | 78.0          | 48.2       |
| Qwen3.5-397B       | 78.6       | 83.5  | 61.0        | 82.1         | 74.0          | 48.3       |
| MiroThinker-H1     | 88.2       | 88.5  | 72.0        | 80.6         | –             | 47.7       |
| **Ours**           |            |       |             |              |               |            |
| AREX-Turbo         | 70.7       | 81.6  | 57.0        | 78.5         | 68.5          | 40.6       |
| AREX-Base          | **82.5**   | 85.4  | 71.0        | 89.9         | **82.0**      | 52.4       |

*Table 1: Comparison results on deep search and agentic reasoning tasks. AREX-Base (10B active) strongly outperforms Qwen3.5-397B and is competitive with larger frontier models.*

### Inference Framework Analysis

**Context‑Update Behavior** (Table 2):  
- ACU is invoked in 80.3% of BrowseComp cases.  
- Mean context at update is 25,721 tokens (well below the 128K limit).  
- Most common trigger: revising search strategy (66.9%).  
- Update content most frequently preserves unresolved constraints (95.5%) and next‑step plans (96.4%).

| Metric               | Value    | Trigger Category       | Share | Content Category       | Share |
|----------------------|----------|------------------------|-------|------------------------|-------|
| Cases w/ update      | 80.3%    | Revise search strategy | 66.9% | Verified findings      | 72.1% |
| Mean context tokens  | 25,721   | Reject candidate       | 13.6% | Current candidates     | 39.2% |
| Median context tokens| 25,386   | Verify evidence/answer | 5.3%  | Unresolved constraints | 95.5% |
| Max context tokens   | 128,591  | Identify new lead      | 7.2%  | Validity concerns      | 14.1% |
|                      |          | Summarize progress     | 6.4%  | Rejected candidates    | 81.5% |
|                      |          | Other                  | 0.6%  | Next‑step plan         | 96.4% |

*Table 2: Context‑update behavior on BrowseComp.*

**Recursive Self‑Improvement (Table 3)**:  
- ACU alone improves accuracy from 59.6 to 71.4 (+11.8).  
- Outer self‑improvement loop alone improves from 59.6 to 69.8 (+10.2).  
- Full system (both) achieves 82.5 (+22.9 over baseline).

| Setting                                      | Acc. |
|----------------------------------------------|------|
| AREX w/o ACU + w/o outer loop               | 59.6 |
| w/ outer loop                               | 69.8 |
| AREX w/ ACU + w/o outer loop                | 71.4 |
| w/ outer loop                               | **82.5** |

*Table 3: Effect of ACU and outer loop on BrowseComp accuracy.*

**Confidence Score (Figure 3)**: Correct outputs concentrate in the 90–100 bin (89.3% without ACU, 95.9% with ACU). Incorrect outputs have a large low‑confidence mass (61.0% below 60 without ACU, 55.2% with ACU). This supports the confidence‑based decision procedure.

### Ablation Studies (Table 4)

| Training setting                                         | Accuracy |
|----------------------------------------------------------|----------|
| Replace progressive training by mixed training           | 77.5     |
| Replace key‑step supervision by random‑step replay       | 74.1     |
| Replace step‑aware RL by standard GRPO                   | 79.4     |
| Full AREX                                                | **82.5** |

*Table 4: Ablation of the AREX training recipe on BrowseComp.*  
All variants use the same initialization; replacing each component degrades accuracy. The largest drop (−8.4) occurs when key‑step supervision is replaced by random‑step replay.

**Step‑Level Loss Analysis (Figure 4)**: After full‑trajectory mid‑training, ordinary steps have average loss 0.232, while evidence discovery (0.277, +19%), path rejection/redirection (0.298, +28%), and key context‑update (0.300, +29%) all have significantly higher loss, confirming these decisive steps remain underlearned.

##

---

_Markdown view of https://picx.dev/p/G4lEVu, served by PicX — AI-generated visual whiteboard summaries of research papers._
