[Paper Review] Neural Architecture Optimization with Graph VAE
This paper proposes NGAE, a gradient-based neural architecture search framework that uses a graph variational autoencoder (GVAE) with graph neural networks to embed neural architectures into a continuous latent space. By jointly training a performance predictor and a complexity predictor in an end-to-end manner, NGAE enables efficient optimization for architectures with both high accuracy and low computational cost, achieving state-of-the-art results on CIFAR-10 with minimal accuracy loss and significant complexity reduction.
Due to their high computational efficiency on a continuous space, gradient optimization methods have shown great potential in the neural architecture search (NAS) domain. The mapping of network representation from the discrete space to a latent space is the key to discovering novel architectures, however, existing gradient-based methods fail to fully characterize the networks. In this paper, we propose an efficient NAS approach to optimize network architectures in a continuous space, where the latent space is built upon variational autoencoder (VAE) and graph neural networks (GNN). The framework jointly learns four components: the encoder, the performance predictor, the complexity predictor and the decoder in an end-to-end manner. The encoder and the decoder belong to a graph VAE, mapping architectures between continuous representations and network architectures. The predictors are two regression models, fitting the performance and computational complexity, respectively. Those predictors ensure the discovered architectures characterize both excellent performance and high computational efficiency. Extensive experiments demonstrate our framework not only generates appropriate continuous representations but also discovers powerful neural architectures.
Motivation & Objective
- To address the limitations of existing gradient-based NAS methods that fail to model both architectural structure and computational complexity.
- To enable efficient, continuous-space optimization of neural architectures by learning a smooth, disentangled latent space using graph VAE and GNNs.
- To jointly optimize for both model performance and computational efficiency through end-to-end training of performance and complexity predictors.
- To improve generalization and search efficiency by integrating predictive models directly into the VAE framework, avoiding separate training pipelines.
Proposed method
- Employ a graph neural network (GNN)-based encoder to map discrete neural architecture representations into a continuous latent space.
- Use a variational autoencoder (VAE) framework with KL regularization to ensure a smooth and well-structured latent space for optimization.
- Train two separate regression models (predictors) in an end-to-end manner: one for predicting model accuracy and another for predicting FLOPs (computational complexity).
- Optimize the latent representations using stochastic gradient ascent to maximize the combined output of the performance and complexity predictors.
- Use a GNN-based decoder to reconstruct valid neural architectures from the optimized latent vectors.
- Jointly train the encoder, decoder, and both predictors via backpropagation to ensure consistency and generalization across the search space.
Experimental results
Research questions
- RQ1Can a graph VAE with GNNs effectively learn a continuous, smooth, and disentangled latent space for neural architecture representation?
- RQ2Can end-to-end training of performance and complexity predictors in the latent space lead to better architecture search efficiency and generalization compared to separate training?
- RQ3Does incorporating computational complexity as a predictive objective improve the practicality of discovered architectures without sacrificing performance?
- RQ4How does the smoothness of the latent space enable effective gradient-based optimization for neural architecture search?
- RQ5Can the proposed framework discover novel, high-performing, and efficient architectures that outperform existing NAS methods on standard benchmarks?
Key findings
- The reconstruction accuracy of the graph VAE increased from 82.83% to 99.99% after 300 training epochs, indicating high-quality latent space learning.
- The predictive model for accuracy achieved a strong fit, with predicted and true accuracies closely aligned (R² close to 1), as shown in the test set evaluation.
- The RMSE of the performance predictor converged to a small value on both training and test data, confirming robust generalization.
- The predicted accuracy during inference using stochastic gradient ascent showed stable convergence over multiple steps, outperforming one-step updates used in prior methods.
- NGAE discovered architectures with top-3 performance on CIFAR-10, achieving accuracy comparable to NGAE without complexity predictor but with significantly reduced FLOPs.
- The ablation study confirmed that jointly training the VAE and predictors improved search quality over methods that train them separately, such as D-VAE with Bayesian optimization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.