Coupling the reduced-order model and the generative model for an importance sampling estimator

Xiaoliang Wan, Shuangqing Wei

TL;DR

This paper introduces a novel importance sampling (IS) estimator that bridges the gap between fast-but-inaccurate "reduced-order models" (ROMs) and expensive high-fidelity simulations. By training a flow-based generative model on weighted data from the ROM, the authors create a highly efficient "proposal distribution" that significantly reduces the number of high-fidelity samples needed to estimate rare event probabilities in complex physical systems.

What Problem Does This Paper Address?

In fields like engineering and climate science, researchers often need to calculate the probability of a "rare event"—for example, a structural failure or an extreme weather event. Mathematically, this involves estimating the probability that a Quantity of Interest (QoI) exceeds a certain threshold.

The "Gold Standard" is to use Monte Carlo (MC) sampling on a high-fidelity (fine) model, but these simulations are often too computationally expensive to run thousands of times. To save time, researchers use Reduced-Order Models (ROMs), which are much faster but introduce bias because they simplify the physics.

The challenge is: How can we use the "cheap but biased" information from a ROM to intelligently guide the "expensive but accurate" fine model?

Methods

The authors propose a "predictor-corrector" framework using Importance Sampling (IS). The core idea of IS is to sample from a "proposal distribution" that hits the failure region more often, then re-weight the results to get the true probability.

The paper’s technical "secret sauce" consists of three main components:

  1. Flow-Based Generative Models: Unlike GANs, which can be hard to evaluate, the authors use flow-based models (like Real NVP). These use invertible neural networks to map a simple distribution (like a Gaussian) to a complex one. Crucially, they provide an explicit probability density function (PDF), which is required for the importance sampling weight.
  2. Weighted Empirical Distribution: Because ROMs are inaccurate, some data points that "fail" in the ROM might not fail in the fine model. The authors don't just use all ROM failure data; they use a posterior error estimate to include "near-miss" data and apply a weighting scheme (using a half-normal distribution) to prioritize data points closer to the failure threshold.
  3. Variance-Reduction Penalty Term: To prevent the neural network from overfitting to the ROM data (which would ruin the estimator's efficiency), the authors add a specific penalty term to the loss function. This term encourages the model to keep the likelihood ratio stable, which is the mathematical condition for minimizing variance in importance sampling.

Datasets

The paper evaluates the method using simulated physical systems rather than standard image benchmarks:

  • 2D Gaussian Rotation: A toy problem to verify that the flow-based model can capture simple coordinate transformations.
  • 2D Discontinuous PDF: A test to see if the model can handle "holes" or discontinuities in the failure region.
  • 1D Elliptic PDE with Log-Normal Coefficients: A classic Uncertainty Quantification (UQ) benchmark. The authors use a Karhunen-Loève (KL) expansion to represent stochasticity, allowing them to test the model's performance as the dimensionality ($M$) increases from 2 up to 32.

Key Insights and Ideas

  • ROMs as a "Noisy" Map: The ROM doesn't need to be perfect; it just needs to provide enough information to "locate" the failure region. The generative model then "smooths" and encodes this location.
  • The Importance of the PDF: The authors specifically chose flow-based models over GANs or VAEs because importance sampling requires an exact, tractable PDF evaluation. Without it, you can't calculate the likelihood ratio needed to un-bias the estimator.
  • Regularization via Physics Logic: Standard machine learning uses "early stopping" to prevent overfitting. Here, the authors use a penalty term derived from the theory of importance sampling itself, making the regularization much more robust for scientific computing.

Key Results

The methodology demonstrates impressive efficiency gains, often referred to as "speedup" in the context of simulation:

  • Variance Reduction: For a 2D problem, the importance sampling estimator required only 0.64% of the samples that a standard Monte Carlo method would need to achieve the same confidence level.
  • Scalability: Even as the dimensionality increased to $M=32$, the method maintained a significant advantage, requiring only about 5% to 7% of the samples compared to direct Monte Carlo.
  • Robustness: The penalty term proved critical. Without it, as the number of training epochs increased, the estimator's variance actually increased due to overfitting, eventually making it worse than standard Monte Carlo.

Limitations and Future Work

  • Fixed Partitions: The current flow-based model uses a "fixed partition" (splitting the input vector in half). The authors note that more advanced "random partitions" or linear transformations (like those in the Glow model) could improve performance in higher dimensions.
  • The Curse of Dimensionality: While 32 dimensions is high for traditional statistics, it is low for modern deep learning. The authors acknowledge that it remains to be seen how well this scales to hundreds or thousands of random dimensions.
  • Integration with Other Generative Models: The authors suggest exploring other invertible architectures or optimal transport-based generative models to further refine the proposal distribution.

Summary updated

Abstract

In this work, we develop an importance sampling estimator by coupling the reduced-order model and the generative model in a problem setting of uncertainty quantification. The target is to estimate the probability that the quantity of interest (QoI) in a complex system is beyond a given threshold. To avoid the prohibitive cost of sampling a large scale system, the reduced-order model is usually considered for a trade-off between efficiency and accuracy. However, the Monte Carlo estimator given by the reduced-order model is biased due to the error from dimension reduction. To correct the bias, we still need to sample the fine model. An effective technique to reduce the variance reduction is importance sampling, where we employ the generative model to estimate the distribution of the data from the reduced-order model and use it for the change of measure in the importance sampling estimator. To compensate the approximation errors of the reduced-order model, more data that induce a slightly smaller QoI than the threshold need to be included into the training set. Although the amount of these data can be controlled by a posterior error estimate, redundant data, which may outnumber the effective data, will be kept due to the epistemic uncertainty. To deal with this issue, we introduce a weighted empirical distribution to process the data from the reduced-order model. The generative model is then trained by minimizing the cross entropy between it and the weighted empirical distribution. We also introduce a penalty term into the objective function to deal with the overfitting for more robustness. Numerical results are presented to demonstrate the effectiveness of the proposed methodology.
BibTeX
@article{wan2020coupling,
  author = {Xiaoliang Wan and Shuangqing Wei},
  title = {{Coupling the reduced-order model and the generative model for an importance sampling estimator}},
  journal = {Journal of Computational Physics},
  year = {2020},
  url = {https://openreview.net/forum?id=rKdroEjRO8},
}

Loading related content...

Figure