Skip to content

Menu

WorksComputer Science

Hierarchy-GBP: Accelerating Factor Graph Inference via Abstraction and Recovery

Download PDFView on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_2jg4nbvm. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

Abstract

Gaussian Belief Propagation (GBP) is a distributed inference algorithm that passes messages in graphical models, making it attractive for scalable spatial intelligence. However, we find GBP most effective locally: it rapidly smooths message errors that vary sharply between neighbor variables, but corrects global errors across distant graph regions incrementally through long-range message propagations. We propose Hierarchy-GBP (H-GBP), an iterative, two-stage framework that accelerates GBP by first solving these global errors with a coarse graph approximation (abstraction) and projecting the results back to the original graph (recovery), then refining the remaining local errors with GBP. We prove H-GBP convergence to the optimum by deriving the combined matrix operator of our abstraction and recovery steps and analyzing its spectral radius. Experiments on linear sparse graphs show that H-GBP converges fundamentally faster than standard GBP. Moreover, we validate H-GBP on two important spatial problems: Pose Graph Optimization (PGO) and Bundle Adjustment (BA). H-GBP markedly accelerates large-scale PGO and achieves state-of-the-art runtime across all tested BA scales.

Introduction

Gaussian Belief Propagation (GBP) is an efficient distributed graphical inference algorithm ([35, 44]) that has been successfully applied in error-correcting decoding ([18]), multiuser detection ([3]), and solving large-scale linear systems ([36]). Inference proceeds by passing Gaussian distributions between nodes in a probabilistic graphical model, iteratively updating each variable’s marginal belief. This local, decoupled, and scalable computational model makes GBP a highly promising inference and reasoning framework for future spatial intelligence systems ([8]).1

GBP has the desirable property that, if it converges on a Gaussian graph, it converges to the global optimal mean ([42]). However, its convergence rate is compromised by graph structures like local loops or long graph diameters ([25, 26, 12]), and GBP can often require many iterations ([13, 24]). Algebraically, GBP behaves as a smoother: it quickly damps local (high-frequency) errors that vary sharply between neighboring nodes, while global (low-frequency) errors across distant graph regions require many iterations to reduce. We observe the local-versus-global error separation in many spatial inference problems, including SLAM, 3D computer vision, and sensor networks.

This motivates a two-level view of GBP (see Figure 1). The fine space is the original variable space where GBP performs local message passing, while the coarse space is a low-dimensional graph approximation suitable for removing low-frequency errors. We solidify this idea with a localized low-rank abstraction. Variables are grouped locally and abstracted via their most prominent eigenvalues, forming a coarse problem that captures low-frequency errors ([4, 29, 38]).

Illustration of Hierarchy-GBP

Figure 1. Illustration of Hierarchy-GBP: A fine pose graph is partitioned along odometry order into local groups, where each group extracts a low-rank subspace for coarse abstraction. The hierarchical cycle first removes coherent coarse error and then lets GBP damp the remaining local error.

Our algorithm Hierarchy-GBP (H-GBP) alternates coarse residual correction with fine-level synchronous GBP. For linear Gaussian factor graphs, we derive an operator describing a ‘V-cycle’ of alternating coarse and fine steps, which lets us compute the spectral radius and predict a large improvement in convergence rate compared to standard GBP on the fine graph. Experiments on sparse spatial factor graphs ([9, 7, 34, 22]) verify this predicted acceleration in linear problems. We also show that the abstraction-and-recovery principle extends to practically important, non-linear Pose Graph Optimization (PGO) (see Figure 2) and Bundle Adjustment (BA) (see Figure 3).

Pose graph’s initial odometry trajectories versus trajectories after H-GBP optimization

Figure 2. Pose graph’s initial odometry trajectories versus trajectories after H-GBP optimization.

Bundle adjustment reconstructions with H-GBP optimization

Figure 3. Bundle adjustment reconstructions with H-GBP optimization.

Specifically, our main contributions are:

  • H-GBP framework We introduce a multilevel GBP framework for general sparse factor graphs. H-GBP builds a low-rank coarse space from low-eigenvalue modes, and alternates coarse corrections with GBP updates on the original fine graph.

  • Empirical validation H-GBP converges faster than standard GBP on sparse linear factor graphs empirically. Extensive experiments on PGO and BA benchmarks show H-GBP’s speed and accuracy benefits, and demonstrate the potential for broader spatial intelligence applications.

  • Convergence theory For linear factor graphs, we establish a global precision convergence rate and derive a reduced cycle operator whose spectral radius is a geometric global convergence criterion. We prove the local convergence of H-GBP on manifolds.

Related Work

GBP on linear-Gaussian graphs has a strong theoretical foundation. Weiss & Freeman [42] shows that when loopy GBP converges on a Gaussian graphical model, it recovers the correct posterior means, though the variances can be overconfident. Subsequent work connected GBP to walk-sum expansions and linear/quadratic solvers, clarifying that its behavior is governed by global coupling structure rather than by any single local loop in isolation [26, 36, 27]. More recent analyses extended these perspectives to vector-valued Gaussian models, which arise in estimation problems [12, 44]. Our H-GBP analysis takes a matrix-operator view of the underlying dynamics.

A second line of work improves GBP efficiency while remaining on a flat graph. Representative ideas include residual scheduling [16], relaxation or damping [13], and structural modifications such as feedback message passing [24]. These methods can reduce oscillation or avoid unnecessary updates, but they do so by reordering or partially restructuring message passing on the original graph. They do not build a coarse representation to divide and counter long-range, low-frequency error components.

H-GBP is inspired by domain-decomposition methods, where local smoothers remove high-frequency errors and coarse spaces correct slowly varying components [4]. The closest prior work combines GBP with multigrid for PDE/FEM systems [14, 15]. In contrast, H-GBP constructs the hierarchy directly on sparse factor graphs and derives the coupled coarse/fine message dynamics. To our knowledge, it is the first multilevel GBP framework formulated and analyzed for general sparse factor graphs beyond PDE/FEM discretizations.

Our work is also related to the factor-graph optimization literature in robotics [39]. Factor graphs have become a standard abstraction for large-scale estimation and SLAM, while sparse nonlinear solvers such as g2o and Ceres remain the dominant practical baselines [9, 23, 1]. Recently, there has been renewed interest in GBP as a distributed inference engine for spatial estimation, including multi-robot localization, continuous-time SLAM, and bundle adjustment on graph processors [28, 21, 32]. H-GBP sits between these threads: it preserves the locality and parallelism of GBP with an abstract-then-recover acceleration mechanism.

Preliminaries

Factor Graphs

A factor graph G=(V,F,E)\mathcal{G} = (\mathcal{V}, \mathcal{F}, \mathcal{E}) is a bipartite graph with variable nodes V\mathcal{V}, factor nodes F\mathcal{F} and edges E\mathcal{E} that represent the factorisation of a joint probability distribution.

p(x)∝∏f∈Fψf(xN(f))(1)p(x) \propto\prod_{f \in\mathcal{F}} \psi_f(x_{\mathcal{N}(f)}) \tag*{(1)}

where x=(x1,…,xn)Tx = (x_1, \ldots, x_n)^T is the graph’s state vector and xN(f)x_{\mathcal{N}(f)} is the subset of variables connected to factor ff.

Variables are associated with the marginal posterior distribution (so-called belief) of their state xix_i, and each factor f∈Ff \in\mathcal{F} defines a joint Gaussian potential ψf\psi_f over the states of its neighbouring variables. Note that a factor ff’s dimensionality depends on the number and dimension of its neighbours. In our work, all Gaussian potentials are defined in their canonical form, using the precision matrix Λf\Lambda_f and information vector ηf\eta_f:

ψf(xN(f))∝exp⁡{−12xN(f)TΛfxN(f)+ηfTxN(f)}\psi_f(x_{\mathcal{N}(f)}) \propto\exp\left\{ -\frac{1}{2} x_{\mathcal{N}(f)}^T \Lambda_f x_{\mathcal{N}(f)} + \eta_f^T x_{\mathcal{N}(f)} \right\}

Collecting these parameters from all factors then yields the global linear system Ax=bAx = b, where AA is the global precision matrix Λ\Lambda, bb is the global information vector η\eta, and xx is the global mean vector. The factor graph’s unique Maximum A Posteriori (MAP) estimate is then given by x⋆=A−1bx_\star= A^{-1}b.

Gaussian Belief Propagation

We provide here a brief overview of Gaussian Belief Propagation (GBP), and direct interested readers to Ortiz et al. [33] for further detail.

Inference for GBP takes place through iterative message passing between neighboring nodes, where each message represents a marginal probability distribution over the state space of a single variable node. Variable beliefs (Λ^i,η^i)(\widehat{\Lambda}_i,\widehat{\eta}_i) are then updated based on their most recently received messages (Figure 4 (a)). We detail GBP’s 3 update equations below, showing only factors with degree 2 or less, which are applied iteratively for inference. The Schur complement handles higher-degree factor nodes in the same way, so all steps extend exactly.

Illustration of one synchronous iteration of Gaussian belief propagation and local factor-variable indexing

Figure 4. (a) Illustration of one synchronous iteration of Gaussian belief propagation. (b) Local factor-variable indexing illustration for the formulation of Eqs. (9) of message evolvement.

Variable-to-factor message update: Messages from variables to factors are the variable’s belief with the most recent message from the receiving factor subtracted.

Λi∖f=Λ^i−Λf→i,ηi∖f=η^i−ηf→i.(2)\Lambda_{i\setminus f}=\widehat{\Lambda}_i-\Lambda_{f\to i},\qquad\eta_{i\setminus f}=\widehat{\eta}_i-\eta_{f\to i}. \tag*{(2)}

Factor-to-variable message update: Messages from factors to variables sum the messages from all other neighboring variables and marginalise over them to calculate the factor’s belief in terms of the receiving variable. To do this, we block partition the factor’s joint precision matrix over its neighboring variables ii and jj: Λf=[ΛiifΛijfΛjifΛjjf]\Lambda_f=\begin{bmatrix}\Lambda^f_{ii}&\Lambda^f_{ij}\\\Lambda^f_{ji}&\Lambda^f_{jj}\end{bmatrix}. From here, we can calculate updated parameters for our factor-to-variable message, Λf→i+\Lambda^+_{f\to i} & ηf→i+\eta^+_{f\to i}:

Λf→i+=Λiif−Λijf(Λjjf+Λj∖f)−1Λjif,ηf→i+=ηif−Λijf(Λjjf+Λj∖f)−1(ηjf+ηj∖f)(3)\Lambda^+_{f\to i}=\Lambda^f_{ii}-\Lambda^f_{ij}\left(\Lambda^f_{jj}+\Lambda_{j\setminus f}\right)^{-1}\Lambda^f_{ji},\qquad\eta^+_{f\to i}=\eta^f_i-\Lambda^f_{ij}\left(\Lambda^f_{jj}+\Lambda_{j\setminus f}\right)^{-1}\left(\eta^f_j+\eta_{j\setminus f}\right) \tag*{(3)}

Belief update: Given an incoming message on each edge to variable ii, where i∈N(f)i\in N(f), the belief in the variable is obtained by summing all incoming messages.

Λ^i=∑f∈N(i)Λf→i,η^i=∑f∈N(i)ηf→i,(4)\widehat{\Lambda}_i=\sum_{f\in N(i)}\Lambda_{f\to i},\qquad\widehat{\eta}_i=\sum_{f\in N(i)}\eta_{f\to i}, \tag*{(4)}

In this work, we only consider synchronous GBP, in which one iteration consists of all variables in a graph updating their messages, all factors in the graph updating their messages, followed by all variables updating their belief.

Hierarchy-GBP: Algorithm and Matrix Operators

Algorithm 1 summarizes H-GBP as an iterative linear solver for the Gaussian system Ax=bAx=b. The prolongation matrix PP is constructed once and kept fixed. Each cycle runs kk synchronous GBP sweeps, solves the coarse residual problem PTAPδz=PT(b−Ax)P^{\mathsf{T}}AP\delta z=P^{\mathsf{T}}(b-Ax), and injects PδzP\delta z using the message-preserving rule below (6). The resulting two-level iteration combines global coarse correction with local message passing.

To better explain and analyze linear H-GBP, we derive the matrix operator for each step and combine them into the operator of one full cycle. The steps include:

  1. Abstraction & Recovery of a coarse graph approximation

  2. The first GBP iteration after Recovery

  3. The remaining GBP iterations

Note that separating steps 2 & 3 is necessary because we only project variable beliefs, not graph messages, to the coarse graph approximation. Once this approximation is solved and the residuals recovered, the variable beliefs are updated but inconsistent with the non-updated graph messages. We show that this inconsistency occurs only for one GBP iteration, so we compute the resulting adjusted operator that represents the first iteration after abstraction and recovery.

Let x⋆=A−1bx_{\star}=A^{-1}b. We define the mean vector residual v:=x−x⋆v:=x-x_{\star}. Concatenating all factor-to-variable information vectors yields a big information vector η\eta. Let η⋆\eta^{\star} be a fixed point of the H-GBP system. We define the information residual m:=η−η⋆m:=\eta-\eta^{\star}. Note that η⋆\eta^{\star} exists by construction (Appendix B.2).

Operator 1: Abstraction & Recovery of a Coarse Graph Approximation

We derive the matrix operator for the abstraction and recovery step of H-GBP. To start, we group the variable nodes together, forming GG "supernodes". For each supernode group gg, we combine the precision matrices from factors wholly contained in the group into a single matrix HgH_g, where

(Hg)i,j=∑N(f)⊂g(Λf)i,j(5)(H_g)_{i,j}=\sum_{N(f)\subset g}(\Lambda_f)_{i,j} \tag*{(5)}

To reduce supernode dimensionality, for each group gg we perform eigenvalue decomposition on Hg=UΣUTH_g=U\Sigma U^{\mathsf{T}}. We then approximate HgH_g with its rr smallest eigenvalues and corresponding eigenvectors UrU_r.

If we concatenate all groups’ UrU_r matrices blockwise into a graph-wide matrix PP, we get a transformation from the original graph’s space to an approximated, coarse space. This global prolongation matrix is assembled blockwise as

P=[Ur,1⋯0⋮⋱⋮0⋯Ur,G]P=\begin{bmatrix} U_{r,1} & \cdots& \mathbf{0}\\ \vdots& \ddots& \vdots\\ \mathbf{0} & \cdots& U_{r,G} \end{bmatrix}

where Ur,gU_{r,g} represents UrU_r for group gg and 0\mathbf{0} is the zero matrix.

The coarse correction solves (PTAP)δz=PT(b−Ax)(P^{\mathsf{T}}AP)\delta z=P^{\mathsf{T}}(b-Ax). To inject this correction into the variable beliefs, we first add increment PδzP\delta z to xx. So, x+=x+Pδzx^{+}=x+P\delta z. And then, we update each variable’s information vector by this new mean

η^i=Λ^ixi+.(6)\widehat{\eta}_i=\widehat{\Lambda}_i x_i^{+}. \tag*{(6)}

Property 4.1. The mean error v+v^{+} after abstraction and recovery is

v+=Cv,C=I−P(PTAP)−1PTA(7)v^{+}=Cv,\qquad C=I-P(P^{\mathsf{T}}AP)^{-1}P^{\mathsf{T}}A \tag*{(7)}

Operator 2: The First GBP Iteration After Recovery

To derive the operator for Synchronous GBP, we stack all information vector messages from factor-to-variable, which allows Eq. (3) to be written in matrix form that represents the entire graph. After the graph’s precision matrices have converged, we can substitute § 3.2’s update equations (4) into (2) into (3)) and study the properties of the resulting matrix.

