Papers
Topics
Authors
Recent
Search
2000 character limit reached

Finite-Sample Posterior Sampling

Updated 5 July 2026
  • Finite-sample posterior sampling is a framework that addresses Bayesian inference when resources like samples, data, or computation are limited.
  • It unifies diverse methodologies including Monte Carlo integration, normalizing flow refinements, and exact samplers by leveraging structural properties such as group invariance.
  • It provides practical finite-sample guarantees with error bounds and regret analyses in applications like Bayesian neural networks, reinforcement learning, and high-dimensional regression.

Finite-sample posterior sampling denotes a family of Bayesian methods and analyses concerned with drawing, approximating, or evaluating posterior distributions when a relevant resource is finite: the number of Monte Carlo samples, the sample size, the decision horizon, or the computation allowed per posterior draw. In the literature considered here, the term encompasses finite-SS predictive integration in Bayesian neural networks, finite-horizon posterior-sampling policies in bandits and reinforcement learning, single-step or proposal-corrected posterior samplers for inverse problems and time-series models, exact finite-sample constructions in group-invariant models, and finite-sample concentration or diagnostic frameworks for high-dimensional regression and diffusion-based inverse problems (Kristiadi et al., 2022, Russo et al., 2013, Mammadov et al., 2024, Taraldsen et al., 2020, Strawn et al., 2012, Burns et al., 28 May 2026).

1. Scope and principal meanings

The expression is not attached to a single algorithmic template. Rather, it names a recurring question: how closely can one realize Bayesian posterior inference when sampling, learning, or decision-making must proceed under an explicitly finite budget.

Finite resource Representative formulation Example papers
Monte Carlo budget p^(yx,D)=1Ss=1Sp(yx,ws)\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s) (Kristiadi et al., 2022)
Decision horizon or dataset size Bayesian regret or sub-optimality over TT periods or KK episodes (Russo et al., 2013, Nguyen-Tang et al., 2024, Agarwal et al., 2022)
Computation per posterior draw Single-NFE amortized sampling or locally Gaussian proposal construction (Mammadov et al., 2024, Fan et al., 8 Mar 2026)
Prior sample size Weighted empirical posterior or finite-sample diffusion reference posterior (Shalizi, 2022, Burns et al., 28 May 2026)
Statistical concentration Posterior mass in finite-sample neighborhoods of the truth (Strawn et al., 2012)

This distribution of meanings suggests that finite-sample posterior sampling is best understood as a unifying editorial category rather than a single method class. What remains common is the attempt to replace asymptotic assurances by explicit finite-nn, finite-TT, finite-SS, or finite-computation statements.

2. Finite Monte Carlo and finite-computation posterior approximation

A central version of the problem appears in Bayesian neural networks. For a predictive target,

p(yx,D)=p(yx,w)p(wD)dw,p(y_* \mid x_*,D)=\int p(y_* \mid x_*,w)\,p(w \mid D)\,dw,

practical inference uses an approximate posterior q(w)q(w) and Monte Carlo integration,

p^(yx,D)=1Ss=1Sp(yx,ws),wsq(w).\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s), \qquad w_s \sim q(w).

The key claim of "Posterior Refinement Improves Sample Efficiency in Bayesian Neural Networks" is that finite-p^(yx,D)=1Ss=1Sp(yx,ws)\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s)0 predictive accuracy depends more on the quality of p^(yx,D)=1Ss=1Sp(yx,ws)\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s)1 than on merely increasing p^(yx,D)=1Ss=1Sp(yx,ws)\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s)2. The paper refines a Gaussian p^(yx,D)=1Ss=1Sp(yx,ws)\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s)3 with normalizing flows p^(yx,D)=1Ss=1Sp(yx,ws)\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s)4, yielding

p^(yx,D)=1Ss=1Sp(yx,ws)\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s)5

and optimizes an ELBO-style objective

p^(yx,D)=1Ss=1Sp(yx,ws)\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s)6

Empirically, full-batch HMC with p^(yx,D)=1Ss=1Sp(yx,ws)\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s)7 outperformed Laplace with p^(yx,D)=1Ss=1Sp(yx,ws)\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s)8 on Fashion-MNIST, and a logistic-Gaussian integral experiment showed that even p^(yx,D)=1Ss=1Sp(yx,ws)\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s)9 can retain large absolute errors, making posterior approximation error rather than pure MC variance the dominant issue (Kristiadi et al., 2022).

A different route is to eliminate iterative posterior sampling at inference time. "Amortized Posterior Sampling with Diffusion Prior Distillation" formulates inverse problems

TT0

and learns a conditional flow

TT1

by minimizing TT2. Because the prior TT3 is implicit through a pretrained diffusion model, the method substitutes a tractable diffusion-model ELBO surrogate TT4 for TT5. Once trained, sampling requires a single neural function evaluation, so “finite-sample” here refers to finite computation per posterior draw rather than finite data only. The same framework is stated to apply both in Euclidean domains and on discretized manifolds (Mammadov et al., 2024).

