LLM-Guided Program Evolution for Circle Packing: Breaking 10 Packomania Records for $28
Abstract
We present Discovery Loop, a lightweight system that uses a large language model (LLM) to iteratively evolve optimization algorithms. Starting from a simple seed solver, the LLM proposes algorithmic improvements guided by a scoreboard of results and a history of prior ideas. Each candidate is evaluated against an independent verifier; improvements are kept and failures discarded. Applied to the Packomania circle-packing benchmark (csqv: maximize the sum of radii of N variable-radius circles in the unit square), the system improved the best known solutions for 10 values of N in the range 101-114, with gains of 2.4%-5.4% over prior records, all within 15 iterations and at a total LLM cost of $27.72. These results have been independently accepted by Packomania. We describe the method, analyze cost-efficiency dynamics including an adaptive plateau-detection mechanism, and discuss implications for democratizing automated scientific discovery.
Create a lesson
Metadata
- Comments
- 8 pages. Code and solutions: https://github.com/ucsandman/discovery-loop
Related papers
VISE: Verifier-Independent Skill Self-Evolution with Feedback from Tool Implementations
Shared title terminologycs.AIYuxuan Liu, Chongyang Du, Yuhao Zhang et al.
PoseVLN: Learning Geometric State Evolution for Vision-Language Navigation
Shared title terminologycs.AIPengyu Hou, Mingfei Han, Haihong Hao et al.
Breaking the Binary-Lifting Barrier for DNA Minimizer Density: Exact Optimization of a Native 4-ary Order at (w, k) = (12, 5)
Shared title terminologycs.AIStefan G. Creadore, Peyton Berntsen
Look Before You Commit: Visual-Evidence-Guided Decoding for Multimodal Diffusion Language Models
Shared title terminologycs.AITongxiao Hu, Yikai Zhao, Qiyan Zhao et al.
Habitats: A Framework for Open-Ended Evolution of Agent Objectives
Shared title terminologycs.AINicolas Bolouri, Gaya Mehenni, Daniel Toyama
A Theory of Reliable Self-Evolution for Agent Harnesses
Shared title terminologycs.AIQianshu Cai, Yonggang Zhang, Jun Nie et al.