arXiv(opens in a new tab)cs.AIAug 2026Cited by 5 papers on PaperVantage

Manuscript Offprint

arXiv:2608.14354

ScienceFlow: A long-horizon agent for ML research, scientific discovery and beyond

Mingming Zhao, Jiqian Dong, Kangping Xu, Zadid Hasan, Chengrui Fan, Shan Jiang, Shuai Mao, Ting Lingya, Linyi Zou, Tailin Zhou, Yun Hin Chan, Wenkai Zhang, Zhanhong Zhou, Guowei Huang, Hongliang Li, Wenjing Cun, Zhitang Chen, Mingxuan Yuan, Yanhui Geng

Abstract

Enabling LLM agents to sustain productive, stable, and goal-aligned research over extended horizons is a central challenge for autonomous machine learning and scientific discovery, as progress hinges on continuously managing evolving state, exploration decisions, and computational resources. Pioneering autoresearch agents, despite great success, still lack mechanisms for continuity, recovery from dead ends, and value‑driven compute allocation, which inherently undermines overall search efficiency, wastes computational resources, and lowers the chance of ultimate success. To bridge this gap, we introduce ScienceFlow, an end-to-end autoresearch agent framework that organizes long-horizon research work into research segments grounded in executable workspaces. It represents research progress as recoverable executable states, enabling efficient exploration, revision, and execution. Transitions between research segments are governed by Executable-State Transition through Re-Anchoring (ESTRA), which selects either the live state or an archived state as the next anchor and determines whether to continue or redirect the research trajectory. An evidence-aware execution controller allocates resources to physical jobs based on resource availability, remaining budget, and validated progress. We evaluate ScienceFlow on tasks spanning machine learning, scientific modeling, and mathematical optimization. Results on diverse long-horizon benchmarks demonstrate its ability to sustain effective research processes, highlighted by a SOTA 70.22% Any-Medal score on the full MLE-bench within a 24-hour budget, and outperforming prior reported results by 4.92 percentage points. The efficacy of ScienceFlow further demonstrates that efficient state management, adaptive exploration, and objective‑aligned execution are critical for scaling autonomous research beyond short‑horizon interactions.

GitHub: https://huawei-noah.github.io/noah-research/ScienceFlow/website/

(a) Full MLE-bench Any-Medal rate.

(b) Agent capability profile.

Figure 1: Performance overview. (a) End-to-end performance on the full MLE-bench, where ScienceFlow achieves 70.22±1.18%70.22\pm 1.18\% Any-Medal. (b) Capability analysis across Search, Storage, Compute, Model Adaptation, and Time dimensions under full and constrained-reference settings. Each dimension is evaluated independently.

1 Introduction

AI autoresearch agents are rapidly evolving beyond isolated reasoning and tool use toward increasingly complete, long-horizon research workflows. Recent systems can formulate hypotheses, modify executable artifacts, run experiments, interpret intermediate evidence, and revise subsequent decisions across machine learning and scientific discovery (41; 74; 63; 72). AlphaEvolve (46), for example, demonstrates that iterative code modification guided by evaluator feedback can produce meaningful improvements in algorithms and scientific constructions. As research agents scale to longer, highly automated workflows, the bottleneck shifts from executing discrete research steps to sustaining productive, stable, and goal-aligned progress over time. This demands that agents preserve state across iterations, synthesize intermediate evidence, navigate competing directions, recover from dead ends, and translate available time and compute into tangible improvements.

Achieving sustained progress is complicated by the expanding nature of the research state itself. Over time, the agent’s context grows beyond a simple interaction log into a rich executable workspace containing source code, datasets, cached artifacts, model checkpoints, solver states, evaluation outputs, and other artifacts. While textual summaries can compress past interactions, they cannot faithfully reconstruct the executable state required to reliably resume, reuse, or revisit earlier work—a limitation that has motivated structured memory and persistent workspace designs (83; 11; 52). Moreover, promising directions often consume significant time and compute before revealing their flaws; apparent progress may be an artifact of noisy evaluation signals, implementation choices, or strategies that have already exhausted their local potential (65). Decisions to continue, branch, or revert to an earlier state thus directly govern where additional resources are deployed. Consequently, effective long-horizon research demands that state persistence, exploration choices, and execution control evolve together as evidence accumulates.

Recent systems have tackled isolated facets of this problem through disparate representations of the research process. Structured and persistent memories preserve project knowledge and intermediate artifacts across iterations (52; 11), while trajectory-centric methods support branching, recovery, or iterative refinement of research paths (14; 81). Resource-aware systems operate at yet another layer, using runtime signals to place, monitor, and reschedule heterogeneous workloads (69; 42). While individually useful, these representations leave research state, trajectory decisions, and physical execution only loosely connected. Recovery, exploration, evaluation, and resource allocation each often operate over different views of the research process, making it difficult to maintain a consistent notion of progress as research evolves. This fragmentation remains a fundamental obstacle to sustaining coherent, adaptive, and efficient research over long horizons.

To this end, we introduce ScienceFlow, a workspace-grounded autonomous research system that supports one or more homogeneous research workers. ScienceFlow organizes research around recoverable executable workspaces, which preserve the concrete state of each research trajectory and serve as stable boundaries for continuation, branching, and recovery. During forward research, task-specific result signals produce validated workspace checkpoints, while text-only responses or context-capacity limits define research-segment boundaries that invoke ESTRA. At each research-segment boundary, a research worker uses ESTRA to continue or redirect from the live workspace, or to restore an archived checkpoint and proceed from that state. Multiple homogeneous workers can operate on independent trajectories in parallel, exchanging only compact progress summaries at research-segment boundaries to limit interference while sharing useful evidence. Beneath this research layer, an evidence-aware execution controller manages the physical jobs associated with each trajectory, using both resource conditions and validated progress to admit, monitor, pause, or terminate execution. Scientific decisions remain with the research workers, while the controller provides resource-aware execution and system-level safeguards.

The broader question is whether a common set of long-horizon research abstractions can transfer across substantially different executable tasks. We evaluate this question across machine learning, scientific modeling, and mathematical optimization. ScienceFlow achieves strong performance across all three domains, including a 70.22±1.18%70.22\pm 1.18\% Any-Medal rate on the full 75-task MLE-bench (10) under a 24-hour budget, 4.92 percentage points above the strongest reported baseline, while also attaining the best group-balanced score on SciModelingBench (57) and reaching/improving published frontiers on multiple mathematical optimization problems. Our contributions are summarized as follows:

  • We identify that effective long-horizon research depends not simply on extending interaction time or compute, but on jointly maintaining executable state, adapting research trajectories, and aligning execution with validated progress.
  • ScienceFlow realizes this principle through recoverable executable workspaces, ESTRA-governed transitions between research segments, and evidence-aware execution control, enabling research to continue, redirect, or recover without losing useful progress.
  • ScienceFlow demonstrates strong and consistent performance across a diverse range of tasks, including machine learning, scientific modeling, and mathematical optimization, with substantial gains on MLE-bench and SciModelingBench and state-of-the-art results across multiple optimization problems.

References (65)