arXiv(opens in a new tab)cs.AIOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.28763

Automating ML for Science: Can Frontier Agents Climb Scientific Hills in the Wild?

Ming Zhong, Stacy Li, Nicholas Carlini, Matthew Jagielski

Abstract

Frontier coding agents are increasingly framed as end-to-end automated researchers, and ML for science offers a demanding test of that promise: improving a scientific model often requires domain insight beyond routine ML engineering. We introduce AGENT4SCI, a long-horizon testbed for measuring how far today's agents can improve the published best models on scientific ML benchmarks, spanning 20 benchmarks across 11 domains. Rather than ranking agents on a leaderboard, AGENT4SCI asks what kinds of progress agents can make on these tasks under in-the-wild conditions, and where they fall short. Empirically, today's frontier agents advance the published best on every benchmark, with Claude Opus reaching 10.4% mean relative improvement and no run flagged for academic misconduct. These gains, however, come almost entirely from a bag of ML-engineering tricks rather than research-level insight. Trajectory analysis surfaces three recurring limitations in this setting: novelty miscalibration, resource under-utilization, and rapid collapse into local engineering sweeps. Lightweight plug-in skills for research ideation, experiment management, and scheduled checklists raise Claude Opus from 10.4% to 20.1% and Codex from 4.4% to 8.1%, while yielding more diverse, domain-relevant interventions. AGENT4SCI gives the community a way to track and push frontier agents from ML engineering toward domain insight on real-world ML-for-science problems. Code and data are available on GitHub and Hugging Face.

1 Introduction

Recent advances in frontier coding agents are turning automated research into an executable workflow: agents can read papers and repositories, modify implementations, run experiments, interpret quantitative feedback, and iterate. A growing body of recent work suggests a common recipe for this vision: cast research as a feedback loop in which an agent operates in a workspace, pursues a measurable objective, and improves through experimentation [50, 38, 28, 62, 23]. Yet most demonstrations so far assume well-structured codebases [19, 36, 61], operate in single-task settings [50, 38, 23], and are heavily skewed toward computer science domains [40, 56, 13]. The broader landscape of ML for science remains far less explored: benchmarks span diverse scientific domains and modalities, codebases are often research artifacts rather than polished evaluation environments, and nontrivial gains often require domain insights. This gap motivates our central question: Can the frontier agents we have today make meaningful progress on ML for science when operating in the wild?

We instantiate this question as automated scientific hill-climbing (Figure 1). In this setting, an agent is given a scientific ML benchmark, its paper, codebase, data, and target metric. Starting from the best available model in the benchmark, the agent works under a fixed resource budget to improve the metrics through code changes and experiments. However, our pilot study shows that this natural setup is fragile. Across 12 tasks from 5 NeurIPS 2025 benchmarks, 5 tasks exhibit severe evaluation-gaming behaviors, including selective reporting, test-set contamination, metric manipulation, and even direct

∗^{*}Equal contribution.

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Track on Evaluations and Datasets.

Figure

(a) Scientific Hill-Climbing Task

Figure

(b) Frontier-Agent Gains

Figure 1: Scientific hill-climbing gives an agent a paper, codebase, data, and target metric, then asks it to improve that metric under a fixed resource budget. On AGENT4SCI, frontier agents push past the published best on every benchmark, with Claude Opus reaching 10.4% mean relative improvement while most gains come from ML-engineering routines.

hardcoding. This aligns with recent work showing that coding agents succeed in well-structured evaluation settings but degrade sharply on real-world code and evaluations [10]. These failures motivate a testbed that preserves the in-the-wild nature of scientific tasks, makes meaningful progress measurable, and guards against evaluation gaming.

To address this challenge, we construct AGENT4SCI, a testbed for evaluating automated scientific hill-climbing across 20 ML-for-science benchmarks, 25 tasks, and 11 scientific domains spanning the physical sciences, life sciences, Earth and environmental sciences, and scientific engineering. We first standardize each benchmark through human-verified baseline reproductions, repaired data splits, reduced runtime bottlenecks, and isolated environments. On top of this foundation, each run follows the AGENT4SCI evaluation protocol. The hill-climbing agent receives the standardized environment with access only to training and validation data, then submits artifacts such as code changes, checkpoints, logs, and outputs. A separate evaluation agent runs the submitted artifacts on the held-out test set, and an auditing agent inspects the trajectory for academic misconduct.

AGENT4SCI is motivated not as a leaderboard for ranking agents, but as a way to ask how much measurable progress agents can make on scientific ML tasks, whether they produce insight, and where they fall short. We evaluate four frontier coding agents: Claude Code (Opus and Sonnet), Codex, and Gemini CLI. Each receives 8 H200 GPUs, a 12-hour budget, and a minimal instruction to hill-climb the specified metric. Across the suite, frontier agents push every benchmark beyond its published best, all four agents achieve positive mean improvements, and the auditing stage flags no academic misconduct under our evaluation protocol. On AGENT4SCI, current agents already produce measurable, fully automated gains on real scientific ML benchmarks.

The more revealing question is what produces these gains. The improvements concentrate on familiar ML-engineering moves instead of research-level insight, and the agents adopt sharply different default workflows: Claude Opus behaves as an iterative optimizer, Codex as a commit-and-wait planner, and Gemini oscillates between the two. Across trajectories, we identify three recurring limitations: agents miscalibrate novelty, under-utilize resources, and collapse quickly into local engineering sweeps. Lightweight plug-in skills for research ideation, experiment management, and scheduled checklists raise Claude Opus from 10.4% to 20.1% mean relative improvement and Codex from 4.4% to 8.1%, without changing the evaluation protocol. Beyond the score gains, agents propose more varied, problem-grounded interventions and surface insights that move beyond routine ML engineering.

Overall, these results draw a practical boundary for automating ML for science today. Frontier coding agents can climb scientific hills in the wild, but the climb is still powered mostly by engineering optimization rather than scientific reasoning. AGENT4SCI makes this boundary measurable and visible: each new agent generation can be evaluated not only by how much it improves a metric, but by whether its improvements reflect increasingly transferable research insight. The goal is to help move automated agents from executing better experiments toward doing better science.

References (64)