MLE Agents: Autonomous ML Engineering in Large-scale Recommendation Systems
Abstract
The typical workflow for improving large-scale ranking and recommendation models is slow and tedious: an engineer forms a hypothesis, implements it as a code change, trains a model, and evaluates it both offline and online, often relying on their own intuition and experience along the way. Autonomous LLM agents promise to speed this up by running the loop on their own, but it is still unclear whether they can do this in industry-scale systems rather than on benchmarks or small proxy tasks. We build human-on-the-loop machine learning engineer (MLE) agents that propose, implement, train, and evaluate model changes on large-scale search rankers. Engineers retain control over objective design, search direction, and final-model review. We identify three obstacles that make this industry setting challenging: feedback takes hours per experiment, offline metrics do not always predict online impact, and improvements saturate after the early wins. We address these with parallel training runs, an objective calibrated to match online impact, and careful context engineering. In one campaign, the system ran 1,097 completed candidate experiments and accepted 325, a 29.6\% acceptance rate compared with 15.6\% in the earlier campaign under a different objective and search constraint. Its best model increases search volume by 0.23\% in an A/B test of large scale. Several improvements were architectural changes the team had never tried, drawn from the broader industry and literature, suggesting that MLE agents can explore regions of the design space that human intuition overlooks. We find that the design of the harness around the model matters: intuition suggests that a stronger underlying model is enough, but in our experience, the design of the loop around it is just as critical. More broadly, our work shows that autonomous agents can do real machine-learning engineering in industry-scale systems.
Create a lesson
Related papers
CoEvoBench: Can LLMs Drive Recursive Co-Evolution of Agentic Systems?
Shared title terminology · Chuan Xiao, Baojie Wang, Haizhao Fan et al.
ChatAtom: A Multi-Agent LLM System for Molecular Dynamics Simulation and Visualization
Shared title terminology · Trupti Mohanty, Ming Du, Mitchell A. Wood et al.
System-One RSI: Building Muscle Memory for Interactive Agents through Guided Practice
Shared title terminology · Qingxu Fu, Xuanfa Jin, Ziqian Chen et al.
AI agents can redesign engineering parts with more than a thousand CAD parameters and nonlinear simulations
Shared title terminology · Alexandra Starostina, Alexander Hermann, Mahish Guru et al.
Stop Going in Circles:Loop-Triggered Routing for System 1 Decision Agents
Shared title terminology · Zeming Yu, Huamin Ma, Yingyu Chen et al.
Pro^2 Agent: Scientific Problem Probing for Autonomous AI R&D
Shared title terminology · Yixiong Chen, Liqian Peng, Tian Tan et al.