WorksComputer Science
Hierarchy-GBP: Accelerating Factor Graph Inference via Abstraction and Recovery
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]).

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).

Figure 2. Pose graph’s initial odometry trajectories versus trajectories after 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 is a bipartite graph with variable nodes , factor nodes and edges that represent the factorisation of a joint probability distribution.
where is the graph’s state vector and is the subset of variables connected to factor .
Variables are associated with the marginal posterior distribution (so-called belief) of their state , and each factor defines a joint Gaussian potential over the states of its neighbouring variables. Note that a factor ’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 and information vector :
Collecting these parameters from all factors then yields the global linear system , where is the global precision matrix , is the global information vector , and is the global mean vector. The factor graph’s unique Maximum A Posteriori (MAP) estimate is then given by .
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 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.

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.
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 and : . From here, we can calculate updated parameters for our factor-to-variable message, & :
Belief update: Given an incoming message on each edge to variable , where , the belief in the variable is obtained by summing all incoming messages.
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 . The prolongation matrix is constructed once and kept fixed. Each cycle runs synchronous GBP sweeps, solves the coarse residual problem , and injects 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:
Abstraction & Recovery of a coarse graph approximation
The first GBP iteration after Recovery
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 . We define the mean vector residual . Concatenating all factor-to-variable information vectors yields a big information vector . Let be a fixed point of the H-GBP system. We define the information residual . Note that 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 "supernodes". For each supernode group , we combine the precision matrices from factors wholly contained in the group into a single matrix , where
To reduce supernode dimensionality, for each group we perform eigenvalue decomposition on . We then approximate with its smallest eigenvalues and corresponding eigenvectors .
If we concatenate all groups’ matrices blockwise into a graph-wide matrix , we get a transformation from the original graph’s space to an approximated, coarse space. This global prolongation matrix is assembled blockwise as
where represents for group and is the zero matrix.
The coarse correction solves . To inject this correction into the variable beliefs, we first add increment to . So, . And then, we update each variable’s information vector by this new mean
Property 4.1. The mean error after abstraction and recovery is
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 and information vector . The first GBP iteration with inconsistent
beliefs & messages takes the form , where for factor sending to variable with other neighboring variable (as in Fig 4b), these operators are given by:
and 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 denote the stacked column vector of all factor-to-variable information vector messages in graph , letting us write Eq. (3) in matrix form. When precisions have converged, we substitute § 3.2’s equations (() into () into ()) and show that the information vector’s message update under one synchronous GBP iteration is of the affine form , where the block entries of are given by:
To demonstrate this property, a toy example is given in Appendix § 8.§ 1. Here, is the other neighboring node of than (see Figure 4b). indexes for the block corresponding to messages from factor to variable , and factor to variable , and the rest of the block entries of are .
The converged value of GBP is unique and satisfies . Recall that we define the error between our current eta-message and the fixed-point eta-message as . Changing variables from to removes the term, and we arrive at our matrix operator, , for one iteration of GBP:
The message error after synchronous GBP iterations is then given by , where 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 that updates all errors in the variable means using the variables’ information vector error values .
Combining all operators yields a single matrix-operator description of one full H-GBP cycle.
Property 4.4. From operators , , the remaining iterations of operator and , we get
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 , each residual admits the first-order approximation . This yields the linear Gaussian system in the tangent space that we solve using H-GBP, before retracting . Optimization on manifolds involves repeating the above process continuously until 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 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.

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 , matching the predicted asymptotic contraction factor.

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 , whereas H-GBP runtime grows only , 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).
| Dataset | Space | g2o 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 |
| FR079 | SE(2) | 0.02/18.79 | 0.29/18.79 | 1.09/18.79 | 0.04/18.79 | 0.17/129.13 | 0.14/18.79 | 0.11/18.79 |
| FRH | SE(2) | 0.04/9.66e-5 | 0.35/9.66e-5 | 0.41/9.66e-5 | 0.09/9.66e-5 | 0.38/1.02e-4 | 0.13/9.66e-5 | 0.12/9.66e-5 |
| M3500 | SE(2) | 0.13/68.96 | 0.90/68.96 | 1.87/68.96 | 0.23/68.96 | 0.91/70.45 | 1.47/68.96 | 0.27/68.96 |
| ParkingGarage | SE(3) | 0.38/0.63 | 7.56/0.63 | 19.72/0.63 | 0.85/0.63 | 1.37/0.65 | 49.78/0.63 | 1.77/0.63 |
| Sphere | SE(3) | 2.02/675.70 | 4.76/675.70 | 1.35/675.70 | 1.08/675.70 | 1.08/695.09 | 2.72/675.70 | 1.18/675.70 |
| Cubicle | SE(3) | 4.22/1,378.53 | 22.63/1,378.53 | 93.53/1,378.53 | 4.17/1,609.14 | 7.67/233,482.27 | 6.21/1,378.53 | 4.86/1,378.53 |
| Grid | SE(3) | 493.90/42,179.98 | 16.16/42,179.98 | 458.42/42,179.98 | 621.95/42,179.98 | 794.42/192,192.23 | 44.55/42,179.98 | 3.90/42,179.98 |
| Globe10k | SE(3) | 93.45/3,039.93 | 20.44/3,039.93 | 7.04/3,039.93 | 42.04/3,039.93 | 12.78/3,040.00 | 13.33/3,039.93 | 5.34/3,039.93 |
| Globe100k | SE(3) | 1,288.89/20,090.74 | 177.88/20,090.74 | 662.81/20,090.74 | OOM | 132.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.
| Dataset | Ceres Sparse (Google Inc 2012) | H-GBP BA | Ceres Sparse (Google Inc 2012) | Ceres Iterative (Google Inc 2012) | RootBA QR (CVPR 2021) | PowerBA (CVPR 2023) | H-GBP BA |
| Ladybug49 | 0.98/26,690 | 0.18/26,705 | 0.33/26,690 | 0.54/26,691 | 0.63/26,691 | 0.23/27,299 | 0.07/26,705 |
| Venice89 | 19.22/567,243 | 2.68/576,781 | 5.91/567,243 | 5.03/567,055 | 6.22/572,780 | 1.91/580,416 | 0.59/576,781 |
| Final93 | 7.39/291,090 | 1.59/291,092 | 1.69/291,090 | 4.29/291,090 | 6.84/291,090 | 1.79/291,159 | 0.38/291,092 |
| Trafalgar257 | 7.21/193,577 | 1.31/197,378 | 2.38/193,577 | 14.41/193,671 | 22.72/193,398 | 1.11/205,427 | 0.45/197,378 |
| Dubrovnik356 | 50.15/987,859 | 6.83/1,021,102 | 13.96/987,859 | 49.54/987,859 | 119.17/987,866 | 4.14/1,059,446 | 1.63/1,021,102 |
| Final394 | 38.57/596,506 | 2.87/598,296 | 8.62/596,506 | 8.01/596,536 | 29.59/596,578 | 2.50/611,101 | 0.83/598,296 |
| Ladybug1723 | 60.56/778,095 | 4.79/759,600 | 19.05/778,095 | 5.51/770,444 | 9.18/763,070 | 2.72/797,704 | 1.22/759,599 |
| Venice1778 | 330.93/3,277,387 | 25.63/3,363,149 | 87.54/3,277,387 | 35.27/6,932,878 | 85.45/3,369,978 | 20.32/3,391,089 | 5.89/3,363,149 |
| Final3068 | 586.17/3,348,655 | 12.40/3,240,217 | 142.78/3,348,655 | 13.17/3,452,711 | 102.23/3,254,156 | 6.15/3,520,615 | 3.03/3,240,217 |
| Final4585 | > 2000/– | 48.55/10,331,432 | 526.06/10,783,988 | 72.54/13,021,324 | 1,278.84/10,158,450 | 33.72/10,441,192 | 11.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 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 , 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: for all .
Assumption 6.2. 1. Each variable has a prior with positive definite precision. 2. Each binary factor precision admits , , where and 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 and , depending on the initialization, such that
for any fixed matrix norm after changing constants.
Let be the stacked directed -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 . Define the cycle-boundary subspace . Define the embedding and projection , . Then the exact reduced cycle operator on message space is
Proposition 6.4 (Exact cycle-boundary reduction). The subspace is -invariant. Moreover,
Thus is the cycle-boundary reduction of the operator . Appendix B.4 shows that the reduced dynamics satisfy , where . 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:
for every admissible initialization, ;
for every compatible cycle-boundary state , ;
;
.
Whenever these conditions hold, for every fixed precision initialization and every , there exists such that , . The corresponding fine means converge to .
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 . If each inner solve is run to a sufficiently small fixed relative-residual tolerance, then the nonlinear H-GBP iterates converge locally -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 is assembled from the local Schur-complement coefficients. Let . The graph has three binary factors , and one unary factor attached to .
Figure 7. Scalar three-variable, four-factor example used to illustrate the construction of the limiting eta-message transfer matrix . 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 is irrelevant for the eta recursion. The unary precision is set as
and each binary factor has precision
Thus , , and . The corresponding global information matrix is
Order the directed binary messages as
The unary factor sends a fixed message to and is not included in the stacked binary eta-message vector. Starting from zero binary factor-to-variable precision messages, i.e., for all , the synchronous precision update converges to a fixed point. The following table lists the iterates.
| 0 | 0.000 | 0.000 | 0.000 | 0.000 | 0.000 | 0.000 |
| 1 | 0.857 | 0.000 | 0.000 | 0.857 | 0.000 | 0.000 |
| 2 | 0.857 | 0.000 | 0.000 | 0.857 | 0.750 | 0.750 |
| 3 | 0.857 | 0.667 | 0.667 | 0.857 | 0.750 | 0.750 |
| 4 | 1.304 | 0.667 | 0.667 | 1.304 | 0.750 | 0.750 |
| 5 | 1.304 | 0.667 | 0.667 | 1.304 | 1.071 | 1.071 |
| 6 | 1.304 | 0.909 | 0.909 | 1.304 | 1.071 | 1.071 |
| 7 | 1.448 | 0.909 | 0.909 | 1.448 | 1.071 | 1.071 |
| 8 | 1.448 | 0.909 | 0.909 | 1.448 | 1.167 | 1.167 |
| 9 | 1.448 | 0.977 | 0.977 | 1.448 | 1.167 | 1.167 |
| 10 | 1.487 | 0.977 | 0.977 | 1.487 | 1.167 | 1.167 |
| 19 | 1.500 | 0.999 | 0.999 | 1.500 | 1.199 | 1.199 |
| 20 | 1.500 | 1.000 | 1.000 | 1.500 | 1.200 | 1.200 |
| 21 | 1.500 | 1.000 | 1.000 | 1.500 | 1.200 | 1.200 |
caption:
:::
The exact fixed point for precision is therefore
Hence the limiting variable belief precisions are
For a directed message , let be the other endpoint of , and let . Then
For example,
The six Schur coefficients are
Table 15.
Using the ordering , the limiting eta-transfer matrix is
For instance, the first row encodes : when sending , the factor looks through node 1, and the only binary incoming message at node 1 excluding is . The unary factor affects the denominator and the affine offset, but not the linear message-to-message entry of .
Finally, consists of two directed three-cycles, each with product
Therefore
Standard GBP failure case
In Figure 8, we construct an example with four variables (each two-dimensional) and multiple factors. Numerically, the dynamical index of the standard GBP is greater than 1. Hierarchy-GBP uses the low-rank operator, group and as two groups. By choosing coarse rank per group and performing GBP iterations per cycle, the Hierarchy-GBP index is less than 1.
Figure 8. A four-node pose graph example, for which standard GBP does not converge, while H-GBP with 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: in ; fresh groups: and ; fresh coarse rank: per group; hierarchy: GBP sweeps per cycle; approx 1.0019966; approx 0.9205045. Edge precisions: ; ; ; ; ; .
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 , the full hierarchy converges from every admissible initialization if and only if the reduced cycle operator satisfies (equivalently ). 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 and denote the unary and binary factors incident on variable . For a binary factor , write
For a directed binary message , with the other endpoint , define the cavity precision
Assumption B.1. The initial factor-to-variable precision messages satisfy for every directed factor-to-variable edge.
Assumption B.2. The following regularity conditions hold.
(i) Each variable has positive self-precision: for all .
(ii) Each binary factor admits the measurement-form factorization
where and 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
For the precision recursion, this is equivalent to adding an arbitrarily weak unary regularizer with precision to each variable. After including this regularizer in , we have . Thus the condition should be understood as a standard technical regularity condition ensuring well-defined Schur complements, rather than as a restrictive modeling requirement.
Let and denote the blockwise positive semidefinite and positive definite cones. The precision update map is such that
Using the measurement factorization and the Woodbury identity, we get this fact from Du et al. [12]
This form makes positivity, monotonicity, and differentiability of transparent.
Theorem B.3 (standard GBP precision convergence ([12])). Under Assumptions B.1–B.2, the recursion has a unique positive-definite fixed point . For every positive-semidefinite initialization, . Moreover, for every fixed neighborhood of , 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, , as standard synchronous GBP.
Proof. The message-preserving injection rewrites so that the belief mean is shifted by the coarse correction, while leaving , , and 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 is Fréchet differentiable on a neighborhood of inside . For a directed message , let , and define
Then for every symmetric blockwise increment ,
In particular, implies .
Proof. Equation (15) gives .
The map is linear in the relevant components of . Hence, . Since , by continuity in a sufficiently small neighborhood of . Thus the inverse is differentiable there.
The Fréchet derivative formula for inversion [20] is , so
Next, . Since , , and are fixed with respect to , differentiating gives .
Applying the same inversion derivative formula to , we have
Finally, since is fixed with respect to , . Hence, substituting all the equations above sequentially we get
This is the claimed derivative formula. If , 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 on the blockwise precision space, a radius , and a constant such that
Proof. For a blockwise symmetric perturbation , define
This norm is monotone on the positive semi-definite cone: if , 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
We show first that is strictly contractive in this norm. Fix , let , and write
Substituting into Lemma B.5 gives
Because , , and hence .
Also , so .
Combining these inequalities gives
Since there are finitely many directed messages, there exists such that
For arbitrary , let . By (16), . Since is positive and linear, it is order-preserving. Therefore . Linearity gives
By (17), . Hence
Substituting yields . By the definition of , this implies
Thus .
Since is near , choose and then so that the closed -ball of radius around lies inside and throughout that ball. For any in the ball, the segment between and remains in the ball, and the finite-dimensional mean-value formula gives
Taking the -norm proves the claimed local contraction.
Theorem B.7 (Global geometric precision convergence). For every admissible precision initialization, there exist constants and such that
Proof. The imported exponential-entrance result B.3 implies a finite entrance into the -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 . For any precision state , define the canonical eta reference by
Here is the stacked vector of MAP blocks adjacent to factor , is the precision matrix of factor , and denotes the block corresponding to variable . For unary messages, . For a binary factor with endpoints and ,
Let
Lemma B.8 (Canonical reference has MAP readout and propagates with precision). For every precision state ,
Moreover, if one synchronous precision sweep maps to , then the corresponding synchronous eta Schur update maps to . In particular, is a fixed point of the frozen eta-message equations at , and its belief mean is .
Proof. We first prove the readout identity. By the assembly of the global linear system,
By definition 19,
Hence . Therefore .
We now prove the propagation identity. Consider a binary message , and let be the other endpoint of . Define
The corresponding precision update is
The eta Schur update uses the cavity information at ,
We claim that
Indeed, by the readout identity just proved,
Therefore
Substituting this into the eta Schur update gives
Using 20, we obtain
This is exactly the canonical message
Unary eta messages are unchanged, and their canonical references are also unchanged. Hence the full synchronous eta update maps
Finally, setting and using , we get . Thus is a fixed point of the frozen eta-message equations.
The readout identity at gives for every variable , so the belief mean is .
From now on, eta-message errors are always defined relative to the current canonical reference:
At the limiting precision, this reduces to the usual frozen error .
Frozen linear H-GBP cycle
Let be the grouped prolongation matrix, and define
The coarse residual correction , therefore maps the mean error by
This is the Galerkin -orthogonal projection onto [4].
Now, let’s fix the precision at – analyze the system when all variances converge.
Recall in the main text, we have the following matrix operators: for repair sweep, for additional GBP sweeps, and for the readout.
Together with the Galerkin correction gives the limiting augmented cycle
At a post-injection cycle boundary, messages are preserved and the mean has just been Galerkin-corrected. Hence boundary states satisfy
Define
Proposition B.9 (Exact cycle-boundary reduction). The subspace is invariant under , and the reduced cycle operator is
Moreover,
Proof. Substituting into (23) gives
Lemma B.10 (Spectral equivalence).
Proof. The map is an isomorphism from to , so is similar to . Also, maps the whole augmented space into ; hence every nonzero eigenvector of lies in . The two operators therefore have the same nonzero eigenvalues.
From the initial precision to the limiting cycle
For cycle , let , . The operators are evaluated at , while is evaluated at . Because the canonical reference 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
The limiting operator is
where are evaluated at .
Proposition B.12 (Exact cycle-boundary dynamics). Let be the directed eta-message error at the post-injection boundary of cycle , defined relative to . Then
Proof. Before injection, the readout error is ; the Galerkin step maps it to , proving the boundary relation. The first sweep gives , and the remaining message-consistent sweeps multiply successively by . This is exactly (25). □
Lemma B.13 (Local Lipschitz dependence of frozen operators). There is a compact neighborhood of and a constant such that, for all ,
The same operator families are uniformly bounded on .
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 , all denominators are uniformly nonsingular.
The maps are therefore , Lipschitz, and uniformly bounded on . □
Lemma B.14 (Exponential convergence of the exact cocycle). For every admissible precision initialization and fixed , there exist constants and such that
Consequently, with ,
Proof. By Corollary B.7, . After a finite prefix, all within-cycle precision states lie in . Lemma B.13 then gives
A telescoping expansion of the product against , together with uniform boundedness of all factors, yields the displayed bound. The finite prefix is absorbed into , and the geometric bound is summable. □
Proposition B.15 (Stability under a vanishing perturbation). Let in finite dimension and . If , then for every . Moreover, for every , there is such that
In particular, the conclusion holds if .
Proof. Choose an induced norm with , possible by the standard adapted-norm construction for finite-dimensional matrices. Since , the tail satisfies . 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 and finite , 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 . 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 satisfies for every .
(c) .
(d) .*
When these conditions hold, for every there exists such that
after enlarging to absorb the finite prefix.
Proof. By Proposition B.12, the cycle-boundary dynamics are
The readout operators are uniformly bounded along the compact precision trajectory, so is equivalent to 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 , Lemma B.14 gives with , in fact summably. Applying Proposition B.15 gives geometric convergence of , and uniform boundedness of gives the same rate for .
Conversely, suppose the full hierarchy converges for every admissible initialization. Choose . Then the precision is frozen, , and the message recursion is . Convergence for every in a finite-dimensional linear system is equivalent to . Finally, Lemma B.10 gives .
Theorem B.18 (Exact MAP target). If the equivalent conditions of Theorem B.17 hold, then for every admissible initialization,
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 and . Since , this proves .
Since the canonical reference is continuous in and , we also have .
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 , it approximately solves
and retracts . Here , 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
If , 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 be a stationary point. Assume that the whitened residual is twice continuously differentiable, the gauge-fixed matrix is positive definite, and the retraction is smooth. Define
Let be the exact Gauss–Newton step. If
with as in (27), then, for sufficiently close to ,
Hence gives local -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 , while a relative step perturbation contributes at most asymptotically.
Lemma B.20 (Residual–error identity). For and ,
Proof. Since , we have . The identity follows directly from the definitions of the - and -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
where is the H-GBP cycle operator for the current linearization. Run H-GBP until the stopping rule (27) holds. Then converges locally to $X_\star.
Proof. Theorems B.17 and B.18 imply that makes H-GBP converge geometrically to , 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 , our linear theorem gives a finite such that after H-GBP cycles,
Hence the stopping rule is reached after finitely many cycles. For example, it is sufficient to take
The resulting nonlinear outer rate satisfies
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 into Lemma B.19 gives the outer-rate bound.
Algorithm
Algorithm 1 Hierarchical Gaussian BP
Require: Fixed linear Gaussian factor graph with factor parameters ; groups ; ranks ; sweeps ; cycles .
Assemble and ; initialize all factor-to-variable messages to zero.
for each group do
Build from factors satisfying using (5).
Store the lowest eigenvectors of as the local basis .
end for
Assemble and factorize .
for do
for do
Compute variable-to-factor messages by (2).
Compute factor-to-variable messages by the Schur update (3).
Update all variable beliefs by (4) (and means optionally).
end for
Stack and compute .
Solve and prolong .
Inject and for all variables. Keep all unchanged.
end for
return .
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
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 to for block dimension . 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 assembles from its internal factors and priors, and retains the lowest eigenmodes as . Here for SE(2) and 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 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 . Within-group chain factors use those measurements; connectors, skips, and cross-lap closures use ground-truth displacements perturbed by . Twenty groups contain ten consecutive variables each. A soft prior of weight 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 type | Construction | Count | Weight |
| Local chain | adjacent poses within each group | 180 | 1.0 |
| Inter-group connector | last pose of a group to first pose of next group | 20 | 1.0 |
| Short-range skip | selected within-group skips, distance 2–6 | 135 | 0.8 |
| Long-range loop closure | cross-lap edges with phase jitter nodes | 16 | 0.2 |
Table 3. Edge construction for Fig. 6.
We vary and . One GBP cycle contains synchronous sweeps; H-GBP adds a coarse correction to the same fine-sweep budget. Both start at the same odometry estimate. The surface plots
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, , and uses 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- 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 , all three methods apply a coarse correction, 50 synchronous GBP sweeps, and a second coarse correction. Each correction solves and injects . 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 abstraction | Relative error |
| AMD | 0.928 |
| Message- | 0.899 |
| Low-rank | 0.335 |
Table 4. Sphere final relative error , 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 . Only the short- and long-range connectivity varies (Table 5). We plot successive-cycle energy-error ratios , for , against the estimated fixed-precision spectral radius . 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.
| Case | Short-range | Long-loop | |||||
| Dense local / few loops | 1.0 | 8 | 1.2 | 0.05 | 160 | 8 | 0.393 |
| Moderate local / moderate loops | 0.8 | 16 | 0.8 | 0.20 | 135 | 16 | 0.428 |
| Sparse local / more loops | 0.3 | 24 | 0.4 | 1.00 | 44 | 24 | 0.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 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.
| Mode | Fill-in ratio | H-GBP time (s) | Cholesky time (s) | H-GBP growth | Cholesky growth |
| local_diag | 5.066 | 1.459 | 0.475 | 1.000 | 1.000 |
| medium_chords | 6.141 | 1.504 | 0.603 | 1.031 | 1.269 |
| separator_weave | 6.781 | 1.500 | 0.682 | 1.028 | 1.436 |
| mixed_chords | 6.864 | 1.549 | 0.720 | 1.061 | 1.516 |
| hemisphere_bridges | 8.102 | 1.568 | 0.894 | 1.075 | 1.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 , 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 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, , , group size 20, and ; SE(3) uses 20, , , group size 20, and . 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 . 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.

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 , 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 . 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

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
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]Sameer Agarwal, Keir Mierle, and The Ceres Solver Team. Ceres solver, 10 2023. URL https://github.com/ceres-solver/ceres-solver.
- [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]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]William L Briggs, Van Emden Henson, and Steve F McCormick. A multigrid tutorial. SIAM, 2000.
- [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]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]Andrew J Davison. Futuremapping: The computational structure of spatial ai systems. arXiv preprint arXiv:1803.11288, 2018.
- [8]Andrew J Davison and Joseph Ortiz. Futuremapping 2: Gaussian belief propagation for spatial ai. arXiv preprint arXiv:1910.14139, 2019.
- [9]Frank Dellaert and Michael Kaess. Factor graphs for robot perception. Foundations and Trends® in Robotics, 6(1-2):1–139, 2017.
- [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]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]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]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]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]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]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]Taosha Fan and Todd D. Murphy. Majorization minimization methods for distributed pose graph optimization. IEEE Transactions on Robotics, 40:22–42, 2024.
- [18]Brendan J Frey and David MacKay. A revolution: Belief propagation in graphs with cycles. Advances in neural information processing systems, 10, 1997.
- [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]Nicholas J Higham. Accuracy and stability of numerical algorithms. SIAM, 2002.
- [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.
- [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]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]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]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]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]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]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]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]J. M. Ortega and W. C. Rheinboldt. Iterative Solution of Nonlinear Equations in Several Variables. Academic Press, 1970.
- [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]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]Fivos Papadimitriou. Spatial Artificial Intelligence. Springer, 2025.DOI
- [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]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]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]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]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]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]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]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]Jinchao Xu and Ludmil Zikatanov. Algebraic multigrid methods. Acta Numerica, 26:591–721, 2017.arxiv.org/abs/1611.01917
- [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.

