Abstract
Neural Architecture Search (NAS) automates the design of deep neural networks but is often hindered by extreme computational costs. This paper introduces a framework that leverages network morphism—a technique that alters a network's architecture while preserving its functionality—to enable efficient search. By combining network morphism with a novel Bayesian Optimization (BO) strategy, including an edit-distance kernel and tree-structured acquisition function, the proposed system, Auto-Keras, significantly reduces search time. Experimental results on benchmark datasets demonstrate that Auto-Keras outperforms state-of-the-art NAS methods in both efficiency and accuracy.
Introduction: The Cost of Automation
The manual design of deep learning architectures is a labor-intensive process requiring significant expertise. Neural Architecture Search (NAS) aims to automate this, yet traditional approaches like Reinforcement Learning or Evolutionary algorithms are computationally prohibitive, often requiring thousands of GPU hours to train candidate models from scratch.
To address this, the authors propose using network morphism to "warm-start" the training of new architectures. Instead of initializing a new model with random weights, network morphism transforms an existing, trained model into a more complex one (e.g., by adding a layer or increasing layer width) such that the initial output remains identical. This allows the new architecture to start with the performance of its predecessor, drastically shortening the subsequent training time.
Methodology: Guiding Morphism with Bayesian Optimization
The core challenge in using network morphism for NAS is efficiently exploring the vast space of possible architectural edits. The authors propose a Bayesian Optimization framework to guide this exploration.
Network Morphism Operations
Network morphism allows for several types of architectural changes. As shown in Figure 1, these include widening layers (increasing the number of filters) or inserting new layers. These operations are designed to be "function-preserving," meaning the new, larger network initially produces the same output as the original for any given input.
The Edit-Distance Kernel
Standard Bayesian Optimization operates in Euclidean space, which is unsuitable for the discrete, graph-based nature of neural networks. To solve this, the authors developed a novel edit-distance kernel for Gaussian Processes. This kernel calculates the minimum number of morphism operations (edits) required to transform one network into another. This metric allows the BO system to predict the performance of unexplored architectures based on their "distance" from previously evaluated models.
Tree-Structured Search
Because each morphism operation creates a new branch in the search space, the authors implemented a tree-structured search algorithm. Using a combination of A* search and Simulated Annealing, the system navigates this tree to identify the most promising next architecture to evaluate, balancing exploration of new structures with exploitation of known high-performing designs.
The Auto-Keras System
The proposed framework is implemented in Auto-Keras, an open-source AutoML system. Auto-Keras is designed for accessibility, featuring parallel execution where the searcher runs on the CPU while model training occurs on the GPU. The system also adjusts its search strategy based on the user's specific GPU memory limits, making it viable for local workstations rather than just massive cloud clusters.
Key Results and Performance
The authors evaluated Auto-Keras against several baselines, including NASBOT and SEAS, on datasets like MNIST, CIFAR-10, and Fashion-MNIST.
As illustrated in Figure 5, Auto-Keras (AK) achieves a lower error rate much faster than simple search strategies. On the CIFAR-10 dataset, with a 12-hour time limit on a single GPU, Auto-Keras reached an 11.44% error rate, outperforming NASBOT (12.30%). Furthermore, the "intelligent" guidance provided by the BO kernel was proven essential; a version of the system using simple Breadth-First Search (BFS) performed significantly worse, ending with a 13.84% error rate. For fully tuned deployments, the system achieved a state-of-the-art 3.6% error rate on CIFAR-10.
Conclusion and Future Directions
Auto-Keras demonstrates that combining network morphism with Bayesian Optimization can make NAS both efficient and accessible. By reducing the need for training from scratch, the system finds competitive architectures in a fraction of the time. Future work aims to extend this framework to recurrent neural networks (RNNs), joint optimization of hyperparameters, and more complex computer vision tasks like object detection.
Summary updated