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

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. EvoRank: LLM-Guided Evolution of Multi-Objective Learning-to-Rank Pipelines

    Aug 30, 2026Rayhan Patel, Shabaz PatelLearning to RankAutomated Algorithm Discovery