Latent Heuristic Search: Continuous Optimization for Automated Algorithm Design
Not on the map. Why?
Abstract (arXiv)
The integration of Large Language Models (LLMs) into evolutionary frameworks has established a new paradigm for automated heuristic discovery. Despite their promise, these methods typically search in the discrete space of program syntax, relying on stochastic sampling to navigate a highly non-convex optimization landscape. This work proposes a continuous heuristic discovery framework that shifts optimization to a learned latent manifold. We employ an encoder to map discrete programs into continuous embeddings and train a differentiable surrogate model to predict performance, enabling gradient-based search. To regularize the optimization trajectory, an invertible normalizing flow maps these embeddings to a structured Gaussian prior, where we perform gradient ascent. The resulting optimized latent vectors are projected through a learned mapper into soft prompts, which condition a frozen LLM to synthesize novel executable heuristics. We evaluate the proposed method on the Traveling Salesman Problem (TSP), the Capacitated Vehicle Routing Problem (CVRP), the Knapsack Problem (KSP), and Online Bin Packing (OBP). Empirical results demonstrate that continuous latent-space optimization achieves performance competitive with state-of-the-art discrete evolutionary baselines while offering a complementary methodological alternative for automated algorithm design. The implementation code is available at urlhttps://github.com/cheikh025/LHS.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 15 of its 23 references that are in the map. First posted on arXiv 16 May 2026.
Builds on
15 of 23 references.
References · 15
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2016Density estimation using Real NVPcited by 2,042
- 2019Normalizing Flows for Probabilistic Modeling and Inferencecited by 1,323
- 2014NICE: Non-linear Independent Components Estimationcited by 1,058
- 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 867
- 2016The CMA Evolution Strategy: A Tutorialcited by 377
- 2024ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolutioncited by 276
- 2024Evolution of Heuristics: Towards Efficient Automatic Algorithm Design Using Large Language Modelcited by 268
- 2020Hybrid Genetic Search for the CVRP: Open-Source Implementation and SWAP* Neighborhoodcited by 125
- 2025Monte Carlo Tree Search for Comprehensive Exploration in LLM-Based Automatic Heuristic Designcited by 109
- 2024HSEvo: Elevating Automatic Heuristic Design with Diversity-Driven Harmony Search and Genetic Algorithm Using LLMscited by 73
- 2021Learning to Synthesize Programs as Interpretable and Generalizable Policiescited by 59
3 more
- 2024LLM4AD: A Platform for Algorithm Design with Large Language Modelcited by 33
- 2022Controllable Text Generation via Probability Density Estimation in the Latent Spacecited by 27
- 2024Searching Latent Program Spacescited by 20
Built on by
Not cited yet.