acceptodds
Published as a conference paper at NeurIPS 2026

Bayesian Backprop as Belief Propagation: Single-Pass Predictive Uncertainty

Wen Dong

Abstract

Modern ML systems increasingly use uncertainty to decide when to abstain, route to a fallback, retrieve more context, or spend additional computation. Yet many strong Bayesian deep-learning recipes make uncertainty expensive on the serving path: ensembles, posterior samples, and MC dropout require repeated forward passes, while fast deterministic confidence heads are not generally posterior-predictive computations over parameter beliefs. We introduce Bayesify, a message-passing view that turns a deterministic neural computation graph into a single-pass posterior-predictive moment graph. Trainable tensors become Gaussian beliefs, activations carry selected moments, and prediction is one deterministic forward propagation of those moments. Theoretically, we show that exact belief propagation is natural-gradient message passing in exponential-family mean space, and that projected EP is implemented by reverse-mode adjoints followed by local Fisher moment updates. This yields a practical wrapper for dense, convolutional, residual, and adapter modules. Experiments evaluate calibrated uncertainty, selective prediction, and OOD behavior at one-pass inference cost, comparing against deterministic calibration, ensembles, dropout, Laplace, SWAG, and variational baselines.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 46%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.25 over 4 reviews, above 46% of the others.
Reviewer_PS41OpenReview ↗
Rating
4
Clarity
2
Confidence
4
Originality
2
Quality
3
Significance
4
Read review
Summary

This work describes an approach that converts a deterministic computation graph into a "moment graph", where Gaussian distributions are propagated (approximately) through deterministic operations. The authors connect his approach to message-passing and belief propagation.

The result is a training procedure that uses a forward-backward pass to update the mean and diagonal covariances over parameters on receipt of a data batch. At test time, uncertainty quantification is achieved through a single pass through the moment graph. This is compelling since many methods (e.g. ensembles) require multiple model passes at test time.

However, I believe the description of the approach is not suitably clear to the reader and the work is not adequately tied to existing work on moment propagation. If the authors can adequately address my questions and concerns then I would be open to increasing my score.

Strengths and weaknesses

Belief propagation notation and terminology can be difficult/rich perhaps for good reason. But I found the technical contribution parts of the paper difficult to read. With many concepts mentioned without definition (e.g. junction trees, mean-form Bethe objective, natural gradient, ....). I appreciate there is the 7 page Appendix D to help but I feel that is suboptimal in aiding the reader's understanding.

Relatedly, I am struggling to validate the informal theorems 3.1 and 3.2 without clearer messaging on what it means for e.g. mean parameters to be "locally consistent". However, the method is generally interesting and results encouraging. I just think the work has higher potential for impact if the mechanisms are explained in simpler terms. Of particular note is Figure 1 which contains notation (C1,S1,x1,...C_1, S_1, x_1, ...) which is not defined as far as I can tell. In my opinion, the paper would be greatly strengthened by simplification of Sections 2, 3 and Figure 1, including better highlighting the sequence of operations applied and how they differ in training and at test time as well as how they differ to a deterministic computation graph.

I believe the method can be significant and results impactful for the community. Since the experimental evidence is impressive and the fact it only requires a single forward pass at test time. Although I would like more discussion of how expensive in terms of time and memory a forward pass of a moment graph is vs a deterministic graph. As well as comparison to a pure deterministic baseline (without temperature scaling) or justification as to why that isn't appropriate.

With regards to originality, the related work should not simply mention related methods but describe how the introduced moment propagation differs. Particularly similar work includes:

Li, Rui, et al. "Streamlining prediction in Bayesian deep learning." International Conference on Learning Representations. Vol. 2025. 2025.

Hernández-Lobato, José Miguel, and Ryan Adams. "Probabilistic backpropagation for scalable learning of bayesian neural networks." International conference on machine learning. PMLR, 2015.

Shekhovtsov, Alexander, Boris Flach, and Michal Busta. "Feed-forward uncertainty propagation in belief and neural networks." arXiv preprint arXiv:1803.10590 (2018).

Questions

As mentioned above I'd like to understand the core differences between the introduced moment propagation approach and the references above.

