Research code for Evidence-Driven Discovery Loops for AI-Train-AI: From Trials to Better Decisions, by Yu Fu, Weizhi Wang, Che Jiang, Yuru Wang, Junlin Yang, Bowen Zhou and Kaiyan Zhang.
When an experiment improves on its parent but falls short of the best result so far, which implementation should the next experiment build on? The Evidence-Driven Discovery Loop (EDL) records each trial's source, intended change, score, failures and cost. Its inner policy, Operation-aware Evidence Control (OEC), uses that history to choose the next operation, its source implementations and an execution budget.
From a fresh clone, run the example with Python 3.11 or newer. It passes three synthetic Model Soup trials through the same history builder used by the AI4AI-Bench controller. It runs locally with the Python standard library.
git clone https://github.com/FrontisAI/EDL.git
cd EDL
PYTHONPATH=ai4ai-bench python3 examples/inspect_trials.pyBoth trials 1 and 2 improve on their common parent. Only trial 1 sets a new best. Trial 3 fails evaluation and remains in the history with an invalid outcome. Example source
Each directory has its own setup instructions, test suite and execution environment.
| Experiment | What the controller searches | Paper protocol and implementation |
|---|---|---|
| MLE-Lite | Machine learning programs for 22 MLE-bench tasks. OEC selects directions, inspects exemplars and commits experiments for coding workers. | Three searches per task, each with 12 hours of sandbox time and 18 hours of combined model and sandbox time. Includes Kimi K2.6 and GLM 5.2 launch configurations. MLE-Lite guide |
| AI4AI-Bench | Multi-file research workspaces. Claude Code implements the selected change and the harness evaluates each candidate. | Eight tasks, one L20X per task, four hours of Explore and up to twelve hours of Formal execution. Setup, task IDs and per-task results |
| nanoGPT | Optimizers for a pinned speedrun trainer. The objective is the fewest training steps at which mean validation loss falls below 3.27859 across eight seeds. | Eight L20X GPUs per evaluation. The paper compares the best certified step count over a common 24-hour window. Trainer, data and search guide |
The paper also evaluates EDL on ten NatureBench Lite tasks. The benchmark and its task environments are available separately. The EDL-specific NatureBench launcher is outside this release. NatureBench
For the paper's fixed-operation study, the MLE directory includes eight settings that hold the operation at Improve and vary the signal used to select a parent. Fixed-operation configurations
- Summarize the trials. The MLE implementation groups candidates into algorithmic directions and links prior modification plans to their outcomes. Direction registry · Trial history
- Inspect the evidence. Starting from direction summaries and operation statistics, OEC can retrieve a direction's history or read its exemplar code. The resulting evidence informs both the choice of sources and the proposed modification. Portfolio planner
- Commit and evaluate. The MLE controller can refine one source, combine directions or try a new direction. It checks source roles and execution slots before handing the portfolio to the solver. Each worker's result becomes evidence for the next round. Solver
MLE-Lite values are means across three epochs of 22 tasks each. Human Rank is normalized against the human leaderboard. NatureBench Lite RankScore is the mean normalized task rank across ten tasks. Higher is better for all three columns.
| Backbone | MLE-Lite medal rate | MLE-Lite Human Rank | NatureBench Lite RankScore |
|---|---|---|---|
| Kimi K2.6 | 72.73% | 0.823 | 0.5498 |
| GLM 5.2 | 62.12% | 0.736 | 0.4652 |
| DeepSeek-V4.1-Flash | 75.8% | 0.862 | 0.8967 |
On AI4AI-Bench, EDL with DeepSeek-V4.1-Flash scored better than a single Claude Code session on seven of eight tasks. The single-session baseline scored higher on OPD math accuracy (0.4260 versus 0.4182). All eight Formal scores
FrontisAI's original code is released under the MIT license. The AIRA/Dojo and Agentic-Brain adaptations include material under CC BY-NC 4.0, which restricts commercial use. Each component lists its upstream licenses and source credits. MLE-Lite notices · AI4AI-Bench notices · nanoGPT notices
Use GitHub's Cite this repository button to export the paper citation. Citation metadata