Parameterless Stochastic Natural Gradient Method for Discrete Optimization and its Application to Hyper-Parameter Optimization for Neural Network

Kouhei Nishida, Hernán E. Aguirre, Shota Saito, Shinichi Shirakawa, Youhei AkimotoarXiv 2018

Abstract

Discrete optimization in machine learning, particularly for hyper-parameter tuning and architecture search, often requires manual adjustment of optimizer strategy parameters. This paper proposes a "parameterless" discrete optimization algorithm based on Information Geometric Optimization (IGO). By maintaining a constant signal-to-noise ratio (SNR) in the stochastic natural gradient, the method automatically adapts its population size and learning rate. Experimental results on synthetic benchmarks and neural network optimization tasks demonstrate that this approach achieves state-of-the-art performance without manual meta-tuning.

Introduction

Black-Box Optimization (BBO) is essential for finding optimal hyper-parameters and architectures in deep learning. However, traditional BBO algorithms, such as Genetic Algorithms or Evolution Strategies, introduce their own set of "strategy parameters" (e.g., population size $\lambda$ or step size $\epsilon$) that typically require expert knowledge or expensive meta-tuning. Suboptimal choices lead to premature convergence or computational waste. This research addresses the "meta-tuning" bottleneck by introducing a self-adjusting optimizer specifically designed for discrete search spaces.

Methodology: SNR-Driven Adaptation

The proposed method extends the Information Geometric Optimization (IGO) framework, which treats optimization as natural gradient ascent on a manifold of probability distributions. The core innovation lies in a dual-adaptation mechanism for strategy parameters based on the Signal-to-Noise Ratio (SNR).

The authors observe that in stochastic natural gradient descent, the SNR remains relatively stable as the distribution converges toward an optimum. By tracking the accumulation of the gradient over time, the algorithm can assess whether the current "signal" is sufficient relative to the "noise." - PBIL-$\lambda$: Automatically increases the sample size ($\lambda$) if the signal is too low or decreases it if the signal is strong. - PBIL-$\epsilon$: Dynamically adjusts the learning rate ($\epsilon$) to maintain an optimal balance between convergence speed and stability.

Experimental Evaluation

Synthetic Benchmarks

The algorithms were first tested on standard discrete optimization functions: ONEMAX and LEADINGONES. These benchmarks evaluate the ability to find global optima in high-dimensional spaces (up to $n=3000$).

Performance of PBIL variants on OneMax and LeadingOnes benchmarks compared to baseline cGA.

As shown in the figure above, the parameterless PBIL variants demonstrate superior efficiency and robustness. Notably, on the LEADINGONES task, while the baseline compact Genetic Algorithm (cGA) failed with high step sizes, the proposed adaptive methods successfully located the optimum by automatically slowing down.

Neural Network Hyper-parameter Optimization

The method was applied to the MNIST dataset for simultaneous optimization of network architecture and weights. This involved selecting layers to skip and choosing activation functions (ReLU vs. Tanh) across a massive 3072-bit search space.

Test error on MNIST and the corresponding dynamics of the adaptive sample size parameter $\lambda_r$.

The results indicate that the PBIL variants reach lower error rates faster than traditional sequential tuning. In the activation selection task, the optimizer found "mixed" architectures that outperformed pure ReLU or Tanh models, achieving a test error of ~1.37%.

Key Insights and Discussion

A critical theoretical insight is the SNR Invariance: the length of the natural gradient and its associated noise scale at the same rate during convergence. This stability makes SNR an ideal metric for parameter adaptation. Furthermore, the ability to perform simultaneous optimization of weights and architecture parameters significantly reduces total training time.

Limitations and Future Work

Currently, the implementation focuses on binary (Bernoulli) distributions. Future research will aim to extend these adaptation rules to categorical variables and more complex Neural Architecture Search (NAS) domains. While the algorithm reduces human tuning effort, the PBIL-$\lambda$ variant may increase per-iteration computation, suggesting a need for better parallelization strategies.

Conclusion

This paper presents a robust, "plug-and-play" optimizer for discrete spaces. By automating the tuning of internal strategy parameters through SNR control, it removes a significant barrier to applying advanced optimization techniques in machine learning and engineering.

Summary updated

BibTeX
@misc{nishida2018parameterless,
  author = {Kouhei Nishida and Hernán E. Aguirre and Shota Saito and Shinichi Shirakawa and Youhei Akimoto},
  title = {{Parameterless Stochastic Natural Gradient Method for Discrete Optimization and its Application to Hyper-Parameter Optimization for Neural Network}},
  year = {2018},
  eprint = {1809.06517},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1809.06517},
}
Figure