Man-Made Heuristics Are Dead. Long Live Code Generators!
By: Rohit Dwivedula , Divyanshu Saxena , Aditya Akella and more
Potential Business Impact:
Computers learn to make smart rules automatically.
Policy design for various systems controllers has conventionally been a manual process, with domain experts carefully tailoring heuristics for the specific instance in which the policy will be deployed. In this paper, we re-imagine policy design via a novel automated search technique fueled by recent advances in generative models, specifically Large Language Model (LLM)-driven code generation. We outline the design and implementation of PolicySmith, a framework that applies LLMs to synthesize instance-optimal heuristics. We apply PolicySmith to two long-standing systems policies - web caching and congestion control, highlighting the opportunities unraveled by this LLM-driven heuristic search. For caching, PolicySmith discovers heuristics that outperform established baselines on standard open-source traces. For congestion control, we show that PolicySmith can generate safe policies that integrate directly into the Linux kernel.
Similar Papers
Vulcan: Instance-Optimal Systems Heuristics Through LLM-Driven Search
Operating Systems
Makes computer programs run much faster automatically.
Planning of Heuristics: Strategic Planning on Large Language Models with Monte Carlo Tree Search for Automating Heuristic Optimization
Artificial Intelligence
AI learns to find best solutions faster.
Re-evaluating LLM-based Heuristic Search: A Case Study on the 3D Packing Problem
Artificial Intelligence
AI learns to solve hard packing puzzles.