TL;DR
This paper introduces Bayesian Sample Inference (BSI), a generative modeling framework that reframes the image generation process as iterative Gaussian posterior inference. By starting from a fully probabilistic, noisy initial belief rather than a deterministic one, BSI unifies and improves upon existing frameworks like Bayesian Flow Networks (BFNs), delivering significantly higher sample diversity and quality while maintaining state-of-the-art log-likelihoods.
What Problem Does This Paper Address?
Iterative generative models, most notably Diffusion Models (DMs), have revolutionized AI by turning pure noise into high-fidelity images through step-by-step denoising. More recently, frameworks like Bayesian Flow Networks (BFNs) attempted to ground this process in information theory.
However, BFNs suffer from a subtle limitation: they always start their generation process from a completely deterministic state (a blank slate or zero vector). This rigid initialization restricts the diversity of the early generation steps. The authors of this paper ask a fundamental question: Can we reframe the entire iterative generation process using classical Bayesian probability theory, and does a fully probabilistic initialization improve the model?
Methods
BSI treats the final generated sample $x$ as a fixed but unknown latent variable. The generation process is modeled as a sequence of noisy measurements of this unknown variable.
The generation pipeline works as follows:
- Initial Belief: Start with a very broad, uncertain Gaussian belief distribution over the data space. Unlike BFNs, this initial state is randomized and sampled from a prior.
- Prediction: A neural network $f_\theta$ looks at the current belief state (mean $\mu_i$ and precision $\lambda_i$) and guesses what the final clean sample $\hat{x}$ should look like.
- Noisy Measurement: The framework simulates taking a noisy measurement $y$ centered around the network's prediction $\hat{x}$.
- Bayesian Update: The model updates its belief state using exact, closed-form Bayesian posterior formulas, making the belief slightly more precise and correct.
- Iteration: Repeat steps 2–4 until the precision is high enough to output a clean image.
To train the network, the authors derive a continuous-limit Evidence Lower Bound (ELBO). They introduce a log-uniform importance sampling strategy over the precision levels to drastically reduce the variance of the training loss, making optimization highly stable.
Datasets
The authors evaluated BSI on standard generative modeling image benchmarks:
- CIFAR-10 (32x32 images)
- ImageNet32 (32x32 downsampled ImageNet)
- ImageNet64 (64x64 downsampled ImageNet)
To ensure a fair comparison, all baseline models (BFNs and Variational Diffusion Models) were trained from scratch using identical neural network backbones—specifically, U-Nets and Diffusion Transformers (DiT).
Key Insights and Ideas
- The Hyper-Prior Spectrum: The paper elegantly proves that BSI and BFNs are actually two opposite ends of the same mathematical spectrum. BFNs represent the deterministic end (where initial variance is zero), while BSI represents the least informative end (where the initial state is fully random and noisy).
- Randomness Breeds Diversity: By allowing the initial step to be non-deterministic, BSI injects healthy stochasticity early in the generation process. This aligns with recent findings in consistency models showing that initial state variance directly boosts sample diversity.
- A Non-Markovian Twist: When the authors mathematically inverted BSI to see what its corresponding "forward noising process" would look like in standard diffusion terms, they discovered it is non-Markovian. This means you cannot determine a noisier state without knowing the final clean sample it originated from, distinguishing it from classical diffusion.
Key Results
BSI demonstrates a clear advantage in sample quality (measured by Fréchet Inception Distance, or FID) over both BFNs and Variational Diffusion Models (VDMs), without sacrificing likelihood performance (measured in Bits Per Dimension, or BPD).
Quantitative Performance (ImageNet):
- ImageNet32:
- BSI: FID of 8.9 | BPD of 3.448
- VDM: FID of 9.9 | BPD of 3.452
- BFN: FID of 11.0 | BPD of 3.448
- ImageNet64:
- BSI: FID of 30.1 | BPD of 3.218
- VDM: FID of 35.2 | BPD of 3.228
- BFN: FID of 38.2 | BPD of 3.222
BSI consistently achieves the lowest FID scores (lower is better), meaning it generates more realistic and diverse images. Furthermore, it converges to a high-quality sample much faster than BFN and VDM as the number of sampling steps increases.
Limitations and Future Work
While BSI provides a beautiful theoretical framework and strong empirical results, the authors note a few limitations:
- Pixel-Space Constraints: The experiments were conducted directly in data space (pixel space) on low-resolution images (up to 64x64). Modern high-resolution generation typically relies on Latent Diffusion Models (like Stable Diffusion), and scaling BSI to latent spaces remains untested.
- Modality Restrictions: The current formulation focuses entirely on continuous data. Extending BSI to discrete data domains, such as text or tokenized audio, is an open direction for future research.
Summary updated