cs.AINov 26, 2026

EvoScore: LLM-Guided Evolutionary Program Search for Online Two-Dimensional Strip-Packing Heuristics

Authors: Mariusz Kaleta, Waldemar Kołodziejczyk, Izabela Zoltowska

Abstract

Online two-dimensional rectangular strip packing (2D-OSPP) requires placing sequentially arriving items into a fixed-width, unbounded-height strip to maximize utilization without lookahead or repositioning. Because no single heuristic dominates across all item distributions and sequence lengths, tailoring rules to specific classes is crucial yet typically manual. We present EvoScore, an LLM-guided evolutionary program-search framework that automatically synthesizes interpretable scoring heuristics for specific 2D-OSPP classes. Building on FunSearch, EvoScore decouples MaxRects corner-placement generation from scoring functions that evaluate each candidate with access to the full candidate set for normalization and ranking. It adds four extensions: (1) classical warm starts across five seed heuristics, (2) dynamic model switching among low-cost LLMs upon stagnation or malformed outputs, (3) context-conditioned prompting with item-distribution summaries, and (4) a held-out validation floor that deploys evolved rules only when they beat the best seed on unseen validation episodes. Across 72 synthetic classes (7,200 paired test episodes), EvoScore achieves 0.8472 mean utilization, outperforming eleven classical baselines and standard FunSearch (0.8433) and winning 60 of 72 classes against the strongest class-specific competitor. Evolved heuristics generally retain seed objectives while adding compact, interpretable tie-breaking terms. On real-world logistics data, evolving on fitted distribution summaries performs within one percentage point of evolving directly on raw item streams for long episodes, enabling privacy-preserving heuristic synthesis.

Figures & tables

Explore similar work

Feb 10, 2026

ImprovEvolve: Basin-Hopping Meets LLM-Guided Evolutionary Search

LLM-guided evolutionary computation, most notably AlphaEvolve, has been remarkably successful in discovering novel mathematical constructions by solving challenging optimization problems. The standard approach is to evolve a monolithic program that directly outputs a candidate solution. We present ImprovEvolve, an algorithmic alternative that drastically reduces cognitive load on the LLM. Instead of prompting the model for an end-to-end optimizer, we evolve a program with three specialized operators of initialization, local improvement, and perturbation. We then approach the optimum by iteratively applying local improvements and intensity-scheduled perturbations, effectively driving a basin-hopping search with LLM-evolved subroutines. For hexagon in hexagon packing, ImprovEvolve discovers new state-of-the-art packings of 11, 12, 15, and 16 hexagons, and additionally for 14, 17, and 23 hexagons after minimal expert tuning of the generated code. For the second autocorrelation inequality, the evolved and human-scaled program pushes the lower bound from 0.96102 to 0.96258. For spherical codes, the ImprovEvolve program lowers the best-known maximum cosine for the majority of 90 randomly chosen diverse state-of-the-art spherical codes, achieving relative improvements of up to 2.4%.
Oct 2, 2026

FrugalEvo: Towards Cost-Aware LLM-Guided Program Evolution

LLM-guided evolutionary methods, such as AlphaEvolve, have emerged as powerful approaches for challenging computational optimization problems, such as circle packing. However, prior work typically optimizes performance gain over a fixed number of iterations. We argue that practical optimization should maximize gain per unit cost. To this end, we propose FrugalEvo, a cost-aware evolutionary framework where a stronger, higher-cost LLM explores solution strategies, and a cheaper LLM implements them and iteratively refines the resulting code. We also design a cache-efficient evolution process, where our harness and prompts maximize the sharing of prefixes across different evolution steps, to improve cache reuse. To measure solution quality throughout a fixed cost budget, we introduce Budget-Aware Area Under the Curve (BA-AUC), defined as the area under the best-so-far evaluation score curve over cumulative LLM cost, up to the budget. Across 10 mathematical and systems optimization tasks, FrugalEvo matches or surpasses state-of-the-art baselines, including OpenEvolve, ShinkaEvolve, AdaEvolve, and EvoX, in final solution quality and achieves higher BA-AUC on 9 tasks. It also achieves higher average performance than these baselines on 10 algorithmic optimization tasks from ALE-Bench-Lite. Notably, on circle packing, FrugalEvo achieves new state-of-the-art performance with GPT-5.6 Terra and Luna for only 1.68 USD and with GLM-5.3 and its Flash variant for only 0.55 USD, matching or surpassing all baselines, including multi-agent methods such as CORAL and SwarmResearch, which cost approximately 50 USD on average.
Aug 30, 2026

EvoRank: LLM-Guided Evolution of Multi-Objective Learning-to-Rank Pipelines

We present EvoRank, an open autonomous ranking engineer: an LLM-guided evolutionary loop that discovers complete Learning-to-Rank pipelines (features, models, losses, ensembles) for multi-objective e-commerce search. On the Expedia ICDM 2013 dataset, with relevance, conversion, and revenue as competing objectives, three independent runs each converge within 50 iterations (about ten dollars) on interpretable pipelines that beat an Optuna-tuned LambdaMART on 60k held-out queries, an advantage that persists at full data scale and places in the top 6 percent of the original competition. A first campaign, evolving only training objectives, builds the central design rule: it appeared to work on its selection fold (the small dataset it uses to pick winners) while a transfer audit, re-scoring winners on held-out data, showed the gains were almost entirely fitness noise (the randomness of its own scoring), and neither seeded domain knowledge nor richer diagnostic feedback changed what transferred. The deciding quantity is measurable in advance: search-space headroom relative to fitness noise. We package this as a headroom gate that predicts, before any LLM spend, whether the loop will pay off, and we release the system, the auditing tools, and a catalog of failure modes with their guardrails, so teams can apply the procedure to their own ranking stacks.