potentialpaper

ScienceFlow: Executable-State Re-Anchoring for Long-Horizon Autonomous Research

Anonymous authors

ICLR 2027

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. ScienceFlow enables LLM agents to conduct long-horizon autonomous research by combining recoverable research workspaces, state re-anchoring, and evidence-aware resource allocation to achieve more stable and effective scientific discovery.

Abstract. Long-horizon LLM agents can improve research outcomes, but their gains often rely on expensive model calls and poorly targeted computation. We introduce \textbf{ScienceFlow}, an end-to-end auto-research framework designed to convert limited inference and execution budgets into sustained research progress. ScienceFlow organizes research around recoverable executable states, allowing validated artifacts and intermediate results to persist across iterations. Its Executable-State Transition with Re-Anchoring (ESTRA) mechanism jointly selects an execution anchor from the current or archived states and an extend-or-redirect research direction, enabling continued exploration or redirection from recoverable executable states. An evidence-aware execution controller further admits and monitors jobs according to remaining budget, resource availability, and validated progress. We evaluate ScienceFlow across machine learning, scientific modeling, and mathematical optimization. On the full 75-task MLE-bench, ScienceFlow with DeepSeek-V4-Flash-Preview achieves a 70.22±1.18%\mathbf{70.22 \pm 1.18\%} \textbf{ Any-Medal rate} under a 24-hour budget per task run, evaluated over three independent benchmark sweeps. ScienceFlow also achieves a low mean API expenditure of \textbf{$76.4} per benchmark sweep under our cost-accounting protocol. The source code is temporarily available in the supplementary material.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
18 Sep 2026ICLR 2027submittedICLR 2027Under reviewforumreviews ↓[1]PDF[1]
Missing a version?

ICLR 2027

Under review · 3 reviews · OpenReview

Updated 24 Nov 2026, 16:58 UTC.

Reviewer EzB8OpenReview ↗
Rating
4/4
Confidence
2/4
Soundness
3/3
Presentation
3/3
Informativeness
3/3
Read review
Summary

This paper proposes ScienceFlow, a long-horizon autonomous research framework that integrates recoverable executable states, LLM-guided research trajectory selection (ESTRA), and evidence-aware execution control. It demonstrates strong performance across machine learning, scientific modeling, and mathematical optimization benchmarks.

Strengths

The framework effectively integrates state recovery, adaptive exploration, and resource management into a unified research workflow. Extensive benchmark evaluations demonstrate competitive performance, while ablation studies provide evidence for the effectiveness of ESTRA and execution control.

Weaknesses

The theoretical analysis emphasizes the advantages of LLM-based semantic decisions over validation-score-driven search methods such as MCTS and genetic algorithms. However, the experiments do not directly compare ESTRA against these alternatives under controlled settings, leaving this central theoretical motivation insufficiently validated.

Questions for the authors

Can the authors provide a controlled comparison between ESTRA and validation-score-driven search strategies, such as MCTS or genetic algorithms, under identical computational budgets? This would help establish whether LLM-based semantic decisions offer the claimed advantages in practice.

1 comment
Authors · CommentOpenReview ↗

Q1: Can ESTRA be compared with validation-score-driven search (e.g., MCTS, genetic algorithms) under identical budgets?

A1: We thank the reviewer for the suggestion of a direct comparison under identical computational budgets. We add experiments (Table R6) comparing ESTRA with Random, UCT, and Evolve as alternative re-anchoring policies. All methods retain the same state recovery infrastructure and use the same backbone model, resources, seeds, and compute budget. We select the four tasks unmedaled in the original ScienceFlow runs on MLE-bench Lite and compare the performance of the Random, UCT, Evolve, and LLM (ESTRA) strategies.

Table R6: Controlled comparison of re-anchoring strategies on four previously unmedaled tasks (3 seeds).

Method Dog Breed NYC Taxi RANZCR TPS-May
Metric Log Loss ↓ RMSE ↓ Mean AUC ↑ AUC ↑
Random 0.25185 ± 0.09127 3.81391 ± 0.00816 0.93762 ± 0.01671 0.99659 ± 0.00051
UCT 0.28553 ± 0.06759 4.42730 ± 0.78536 0.91288 ± 0.05111 0.99714 ± 0.00077
Evolve 0.27636 ± 0.15021 4.01019 ± 0.22670 0.92470 ± 0.04939 0.99658 ± 0.00095
LLM (ESTRA) 0.23485 ± 0.14916 3.78745 ± 0.01255 0.91727 ± 0.03824 0.99669 ± 0.00052