A third line replaces MCMC by direct prior sampling with likelihood weighting. "Evaluating Posterior Distributions by Selectively Breeding Prior Samples" draws TT6, computes TT7, and defines

TT8

For measurable TT9,

KK0

and KK1 almost surely by the strong law. The paper further establishes almost-sure uniform convergence over universal Glivenko-Cantelli classes and an asymptotic variance bound involving KK2, thereby placing a fully non-Markov posterior sampler inside a finite-sample empirical-process framework (Shalizi, 2022).

Likelihood-specific proposal schemes occupy an intermediate position between approximation and exact targeting. For Poisson INGARCH models, an approximate posterior is built by using the Poisson limit of the negative binomial distribution and Pólya-Gamma augmentation, which yields locally Gaussian updates for autoregressive parameters. The resulting Gaussian proposal is then corrected by a Metropolis-Hastings ratio using the exact Poisson likelihood, so approximation affects efficiency rather than the target distribution itself. The paper emphasizes numerical stability under strong temporal dependence and proposes the same construction for adaptive importance sampling (Fan et al., 8 Mar 2026).

3. Exact and structure-exploiting finite-sample samplers

Some finite-sample posterior samplers are exact because the model admits an explicit structural reduction. In "Fiducial and Posterior Sampling," Taraldsen and Lindqvist generalize the coincidence between fiducial and Bayesian posteriors in group models with right Haar priors. In a conventional simple fiducial model KK3, with unique inversion KK4, the fiducial draw KK5 equals the Bayesian posterior draw whenever the distribution of KK6 does not depend on KK7. In group-invariant models this condition is induced by right invariance, so KK8. The paper gives exact finite-sample algorithms for the normal location-scale model, including

KK9

and extends the construction rigorously to nn0-finite measure spaces, thereby accommodating improper Haar priors and conditional distributions defined by disintegration (Taraldsen et al., 2020).

Exactness can also be preserved under aggressive subsampling. "Efficient posterior sampling for high-dimensional imbalanced logistic regression" embeds importance-weighted and mini-batch subsampling into a generalized Zig-Zag piecewise deterministic MCMC scheme. The posterior is

nn1

with coordinate-wise event rates decomposed into prior and likelihood contributions. For logistic regression, nn2 with nn3, and importance weights nn4 reduce the thinning bound from nn5 to nn6. The invariant measure remains the exact full-data posterior for any mini-batch size, including nn7, and the empirical study on a cervical-cancer dataset with only 18 positives reported mixing times nn8, nn9, and TT0 for uniform subsampling, importance subsampling, and importance plus stratification, respectively (Sen et al., 2019).

A further structural route is measure decomposition. In sparse linear regression with spike-and-slab priors, the posterior

TT1

is typically multimodal. "Provably Efficient Posterior Sampling for Sparse Linear Regression via Measure Decomposition" introduces an auxiliary variable TT2 so that

TT3

with conditional posterior

TT4

Under mild prior assumptions and random-design conditions, the TT5-marginal becomes strongly log-concave when TT6 exceeds a constant threshold, enabling polynomial-time sampling by MALA or HMC for TT7 followed by coordinate-wise sampling for TT8. The paper also gives a total-variation composition bound,

TT9

for the two-stage approximation (Montanari et al., 2024).

4. Finite-sample guarantees in sequential decision making

In sequential decision problems, posterior sampling usually denotes a decision policy rather than a posterior simulator, and finite-sample analysis takes the form of regret or sub-optimality bounds. Russo and Van Roy’s "Learning to Optimize Via Posterior Sampling" studies the algorithm now widely called Thompson sampling: at time SS0, form SS1, draw SS2, and choose

SS3

The central theoretical tool is an exact regret identity valid for any upper-confidence sequence SS4,

SS5

which converts UCB analyses into Bayesian regret bounds for posterior sampling. The resulting finite-sample theory depends on the eluder dimension SS6. Specializations recover SS7 for SS8-armed bandits, SS9 for linear models, and p(yx,D)=p(yx,w)p(wD)dw,p(y_* \mid x_*,D)=\int p(y_* \mid x_*,w)\,p(w \mid D)\,dw,0 for generalized linear models (Russo et al., 2013).

Offline reinforcement learning changes the meaning of posterior sampling again. "On Sample-Efficient Offline Reinforcement Learning: Data Diversity, Posterior Sampling, and Beyond" introduces a model-free posterior-sampling critic within the GOPO actor-critic framework. The critic samples p(yx,D)=p(yx,w)p(wD)dw,p(y_* \mid x_*,D)=\int p(y_* \mid x_*,w)\,p(w \mid D)\,dw,1 from a data-dependent posterior