However, once the original graph’s variable beliefs are updated from Eq. (6), they are inconsistent with the graph’s messages, which did not change under abstraction and recovery.

As a result, the variable belief’s information vector will not equal the sum of incoming information vectors. One synchronous GBP iteration will repair this, so we calculate the operator that represents the first iteration after abstraction and recovery in this section.

Property 4.2. After precision matrices have converged, we consider the errors in the variables’ mean vector v=x−x⋆v=x-x_{\star} and information vector m=η−η⋆m=\eta-\eta^{\star}. The first GBP iteration with inconsistent

beliefs & messages takes the form m+=Jv+Umm^{+}=Jv+Um, where for factor ff sending to variable ii with other neighboring variable jj (as in Fig 4b), these operators are given by:

(Jv)f→i=−Λijf(Λjjf+Λ^j⋆−Λf→j⋆)−1Λ^j⋆vj,(Um)f→i=Λijf(Λjjf+Λ^j⋆−Λf→j⋆)−1mf→j.(8)(Jv)_{f\to i}=-\Lambda_{ij}^{f}\left(\Lambda_{jj}^{f}+\widehat{\Lambda}_{j}^{\star}-\Lambda_{f\to j}^{\star}\right)^{-1}\widehat{\Lambda}_{j}^{\star}v_{j},\qquad(Um)_{f\to i}=\Lambda_{ij}^{f}\left(\Lambda_{jj}^{f}+\widehat{\Lambda}_{j}^{\star}-\Lambda_{f\to j}^{\star}\right)^{-1}m_{f\to j}. \tag*{(8)}

JJ and UU are therefore our operators for the first iteration of GBP after abstraction and recovery.

Operator 3: The Remaining Synchronous GBP iterations

We next derive the matrix operator for synchronous GBP iterations once § 4.2’s inconsistency has been resolved. As messages and variable beliefs are now consistent, we can substitute all update equations in § 3.2 without trouble.

Property 4.3. Let η=[ηf→iT ηf→jT ⋯ ]T\eta=\left[\eta_{f\to i}^{\mathsf{T}}\ \eta_{f\to j}^{\mathsf{T}}\ \cdots\right]^{\mathsf{T}} denote the stacked column vector of all factor-to-variable information vector messages in graph G\mathcal{G}, letting us write Eq. (3) in matrix form. When precisions have converged, we substitute § 3.2’s equations ((22) into (33) into (44)) and show that the information vector’s message update under one synchronous GBP iteration is of the affine form η+=Qη+s\eta^{+}=Q\eta+s, where the block entries of QQ are given by:

Q(f→i),(h→j)=−Λijf(Λjjf+Λ^j⋆−Λf→j⋆)−1(9)Q_{(f\to i),(h\to j)}=-\Lambda_{ij}^{f}\left(\Lambda_{jj}^{f}+\widehat{\Lambda}_{j}^{\star}-\Lambda_{f\to j}^{\star}\right)^{-1} \tag*{(9)}

To demonstrate this property, a toy example is given in Appendix § 8.§ 1. Here, jj is the other neighboring node of ff than ii (see Figure 4b). Q(f→i),(h→j)Q_{(f\to i),(h\to j)} indexes QQ for the block corresponding to messages from factor ff to variable ii, and factor hh to variable jj, and the rest of the block entries of QQ are 00.

The converged value η⋆\eta^{\star} of GBP is unique and satisfies η⋆=Qη⋆+s\eta^{\star}=Q\eta^{\star}+s. Recall that we define the error between our current eta-message and the fixed-point eta-message as m=η−η⋆m=\eta-\eta^{\star}. Changing variables from η\eta to mm removes the ss term, and we arrive at our matrix operator, QQ, for one iteration of GBP:

m+=Qm.(10)m^{+}=Qm. \tag*{(10)}

The message error after k−1k-1 synchronous GBP iterations is then given by mk+1=Qk+1m0m_{k+1}=Q^{k+1}m_{0}, where m0m_{0} is the initial mean error values.

Finally, H-GBP is iterative, and needs accurate variable means for the next abstraction and recovery. We therefore define a readout operator R\mathcal{R} that updates all errors in the variable means vv using the variables’ information vector error values mm.

vi=(Rm)i=(Λ^i⋆)−1∑f∈N(i)mf→i(11)v_i=(\mathcal{R}m)_i=(\widehat{\Lambda}_i^{\star})^{-1}\sum_{f\in\mathcal{N}(i)}m_{f\to i} \tag*{(11)}

Combining all operators yields a single matrix-operator description of one full H-GBP cycle.

Property 4.4. From operators CC, Jv+UmJv+Um, the remaining k−1k-1 iterations of operator QQ and R\mathcal{R}, we get

\begin{bmatrix}v^{+}\\m^{+}\end{bmatrix} =T_{\mathrm{aug},k}\begin{bmatrix}v\\m\end{bmatrix}, \qquad T_{\mathrm{aug},k}= \begin{bmatrix} C\mathcal{R}Q^{k-1}J & C\mathcal{R}Q^{k-1}U\\ Q^{k-1}J & Q^{k-1}U \end{bmatrix}. \tag*{(12)}\end{bmatrix}

Extension to manifolds

H-GBP naturally extends to nonlinear factor graph optimization by operating on linearizations in the tangent space. We use the standard right-perturbation convention from Lie theory ([37]) and factor-graph optimization ([9]): at the current estimate Xˉ\bar{X}, each residual admits the first-order approximation rf(Xˉf⊕ξf)≈rf(Xˉf)+Jfξfr_f(\bar{X}_f\oplus\xi_f)\approx r_f(\bar{X}_f)+J_f\xi_f. This yields the linear Gaussian system in the tangent space that we solve using H-GBP, before retracting Xˉi←XˉiExp⁡(ξi)\bar{X}_i\leftarrow\bar{X}_i\operatorname{Exp}(\xi_i). Optimization on manifolds involves repeating the above process continuously until Xˉi\bar{X}_i converges.

Empirical Results

All experiments are on an Intel 13th Gen Core i9-13900HX CPU with 64 GB RAM, without GPU acceleration. Experimental details are provided in Appendix § 11.

Linear Hierarchy-GBP

We study linear H-GBP on fixed Gaussian pose-graph systems, using (x,y)(x,y) variables for convergence comparisons and a fixed SE(3) linearization for the coarse-space ablation. Figure 6 shows that H-GBP removes the low-frequency error that local message passing alone struggles to eliminate. Varying both the number of cycles and the GBP iterations per cycle yields stable reduction, demonstrating H-GBP’s consistent behavior across iteration budgets.

H-GBP versus GBP performance

Figure 6. H-GBP versus GBP performance

Figure 5(a) shows that local low-rank approximation yields substantially stronger error reduction than a basic multigrid-style abstraction under the same GBP budget, making our coarse-space choice important for sparse factor graphs. We find retaining four local modes per group gives a stable coarse correction with little sensitivity above this threshold. Figure 5(b) validates the correctness of the theory: as precision messages rapidly stabilize, the ratio of errors in successive cycles approaches ρ(Taug,50)\rho(T_{\mathrm{aug},50}), matching the predicted asymptotic contraction factor.

Three-panel comparison of low-rank abstraction, successive-cycle error ratios, and runtime sensitivity to sparse-Cholesky fill-in

Figure 5. (a) Low-rank abstraction reduces error more effectively than alternative coarse spaces. (b) Successive-cycle error ratios approach the spectral-radius prediction as precision messages stabilize. (c) H-GBP runtime is less sensitive to sparse-Cholesky fill-in.

A complementary experiment (Figure 5(c)) evaluates solver performance across different levels of Cholesky fill-in. Sparse-Cholesky runtime grows 1.88×1.88\times, whereas H-GBP runtime grows only 1.08×1.08\times, revealing much weaker sensitivity to elimination fill-in.

Hierarchy-GBP on SE(2) and SE(3) PGO

We evaluate H-GBP on SE(2) and SE(3) pose-graph benchmarks ([5, 30, 6, 39]) (Figure 2). We compare against g2o-Cholesky and g2o-

PCG (Kümmerle et al. [23]), AMM-PGO (Fan & Murphey [17]), Cycle-PGO (Bai et al. [2]), and Schwarz-PGO (Tee et al. [40]). Table 1 reports runtime and final objective cost. H-GBP groups every 20 consecutive nodes in odometry order, retaining the 4 smallest eigenmodes for SE(2) and 12 for SE(3). Each relinearization is followed by 3 cycles of 100 GBP iterations for SE(2), or 5 cycles of 50 GBP iterations for SE(3).

DatasetSpaceg2o Cholesky (ICRA 2011)H-GBP PGO (ICRA 2011)g2o PCG (ICRA 2011)Cycle PGO (T-RO 2021)AMM PGO (T-RO 2024)Schwarz PGO (FE Symposium 2026)H-GBP PGO
FR079SE(2)0.02/18.790.29/18.791.09/18.790.04/18.790.17/129.130.14/18.790.11/18.79
FRHSE(2)0.04/9.66e-50.35/9.66e-50.41/9.66e-50.09/9.66e-50.38/1.02e-40.13/9.66e-50.12/9.66e-5
M3500SE(2)0.13/68.960.90/68.961.87/68.960.23/68.960.91/70.451.47/68.960.27/68.96
ParkingGarageSE(3)0.38/0.637.56/0.6319.72/0.630.85/0.631.37/0.6549.78/0.631.77/0.63
SphereSE(3)2.02/675.704.76/675.701.35/675.701.08/675.701.08/695.092.72/675.701.18/675.70
CubicleSE(3)4.22/1,378.5322.63/1,378.5393.53/1,378.534.17/1,609.147.67/233,482.276.21/1,378.534.86/1,378.53
GridSE(3)493.90/42,179.9816.16/42,179.98458.42/42,179.98621.95/42,179.98794.42/192,192.2344.55/42,179.983.90/42,179.98
Globe10kSE(3)93.45/3,039.9320.44/3,039.937.04/3,039.9342.04/3,039.9312.78/3,040.0013.33/3,039.935.34/3,039.93
Globe100kSE(3)1,288.89/20,090.74177.88/20,090.74662.81/20,090.74OOM132.07/20,112.14> 2000/—42.71/20,090.74

Table 1. Pose-graph benchmarks: runtime (s) ↓ / final cost ↓. 1st, 2nd, 3rd: fastest runtimes per dataset. Red: runtime > 20× the fastest; cost > 2× the lowest; out of memory (OOM).

H-GBP delivers consistent solution quality across all nine benchmarks: both its single-thread and 16-thread final costs match g2o-Cholesky at the reported precision. With 16 threads, it ranks among the three fastest methods on eight benchmarks and is the fastest on the three largest graphs, Grid, Globe10k, and Globe100k. On these graphs, it achieves approximately 126.6×, 17.5×, and 30.2× speedups over g2o-Cholesky, respectively. The corresponding speedups over the fastest competing baseline on each graph are 1.12×, 1.32×, and 3.09×, showing that the large-scale advantage extends beyond comparison with a direct solver.

Hierarchy-GBP on Bundle Adjustment

We evaluate H-GBP BA on ten bundle-adjustment benchmarks against Ceres Solver (Agarwal et al. [1]) with either direct sparse linear solve or iterative PCG, RootBA-QR (Demmel et al. [11]), and PowerBA (Weber et al. [41]). Table 2 reports runtime and final sum-of-squares reprojection cost for the 16-thread comparison, with single-thread Ceres-Sparse and H-GBP BA included as references.

DatasetCeres Sparse (Google Inc 2012)H-GBP BACeres Sparse (Google Inc 2012)Ceres Iterative (Google Inc 2012)RootBA QR (CVPR 2021)PowerBA (CVPR 2023)H-GBP BA
Ladybug490.98/26,6900.18/26,7050.33/26,6900.54/26,6910.63/26,6910.23/27,2990.07/26,705
Venice8919.22/567,2432.68/576,7815.91/567,2435.03/567,0556.22/572,7801.91/580,4160.59/576,781
Final937.39/291,0901.59/291,0921.69/291,0904.29/291,0906.84/291,0901.79/291,1590.38/291,092
Trafalgar2577.21/193,5771.31/197,3782.38/193,57714.41/193,67122.72/193,3981.11/205,4270.45/197,378
Dubrovnik35650.15/987,8596.83/1,021,10213.96/987,85949.54/987,859119.17/987,8664.14/1,059,4461.63/1,021,102
Final39438.57/596,5062.87/598,2968.62/596,5068.01/596,53629.59/596,5782.50/611,1010.83/598,296
Ladybug172360.56/778,0954.79/759,60019.05/778,0955.51/770,4449.18/763,0702.72/797,7041.22/759,599
Venice1778330.93/3,277,38725.63/3,363,14987.54/3,277,38735.27/6,932,87885.45/3,369,97820.32/3,391,0895.89/3,363,149
Final3068586.17/3,348,65512.40/3,240,217142.78/3,348,65513.17/3,452,711102.23/3,254,1566.15/3,520,6153.03/3,240,217
Final4585> 2000/–48.55/10,331,432526.06/10,783,98872.54/13,021,3241,278.84/10,158,45033.72/10,441,19211.20/10,331,432

Table 2. Bundle adjustment benchmarks: runtime (s) ↓ / final sum-of-squares reprojection cost ↓. 1st 2nd 3rd: fastest runtimes per dataset. Red: runtime > 20× the fastest; cost > 2× the lowest.

H-GBP operates on the camera system SΔc=bS\Delta c = b obtained by Schur elimination of points at each linearization. For each pairwise potential, we simply fill in the corresponding off-diagonal blocks. The diagonal contributions define the unary potentials. (Note that this construction does not admit the assumptions. Therefore, the results of the BA are not intended to validate the theory, but rather to demonstrate the capabilities of H-GBP as an efficient solver.) Cameras are aggregated into connected groups of target size max⁡(2,⌈nc/24⌉)\max(2, \lceil n_c/24\rceil), and each group retains nine modes when abstracted.

H-GBP BA is the fastest on all ten datasets, achieving approximately 2.0× to 4.4× speedups over the fastest competing 16-thread baseline on each dataset, and 2.0× to 4.7× over PowerBA. This runtime advantage comes with consistently strong solution quality. H-GBP achieves lower final costs than PowerBA on every dataset, by up to 8.0%, and remains within 3.4% of the lowest reported cost throughout the benchmark suite. It also attains the lowest costs on Ladybug1723 and Final3068. On the largest instance, Final4585, H-GBP finishes in 11.20 s, approximately 3.0× faster than PowerBA and 47.0× faster than 16-thread Ceres-Sparse, while remaining within 1.8% of the best reported cost. These results show that H-GBP sustains its speed advantage from small to large reconstructions without the large cost outliers observed for some baselines.

Main theoretical results

We give the main results here, while all proof details are included in the Appendix § 9. We make the same assumptions as in vector-valued standard GBP literature (Du et al. [12]).

Assumption 6.1. The factor-to-variable precision messages (3) are initialized as positive semidefinite matrices: Λf→i(0)⪰0\Lambda_{f\to i}^{(0)} \succeq0 for all (f→i)(f\to i).

Assumption 6.2. 1. Each variable has a prior with positive definite precision. 2. Each binary factor precision admits Λf=[Af,i  Af,j]TWf−1[Af,i  Af,j]\Lambda_f = [A_{f,i}\ \ A_{f,j}]^{\mathsf T} W_f^{-1} [A_{f,i}\ \ A_{f,j}], Wf≻0W_f \succ0, where Af,iA_{f,i} and Af,jA_{f,j} are full column rank.

