Learning Where to Simulate: Generative Active Sampling for Online PDE Surrogate Training

TL;DR

OGAS method improves worst-case reliability of PDE surrogates via generative active sampling.

cs.LG 🔴 Advanced 2026-06-08 4 views
Pierre Cesar Sofya Dymchenko Abhishek Purandare Bruno Raffin
generative model active learning PDE surrogate model online training

Key Findings

Methodology

OGAS trains a fast diffusion model as a conditional sampler, learning the relationship between configuration parameters and surrogate performance in real-time. It combines generative models and active learning, steering data generation towards challenging regimes without delaying the training workflow by using a prior biased towards high difficulty.

Key Results

  • OGAS reduced 99th percentile errors by up to 1.93x and error standard deviation by up to 2.3x in 2D PDE experiments.
  • Compared to uniform sampling, OGAS reduced worst-case surrogate errors by up to 2.13x.
  • OGAS added only 0.2% overhead to training time.

Significance

OGAS is significant in both academia and industry, addressing the shortcomings of traditional uniform sampling methods in handling challenging dynamic trajectories. It enhances the worst-case reliability of surrogate models, crucial for scientific computing and engineering applications requiring high precision and stability.

Technical Contribution

OGAS differs significantly from existing methods by combining generative models and active learning, offering new theoretical guarantees and engineering possibilities, particularly in efficiently sampling and training in high-dimensional parameter spaces.

Novelty

OGAS is the first method to combine generative models with active learning for online PDE surrogate training, dynamically adapting to evolving surrogate dynamics without interrupting the training workflow, unlike existing offline pool methods.

Limitations

  • OGAS may have limitations in handling extreme dynamic changes as it relies on the accuracy of training signals.
  • In high-dimensional parameter spaces, OGAS's generative model may require more computational resources.

Future Work

Future research could explore OGAS's application in higher dimensions and more complex PDE problems, optimizing its generative model efficiency. Combining other active learning strategies may further enhance its performance.

AI Executive Summary

Generating representative training sets for partial differential equation (PDE) surrogate models has always been a challenge. Traditional uniform sampling methods often fail to adequately represent trajectories with challenging dynamics, leading to high prediction errors and large error variance. The OGAS method uses generative active sampling to learn the relationship between configuration parameters and surrogate performance in real-time, controlling the sampling distribution. Experiments show that OGAS significantly reduces worst-case errors and error dispersion across multiple 2D PDE problems. While prioritizing challenging trajectories introduces a trade-off with average error, OGAS effectively ensures worst-case reliability of trained surrogates with negligible wall-time overhead.

OGAS is significant in both academia and industry, addressing the shortcomings of traditional uniform sampling methods in handling challenging dynamic trajectories. It enhances the worst-case reliability of surrogate models, crucial for scientific computing and engineering applications requiring high precision and stability.

While OGAS may have limitations in handling extreme dynamic changes as it relies on the accuracy of training signals, future research could explore OGAS's application in higher dimensions and more complex PDE problems, optimizing its generative model efficiency. Combining other active learning strategies may further enhance its performance.

Deep Analysis

Background

Training surrogate models for partial differential equations (PDEs) typically relies on data generated by numerical PDE solvers. However, when the surrogate model needs to generalize across a wide range of PDE configurations, generating a representative training set becomes challenging. Traditional offline methods precompute and store large synthetic datasets for training, but these datasets may not adequately cover informative regions of the solution space.

Core Problem

The core problem is how to effectively generate representative training datasets to improve the generalization capability of PDE surrogate models. Uniform sampling often fails to adequately represent trajectories with challenging dynamics, leading to high prediction errors and large error variance.

Innovation

OGAS trains a fast diffusion model as a conditional sampler, learning the relationship between configuration parameters and surrogate performance in real-time. It combines generative models and active learning, steering data generation towards challenging regimes without delaying the training workflow by using a prior biased towards high difficulty.

Methodology

  • �� Train a fast diffusion model as a conditional sampler
  • �� Learn the relationship between configuration parameters and surrogate performance in real-time
  • �� Combine generative models and active learning
  • �� Use a prior biased towards high difficulty to guide data generation
  • �� Ensure no delay in the training workflow

Experiments

OGAS was evaluated in 2D PDE experiments using different surrogate architectures, including UNet, FNO, and scOT. The experiments assessed OGAS's performance across multiple 2D PDE problems with challenging dynamics, such as Kuramoto-Sivashinsky, Navier-Stokes, and Gray-Scott.

