View a PDF of the paper titled ReFrame: Automatic Problem Transformation for LLM-Based Heuristic Design, by Nguyen Thach and 2 other authors
Abstract:Evolutionary code search frameworks driven by large language models (LLMs) can now automate the design of strong heuristics for hard optimization problems such as vehicle routing problems, but every one of them still requires human experts to first decide how the problem will be represented and to write the surrounding program that the search then improves. Such decision is problem-specific and demanding for human experts, yet under-specified in reported results. In this paper, we show that this bottleneck can be substantially mitigated via problem transformation, where an LLM first proposes mappings from the problem at hand into several related problems it has good knowledge about, then an evolutionary code search evolves heuristics for these problems at once so that algorithmic ideas migrate between them. On seven combinatorial optimization problems, including the last-mile delivery routing problem on real operational data, heuristics produced this way are mostly competitive with or better than those designed within handcrafted program skeletons while requiring roughly 6x fewer lines of human-written scaffolding, though the most constrained one still needs handcrafted repair. Ultimately, our approach provides an intuitive means to reduce the manual efforts involved in the ever-growing field of evolutionary code search.
Submission history
From: Nguyen Thach [view email]
[v1]
Mon, 26 May 2025 17:21:16 UTC (872 KB)
[v2]
Tue, 1 Dec 2026 00:00:41 UTC (191 KB)
