Heuristic Analysis from Source Code via Symbolic-Guided Optimization
Pantea Karimi, Siva Kesava Reddy Kakarla, Ryan Beckett, Santiago Segarra, Pooria Namyar, Mohammad Alizadeh, Behnaz Arzani
Abstract
Large-scale systems rely on heuristics to tackle NP-hard problems such as traffic engineering, virtual machine placement, and packet scheduling. While these heuristics are efficient, they can exhibit severe performance gaps under certain workloads, which leads to outages or costly over-provisioning. This risk has motivated tools that attempt to find inputs that cause worst-case underperformance. But, to use these tools in practice, heuristic developers need to rewrite heuristics as formal mathematical models-a process that is time-consuming, error-prone, and excludes many real-world algorithms.
We introduce MetaEase, a practical general-domain analyzer that directly analyzes a heuristic's source code and eliminates the need for formal modeling. MetaEase combines code-aware input generation with guided search to uncover worst-case scenarios efficiently, even for heuristics with randomness (e.g., various traffic engineering schemes) or non-convex behavior (e.g., bin packing for virtual machine placement).
In most cases, across five problem domains, and eight heuristics, MetaEase matched or exceeded MetaOpt, a state-of-the-art optimization-based heuristic analyzer; in the remainder, it remained competitive and often ran faster. Against black-box optimization baselines, it won in 88% of settings and ranked in the top two otherwise. MetaEase analyzed Arrow [89], a recent networking heuristic that none of the state-of-the-art heuristic analyzers can analyze. We revealed previously unknown performance gaps in Arrow.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 8580798e-df73-4a41-9929-78c7ee20259cBuilds on27
- Classic Meets Modern: a Pragmatic Learning-Based Congestion Control for the InternetSoheil Abbasloo, Chen-Yu Yen, H. Jonathan ChaoSIGCOMM 2020 · 257 citations
- CASSINI: Network-Aware Job Scheduling in Machine Learning ClustersSudarsanan Rajasekaran, Manya Ghobadi, Aditya AkellaNSDI 2024 · 144 citations
- SP-PIFO: Approximating Push-In First-Out Behaviors using Strict-Priority QueuesAlbert Gran Alcoz, Alexander Dietmüller, Laurent VanbeverNSDI 2020 · 140 citations
- Programmable packet scheduling with a single queueZhuolong Yu, Chuheng Hu, Jingfeng Wu, Xiao Sun et al.SIGCOMM 2021 · 100 citations
- Collie: Finding Performance Anomalies in RDMA SubsystemsXinhao Kong, Yibo Zhu, Huaping Zhou, Zhuo Jiang et al.NSDI 2022 · 86 citations
Related papers
- Finding Adversarial Inputs for Heuristics using Multi-level OptimizationPooria Namyar, Behnaz Arzani, Ryan Beckett, Santiago Segarra et al.NSDI 2024 · 16 citations
- Metha: Network Verifiers Need To Be Correct Too!Rüdiger Birkner, Tobias Brodmann, Petar Tsankov, Laurent Vanbever et al.NSDI 2021 · 20 citations
- Raha: A General Tool to Analyze WAN DegradationBehnaz Arzani, Sina Taheri, Pooria Namyar, Ryan Beckett et al.SIGCOMM 2025 · 1 citation
- MetaMuse: Algorithm Generation via Creative IdeationRuiying Ma, Chieh-Jan Mike Liang, Yanjie Gao, Francis Y. YanICLR 2026 · 4 citations
- A Formal Framework for Predicting Distributed System Performance Under FaultsZiwei Zhou, Si Liu, Zhou Zhou, Peixin Wang et al.FM 2026
