Giter Site home page Giter Site logo

montefiore-institute / trust-crisis-in-simulation-based-inference Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 1.0 11.05 MB

Code related to the manuscript "Averting A Crisis In Simulation-Based Inference"

License: BSD 3-Clause "New" or "Revised" License

Jupyter Notebook 96.74% Python 3.26%

trust-crisis-in-simulation-based-inference's Introduction

Abstract

We present extensive empirical evidence showing that current Bayesian simulation-based inference algorithms are inadequate for the falsificationist methodology of scientific inquiry. Our results collected through massive experimental computations show that all benchmarked algorithms -- (S)NPE, (S)NRE, SNL and variants of ABC -- may produce overconfident posterior approximations, which makes them demonstrably unreliable and dangerous if one's scientific goal is to constrain parameters of interest. We believe that failing to address this issue will lead to a well-founded trust crisis in simulation-based inference. For this reason, we argue that research efforts should now focus on theoretical and methodological developments of conservative approximate inference algorithms and present research directions towards this objective. In this regard, we show empirical evidence that ensembles are consistently more reliable.

A PDF render of the manuscript is available in this repo or on ArXiV.

Using the code

Recommended. This installs a Python 3 environment by default.

you@computer:~ $ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
you@computer:~ $ sh Miniconda3-latest-Linux-x86_64.sh

Next, install the necessary dependencies.

you@computer:~ conda env create -f environment.yml
you@computer:~ conda activate crisissbi

After the environment has been activated, there are 2 ways to execute the pipelines depending on your setup. The first only requires your laptop. In that regard simply execute a pipeline as follows:

you@computer:~ cd workflows/auc_demonstration
you@computer:~ python pipeline.py

The other approach is on a Slurm enabled HPC cluster. To exploit the parallelism, execute the script as

you@computer:~ cd workflows/auc_demonstration
you@computer:~ python pipeline.py --slurm

The jobs will be automatically submitted to the default Slurm queue.

Citation

See CITATION.cff

License

Described the LICENSE file.

trust-crisis-in-simulation-based-inference's People

Contributors

joerihermans avatar

Stargazers

Phelipe Darc avatar Yunyi Shen avatar Matthew Docherty avatar Peter Steinbach avatar  avatar

Watchers

 avatar Gilles Louppe avatar James Cloos avatar Antoine Wehenkel avatar Arnaud Delaunoy avatar

Forkers

yashpatel5400

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.