# Robustness Starts with the Objective: Designing and Certifying Robust LLM-Generated Heuristics

DevFeed: [Robustness Starts with the Objective: Designing and Certifying Robust LLM-Generated Heuristics](<https://devfeed.tech/articles/robustness-starts-with-the-objective-designing-and-certifying-robust-llm-generated-heuristics-113777.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.00504>)

Author: Pantea Karimi, Roozbeh Bostandoost, Dany Rouhana, Siva Kesava Reddy Kakarla, Pooria Namyar, Mohammad Alizadeh, Venkat Arun, Behnaz Arzani

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>)

Topics: [AI Engineering](<https://devfeed.tech/topics/ai-engineering.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [AI Infrastructure](<https://devfeed.tech/topics/ai-infrastructure.md>)

Tags: [adversarial](<https://devfeed.tech/tags/adversarial.md>), [azure](<https://devfeed.tech/tags/azure.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [better](<https://devfeed.tech/tags/better.md>), [case-studies](<https://devfeed.tech/tags/case-studies.md>), [computer](<https://devfeed.tech/tags/computer.md>), [conditional](<https://devfeed.tech/tags/conditional.md>), [confidence](<https://devfeed.tech/tags/confidence.md>), [cost](<https://devfeed.tech/tags/cost.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [cs-pf](<https://devfeed.tech/tags/cs-pf.md>), [framework](<https://devfeed.tech/tags/framework.md>), [gap](<https://devfeed.tech/tags/gap.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [llm](<https://devfeed.tech/tags/llm.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [optimum](<https://devfeed.tech/tags/optimum.md>), [packing](<https://devfeed.tech/tags/packing.md>), [performance](<https://devfeed.tech/tags/performance.md>), [regressions](<https://devfeed.tech/tags/regressions.md>), [robust](<https://devfeed.tech/tags/robust.md>), [robustness](<https://devfeed.tech/tags/robustness.md>)

## AI overview

TAILOR guides LLM-generated heuristics by minimizing paired CVaR: the average cost difference from an existing baseline over the worst fraction of workloads. Unlike average-performance objectives, this targets severe regressions; unlike percentile objectives, it accounts for their severity beyond a threshold. The authors report that negative paired CVaR guarantees improvement in average performance and tail optimality gap relative to the unknown optimum, without computing that optimum. Across three case studies, TAILOR had the best mean-tail trade-off among evaluated synthesis objectives. On six of seven optimization benchmarks, its heuristics were certified with 99% confidence to improve both measures over the baseline, and they outperformed known robust, human-designed alternatives in the tail while delivering better or comparable average improvement.

## Source excerpt

arXiv:2611.00504v1 Announce Type: cross 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.