Lune

NSDI2024Top-tier venue

Finding Adversarial Inputs for Heuristics using Multi-level Optimization

Pooria Namyar, Behnaz Arzani, Ryan Beckett, Santiago Segarra, Himanshu Raj, Umesh Krishnaswamy, Ramesh Govindan, Srikanth Kandula

Abstract

Production systems use heuristics because they are faster or scale better than their optimal counterparts. Yet, practitioners are often unaware of the performance gap between a heuristic and the optimum or between two heuristics in realistic scenarios. We present MetaOpt, a system that helps analyze heuristics. Users specify the heuristic and the optimal (or another heuristic) as input, and MetaOpt automatically encodes these efficiently for a solver to find performance gaps and their corresponding adversarial inputs. Its suite of built-in optimizations helps it scale its analysis to practical problem sizes. To show it is versatile, we used MetaOpt to analyze heuristics from three domains (traffic engineering, vector bin packing, and packet scheduling). We found a production traffic engineering heuristic can require 30% more capacity than the optimal to satisfy realistic demands. Based on the patterns in the adversarial inputs MetaOpt produced, we modified the heuristic to reduce its performance gap by 12.5×\times. We examined adversarial inputs to a vector bin packing heuristic and proved a new lower bound on its performance.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Programmable packet scheduling with a single queue cites SP-PIFO: Approximating Push-In First-Out Behaviors using Strict-Priority Queues
  • Near-optimal Online Traffic Engineering cites Contracting Wide-area Network Topologies to Solve Flow Problems Quickly
  • Heuristic Analysis from Source Code via Symbolic-Guided Optimization cites SP-PIFO: Approximating Push-In First-Out Behaviors using Strict-Priority Queues
  • Heuristic Analysis from Source Code via Symbolic-Guided Optimization cites Programmable packet scheduling with a single queue
  • Heuristic Analysis from Source Code via Symbolic-Guided Optimization cites Raha: A General Tool to Analyze WAN Degradation
  • Raha: A General Tool to Analyze WAN Degradation cites Contracting Wide-area Network Topologies to Solve Flow Problems Quickly
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Raha: A General Tool to Analyze WAN DegradationBehnaz Arzani, Sina Taheri, Pooria Namyar, Ryan Beckett et al.SIGCOMM 2025 · 1 citation
  2. Near-optimal Online Traffic EngineeringArvin Ghavidel, Pooria Namyar, Nikolai Matni, Walter Willinger et al.SIGCOMM 2026
  3. Heuristic Analysis from Source Code via Symbolic-Guided OptimizationPantea Karimi, Siva Kesava Reddy Kakarla, Ryan Beckett, Santiago Segarra et al.NSDI 2026

Builds on16

  1. Protean: VM Allocation Service at ScaleOri Hadary, Luke Marshall, Ishai Menache, Abhisek Pan et al.OSDI 2020 · 189 citations
  2. SP-PIFO: Approximating Push-In First-Out Behaviors using Strict-Priority QueuesAlbert Gran Alcoz, Alexander Dietmüller, Laurent VanbeverNSDI 2020 · 140 citations
  3. Contracting Wide-area Network Topologies to Solve Flow Problems QuicklyFiras Abuzaid, Srikanth Kandula, Behnaz Arzani, Ishai Menache et al.NSDI 2021 · 101 citations
  4. Programmable packet scheduling with a single queueZhuolong Yu, Chuheng Hu, Jingfeng Wu, Xiao Sun et al.SIGCOMM 2021 · 100 citations
  5. Looking Beyond GPUs for DNN Scheduling on Multi-Tenant ClustersJayashree Mohan, Amar Phanishayee, Janardhan Kulkarni, Vijay ChidambaramOSDI 2022 · 91 citations

Related papers

  1. Solving Large-Scale Granular Resource Allocation Problems Efficiently with POPDeepak Narayanan, Fiodar Kazhamiaka, Firas Abuzaid, Peter Kraft et al.SOSP 2021 · 56 citations
  2. Learning-Augmented Algorithms for MTS with Bandit Access to Multiple PredictorsMatei Gabriel Cosa, Marek EliásICML 2025
  3. Melody: Toward Resource-Efficient Packet Header Vector Encoding on Programmable SwitchesXiang Chen, Hongyan Liu, Qingjiang Xiao, Jianshan Zhang et al.INFOCOM 2023 · 2 citations
  4. Contra: A Programmable System for Performance-aware RoutingKuo-Feng Hsu, Ryan Beckett, Ang Chen, Jennifer Rexford et al.NSDI 2020 · 104 citations
  5. Precise Data Center Traffic Engineering with Constrained Hardware ResourcesShawn Shuoshuo Chen, Keqiang He, Rui Wang, Srinivasan Seshan et al.NSDI 2024 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines