Calibrated Test-Time Guidance for Bayesian Inference

Daniel Geyfman, Felix Draxler, Jan Groeneveld, Hyunsoo Lee, Theofanis Karaletsos +1 more
2/25/2026
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Test-time guidance is a widely used mechanism for steering pretrained diffusion models toward outcomes specified by a reward function. Existing approaches, however, focus on maximizing reward rather than sampling from the true Bayesian posterior, leading to miscalibrated inference. In this work, we show that common test-time guidance methods do not recover the correct posterior distribution and identify the structural approximations responsible for this failure. We then propose consistent alternative estimators that enable calibrated sampling from the Bayesian posterior. We significantly outperform previous methods on a set of Bayesian inference tasks, and match state-of-the-art in black hole image reconstruction.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{geyfman2026calibrated,
  title  = {Calibrated Test-Time Guidance for Bayesian Inference},
  author = {Daniel Geyfman and Felix Draxler and Jan Groeneveld and Hyunsoo Lee and Theofanis Karaletsos and Stephan Mandt},
  year   = {2026},
  eprint = {2602.22428},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.22428v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.22428.svg)](https://codeofpaper.com/paper/2602.22428)

Discussion