LabBook: Harnessing Experimental History for Efficient LLM-Driven Discovery
Organizations: Georgia Institute of Technology · University of Virginia, Charlottesville
Abstract
Evolutionary approaches to LLM-driven discovery often generate new programs from a small set of selected ancestors. This keeps contexts manageable but can omit useful evidence from other experiments, whereas including the full experimental history produces long, redundant contexts. We introduce a simple, single-agent discovery harness built around LabBook, an agent-maintained memory that serves two complementary roles: guiding retrieval of relevant evidence from a complete experimental log and informing the generation of new solutions. At each iteration, the same agent combines its memory with retrieved evidence and jointly produces the next program and an updated LabBook. This separates complete history retention from selective context construction, without requiring an explicit population or branching search structure. On 49 Frontier-CS problems, LabBook improves the observed quality-cost trade-off over the evaluated evolutionary baselines with two backbones, while remaining competitive across nine additional mathematical, systems, and heuristic-design tasks. Code will be released at https://github.com/BoYuanVisionary/LabBook.
Figures & tables
| Task | Method | DeepSeek V4 Flash | Qwen 3.6 Flash | ||
|---|---|---|---|---|---|
| Score | Cost | Score | Cost | ||
| Circle Packing | OpenEvolve | 0.9288 | 0.283 | 0.8880 | 0.395 |
| EvoX | 0.8583 | 0.229 | 0.7942 | 0.301 | |
| AdaEvolve | 0.9934 | 0.562 | 0.9510 | 0.403 | |
| LabBook (Ours) | 1.0004 | 0.207 | 0.9347 | 0.816 | |
| Heilbronn Convex | OpenEvolve | 0.7283 | 0.205 | 0.7519 | 0.548 |
| Ours | No Retrieval | No Persistent | Best-of-N | Top-score | Full History | |
|---|---|---|---|---|---|---|
| Normalized mean | 0.9982 | 0.9057 | 0.9789 | 0.8733 | 0.9411 | 0.9488 |
| Mean cost (USD) | 0.140 | 0.148 | 0.143 | 0.118 | 0.150 | 0.315 |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Category | Count | Description |
| AlphaEvolve ( Novikov et al., 2025 ) | ||
| circle_packing | 1 | Place 26 non-overlapping circles in a unit square to maximize the sum of their radii. |
| heilbronn_convex | 1 | Place points in a convex region to maximize the minimum area of any triangle formed by three points. |
| ADRS ( Cheng et al., 2025 ) | ||
| eplb | 1 | Replicate and place mixture-of-experts experts to balance load across GPUs. |
| prism | 1 | Place multiple models on GPUs to minimize worst-case memory pressure. |
| Category | Count | Selected Frontier-CS problem IDs |
|---|---|---|
| Optimization | 10 | 2, 16, 42, 44, 48, 50, 58, 305, 311, 312 |
| Constructive | 18 | 0, 3, 5, 13, 60, 72, 73, 83, 85, 89, 178, 179, 180, 187, 210, 217, 227, 239 |
| Interactive | 21 | 14, 101, 107, 111, 117, 122, 138, 144, 151, 153, 154, 155, 159, 161, 162, 165, 168, 169, 170, 247, 249 |
| Backbone | Method | Iter. | Fresh in | Cached in | Output | Total | Cost | Mean score |
|---|---|---|---|---|---|---|---|---|
| DeepSeek V4 Flash | OpenEvolve | 50 | 817K | 164K | 292K | 1,273K | $0.298 | 33.870 |
| EvoX | 50 | 879K | 197K | 283K | 1,358K | $0.302 | 33.988 | |
| AdaEvolve | 60 | 745K | 476K | 391K | 1,612K | $0.348 | 37.606 | |
| LabBook | 30 | 299K | 1,426K | 427K | 2,152K | $0.306 | 39.572 | |
| Qwen 3.6 Flash | OpenEvolve | 100 | 2,364K | 0 | 555K | 2,919K | $1.068 | 28.048 |
| EvoX | 100 | 2,296K | 0 | 484K | 2,781K | $0.976 | 24.992 |
| Task | Experimental log (kB) | LabBook (kB) | |||||
|---|---|---|---|---|---|---|---|
| Iter. 10 | Iter. 30 | Iter. 50 | Iter. 10 | Iter. 30 | Iter. 50 | ||
| Frontier-CS (mean) | 124.9 | 329.4 | 543.3 | 4.20 | 4.84 | 4.89 | 111.2 |
| Circle Packing | 79.6 | 288.3 | 581.4 | 1.34 | 1.75 | 2.26 | 257.8 |
| Heilbronn Convex | 67.0 | 257.7 | 460.8 | 0.96 | 2.23 | 1.86 | 247.5 |
| EPLB | 147.7 | 351.7 | 548.1 | 3.11 | 1.46 | 1.38 | 397.7 |
| PRISM | 117.4 | 392.6 | 609.0 | 2.03 | 2.07 | 1.89 | 322.0 |
| Backbone | Method | Cost (USD) | Median score |
|---|---|---|---|
| DeepSeek V4 Flash | LabBook | 0.463 | 43.065 |
| AdaEvolve | 0.348 | 31.792 | |
| EvoX | 0.370 | 27.054 | |
| OpenEvolve | 0.365 | 27.708 | |
| Qwen 3.6 Flash | LabBook | 1.001 | 37.000 |
| AdaEvolve | 0.821 | 22.715 |