Relatedly, where appropriate the authors would be encouraged to include the most relevant existing moment propagation approaches in their experiments.

How much more expensive in terms of time and memory is the introduced moment propagations vs deterministic training? And at test time?

To what extend is the "Bayesify" method Bayesian? I think this should be clarified. What Bayesian posterior(s) is it approximating?

Limitations

I think the limitations of the work are not adequately discussed, and the justification in the checklist is insufficient. The authors should be clear on the computational cost of the approach compared to baselines, sensitivity to hyperparameters as well as what benefits the approach brings and doesn't bring.

Paper formatting concerns

No major formatting concerns

Final justification

The authors provided a good rebuttal with clarifications to my concerns and an improved literature review. I have increased my score from 2 to 4 assuming these will be reflected in any revision.

Reviewer_TvRpOpenReview ↗
Rating
5
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper introduces Bayesify, a message-passing framework that transforms deterministic neural computation graphs into single-pass posterior-predictive moment graphs. By representing weights as Gaussian beliefs and propagating selected moments, Bayesify enables a deterministic forward pass to compute predictive moments, while its reverse pass uses adjoints combined with local Fisher blocks to implement projected Expectation Propagation and natural-gradient moment updates. Theoretically, the work demonstrates that exact belief propagation on junction trees is equivalent to natural-gradient message passing in exponential-family mean space, and that reverse-mode adjoints through the moment graph yield projected-EP updates. Empirically, Bayesify achieves single-pass inference costs while delivering well-calibrated uncertainty and highly competitive out-of-distribution and selective performance on vision and NLP tasks, outperforming standard baselines such as ensembles, SWAG, MC dropout, Laplace, and Variational Inference.

Strengths and weaknesses

Strengths

  • Recasting belief propagation as natural-gradient message passing in mean space (Theorem 3.1) is conceptually elegant and clarifies why a forward/backward pipeline suffices for local Bayesian updates.

  • The projected EP result (Theorem 3.2) operationally bridges autodiff adjoints and EP moment corrections, yielding a site-free, module-local update rule with clear Fisher geometry.

  • The development of a unified, practical wrapper that bayesifies dense, convolutional, residual, and adapter modules, as well as shared-tensor graph operations (residuals, concatenation) with explicit forward/backward moment rules, is highly well engineered.

  • The diagonal-Gaussian message rules (Eq. 2–5) make the method concrete and readily implementable.

Weaknesses

  • The approach relies heavily on diagonal Gaussian approximations and local first/second-moment projections. Under strong non-Gaussianity, multimodality, or strong weight–activation coupling, the method may misestimate epistemic uncertainty.

  • The scheduling of EP-style updates in loopy or high-treewidth graphs lacks convergence guarantees. Practical stability is discussed but not formally analyzed.

  • The observation head for classification is described as a differentiable surrogate without precise specification. Mapping uncertain logits to calibrated class probabilities is nontrivial and may materially affect results.

  • Priors and their role in controlling posterior variances are not specified in the main text. Without explicit priors, variances could collapse or drift.

  • Wall-clock latency and memory overheads relative to strong single-pass baselines are not quantified; “equivalent forward passes” serves as an incomplete proxy for serving cost.

  • Main tables show results from only three seeds and lack error bars. Ablations are deferred to the supplement and not summarized.

  • LLM/PEFT experiments are limited with small margins. Broader LLM coverage or stronger OOD stress-tests would strengthen claims.

  • Equations 2 and 3 use ⊙\odot for elementwise operations, but Equation 3 states “⊙\odot denotes elementwise division,” which conflicts with standard usage and Equation 2. This should be corrected to avoid confusion.

  • Table text contains typographical artifacts (e.g., “ог,” “mn/Un,” “ep details”), and the classification head details are underspecified.

  • Prior deterministic, single-pass probabilistic forward pass or moment-propagation approaches are cited but not compared empirically. A head-to-head comparison would better contextualize the gains.

  • Recent formalizations of EP as natural-gradient descent could be discussed more deeply to situate Theorem 3.2 relative to prior theory.

  • Modern evidential and possibilistic single-pass methods are omitted from empirical comparisons, even though they target the same deployment niche despite conceptual differences.

