Direct Message Approximation (DMA): A Consistency-Based Framework for Tractable Approximate Inference on Factor Graphs
Ralf Herbrich, Rainer Schlosser, Jan Lemcke, Johann Ukrow, Anna Kazachkova, Nicolas Alder, Leonhard Hennicke, Theo Bardey,
Key points
From the paper's conclusion- We introduced Direct Message Approximation (DMA), which approximates factor-to-variable messages directly rather than the marginal, and defined a consistency condition for message construction.
- We proved a master theorem bounding marginal KL from message KL and corollaries including Dirac-input consistency, no EP-style inner-loop iteration, and no negative-precision messages.
- As a concrete instantiation, we derived explicit DMA messages for the product and leaky-ReLU factors and assembled a Bayesian neural network (BNN) inference algorithm with one forward/backward sweep per training example and no gradient learning-rate hyperparameter.
Abstract
Approximate message passing on factor graphs underlies two dominant families of probabilistic inference algorithms: expectation propagation (EP) and variational message passing (VMP). Both methods approximate the marginal at each factor edge, forcing an iterative round-robin schedule, risking negative-precision messages, and, for VMP, collapsing to point estimates at Dirac-delta factors. We introduce Direct Message Approximation (DMA), which approximates factor-to-variable messages directly rather than the marginal. For normalisable factors, we define a consistency condition (requiring exactness when all other incoming messages are Dirac deltas) to guide message construction. We prove a master theorem (proper messages, any graph) bounding marginal KL from message KL, with three structural corollaries: Dirac-input consistency, no EP-style inner-loop iteration, and no negative-precision messages. Further, we prove a complementary $O(1/r^2)$ guarantee for the inherently improper backward message of the product factor, whose closed-form treatment has resisted prior work. As a concrete instantiation, we derive explicit DMA messages for the product and leaky-ReLU factors and assemble a Bayesian neural network (BNN) inference algorithm with one forward/backward sweep per training example and no gradient learning-rate hyperparameter, validating that the structural guarantees translate to predictive uncertainty that widens in data-sparse regions, including under model mismatch.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- We introduced Direct Message Approximation (DMA), which approximates factor-to-variable messages directly rather than the marginal, and defined a consistency condition for message construction.
- We proved a master theorem bounding marginal KL from message KL and corollaries including Dirac-input consistency, no EP-style inner-loop iteration, and no negative-precision messages.
- As a concrete instantiation, we derived explicit DMA messages for the product and leaky-ReLU factors and assembled a Bayesian neural network (BNN) inference algorithm with one forward/backward sweep per training example and no gradient learning-rate hyperparameter.
Readers' thoughts
No reader thoughts yet.
Related papers
- Amortized Bayesian Inference on Multilevel Models of Arbitrary StructurearXiv · 2026
- Extended Neighborhood Message Passing for Inference in Loopy Factor GraphsarXiv · 2026
- Universality of approximate message passing under a fourth-moment tail conditionarXiv · 2026
- Mitigating Representation Gaps in Amortized Bayesian Inference with Auxiliary SupervisionarXiv · 2026
- Product Monte Carlo: Expectation Under a Product of DensitiesarXiv · 2026
- Debiased Prior-Data Fitted Networks for Amortized Bayesian Semi-Parametric InferencearXiv · 2026