A useful property of H-GBP, shared with standard GBP, is that the precision-message typically converges rapidly in practice, often well before the eta-message. The following theorem proves global geometric convergence of the precision, providing a tool that links dynamics from initialization to the limiting fixed point.

Theorem 6.3. There exist constants CΛ<∞C_\Lambda< \infty and θΛ∈(0,1)\theta_\Lambda\in(0,1), depending on the initialization, such that

∥Λ(ℓ)−Λ⋆∥≤CΛθΛℓ,ℓ≥0,\lVert\Lambda^{(\ell)}-\Lambda^\star\rVert\le C_\Lambda\theta_\Lambda^\ell,\qquad\ell\ge0,

for any fixed matrix norm after changing constants.

Let M\mathcal{M} be the stacked directed η\eta-message error space. At the end of every cycle, the coarse correction is applied to the readout (11) of the current message state while the messages are preserved. Hence, the cycle-boundary states satisfy v=CRmv=CRm. Define the cycle-boundary subspace Ycyc:={(CRm,m):m∈M}\mathcal{Y}_{\mathrm{cyc}}:=\{(CRm,m):m\in\mathcal{M}\}. Define the embedding and projection ιcyc(m):=(CRm,m)\iota_{\mathrm{cyc}}(m):=(CRm,m), πcyc(v,m):=m\pi_{\mathrm{cyc}}(v,m):=m. Then the exact reduced cycle operator on message space is

Mk:=πcycTaug,kιcyc=Qk−1(JCR+U).(13)M_k:=\pi_{\mathrm{cyc}}T_{\mathrm{aug},k}\iota_{\mathrm{cyc}}=Q^{k-1}(JCR+U). \tag*{(13)}

Proposition 6.4 (Exact cycle-boundary reduction). The subspace Ycyc\mathcal{Y}_{\mathrm{cyc}} is Taug,kT_{\mathrm{aug},k}-invariant. Moreover,

Taug,kιcyc=ιcycMk.T_{\mathrm{aug},k}\iota_{\mathrm{cyc}}=\iota_{\mathrm{cyc}}M_k.

Thus MkM_k is the cycle-boundary reduction of the operator Taug,kT_{\mathrm{aug},k}. Appendix B.4 shows that the reduced dynamics satisfy mt+1=Mk,tmt=(Mk+Et)mtm_{t+1}=M_{k,t}m_t=(M_k+E_t)m_t, where ∑t=0∞∥Et∥<∞\sum_{t=0}^{\infty}\lVert E_t\rVert<\infty. Thus, the full H-GBP trajectory is a summably perturbed version of the limiting linear cycle.

Theorem 6.5 (Necessary and sufficient condition). For the full H-GBP iteration, the following statements are equivalent:

  1. for every admissible initialization, mt→0m_t\to0;

  2. for every compatible cycle-boundary state v0=CR0m0v_0=CR_0m_0, (vt,mt)→(0,0)(v_t,m_t)\to(0,0);

  3. ρ(Mk)<1\rho(M_k)<1;

  4. ρ(Taug,k)<1\rho(T_{\mathrm{aug},k})<1.

Whenever these conditions hold, for every fixed precision initialization and every q∈(ρ(Mk),1)q\in(\rho(M_k),1), there exists Cq<∞C_q<\infty such that ∥mt∥≤Cqqt∥m0∥\lVert m_t\rVert\le C_qq^t\lVert m_0\rVert, ∥vt∥A≤Cqqt∥m0∥\lVert v_t\rVert_A\le C_qq^t\lVert m_0\rVert. The corresponding fine means converge to x⋆=A−1bx_\star=A^{-1}b.

The same linear result also provides a direct local convergence guarantee for the nonlinear manifold extension in § 4.4.

Theorem 6.6 (Local convergence on manifolds). Under the standard local conditions for inexact Gauss–Newton, suppose that at every linearization the tangent H-GBP system satisfies ρ(Mk,t)<1\rho(M_{k,t})<1. If each inner solve is run to a sufficiently small fixed relative-residual tolerance, then the nonlinear H-GBP iterates converge locally QQ-linearly to a stationary point.

Conclusion

We introduced Hierarchy-GBP, an abstraction-and-recovery framework to accelerate GBP on factor graphs by combining local message passing with a low-rank coarse correction. We showed H-GBP’s convergence by analyzing the spectral radius of a derived matrix operator for one cycle of linear H-GBP. We found H-GBP is competitive in both runtime and solution quality on challenging pose-graph and bundle adjustment benchmarks. The results highlight H-GBP as a promising design principle for scalable spatial-intelligence systems. Future work will explore broader sparse factor-graph problems with H-GBP, fully message-passing upper levels, and hierarchy-free distributed abstractions.

Examples

A three-node four-factor example

We give a small scalar example (see Figure 7) illustrating how the limiting eta-transfer matrix QQ is assembled from the local Schur-complement coefficients. Let x0,x1,x2∈Rx_0, x_1, x_2 \in\mathbb{R}. The graph has three binary factors f01,f12,f02f_{01}, f_{12}, f_{02}, and one unary factor f0f_0 attached to x1x_1.

Figure 7. Scalar three-variable, four-factor example used to illustrate the construction of the limiting eta-message transfer matrix QQ. Circles denote variables, boxes denote factors, and arrows denote directed factor-to-variable messages.

We set all information vectors to zero, since the affine term ss is irrelevant for the eta recursion. The unary precision is set as

Λf0=1,\Lambda_{f_0}=1,

and each binary factor has precision

Λf1=Λf2=Λf3=6[1−1−11].\Lambda_{f_1}=\Lambda_{f_2}=\Lambda_{f_3}=6 \begin{bmatrix} 1 & -1\\ -1 & 1 \end{bmatrix}.

Thus Λiif=6\Lambda_{ii}^{f}=6, Λijf=−6\Lambda_{ij}^{f}=-6, and Λjjf=6\Lambda_{jj}^{f}=6. The corresponding global information matrix is

A=[12−6−6−613−6−6−612].A= \begin{bmatrix} 12 & -6 & -6\\ -6 & 13 & -6\\ -6 & -6 & 12 \end{bmatrix}.

Order the directed binary messages as

a1=(f1→0),a2=(f1→1),a3=(f2→1),a4=(f2→2),a5=(f3→0),a6=(f3→2).\begin{aligned} a_1&=(f_1\to0), \quad a_2=(f_1\to1), \quad a_3=(f_2\to1),\\ a_4&=(f_2\to2), \quad a_5=(f_3\to0), \quad a_6=(f_3\to2). \end{aligned}

The unary factor sends a fixed message to x1x_1 and is not included in the stacked binary eta-message vector. Starting from zero binary factor-to-variable precision messages, i.e., Λaℓ(0)=0\Lambda_{a_\ell}^{(0)}=0 for all ℓ=1,…,6\ell=1,\ldots,6, the synchronous precision update converges to a fixed point. The following table lists the iterates.

ttΛa1(t)\Lambda_{a_1}^{(t)}Λa2(t)\Lambda_{a_2}^{(t)}Λa3(t)\Lambda_{a_3}^{(t)}Λa4(t)\Lambda_{a_4}^{(t)}Λa5(t)\Lambda_{a_5}^{(t)}Λa6(t)\Lambda_{a_6}^{(t)}
00.0000.0000.0000.0000.0000.000
10.8570.0000.0000.8570.0000.000
20.8570.0000.0000.8570.7500.750
30.8570.6670.6670.8570.7500.750
41.3040.6670.6671.3040.7500.750
51.3040.6670.6671.3041.0711.071
61.3040.9090.9091.3041.0711.071
71.4480.9090.9091.4481.0711.071
81.4480.9090.9091.4481.1671.167
91.4480.9770.9771.4481.1671.167
101.4870.9770.9771.4871.1671.167
⋮\vdots⋮\vdots⋮\vdots⋮\vdots⋮\vdots⋮\vdots⋮\vdots
191.5000.9990.9991.5001.1991.199
201.5001.0001.0001.5001.2001.200
211.5001.0001.0001.5001.2001.200

caption:

:::

The exact fixed point for precision is therefore

Λa1⋆=32,Λa2⋆=1,Λa3⋆=1,Λa4⋆=32,Λa5⋆=65,Λa6⋆=65.\Lambda_{a_1}^{\star} = \frac{3}{2},\quad\Lambda_{a_2}^{\star} = 1,\quad\Lambda_{a_3}^{\star} = 1,\quad\Lambda_{a_4}^{\star} = \frac{3}{2},\quad\Lambda_{a_5}^{\star} = \frac{6}{5},\quad\Lambda_{a_6}^{\star} = \frac{6}{5}.

Hence the limiting variable belief precisions are

Λ^0⋆=2710,Λ^1⋆=3,Λ^2⋆=2710.\widehat{\Lambda}_0^{\star} = \frac{27}{10},\quad\widehat{\Lambda}_1^{\star} = 3,\quad\widehat{\Lambda}_2^{\star} = \frac{27}{10}.

For a directed message a=(f→i)a=(f\to i), let j(a)j(a) be the other endpoint of ff, and let aˉ=(f→j(a))\bar{a}=(f\to j(a)). Then

Da⋆=Λj(a)j(a)f+Λ^j(a)⋆−Λaˉ⋆,Ba⋆=Λij(a)f(Da⋆)−1.D_a^{\star}=\Lambda^f_{j(a)j(a)}+\widehat{\Lambda}^{\star}_{j(a)}-\Lambda^{\star}_{\bar{a}},\qquad B_a^{\star}=\Lambda^f_{ij(a)}(D_a^{\star})^{-1}.

For example,

Da1⋆=6+Λ^1⋆−Λa2⋆=6+3−1=8,Ba1⋆=(−6)8−1=−34.D_{a_1}^{\star}=6+\widehat{\Lambda}_1^{\star}-\Lambda_{a_2}^{\star}=6+3-1=8,\qquad B_{a_1}^{\star}=(-6)8^{-1}=-\frac{3}{4}.

The six Schur coefficients are

aaDa⋆D_a^{\star}Ba⋆B_a^{\star}−Ba⋆-B_a^{\star}
a1a_188−34-\frac{3}{4}34\frac{3}{4}
a2a_2365\frac{36}{5}−56-\frac{5}{6}56\frac{5}{6}
a3a_3365\frac{36}{5}−56-\frac{5}{6}56\frac{5}{6}
a4a_488−34-\frac{3}{4}34\frac{3}{4}
a5a_5152\frac{15}{2}−45-\frac{4}{5}45\frac{4}{5}
a6a_6152\frac{15}{2}−45-\frac{4}{5}45\frac{4}{5}

Table 15.

Using the ordering (a1,…,a6)(a_1,\ldots,a_6), the limiting eta-transfer matrix is

Q=[003400000005600000056034000000045004500000].Q= \begin{bmatrix} 0 & 0 & \frac{3}{4} & 0 & 0 & 0\\ 0 & 0 & 0 & 0 & \frac{5}{6} & 0\\ 0 & 0 & 0 & 0 & 0 & \frac{5}{6}\\ 0 & \frac{3}{4} & 0 & 0 & 0 & 0\\ 0 & 0 & 0 & \frac{4}{5} & 0 & 0\\ \frac{4}{5} & 0 & 0 & 0 & 0 & 0 \end{bmatrix}.

For instance, the first row encodes ηa1+=(3/4)ηa3\eta_{a_1}^{+}=(3/4)\eta_{a_3}: when sending f01→0f_{01}\to0, the factor looks through node 1, and the only binary incoming message at node 1 excluding f1f_1 is a3=(f2→1)a_3=(f_2\to1). The unary factor affects the denominator Da1⋆D_{a_1}^{\star} and the affine offset, but not the linear message-to-message entry of QQ.

Finally, QQ consists of two directed three-cycles, each with product

34⋅56⋅45=12.\frac{3}{4}\cdot\frac{5}{6}\cdot\frac{4}{5}=\frac{1}{2}.

Therefore

ρ(Q)=(12)1/3≈0.7937.\rho(Q)=\left(\frac{1}{2}\right)^{1/3}\approx0.7937.

Standard GBP failure case

In Figure 8, we construct an example with four variables (each two-dimensional) and multiple factors. Numerically, the dynamical index ρ(Q)\rho(Q) of the standard GBP is greater than 1. Hierarchy-GBP uses the low-rank operator, group {0,1}\{0,1\} and {2,3}\{2,3\} as two groups. By choosing coarse rank r=3r=3 per group and performing k=8k=8 GBP iterations per cycle, the Hierarchy-GBP index ρ(M8)\rho(M_8) is less than 1.

Figure 8. A four-node pose graph example, for which standard GBP does not converge, while H-GBP with k=8k=8 sweeps per cycle will converge. Figure labels: Example pose graph in the regime rho(Q)>1 but rho(M_8)<1; odometry / chain factor; loop-closure / skip factor; pose node; Group 1; Group 2; weak anchor prior; (0,1); (1,2); (2,3); (0,2); (0,3); (1,3); Detailed Data. Model summary: ei=(dxi,dyi,dθi)e_i=(dx_i,dy_i,d\theta_i) in R3\mathbb{R}^3; fresh groups: {0,1}\{0,1\} and {2,3}\{2,3\}; fresh coarse rank: r=3r=3 per group; hierarchy: k=8k=8 GBP sweeps per cycle; ρ(Q)\rho(Q) approx 1.0019966; ρ(M8)\rho(M_8) approx 0.9205045. Edge precisions: Ω01=diag⁡(32,32,1)\Omega_{01}=\operatorname{diag}(32,32,1); Ω12=diag⁡(16,16,32)\Omega_{12}=\operatorname{diag}(16,16,32); Ω23=diag⁡(2,2,64)\Omega_{23}=\operatorname{diag}(2,2,64); Ω02=diag⁡(32,32,0.5)\Omega_{02}=\operatorname{diag}(32,32,0.5); Ω03=diag⁡(8,8,16)\Omega_{03}=\operatorname{diag}(8,8,16); Ω13=diag⁡(8,8,128)\Omega_{13}=\operatorname{diag}(8,8,128).

ρ(Q)≈1.0019966,ρ(M8)≈0.9205045.\rho(Q)\approx1.0019966,\qquad\rho(M_8)\approx0.9205045.

Theory

The purpose of this appendix is to prove the two convergence claims in the main paper: first, for a fixed H-GBP cycle length kk, the full hierarchy converges from every admissible initialization if and only if the reduced cycle operator satisfies ρ(Mk)<1\rho(M_k)<1 (equivalently ρ(Taug,k)<1\rho(T_{\mathrm{aug},k})<1). Second, whenever this criterion holds, the fine-level mean converges to the exact MAP solution of the original linear Gaussian factor graph.

For readability, formulas are written for unary and binary factors. Higher-order factors use the same Schur-complement formulas ([33]) after replacing the single “other endpoint” by the block of all non-target variables.

We make the same assumptions (Assumption B.1, B.2) as in vector-valued standard GBP ([12]) and state their results as facts here, before delving into our results of H-GBP in the following subsections.

Let N1(i)N_1(i) and N2(i)N_2(i) denote the unary and binary factors incident on variable ii. For a binary factor f={i,j}f=\{i,j\}, write

Λf=[ΛiifΛijfΛjifΛjjf].\Lambda_f = \begin{bmatrix} \Lambda_{ii}^f & \Lambda_{ij}^f \\ \Lambda_{ji}^f & \Lambda_{jj}^f \end{bmatrix}.

For a directed binary message a=(f→i)a=(f\to i), with the other endpoint j=j(a)j=j(a), define the cavity precision

Ca(Λ):=Λjself+Sa(Λ),Λjself:=∑u∈N1(j)Λu→j,Sa(Λ):=∑h∈N2(j)∖{f}Λh→j.C_a(\Lambda):=\Lambda_j^{\mathrm{self}}+S_a(\Lambda),\qquad \Lambda_j^{\mathrm{self}}:=\sum_{u\in N_1(j)}\Lambda_{u\to j},\qquad S_a(\Lambda):=\sum_{h\in N_2(j)\setminus\{f\}}\Lambda_{h\to j}.

Assumption B.1. The initial factor-to-variable precision messages satisfy Λf→i(0)⪰0\Lambda_{f\to i}^{(0)}\succeq0 for every directed factor-to-variable edge.

Assumption B.2. The following regularity conditions hold.

(i) Each variable has positive self-precision: Λiself≻0\Lambda_i^{\mathrm{self}}\succ0 for all i∈Vi\in\mathcal{V}.

(ii) Each binary factor admits the measurement-form factorization

Λf=[Af,iAf,j]TWf−1[Af,iAf,j],Wf≻0,\Lambda_f= \begin{bmatrix} A_{f,i} & A_{f,j} \end{bmatrix}^{\mathsf T} W_f^{-1} \begin{bmatrix} A_{f,i} & A_{f,j} \end{bmatrix}, \qquad W_f\succ0,

where Af,iA_{f,i} and Af,jA_{f,j} are full column rank.

Remark. Assumption B.2 is consistent with standard Gaussian-BP implementations. In practice, the Schur-complement block in each factor-to-variable update is always stabilized by adding a small positive diagonal term, for example

Df→i↦Df→i+ϵI,ϵ≈10−10.D_{f\to i}\mapsto D_{f\to i}+\epsilon I,\qquad\epsilon\approx10^{-10}.

For the precision recursion, this is equivalent to adding an arbitrarily weak unary regularizer with precision ϵI\epsilon I to each variable. After including this regularizer in N1(i)N_1(i), we have Λiself⪰ϵI≻0\Lambda_i^{\mathrm{self}}\succeq\epsilon I\succ0. Thus the condition Λiself≻0\Lambda_i^{\mathrm{self}}\succ0 should be understood as a standard technical regularity condition ensuring well-defined Schur complements, rather than as a restrictive modeling requirement.

Let S+\mathcal{S}_+ and S++\mathcal{S}_{++} denote the blockwise positive semidefinite and positive definite cones. The precision update map is F:S+→S++F:\mathcal{S}_+\to\mathcal{S}_{++} such that

Fa(Λ)=Λiif−Λijf(Λjjf+Ca(Λ))−1Λjif(14)F_a(\Lambda)=\Lambda_{ii}^f-\Lambda_{ij}^f\left(\Lambda_{jj}^f+C_a(\Lambda)\right)^{-1}\Lambda_{ji}^f \tag*{(14)}

Using the measurement factorization and the Woodbury identity, we get this fact from Du et al. [12]

Fa(Λ)=Af,iT[Wf+Af,jCa(Λ)−1Af,jT]−1Af,i.(15)F_a(\Lambda)=A_{f,i}^{\mathsf T}\left[W_f+A_{f,j}C_a(\Lambda)^{-1}A_{f,j}^{\mathsf T}\right]^{-1}A_{f,i}. \tag*{(15)}

This form makes positivity, monotonicity, and differentiability of FF transparent.

Theorem B.3 (standard GBP precision convergence ([12])). Under Assumptions B.1–B.2, the recursion Λ(ℓ+1)=F(Λ(ℓ))\Lambda^{(\ell+1)}=F(\Lambda^{(\ell)}) has a unique positive-definite fixed point Λ∗\Lambda^*. For every positive-semidefinite initialization, Λ(ℓ)→Λ∗\Lambda^{(\ell)}\to\Lambda^*. Moreover, for every fixed neighborhood of Λ∗\Lambda^*, the trajectory approaches that neighborhood at an exponential rate before the first entrance.

Convergence of precisions

Proposition B.4 (Precision dynamics are unchanged by the hierarchy). The H-GBP coarse correction changes only the variable belief information vectors and means. It does not alter factor-to-variable precision messages. Therefore H-GBP has exactly the same precision recursion, Λ(ℓ+1)=F(Λ(ℓ))\Lambda^{(\ell+1)} = F(\Lambda^{(\ell)}), as standard synchronous GBP.

Proof. The message-preserving injection rewrites η^i\hat{\eta}_i so that the belief mean is shifted by the coarse correction, while leaving Λ^i\hat{\Lambda}_i, Λf→i\Lambda_{f \to i}, and ηf→i\eta_{f \to i} unchanged. The next precision update therefore sees the same precision state as ordinary GBP.

Now, we strengthen the convergence result to a global geometric convergence rate, which will be recursively used to control the early, nonstationary precision phase of H-GBP.

Lemma B.5 (Derivative of the precision map at the fixed point). The precision map FF is Fréchet differentiable on a neighborhood of Λ⋆\Lambda^\star inside S++\mathbb{S}_{++}. For a directed message a=(f→i)a = (f \to i), let j=j(a)j = j(a), and define

Ba(Λ):=Wf+Af,jCa(Λ)−1Af,jT.B_a(\Lambda) := W_f + A_{f,j}C_a(\Lambda)^{-1}A_{f,j}^{\mathsf{T}}.

Then for every symmetric blockwise increment HH,

DFa(Λ)[H]=Af,iTBa(Λ)−1Af,jCa(Λ)−1(∑h∈N2(j)∖{f}Hh→j)Ca(Λ)−1Af,jTBa(Λ)−1Af,i.DF_a(\Lambda)[H] = A_{f,i}^{\mathsf{T}}B_a(\Lambda)^{-1}A_{f,j}C_a(\Lambda)^{-1}\left(\sum_{h \in N_2(j)\setminus\{f\}} H_{h \to j}\right)C_a(\Lambda)^{-1}A_{f,j}^{\mathsf{T}}B_a(\Lambda)^{-1}A_{f,i}.

In particular, H⪰0H \succeq0 implies DF(Λ⋆)[H]⪰0DF(\Lambda^\star)[H] \succeq0.

Proof. Equation (15) gives Fa(Λ)=Af,iTBa(Λ)−1Af,iF_a(\Lambda) = A_{f,i}^{\mathsf{T}}B_a(\Lambda)^{-1}A_{f,i}.

The map Ca(Λ)C_a(\Lambda) is linear in the relevant components of Λ\Lambda. Hence, DCa(Λ)[H]=∑h∈N2(j)∖{f}Hh→jDC_a(\Lambda)[H] = \sum_{h \in N_2(j)\setminus\{f\}} H_{h \to j}. Since Ca(Λ⋆)≻0C_a(\Lambda^\star) \succ0, by continuity Ca(Λ)≻0C_a(\Lambda) \succ0 in a sufficiently small neighborhood of Λ⋆\Lambda^\star. Thus the inverse is differentiable there.

The Fréchet derivative formula for inversion [20] is D(X−1)[H]=−X−1HX−1D(X^{-1})[H] = -X^{-1}HX^{-1}, so

D(Ca−1)(Λ)[H]=−Ca(Λ)−1DCa(Λ)[H]Ca(Λ)−1.D(C_a^{-1})(\Lambda)[H] = -C_a(\Lambda)^{-1}DC_a(\Lambda)[H]C_a(\Lambda)^{-1}.

Next, Ba(Λ)=Wf+Af,jCa(Λ)−1Af,jTB_a(\Lambda) = W_f + A_{f,j}C_a(\Lambda)^{-1}A_{f,j}^{\mathsf{T}}. Since WfW_f, Af,jA_{f,j}, and Af,jTA_{f,j}^{\mathsf{T}} are fixed with respect to Λ\Lambda, differentiating gives DBa(Λ)[H]=Af,jD(Ca−1)(Λ)[H]Af,jTDB_a(\Lambda)[H] = A_{f,j}D(C_a^{-1})(\Lambda)[H]A_{f,j}^{\mathsf{T}}.

Applying the same inversion derivative formula to Ba(Λ)−1B_a(\Lambda)^{-1}, we have

D(Ba−1)(Λ)[H]=−Ba(Λ)−1DBa(Λ)[H]Ba(Λ)−1.D(B_a^{-1})(\Lambda)[H] = -B_a(\Lambda)^{-1}DB_a(\Lambda)[H]B_a(\Lambda)^{-1}.

Finally, since Af,iA_{f,i} is fixed with respect to Λ\Lambda, DFa(Λ)[H]=Af,iTD(Ba−1)(Λ)[H]Af,iDF_a(\Lambda)[H] = A_{f,i}^{\mathsf{T}}D(B_a^{-1})(\Lambda)[H]A_{f,i}. Hence, substituting all the equations above sequentially we get

DFa(Λ)[H]=Af,iTBa(Λ)−1Af,jCa(Λ)−1(∑h∈N2(j)∖{f}Hh→j)Ca(Λ)−1Af,jTBa(Λ)−1Af,i.DF_a(\Lambda)[H] = A_{f,i}^{\mathsf{T}}B_a(\Lambda)^{-1}A_{f,j}C_a(\Lambda)^{-1}\left(\sum_{h \in N_2(j)\setminus\{f\}} H_{h \to j}\right)C_a(\Lambda)^{-1}A_{f,j}^{\mathsf{T}}B_a(\Lambda)^{-1}A_{f,i}.

This is the claimed derivative formula. If H⪰0H \succeq0, the middle summed block is positive semidefinite, so every displayed block derivative is positive semidefinite.

Proposition B.6 (Local strict contraction near the precision fixed point). There exist a monotone norm ∥⋅∥⋆\lVert\cdot\rVert_\star on the blockwise precision space, a radius ϵ0>0\epsilon_0 > 0, and a constant q∈(0,1)q \in(0,1) such that

∥Λ−Λ⋆∥⋆<ϵ0⟹∥F(Λ)−Λ⋆∥⋆≤q∥Λ−Λ⋆∥⋆.\lVert\Lambda- \Lambda^\star\rVert_\star< \epsilon_0 \quad\Longrightarrow\quad\lVert F(\Lambda) - \Lambda^\star\rVert_\star\leq q\lVert\Lambda- \Lambda^\star\rVert_\star.

Proof. For a blockwise symmetric perturbation H={Ha}a∈DH = \{H_a\}_{a \in\mathcal{D}}, define

∥H∥⋆:=max⁡a∈D∥(Λa⋆)−1/2Ha(Λa⋆)−1/2∥2.\lVert H \rVert_\star:= \max_{a \in\mathcal{D}} \left\lVert(\Lambda_a^\star)^{-1/2}H_a(\Lambda_a^\star)^{-1/2}\right\rVert_2.

This norm is monotone on the positive semi-definite cone: if 0⪯H⪯H~0 \preceq H \preceq\widetilde{H}, then each normalized block is ordered in the Loewner sense, and the spectral norm of positive semidefinite blocks is monotone. The definition also implies the blockwise order bound

−∥H∥⋆Λ⋆⪯H⪯∥H∥⋆Λ⋆.(16)-\lVert H\rVert_{\star}\Lambda^{\star} \preceq H \preceq\lVert H\rVert_{\star}\Lambda^{\star}. \tag*{(16)}

We show first that DF(Λ⋆)DF(\Lambda^{\star}) is strictly contractive in this norm. Fix a=(f→i)a=(f\to i), let j=j(a)j=j(a), and write

Sa⋆:=∑h∈N2(j)∖{f}Λh→j⋆,Ca⋆:=Λjself+Sa⋆,Ba⋆:=Wf+Af,j(Ca⋆)−1Af,jT.S_a^{\star}:=\sum_{h\in N_2(j)\setminus\{f\}}\Lambda_{h\to j}^{\star},\qquad C_a^{\star}:=\Lambda_j^{\mathrm{self}}+S_a^{\star},\qquad B_a^{\star}:=W_f+A_{f,j}(C_a^{\star})^{-1}A_{f,j}^{\mathsf T}.

Substituting H=Λ⋆H=\Lambda^{\star} into Lemma B.5 gives

DFa(Λ⋆)[Λ⋆]=Af,i(Ba⋆)−1Af,j(Ca⋆)−1Sa⋆(Ca⋆)−1Af,jT(Ba⋆)−1Af,i.DF_a(\Lambda^{\star})[\Lambda^{\star}]=A_{f,i}(B_a^{\star})^{-1}A_{f,j}(C_a^{\star})^{-1}S_a^{\star}(C_a^{\star})^{-1}A_{f,j}^{\mathsf T}(B_a^{\star})^{-1}A_{f,i}.

Because Λjself≻0\Lambda_j^{\mathrm{self}}\succ0, 0⪯Sa⋆≺Ca⋆0\preceq S_a^{\star}\prec C_a^{\star}, and hence (Ca⋆)−1Sa⋆(Ca⋆)−1≺(Ca⋆)−1(C_a^{\star})^{-1}S_a^{\star}(C_a^{\star})^{-1}\prec(C_a^{\star})^{-1}.

Also Wf≻0W_f\succ0, so Af,j(Ca⋆)−1Af,jT≺Wf+Af,j(Ca⋆)−1Af,jT=Ba⋆A_{f,j}(C_a^{\star})^{-1}A_{f,j}^{\mathsf T}\prec W_f+A_{f,j}(C_a^{\star})^{-1}A_{f,j}^{\mathsf T}=B_a^{\star}.

Combining these inequalities gives

DFa(Λ⋆)[Λ⋆]≺Af,i(Ba⋆)−1Af,i=Fa(Λ⋆)=Λa⋆.DF_a(\Lambda^{\star})[\Lambda^{\star}]\prec A_{f,i}(B_a^{\star})^{-1}A_{f,i}=F_a(\Lambda^{\star})=\Lambda_a^{\star}.

Since there are finitely many directed messages, there exists α∈(0,1)\alpha\in(0,1) such that

DF(Λ⋆)[Λ⋆]⪯αΛ⋆.(17)DF(\Lambda^{\star})[\Lambda^{\star}]\preceq\alpha\Lambda^{\star}. \tag*{(17)}

For arbitrary HH, let t=∥H∥⋆t=\lVert H\rVert_{\star}. By (16), −tΛ⋆⪯H⪯tΛ⋆-t\Lambda^{\star}\preceq H\preceq t\Lambda^{\star}. Since DF(Λ⋆)DF(\Lambda^{\star}) is positive and linear, it is order-preserving. Therefore DF(Λ⋆)[−tΛ⋆]⪯DF(Λ⋆)[H]⪯DF(Λ⋆)[tΛ⋆]DF(\Lambda^{\star})[-t\Lambda^{\star}]\preceq DF(\Lambda^{\star})[H]\preceq DF(\Lambda^{\star})[t\Lambda^{\star}]. Linearity gives

−tDF(Λ⋆)[Λ⋆]⪯DF(Λ⋆)[H]⪯tDF(Λ⋆)[Λ⋆].-tDF(\Lambda^{\star})[\Lambda^{\star}]\preceq DF(\Lambda^{\star})[H]\preceq tDF(\Lambda^{\star})[\Lambda^{\star}].

By (17), DF(Λ⋆)[Λ⋆]⪯αΛ⋆DF(\Lambda^{\star})[\Lambda^{\star}]\preceq\alpha\Lambda^{\star}. Hence

−αtΛ⋆⪯DF(Λ⋆)[H]⪯αtΛ⋆.-\alpha t\Lambda^{\star}\preceq DF(\Lambda^{\star})[H]\preceq\alpha t\Lambda^{\star}.

Substituting t=∥H∥⋆t=\lVert H\rVert_{\star} yields −α∥H∥⋆Λ⋆⪯DF(Λ⋆)[H]⪯α∥H∥⋆Λ⋆-\alpha\lVert H\rVert_{\star}\Lambda^{\star}\preceq DF(\Lambda^{\star})[H]\preceq\alpha\lVert H\rVert_{\star}\Lambda^{\star}. By the definition of ∥⋅∥⋆\lVert\cdot\rVert_{\star}, this implies

∥DF(Λ⋆)[H]∥⋆≤α∥H∥⋆.\lVert DF(\Lambda^{\star})[H]\rVert_{\star}\leq\alpha\lVert H\rVert_{\star}.

Thus ∥DF(Λ⋆)∥⋆→⋆:=sup⁡H≠0∥DF(Λ⋆)[H]∥⋆∥H∥⋆≤α<1\lVert DF(\Lambda^{\star})\rVert_{\star\to\star}:=\sup_{H\ne0}\frac{\lVert DF(\Lambda^{\star})[H]\rVert_{\star}}{\lVert H\rVert_{\star}}\leq\alpha<1.

Since FF is C1C^1 near Λ⋆\Lambda^{\star}, choose q∈(α,1)q\in(\alpha,1) and then ε0>0\varepsilon_0>0 so that the closed ∥⋅∥⋆\lVert\cdot\rVert_{\star}-ball of radius ε0\varepsilon_0 around Λ⋆\Lambda^{\star} lies inside S++\mathbb{S}_{++} and ∥DF(Λ)∥⋆→⋆≤q\lVert DF(\Lambda)\rVert_{\star\to\star}\leq q throughout that ball. For any Λ\Lambda in the ball, the segment between Λ⋆\Lambda^{\star} and Λ\Lambda remains in the ball, and the finite-dimensional mean-value formula gives

F(Λ)−F(Λ⋆)=∫01DF(Λ⋆+s(Λ−Λ⋆))[Λ−Λ⋆] ds.F(\Lambda)-F(\Lambda^{\star})=\int_0^1DF\bigl(\Lambda^{\star}+s(\Lambda-\Lambda^{\star})\bigr)[\Lambda-\Lambda^{\star}]\,ds.

Taking the ∥⋅∥⋆\lVert\cdot\rVert_{\star}-norm proves the claimed local contraction.

Theorem B.7 (Global geometric precision convergence). For every admissible precision initialization, there exist constants CΛ<∞C_{\Lambda}<\infty and θΛ∈(0,1)\theta_{\Lambda}\in(0,1) such that

∥Λ(ℓ)−Λ⋆∥⋆≤CΛθΛℓ,ℓ≥0.\lVert\Lambda^{(\ell)}-\Lambda^{\star}\rVert_{\star}\leq C_{\Lambda}\theta_{\Lambda}^{\ell},\qquad\ell\geq0.

Proof. The imported exponential-entrance result B.3 implies a finite entrance into the ε0\varepsilon_0-ball. After that entrance time, Proposition B.6 gives a geometric tail. Enlarging the prefactor to dominate the finite prefix yields the displayed all-time bound.

MAP-centered message reference

Let x⋆=A−1bx_\star=A^{-1}b. For any precision state Λ\Lambda, define the canonical eta reference by

ηf→i⋆(Λ):=ηif−(ΛfxN(f)⋆)i+Λf→ixi⋆.(18)\eta^\star_{f\to i}(\Lambda):=\eta^f_i-\left(\Lambda_f x^\star_{N(f)}\right)_i+\Lambda_{f\to i}x^\star_i. \tag*{(18)}

Here xN(f)⋆x^\star_{N(f)} is the stacked vector of MAP blocks adjacent to factor ff, Λf\Lambda_f is the precision matrix of factor ff, and (ΛfxN(f)⋆)i\left(\Lambda_f x^\star_{N(f)}\right)_i denotes the block corresponding to variable ii. For unary messages, ηu→i⋆=ηiu\eta^\star_{u\to i}=\eta^u_i. For a binary factor ff with endpoints ii and jj,

ηf→i⋆(Λ)=ηif−Λiifxi⋆−Λijfxj⋆+Λf→ixi⋆.\eta^\star_{f\to i}(\Lambda)=\eta^f_i-\Lambda^f_{ii}x^\star_i-\Lambda^f_{ij}x^\star_j+\Lambda_{f\to i}x^\star_i.

Let

Λ^i(Λ):=∑f∈N(i)Λf→i,η^i⋆(Λ):=∑f∈N(i)ηf→i⋆(Λ).(19)\widehat{\Lambda}_i(\Lambda):=\sum_{f\in N(i)}\Lambda_{f\to i},\qquad\widehat{\eta}_i^\star(\Lambda):=\sum_{f\in N(i)}\eta^\star_{f\to i}(\Lambda). \tag*{(19)}

Lemma B.8 (Canonical reference has MAP readout and propagates with precision). For every precision state Λ\Lambda,

η^i⋆(Λ)=Λ^i(Λ)xi⋆,∀i.\widehat{\eta}_i^\star(\Lambda)=\widehat{\Lambda}_i(\Lambda)x^\star_i,\qquad\forall i.

Moreover, if one synchronous precision sweep maps Λ\Lambda to F(Λ)F(\Lambda), then the corresponding synchronous eta Schur update maps η⋆(Λ)\eta^\star(\Lambda) to η⋆(F(Λ))\eta^\star(F(\Lambda)). In particular, η⋆(Λ⋆)\eta^\star(\Lambda^\star) is a fixed point of the frozen eta-message equations at Λ⋆\Lambda^\star, and its belief mean is x⋆x^\star.

Proof. We first prove the readout identity. By the assembly of the global linear system,

bi=∑f∈N(i)ηif,(Ax⋆)i=∑f∈N(i)(ΛfxN(f)⋆)i,bi−(Ax⋆)i=0.b_i=\sum_{f\in N(i)}\eta^f_i,\qquad(Ax_\star)_i=\sum_{f\in N(i)}\left(\Lambda_f x^\star_{N(f)}\right)_i,\qquad b_i-(Ax_\star)_i=0.

By definition 19,

η^i⋆(Λ)−Λ^i(Λ)xi⋆=∑f∈N(i)[ηf→i⋆(Λ)−Λf→ixi⋆]=∑f∈N(i)[ηif−(ΛfxN(f)⋆)i].\widehat{\eta}_i^\star(\Lambda)-\widehat{\Lambda}_i(\Lambda)x^\star_i =\sum_{f\in N(i)}\left[\eta^\star_{f\to i}(\Lambda)-\Lambda_{f\to i}x^\star_i\right] =\sum_{f\in N(i)}\left[\eta^f_i-\left(\Lambda_f x^\star_{N(f)}\right)_i\right].

Hence η^i⋆(Λ)−Λ^i(Λ)xi⋆=bi−(Ax⋆)i=0\widehat{\eta}_i^\star(\Lambda)-\widehat{\Lambda}_i(\Lambda)x^\star_i=b_i-(Ax_\star)_i=0. Therefore η^i⋆(Λ)=Λ^i(Λ)xi⋆\widehat{\eta}_i^\star(\Lambda)=\widehat{\Lambda}_i(\Lambda)x^\star_i.

We now prove the propagation identity. Consider a binary message a=(f→i)a=(f\to i), and let jj be the other endpoint of ff. Define

Da(Λ):=Λjjf+∑h∈N(j)∖{f}Λh→j.D_a(\Lambda):=\Lambda^f_{jj}+\sum_{h\in N(j)\setminus\{f\}}\Lambda_{h\to j}.

The corresponding precision update is

Fa(Λ)=Λiif−ΛijfDa(Λ)−1Λjif.(20)F_a(\Lambda)=\Lambda^f_{ii}-\Lambda^f_{ij}D_a(\Lambda)^{-1}\Lambda^f_{ji}. \tag*{(20)}

The eta Schur update uses the cavity information at jj,

ra,j⋆(Λ):=ηjf+∑h∈N(j)∖{f}ηh→j⋆(Λ).r^\star_{a,j}(\Lambda):=\eta^f_j+\sum_{h\in N(j)\setminus\{f\}}\eta^\star_{h\to j}(\Lambda).

We claim that

ra,j⋆(Λ)=Da(Λ)xj⋆+Λjifxi⋆.r^\star_{a,j}(\Lambda)=D_a(\Lambda)x^\star_j+\Lambda^f_{ji}x^\star_i.

Indeed, by the readout identity just proved,

∑h∈N(j)ηh→j⋆(Λ)=(∑h∈N(j)Λh→j)xj⋆.\sum_{h\in N(j)}\eta^\star_{h\to j}(\Lambda)=\left(\sum_{h\in N(j)}\Lambda_{h\to j}\right)x^\star_j.

Therefore

ra,j⋆(Λ)=ηjf+η^j⋆(Λ)−ηf→j⋆(Λ)=ηjf+Λ^j(Λ)xj⋆−[ηjf−Λjjfxj⋆−Λjifxi⋆+Λf→jxj⋆]=(Λ^j(Λ)−Λf→j+Λjjf)xj⋆+Λjifxi⋆=Da(Λ)xj⋆+Λjifxi⋆.\begin{aligned} r^\star_{a,j}(\Lambda)=\eta^f_j+\widehat{\eta}^\star_j(\Lambda)-\eta^\star_{f\to j}(\Lambda) \\ &=\eta^f_j+\widehat{\Lambda}_j(\Lambda)x^\star_j-\left[\eta^f_j-\Lambda^f_{jj}x^\star_j-\Lambda^f_{ji}x^\star_i+\Lambda_{f\to j}x^\star_j\right] \\ &=\left(\widehat{\Lambda}_j(\Lambda)-\Lambda_{f\to j}+\Lambda^f_{jj}\right)x^\star_j+\Lambda^f_{ji}x^\star_i \\ &=D_a(\Lambda)x^\star_j+\Lambda^f_{ji}x^\star_i. \end{aligned}

Substituting this into the eta Schur update gives

ηf→i+=ηif−ΛijfDa(Λ)−1ra,j∗(Λ)=ηif−ΛijfDa(Λ)−1[Da(Λ)xj∗+Λjifxi∗]=ηif−Λijfxj∗−ΛijfDa(Λ)−1Λjifxi∗.\begin{aligned} \eta^{+}_{f\to i} &= \eta_i^f-\Lambda^f_{ij}D_a(\Lambda)^{-1}r^*_{a,j}(\Lambda) \\ &= \eta_i^f-\Lambda^f_{ij}D_a(\Lambda)^{-1}\left[D_a(\Lambda)x_j^*+\Lambda^f_{ji}x_i^*\right] \\ &= \eta_i^f-\Lambda^f_{ij}x_j^*-\Lambda^f_{ij}D_a(\Lambda)^{-1}\Lambda^f_{ji}x_i^*. \end{aligned}

Using 20, we obtain

ηf→i+=ηif−Λijfxj∗−(Λiif−Fa(Λ))xi∗=ηif−Λiifxi∗−Λijfxj∗+Fa(Λ)xi∗.\begin{aligned} \eta^{+}_{f\to i} &= \eta_i^f-\Lambda^f_{ij}x_j^*-\left(\Lambda^f_{ii}-F_a(\Lambda)\right)x_i^* \\ &= \eta_i^f-\Lambda^f_{ii}x_i^*-\Lambda^f_{ij}x_j^*+F_a(\Lambda)x_i^*. \end{aligned}

This is exactly the canonical message

ηf→i∗(F(Λ)).\eta^*_{f\to i}(F(\Lambda)).

Unary eta messages are unchanged, and their canonical references are also unchanged. Hence the full synchronous eta update maps

η∗(Λ)toη∗(F(Λ)).\eta^*(\Lambda)\quad\text{to}\quad\eta^*(F(\Lambda)).

Finally, setting Λ=Λ∗\Lambda=\Lambda^* and using F(Λ∗)=Λ∗F(\Lambda^*)=\Lambda^*, we get η∗(Λ∗)↦η∗(F(Λ∗))=η∗(Λ∗)\eta^*(\Lambda^*)\mapsto\eta^*(F(\Lambda^*))=\eta^*(\Lambda^*). Thus η∗(Λ∗)\eta^*(\Lambda^*) is a fixed point of the frozen eta-message equations.

The readout identity at Λ∗\Lambda^* gives Λ^i(Λ∗)−1η^i∗(Λ∗)=xi∗\widehat{\Lambda}_i(\Lambda^*)^{-1}\widehat{\eta}_i^*(\Lambda^*)=x_i^* for every variable ii, so the belief mean is xi∗x_i^*.

From now on, eta-message errors are always defined relative to the current canonical reference:

m:=η−η∗(Λ),v:=x−x∗.m:=\eta-\eta^*(\Lambda),\qquad v:=x-x_*.

At the limiting precision, this reduces to the usual frozen error m=η−η∗(Λ∗)m=\eta-\eta^*(\Lambda^*).

Frozen linear H-GBP cycle

Let PP be the grouped prolongation matrix, and define

C:=I−P(PTAP)−1PTA.(21)C := I - P(P^{\mathsf{T}}AP)^{-1}P^{\mathsf{T}}A. \tag*{(21)}

The coarse residual correction (PTAP)δz=PT(b−Ax)(P^{\mathsf{T}}AP)\delta z = P^{\mathsf{T}}(b - Ax), x+=x+Pδzx^{+} = x + P\delta z therefore maps the mean error by

v+=Cv,PTAv+=0.(22)v^{+} = Cv,\qquad P^{\mathsf{T}}Av^{+} = 0. \tag*{(22)}

This is the Galerkin AA-orthogonal projection onto range⁡(P)⊥A\operatorname{range}(P)^{\perp_A} [4].

Now, let’s fix the precision at Λ⋆\Lambda^{\star} – analyze the system when all variances converge.

Recall in the main text, we have the following matrix operators: (J,U)(J,U) for repair sweep, QQ for k−1k-1 additional GBP sweeps, and RR for the readout.

Together with the Galerkin correction CC gives the limiting augmented cycle

\begin{bmatrix} v^{+} \\ m^{+} \end{bmatrix} = T_{\mathrm{aug},k} \begin{bmatrix} v \\ m \end{bmatrix}, \qquad T_{\mathrm{aug},k} = \begin{bmatrix} CRQ^{k-1}J & CRQ^{k-1}U \\ Q^{k-1}J & Q^{k-1}U \end{bmatrix}. \tag*{(23)}\end{bmatrix}

At a post-injection cycle boundary, messages are preserved and the mean has just been Galerkin-corrected. Hence boundary states satisfy

v=CRm.v = CRm.

Define

Ycyc:={(CRm,m):m∈M},ιcyc(m):=(CRm,m),πcyc(v,m):=m.\mathcal{Y}_{\mathrm{cyc}} := \{(CRm,m):m\in\mathcal{M}\},\qquad \iota_{\mathrm{cyc}}(m):=(CRm,m),\qquad \pi_{\mathrm{cyc}}(v,m):=m.

Proposition B.9 (Exact cycle-boundary reduction). The subspace Ycyc\mathcal{Y}_{\mathrm{cyc}} is invariant under Taug,kT_{\mathrm{aug},k}, and the reduced cycle operator is

Mk:=πcycTaug,kιcyc=Qk−1(JCR+U).(24)M_k := \pi_{\mathrm{cyc}}T_{\mathrm{aug},k}\iota_{\mathrm{cyc}} = Q^{k-1}(JCR+U). \tag*{(24)}

Moreover,

Taug,kιcyc=ιcycMk.T_{\mathrm{aug},k}\iota_{\mathrm{cyc}}=\iota_{\mathrm{cyc}}M_k.