The LLM (ESTRA) strategy achieves the best average rank (1.75) across the four tasks, providing practical evidence for the effectiveness of ESTRA's re-anchoring policy. No additional task-specific tuning of numerical search hyperparameters was performed.

Reviewer AK6fOpenReview ↗
Rating
3/4
Confidence
3/4
Soundness
2/3
Presentation
3/3
Informativeness
2/3
Read review
Summary

This paper introduces ScienceFlow, an autonomous research agent composed of recoverable executable states (where each checkpoint is composed of a workspace snapshot, research memory, validation evidence, and resource record), re-anchoring, and an execution controller that monitor jobs according to the budget. This system achieve 70.22 ±1.18% Any-Medal rate under a 24-hour budget per task run and $76.4 per benchmark sweep.

Strengths
  • The proposed method has low reported API cost: In Figure 1, ScienceFlow with Deepseek-V4-Flash-Preview reaches very high performance among the baselines while being the cheapest.

  • Multiple case studies and ablations. The authors conducted case studies and ablations in the long-horizon setting and ablations on components they proposed in the agent, making the experiment more rigorous.

Weaknesses
  • Ablation: The ablation of w/o ESTRA removes all re-anchoring, which would very likely lead to performance degradation. A more reasonable ablation is to replace LLM re-anchoring with UCB/MCTS/random re-anchoring.

  • Unequal comparison between baselines: Compared to the baselines, ScienceFlow’s budget, hardware, and backbone models are different. It might be useful to include a baseline with a different harness + the same backbone model (DeepSeekV4Flash), or run ScienceFlow with a different backbone model (e.g., a Claude/GPT/Gemini variant as in the baselines)

  • I would appreciate the authors make the difference between this work and previous work more apparent in the Related Work.

Questions for the authors

NA

2 comments
Authors · CommentOpenReview ↗

Response for weakness 1 and 2: more ablations

W1: The w/o ESTRA ablation removes all re-anchoring; a fairer ablation replaces LLM re-anchoring with UCB/MCTS/random strategies.

A1: We thank the reviewer for the suggestion. We compare alternative re-anchoring policies while retaining the same state recovery infrastructure, backbone, resources, seeds, and budget. We use the four tasks unmedaled in the original ScienceFlow runs on MLE-bench Lite, with a 12h budget, 3 seeds, on the same RTX 4090 hardware, and compare the Random, UCT, Evolve, and LLM strategies. The results are shown in Table R3.

Implementation. The fixed strategies select re-anchoring start points from the qualified stages saved by each worker and check after each stage whether a decision is triggered. The LLM strategy follows ESTRA's original candidate scope and trigger conditions.

  • UCT (an MCTS variant) uses UCB to select start points along the stage tree, progressive widening to control tree expansion, and UCB again to choose between continuing the current direction or switching; validation rewards from actual runs are backpropagated along the tree.
  • Evolve (a genetic-algorithm-style strategy) randomly samples up to 2 of the most recent 4 valid stages and starts from the one with the better validation score. Continuing vs. switching is chosen with 50% probability each.

Table R3: Controlled comparison of re-anchoring strategies on four previously unmedaled tasks (3 seeds).

Method Dog Breed NYC Taxi RANZCR TPS-May
Metric Log Loss ↓ RMSE ↓ Mean AUC ↑ AUC ↑
Random 0.25185 ± 0.09127 3.81391 ± 0.00816 0.93762 ± 0.01671 0.99659 ± 0.00051
UCT 0.28553 ± 0.06759 4.42730 ± 0.78536 0.91288 ± 0.05111 0.99714 ± 0.00077
Evolve 0.27636 ± 0.15021 4.01019 ± 0.22670 0.92470 ± 0.04939 0.99658 ± 0.00095
LLM (ESTRA) 0.23485 ± 0.14916 3.78745 ± 0.01255 0.91727 ± 0.03824 0.99669 ± 0.00052

The LLM strategy achieves the best average rank (1.75). No additional task-specific tuning of numerical search hyperparameters was performed.


W2: Budget, hardware, and backbones differ across methods; a same-backbone different-harness baseline or ScienceFlow with a different backbone would help.

