Skip to main content
QUICK REVIEW

[Paper Review] Towards modular and programmable architecture search

Renato Negrinho, Darshan Patil|arXiv (Cornell University)|Sep 30, 2019
Machine Learning and Data ClassificationComputer Science11 citations
TL;DR

This paper introduces a formal, modular, and programmable language for defining search spaces over general computational graphs in neural architecture search. By decoupling search space definitions from search algorithms through a consistent interface, the framework enables composable, reusable, and extensible experimentation with diverse combinations of search spaces and algorithms—demonstrated by efficient benchmarking of state-of-the-art architectures and search methods with minimal implementation overhead.

ABSTRACT

Neural architecture search methods are able to find high performance deep learning architectures with minimal effort from an expert. However, current systems focus on specific use-cases (e.g. convolutional image classifiers and recurrent language models), making them unsuitable for general use-cases that an expert might wish to write. Hyperparameter optimization systems are general-purpose but lack the constructs needed for easy application to architecture search. In this work, we propose a formal language for encoding search spaces over general computational graphs. The language constructs allow us to write modular, composable, and reusable search space encodings and to reason about search space design. We use our language to encode search spaces from the architecture search literature. The language allows us to decouple the implementations of the search space and the search algorithm, allowing us to expose search spaces to search algorithms through a consistent interface. Our experiments show the ease with which we can experiment with different combinations of search spaces and search algorithms without having to implement each combination from scratch. We release an implementation of our language with this paper.

Motivation & Objective

  • To address the lack of programmability and modularity in existing neural architecture search systems.
  • To enable experts to define and compose search spaces over general computational graphs in a structured, reusable way.
  • To decouple search space implementation from search algorithm implementation for greater flexibility and extensibility.
  • To support systematic benchmarking of diverse search space and algorithm combinations without rewriting from scratch.
  • To provide a general-purpose framework that supports both established and novel architecture search workflows.

Proposed method

  • Proposes a formal language for encoding search spaces as computational graphs with modular components and hyperparameters.
  • Uses a hierarchical, recursive structure where each node represents a search space component with configurable hyperparameters.
  • Introduces a consistent interface to expose search spaces to any search algorithm, abstracting away implementation details.
  • Employs a stateful search framework where the searcher's state is updated via a `sample` and `update` interface, enabling algorithm-agnostic search space traversal.
  • Uses `random_specify` to assign values to independent hyperparameters, generating terminal architectures for evaluation.
  • Supports both conditional and independent hyperparameter spaces, enabling complex, structured search space definitions.

Experimental results

Research questions

  • RQ1Can a formal language be designed to express diverse neural architecture search spaces in a modular and composable way?
  • RQ2To what extent can search space and search algorithm implementations be decoupled using a consistent interface?
  • RQ3How efficiently can researchers experiment with new combinations of search spaces and algorithms using this framework?
  • RQ4Can the framework support the encoding and benchmarking of real-world search spaces from the literature with minimal effort?
  • RQ5Does the language enable reusable, extensible, and maintainable architecture search research workflows?

Key findings

  • The framework successfully encoded multiple benchmark search spaces from the literature, including Nasbench, Nasnet, and genetic search spaces, with minimal code duplication.
  • The decoupled interface allowed seamless integration of diverse search algorithms—random search, MCTS, SMBO, and regularized evolution—without modifying search space implementations.
  • Grid search experiments showed that the best architecture from the search phase achieved 94.59% test accuracy on CIFAR-10 using the Nasbench search space, outperforming other configurations.
  • Search algorithm comparisons revealed that SMBO and regularized evolution achieved higher mean validation accuracy (92.85% and 92.21% respectively) at 600 epochs, outperforming random search (92.29%) and MCTS (92.08%).
  • The framework enabled rapid prototyping and benchmarking of new search space and algorithm combinations, significantly reducing implementation overhead.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.