Proof. Substituting v=CRmv=CRm into (23) gives

Taug,kιcyc(m)=(CRQk−1(JCR+U)m,  Qk−1(JCR+U)m)=ιcyc(Mkm).T_{\mathrm{aug},k}\iota_{\mathrm{cyc}}(m) = \left(CRQ^{k-1}(JCR+U)m,\;Q^{k-1}(JCR+U)m\right) = \iota_{\mathrm{cyc}}(M_km).

Lemma B.10 (Spectral equivalence).

ρ(Mk)=ρ(Taug,k).\rho(M_k)=\rho(T_{\mathrm{aug},k}).

Proof. The map ιcyc\iota_{\mathrm{cyc}} is an isomorphism from M\mathcal{M} to Ycyc\mathcal{Y}_{\mathrm{cyc}}, so MkM_k is similar to Taug,k∣YcycT_{\mathrm{aug},k}|_{\mathcal{Y}_{\mathrm{cyc}}}. Also, Taug,kT_{\mathrm{aug},k} maps the whole augmented space into Ycyc\mathcal{Y}_{\mathrm{cyc}}; hence every nonzero eigenvector of Taug,kT_{\mathrm{aug},k} lies in Ycyc\mathcal{Y}_{\mathrm{cyc}}. The two operators therefore have the same nonzero eigenvalues.

From the initial precision to the limiting cycle

For cycle tt, let Λt[r]:=Λ(tb+r)\Lambda_t^{[r]} := \Lambda^{(tb+r)}, r=0,…,kr = 0,\ldots,k. The operators Jt,Ut,RtJ_t,U_t,R_t are evaluated at Λt[0]\Lambda_t^{[0]}, while Qt,rQ_{t,r} is evaluated at Λt[r]\Lambda_t^{[r]}. Because the canonical reference η∗(Λ)\eta^*(\Lambda) propagates with the precision update (Lemma B.8), the eta-error dynamics are exactly homogeneous at every precision state.

Definition B.11 (Exact cocycle and limiting operator). The exact cycle-boundary cocycle is

M~k,t:=Qt,k−1⋯Qt,1(JtCRt+Ut).(25)\widetilde{M}_{k,t} := Q_{t,k-1}\cdots Q_{t,1}\left(J_t\mathcal{C}R_t+U_t\right). \tag*{(25)}

The limiting operator is

Mk=Qk−1(JCR+U),M_k=Q^{k-1}(J\mathcal{C}R+U),

where Q,J,U,RQ,J,U,R are evaluated at Λ⋆\Lambda^\star.

Proposition B.12 (Exact cycle-boundary dynamics). Let mtm_t be the directed eta-message error at the post-injection boundary of cycle tt, defined relative to η∗(Λt[0])\eta^*(\Lambda_t^{[0]}). Then

vt=CRtmt,mt+1=M~k,tmt.v_t=\mathcal{C}R_tm_t,\qquad m_{t+1}=\widetilde{M}_{k,t}m_t.

Proof. Before injection, the readout error is RtmtR_tm_t; the Galerkin step maps it to CRtmt\mathcal{C}R_tm_t, proving the boundary relation. The first sweep gives (JtCRt+Ut)mt(J_t\mathcal{C}R_t+U_t)m_t, and the remaining k−1k-1 message-consistent sweeps multiply successively by Qt,1,…,Qt,k−1Q_{t,1},\ldots,Q_{t,k-1}. This is exactly (25). □

Lemma B.13 (Local Lipschitz dependence of frozen operators). There is a compact neighborhood K0⊂S++\mathcal{K}_0\subset S_{++} of Λ⋆\Lambda^\star and a constant Lop<∞L_{\mathrm{op}}<\infty such that, for all Λ,Λ~∈K0\Lambda,\widetilde{\Lambda}\in\mathcal{K}_0,

∥J(Λ)−J(Λ~)∥+∥U(Λ)−U(Λ~)∥+∥R(Λ)−R(Λ~)∥+∥Q(Λ)−Q(Λ~)∥≤Lop∥Λ−Λ~∥⋆.\lVert J(\Lambda)-J(\widetilde{\Lambda})\rVert+\lVert U(\Lambda)-U(\widetilde{\Lambda})\rVert+\lVert R(\Lambda)-R(\widetilde{\Lambda})\rVert+\lVert Q(\Lambda)-Q(\widetilde{\Lambda})\rVert\le L_{\mathrm{op}}\lVert\Lambda-\widetilde{\Lambda}\rVert_\star.

The same operator families are uniformly bounded on K0\mathcal{K}_0.

Proof. Every block of these operators is a rational expression in the precision blocks, formed from sums, products, Schur denominators, and inverses. On a compact positive-definite neighborhood of Λ⋆\Lambda^\star, all denominators are uniformly nonsingular.

The maps are therefore C1C^1, Lipschitz, and uniformly bounded on K0\mathcal{K}_0. □

Lemma B.14 (Exponential convergence of the exact cocycle). For every admissible precision initialization and fixed kk, there exist constants CM,k<∞C_{M,k}<\infty and θM,k∈(0,1)\theta_{M,k}\in(0,1) such that

∥M~k,t−Mk∥≤CM,kθM,kt,t≥0.\lVert\widetilde{M}_{k,t}-M_k\rVert\le C_{M,k}\theta_{M,k}^{t},\qquad t\ge0.

Consequently, with Et:=M~k,t−MkE_t:=\widetilde{M}_{k,t}-M_k,

∑t=0∞∥Et∥<∞.\sum_{t=0}^{\infty}\lVert E_t\rVert<\infty.

Proof. By Corollary B.7, ∥Λ(ℓ)−Λ⋆∥⋆≤CΛθΛℓ\lVert\Lambda^{(\ell)}-\Lambda^\star\rVert_\star\le C_\Lambda\theta_\Lambda^\ell. After a finite prefix, all within-cycle precision states lie in K0\mathcal{K}_0. Lemma B.13 then gives

∥Jt−J∥+∥Ut−U∥+∥Rt−R∥+∑r=1k−1∥Qt,r−Q∥≤Ck(θΛk)t.\lVert J_t-J\rVert+\lVert U_t-U\rVert+\lVert R_t-R\rVert+\sum_{r=1}^{k-1}\lVert Q_{t,r}-Q\rVert\le C_k(\theta_\Lambda^k)^t.

A telescoping expansion of the product Qt,k−1⋯Qt,1Q_{t,k-1}\cdots Q_{t,1} against Qk−1Q^{k-1}, together with uniform boundedness of all factors, yields the displayed bound. The finite prefix is absorbed into CM,kC_{M,k}, and the geometric bound is summable. □

Proposition B.15 (Stability under a vanishing perturbation). Let zt+1=(A+Et)ztz_{t+1}=(A+E_t)z_t in finite dimension and Et→0E_t\to0. If ρ(A)<1\rho(A)<1, then zt→0z_t\to0 for every z0z_0. Moreover, for every q∈(ρ(A),1)q\in(\rho(A),1), there is Cq<∞C_q<\infty such that

∥zt∥≤Cqqt∥z0∥.\lVert z_t\rVert\le C_qq^t\lVert z_0\rVert.

In particular, the conclusion holds if ∑t∥Et∥<∞\sum_t\lVert E_t\rVert<\infty.

Proof. Choose an induced norm with ∥A∥<q\lVert A\rVert<q, possible by the standard adapted-norm construction for finite-dimensional matrices. Since Et→0E_t\to0, the tail satisfies ∥A+Et∥≤q\lVert A+E_t\rVert\le q. The finite prefix is absorbed into the constant. □

Global convergence criterion and MAP target

Definition B.16 (Admissible initialization). An admissible initialization is a post-injection cycle-boundary state with Λ(0)⪰0\Lambda^{(0)} \succeq0 and finite x(0),η(0)x^{(0)},\eta^{(0)}, for which all GBP Schur complements and H-GBP updates are well defined.

Theorem B.17 (Global necessary and sufficient criterion for H-GBP). Fix the cycle length kk. The following statements are equivalent:

(a) For every admissible initialization, the full H-GBP trajectory converges to the MAP-centered fixed point.

(b) For every admissible precision initialization, the exact cycle mt+1=M~k,tmtm_{t+1}=\widetilde{M}_{k,t}m_t satisfies mt→0m_t \to0 for every m0∈Mm_0 \in\mathcal{M}.

(c) ρ(Mk)<1\rho(M_k)<1.

(d) ρ(Taug,k)<1\rho(T_{\mathrm{aug},k})<1.*

When these conditions hold, for every q∈(ρ(Mk),1)q \in(\rho(M_k),1) there exists Cq<∞C_q<\infty such that

∥mt∥≤Cqqt∥m0∥,∥vt∥≤Cqqt∥m0∥,t≥0,\lVert m_t\rVert\le C_q q^t \lVert m_0\rVert,\qquad\lVert v_t\rVert\le C_q q^t \lVert m_0\rVert,\qquad t\ge0,

after enlarging CqC_q to absorb the finite prefix.

Proof. By Proposition B.12, the cycle-boundary dynamics are

mt+1=M~k,tmt,vt=CRtmt.m_{t+1}=\widetilde{M}_{k,t}m_t,\qquad v_t=\mathcal{C}\mathcal{R}_t m_t.

The readout operators are uniformly bounded along the compact precision trajectory, so mt→0m_t\to0 is equivalent to (vt,mt)→(0,0)(v_t,m_t)\to(0,0) at cycle boundaries. Within-cycle states are obtained by finitely many uniformly bounded maps, so cycle-boundary convergence is equivalent to full-trajectory convergence.

If ρ(Mk)<1\rho(M_k)<1, Lemma B.14 gives M~k,t=Mk+Et\widetilde{M}_{k,t}=M_k+E_t with Et→0E_t\to0, in fact summably. Applying Proposition B.15 gives geometric convergence of mtm_t, and uniform boundedness of CRt\mathcal{C}\mathcal{R}_t gives the same rate for vtv_t.

Conversely, suppose the full hierarchy converges for every admissible initialization. Choose Λ(0)=Λ⋆\Lambda^{(0)}=\Lambda^\star. Then the precision is frozen, M~k,t=Mk\widetilde{M}_{k,t}=M_k, and the message recursion is mt+1=Mkmtm_{t+1}=M_km_t. Convergence for every m0m_0 in a finite-dimensional linear system is equivalent to ρ(Mk)<1\rho(M_k)<1. Finally, Lemma B.10 gives ρ(Mk)=ρ(Taug,k)\rho(M_k)=\rho(T_{\mathrm{aug},k}).

Theorem B.18 (Exact MAP target). If the equivalent conditions of Theorem B.17 hold, then for every admissible initialization,

xt→x⋆=A−1b,ηt→η⋆(Λ⋆),Λt→Λ⋆.x_t\to x_\star=A^{-1}b,\qquad\eta_t\to\eta^\star(\Lambda^\star),\qquad\Lambda_t\to\Lambda^\star.

Thus the fine mean produced by H-GBP converges to the exact MAP solution of the base linear Gaussian factor graph.

Proof. Precision convergence follows from Theorem B.3 and Proposition B.4. Theorem B.17 gives mt→0m_t\to0 and vt→0v_t\to0. Since vt=xt−x⋆v_t=x_t-x_\star, this proves xt→x⋆x_t\to x_\star.

Since the canonical reference η⋆(Λ)\eta^\star(\Lambda) is continuous in Λ\Lambda and Λt→Λ⋆\Lambda_t\to\Lambda^\star, we also have ηt=η⋆(Λt)+mt→η⋆(Λ⋆)\eta_t=\eta^\star(\Lambda_t)+m_t\to\eta^\star(\Lambda^\star).

H-GBP on manifolds

Using an iterative inner solver for each linearized least-squares problem is the truncated/inexact Gauss–Newton construction [19, 10]. H-GBP fits this construction: at outer iteration tt, it approximately solves

Atξ^t=bt,At=JtTJt,bt=−JtTrt,(26)A_t\widehat{\xi}_t=b_t,\qquad A_t=J_t^{\mathsf T}J_t,\qquad b_t=-J_t^{\mathsf T}r_t, \tag*{(26)}

and retracts Xt+1=Xt⊕ξ^tX_{t+1}=X_t\oplus\widehat{\xi}_t. Here F(X)=12∥r(X)∥22F(X)=\frac{1}{2}\lVert r(X)\rVert_2^2, and derivatives and tangent norms are expressed in gauge-fixed local coordinates. We now give a direct H-GBP result for local nonlinear convergence and its outer rate. Because H-GBP approaches the tangent solution iteratively, the only added algorithmic condition is the standard relative-residual stopping rule

ηt:=∥Atξ^t−bt∥At−1∥bt∥At−1≤ηˉ,0<ηˉ<1−γ⋆1+γ⋆.(27)\eta_t:=\frac{\lVert A_t\widehat{\xi}_t-b_t\rVert_{A_t^{-1}}}{\lVert b_t\rVert_{A_t^{-1}}}\leq\bar{\eta},\qquad0<\bar{\eta}<\frac{1-\gamma_\star}{1+\gamma_\star}. \tag*{(27)}

If bt=0b_t=0, the algorithm terminates. No additional structural assumption is introduced: the outer conditions are the standard local Gauss–Newton conditions, and the inner conditions are exactly those of our linear H-GBP theorem.

Lemma B.19 (Standard inexact Gauss–Newton). Let X⋆X_\star be a stationary point. Assume that the whitened residual rr is twice continuously differentiable, the gauge-fixed matrix A⋆=J⋆TJ⋆A_\star=J_\star^{\mathsf T}J_\star is positive definite, and the retraction is smooth. Define

S⋆:=∇2F(X⋆)−A⋆,γ⋆:=∥A⋆−1/2S⋆A⋆−1/2∥2<1.S_\star:=\nabla^2F(X_\star)-A_\star,\qquad\gamma_\star:=\lVert A_\star^{-1/2}S_\star A_\star^{-1/2}\rVert_2<1.

Let ξt⋆=At−1bt\xi_t^\star=A_t^{-1}b_t be the exact Gauss–Newton step. If

∥ξ^t−ξt⋆∥At∥ξt⋆∥At≤ηt≤ηˉ,\frac{\lVert\widehat{\xi}_t-\xi_t^\star\rVert_{A_t}}{\lVert\xi_t^\star\rVert_{A_t}}\leq\eta_t\leq\bar{\eta},

with ηˉ\bar{\eta} as in (27), then, for X0X_0 sufficiently close to X⋆X_\star,

lim sup⁡t→∞∥Xt+1⊖X⋆∥A⋆∥Xt⊖X⋆∥A⋆≤γ⋆+(1+γ⋆)lim sup⁡t→∞ηt.(28)\limsup_{t\to\infty}\frac{\lVert X_{t+1}\ominus X_\star\rVert_{A_\star}}{\lVert X_t\ominus X_\star\rVert_{A_\star}} \leq\gamma_\star+(1+\gamma_\star)\limsup_{t\to\infty}\eta_t. \tag*{(28)}

Hence ηt≤ηˉ<(1−γ⋆)/(1+γ⋆)\eta_t\leq\bar{\eta}< (1-\gamma_\star)/(1+\gamma_\star) gives local QQ-linear convergence.

Proof. This follows from the standard perturbation theory of locally contractive fixed-point iterations Ortega & Rheinboldt, [31]: the exact Gauss–Newton map has local asymptotic contraction factor γ⋆\gamma_\star, while a relative step perturbation ηt\eta_t contributes at most (1+γ⋆)ηt(1+\gamma_\star)\eta_t asymptotically.

Lemma B.20 (Residual–error identity). For At≻0A_t\succ0 and bt≠0b_t\ne0,