A2: We address this through two complementary comparisons.

(a) Same backbone, different harness. Table R4 presents the results. With the same deepseek-v4.1-flash backbone, hardware, and 12h budget, ScienceFlow achieves 77.27% vs. MLEvolve's 69.70%, indicating that the gains come from the framework rather than the backbone.

Table R4: Performance and LLM usage on MLE-bench Lite.

Metric MLEvolve ScienceFlow
Code Version commit 9c5c8a3 (2026-09-04) Submitted code archive
Any Medal Rate (MEAN ± SEM) ↑ 69.70% ± 3.03 77.27% ± 2.62
Medals per seed 16 / 16 / 14 17 / 18 / 16
LLM Cost ($) ↓ 24.03 ± 5.11 12.22 ± 1.79
Token (M) 52.38 ± 15.33 397.89 ± 6.33
Output Token (M) 23.10 ± 5.43 7.02 ± 0.47
Cache Hit Rate 26.33% ± 1.18 93.21% ± 0.85

(b) ScienceFlow with a different backbone. Table R5 compares harnesses with open models. ScienceFlow with Qwen3.6-27B, which has fewer total parameters, achieves the highest mean medal rate among the listed configurations (53.03%).

Table R5: Harness comparison with open models on MLE-bench Lite.

Model Harness Hardware Any Medal Rate (%) ↑ Report Date
Qwen3.6-35B-A3B OpenMLE-Evo [R1] 1 × RTX 4090 (12GB) 39.39 2026-07-30
Qwen3.6-35B-A3B MLExpert Harness [R2] 1 × H200 37.88 ± 5.46 2026-10-15
Qwen3.6-35B-A3B Claude Code [R2] 1 × H200 42.42 ± 4.01 2026-10-15
Qwen3.6-27B ScienceFlow RTX 4090 / L40 53.03 ± 3.03 This work

Due to API cost constraints, we did not switch to Claude/GPT/Gemini backbones; instead, we use the open Qwen3.6 as an alternative backbone. The results above show the framework is not tied to one specific model.

For the Qwen3.6-27B run, the gap relative to the deepseek-v4.1-flash backbone is concentrated on MLSP-2013-Birds, Spooky Author Identification, APTOS 2019, and Leaf Classification (3 medals each with deepseek-v4.1-flash vs. 0 with Qwen), with smaller drops on SIIM-ISIC, Denoising Dirty Documents, and the two text-normalization tasks.

References

[R1] Yang, J., et al. Frontis-MA1: Training an AI4AI Model towards Recursive Self-Improvement in Machine Learning Engineering. arXiv:2607.28568, 2026.

[R2] Du, S., et al. MLExpert: Towards a Generalist Agentic Model for Autonomous Machine Learning Engineering. arXiv:2610.22344, 2026.

Authors · CommentOpenReview ↗

Response for Weakness3: Related Work

W3: I would appreciate the authors make the difference between this work and previous work more apparent in the Related Work.

A3: We have revised Section 4 (Related Work) to clarify how ScienceFlow differs from prior work in recoverable executable states, evidence-guided re-anchoring, and resource-aware execution control. The added discussion is highlighted in blue on page 9 of the revised manuscript.

Reviewer 7nNJOpenReview ↗
Rating
2/4
Confidence
3/4
Soundness
2/3
Presentation
3/3
Informativeness
2/3
Read review
Summary

ScienceFlow is a framework for autonomous research that combines recoverable executable states, research-direction selection, memory management, and resource-aware execution control. Its ESTRA mechanism selects whether to continue from the current or an archived state and whether to extend or redirect the research trajectory. Experiments cover MLE-bench, scientific modeling, mathematical optimization, and KTTSP, with a reported 70.22% Any-Medal rate across three complete MLE-bench evaluations.

Strengths

This work offers solutions to the practical challenges inherent in autonomous agents designed for long-duration scientific research. Given that elements such as code, checkpoints, intermediate features, and experimental records are vital to the continuity of research, this paper proposes a unified management framework that defines these components as "recoverable states."

