Acerca de
Code associated with the paper An AI system to help scientists write expert-level empirical software
IA y aprendizaje automáticoCrecimiento de estrellas medido
- in 24h
- +1
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalERA: An AI System to Help Scientists Write Expert-Level Empirical Software
This repository contains code associated with the paper:
An AI system to help scientists write expert-level empirical software Aygun, et al., 2025
Overview
ERA (Empirical Research Assistant) is an AI system that helps scientists write high-quality empirical software. It combines a large language model with a tree-search algorithm — Flat UCB Tree Search (FUTS) — to iteratively generate, execute, and score candidate programs, converging on expert-level solutions.
Generated Code
View the code generated by the models in our experiments: https://google-research.github.io/era/
Getting Started
Prerequisites
- Python 3.10+
- A Gemini API key (set as
GOOGLE_API_KEYenvironment variable) - Required packages:
pandas,numpy,scikit-learn,google-generativeai
pip install pandas numpy scikit-learn google-generativeai
Running the Example
The implementation/ directory contains a self-contained end-to-end example
(playground_s3e1.py) that applies ERA to a Kaggle-style regression task
(California Housing, Playground Series S3E1):
cd implementation/
export GOOGLE_API_KEY="your-api-key"
python playground_s3e1.py
Or open experiment_pipeline.ipynb in Jupyter to run a full experiment
interactively.
Implementation: Flat UCB Tree Search (FUTS)
The implementation/ directory contains a reference
implementation of the Tree Search algorithm described in Algorithm 1 of the
paper. See implementation/README.md for details.
The search function in implementation/futs.py requires two user-provided
functions:
generate_fn: Takes a problem definition and a past solution, and generates a new (ideally improved) solution — typically by prompting an LLM.execute_fn: Takes a problem definition and a candidate solution, scores it by running it in a sandboxed environment against the problem's metric.
The search iterates num_iterations times, expanding a search tree one node at
a time using the Flat UCB (PUCT) algorithm, and returns the best solution found.
Example Task Notebooks
The implementation/notebooks/ directory contains example task notebooks from
our evaluation benchmark, on two scientific tasks.
See implementation/notebooks/README.md
for details.
Applications
For real-world scientific applications of ERA across epidemiology forecasting, neuroscience, theoretical physics, and other domains, see the era_applications/ directory. These span eight papers across public health, climate, hydrology, economics, and combinatorics.
For a broader discussion of ERA's impact, see the Google Research blog post.
Citing This Work
If you find this helpful in your work or use the code or data in this package, please cite:
@misc{aygun2025aihelpscientistswrite,
title={An AI system to help scientists write expert-level empirical software},
author={Eser Aygun and Anastasiya Belyaeva and Gheorghe Comanici and Marc Coram and Hao Cui and Jake Garrison and Renee Johnston and Anton Kast and Cory Y. McLean and Peter Norgaard and Zahra Shamsi and David Smalling and James Thompson and Subhashini Venugopalan and Brian P. Williams and Chujun He and Sarah Martinson and Martyna Plomecka and Lai Wei and Yuchen Zhou and Qian-Ze Zhu and Matthew Abraham and Erica Brand and Anna Bulanova and Jeffrey A. Cardille and Chris Co and Scott Ellsworth and Grace Joseph and Malcolm Kane and Ryan Krueger and Johan Kartiwa and Dan Liebling and Jan-Matthis Lueckmann and Paul Raccuglia and Xuefei and Wang and Katherine Chou and James Manyika and Yossi Matias and John C. Platt and Lizzie Dorfman and Shibl Mourad and Michael P. Brenner},
year={2025},
eprint={2509.06503},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2509.06503},
}
Disclaimer
This is not an officially supported Google product.
Explorar proyectos relacionados
Cargando…