p(yx,D)=p(yx,w)p(wD)dw,p(y_* \mid x_*,D)=\int p(y_* \mid x_*,w)\,p(w \mid D)\,dw,2

where pessimism is encoded in the prior term p(yx,D)=p(yx,w)p(wD)dw,p(y_* \mid x_*,D)=\int p(y_* \mid x_*,w)\,p(w \mid D)\,dw,3. The finite-sample bound is frequentist rather than Bayesian and depends on the data-diversity coefficient p(yx,D)=p(yx,w)p(wD)dw,p(y_* \mid x_*,D)=\int p(y_* \mid x_*,w)\,p(w \mid D)\,dw,4, with the simplified rate

p(yx,D)=p(yx,w)p(wD)dw,p(y_* \mid x_*,D)=\int p(y_* \mid x_*,w)\,p(w \mid D)\,dw,5

A notable point is that posterior sampling, though usually associated with exploration, is shown to be compatible with offline pessimism through the prior construction (Nguyen-Tang et al., 2024).

The same theme continues in non-linear reinforcement learning with large or infinite action spaces. "Non-Linear Reinforcement Learning in Large Action Spaces: Structural Conditions and Sample-efficiency of Posterior Sampling" proposes TSp(yx,D)=p(yx,w)p(wD)dw,p(y_* \mid x_*,D)=\int p(y_* \mid x_*,w)\,p(w \mid D)\,dw,6, an optimistic posterior-sampling algorithm with two posterior draws p(yx,D)=p(yx,w)p(wD)dw,p(y_* \mid x_*,D)=\int p(y_* \mid x_*,w)\,p(w \mid D)\,dw,7 and p(yx,D)=p(yx,w)p(wD)dw,p(y_* \mid x_*,D)=\int p(y_* \mid x_*,w)\,p(w \mid D)\,dw,8, a random switching time p(yx,D)=p(yx,w)p(wD)dw,p(y_* \mid x_*,D)=\int p(y_* \mid x_*,w)\,p(w \mid D)\,dw,9, and an inner posterior over q(w)q(w)0 that soft-minimizes squared TD error. Its analysis introduces an effective Bellman rank q(w)q(w)1 and an effective embedding dimension q(w)q(w)2. In the finite-q(w)q(w)3, finite-dimensional case, the average regret scales as

q(w)q(w)4

while the TSq(w)q(w)5-D variant with known features and G-optimal design attains a q(w)q(w)6 rate. This is presented as the first non-linear posterior-sampling guarantee for general action spaces under a linear embeddability condition (Agarwal et al., 2022).

5. Finite-sample evaluation, concentration, and diagnostics

Finite-sample posterior sampling is also a problem of evaluating posterior procedures rather than only generating samples. In Bayesian clinical trials, posterior decision summaries such as

q(w)q(w)7

and posterior predictive success probabilities q(w)q(w)8 are themselves random across repeated samples. "Estimating the Sampling Distribution of Posterior Decision Summaries in Bayesian Clinical Trials" uses Bernstein–von Mises and Laplace approximations to build parametric finite-sample models for the sampling law of these summaries, then calibrates them with a small number of simulations. Two constructions are emphasized: a beta-mixture model for q(w)q(w)9, which yields the p^(yx,D)=1Ss=1Sp(yx,ws),wsq(w).\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s), \qquad w_s \sim q(w).0 limit under the null boundary and concentration near p^(yx,D)=1Ss=1Sp(yx,ws),wsq(w).\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s), \qquad w_s \sim q(w).1 under well-separated alternatives, and a Normal-on-p^(yx,D)=1Ss=1Sp(yx,ws),wsq(w).\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s), \qquad w_s \sim q(w).2 model with p^(yx,D)=1Ss=1Sp(yx,ws),wsq(w).\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s), \qquad w_s \sim q(w).3, typically a probit or logit transform. The procedure is explicitly described as simulation-assisted rather than simulation-based, with direct use for operating characteristics, assurance, and sample-size determination (Golchi et al., 2023).

In high-dimensional regression, finite-sample analysis asks whether posterior draws fall near the true coefficient vector. "Finite sample posterior concentration in high-dimensional regression" studies Gaussian linear models p^(yx,D)=1Ss=1Sp(yx,ws),wsq(w).\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s), \qquad w_s \sim q(w).4 with p^(yx,D)=1Ss=1Sp(yx,ws),wsq(w).\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s), \qquad w_s \sim q(w).5, approximate p^(yx,D)=1Ss=1Sp(yx,ws),wsq(w).\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s), \qquad w_s \sim q(w).6-sparsity, and restricted isometry/orthogonality conditions. A universal finite-sample bound controls

p^(yx,D)=1Ss=1Sp(yx,ws),wsq(w).\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s), \qquad w_s \sim q(w).7