Weaknesses
  1. The models and budgets in Table 1 are not aligned; ScienceFlow uses DeepSeek-V4-Flash-Preview, while other methods employ Gemini, Claude, and various versions of DeepSeek. Furthermore, a footnote in Table A5 explicitly states that the strongest baseline—MLEvolve paired with Gemini-3.1-Pro-Preview—is allocated a 12-hour budget, whereas ScienceFlow is allocated 24 hours. Consequently, the current comparison is insufficient to determine the extent to which the improvements are attributable to the ScienceFlow mechanism itself. I cannot determine whether the performance is due to the model itself being strong or to the strength of ScienceFlow.
  2. The experiments rely on MLE-Bench, a benchmark that has largely fallen out of favor. Current research tends to focus on benchmarks such as PostTrainBench, MLS-Bench, SWE-Marathon, AutoResearchExam, and RSI_Exam.
Questions for the authors

See weaknesses.

3 comments
Authors · CommentOpenReview ↗

W1: Models and budgets in Table 1 are not aligned (ScienceFlow 24h vs. MLEvolve 12h), so the source of the improvement is unclear.

A1: We thank the reviewer for highlighting this. To separate framework gains from backbone effects, we rerun the comparison with the same deepseek-v4.1-flash backbone and a 12h per-task budget for both systems (Table R1). Over three seeds on the 22 MLE-bench Lite tasks, ScienceFlow outperforms MLEvolve on every seed (17/18/16 vs. 16/16/14 medaled tasks; mean medal rate 77.27% vs. 69.70%), at about half the LLM cost ($12.22 vs. $24.03 per round).

Table R1: Performance and LLM usage on MLE-bench Lite. Both columns use the same backbone, hardware, and budget for a matched comparison.

Metric MLEvolve ScienceFlow
Code Version commit 9c5c8a3 (2026-09-04) Submitted code archive
Any Medal Rate (MEAN ± SEM) ↑ 69.70% ± 3.03 77.27% ± 2.62
Medals per seed 16 / 16 / 14 17 / 18 / 16
LLM Cost ($) ↓ 24.03 ± 5.11 12.22 ± 1.79
Token (M) 52.38 ± 15.33 397.89 ± 6.33
Output Token (M) 23.10 ± 5.43 7.02 ± 0.47
Cache Hit Rate 26.33% ± 1.18 93.21% ± 0.85

Note: MLEvolve is evaluated with the Sep 4 code (commit 9c5c8a3), keeping its default three parallel search branches and cold-start knowledge base; ScienceFlow uses the exact code archive submitted with our paper.

The advantage comes from four tasks: Jigsaw (2 vs. 0 medals), SIIM-ISIC (1 vs. 0), Aerial Cactus (3 vs. 2), and Random Acts of Pizza (3 vs. 2) — five additional medals over three seeds, i.e., a 7.58% gain in mean medal rate.

On the cost side, ScienceFlow uses more total tokens (397.89M vs. 52.38M) but achieves a higher cache hit rate (93.21% vs. 26.33%) and lower estimated LLM cost ($12.22 vs. $24.03 per round).


W2: MLE-Bench has largely fallen out of favor; evaluations on recent benchmarks (e.g., PostTrainBench, MLS-Bench, SWE-Marathon) are preferred.

A2: With Qwen3-1.7B-Base as the trained model, the same deepseek-v4.1-flash drives both Claude Code 2.1.219 and ScienceFlow, under identical H200 resources and a 10h budget. Details are presented in Table R2.

Table R2: PostTrainBench results with Qwen3-1.7B-Base under a 10h budget.

Harness AIME 2025 ArenaHard-Writing GPQA Main HealthBench-Easy HumanEval GSM8K
Claude Code 2.1.219 6.67 26.8 26.19 11.21 60.16 68
ScienceFlow 6.67 33.27 28.72 25.49 52.44 72.33

ScienceFlow leads on four of the six evaluations, ties on one, and trails on one, which provides additional evidence of its applicability to model post-training. We also note that MLE-Bench remains actively used by recent MLE-agent systems [R1, R2]. We prioritized PostTrainBench as a representative testbed for post-training research; evaluation on MLS-Bench and SWE-Marathon remains future work.

On HumanEval, ScienceFlow delivered its best recorded candidate: an early LoRA SFT model, whose dev score rose from 24.67% to 53.33% (development set; final evaluation: 52.44% in Table R2) after fixing EOS and decoding; later stages with full-parameter SFT and additional self-generated data did not yield a stronger candidate within the 10h budget, so the early LoRA model remained the final choice. Claude Code instead used the same budget to iterate on execution-verified answers, doctest augmentation, and checkpoint/decoding comparisons. These trajectories suggest different uses of the available budget, but do not isolate the cause of the performance gap.

