OptiProxy-NAS: Optimization Proxy based End-to-End Neural Architecture Search

Bo Lyu, Yu Cui, Tuo Shi, Ke LiarXiv 2025 · DOI

Abstract

Neural Architecture Search (NAS) often struggles with discrete, non-differentiable search spaces or memory-intensive supernetworks. We present OptiProxy-NAS, a framework that reformulates NAS as a continuous optimization problem using a re-parameterized "optimization proxy." By enabling end-to-end gradient flow through a differentiable sampling process, OptiProxy-NAS navigates the architecture landscape with high efficiency. Our method achieves state-of-the-art results across 12 benchmarks, demonstrating up to 400% better efficiency than previous predictor-guided methods while maintaining the flexibility to optimize for non-differentiable real-world metrics like hardware latency.

Introduction: The NAS "Goldilocks" Problem

Neural Architecture Search (NAS) aims to automate the design of deep learning models, but existing approaches often face a trade-off between efficiency and flexibility. Predictor-guided methods use surrogate models to estimate performance, which is efficient but typically involves black-box optimization (e.g., Evolution or Reinforcement Learning) in discrete spaces, lacking direct gradient information. Conversely, Differentiable NAS (e.g., DARTS) utilizes supernetworks to enable gradient descent. However, these are memory-intensive and struggle to incorporate non-differentiable constraints such as hardware latency or power consumption.

OptiProxy-NAS bridges this gap by creating an end-to-end pipeline that is as efficient as gradient descent but as flexible as predictor-based methods.

The Optimization Proxy Framework

The core innovation of this work is the Optimization Proxy. Instead of using a model solely to predict accuracy, the authors reformulate the NAS space to be continuous, differentiable, and smooth.

Comparison of NAS paradigms: (a) Predictor-guided sampling, (b) Differentiable NAS, and the proposed Optimization proxy approach.

The framework consists of several key components:

  1. Proxy Representation: Discrete architecture parameters—$\alpha$ for operations and $\beta$ for topology—are relaxed into continuous probability distributions.
  2. Differentiable Sampling: To bridge the gap between continuous parameters and discrete architectures, the Gumbel-Softmax trick is employed. This re-parameterization allows gradients to flow through the sampling process.
  3. End-to-End Gradient Flow: Unlike standard predictor methods where the sampler and proxy are isolated, OptiProxy-NAS allows the evaluation metric's gradient to flow directly back to the architecture parameters $(\alpha, \beta)$.
  4. Iterative Refinement: The framework starts with a coarse estimation of the search space and progressively refines its proxy model (typically a Graph Convolutional Network) as it discovers more promising regions.

Experimental Setup

The authors benchmarked OptiProxy-NAS across 12 diverse tasks spanning computer vision and natural language processing:

  • Tabular Benchmarks: NAS-Bench-101 and NAS-Bench-201 (CIFAR-10, CIFAR-100, ImageNet16-120).
  • Surrogate Benchmarks: NAS-Bench-301 (DARTS-style space) and NAS-Bench-NLP (RNN search space).
  • Hardware-Aware Benchmarks: HW-NAS-Bench, covering 6 hardware devices with 12 different latency constraints.

Key Insights

  • Smoothing the Landscape: The NAS landscape is typically "spiky," where minor architectural changes cause massive performance shifts. By using a proxy model as the optimization objective, the search space becomes a smooth surface navigable by gradient descent.
  • Hardware Flexibility: Since the proxy is a model, a regression head can be added to predict latency. This allows simultaneous optimization for accuracy and hardware efficiency without requiring a differentiable hardware performance model.
  • Low-Fidelity Efficiency: The method remains effective even when the proxy is trained on "low-fidelity" data (e.g., models trained for only 5 epochs), significantly reducing total search time.

Results and Discussion

OptiProxy-NAS demonstrates significant improvements in both search efficiency and final model performance.

Search performance of OptiProxy-NAS on NAS-Bench-201 across CIFAR-10, CIFAR-100, and ImageNet16-120.
  • Efficiency Gains: On NAS-Bench-201, OptiProxy-NAS found the global optimum in just 100 queries, outperforming SOTA methods like DiNAS and AG-Net by 2x to 4x.
  • NLP and Hardware Dominance: The framework achieved a 400% efficiency improvement on NAS-Bench-NLP and consistently outperformed previous best results on HW-NAS-Bench, often using 50% fewer queries.
  • Minimal Overhead: The framework is lightweight, adding only approximately 20 seconds of runtime and 10MB of memory to the total pipeline (roughly 0.037% of the total cost).

Conclusion

While OptiProxy-NAS is highly efficient, its performance depends on the initial quality of the proxy model. In complex spaces with strict validity constraints, optimization can be challenging due to isomorphic graphs. Future work may explore parallelizing search groups to improve diversity and combining multiple proxy metrics (e.g., zero-cost proxies) to further enhance the optimization process.

Summary updated

BibTeX
@misc{lyu2025optiproxy,
  author = {Bo Lyu and Yu Cui and Tuo Shi and Ke Li},
  title = {{OptiProxy-NAS: Optimization Proxy based End-to-End Neural Architecture Search}},
  year = {2025},
  eprint = {2509.05656},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.05656},
}
Figure