[Paper Review] Deep Neural Architecture Search with Deep Graph Bayesian Optimization
This paper proposes NASGBO, a graph Bayesian optimization framework that uses a Bayesian graph neural network (GNN) as a surrogate model to automatically extract architectural features for neural architecture search (NAS). By modeling neural networks as attributed graphs and leveraging GNNs to capture structural and feature-based representations, NASGBO achieves faster convergence and superior performance over existing BO and evolutionary methods, especially in reducing computation cost while finding better architectures.
Bayesian optimization (BO) is an effective method of finding the global optima of black-box functions. Recently BO has been applied to neural architecture search and shows better performance than pure evolutionary strategies. All these methods adopt Gaussian processes (GPs) as surrogate function, with the handcraft similarity metrics as input. In this work, we propose a Bayesian graph neural network as a new surrogate, which can automatically extract features from deep neural architectures, and use such learned features to fit and characterize black-box objectives and their uncertainty. Based on the new surrogate, we then develop a graph Bayesian optimization framework to address the challenging task of deep neural architecture search. Experiment results show our method significantly outperforms the comparative methods on benchmark tasks.
Motivation & Objective
- To address the limitations of Gaussian process-based Bayesian optimization in neural architecture search, particularly the reliance on handcrafted similarity metrics and poor scalability.
- To develop a surrogate model that can automatically learn meaningful representations from neural architecture structures without human-designed features.
- To reduce the computational cost of Bayesian optimization in NAS by replacing cubic-time GPs with linear-time Bayesian GNNs.
- To enable efficient exploration of larger search spaces by leveraging graph representation learning and uncertainty-aware prediction.
- To improve search efficiency and accuracy in NAS by integrating evolutionary strategies with a learnable, scalable surrogate model.
Proposed method
- Model neural architectures as attributed graphs, where nodes represent layers and edges represent connections, with features encoding layer types and hyperparameters.
- Use a graph neural network (GNN) to learn node and edge embeddings from the attributed graph, capturing structural and semantic relationships.
- Apply a pooling layer to aggregate node and edge embeddings into a global graph representation for the entire architecture.
- Feed the global representation into a multi-layer perceptron (MLP) to predict the performance (e.g., accuracy or loss) of the architecture.
- Integrate a Bayesian linear regression (BLR) layer on top of the MLP to estimate predictive uncertainty, enabling active acquisition in Bayesian optimization.
- Formulate a graph Bayesian optimization framework that iteratively selects the most promising architectures based on uncertainty-aware acquisition functions, using the Bayesian GNN as the surrogate.
Experimental results
Research questions
- RQ1Can a learnable, data-driven surrogate model outperform handcrafted similarity metrics in Bayesian optimization for neural architecture search?
- RQ2Can graph neural networks effectively extract meaningful architectural features from deep neural networks for performance prediction?
- RQ3Does replacing Gaussian processes with Bayesian GNNs significantly improve the scalability and efficiency of Bayesian optimization in NAS?
- RQ4Can the proposed framework discover better neural architectures with fewer evaluations compared to state-of-the-art methods?
- RQ5How does the use of learned architectural embeddings affect the convergence speed and final performance of NAS?
Key findings
- NASGBO achieved the best test set performance on Cifar10, Fashion-MNIST, MNIST, and Slice datasets, outperforming NASBOT, TreeBO, and SEAS.
- On the Fashion-MNIST dataset, NASGBO discovered a simpler architecture with only two residual blocks, achieving lower classification error than NASNM (five blocks) and NASBOT (no residual blocks).
- On the Slice dataset, NASGBO produced a more compact architecture with optimal skip connections, achieving the lowest RMSE among all compared methods.
- NASGBO converged faster than NASBOT on both CNN and MLP benchmarks, particularly showing improved sample efficiency on Cifar10 and Slice datasets.
- The Bayesian GNN surrogate reduced training and prediction time from O(N³) with GPs to linear time, enabling scalable exploration of larger search spaces.
- The method demonstrated robustness across diverse architectures and tasks, consistently outperforming state-of-the-art approaches in terms of accuracy and sample efficiency.
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.