Hyperparameter Optimization in Neural Networks via Structured Sparse Recovery

Minsu Cho, Mohammadreza Soltani, Chinmay HegdearXiv 2020

Abstract

In this paper, we study two important problems in the automated design of neural networks -- Hyper-parameter Optimization (HPO), and Neural Architecture Search (NAS) -- through the lens of sparse recovery methods. In the first part of this paper, we establish a novel connection between HPO and structured sparse recovery. In particular, we show that a special encoding of the hyperparameter space enables a natural group-sparse recovery formulation, which when coupled with HyperBand (a multi-armed bandit strategy), leads to improvement over existing hyperparameter optimization methods. Experimental results on image datasets such as CIFAR-10 confirm the benefits of our approach. In the second part of this paper, we establish a connection between NAS and structured sparse recovery. Building upon "one-shot" approaches in NAS, we propose a novel algorithm that we call CoNAS by merging ideas from one-shot approaches with a techniques for learning low-degree sparse Boolean polynomials. We provide theoretical analysis on the number of validation error measurements. Finally, we validate our approach on several datasets and discover novel architectures hitherto unreported, achieving competitive (or better) results in both performance and search time compared to the existing NAS approaches.

Designing a high-performing neural network often involves navigating a combinatorial explosion of possibilities, from tuning hyperparameters like learning rates to designing the complex "wiring" of layers. Evaluating even a single configuration can take hours or days of GPU time, leading to the "curse of dimensionality" in automated machine learning (AutoML).

Researchers from NYU and Duke University propose a principled way to navigate this maze by viewing HPO and NAS through the lens of compressive sensing and sparse recovery. They argue that these search spaces are not random but exhibit a "low-degree" structure—meaning only a few specific hyperparameters or architectural connections drive the bulk of the performance.

Methods: Sparse Recovery and Boolean Functions

The core innovation is representing the search space as a Boolean function and using Fourier analysis to identify the most important components.

PGSR-HB for HPO

This algorithm improves upon previous spectral approaches by mapping continuous values into binary strings and using Group Lasso to ensure that bits representing the same hyperparameter are treated as a single entity. This structured approach is then integrated with the Hyperband algorithm to balance exploration and exploitation.

Visualization of the loss landscape over the learning rate search space, illustrating the non-convex nature of hyperparameter optimization.

CoNAS for NAS

CoNAS (Compressive sensing-based NAS) merges one-shot architecture search with sparse recovery. By evaluating a small number of random sub-networks from a trained "super-graph," the method uses LASSO to reconstruct Fourier coefficients, identifying which specific "edges" in the network contribute most to reducing loss.

Key Results

The authors validated their methods on standard computer vision benchmarks including CIFAR-10, SVHN, and Fashion-MNIST.

  • Efficiency: CoNAS discovered a high-performing architecture on CIFAR-10 in only 0.4 GPU days, a significant improvement over early NAS methods that required thousands of days.
  • Accuracy: CoNAS achieved a test error of 2.74% on CIFAR-10, outperforming popular methods like DARTS and ENAS.
  • HPO Robustness: In HPO tests, the proposed PGSR-HB consistently found better hyperparameters than standard Hyperband or Random Search, reaching up to 83% accuracy.
Comparison of PGSR-HB against baseline algorithms (Random Search, Successive Halving, and Hyperband) across different loss and accuracy metrics, showing the performance gains of the sparse recovery approach.

Conclusion and Future Work

The success of these methods confirms that neural network performance functions are indeed concentrated in their Fourier spectrum. While currently focused on convolutional cells, the authors suggest extending this Boolean function approach to Transformers, RNNs, and even network pruning—finding optimal binary masks to remove unnecessary weights without sacrificing performance.

Summary updated

BibTeX
@misc{cho2020hyperparameter,
  author = {Minsu Cho and Mohammadreza Soltani and Chinmay Hegde},
  title = {{Hyperparameter Optimization in Neural Networks via Structured Sparse Recovery}},
  year = {2020},
  eprint = {2007.04087},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2007.04087},
}
Figure