in terms of test error, prior small-ball mass p^(yx,D)=1Ss=1Sp(yx,ws),wsq(w).\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s), \qquad w_s \sim q(w).8, and prior mass outside a compressible set p^(yx,D)=1Ss=1Sp(yx,ws),wsq(w).\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s), \qquad w_s \sim q(w).9. For a Uniform-Gaussian spike-and-slab prior, a sharper result is obtained, and the paper states contraction in the regime p^(yx,D)=1Ss=1Sp(yx,ws)\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s)00. This makes finite-sample concentration immediately relevant for posterior sampling: a posterior draw is accurate whenever the posterior mass outside the corresponding ball is small (Strawn et al., 2012).

A more recent use of the term is explicitly diagnostic. "When, why, and how do diffusion posterior samplers fail? A finite-sample lens" replaces the unknown prior by an empirical measure

p^(yx,D)=1Ss=1Sp(yx,ws)\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s)01

which induces closed-form expressions for the diffusion-time marginal, denoiser, denoising likelihood, and finite-sample posterior

p^(yx,D)=1Ss=1Sp(yx,ws)\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s)02

For fixed p^(yx,D)=1Ss=1Sp(yx,ws)\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s)03, the total-variation error of this finite-sample posterior decays empirically at the Monte Carlo rate p^(yx,D)=1Ss=1Sp(yx,ws)\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s)04. Because the reference posterior is available at intermediate times, it becomes possible to diagnose diffusion posterior samplers such as DPS, IIGDM, and TMPD. The principal failure mechanism identified is misestimation of intermediate-time posterior spread, which leads to early-stopping sensitivity, incorrect relative weighting of posterior modes, and hallucinations of prior-only or likelihood-only modes. The paper further states that these failures do not require a nonlinear forward model or a multimodal posterior; a multimodal prior plus spread miscalibration is sufficient (Burns et al., 28 May 2026).

6. Recurrent themes, misconceptions, and limitations

A recurrent misconception is that increasing the number of samples is a universal cure. The Bayesian-neural-network results dispute this directly: if the posterior approximation p^(yx,D)=1Ss=1Sp(yx,ws)\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s)05 is poor, increasing p^(yx,D)=1Ss=1Sp(yx,ws)\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s)06 only reduces sampling variance and does not remove approximation bias. This is precisely why Laplace with p^(yx,D)=1Ss=1Sp(yx,ws)\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s)07 can remain inferior to HMC with p^(yx,D)=1Ss=1Sp(yx,ws)\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s)08, and why posterior refinement rather than brute-force Monte Carlo becomes the dominant intervention (Kristiadi et al., 2022).

A second misconception is that posterior sampling is synonymous with MCMC. The corpus considered here includes exact Haar-prior fiducial samplers, nonreversible PDMP samplers with exact stationarity under arbitrarily small subsamples, and non-Markov importance-resampling schemes based on prior draws and likelihood weights. These procedures target posterior distributions without a conventional Metropolis-within-Gibbs or Hamiltonian trajectory as the primary mechanism (Taraldsen et al., 2020, Sen et al., 2019, Shalizi, 2022).

A third misconception is that posterior-sampling failures in diffusion inverse problems are explained only by nonlinearity of the forward model or multimodality of the posterior. The finite-sample diffusion diagnostic argues otherwise: inaccurate intermediate-time spread alone can produce mode-weight errors and hallucinations even with linear p^(yx,D)=1Ss=1Sp(yx,ws)\hat p(y_* \mid x_*,D)=\frac{1}{S}\sum_{s=1}^S p(y_* \mid x_*,w_s)09 and a unimodal true posterior, provided the prior is multimodal (Burns et al., 28 May 2026).

Across these literatures, exactness or strong finite-sample control is usually purchased by strong structure: group invariance and right Haar priors, bounded per-datum derivatives, log-concavity after auxiliary-variable decomposition, known or effectively low-dimensional embeddings, or sufficiently sparse priors with substantial small-ball mass (Taraldsen et al., 2020, Sen et al., 2019, Montanari et al., 2024, Agarwal et al., 2022, Strawn et al., 2012). Approximate methods then require explicit correction or calibration mechanisms: Metropolis-Hastings correction for Poisson INGARCH, finite-sample spread diagnostics for diffusion samplers, or simulation-assisted calibration for posterior decision summaries (Fan et al., 8 Mar 2026, Burns et al., 28 May 2026, Golchi et al., 2023).

This suggests a broad synthesis. Finite-sample posterior sampling is not a single doctrine about how to sample from a posterior, but a technical program for making posterior inference explicit under finite resources. Its most robust results arise when posterior geometry can be represented exactly or nearly exactly in a tractable auxiliary form; its most persistent difficulties arise when finite computation or finite sampling distorts posterior spread, normalization, or mode weights.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Finite-Sample Posterior Sampling.