ResearchEVO: An End-to-End Framework for Automated Scientific Discovery and Documentation
Organizations: City University of Hong Kong, Hong Kong, 999077, China
Abstract
An important recurring pattern in scientific breakthroughs is a two-stage process: an initial phase of undirected experimentation that yields an unexpected finding, followed by a retrospective phase that explains why the finding works and situates it within existing theory. We present ResearchEVO, an end-to-end framework that computationally instantiates this discover-then-explain paradigm. The Evolution Phase employs LLM-guided bi-dimensional co-evolution -- simultaneously optimizing both algorithmic logic and overall architecture -- to search the space of code implementations purely by fitness, without requiring any understanding of the solutions it produces. The Writing Phase then takes the best-performing algorithm and autonomously generates a complete, publication-ready research paper through sentence-level retrieval-augmented generation with explicit anti-hallucination verification and automated experiment design. To our knowledge, ResearchEVO is the first system to cover this full pipeline end to end: no prior work jointly performs principled algorithm evolution and literature-grounded scientific documentation. We validate the framework on two cross-disciplinary scientific problems -- Quantum Error Correction using real Google quantum hardware data, and Physics-Informed Neural Networks -- where the Evolution Phase discovered human-interpretable algorithmic mechanisms that had not been previously proposed in the respective domain literatures. In both cases, the Writing Phase autonomously produced compilable LaTeX manuscripts that correctly grounded these blind discoveries in existing theory via RAG, with zero fabricated citations.
Figures & tables
| Algorithm Evolution | Scientific Writing | ||||||
| TF | BD | EF | SD | SR | AH | GE | |
| FunSearch Romera-Paredes et al. (2024) | |||||||
| EoH Liu et al. (2024) | |||||||
| ReEvo Ye et al. (2024) | |||||||
| LLaMEA van Stein and Bäck (2024) | ✓ | ||||||
| U2E Zhao et al. (2025) | ✓ | ✓ | |||||
| Parameter | Default | Description |
|---|---|---|
| 10 | Initial population size (parallel) | |
| 10 | Active population size | |
| 0.5 | Mutation rate | |
| 10 | Evolution iterations | |
| 30s | Sandbox timeout per evaluation | |
| LLM | GPT-4o | Code generation model |
| Metric | QEC (DOA-MWPM) | PINN (ResLRA-PINN) |
| Evolution Phase iterations | 20 | 20 |
| Sandbox evaluations | 30 | 30 |
| Papers crawled (Writing Phase) | 40 | 20 |
| Analysis perspectives | 3 | 4 |
| Experiment scripts generated | 3 | 4 |
| Paper sections written | 4 | 4 |
| Round | MWPM | DOA-MWPM | ||
|---|---|---|---|---|
| 3 | 0.089 | 0.088 | ||
| 5 | 0.155 | 0.154 | ||
| 7 | 0.211 | 0.208 | ||
| 9 | 0.254 | 0.250 | ||
| 11 | 0.293 | 0.291 | ||
| 13 | 0.322 | 0.317 |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
AI-Assisted Scientific Research
AI-assisted scientific research uses machine learning and AI agents to support discovery, analysis, experimentation, and scientific communication.
See all 253 papers