TL;DR
When deploying AI across everything from cloud GPUs to tiny IoT sensors, maintaining a bespoke model for every single scenario is an operational nightmare. This paper shows how to pick a tiny "portfolio" of just a few models from a candidate pool so that, together, they satisfy as many strict, multi-constraint deployment scenarios as possible. By framing this puzzle as a classic coverage problem, a remarkably simple greedy algorithm gets you provably close to the best possible model lineup.
What Problem Does This Paper Address?
Imagine shipping a vision feature across a fleet of devices. Cloud servers want 85% accuracy under 200ms; a drone's Edge TPU needs 75% accuracy under 50ms and 512MB of RAM; a tiny microcontroller needs to sip millijoules of energy. Each scenario is a deployment profile—a strict bundle of coupled constraints (accuracy, latency, memory, energy) that one single model must satisfy simultaneously.
Keeping hundreds of specialist checkpoints alive is too expensive to test, store, and monitor. Yet standard Hardware-Aware Neural Architecture Search (HW-NAS) and multi-objective Pareto approaches fall short here. A model sitting prettily on the accuracy–latency Pareto frontier might still blow past a device's memory ceiling, rendering it useless for that profile. Practitioners don't actually want a massive Pareto curve of trade-offs; they want a small budget of $K$ models (say, 1 to 5) that collectively cover the maximum number of real-world deployment profiles.
Methods
The author introduces Deployment Portfolio Selection. The novel twist here is operational: instead of inventing a new neural architecture search algorithm, we take an existing, pre-measured archive of $N$ models and treat model retention as a combinatorial subset-selection problem.
For every deployment profile, we check which candidate models satisfy all of its constraints simultaneously, creating a binary "hit map" of feasibility. Once materialized this way, picking $K$ models to maximize covered profiles transforms into the Weighted Maximum Coverage problem.
Because this objective is monotone submodular (adding a model never hurts, and exhibits diminishing returns), we can lean on classical optimization theory:
- Greedy Portfolio Selection: Iteratively pick whichever model covers the highest weight of currently uncovered profiles. Even though exact optimization is NP-hard, classical theory guarantees this dead-simple greedy loop achieves at least $(1 - 1/e) \approx 63.2\%$ of the optimal coverage.
- Sample-Then-Optimize: If you don't know every future deployment request, you can sample $n$ profiles from a demand distribution and run Greedy on the empirical average. The author proves a finite-sample generalization bound scaling logarithmically with archive size ($\ln N$), meaning you don't need huge sample sizes to pick a portfolio that generalizes to unseen deployment profiles.
Datasets
Rather than training networks from scratch, the study evaluates offline model selection using HW-NAS-Bench (built on the NAS-Bench-201 search space), an archive of $N = 15,625$ architectures (10,926 valid candidates when using EdgeTPU). Models are paired with task accuracies from CIFAR-10 (with CIFAR-100 and ImageNet16-120 explored in the appendix) alongside real hardware latency and energy measurements.
To test the framework, the author builds a synthetic generator spanning 18 deployment profile families, combining three heterogeneous device pairs (EdgeTPU+FPGA, EdgeGPU+Raspi4, EdgeGPU+Eyeriss), three constraint strictness schedules, and an energy constraint toggle.
Key Insights and Ideas
- Why Pareto baselines fail isn't about the frontier—it's the post-selection: When restricting the greedy algorithm to only pick from Pareto-optimal models, it loses 0.000 coverage points at $K=3$. Standard Pareto baselines fail wildly because their diversity heuristics pick models clustered in similar niches rather than models that unlock new feasibility bundles.
- Bundled optimization shines when budgets are tiny and constraints are tight: Direct coverage optimization matters most at $K = 1\text{–}3$ and when profiles are hard to satisfy ("low coverability"). When you try to squash multiple constraints into a single scalar score (like fixed scalarization baselines), marginally "good" models miss hard threshold cutoffs.
- Simpler code can beat "clever" code at small $K$: Submodular optimization usually relies on "Lazy Greedy" (CELF) using max-heaps to skip redundant math. Surprisingly, for small portfolios ($K \le 5$) on a 15k-model archive, heap-maintenance overhead actually makes Lazy Greedy slower than a naive plain Greedy loop!
Key Results
Across the 18-family sweep (evaluating conditional coverage—the fraction of actually satisfiable test profiles covered):
- Small-$K$ Dominance: At $K=1$, Greedy averages 97.7% conditional test coverage compared to 44.1% for a fixed scalarization baseline (FewForMany), winning in 10 of 18 families (mean gap of +53.6 percentage points). At $K=3$, Greedy maintains an 11.5-point average lead, jumping to a 21.3-point lead in the harder, below-median coverability families.
- Rapid Saturation: By $K=5$, just five well-chosen models cover 100% of feasible CIFAR-10 test profiles across all 18 families under uniform demand, erasing the gap with scalarization. (Also note: tuning scalarization weights on extra validation profiles nearly matches Greedy under uniform demand, though it requires extra tuning overhead).
- Non-Uniform Demand: When profiles are weighted by business priority, rarity/hardness, or Zipfian popularity, Greedy hits 100% weighted conditional coverage across all 18 families by $K=3$, beating FewForMany (which scores 76.5%–89.0%) and crushing Pareto-$K$ (1.2%–19.4%) and Top-$K$ Accuracy (0%).
Limitations and Future Work
The framework assumes a static archive with deterministic, noiseless hardware measurements and i.i.d. deployment requests. In the real world, latency and energy fluctuate with thermal throttling, firmware updates, and background load, and customer hardware demands shift over time. Furthermore, the empirical results rely on a single, relatively small architecture search space (NAS-Bench-201, which lacks peak-memory metrics). Validating this approach on larger modern model zoos, real-device remeasurements, and formulating probabilistic or distributionally robust coverage under measurement uncertainty are key next steps.
Summary updated