BREATHE: Second-Order Gradients and Heteroscedastic Emulation based Design Space Exploration

Shikhar Tuli, Niraj K. JhaarXiv 2023 · DOI

Abstract

BREATHE is a novel optimization framework designed to accelerate Design Space Exploration (DSE) in complex engineering domains. By integrating second-order gradients with a heteroscedastic surrogate model, BREATHE efficiently navigates both vector-based and graph-based design spaces. Experimental results demonstrate that BREATHE outperforms existing state-of-the-art methods by up to 21.9× in multi-objective tasks while maintaining strict adherence to design constraints.

Introduction

In fields ranging from transistor modeling to cosmology, researchers must identify optimal designs within massive search spaces. However, evaluating a single design often requires running computationally expensive simulators or performing time-consuming physical experiments. Existing methods like Bayesian Optimization (BO) or Evolutionary Algorithms (EAs) face significant hurdles, including sample inefficiency, poor constraint handling, and rigid search spaces limited to simple vectors. BREATHE addresses these limitations by treating complex structures like graphs as first-class differentiable entities and utilizing advanced gradient-based optimization.

Methodology

The BREATHE framework (Bayesian optimization using second-order gradients on an actively trained heteroscedastic emulator) is implemented in two variants: V-BREATHE for vector spaces and G-BREATHE for graph-based topologies.

The BREATHE framework overview, showing (a) the simulator, (b) the surrogate model, and (c) the GOBI-based optimization loop with constraint handling.

Heteroscedastic Surrogate Modeling

Instead of standard neural networks, BREATHE utilizes a Natural Parameter Network (NPN) to model aleatoric uncertainty (inherent data noise) and a teacher-student setup for epistemic uncertainty (model uncertainty). This dual-uncertainty approach guides the search by balancing exploration and exploitation via the Upper Confidence Bound (UCB).

GOBI with Second-Order Gradients

BREATHE employs Gradient-based Optimization to the Input (GOBI). By freezing the surrogate model's weights and performing gradient descent directly on the input design, the system can "walk" toward optimal performance. The integration of second-order gradients (Hessians) allows for significantly faster and more stable convergence than standard first-order methods.

Legality-Forcing and Graph Optimization

To manage strict real-world constraints, BREATHE uses a "legality-forcing" technique. If the optimizer suggests an illegal design, it is mathematically projected back to the nearest legal point in the design space.

Visualization of the legality-forcing mechanism, where gradients are used to project illegal inputs back into the valid design space.

For graph-based tasks, G-BREATHE employs a Graph Transformer as its surrogate model. This enables the optimizer to backpropagate gradients through the graph structure, optimizing node values, edge weights, and the architecture simultaneously.

Experimental Results

The authors evaluated BREATHE across a diverse set of applications, including operational amplifier (op-amp) design, waste-water treatment plant (WWTP) simulations, and IoT network topologies.

  • Performance Gains: In single-objective vector search, BREATHE achieved 64.1% higher performance than the next-best baseline. In graph-based search, it outperformed graphical GP-BO by 64.9%.
  • Multi-Objective Efficiency: In WWTP tasks, BREATHE achieved up to 21.9× higher hypervolume compared to MOBOpt, effectively mapping the Pareto front.
  • Constraint Success: BREATHE was frequently the only method capable of finding "legal" designs in highly constrained environments, such as the 24-input op-amp task, where traditional GP-BO failed.

Conclusion and Future Work

BREATHE represents a significant advancement in DSE, particularly for complex, constrained, and graph-based design spaces. While highly effective, current limitations include a reliance on simulator reliability and an inability to handle partially specified inputs. Future research will explore more complex constraint management and extending the framework to handle noisy simulation labels or adversarial scenarios.

Summary updated

Abstract

Researchers constantly strive to explore larger and more complex search spaces in various scientific studies and physical experiments. However, such investigations often involve sophisticated simulators or time-consuming experiments that make exploring and observing new design samples challenging. Previous works that target such applications are typically sample-inefficient and restricted to vector search spaces. To address these limitations, this work proposes a constrained multi-objective optimization (MOO) framework, called BREATHE, that searches not only traditional vector-based design spaces but also graph-based design spaces to obtain best-performing graphs. It leverages second-order gradients and actively trains a heteroscedastic surrogate model for sample-efficient optimization. In a single-objective vector optimization application, it leads to 64.1% higher performance than the next-best baseline, random forest regression. In graph-based search, BREATHE outperforms the next-best baseline, i.e., a graphical version of Gaussian-process-based Bayesian optimization, with up to 64.9% higher performance. In a MOO task, it achieves up to 21.9$\times$ higher hypervolume than the state-of-the-art method, multi-objective Bayesian optimization (MOBOpt). BREATHE also outperforms the baseline methods on most standard MOO benchmark applications.
BibTeX
@misc{tuli2023breathe,
  author = {Shikhar Tuli and Niraj K. Jha},
  title = {{BREATHE: Second-Order Gradients and Heteroscedastic Emulation based Design Space Exploration}},
  year = {2023},
  eprint = {2308.08666},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.08666},
}
Figure