Robust Heuristic Algorithm Design with LLMs
Pantea Karimi, Dany Rouhana, Pooria Namyar, Siva Kesava Reddy Kakarla, Venkat Arun, Behnaz Arzani
TL;DR
The paper addresses the vulnerability of heuristic designs to edge-cases by proposing Robusta, a framework that augments LLM-based design with explanations and region-based specialization. It introduces a two-stage pipeline that analyzes where a base heuristic underperforms, generates region-specific explanations, and uses those explanations as suggestions to evolve specialized heuristics per region, forming an ensemble. Empirical results on traffic engineering demonstrate dramatic improvements in worst-case (approximately 28×) and substantial gains in average-case performance with runtime comparable to the baseline, validating the robustness-focused approach. This work highlights the potential of combining explanation-driven search with regional specialization to create more reliable heuristics and outlines concrete research directions for scaling, intent alignment, and broader networking deployment.
Abstract
We posit that we can generate more robust and performant heuristics if we augment approaches using LLMs for heuristic design with tools that explain why heuristics underperform and suggestions about how to fix them. We find even simple ideas that (1) expose the LLM to instances where the heuristic underperforms; (2) explain why they occur; and (3) specialize design to regions in the input space, can produce more robust algorithms compared to existing techniques~ -- ~the heuristics we produce have a $\sim28\times$ better worst-case performance compared to FunSearch, improve average performance, and maintain the runtime.
