Lune

ACL Findings2025

CodeScientist: End-to-End Semi-Automated Scientific Discovery with Code-based Experimentation

Peter Jansen, Oyvind Tafjord, Marissa Radensky, Pao Siangliulue, Tom Hope, Bhavana Dalvi Mishra, Bodhisattwa Prasad Majumder, Daniel S. Weld, Peter Clark

Abstract

Despite the surge of interest in autonomous scientific discovery (ASD) of software artifacts (e.g., improved ML algorithms), current ASD systems face two key limitations: (1) they largely explore variants of existing codebases or similarly constrained design spaces, and (2) they produce large volumes of research artifacts (such as automatically generated papers and code) that are typically evaluated using conference-style paper review with limited evaluation of code. In this work we introduce CodeScientist, a novel ASD system that frames ideation and experiment construction as a form of genetic search jointly over combinations of research articles and codeblocks defining common actions in a domain (like prompting a language model). We use this paradigm to conduct hundreds of automated experiments on machine-generated ideas broadly in the domain of agents and virtual environments, with the system returning 19 discoveries, 6 of which were judged as being both at least minimally sound and incrementally novel after a multi-faceted evaluation beyond that typically conducted in prior work, including external (conference-style) review, code review, and replication attempts. Moreover, the discoveries span new tasks, agents, metrics, and data, suggesting a qualitative shift from benchmark optimization to broader discoveries. 1 Ideation Batch Idea #314 Name: simulation-confidence-analysis Hypothesis: Self-assessed LLM confidence will correlate with accuracy in state prediction tasks.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

14 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • AstaBench: Rigorous Benchmarking of AI Agents with a Scientific Research Suite cites Language Modeling by Language Models
  • ByteSized32: A Corpus and Challenge Task for Generating Task-Specific World Models Expressed as Text Games cites ReAct: Synergizing Reasoning and Acting in Language Models
  • Language Modeling by Language Models cites Symbolic Discovery of Optimization Algorithms
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers14

  1. AstaBench: Rigorous Benchmarking of AI Agents with a Scientific Research SuiteJonathan Bragg, Mike D'Arcy, Nishant Balepur, Dan Bareket et al.ICLR 2026 · 51 citations
  2. AutoDiscovery: Open-ended Scientific Discovery via Bayesian SurpriseDhruv Agarwal, Bodhisattwa Prasad Majumder, Reece Adamson, Megha Chakravorty et al.NeurIPS 2025 · 35 citations
  3. NewtonBench: Benchmarking Generalizable Scientific Law Discovery in LLM AgentsTianshi Zheng, Kelvin Kiu Wai Tam, Newt Nguyen Kim Hue Nam, Baixuan Xu et al.ICLR 2026 · 25 citations
  4. MARS: Modular Agent with Reflective Search for Automated AI ResearchJiefeng Chen, Bhavana Dalvi Mishra, Jaehyun Nam, Rui Meng et al.ICML 2026 · 14 citations
  5. Language Modeling by Language ModelsJunyan Cheng, Peter Clark, Kyle RichardsonNeurIPS 2025 · 11 citations

Builds on4

  1. Symbolic Discovery of Optimization AlgorithmsXiangning Chen, Chen Liang, Da Huang, Esteban Real et al.NeurIPS 2023 · 734 citations
  2. SciMON: Scientific Inspiration Machines Optimized for NoveltyQingyun Wang, Doug Downey, Heng Ji, Tom HopeACL 2024 · 22 citations
  3. ByteSized32: A Corpus and Challenge Task for Generating Task-Specific World Models Expressed as Text GamesRuoyao Wang, Graham Todd, Xingdi Yuan, Ziang Xiao et al.EMNLP 2023 · 1 citation
  4. ReAct: Synergizing Reasoning and Acting in Language ModelsShunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du et al.ICLR 2023

Related papers

  1. From Reproduction to Replication: Evaluating Research Agents with Progressive Code MaskingGyeongwon James Kim, Alex Wilf, Louis-Philippe Morency, Daniel FriedICLR 2026 · 12 citations
  2. DeepScientist: Advancing Frontier-Pushing Scientific Findings ProgressivelyYixuan Weng, Minjun Zhu, Qiujie Xie, Qiyao Sun et al.ICLR 2026 · 57 citations
  3. SciNav: A General Agent Framework for Scientific Coding TasksTianshu Zhang, Huan SunICLR 2026 · 1 citation
  4. AI-Researcher: Autonomous Scientific InnovationJiabin Tang, Lianghao Xia, Zhonghang Li, Chao HuangNeurIPS 2025 · 101 citations
  5. SR-Scientist: Scientific Equation Discovery With Agentic AIShijie Xia, Yuhan Sun, Pengfei LiuICLR 2026 · 28 citations
Dusk over the sea between two cliffs drawn in fine vertical lines