Bootstrapping Task Spaces for Self-Improvement

Minqi Jiang, Andrei Lupu, Yoram Bachrach

TL;DR

The paper introduces Exploratory Iteration (ExIt), a reinforcement learning (RL) framework that trains Large Language Models (LLMs) to iteratively self-improve their outputs at inference time. Instead of costly multi-step RL training over fixed iteration depths, ExIt breaks the process down into highly informative single-step transitions, using a self-generated task buffer to build an adaptive curriculum. This approach significantly boosts performance across complex domains like competition math, multi-turn tool use, and machine learning engineering.

What Problem Does This Paper Address?

When humans are given more time to think, we revise and improve our initial answers. Recent advances try to replicate this in LLMs by training them to generate extended chains-of-thought (CoTs) or self-correct via RL. However, standard multi-step RL training assumes a fixed maximum iteration depth ($K$). This is computationally expensive, scales poorly to multi-turn tasks, and often suffers from a "diversity collapse" where the model stops exploring creative or alternative problem-solving paths.

ExIt addresses this bottleneck by demonstrating that an LLM can learn robust, multi-step inference-time self-improvement strategies by training only on single-step self-improvement transitions, provided those transitions are sampled from an intelligently curated task space.

Methods

ExIt leverages the recurrent structure of self-improvement—where the output of one attempt serves as the input for the next—to perform self-generated data augmentation. The core framework consists of:

  1. Decomposed Training: Instead of unrolling long, expensive multi-step chains during training, ExIt trains the model on single-step transitions while allowing it to chain these steps arbitrarily at inference time.
  2. The Task Buffer & Selection: ExIt maintains a running buffer of partial solution histories. It samples from this buffer using a learnability score defined by the variance of group rollout returns in Group-Relative Policy Optimization (GRPO). High variance implies the model is on the frontier of learning that specific task instance (sometimes succeeding, sometimes failing).
  3. Expansion & Exploration: Once a starting point is selected, the model expands the task space using two mechanisms to maintain output diversity:
  4. Divergent Improvements: With a set probability ($p_{div}$), the model is explicitly prompted to solve the problem using a radically different approach than its previous attempt.
  5. Multiplicative Diversity Bonus: GRPO advantages are scaled by the embedding distance of a rollout response from its group centroid, rewarding unique but successful trajectories.
Overview of ExIt strategies showing how episodes sample from a start set to either improve or diverge.

Datasets

The authors evaluated ExIt across three distinct, challenging domains:

  • Competition Math: Trained on a 1,280-problem subset of open math datasets and evaluated on benchmarks including MATH500, AMC12, AIME 2024/2025, Minerva, and OlympiadBench.
  • Multi-Turn Function Calling: Utilized the multi-turn-base split of the Berkeley Function Calling Leaderboard (BFCLv3), consisting of 200 tasks simulating complex API interactions.
  • ML Engineering: Adapted MLE-bench (historical Kaggle competitions) into an RL environment, training on 3 competitions and testing on 3 entirely held-out engineering challenges.

Key Insights and Ideas

  • Task Diversity Unlocks Learnability: A core motivation for ExIt is that training on a diverse set of self-generated intermediate states makes hard tasks learnable. For instance, the model failed to learn the MLE-bench task random-acts-of-pizza in isolation, but succeeded when trained alongside related task variations.
Simultaneously training with other tasks makes random-acts-of-pizza learnable.
  • Emergent Autocurriculum: By prioritizing task instances with high return variance, ExIt naturally shifts its focus toward more complex problems over time. As training progresses, the average number of ground-truth solution steps in the sampled tasks automatically increases.
  • Bypassing the Training Depth Limit: Because ExIt trains on single-step transitions from a buffer of accumulated histories, the model can successfully self-improve at inference time to depths far exceeding the average depth it encountered during training.

Key Results

ExIt consistently outperformed standard GRPO baselines and base models across all evaluated tasks:

  • Math: ExIt achieved a higher mean accuracy across all test splits, continuing to net positive corrections up to 16 inference steps, even though training steps were single-turn.
  • Tool-Use & Coding: In multi-turn tool use, ExIt achieved higher first-turn accuracy and total task returns compared to standard GRPO, which actually degraded in performance when forced to iterate too many times.
Mean accuracy and total returns across Math and Tool-use benchmarks over multiple improvement steps ($k$).
  • Scaffold Integration: In MLE-bench, ExIt variants achieved the highest normalized performance when integrated into a multi-step greedy-search scaffold at test time, proving highly effective for real-world autonomous engineering agents.

Limitations and Future Work

  • Context Length Constraints: In multi-turn environments like tool use or coding, maintaining a long history of previous attempts quickly exhausts the LLM's context window. Future work will need to explore context compaction or retrieval-based history management.
  • Computational Overhead: Computing response diversity using an external embedding model adds extra overhead during the training loop.
  • Model Scale: The study focused on smaller open-source models (Llama-3.2-3B and Qwen2.5-7B). Testing ExIt on larger frontier models with stronger native reasoning capabilities remains an open direction.

Summary updated

BibTeX
@article{jiang2026bootstrapping,
  author = {Minqi Jiang and Andrei Lupu and Yoram Bachrach},
  title = {{Bootstrapping Task Spaces for Self-Improvement}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2026},
}
Figure