arXiv:2610.37175cs.LGOct 2026

Manuscript Offprint

arXiv:2610.37175

MLE-World: Predicting Machine Learning Experiment Outcomes with a Learned World Model

Brian Ko, Han Wang, Hejia Geng, Li Erran Li, Sherry Yang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

AI research agents can propose, execute, and improve programs that solve machine learning tasks. However, executing each candidate program requires training and evaluating ML models, limiting how many candidates an agent can explore at each step. We introduce MLE-World, a world model finetuned from Qwen3.5-4B that predicts a program's terminal output (error traces, training logs, and validation scores) from its code and data description without executing it, together with a confidence score estimating the prediction's correctness. Because a prediction costs one inference call rather than a training run, MLE-World makes test time scaling (TTS) affordable for these agents. We build five TTS policies, guided by MLE-World, that compare several candidates per step by their predicted outputs: Sequential revision, Best-of-N, Pairwise judging, Fusion, and a UCB style rule that also adds an exploration bonus from this confidence score. Since predictions can be wrong, we run a candidate for real only when its confidence score is low. On 17 MLE-bench Lite tasks, MLE-World matches the real terminal output on 77.9% of held out programs, versus 41.1% for much larger prompted models. MLE-World guided TTS achieves up to 22.1% higher observed mean performance than the agent without a world model, with less real execution. Project webpage: https://mle-world.github.io/.

a Execution bottleneck

b MLE-World enables test-time scaling

Figure

Every step waits for a real run

c Final quality and real execution

O Ungated ● + gate

Figure

Real execution hours / trial ↓

Figure 1: Fast, cheap feedback with MLE-World. (a) Real execution. (b) Predict terminal output per candidate, select/combine, then gate. (c) World model guided policies have higher observed mean percentiles than the agent without a world model; gating (open to filled arrows) reduces real execution time while broadly maintaining performance. The x-axis reports mean elapsed time spent on real execution. All results are averaged over 17 tasks × three seeds (51 trials per setting), with a 12 h budget per trial.

*Correspondence to: kkm97183@uw.edu.

One 4B inference per candidate

Five search policies · N = 4 shown

Figure

Illustrative

Predicted gain viv_{i}

Bonus βui\beta u_{i}

ui=1−pmax⁡(xi)u_i = 1 - p_{\max}(x_i)

c Sequential

Revise → rank

d Fusion

Reason → write

e Pairwise

LLM preference

Returned program → execution and confidence-gating loop (Figure 1b)

Figure 2: Five ways to search with MLE-World. Each tile pairs a candidate program with its predicted execution output. Sequential revises programs using predicted feedback; Best-of-N selects the candidate with the best predicted score; Pairwise compares candidates in pairs; Fusion combines ideas into a new program; and UCB balances predicted score with an exploration bonus for uncertain candidates. Each policy uses four candidates and returns one program.

1 INTRODUCTION

AI research agents repeatedly write programs, execute them, inspect terminal output, and revise solutions (Jiang et al., 2025; Nam et al., 2026), but this feedback is expensive because each step trains and evaluates a model. Therefore, execution time limits how many ideas they can test (Toledo et al., 2026; Hambardzumyan et al., 2026; Yang et al., 2026a), making cheap feedback and selective execution central to efficient search.

Prior work prunes unpromising branches (Liu et al., 2025; Toledo et al., 2026), predicts model performance (Kulibaba et al., 2025), or ranks candidates before execution (Zheng et al., 2026; Foster et al., 2026). Pruning and ranking can reduce total execution cost, but the cost per execution remains unchanged, and they do not provide terminal output, such as error traces and training logs, to guide subsequent debugging and program revision.

The high cost of training makes machine learning engineering (MLE) a natural setting for world models that predict execution feedback without running the program (Yang, 2026). MLE-World predicts a candidate solution's terminal output from its code and the task's data description. We finetune Qwen3.5-4B on logged pairs of code and output from successful and failed runs. One inference call predicts error traces, training logs, and the validation score, supporting both debugging and candidate selection.

Cheap predicted feedback makes test time scaling (TTS) affordable for MLE agents. TTS can scale along two dimensions: sampling more complete trajectories (Brown et al., 2024; Snell et al., 2024) or taking more interaction steps within a trajectory (Shen et al., 2025). In MLE, both require additional training runs, limiting search under a fixed time budget. Prior agents execute every candidate (Nam et al., 2026) or rank candidates without execution feedback (Zheng et al., 2026). We focus on scaling interactions so the agent can adapt to feedback throughout the search. MLE-World makes this affordable by letting the agent compare several candidates using predicted error traces, training logs, and scores, then execute only the selected candidate. We build five policies on these predictions: Best-of-N (BoN), Sequential revision, Pairwise judging, Fusion, and a rule based on upper confidence bounds (UCB).

MLE-World also reports a confidence score with each prediction, which serves search in two ways. First, it guides selection. Greedy selection by validation score can limit exploration (Toledo et al., 2026; Hambardzumyan et al., 2026) and overlook candidates the world model undervalues, so UCB adds an uncertainty bonus to predicted quality. Second, it decides when to trust a prediction. Wrong predictions can mislead search (Janner et al., 2019), so a confidence gate trusts confident predictions and runs the real execution. The gate works with any of the five policies.

Across 17 MLE-bench Lite tasks (Chan et al., 2025), MLE-World matches observed terminal output on 77.9% of held out programs versus 41.1% for the best prompted baseline, with 13–1,061× less GPU inference time. MLE-World guided search achieves up to 22.1% higher observed mean performance than the agent without a world model while reducing real execution. These results suggest that cheap feedback from a world model enables test time scaling, improving agent performance by exploring more candidate programs.

We summarize our main contributions as follows:

• An execution world model for MLE. We introduce MLE-World, a 4B model that reads a program’s code and data description and predicts its terminal output, including crashes, training logs, and validation scores, outperforming much larger prompted models.

• World model guided test time scaling. We build five TTS policies that use MLE-World to select among several candidates per step by their predicted execution feedback, then run only the selected one. All five have higher observed mean percentiles than the agent without a world model.

• Selective execution using model confidence. We run a program for real only when MLE-World’s prediction has low confidence. Gating reduces real execution time while broadly maintaining performance.