Results

Experiments show that OGAS significantly reduces worst-case errors and error dispersion across multiple 2D PDE problems. Compared to uniform sampling, OGAS reduced worst-case surrogate errors by up to 2.13x, 99th percentile errors by up to 1.93x, and error standard deviation by up to 2.3x.

Applications

OGAS has broad applications in scientific computing and engineering, particularly in scenarios requiring high precision and stability. It can be used to improve the generalization capability and worst-case reliability of PDE surrogate models.

Limitations & Outlook

OGAS may have limitations in handling extreme dynamic changes as it relies on the accuracy of training signals. Additionally, in high-dimensional parameter spaces, OGAS's generative model may require more computational resources.

Plain Language Accessible to non-experts

Imagine a chef in a kitchen preparing a grand meal. The chef needs to select ingredients from the market, where there are many types of ingredients. Traditional methods involve randomly picking ingredients, which might miss some special ones. OGAS acts like a smart assistant, telling the chef in real-time which ingredients are more likely to enhance the dish's flavor. This way, the chef can focus on selecting those special ingredients without wasting time on ordinary ones. This assistant not only helps the chef make a tastier dish but also saves time and effort.

ELI14 Explained like you're 14

Hey there! Imagine you're playing a super complex game where you need to choose different characters to defeat enemies. The traditional way is to pick characters randomly, but that might make you miss some super powerful ones. OGAS is like a game assistant that tells you in real-time which characters are more likely to help you win the game. This way, you can focus on picking those super powerful characters without wasting time on ordinary ones. This assistant not only helps you win the game but also makes it more fun!

Glossary

OGAS (Online Generative Active Sampling)

A method combining generative models and active learning to learn the relationship between configuration parameters and surrogate performance in real-time.

Used to control the sampling distribution for PDE surrogate models.

PDE (Partial Differential Equation)

A mathematical equation used to describe the dynamic changes of physical systems.

OGAS is used to train PDE surrogate models.

Surrogate Model

A model that approximates the behavior of a real system through learning.

Used to replace traditional numerical PDE solvers.

Generative Model

A model that learns data distribution to generate new data.

OGAS uses generative models to guide data generation.

Active Learning

A method that improves model performance through selective sampling.

OGAS combines active learning to optimize sampling strategy.

Open Questions Unanswered questions from this research

  • 1 How does OGAS perform in handling extreme dynamic changes? Further research is needed to explore its application in more complex PDE problems.

Applications

Immediate Applications

Scientific Computing

OGAS can be used to improve the generalization capability and worst-case reliability of PDE surrogate models in scientific computing.

Long-term Vision

Engineering Applications

OGAS has broad potential in engineering applications, especially in scenarios requiring high precision and stability.

Abstract

Data-driven PDE surrogates are trained with data produced by numerical PDE solvers. However, when the surrogate's goal is to generalize across a wide range of PDE configurations (e.g., initial conditions and physical coefficients), generating a representative training set is non-trivial. Uniform sampling of configuration parameters often under-represents trajectories exhibiting challenging dynamics, leading to high prediction errors and large error variance in the trained surrogate. Online training, where data generation and surrogate training are coupled, offers a natural advantage by allowing solver parameters to be steered on-the-fly. To efficiently exploit this capability, we introduce Online Generative Active Sampling (OGAS), an active learning method that reactively learns the relationship between configuration parameters and surrogate performance to control the sampling distribution. OGAS trains a fast diffusion model in parallel to the surrogate to act as a conditional sampler, mapping a surrogate-derived difficulty signal (e.g., loss or uncertainty) to configuration parameters. By actively drawing target signals from a prior biased toward high difficulty, OGAS continuously steers data generation toward challenging regimes without delaying the training workflow. We evaluate OGAS across 2D PDEs with distinct challenging dynamics (Kuramoto-Sivashinsky, Navier-Stokes, Gray-Scott) and up to 308 parameters, using multiple surrogate architectures. Across all settings, OGAS consistently improves tail statistics, yielding substantial reductions in errors above the 99th percentile and overall error dispersion compared to uniform sampling. While prioritizing challenging trajectories introduces a trade-off with average error, OGAS effectively ensures worst-case reliability of trained surrogates with negligible wall-time overhead.

cs.LG cs.AI