MUQ - hIPPYlib Integration

Recent years have seen a massive explosion of datasets across all areas of science, engineering, technology, medicine, and the social sciences. The central questions are: How do we optimally learn from data through the lens of models? And how do we do so taking into account uncertainty in both data and models?

These questions can be mathematically framed as Bayesian inverse problems. While powerful and sophisticated approaches have been developed to tackle these problems, such methods are often challenging to implement and typically require first and second order derivatives that are not always available in existing computational models.

The MUQ-hIPPYlib integrated framework overcomes this hurdle by providing unprecedented access to state-of-the-art algorithms for deterministic and Bayesian inverse problems. MUQ provides a spectrum of powerful Bayesian inversion models and algorithms, but expects forward models to come equipped with gradients/Hessians to permit large-scale solution. hIPPYlib implements powerful large-scale gradient/Hessian-based solvers in an environment that can automatically generate needed derivatives, but it lacks full Bayesian capabilities. By integrating these two libraries, we created a robust, scalable, and efficient software framework that realizes the benefits of each to tackle complex large-scale Bayesian inverse problems across a broad spectrum of scientific and engineering areas.

How to use this framework

For an overview of the framework please checkout our poster presentations: - 2017 CSSI PI Meeting - 2020 CSSI PI Meeting

The Single-phase subsurface inference problem is best place to learn about the framework.

For additional resources and tutorials please see:

Code availability and downloads

Docker images and conda packages

Coming soon!


We are working on a manuscript describing the integrated MUQ-hIPPYlib framework. For the time being please cite

Omar Ghattas, Ki-Tae Kim, Youssef Marzouk, Matthew Parno, Noemi Petra, and Umberto Villa. 
SI2-SSI: Integrating Data with Complex Predictive Models under Uncertainty: 
An Extensible Software Framework for Large-Scale Bayesian Inversion.
Figshare, 2020,