Deep Neural Network Accelerated Implicit Filtering

Brian Irwin, Eldad Haber, Raviv Gal, Avi ZivarXiv 2021

Abstract

This paper introduces Deep Neural Network Accelerated Implicit Filtering (DNNAIF), a hybrid optimization framework designed to address the challenges of expensive and noisy black-box functions. By integrating a Deep Residual Network (ResNet) as a global surrogate model within the traditional Implicit Filtering (IF) loop, DNNAIF leverages historical data to suggest promising search directions and filter out unpromising evaluations. Experimental results on benchmark functions and real-world hardware verification tasks demonstrate that DNNAIF significantly reduces the number of required function evaluations, achieving up to a 2x speedup over traditional derivative-free methods while maintaining theoretical convergence robustness.

Introduction

In many scientific and engineering domains, optimization problems involve "black-box" functions—complex simulations or processes where the underlying mathematical derivative is unavailable. These functions are typically characterized by high computational costs and significant noise, often resulting from stochastic randomness or high-frequency numerical jitter.

Standard Derivative-Free Optimization (DFO) methods, such as Implicit Filtering (IF), are effective at navigating noisy landscapes by using a sequence of grids to approximate gradients. However, IF is inherently "memoryless"; it evaluates points within a local trust region, moves to an improved location, and subsequently discards the sampled data. In scenarios where each evaluation is costly, this failure to utilize historical data represents a significant inefficiency. DNNAIF addresses this "memory leak" by using all historical samples to build and refine a global surrogate model.

The DNNAIF Framework

DNNAIF integrates a Deep Neural Network (DNN) into the standard IF iterative loop to transform it from a local search into a data-driven global strategy. The framework consists of several key components:

1. The Surrogate Model

The algorithm utilizes a Deep Residual Network (ResNet) to approximate the black-box function. Unlike traditional IF, which only considers local data, this DNN is continuously trained on every point sampled since the start of the optimization process. This allows the model to develop an increasingly accurate global intuition of the function's landscape.

Visualization of the DNN surrogate's approximation of the objective function based on sparse historical samples.

2. Surrogate-Guided "Try" Points

At each iteration, the algorithm performs gradient descent on the computationally "cheap" DNN surrogate to propose high-quality candidate points. This exploitation phase allows the search to jump directly toward predicted optima rather than relying solely on rigid grid steps.

3. Surrogate Filtered Sampling

To maximize efficiency, the algorithm employs a filtering mechanism. Before committing to an expensive real-world evaluation, the DNN predicts whether a new point is likely to improve upon the current best value. If the surrogate predicts a poor outcome, the evaluation is skipped, preventing wasted computational resources.

Experimental Validation

The performance of DNNAIF was evaluated using two primary benchmarks:

  1. Noisy Rosenbrock Function: A classic 2D "banana-shaped" valley used to test the algorithm's ability to learn complex structures amidst heavy Gaussian noise.
  2. Coverage Directed Generation (CDG): A high-dimensional hardware verification problem using the NorthStar simulator. The objective was to find input parameters (across 23 dimensions) that trigger 35 specific "hard-to-hit" hardware events in a PowerPC-compatible processor.

Results and Discussion

DNNAIF demonstrated substantial improvements in both efficiency and convergence speed. In the CDG hardware verification task, standard Implicit Filtering required approximately 1,200 simulations to reach the target coverage. In contrast, DNNAIF achieved the same goal in roughly 600 simulations, representing a 2x speedup.

Performance comparison showing the optimality gap reduction over iterations for IF, DNN, and DNNAIF.

As shown in the optimality gap analysis, the hybrid DNNAIF approach consistently outperforms both pure IF and pure DNN-based optimization. While pure DNN models can struggle with slow convergence or local minima, the DNNAIF framework uses the traditional IF mechanism as a "safety net," ensuring that the search remains on track even if the surrogate model is initially inaccurate.

Conclusion and Future Work

DNNAIF successfully bridges the gap between robust derivative-free optimization and modern predictive modeling. By recycling data that would otherwise be discarded, the framework significantly reduces the cost of black-box optimization.

Future research will focus on reducing the computational overhead of retraining deep models at every iteration, which may be a bottleneck for less expensive functions. Additionally, the authors aim to explore automated methods for balancing exploration and exploitation, as well as testing the framework on even higher-dimensional engineering challenges.

Summary updated

BibTeX
@misc{irwin2021deep,
  author = {Brian Irwin and Eldad Haber and Raviv Gal and Avi Ziv},
  title = {{Deep Neural Network Accelerated Implicit Filtering}},
  year = {2021},
  eprint = {2105.08883},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2105.08883},
}
Figure