References

[R1] Yang, J., et al. Frontis-MA1: Training an AI4AI Model towards Recursive Self-Improvement in Machine Learning Engineering. arXiv:2607.28568, 2026.

[R2] Du, S., et al. MLExpert: Towards a Generalist Agentic Model for Autonomous Machine Learning Engineering. arXiv:2610.22344, 2026.

Reviewer 7nNJ · CommentOpenReview ↗

Thank you for the response. It addresses my concern. I have another question why can ScienceFlow be both cheaper and better? Could the authors elaborate more on this?

Authors · CommentOpenReview ↗

Dear Reviewer 7nNJ,

We sincerely thank you for this thoughtful follow-up. ScienceFlow combines reuse of research artifacts and evidence-guided re-anchoring with a high input-cache hit rate and fewer output tokens.

Why better. ESTRA picks an execution anchor and an extend-or-redirect direction from accumulated evidence and remaining resources; recoverable states let new branches reuse saved code, weights, and features rather than repeat implementation or training. Two examples:

  • Statoil Iceberg (paper case study). After CNN-only exploration stalls, ScienceFlow restores S59 and switches to tree models over saved CNN features—S112 trains LightGBM on S53's CNN logits and angle features, and S59 merges fold checkpoints from S02/S53—improving validation loss from 0.1100 to 0.0597 without retraining the CNN.
  • PostTrainBench HumanEval. Reusing a saved LoRA checkpoint and fixing only EOS/decoding raised the development score from 24.67% to 53.33% without retraining.

Why cheaper, and how cost is computed. We estimate LLM cost from reported API usage using DeepSeek's official pricing: cost = (input − cached) x 0.30/M + cached x 0.006/M + output x 1.20/M , with off-peak hours at half price. Cached input is thus 50× cheaper than uncached input. ScienceFlow actually uses more total tokens, averaging 390.87M input tokens per round, but achieves a mean input-cache hit rate of 93.21% across the three seeds. It generates only 7.02M output tokens per round vs. MLEvolve's 23.10M—output being the most expensive component. The resulting estimated cost is USD 12.22 vs. USD 24.03 per round.

Thus, higher performance and lower estimated LLM cost are compatible: artifact reuse supports continued exploration, while the observed cache hits and lower output-token usage reduce API cost under the stated pricing.

Sincerely,

Authors of ScienceFlow

Comments on the paper

1 comment
Authors · CommentOpenReview ↗

Summary of rebuttal

Dear PCs, SACs, and ACs,

We thank the reviewers for their constructive feedback. ScienceFlow combines recoverable executable research states, evidence-guided re-anchoring, and resource management to sustain long-horizon research. To further validate ScienceFlow, additional experiments on performance attribution, search strategies, and benchmark coverage are included in this rebuttal. The key results are presented below.

Performance and cost. With the same deepseek-v4.1-flash backbone and a 12h per-task budget, ScienceFlow outperforms MLEvolve on each of the three seeds on MLE-bench Lite (mean medal rate 77.27% vs. 69.70%). The LLM cost per round is about half that of MLEvolve ($12.22 vs. $24.03).

Search-strategy comparison. On four previously unmedaled tasks, we compare ESTRA with Random, UCT, and Evolve as alternative re-anchoring policies while retaining the same state recovery infrastructure. ESTRA achieves the best average rank (1.75). No additional task-specific tuning of numerical search hyperparameters was performed.

Broader applicability. We add experiments on PostTrainBench and with the open Qwen3.6-27B model. On PostTrainBench, with the same backbone, hardware, and 10h budget, ScienceFlow outperforms Claude Code on four of six evaluations, ties on one, and trails on one.

In summary, the additional experiments strengthen the evidence for ScienceFlow's effectiveness, cost efficiency, and applicability across models and research tasks.

To support verification of the reported results, we include the complete experimental material in the supplementary package (iclr_supplementary.zip): raw execution traces of both systems on all 132 MLE-bench Lite runs (full LLM trajectories and framework events, organized by seed and task), the official per-run results (results_summary.csv), and a README documenting the structure, budget setup, and anonymization.

Sincerely,

Authors of ScienceFlow

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…

This paper is under review