Multi-objective Differentiable Neural Architecture Search

Rhea Sanjay Sukthanker, Arber Zela, Benedikt Staffler, Samuel Dooley, Josif Grabocka, Frank Hutter

TL;DR

MODNAS is a novel differentiable Neural Architecture Search (NAS) algorithm designed to find the entire Pareto front of optimal architectures—balancing accuracy, latency, and energy—across multiple hardware devices in a single search run. By utilizing a hypernetwork conditioned on user preferences and hardware features, it enables zero-shot transfer to new, unseen devices without requiring additional search or fine-tuning.

The Challenge of Pareto Front Profiling

In real-world deployments, neural networks must navigate strict trade-offs. A model destined for a mobile phone needs to be exceptionally fast, while one for an embedded sensor must be highly energy-efficient. Finding these "Pareto optimal" solutions—where improving one metric inherently degrades another—is the primary goal of Multi-Objective Optimization (MOO).

Current NAS approaches handle this inefficiently. Most methods demand a separate, computationally expensive search run for every specific hardware constraint or new device. If you have 20 different devices and 5 distinct latency requirements, you might need 100 separate search runs. This paper tackles the challenge of Pareto front profiling: discovering a diverse set of optimal architectures for many devices and preferences simultaneously, breaking the linear scaling of computational costs.

The MODNAS Framework

To solve this, the authors introduce MODNAS, which integrates several sophisticated components into a unified, differentiable framework.

Overview of the MODNAS framework
  • MetaHypernetwork: Instead of learning a single set of architecture parameters, MODNAS trains a hypernetwork. This network takes two inputs: a preference vector (e.g., prioritizing accuracy over latency) and hardware features (embeddings representing a specific device). It outputs the architectural distribution tailored to that specific scenario.
  • Weight-Sharing Supernet: To avoid training thousands of models from scratch, the system uses a "one-shot" supernet. This allows MODNAS to estimate the accuracy of different architectures by activating specific paths within a single, large network.
  • MetaPredictor: Because hardware metrics like latency and energy consumption are cheap to evaluate but not naturally differentiable, the authors pre-train small regression models. These MetaPredictors allow gradients to flow from hardware objectives back into the hypernetwork.
  • Multiple Gradient Descent (MGD): To update the hypernetwork, the authors employ MGD. Unlike standard gradient descent that simply sums losses, MGD finds a common descent direction ensuring all objectives (across all devices and preferences) improve simultaneously. This prevents any single device or metric from dominating the search.
  • ReinMax Sampler: A state-of-the-art discrete sampler bridges the gap between continuous hypernetwork outputs and the discrete nature of neural architectures, providing more stable gradients than traditional methods like Gumbel-Softmax.

Key Insights

  • From $O(T)$ to $O(1)$ Scaling: Traditional methods scale linearly with the number of devices ($T$). MODNAS reduces this to a constant cost. Once the hypernetwork is trained, generating an optimal model for a new device is nearly instantaneous.
  • Zero-Shot Transferability: Because the hypernetwork learns the underlying relationship between hardware features and optimal architectures, it can generalize. Training on just 2 devices allows the model to perform well on 17 other "unseen" test devices.
  • Joint Distribution Modeling: The core innovation is treating architecture search not as a hunt for a single point, but as learning a mapping from a (Preference, Device) pair directly to an Architecture.

Experimental Results

The researchers evaluated MODNAS across four qualitatively different search spaces, including NAS-Bench-201, MobileNetV3 on ImageNet-1k, Hardware-Aware-Transformer (HAT), and HW-GPT-Bench.

Performance comparison across 19 devices on NAS-Bench-201
  • Superior Hypervolume: MODNAS consistently achieved higher "Hypervolume" (a metric measuring the quality and diversity of the Pareto front) than baselines like NSGA-II, Random Search, and Bayesian Optimization.
  • Massive Efficiency Gains: On the NAS-Bench-201 benchmark, MODNAS required only 25.25 GPU hours to find Pareto fronts for 19 devices. In stark contrast, standard MOO baselines required over 370 hours, and constrained differentiable methods like MetaD2A took over 8,600 hours.
  • State-of-the-Art Performance: On the MobileNetV3 space, MODNAS outperformed the popular "Once-for-All" (OFA) + HELP framework across all 12 tested devices. It also successfully navigated the non-convex Pareto fronts of GPT-style models, matching or surpassing specialized baselines in just a 6-hour search.

Limitations and Future Directions

While highly effective, MODNAS relies on MetaPredictors; if these differentiable proxies do not align perfectly with ground-truth hardware performance, the search may yield sub-optimal results. Additionally, like all gradient-based NAS, there is a risk of collapsing into local optima, and the method still requires a predefined search space (the supernet).

Future work could extend MODNAS beyond hardware metrics to other critical, computationally expensive objectives like model fairness or robustness, where navigating trade-offs is equally vital.

Summary updated

BibTeX
@inproceedings{sukthanker2025multi,
  author = {Rhea Sanjay Sukthanker and Arber Zela and Benedikt Staffler and Samuel Dooley and Josif Grabocka and Frank Hutter},
  title = {{Multi-objective Differentiable Neural Architecture Search}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=9mjZ800m7Y},
}
Figure