Questions
  • Can you provide wall-clock latency and memory measurements at inference for Bayesify compared to SNGP, DUE, and evidential baselines on CIFAR-10 and CLINC? Please include the FLOPs overhead incurred from variance propagation.

  • How stable are EP-style updates in loopy graphs containing residual or dense connections? Do you observe divergence or oscillations without damping, and how sensitive is the system to the tuning of ρ\rho? Could you report ablations comparing diagonal versus limited block-covariance moments?

  • How do first-order approximations compare to analytic nonlinear moment transforms? What is the specific impact of the residual first-order covariance (S+JFS + JF) on calibration and out-of-distribution metrics?

  • How does Bayesify compare empirically to Probabilistic Backpropagation (PBP) and recent Probabilistic Forward-Pass (PFP) implementations on shared single-pass constraints (e.g., CIFAR-10/C, Dirty-MNIST)?

  • In the LLM/PEFT setting, can you expand the evaluation to a wider range of GLUE tasks? Please provide selective-prediction curves (AURC versus coverage) and OOD robustness metrics under domain shifts beyond the IMDb and HANS datasets.

Limitations

Yes

Paper formatting concerns

No concerns

Final justification

The paper provides a novel, elegant, and practical integration of belief propagation and automatic differentiation. It translates the natural-gradient geometry of EP into custom VJPs across complex deep learning primitives (including residual paths and adapters), outperforming existing single-pass uncertainty baselines on corruption and OOD metrics.

Reviewer_KpCoOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper studies the important problem of uncertainty estimation in neural networks, especially requiring only a single forward pass at the test time. In particular, the paper proposes Bayesify, a framework that turns a standard neural network into a moment-propagation graph: weights are represented as Gaussian beliefs, and activations carry means and variances rather than only point values. At inference time, the method approximates the posterior predictive distribution with one deterministic forward pass, avoiding the multiple samples or model evaluations required by ensembles, MC dropout, SWAG, or Bayes by Backprop. The paper connects belief propagation, expectation propagation, natural-gradient updates, and reverse-mode autodiff, arguing that backpropagation through the chosen moment graph yields local projected-EP moment updates. Empirically, it reports competitive calibration, selective prediction, and OOD detection results on vision, NLP, and LoRA-adapter settings, while maintaining single-pass test-time inference.

Strengths and weaknesses

Strengths

  • The paper targets an important deployment problem: The paper focuses on obtaining useful Bayesian uncertainty with only a single inference pass, avoiding the high test-time cost of ensembles, MC dropout, SWAG, or posterior sampling. This is practically valuable for abstention, routing, OOD detection, and selective prediction.
  • The conceptual framework is elegant and principled: The paper gives a coherent view of neural networks as moment graphs, connecting belief propagation, projected EP, natural-gradient updates, and reverse-mode autodiff. This makes the method more principled than a simple variance-propagation heuristic.

Weaknesses

  • Strong modeling approximation: The framework mainly relies on diagonal Gaussian and first and second moments. This, although simplifies analysis, ignores posterior correlations and may fail to capture important uncertainty structure in deep networks.
Questions

Could the authors provide a discussion of the errors accumulated due to the rough approximation with diagonal Gaussian?

Limitations

The paper does include limitations along, but not in a separated section.

Paper formatting concerns

No

Final justification

The paper addresses an important problem of efficiency when calculating uncertainty in deep neural networks. However, the current form has to compress the content to fit the number of allowable pages, and hence, most theoretical analyses and equations are moved into the appendices. Although this is valid technically, it reduces the readability and makes difficulty to understand the paper. The paper is positive and my recommendation leans towards acceptance.

Reviewer_LP5bOpenReview ↗
Rating
4
Clarity
2
Confidence
2
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper presents a theory to map a neural computational graph into a single-pass belief propagation, allowing the computation of the uncertainty of the neural network decision. The mapping applies to the most common neural network blocks and two theorems are provided to assess the properties of the proposed approach on exact junction trees and on projected statistics. The algorithm is experimentally evaluated on different datasets and models, comparing it with other approaches.

