probabilists / lampe

Likelihood-free AMortized Posterior Estimation with PyTorch
https://lampe.readthedocs.io
MIT License
119 stars 11 forks source link

Implement differentiable coverage probability regularizer #14

Closed macio232 closed 3 months ago

macio232 commented 10 months ago

Description

The method described in Calibrating Neural Simulation-Based Inference with Differentiable Coverage Probability paper.

Implementation

New loss class in the inference module, similar to the NRELoss ->BNRELoss enhancement.

Two separate classes, one for NRE, and one for NPE.

Alternatives

I did not consider alternatives.

francois-rozet commented 10 months ago

Hello @macio232 thanks for the feature request! I'll take a look at the PR soon!