L-C2ST: Local Diagnostics for Posterior Approximations in Simulation-Based Inference
Julia Linhart, Alexandre Gramfort, Pedro Rodrigues
Abstract
Many recent works in simulation-based inference (SBI) rely on deep generative models to approximate complex, high-dimensional posterior distributions. However, evaluating whether or not these approximations can be trusted remains a challenge. Most approaches evaluate the posterior estimator only in expectation over the observation space. This limits their interpretability and is not sufficient to identify for which observations the approximation can be trusted or should be improved. Building upon the well-known classifier two-sample test (C2ST), we introduce L-C2ST, a new method that allows for a local evaluation of the posterior estimator at any given observation. It offers theoretically grounded and easy to interpret -- e.g. graphical -- diagnostics, and unlike C2ST, does not require access to samples from the true posterior. In the case of normalizing flow-based posterior estimators, L-C2ST can be specialized to offer better statistical power, while being computationally more efficient. On standard SBI benchmarks, L-C2ST provides comparable results to C2ST and outperforms alternative local approaches such as coverage tests based on highest predictive density (HPD). We further highlight the importance of local evaluation and the benefit of interpretability of L-C2ST on a challenging application from computational neuroscience.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 797777de-0646-4d2e-bc19-ecc3798e64caCited by top-tier papers5
- Conformal C2ST: Turning weak classifiers into strong two-sample testsVansh Bansal, Tianyu Chen, James ScottICML 2026 · 1 citation
- VeriFlow: Modeling Distributions for Neural Network VerificationFaried Abu Zaid, Daniel Neider, Mustafa YalçinerAAAI 2026 · 1 citation
- MIRA: A Score for Conditional Distribution Accuracy and Model ComparisonSammy Sharief, Justine Zeghal, Gabriel Missael Barco, Pablo Lemos et al.ICML 2026
- FUSE: FK-Steered Multi-Modal Flow Matching for Efficient Simulation-Based Posterior EstimationWeichen Qin, Yufan Xie, Peihao Wang, Chia-Jui Chou et al.ICML 2026
- Tokenised Flow Matching for Hierarchical Simulation Based InferenceGiovanni Charles, Cosmo Santoni, Seth Flaxman, Elizaveta SemenovaICML 2026
Builds on7
- Likelihood-free MCMC with Amortized Approximate Ratio EstimatorsJoeri Hermans, Volodimir Begy, Gilles LouppeICML 2020 · 246 citations
- Robust Neural Posterior Estimation and Statistical Model CriticismDaniel Ward, Patrick Cannon, Mark Beaumont, Matteo Fasiolo et al.NeurIPS 2022 · 79 citations
- Towards Reliable Simulation-Based Inference with Balanced Neural Ratio EstimationArnaud Delaunoy, Joeri Hermans, François Rozet, Antoine Wehenkel et al.NeurIPS 2022 · 49 citations
- Group equivariant neural posterior estimationMaximilian Dax, Stephen R. Green, Jonathan Gair, Michael Deistler et al.ICLR 2022 · 38 citations
- Confidence Sets and Hypothesis Testing in a Likelihood-Free Inference SettingNiccolò Dalmasso, Rafael Izbicki, Ann B. LeeICML 2020 · 30 citations
Related papers
- Truncated proposals for scalable and hassle-free simulation-based inferenceMichael Deistler, Pedro J. Gonçalves, Jakob H. MackeNeurIPS 2022 · 76 citations
- CoLT: The conditional localization test for assessing the accuracy of neural posterior estimatesTianyu Chen, Vansh Bansal, James G. ScottNeurIPS 2025
- Sampling-Based Accuracy Testing of Posterior Estimators for General InferencePablo Lemos, Adam Coogan, Yashar Hezaveh, Laurence Perreault LevasseurICML 2023 · 66 citations
- Discriminative Calibration: Check Bayesian Computation from Simulations and Flexible ClassifierYuling Yao, Justin DomkeNeurIPS 2023
- Truncated Marginal Neural Ratio EstimationBenjamin Kurt Miller, Alex Cole, Patrick Forré, Gilles Louppe et al.NeurIPS 2021 · 53 citations
