Learning to Ideate for Machine Learning Engineering Agents
Yunxiang Zhang, Kang Zhou, Zhichao Xu, Kiran Ramnath, Yun Zhou, Sangmin Woo, Haibo Ding, Lin Lee Cheong
TL;DR
MLE-Ideator presents a dual-agent architecture that decouples ideation from implementation to enable iterative optimization in machine learning engineering tasks. The Ideator is queried on-demand via a <seek_help> action, and is further enhanced through reinforcement learning with execution-based rewards using a GRPO-based objective. Empirical results on MLE-Bench show that prompting the Ideator improves over implementation-only baselines, while an RL-trained Ideator (e.g., Qwen3-8B) achieves substantial gains and can surpass strong baselines like Claude Sonnet 3.5. The work demonstrates a scalable path toward training strategic AI systems for scientific discovery, with clear trade-offs in inference cost and heavy RL compute requirements.
Abstract
Existing machine learning engineering (MLE) agents struggle to iteratively optimize their implemented algorithms for effectiveness. To address this, we introduce MLE-Ideator, a dual-agent framework that separates ideation from implementation. In our system, an implementation agent can request strategic help from a dedicated Ideator. We show this approach is effective in two ways. First, in a training-free setup, our framework significantly outperforms implementation-only agent baselines on MLE-Bench. Second, we demonstrate that the Ideator can be trained with reinforcement learning (RL) to generate more effective ideas. With only 1K training samples from 10 MLE tasks, our RL-trained Qwen3-8B Ideator achieves an 11.5% relative improvement compared to its untrained counterpart and surpasses Claude Sonnet 3.5. These results highlights a promising path toward training strategic AI systems for scientific discovery.
