Stochastic Implicit Natural Gradient for Black-box Optimization

Yueming Lyu, Ivor W. TsangarXiv 2019

Introduction

Black-box optimization is a critical challenge in machine learning, particularly in domains where gradients are unavailable, such as reinforcement learning (RL) or hyperparameter tuning. While methods like Covariance Matrix Adaptation Evolution Strategy (CMA-ES) and Natural Evolution Strategies (NES) are widely used, they often face stability issues or high computational costs associated with estimating and inverting the Fisher Information Matrix (FIM). This paper introduces Implicit Natural Gradient Optimization (INGO), a framework that leverages information geometry to perform natural gradient updates without explicit FIM computation.

The INGO Framework

The core innovation of INGO lies in its use of exponential-family distributions to reparameterize the search space. By updating the "natural parameters" of the distribution rather than the mean and variance directly, the natural gradient update simplifies into a standard gradient update.

A key technical advantage is that INGO tracks the inverse covariance matrix ($\Sigma^{-1}$) instead of the covariance matrix ($\Sigma$). This formulation provides inherent stability during high-precision searches. As the algorithm converges and the variance shrinks, standard methods often suffer from numerical instability or exploding gradient steps. INGO’s tracking of the inverse acts as a natural stabilizer, allowing it to reach significantly higher precision than previous natural gradient methods.

For high-dimensional problems where full matrix operations are computationally prohibitive, the authors propose Fast-INGO, which utilizes a diagonal matrix update to maintain efficiency while preserving the benefits of the implicit natural gradient.

Experimental Evaluation

The authors evaluated INGO across a suite of synthetic continuous benchmarks designed to test robustness against non-smoothness and non-convexity. These include the Ellipsoid, Discus, Levy, and Rastrigin functions, as well as non-smooth variants like the $\ell_1$-Ellipsoid.

Convergence performance of INGO and variants on synthetic benchmark functions. Note the high precision ($10^{-10}$) achieved on several tasks.

As shown in Figure 1, INGO and its variants consistently achieve high precision (down to $10^{-10}$) on problems like the Ellipsoid and Levy functions. In contrast, standard natural gradient methods like IGO often plateau at much lower accuracy levels. While CMA-ES remains a strong competitor, INGO offers a simpler implementation with fewer hyperparameters and stronger theoretical convergence guarantees ($O(\log T / T)$ for convex functions).

Reinforcement Learning Performance

Beyond synthetic benchmarks, the framework was tested on physics-based control tasks in the MuJoCo environment (OpenAI Gym). Fast-INGO was compared against modern evolution strategies such as ASEBO and standard ES.

Comparison of average rewards in MuJoCo reinforcement learning tasks. Fast-INGO demonstrates competitive or superior sample efficiency.

In tasks like Swimmer and HalfCheetah, Fast-INGO demonstrated rapid increases in average rewards, often outperforming ASEBO in terms of sample efficiency. The algorithm's ability to handle non-differentiable landscapes makes it particularly well-suited for these complex control problems. Additionally, in discrete binary optimization benchmarks, INGO outperformed Genetic Algorithms by avoiding the premature convergence typical of greedy search strategies.

Conclusion and Future Work

INGO represents a significant step forward in black-box optimization by providing a theoretically grounded, numerically stable, and high-precision alternative to existing evolution strategies. By bypassing explicit FIM estimation, it reduces noise and computational overhead.

However, challenges remain. Like most local search methods, INGO can struggle with extreme non-convexity, as seen in the Rastrigin10 results where it failed to reach high precision due to numerous local minima. Future research may explore the use of more complex or heavy-tailed distributions to improve global search capabilities and further optimize the computational scaling of the full matrix update for very large parameter spaces.

Summary updated

BibTeX
@misc{lyu2019stochastic,
  author = {Yueming Lyu and Ivor W. Tsang},
  title = {{Stochastic Implicit Natural Gradient for Black-box Optimization}},
  year = {2019},
  eprint = {1910.04301},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.04301},
}
Figure