AdaNet: Adaptive Structural Learning of Artificial Neural Networks

Corinna Cortes, Xavi Gonzalvo, Vitaly Kuznetsov, Mehryar Mohri, Scott Yang

Introduction

Designing the architecture of a neural network—determining the number of layers, the number of units per layer, and the connectivity—is often a manual, trial-and-error process. Practitioners typically rely on expensive hyperparameter optimization techniques like grid or random search. This approach is not only computationally intensive but also lacks a rigorous theoretical foundation. An architecture that is too complex risks overfitting, while one that is too simple may underfit the data.

AdaNet addresses this challenge by providing a principled framework that automatically learns both the network structure and its weights simultaneously. By leveraging new generalization bounds, AdaNet adaptively grows the network topology during training to find an optimal balance between model complexity and predictive performance.

Methods: Iterative Structural Growth

The core of AdaNet is a boosting-style algorithm that builds a neural network incrementally. Starting from a simple linear model, the algorithm proceeds in discrete rounds. In each round, it evaluates several "candidate" subnetworks to extend the current model.

Iterative growth of the AdaNet architecture, showing the addition of a new subnetwork (h3,3) in step (b).

Theoretical Objective Function

Unlike standard backpropagation, which minimizes only the empirical training loss, AdaNet minimizes an objective function that includes a complexity penalty. This penalty is derived from Rademacher complexity bounds proven by the authors. A key theoretical insight is that deeper layers should be penalized more heavily than shallower ones, encouraging the model to remain as simple as possible unless additional complexity significantly reduces the loss.

Optimization and Embeddings

At each step, the algorithm selects the candidate subnetwork that most effectively reduces the overall objective function. New subnetworks can leverage the feature representations (embeddings) learned by subnetworks from previous rounds, allowing the model to build complex concepts from simpler ones. The authors also introduced AdaNet.CVX, a variant that uses Banach space duality to find optimal extensions in a more computationally efficient closed-form.

Experimental Evaluation

The authors evaluated AdaNet on two distinct benchmarks to test its versatility across different data types.

CIFAR-10 Image Classification

The CIFAR-10 dataset was used to create five binary classification tasks (e.g., "deer vs. truck"). Images were preprocessed into color histograms and gradient features. AdaNet consistently outperformed standard feedforward neural networks (NN), Logistic Regression (LR), and NN-GP, a Bayesian hyperparameter optimization method.

Comparison of accuracy (± std. dev.) on CIFAR-10 binary classification tasks across different models.

Criteo Click Rate Prediction

On the Criteo dataset, which contains over 32 million instances of sparse, high-dimensional data, AdaNet demonstrated significant efficiency. It achieved higher accuracy than a manually tuned 4-layer network while utilizing a much simpler single-layer architecture with 512 nodes. This highlights AdaNet's ability to find the "right-sized" architecture for the task at hand.

Key Insights

  • Logarithmic Depth Dependency: Theoretical analysis revealed that generalization error grows only logarithmically with network depth, suggesting that deep networks can generalize well if weights are properly regularized.
  • Adaptive Complexity: AdaNet automatically adjusts its complexity based on task difficulty. For instance, it generated a more complex two-layer model for the challenging "cat vs. dog" task while maintaining simpler structures for easier tasks.

Conclusion and Future Work

AdaNet provides a theoretically grounded alternative to manual architecture design. While currently focused on feedforward networks and binary classification, the framework's success on benchmarks like CIFAR-10 and Criteo suggests broad potential. Future research directions include extending these adaptive techniques to multi-class problems and more complex architectures such as Convolutional Neural Networks (CNNs) and Recurrent Neural Networks (RNNs).

Summary updated

Abstract

We present new algorithms for adaptively learning artificial neural networks. Our algorithms (AdaNet) adaptively learn both the structure of the network and its weights. They are based on a solid theoretical analysis, including data-dependent generalization guarantees that we prove and discuss in detail. We report the results of large-scale experiments with one of our algorithms on several binary classification tasks extracted from the CIFAR-10 dataset. The results demonstrate that our algorithm can automatically learn network structures with very competitive performance accuracies when compared with those achieved for neural networks found by standard approaches.
BibTeX
@inproceedings{cortes2017adanet,
  author = {Corinna Cortes and Xavi Gonzalvo and Vitaly Kuznetsov and Mehryar Mohri and Scott Yang},
  title = {{AdaNet: Adaptive Structural Learning of Artificial Neural Networks}},
  booktitle = {International Conference on Machine Learning},
  year = {2017},
  url = {https://openreview.net/forum?id=ByEpPsW_WS},
}
Figure