TL;DR
ArchPilot is a novel multi-agent framework that drastically cuts the computational cost of LLM-driven machine learning engineering and neural architecture search (NAS). By replacing expensive full training runs with an adaptive, multi-proxy evaluation pipeline orchestrated via Monte Carlo Tree Search (MCTS), it achieves state-of-the-art performance on MLE-Bench under strict compute budgets.
What Problem Does This Paper Address?
Large Language Model (LLM) agents have shown great promise in autonomously designing, debugging, and improving machine learning pipelines. However, existing state-of-the-art systems (like AIDE or ML-Master) evaluate code changes by running full training loops.
This creates a massive scalability bottleneck: full training is incredibly slow and computationally expensive. Under realistic compute budgets, these agents are forced to either explore very few candidate solutions (limiting diversity) or burn through prohibitive amounts of expensive GPU time. ArchPilot tackles this challenge by introducing cheap, fast, and reliable proxy evaluations to guide the agent's search space exploration efficiently.
Methods
ArchPilot splits the ML engineering workflow into three distinct, collaborating agents:
- Orchestration Agent (OA): Coordinates the global search using an MCTS-inspired algorithm. It selects promising code candidates using the Upper Confidence Bound for Trees (UCT) metric, manages short- and long-term memory to prevent redundant exploration, and triggers a novel tree restart mechanism when evaluation metrics shift.
- Generation Agent (GA): Focuses purely on code generation. It operates in three modes: Drafting complete PyTorch scripts, Improving code via atomic, testable modifications (e.g., adjusting regularizations or optimizers), and Debugging runtime errors using execution logs.
- Evaluation Agent (EA): The core innovation of the paper. Instead of full training, it runs cheap proxy evaluations (e.g., training for just 1 epoch on 10% of the data) and measures multiple signals like one-epoch validation loss, noisy validation, and feature-dropout validation.
As ground-truth full training data accumulates from high-potential candidates, the EA dynamically optimizes the weights of these proxies using ridge-regularized least squares, projecting them onto a probability simplex. If a proxy fails or proves unreliable, a "hard-zero" policy strips its weight entirely.
A visual breakdown of this multi-agent collaboration is shown below:
Datasets
The authors evaluated ArchPilot on MLE-Bench (including MLE-Bench Lite), a comprehensive benchmark consisting of 75 Kaggle-style machine learning tasks. These tasks span tabular, vision, and NLP modalities, providing a diverse and realistic testing ground for autonomous ML engineering agents.
Key Insights and Ideas
- Decoupling Specialization: Separating generation, quantitative evaluation, and orchestration allows each LLM agent to focus on its specialty, maximizing code diversity while maintaining strict budget controls.
- The Power of Multi-Proxy Aggregation: Relying on a single cheap heuristic is often misleading. Combining multiple complementary proxies (like feature dropout and noisy validation) and dynamically reweighting them provides a much more robust signal of true model performance.
- The Tree Restart Mechanism: When proxy weights are updated based on new ground-truth data, the search tree is refreshed and re-seeded from the top-verified nodes. This prevents the agent from getting stuck exploring dead ends based on stale, early-stage proxy statistics.
Key Results
ArchPilot was tested against strong baselines under a strict resource constraint of 2.5 GPU-hours per task:
- SOTA Performance: On MLE-Bench, ArchPilot achieved a Valid Submission Rate of 89.3% (outperforming ML-Master's 86.7% and AIDE's 78.7%).
- Better Leaderboard Rankings: It reduced the Mean Normalized Ranking to 0.6149 (lower is better), compared to 0.6535 for ML-Master and 0.6953 for AIDE.
- High-Difficulty Mastery: The framework showed its most pronounced advantage on high-difficulty tasks where full training is most expensive, improving the average ranking from 0.7262 (ML-Master) to 0.6496.
- Beating Human Teams: On MLE-Bench Lite, ArchPilot surpassed 66% of human teams on average, compared to 60% for ML-Master and 55% for AIDE.
Limitations and Future Work
Despite its strong performance, the authors note a few limitations:
- Proxy Dependency: ArchPilot's efficiency relies heavily on the availability of informative proxies. In highly noisy or sparse data regimes, proxy weight fitting can become unstable.
- Aggressive Restarts: The tree restart mechanism can occasionally discard promising but underexplored branches if the proxy scoring rules shift too drastically.
Future Directions: The authors suggest exploring LLM-driven robust proxy discovery, meta-learning proxy weights across different tasks, and implementing partial tree reuse to minimize search overhead even further.
Summary updated