GenAI4UQ: A Software for Inverse Uncertainty Quantification Using Conditional Generative Models
Ming Fan, Zezhong Zhang, Dan Lu, Guannan Zhang
TL;DR
This work tackles the computational bottleneck of inverse uncertainty quantification in scientific modeling by replacing traditional MCMC with a conditional generative framework that learns a direct mapping from observations to parameter distributions. It introduces a score-function approach using a deterministic reverse-time ODE and a training-free mini-batch Monte Carlo estimator to generate labeled data for supervised learning of a fully connected neural network. Key innovations include automated hyperparameter tuning with Ray Tune, extensive overfitting controls, and a modular software architecture that enables automated model development with minimal ML expertise. Demonstrations across bimodal calibration, Earth system model calibration, and high-dimensional pressure-field forecasting show accurate posterior distributions and scalable uncertainty quantification, with practical impact for climate, hydrology, and subsurface applications.
Abstract
We introduce GenAI4UQ, a software package for inverse uncertainty quantification in model calibration, parameter estimation, and ensemble forecasting in scientific applications. GenAI4UQ leverages a generative artificial intelligence (AI) based conditional modeling framework to address the limitations of traditional inverse modeling techniques, such as Markov Chain Monte Carlo methods. By replacing computationally intensive iterative processes with a direct, learned mapping, GenAI4UQ enables efficient calibration of model input parameters and generation of output predictions directly from observations. The software's design allows for rapid ensemble forecasting with robust uncertainty quantification, while maintaining high computational and storage efficiency. GenAI4UQ simplifies the model training process through built-in auto-tuning of hyperparameters, making it accessible to users with varying levels of expertise. Its conditional generative framework ensures versatility, enabling applicability across a wide range of scientific domains. At its core, GenAI4UQ transforms the paradigm of inverse modeling by providing a fast, reliable, and user-friendly solution. It empowers researchers and practitioners to quickly estimate parameter distributions and generate model predictions for new observations, facilitating efficient decision-making and advancing the state of uncertainty quantification in computational modeling. (The code and data are available at https://github.com/patrickfan/GenAI4UQ).