Strengths and weaknesses

Strengths

  • the considered problem is important and theoretical results are provided to support the proposed approach
  • the mapping applies to generic neural architectures including feedforward, convolutional, attention modules
  • even if the main focus is on theory, an experimental evaluation on some benchmarks is provided

Weaknesses

  • the paper is hard to follow especially for readers having no strong background on the topic. Most of the theory and theoretical results are explain in text without equations. A clear understanding is not possible without the technical details and full equations available in the supplemental material. In my own opinion, the supplemental material should be provided in order to deepen some aspects and it should not be essential for an easier reading of the paper.
  • the experimental comparisons show that the proposed approach performs similarly with respect to the selected competitors. Hence the possible benefits are not clearly supported. I may guess that there is some advantage with respect to the overall complexity, but the reported results are only related to accuracy, etc. Results are avergaed over 3 seeds but only the average is reported.
Questions

For the experimental evaluation on LLMs (section 4.2) the text refers to gpt2_base_en whereas in the table (and in other parts) the model indicated is RoBERTa-base. Please check which is the correct one.

Limitations

yes

Paper formatting concerns

The text in Table 2 is extremely small. Also Figure 2 is hardly readable.

Final justification

The considered problem is important, and solid theoretical results are provided to support the proposed approach. Moreover, the proposed mapping is versatile, applying to generic neural architectures including feedforward, convolutional, and attention modules. My main concern was readability; however, the authors have promised to significantly improve the presentation by making it self-contained and adding both a workflow sketch and a summary table. The contribution is mainly theoretical, but the reported experimental evaluation helps to give some insights on the practical application of the proposed theory.

Comments on the paper

1 comment
Meta-review

Overview

The paper replaces selected parameter tensors with diagonal Gaussian beliefs and propagates activation means and variances through a deterministic moment graph. Training differentiates an observation-head scalar backward and uses each parameter belief's Fisher matrix to convert the gradients into moment updates; inference propagates predictive moments forward. The exact result applies to compatible exponential-family junction trees, whereas the neural construction uses diagonal projections, approximate nonlinear moments, loopy or shared structures, and a surrogate classification head.

Issues

The major issues raised by the reviewers are:

  • Unclear Bayesian specifications (Reviewer_PS41, Reviewer_TvRp): The prior and posterior being approximated, the classification observation head, and the way site-free updates incorporate evidence across minibatches and epochs are insufficiently specified. These gaps make the Bayesian interpretation and reproducibility difficult to assess.
  • Limited justification for the approximations (Reviewer_TvRp, Reviewer_KpCo): The exact result concerns junction trees, whereas the neural method discards correlations, projects nonlinear moments, and may operate on loopy graphs. Approximation errors are not quantified empirically or theoretically, so the theory does not establish posterior-predictive fidelity for generic neural networks.
  • Theory–implementation mismatch (additional AC concern, related to Reviewer_TvRp): On my reading, the LoRA implementation uses an EMA empirical-Fisher precision update and tuned logit-variance correction rather than Algorithm 1's covariance-matching moment update; the vision implementation is also not specified sufficiently. The experiments may therefore validate a related Laplace-style method rather than the proposed projected-EP method.
  • Unclear novelty relative to moment propagation (Reviewer_PS41, Reviewer_TvRp): The technical and empirical distinctions from Probabilistic Backpropagation, feed-forward uncertainty propagation, and other recent single-pass moment methods are not made precise, and the closest approaches are not compared directly.
  • Practical advantage not adequately demonstrated (Reviewer_PS41, Reviewer_TvRp, Reviewer_LP5b): A single Bayesify pass may still cost more than a standard deterministic forward pass because it computes and stores both means and variances; actual latency, memory use, and FLOPs are not reported.

The authors should rebut these reservations individually if any are factually incorrect, particularly by showing whether and where the experimental implementations realize Algorithm 1. A precise factual reconciliation of the theory and implementation could materially impact the final assessment. If the reservations are correct, however, addressing them would require substantial revision, likely most cleanly handled in a resubmission.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.