TL;DR
ImproveAnyTask is an autonomous "harness" that iteratively fine-tunes Large Language Models (LLMs) for specific tasks without human intervention. By treating task adaptation as a high-level optimization loop—analogous to gradient descent—it achieves significant performance boosts (up to 41.96 points) across diverse domains like coding and math within a strict 24-hour compute budget.
What Problem Does This Paper Address?
Adapting a general-purpose LLM to a specialized task (like graduate-level physics or complex tool use) usually requires a "human-in-the-loop" to curate data, design training strategies, and debug failures. This process is not only labor-intensive but also fragile: once a model is updated, its error distribution shifts, often rendering the previous training strategy obsolete.
The authors identify a "research-execution gap" in existing autonomous agents. While some agents can write code or suggest ideas, they often fail to connect a model's specific failures to the right research-backed solution or fail during the actual execution of the training pipeline. ImproveAnyTask seeks to bridge this gap by automating the entire lifecycle of model self-improvement.
Methods
The core innovation is framing post-training as an iterative optimization process. Just as a neural network updates parameters via a forward and backward pass, ImproveAnyTask updates the model state through a three-step loop:
- Error Attribution (The "Backward Pass"): Instead of just looking at a final score, the harness performs dual-level analysis. It looks at aggregate metrics to find broad weaknesses and individual case-level failures to identify recurring patterns. It then selects a single "focal problem" to target, acting as a form of regularization to prevent the agent from getting distracted by minor issues.
- Update Direction (The "Gradient"): A Research Agent investigates external sources (papers, code, datasets) to find strategies relevant to the focal problem. It compares candidates based on reported gains and "reproduction difficulty." It also reuses successful strategies from a library of past trials.
- Executable Model Updates (The "Step"): A Data Curator Agent translates the chosen strategy into actual training data and configurations. Crucially, it performs "preflight checks"—small-scale runs to ensure data formats are correct and the training loss actually decreases—before committing to a full-scale run.
Datasets
The authors evaluated the system across 11 diverse benchmarks grouped into five capability domains:
- Knowledge & STEM: MMLU-Pro, SuperGPQA, GPQA-Diamond.
- Math & Reasoning: MATH-500, AIME 2025.
- Instruction Following: IFEval, IFBench.
- Coding: LiveCodeBench v6, Terminal-Bench 2.0.
- Tool Use & Agents: BFCL-V4 (Berkeley Function Calling), TAU2-Bench.
The evaluation used a fixed split of 15% validation data (to guide the agent) and 85% held-out test data (to report final results).
Key Insights and Ideas
- The "Focal Problem" as Regularization: The authors found that if the agent tries to fix every error at once, it often chooses "easy" secondary issues. Forcing it to pick one primary focal problem per round leads to more consequential improvements.
- Execution-Guided Refinement is Critical: In their ablation studies, removing the "preflight checks" (Step 3) caused the most significant performance drops. Without these checks, agents often waste their entire compute budget on training runs that fail due to simple formatting errors or mismatched templates.
- Base Models Can Leapfrog Instruct Models: Interestingly, after autonomous tuning, the optimized Qwen3.5-4B-Base model actually outperformed the optimized Instruct version on several reasoning and coding tasks. This suggests that "raw" base models may have more untapped potential for task-specific specialization than previously thought.
Key Results
Under a 24-hour budget (using 8x H20 GPUs), ImproveAnyTask delivered impressive gains:
- Mean Gains: +18.29 percentage points for the Base model and +11.97 for the Instruct model.
- Peak Performance: A massive +41.96 point gain on LiveCodeBench v6 for the Base model.
- Comparison: It consistently outperformed general-purpose coding agents like Codex and Claude Code, which often struggled to navigate the complexities of a full training pipeline autonomously.
The iterative nature of the system is best seen in its trajectory. As shown in Figure 4, the full harness shows steady improvement across rounds, whereas versions missing key modules (like Error Attribution or Execution Refinement) often fluctuate or even degrade the model's performance.
Limitations and Future Work
- General Capabilities: The paper focuses purely on task-specific performance. It does not systematically measure "catastrophic forgetting"—whether specializing a model for coding makes it worse at creative writing or general chat.
- Supervised Learning Only: Currently, the harness is restricted to supervised post-training. The authors suggest that extending this to Reinforcement Learning (RL) is a promising but complex next step.
- Compute Efficiency: While 24 hours is "limited" in the context of LLM training, it is still a significant resource. Future work could explore how to achieve similar gains with even smaller validation sets or less compute.
Summary updated