cs.AISep 4, 2026

LLM-Guided Program Evolution for Circle Packing: Breaking 10 Packomania Records for $28

Authors: Wes Sander

Organizations: Practical Systems Mason, Ohio, USA

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.

Figures & tables

Explore similar work

CardsList
  1. ImprovEvolve: Basin-Hopping Meets LLM-Guided Evolutionary Search

    Feb 10, 2026Alexey Kravatskiy, Valentin Khrulkov, Ivan OseledetsLarge Language Model-Guided Scientific DiscoveryEvolutionary Optimization

  2. FrugalEvo: Towards Cost-Aware LLM-Guided Program Evolution

    Oct 2, 2026Hui Chen, Xuan Qi, James Xu Zhao +5Large Language Model-Guided OptimizationEvolutionary Optimization

  3. Initialization Improves LLM-Driven Discovery

    Sep 30, 2026Mansi Sakarvadia, Marco Ciccone, Colin RaffelLarge Language Model-Guided OptimizationLarge Language Model-Guided Scientific Discovery