∥Atξ^t−bt∥At−1∥bt∥At−1=∥ξ^t−ξt⋆∥At∥ξt⋆∥At.(29)\frac{\lVert A_t\widehat{\xi}_t-b_t\rVert_{A_t^{-1}}}{\lVert b_t\rVert_{A_t^{-1}}} = \frac{\lVert\widehat{\xi}_t-\xi_t^\star\rVert_{A_t}}{\lVert\xi_t^\star\rVert_{A_t}}. \tag*{(29)}

Proof. Since Atξt⋆=btA_t\xi_t^\star=b_t, we have Atξ^t−bt=At(ξ^t−ξt⋆)A_t\widehat{\xi}_t-b_t=A_t(\widehat{\xi}_t-\xi_t^\star). The identity follows directly from the definitions of the AtA_t- and At−1A_t^{-1}-norms.

Theorem B.21 (Local convergence of nonlinear H-GBP). Assume the conditions of Lemma B.19 hold. At every outer iteration before termination, suppose the tangent graph satisfies our existing linear H-GBP assumptions and

ρ(Mk,t)<1,\rho(M_{k,t})<1,

where Mk,tM_{k,t} is the H-GBP cycle operator for the current linearization. Run H-GBP until the stopping rule (27) holds. Then Xt+1=Xt⊕ξ^tX_{t+1}=X_t\oplus\widehat{\xi}_t converges locally to $X_\star.

Proof. Theorems B.17 and B.18 imply that ρ(Mk,t)<1\rho(M_{k,t})<1 makes H-GBP converge geometrically to ξt⋆=At−1bt\xi_t^\star=A_t^{-1}b_t, so the stopping tolerance is reached in finitely many cycles. Lemma B.20 converts that tolerance exactly into the forcing condition of Lemma B.19, which proves the claim.

Corollary B.22 (H-GBP-controlled outer rate). Under the assumptions of Theorem B.21, for any qt∈(ρ(Mk,t),1)q_t \in(\rho(M_{k,t}),1), our linear theorem gives a finite KtK_t such that after TT H-GBP cycles,

ηt(T)≤KtqtT.\eta_t^{(T)} \le K_t q_t^T.

Hence the stopping rule is reached after finitely many cycles. For example, it is sufficient to take

Tt≥⌈log⁡(Kt/ηˉ)−log⁡qt⌉whenever Kt>ηˉ.T_t \ge\left\lceil\frac{\log(K_t/\bar{\eta})}{-\log q_t} \right\rceil\qquad\text{whenever } K_t > \bar{\eta}.

The resulting nonlinear outer rate satisfies

qouter≤γ⋆+(1+γ⋆)ηˉ<1.(30)q_{\mathrm{outer}} \le\gamma_\star+ (1+\gamma_\star)\bar{\eta} < 1. \tag*{(30)}

Thus H-GBP’s geometric inner convergence guarantees finite attainment of the prescribed forcing tolerance, while that tolerance explicitly controls the nonlinear outer convergence rate.

Proof. The finite-cycle bound follows from the linear H-GBP theorem. Substituting ηt≤ηˉ\eta_t \le\bar{\eta} into Lemma B.19 gives the outer-rate bound.

Algorithm

Algorithm 1 Hierarchical Gaussian BP

Require: Fixed linear Gaussian factor graph G\mathcal{G} with factor parameters {(ηf,Λf)}f∈F\{(\eta_f,\Lambda_f)\}_{f\in\mathcal{F}}; groups {G}\{\mathcal{G}\}; ranks {rG}\{r_{\mathcal{G}}\}; sweeps kk; cycles TT.

  1. Assemble AA and bb; initialize all factor-to-variable messages to zero.

  2. for each group G\mathcal{G} do

  3. Build HGH_{\mathcal{G}} from factors satisfying N(f)⊆GN(f) \subseteq\mathcal{G} using (5).

  4. Store the rGr_{\mathcal{G}} lowest eigenvectors of HGH_{\mathcal{G}} as the local basis PGP_{\mathcal{G}}.

  5. end for

  6. Assemble P=blkassemble⁡{PG}GP = \operatorname{blkassemble}\{P_{\mathcal{G}}\}_{\mathcal{G}} and factorize Ac=P⊤APA_c = P^{\top}AP.

  7. for t=0,…,T−1t = 0,\ldots,T-1 do

  8. for s=1,…,ks = 1,\ldots,k do

  9. Compute variable-to-factor messages by (2).

  10. Compute factor-to-variable messages Λf→i+,ηf→i+\Lambda_{f\to i}^{+},\eta_{f\to i}^{+} by the Schur update (3).

  11. Update all variable beliefs by (4) (and means xˉi\bar{x}_i optionally).

  12. end for

  13. Stack x=(x1⊤,…,xN⊤)⊤x = (x_1^{\top},\ldots,x_N^{\top})^{\top} and compute rc=P⊤(b−Ax)r_c = P^{\top}(b-Ax).

  14. Solve Acδz=rcA_c\delta z = r_c and prolong δx=Pδz\delta x = P\delta z.

  15. Inject xi←xi+δxix_i \leftarrow x_i+\delta x_i and η^i←Λ^ixi\hat{\eta}_i \leftarrow\hat{\Lambda}_i x_i for all variables. Keep all (ηf→i,Λf→i)(\eta_{f\to i},\Lambda_{f\to i}) unchanged.

  16. end for

  17. return x=(x1⊤,…,xN⊤)⊤x = (x_1^{\top},\ldots,x_N^{\top})^{\top}.

Additional Details

Implementation Details

All timings are CPU-only, on an Intel Core i9-13900HX system (24 physical cores, 32 logical processors, 64 GB RAM). A 16-thread run specifies a worker budget, not 16 physical cores. The released configurations specify one policy for SE(2), one for SE(3), and one for BA; none selects parameters by dataset name.

Precision reuse and packed messages. Within a fixed Gaussian model, precision updates are independent of the canonical vectors. Once the precision stopping rule is met, we cache the Schur gain

Bf→i=Λijf(Λjjf+Λj∖f)−1,ηf→i+=ηif−Bf→i(ηjf+ηj∖f).B_{f\to i} = \Lambda_{ij}^{f}(\Lambda_{jj}^{f}+\Lambda_{j\setminus f})^{-1}, \qquad\eta_{f\to i}^{+} = \eta_i^{f} - B_{f\to i}(\eta_j^{f}+\eta_{j\setminus f}).

Subsequent eta-only sweeps reuse both this gain and the belief precisions, replacing repeated small factorizations by matrix–vector products. This changes the per-message arithmetic from O(d3)O(d^3) to O(d2)O(d^2) for block dimension dd. Caches are refreshed when the linearized model changes. Numerical freezing uses the task-specific tolerances below, rather than assuming an exact fixed point after a prescribed number of sweeps.

Local basis construction. For PGO, a group GG assembles HG∈Rd∣G∣×d∣G∣H_G \in\mathbb{R}^{d|G|\times d|G|} from its internal factors and priors, and retains the rGr_G lowest eigenmodes as PGP_G. Here d=3d = 3 for SE(2) and d=6d = 6 for SE(3), with ranks 4 and 12, respectively (capped by the group dimension). SE(2) uses block inverse iteration with Rayleigh–Ritz extraction and an eigen-residual acceptance test, warm-started from the preceding basis when available. SE(3) first exploits exact band structure with a selected-eigenpair solver when the local block is sufficiently narrow-banded, and otherwise attempts the partial solve. Unaccepted partial solves fall back to a full symmetric eigendecomposition. These backends target the same low-mode space; local bases are rebuilt at each relinearization.

Parallel and distributed structure. Fine-level factor and belief passes, as well as per-group basis construction, admit parallel execution with local data access. Contiguous message slots, fixed-size block kernels, preallocated workspaces, and persistent worker regions reduce allocation and synchronization overhead; restriction accumulates group contributions and prolongation applies local basis blocks. The one-thread PGO path avoids launching parallel worker teams. Our implementation is shared-memory: reductions and the reduced solve still provide global coupling. In preliminary experiments, GBP on the induced second-level factor graph was slower than a direct solve. A likely reason is the much smaller coarse-system dimension, which makes a factorization reused across corrections cheaper than repeated coarse message sweeps. We therefore use sparse Cholesky for the PGO coarse system and dense LDLTLDL^{\mathsf{T}} for the small BA coarse system, while retaining loopy GBP on the fine message graph.

Linear Experiment Details

The convergence studies use fixed Gaussian systems, with a direct solution as the MAP reference. Figure 6 varies the smoothing budget on a synthetic translation graph; Figure 5(a,Figure 5b) examines coarse spaces and spectral contraction. The companion fill-in timing study in Figure 5(c) is described separately below.

Two-lap translation graph

The graph has 200 two-dimensional position variables, arranged on two circular laps of radius 10, with 100 positions per lap and random seed 11. Odometry initialization integrates consecutive relative displacements with Gaussian noise N(0,0.102I2)\mathcal{N}(0, 0.10^2 I_2). Within-group chain factors use those measurements; connectors, skips, and cross-lap closures use ground-truth displacements perturbed by N(0,0.012I2)\mathcal{N}(0, 0.01^2 I_2). Twenty groups contain ten consecutive variables each. A soft prior of weight 10−610^{-6} anchors the first position. Each group retains four modes (two scalar modes in each coordinate), reducing dimension 400 to 80. Table 3 specifies the edge counts and information weights; the displayed realization selects 135 within-group skips from 160 eligible candidates.

Edge typeConstructionCountWeight
Local chainadjacent poses within each group1801.0
Inter-group connectorlast pose of a group to first pose of next group201.0
Short-range skipselected within-group skips, distance 2–61350.8
Long-range loop closurecross-lap edges with phase jitter δ∈[−3,3]\delta\in[-3,3] nodes160.2

Table 3. Edge construction for Fig. 6.

We vary k∈{20,30,…,100}k \in\{20,30,\ldots,100\} and c∈{0,1,…,20}c \in\{0,1,\ldots,20\}. One GBP cycle contains kk synchronous sweeps; H-GBP adds a coarse correction to the same fine-sweep budget. Both start at the same odometry estimate. The surface plots

log⁡10(∥ec−e⋆∥A∥e0−e⋆∥A)\log_{10}\left(\frac{\lVert e_c-e_\star\rVert_A}{\lVert e_0-e_\star\rVert_A}\right)

Thus the comparison isolates the benefit of abstraction and recovery at equal numbers of fine sweeps, not equal wall time. The energy norm measures the quadratic-system error; because the anchor is weak, it should not be interpreted as an unweighted trajectory MSE.

Coarse-space ablation: Figure 5(a)

This panel freezes the first SE(3) linearization of Sphere, He=ηHe=\eta, and uses eMAP=H−1ηe_{\mathrm{MAP}}=H^{-1}\eta as the reference. Ordered groups contain 20 poses. Low-rank abstraction uses the lowest modes of the block assembled from priors and factors fully contained in a group. Message-λ\lambda abstraction additionally includes incoming boundary-message precision blocks. The algebraic multigrid comparator (labelled AMD in the figure) instead uses block strength of connection to select coarse pose nodes and interpolate neighboring fine nodes ([43]).

Starting from e=0e=0, all three methods apply a coarse correction, 50 synchronous GBP sweeps, and a second coarse correction. Each correction solves (PTHP)δz=PT(η−He)(P^{\mathsf T}HP)\delta z=P^{\mathsf T}(\eta-He) and injects PδzP\delta z. Table 4 reproduces the final relative Euclidean errors shown in the panel. The low-rank space yields a substantially smaller remaining error on this system.

Coarse abstractionRelative error
AMD0.928
Message-λ\lambda0.899
Low-rank0.335

Table 4. Sphere final relative error ∥e−eMAP∥2/∥eMAP∥2\lVert e-e_{\mathrm{MAP}}\rVert_2/\lVert e_{\mathrm{MAP}}\rVert_2, as displayed in Figure 5(a).

Spectral contraction: Figure 5(b)

The spectral experiment again uses 200 translation variables, group size 10, rank 4, and k=50k=50. Only the short- and long-range connectivity varies (Table 5). We plot successive-cycle energy-error ratios ∥ec−e⋆∥A/∥ec−1−e⋆∥A\lVert e_c-e_\star\rVert_A/\lVert e_{c-1}-e_\star\rVert_A, for c=1,…,20c=1,\ldots,20, against the estimated fixed-precision spectral radius ρ(Taug,50)=ρ(M50)\rho(T_{\mathrm{aug},50})=\rho(M_{50}). The ratios approach the predicted asymptotic rates as precision messages stabilize. Faster initial contraction is compatible with the theory: a spectral radius describes the asymptotic rate, not a universal one-step norm bound.

Casepskipp_{\mathrm{skip}}nloopn_{\mathrm{loop}}wskipw_{\mathrm{skip}}wloopw_{\mathrm{loop}}Short-rangeLong-loopρ(Taug,50)\rho(T_{\mathrm{aug},50})
Dense local / few loops1.081.20.0516080.393
Moderate local / moderate loops0.8160.80.20135160.428
Sparse local / more loops0.3240.41.0044240.657

Table 5. Graph variants used in the spectral-radius contraction test.

Fill-in sensitivity: Figure 5(c)

The fill-in diagnostic concerns the linear system A0δ=b0A_0\delta=b_0 obtained by the first linearization at the initial odometry estimate. The GLoBalk variant has matrix dimension 6144 and 98,544 lower-triangular nonzeros, but different elimination fill-in. The accompanying recorded runtimes cover ten nonlinear outer iterations, rather than only this first linear solve. H-GBP uses five cycles, fifty pre-sweeps, group size 20, rank 12, and one thread throughout. Each method’s runtime is normalized by its own smallest-fill case (Table 6). Across these variants, Cholesky time grows by 1.883×, versus 1.075× for H-GBP. This is an empirical sensitivity comparison at fixed problem size and sparsity, not an asymptotic complexity claim.

ModeFill-in ratioH-GBP time (s)Cholesky time (s)H-GBP growthCholesky growth
local_diag5.0661.4590.4751.0001.000
medium_chords6.1411.5040.6031.0311.269
separator_weave6.7811.5000.6821.0281.436
mixed_chords6.8641.5490.7201.0611.516
hemisphere_bridges8.1021.5680.8941.0751.883

Table 6. Runtime scaling under increasing sparse-matrix fill-in.

SE2/SE3 Pose-Graph Experiment Details

Baselines and protocol. The Cholesky reference uses the official g2o LinearSolverCholmod kernel [23] inside our matched analytic Lie-log front end, with block ordering and symbolic reuse. The archived CHOLMOD build is simplicial: its dominant numerical factorization is serial, so additional front-end threads do not accelerate that stage. g2o-PCG uses block-preconditioned conjugate gradients (relative tolerance 10−610^{-6}, iteration cap equal to the scalar system dimension). Both use twenty Gauss–Newton outer iterations.

AMM-PGO [17] combines distributed majorization–minimization with Nesterov acceleration and adaptive restart; we use the official implementation with a parallel-node adapter and sixteen partitions. Cycle-PGO [2] optimizes relative poses using a minimum cycle basis and cycle-consistency constraints. Schwarz-PGO uses sixteen subdomains, one-hop overlap, a GDSW coarse space, and PCG tolerance 10−810^{-8} Tee et al. [40]. Cycle-PGO and Schwarz-PGO allow up to twenty nonlinear iterations. AMM-PGO retains its recorded native budgets: 100 iterations for FR079 and Globe100k, 20 for Grid, and 300 otherwise.

