English

Reasoning as Gradient: Scaling MLE Agents Beyond Tree Search

Machine Learning 2026-04-14 v3 Artificial Intelligence

Abstract

LLM-based agents for machine learning engineering (MLE) predominantly rely on tree search, a form of gradient-free optimization that uses scalar validation scores to rank candidates. As LLM reasoning capabilities improve, exhaustive enumeration becomes increasingly inefficient compared to directed updates, analogous to how accurate gradients enable efficient descent over random search. We introduce Gome, an MLE agent that operationalizes gradient-based optimization. Gome maps structured diagnostic reasoning to gradient computation, success memory to momentum, and multi-trace execution to distributed optimization. Under a closed-world protocol that isolates architectural effects from external knowledge, Gome achieves a state-of-the-art 35.1\% any-medal rate on MLE-Bench with a restricted 12-hour budget on a single V100 GPU. Scaling experiments across 10 models reveal a critical crossover: with weaker models, tree search retains advantages by compensating for unreliable reasoning through exhaustive exploration; as reasoning capability strengthens, gradient-based optimization progressively outperforms, with the gap widening at frontier-tier models. Given the rapid advancement of reasoning-oriented LLMs, this positions gradient-based optimization as an increasingly favorable paradigm. We release our codebase and GPT-5 traces at https://github.com/microsoft/RD-Agent.

Keywords

Cite

@article{arxiv.2603.01692,
  title  = {Reasoning as Gradient: Scaling MLE Agents Beyond Tree Search},
  author = {Yifei Zhang and Xu Yang and Xiao Yang and Bowen Xian and Qizheng Li and Shikai Fang and Jingyuan Li and Jian Wang and Mingrui Xu and Weiqing Liu and Jiang Bian},
  journal= {arXiv preprint arXiv:2603.01692},
  year   = {2026}
}

Comments

36 pages, 6 figures, 17 tables

R2 v1 2026-07-01T10:58:54.912Z