Learning nonlinear level sets for dimensionality reduction in function approximation

Guannan Zhang, Jiaxin Zhang, Jacob D. HinkleNeurIPS 2019

Introduction

In fields ranging from aerospace engineering to fluid dynamics, researchers frequently rely on "surrogate models"—fast-to-evaluate mathematical approximations—to replace computationally expensive physical simulations. However, building these surrogates is often hindered by two major challenges: high dimensionality (models with dozens of independent input parameters) and extremely limited training data. Because a single high-resolution simulation can take days to run, researchers may only have a few hundred data points available.

This combination inevitably leads to the "curse of dimensionality," where standard machine learning models quickly overfit the sparse data. To combat this, researchers at Oak Ridge National Laboratory have developed Nonlinear Level-set Learning (NLL). By utilizing reversible neural networks (RevNets) to learn nonlinear coordinate transformations, NLL enables the construction of highly accurate predictive models even when training data is severely restricted.

The Limitations of Linear Reduction

Existing dimensionality reduction techniques, such as Active Subspaces (AS) or Sliced Inverse Regression (SIR), attempt to simplify complex models by finding a few "important" directions in the input space.

However, these traditional methods are fundamentally limited to linear transformations. They essentially try to fit a flat plane to a curved surface. If the underlying function's "level sets"—the paths or surfaces along which the function's value remains constant—are curved or nonlinear, linear methods fail to capture the true geometry of the problem, leaving the surrogate model inaccurate.

The NLL Approach: Bending the Space

The core insight behind NLL is that effective dimensionality reduction is equivalent to finding a coordinate system where the level sets of a function are flat. If you can align your axes with these level sets, you only need to model the function along the remaining "active" axes. NLL extends this concept into the nonlinear regime using two key innovations:

  1. Reversible Networks (RevNets): NLL employs RevNets to construct a bijective (one-to-one and onto) nonlinear transformation. Unlike standard neural networks that compress and lose information, a RevNet ensures the transformation from the original input space to the reduced space is perfectly invertible, preserving the problem's exact geometry.
  2. Gradient-Based Loss Function: To train the RevNet, the authors designed a novel loss function that utilizes samples of the target function’s gradient. The network learns to align the "inactive" transformed coordinates with the tangent planes of the function's level sets.
Illustration of aligning transformed coordinates with the tangent plane of a function's level set.

Essentially, the network learns a new coordinate system where changing most of the coordinates has zero effect on the output. This effectively "squeezes" the function's complexity into just one or two active dimensions. A secondary loss term constrains the Jacobian determinant of the transformation to be near 1, ensuring the transformation remains stable and non-singular.

Visualizing the Transformation

The difference between linear and nonlinear dimensionality reduction becomes obvious when visualized. When applied to synthetic 2D functions with complex contours, linear methods like AS and SIR can only rotate the coordinate grid. NLL, on the other hand, actively warps and bends the grid to perfectly follow the nonlinear level sets of the target function.

Comparison of NLL warping the coordinate space versus the linear rotations of AS and SIR methods on 2D functions.

Key Results and Real-World Impact

By drastically reducing the number of active dimensions, NLL requires far fewer data points to achieve high accuracy, effectively bypassing the curse of dimensionality.

  • Superior Accuracy with Small Data: In tests on complex 20-dimensional synthetic functions using only 500 training samples, NLL achieved a validation error (RMSE) of roughly 8.5% to 13.4%. In stark contrast, standard neural networks and linear methods (AS/SIR) suffered from massive overfitting, hovering between 33% and 65% error.
  • Sensitivity Suppression: NLL successfully reduced the sensitivity of "inactive" dimensions by two orders of magnitude compared to the active ones, whereas linear methods only managed a one-order-of-magnitude reduction.
  • Real-World Engineering Application: The method was tested on an 8D composite material design problem from NASA, which focused on optimizing the buckling resistance of rocket inter-stage shells. With just 500 samples, NLL achieved an impressive ~12% error, significantly outperforming AS (~47%) and SIR (~55%).

Limitations and Future Directions

While highly effective, NLL currently requires gradient samples of the target function. In many "black-box" engineering codes, gradients are not readily available and must be estimated via computationally expensive finite differences. Furthermore, calculating Jacobian matrices and their determinants during training introduces significant computational overhead.

Future work will focus on developing gradient estimation techniques, such as contour regression, to make NLL applicable to strictly black-box models, as well as optimizing the backward propagation efficiency of the loss function to speed up training.

Summary updated

BibTeX
@inproceedings{zhang2019learning,
  author = {Guannan Zhang and Jiaxin Zhang and Jacob D. Hinkle},
  title = {{Learning nonlinear level sets for dimensionality reduction in function approximation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
}
Figure