Robustness Starts with the Objective: Designing and Certifying Robust LLM-Generated Heuristics
Pantea Karimi, Roozbeh Bostandoost, Dany Rouhana, Siva Kesava Reddy Kakarla, Pooria Namyar, Mohammad Alizadeh, Venkat Arun, Behnaz Arzani
Abstract
LLMs are increasingly used to design heuristics for computer systems. However, most synthesis frameworks evaluate candidates by their average performance, which can mask severe regressions on specific workloads. Even adding adversarial training inputs doesn't eliminate these regressions, and percentile objectives (e.g., optimizing for the 95th percentile) overlook how severe regressions can be beyond the selected threshold. We present TAILOR, a framework that guides LLM synthesis using the Conditional Value at Risk (CVaR) of the cost difference between each candidate and an existing baseline on the same workload. This paired CVaR measures the average difference over the worst fraction of workloads. We show that a negative paired CVaR guarantees improvements in both average performance and tail optimality gap relative to the unknown optimum, without ever computing that optimum. We find that TAILOR achieves the best mean--tail trade-off among the synthesis objectives we evaluate across three case studies: Azure GPU batch admission, Azure VM packing, and server placement. Tested across seven diverse optimization benchmarks, TAILOR produces heuristics that are certified with 99% confidence to improve both average performance and tail optimality gaps over the baseline in six of them. On these six benchmarks, TAILOR also outperforms known robust, human-designed alternatives in the tail while achieving better or comparable average-performance improvement over the baseline.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CL, cs.DC, cs.PF
Related papers
LARK: Lean-Assisted Reasoning for LLM-Generated GPU Kernels
Shared title terminologycs.AIZixi Zhang, Jiayi Nie, Haoran Wu et al.
Concept-Guided Prompting Strategies Increase Diversity in LLM-Generated Recipe Populations
Shared title terminologycs.AIStuart Farmer
Scalar Tuned Lens Summaries Offer Limited Incremental Value for Mid-Generation Abstention
Shared title terminologycs.AIKhurram Khalil, Khaza Anuarul Hoque
The Effect of Security-Focused Prompts on Reported Findings: A Controlled Experiment on 400 AI-Generated Web Applications
Shared title terminologycs.AIDarko Andročec
Integrating Generative Artificial Intelligence with Learning Style Models: Opportunities, Challenges, and Future Directions
Shared title terminologycs.AIMalithi Nawarathne, Prasanna Haddela, Nuwan Kodagoda
Trained on Harm, Still Refusing: A Training-Time Defense for Code Generation
Shared title terminologycs.AIMiaoqing Tian, Ruohan Li, Qian Lu et al.