AIMech AI

Variational message passing

Algorithms AIMech:VariationalMessagePassing DRAFT
Aliases: VMP
A variational inference algorithm that organizes conjugate-exponential coordinate updates as local messages carrying expected sufficient statistics and natural-parameter contributions through a Bayesian network.
Identity Notes & Concept Scope No normalized identity match across 442 pinned AIO IDs, labels and all scoped synonyms and 551 native IDs, names and aliases, including VMP and conjugate spelling variants. Full-checkout fixed-string searches included ignored and hidden files in the recovery, old discovery and original Documents checkouts, with 58, 0 and 1 matched lines. All 42 distinct contents were read, including the complete generated NCVMP search string: matches are the newer nonconjugate algorithm, pending source leads and an unrelated word. Assessed all 15 semantic AIO rows and 122 native names/definitions, six full annotated AIO CLASS nodes with incident edges/generated YAML and six full native context records. VMP supplies graph-local sufficient-statistic message routing and closed conjugate coordinate updates, beyond a mean-field family and objective alone. It differs from BBVI stochastic gradients, NCVMP expected-log-gradient fixed-point proposals, VEM model-parameter alternation and ICM point-state maximization. This record covers the original conjugate-exponential core; auxiliary-bound, sampling and structured extensions need their own assumptions. Absence is bounded to the inspected pin and corpus.

Claims & Grounded Evidence

7 Claims
Mechanism #variational-coordinate-objective
For fixed observed variables v and a proper Bayesian-network joint p(h,v)=product_i p(x_i|pa_i) with positive finite evidence p(v), choose normalized variational factors q(h)=product_j q_j(h_j) over disjoint hidden blocks. Maximize L(q)=E_q[log p(h,v)]+H(q), so log p(v)-L(q)=KL(q||p(h|v)) where expectations are finite and supports compatible. Holding all other factors fixed, the normalized update q_j_new(h_j) proportional to exp(E_q_-j[log p(h,v)]) is the exact coordinate optimum when this distribution exists in the permitted family. Vector-valued node blocks can retain within-block dependence.
Mechanism #local-markov-blanket
The coordinate log update depends only on the updated node’s own conditional and its children’s conditionals: its parents, children and the children’s other parents supply the required local information. Nonadjacent log terms are constant in the updated block. The graph’s conditional-independence structure is used to compute the variational update; it does not assert that the true posterior factors like q.
Mechanism #conjugate-message-routing
In the conjugate-exponential core, write the updated node’s conditional log density as phi(pa)^T*u(x)+f(x)-kappa(phi(pa)). Parent-to-child messages provide current expected sufficient statistics. Each child-to-parent message supplies the expected natural-parameter coefficient of u(x) from that child’s log conditional, using the child’s moments and its other parents’ current moments. The node’s new natural parameter is E[phi(pa)] plus the sum of its child contributions; retain the carrier f(x) once and normalize the resulting factor. Recompute its sufficient-statistic moments from the log-partition derivative or equivalent exact formulas. Observed nodes send their actual sufficient statistics. The needed expectations must be closed under the selected conjugate families.
Mechanism #schedule-and-guarantee
Initialize proper factors with consistent moments and update one block at a time using current incoming information, recomputing its outgoing moments before later affected updates. In exact arithmetic, each valid conjugate coordinate optimum cannot decrease the fixed-model variational lower bound. A bound threshold or iteration cap is a stopping rule, not a posterior-accuracy certificate. Bound monotonicity does not imply global optimality, convergence of all parameter iterates or even that every fixed point is a local optimum; synchronous updates using stale interacting neighbors do not inherit the sequential guarantee.
Mechanism #gaussian-mean-precision
For observations y_n conditionally N(mu,tau^-1), independent priors mu~N(m0,lambda0^-1) and tau~Gamma(a0,b0) in shape-rate form, and q(mu)q(tau), the conjugate updates are v_mu=(lambda0+N*E[tau])^-1, m_mu=v_mu*(lambda0*m0+E[tau]*sum_n y_n), a_tau=a0+N/2 and b_tau=b0+0.5*sum_n((y_n-E[mu])^2+Var(mu)), with each update using current moments. E[tau]=a_tau/b_tau. The variance term in the precision-rate update is required; replacing E[(y_n-mu)^2] by its squared-mean residual alone changes the method. These are coordinate updates of an approximate product posterior.
Mechanism #bound-accounting
The variational bound sums the expected log conditional of every model node, including observed nodes, plus the entropy of each hidden variational factor. Node normalizers and carrier terms must be retained for the bound even when constants cancel from parameter updates. The resulting quantity is a lower bound on log model evidence, log p(v); comparing such bounds does not in general reproduce exact Bayes-factor rankings, because different models can have different approximation gaps.
Scope #extension-boundaries
Deterministic transformations require appropriate moment closure and consistent substitution; they are not arbitrary independent variational point masses. Mixture indicators weight natural-parameter contributions by responsibilities rather than replacing the update by an arithmetic mixture of child densities. Multivariate node blocks can retain internal correlation while separate factors remain independent. Nonconjugate auxiliary bounds, point-estimate heuristics and sampling of message expectations are extensions whose objectives, normalization and progress guarantees require separate analysis.

⚠️ Curated Limitations & Negative Results

Artificial Intelligence Ontology (AIO) Grounding

Mapped AIO Classes
AIO Target Class Mapping Relation Mapping Rationale
AIO:BayesianNetwork
Bayesian Network
related_match The original core algorithm performs approximate inference through the parent, child and coparent neighborhoods of a directed acyclic probabilistic model. The pinned BayesianNetwork class denotes that model architecture, whereas VMP denotes an inference procedure; this is a direct algorithm-to-model relation, not equivalence or an is-a assertion.

Evidence Sources & Primary Literature

1 Source
Source ID Publication / Document Type / Access Reference & Checksum
winn2005
John Winn, Christopher M. Bishop
primary paper
full_text
ID: https://www.jmlr.org/papers/v6/winn05a.html
sha256:54b3d6c6fdb7…

Curation Provenance

Curator: Codex
Method: ai_assisted
Model: GPT-6
Created: 2026-10-12T23:10:14Z
Updated: 2026-10-12T23:17:51Z
Source File: data/curated/VariationalMessagePassing.yaml