All methods receive the same released graph files, including the offline PSD-conditioned Cubicle graph and the generated Globe graphs. H-GBP, Cholesky, PCG, and Schwarz use Huber threshold 5. AMM-PGO retains its native scalar-weighted chordal robust objective and initialization; Cycle-PGO retains its native non-robust objective. For comparison, final poses are rescored using the same full-information, half-quadratic Lie-log cost, so displayed costs are not the Huber objectives used internally. Cycle estimates are reconstructed into vertex poses before scoring. Timings are measured wall times with native boundaries retained; in particular, Schwarz totals include parsing. Sixteen threads denotes the available worker budget, not guaranteed parallelism in every stage.

Unified H-GBP settings. SE(2) uses 20 outer iterations, c=3c = 3, k=100k = 100, group size 20, and r=4r = 4; SE(3) uses 20, c=5c = 5, k=50k = 50, group size 20, and r=12r = 12. Analytical Jacobians produce each tangent system. Loopy GBP pre-smoothing and a reduced sparse direct solve alternate within every outer iteration, followed by retration. Precision freezing requires three consecutive checks below relative tolerance 10−810^{-8}. Checks initially occur every five sweeps (the SE(2) interval may back off to twenty-five); frozen precisions are rechecked every twenty-five sweeps and reactivated if necessary. These rules are shared across datasets within each space.

Objective trajectories. Figure 9 retains the archived objective-versus-outer comparison with the direct Gauss–Newton reference as a qualitative convergence illustration, separate from the current timing runs. H-GBP consistently reduces the objective across the nine graphs and avoids the pronounced early spikes seen in the direct reference on Cubicle and Grid.

Archived objective trajectories of H-GBP and the direct Gauss–Newton reference over nonlinear outer iterations

Figure 9. Archived objective trajectories of H-GBP and the direct Gauss–Newton reference over nonlinear outer iterations.

Bundle Adjustment Experiment Details

Baselines and common objective. Ceres Sparse uses sparse Cholesky on the reduced camera system (SPARSE_SCHUR, SuiteSparse/CHOLMOD); Ceres Iterative uses implicit Schur PCG with a Schur–Jacobi preconditioner [1]. RootBA-QR eliminates landmarks by Householder QR in square-root form and iteratively solves the reduced camera problem [11]. PowerBA approximates the inverse Schur complement by a truncated power series, here of order ten [41]. We use their released implementations through the common BAL/RootBA adapters, with double precision, identical input files, camera model, and normalization. All receive a budget of twenty nonlinear iterations and retain native stopping. Cost is the sum of squared two-dimensional reprojection residuals. Table timings exclude loading and common input normalization; Ceres reports Solve time, excluding wrapper problem construction, whereas H-GBP, RootBA, and PowerBA include their internal setup.

A single policy across scenes. Cameras are aggregated into connected groups of target size max⁡(2,⌈nc/24⌉)\max\left(2,\left\lceil n_c/24\right\rceil\right), and each group retains nine modes when abstracted. The damping coefficient for the fine graph is one. Precision messages are computed for each camera system until relative change is below 10−610^{-6}. We then reuse the cached eta maps across H-GBP applications. Grouping and sparsity follow the same graph rules for every scene.

Cost versus iteration time. Figure 10 compares the actual per-outer histories of H-GBP and PowerBA on all ten BA benchmarks. H-GBP reaches lower final cost on these runs while spending less time in the nonlinear iterations. To avoid mixing timing boundaries, the horizontal axis sums the recorded outer durations for both methods, excluding one-time setup, loading, and normalization; the main table separately reports solver totals. Each point is one outer attempt, and rejected PowerBA trials retain the previous accepted cost while their elapsed time is still counted. Each H-GBP curve is a

H-GBP versus PowerBA on BA across ten datasets

Figure 10. H-GBP versus PowerBA on BA, both with sixteen threads. Markers show outer attempts 1–20; vertical axes show reprojection cost (SSR) on logarithmic scales. Time is accumulated inside outer iterations, excluding one-time setup. Curves use recorded durations without rescaling. complete run with median total runtime among three repeats, not a curve assembled from per-iteration minima.

Discussion

Toward multiple levels. Algorithmically, extending the current two-level construction to a fully multilevel hierarchy is nontrivial. The upper-level system

Acδz=rcA_c \delta z = r_c

is a Galerkin algebraic system, and different coarse factor-graph realizations may induce the same matrix equation. Thus a multilevel GBP construction must decide not only the dimension of each coarse variable, but also how unary and binary factors should be assigned among abstracted coarse nodes. A natural attempt is to assign one coarse variable to each fine group, with dimension equal to the retained local eigenbasis size, project within-group factors into unary coarse factors, and project cross-group factors into between-group coarse factors. In our preliminary experiments, however, GBP on this induced coarse factor graph typically required many iterations to solve the coarse system and was slower than a direct sparse solve at that level. This does not diminish the two-level result; rather, it highlights a compelling open direction: designing purely message-passing upper levels that retain the scalability and locality needed for fully distributed spatial-intelligence systems.

Broader applications. Finally, the abstraction-and-recovery principle behind H-GBP is not specific to pose graphs or bundle adjustment’s cameras. Many sparse factor-graph problems have natural intermediate structures that could define useful coarse abstractions. In multi-robot SLAM and navigation, each robot’s local subgraph could form a group, with higher-level messages coordinating inter-robot constraints. In visual odometry, pixels, patches, or object-level regions could be grouped into progressively coarser variables to accelerate GBP-based inference. Exploring such applications may reveal when hierarchical message passing can provide both distributed computation and strong global correction in broader sparse graphical models.

References

  1. [1]Sameer Agarwal, Keir Mierle, and The Ceres Solver Team. Ceres solver, 10 2023. URL https://github.com/ceres-solver/ceres-solver.
  2. [2]Fang Bai, Teresa Vidal-Calleja, and Giorgio Grisetti. Sparse pose graph optimization in cycle space. IEEE Transactions on Robotics, 2021. doi: 10.1109/TRO.2021.3050328.DOI
  3. [3]Danny Bickson, Danny Dolev, Ori Shental, Paul H Siegel, and Jack K Wolf. Gaussian belief propagation based multivariable detection. In 2008 IEEE International Symposium on Information Theory, pp. 1878–1882. IEEE, 2008.
  4. [4]William L Briggs, Van Emden Henson, and Steve F McCormick. A multigrid tutorial. SIAM, 2000.
  5. [5]Luca Carlone, Rosario Aragues, José A Castellanos, and Basilio Bona. A fast and accurate approximation for planar pose graph optimization. The International Journal of Robotics Research, 33(7): 965–987, 2014.DOI
  6. [6]Luca Carlone, Roberto Tron, Kostas Daniilidis, and Frank Dellaert. Initialization techniques for 3d slam: A survey on rotation estimation and its use in pose graph optimization. In 2015 IEEE international conference on robotics and automation (ICRA), pp. 4597–4604. IEEE, 2015.DOI
  7. [7]Andrew J Davison. Futuremapping: The computational structure of spatial ai systems. arXiv preprint arXiv:1803.11288, 2018.
  8. [8]Andrew J Davison and Joseph Ortiz. Futuremapping 2: Gaussian belief propagation for spatial ai. arXiv preprint arXiv:1910.14139, 2019.
  9. [9]Frank Dellaert and Michael Kaess. Factor graphs for robot perception. Foundations and Trends® in Robotics, 6(1-2):1–139, 2017.
  10. [10]Ron S. Dembo, Stanley C. Eisenstat, and Trond Steihaug. Inexact Newton methods. SIAM Journal on Numerical Analysis, 19(2):400–408, 1982. doi: 10.1137/0719025.DOI
  11. [11]Nikolaus Demmel, Christiane Sommer, Daniel Cremers, and Vladyslav Usenko. Square root bundle adjustment for large-scale reconstruction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2021.
  12. [12]Jian Du, Shaodan Ma, Yik-Chung Wu, Soummya Kar, and José MF Moura. Convergence analysis of distributed inference with vector-valued gaussian belief propagation. Journal of Machine Learning Research, 18(172):1–38, 2018.
  13. [13]Yousef El-Kurdi, Dennis Giannacopoulos, and Warren J Gross. Relaxed gaussian belief propagation. In 2012 IEEE International Symposium on Information Theory Proceedings, pp. 2002–2006. IEEE, 2012.
  14. [14]Yousef El-Kurdi, Warren J Gross, and Dennis Giannacopoulos. Parallel multigrid acceleration for the finite-element gaussian belief propagation algorithm. IEEE transactions on magnetics, 50(2): 581–584, 2014.
  15. [15]Yousef El-Kurdi, Maryam Mehri Dehnavi, Warren J Gross, and Dennis Giannacopoulos. Parallel finite element technique using gaussian belief propagation. Computer Physics Communications, 193:38–48, 2015.
  16. [16]Gal Elidan, Ian McGraw, and Daphne Koller. Residual belief propagation: Informed scheduling for asynchronous message passing. In Proceedings of the Twenty-Second Conference on Uncertainty in Artificial Intelligence, pp. 165–173, 2006.
  17. [17]Taosha Fan and Todd D. Murphy. Majorization minimization methods for distributed pose graph optimization. IEEE Transactions on Robotics, 40:22–42, 2024.
  18. [18]Brendan J Frey and David MacKay. A revolution: Belief propagation in graphs with cycles. Advances in neural information processing systems, 10, 1997.
  19. [19]S. Gratton, A. S. Lawless, and N. K. Nichols. Approximate Gauss–Newton methods for nonlinear least squares problems. SIAM Journal on Optimization, 18(1):106–132, 2007. doi: 10.1137/050624935.DOI
  20. [20]Nicholas J Higham. Accuracy and stability of numerical algorithms. SIAM, 2002.
  21. [21]David Hug, Ignacio Alzugaray, and Margarita Chli. Hyperion–a fast, versatile symbolic gaussian belief propagation framework for continuous-time slam. In European Conference on Computer Vision, pp. 215–231. Springer, 2024.
  22. [22]Jianhao Jiao, Changkun Liu, Jingwen Yu, Boyi Liu, Qianyi Zhang, Yue Wang, and Dimitrios Kanoulas. Opennavmap: Structure-free topometric mapping via large-scale collaborative localization. arXiv preprint arXiv:2601.12291, 2026.
  23. [23]Rainer Kümmerle, Giorgio Grisetti, Hauke Strasdat, Kurt Konolige, and Wolfram Burgard. g 2 o: A general framework for graph optimization. In 2011 IEEE international conference on robotics and automation, pp. 3607–3613. IEEE, 2011.
  24. [24]Ying Liu, Venkat Chandrasekaran, Animashree Anandkumar, and Alan S Willksy. Feedback message passing for inference in gaussian graphical models. IEEE Transactions on Signal Processing, 60 (8):4135–4150, 2012.
  25. [25]Dmitry Malioutov, Alan Willsky, and Jason Johnson. Walk-sum interpretation and analysis of gaussian belief propagation. Advances in neural information processing systems, 18, 2005.
  26. [26]Dmitry M Malioutov, Jason K Johnson, and Alan S Willsky. Walk-sums and belief propagation in gaussian graphical models. The Journal of Machine Learning Research, 7:2031–2064, 2006.DOI
  27. [27]Ciamac C Moallemi and Benjamin Van Roy. Convergence of min-sum message passing for quadratic optimization. IEEE Transactions on Information Theory, 55(5):2413–2423, 2009.arxiv.org/abs/cs/0603058
  28. [28]Riku Murai, Ignacio Alzugaray, Paul HJ Kelly, and Andrew J Davison. Distributed simultaneous localisation and auto-calibration using gaussian belief propagation. IEEE Robotics and Automation Letters, 9(3):2136–2143, 2024.DOI
  29. [29]Frédéric Nataf, Hua Xiang, Victorita Dolean, and Nicole Spillane. A coarse space construction based on local dirichlet-to-neumann maps. SIAM Journal on Scientific Computing, 33(4):1623–1642, 2011.DOI
  30. [30]Edwin Olson, John Leonard, and Seth Teller. Fast iterative alignment of pose graphs with poor initial estimates. In Proceedings 2006 IEEE International Conference on Robotics and Automation, 2006. ICRA 2006., pp. 2262–2269. IEEE, 2006.DOI
  31. [31]J. M. Ortega and W. C. Rheinboldt. Iterative Solution of Nonlinear Equations in Several Variables. Academic Press, 1970.
  32. [32]Joseph Ortiz, Mark Pupilli, Stefan Leutenegger, and Andrew J Davison. Bundle adjustment on a graph processor. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 2413–2422. IEEE, 2020.arxiv.org/abs/2003.03134
  33. [33]Joseph Ortiz, Talfan Evans, and Andrew J Davison. A visual introduction to gaussian belief propagation. arXiv preprint arXiv:2107.02308, 2021.arxiv.org/abs/2107.02308
  34. [34]Fivos Papadimitriou. Spatial Artificial Intelligence. Springer, 2025.DOI
  35. [35]Judea Pearl. Reverend bayes on inference engines: A distributed hierarchical approach. In Probabilistic and causal inference: the works of Judea Pearl, pp. 129–138. 2022.DOI
  36. [36]Ori Shental, Paul H Siegel, Jack K Wolf, Danny Bickson, and Danny Dolev. Gaussian belief propagation solver for systems of linear equations. In 2008 IEEE international symposium on information theory, pp. 1863–1867. IEEE, 2008.
  37. [37]Joan Solà, Jérémie Deray, and Dinesh Atchuthan. A micro lie theory for state estimation in robotics. arXiv preprint arXiv:1812.01537, 2018.arxiv.org/abs/1812.01537
  38. [38]Nicole Spillane, Victorita Dolean, Patrice Hauret, Frédéric Nataf, Clemens Pechstein, and Robert Scheichl. Abstract robust coarse spaces for systems of pdes via generalized eigenproblems in the overlaps. Numerische Mathematik, 126(4):741–770, 2014.DOI
  39. [39]Yuichi Tazaki. A spanning tree-based multi-resolution approach for pose-graph optimization. IEEE Robotics and Automation Letters, 7(4):10033–10040, 2022.DOI
  40. [40]Yue Xiang Tee, Stephan Köhler, Oliver Rheinbach, and Sebastian Zug. Overlapping schwarz pre-conditioners for pose graph SLAM in robotics. Chemnitz FE Symposium, 2026. URL https://www.chemnitz-am.de/cfem2026/talks/tee_xiang_yue.pdf. Conference presentation abstract.DOI
  41. [41]Simon Weber, Nikolaus Demmel, Tin Chon Chan, and Daniel Cremers. Power bundle adjustment for large-scale 3D reconstruction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 281–289, 2023.arxiv.org/abs/2204.12834
  42. [42]Yair Weiss and William Freeman. Correctness of belief propagation in gaussian graphical models of arbitrary topology. Advances in neural information processing systems, 12, 1999.
  43. [43]Jinchao Xu and Ludmil Zikatanov. Algebraic multigrid methods. Acta Numerica, 26:591–721, 2017.arxiv.org/abs/1611.01917
  44. [44]Tom Yates, Yuzhou Cheng, Ignacio Alzugaray, Danyal Akarca, Pedro AM Mediano, and Andrew J Davison. Belief propagation converges to gaussian distributions in sparsely-connected factor graphs. arXiv preprint arXiv:2601.21935, 2026.arxiv.org/abs/2601.21935

AI tools statement

No AI-use declaration is available for this version in Valency.

The available record does not establish whether AI systems or models contributed to this work.

How AI tools are recorded

Paper details

Cite this paper

Publication

Published
Version
Latest

Data & code

No code, data or supplementary files were declared for this version.

Pick where to look, or just type