<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="http://gtsam.org/feed.xml" rel="self" type="application/atom+xml" /><link href="http://gtsam.org/" rel="alternate" type="text/html" /><updated>2026-10-16T16:57:47+00:00</updated><id>http://gtsam.org/feed.xml</id><title type="html">GTSAM</title><subtitle>GTSAM is a BSD-licensed C++ library that implements sensor fusion for robotics and computer vision using factor graphs.</subtitle><entry><title type="html">GTSAM 4.3 is available</title><link href="http://gtsam.org/2026/09/23/gtsam-4-3-release.html" rel="alternate" type="text/html" title="GTSAM 4.3 is available" /><published>2026-09-23T00:00:00+00:00</published><updated>2026-09-23T00:00:00+00:00</updated><id>http://gtsam.org/2026/09/23/gtsam-4-3-release</id><content type="html" xml:base="http://gtsam.org/2026/09/23/gtsam-4-3-release.html"><![CDATA[<p>GTSAM 4.3.0 is finally available! 😃 🎉 The release extends inference and optimization with factor graphs across navigation, continuous-time estimation, constrained and certifiable optimization, and discrete–continuous inference. The <a href="/">GTSAM 4.3 landing page</a> provides an illustrated overview, with links to papers, notebooks, user guides, and source code. The <a href="https://github.com/borglab/gtsam/releases/tag/4.3.0">GitHub release page</a> contains the full release notes, contributor credits, and source downloads.</p>

<figure>
  <a href="/">
    <img src="/assets/images/release-43/landing-page-snapshot.jpg" width="1280" height="720" alt="Snapshot of the GTSAM 4.3 landing page, showing the release overview and links to installation, documentation, notebooks, and source code." />
  </a>
  <figcaption>The GTSAM 4.3 landing page. Select the image to explore the release highlights and their associated research and software resources.</figcaption>
</figure>

<p>The additions include inertial and legged navigation, Gaussian-process trajectory models, QP and QCQP support, certifiable estimation built on the QCQP framework, and GNSS factors and ambiguity resolution. FAST-Sync initialization, multifrontal linear solvers, experimental CUDA optimization, and extensions to hybrid inference broaden the available computational methods. The documentation includes 328 notebooks spanning worked examples and API guides.</p>

<p>These developments reflect contributions from researchers and engineers across the community. Continuous-time Gaussian processes were developed in collaboration with the University of Toronto; certifiable-estimation research includes David Rosen and his team at Northeastern University and Frederike Dümbgen at Carnegie Mellon University. Ruogu Li implemented the CUDA backend, Varun Agrawal led the hybrid-inference work, and the GNSS additions were a joint effort by several community collaborators. The landing page and release notes acknowledge these contributions alongside the maintenance, testing, packaging, documentation, and review work that supports the release.</p>

<p>To use the release, follow the <a href="/get_started/">installation guide</a> for Python packages or a C++ source build. CUDA remains experimental and opt-in: using it from Python requires compiling both GTSAM and its Python wrapper on a CUDA-equipped machine, as described in the <a href="/build/#cuda-with-python">CUDA build instructions</a>.</p>]]></content><author><name></name></author><summary type="html"><![CDATA[GTSAM 4.3 release highlights, community contributions, and links to the release notes and installation guide.]]></summary></entry><entry><title type="html">GTSAM Goes GPU: A CUDA Backend for Nonlinear Optimization</title><link href="http://gtsam.org/2026/08/20/cuda-backend.html" rel="alternate" type="text/html" title="GTSAM Goes GPU: A CUDA Backend for Nonlinear Optimization" /><published>2026-08-20T00:00:00+00:00</published><updated>2026-08-20T00:00:00+00:00</updated><id>http://gtsam.org/2026/08/20/cuda-backend</id><content type="html" xml:base="http://gtsam.org/2026/08/20/cuda-backend.html"><![CDATA[<p>Blog post by: <a href="https://github.com/leolrg">Ruogu Li</a> and <a href="https://dellaert.github.io/">Frank Dellaert</a></p>

<figure class="center" style="width: 100%; max-width: 1100px; text-align: center;">
  <img src="/assets/images/cuda-backend/cuda-optimizers.png" alt="Architecture of GTSAM's two CUDA optimizers: a general Levenberg-Marquardt path and a GPU-resident structure-from-motion Schur-complement path, converging on shared dense, cuDSS, and PCG GPU solvers." style="width: 100%; display: block; margin-left: auto; margin-right: auto;" />
  <figcaption>Two CUDA optimization paths, one GPU solver layer. The general LM path builds a sparse Jacobian on the host, while the specialized SfM path performs projection linearization and the Schur complement on the GPU. The shared solver layer provides dense Cholesky, cuDSS, and PCG; dense Cholesky is used for the reduced SfM Schur system.</figcaption>
</figure>
<p><br /></p>

<ul id="markdown-toc">
  <li><a href="#a-general-cuda-path-for-factor-graphs" id="markdown-toc-a-general-cuda-path-for-factor-graphs">A general CUDA path for factor graphs</a></li>
  <li><a href="#the-speedups" id="markdown-toc-the-speedups">The speedups</a></li>
  <li><a href="#but-wait-there-is-more-all-of-sfm-on-the-gpu" id="markdown-toc-but-wait-there-is-more-all-of-sfm-on-the-gpu">But wait, there is more: All of SfM on the GPU!</a></li>
  <li><a href="#putting-it-all-together" id="markdown-toc-putting-it-all-together">Putting it all together</a></li>
  <li><a href="#further-browsing" id="markdown-toc-further-browsing">Further browsing</a></li>
</ul>

<p>Over the past few weeks, we have been making the two ends of pose-graph optimization faster. <a href="/2026/08/12/fast-sync.html">FAST-Sync</a> improved the <em>front</em> of the pipeline, producing much better initial estimates before nonlinear optimization begins. Then <a href="https://github.com/borglab/gtsam/pull/2661">GTSAM PR #2661</a> improved the optimization itself by enabling the exact Lie-group Jacobians for <code class="language-plaintext highlighter-rouge">BetweenFactor</code> and <code class="language-plaintext highlighter-rouge">PriorFactor</code> by default.
The exact factor Jacobian costs a few more nanoseconds to evaluate, but on the 10,000-pose <code class="language-plaintext highlighter-rouge">w10000</code> graph it cut LM time after FAST-Sync by more than half!</p>

<p>And now <strong>GTSAM has a new opt-in CUDA backend for nonlinear factor-graph optimization.</strong> <a href="https://github.com/borglab/gtsam/pull/2706">GTSAM PR #2706</a> adds a general sparse CUDA Levenberg-Marquardt optimizer, a shared GPU linear-solver layer, and an even more deeply accelerated path for structure from motion (SfM).</p>

<h2 id="a-general-cuda-path-for-factor-graphs">A general CUDA path for factor graphs</h2>

<p>The first backend is a set of linear system solvers on the GPU, and can be used with any factor graph and <em>any</em> factor type$^*$. 
The new <code class="language-plaintext highlighter-rouge">gtsam::cuda::SparseLevenbergMarquardtOptimizer</code> accepts an ordinary <code class="language-plaintext highlighter-rouge">NonlinearFactorGraph</code> and <code class="language-plaintext highlighter-rouge">Values</code>. It compiles the graph’s sparse Jacobian structure once, keeps the GPU-side allocations persistent, and reuses that structure over the Levenberg-Marquardt iterations.</p>

<p>To accommodate any factor type$^*$, factors continue to linearize on the CPU, while the assembled sparse Jacobian is transferred to the GPU for the linear solve. Retraction and nonlinear error evaluation also remain on the CPU. The new CUDA layer offers three complementary solver choices:</p>

<ul>
  <li><strong>Matrix-free preconditioned conjugate gradient (PCG)</strong>, with warm starts and Jacobi or block-Jacobi preconditioning.</li>
  <li><strong>Sparse direct solving with NVIDIA cuDSS</strong>, the most consistent choice in the general pose and stereo benchmarks.</li>
  <li><strong>Dense Cholesky</strong>, only used for SfM, see below.</li>
</ul>

<p>One backend choice does not wins everywhere: you can choose the solver that fits your problem best.</p>

<p>(*) Factor graphs whose factors produce finite, unconstrained <code class="language-plaintext highlighter-rouge">JacobianFactor</code>s can use the path directly, while unsupported graphs can fall back to the standard CPU optimizer.</p>

<h2 id="the-speedups">The speedups</h2>

<p>The benchmarks in PR #2706 used an NVIDIA A100 and measured complete optimizer wall time, including optimizer construction, device setup, and every LM iteration. Across the larger problems, the speedups are substantial:</p>

<table>
  <thead>
    <tr>
      <th>Workload</th>
      <th style="text-align: right">Best general CUDA result versus CPU</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>2D pose-graph optimization</td>
      <td style="text-align: right"><strong>up to 3.64× faster</strong></td>
    </tr>
    <tr>
      <td>3D pose-graph optimization</td>
      <td style="text-align: right"><strong>up to 4.70× faster</strong></td>
    </tr>
    <tr>
      <td>Stereo landmark SLAM / visual odometry</td>
      <td style="text-align: right"><strong>up to 3.58× faster</strong></td>
    </tr>
    <tr>
      <td>BAL SfM through the general path</td>
      <td style="text-align: right"><strong>up to 6.08× faster</strong></td>
    </tr>
  </tbody>
</table>

<p>Sparse cuDSS was the most consistent solver for pose graphs, reaching roughly 3× on the larger Pose2 and Pose3 cases and about 3.5× on the larger stereo graphs. On the other hand, PCG was especially effective for SfM and selected larger or denser graphs. As usual with GPUs, <em>tiny</em> problems are dominated by setup and launch overhead and can be faster on the CPU.</p>

<h2 id="but-wait-there-is-more-all-of-sfm-on-the-gpu">But wait, there is more: All of SfM on the GPU!</h2>

<p>Bundle adjustment has enough regular structure to go much further. For SfM, <code class="language-plaintext highlighter-rouge">gtsam::cuda::SfmLevenbergMarquardtOptimizer</code> executes the entire computational Levenberg-Marquardt loop on the GPU:</p>

<ol>
  <li>projection-factor linearization;</li>
  <li>Schur-complement or full-normal system construction;</li>
  <li>damping and linear solve;</li>
  <li>camera and landmark retraction; and</li>
  <li>error evaluation.</li>
</ol>

<p>The host only drives the LM lambda search, and the final values are downloaded once. This avoids repeatedly moving the large camera-point problem across the PCIe boundary.</p>

<p>The specialized SfM path still lets you choose among the three GPU solver backends. The Schur complement path can use dense Cholesky, cuDSS, or PCG; the full normal equations can use cuDSS or PCG. On the tested <a href="https://grail.cs.washington.edu/projects/bal/">BAL problems</a>, dense Schur Cholesky was the clear winner:</p>

<table>
  <thead>
    <tr>
      <th>BAL problem</th>
      <th style="text-align: right">Best CPU</th>
      <th style="text-align: right">GPU-resident dense Schur</th>
      <th style="text-align: right">Speedup</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>16 cameras</td>
      <td style="text-align: right">1.069 s</td>
      <td style="text-align: right">0.112 s</td>
      <td style="text-align: right"><strong>9.56×</strong></td>
    </tr>
    <tr>
      <td>88 cameras</td>
      <td style="text-align: right">3.398 s</td>
      <td style="text-align: right">0.390 s</td>
      <td style="text-align: right"><strong>8.72×</strong></td>
    </tr>
    <tr>
      <td>135 cameras</td>
      <td style="text-align: right">4.438 s</td>
      <td style="text-align: right">0.558 s</td>
      <td style="text-align: right"><strong>7.95×</strong></td>
    </tr>
  </tbody>
</table>

<p>The result for the fully GPU-resident SfM implementation is simple: <strong>about 8–10× faster</strong> than the best GTSAM CPU path on these benchmarks. It used to be 20x faster, but <a href="https://github.com/borglab/gtsam/pull/2695">we have also made SfM on the CPU much faster</a> :-)</p>

<h2 id="putting-it-all-together">Putting it all together</h2>

<p>FAST-Sync, exact Lie-group Jacobians, and CUDA acceleration improve different parts of pose-graph optimization: FAST-Sync puts PGO In a better starting place; exact Jacobians improve individual Levenberg-Marquardt steps, cutting the number of rejected steps; and, the CUDA backend then makes every linear solve much faster.</p>

<p>For structure from motion we now fully support Schur complement (which just means: eliminating the points first) followed by a dense solve of the resulting camera only factor graph, completely on the GPU.</p>

<p>Happy optimizing!</p>

<h2 id="further-browsing">Further browsing</h2>

<ul>
  <li><a href="https://borglab.github.io/gtsam/">Main GTSAM documentation, built with MyST</a></li>
  <li><a href="https://github.com/borglab/gtsam/pull/2706">CUDA nonlinear optimization PR #2706</a></li>
  <li><a href="https://github.com/borglab/gtsam/pull/2661">Correct Lie-group Jacobians PR #2661</a></li>
  <li><a href="https://github.com/borglab/gtsam/pull/2695">Speeding up Sfm on the CPU #2661</a></li>
  <li><a href="https://github.com/borglab/gtsam/pull/2634">FAST-Sync in GTSAM PR #2634</a></li>
  <li><a href="/2026/08/12/fast-sync.html">FAST-Sync blog post</a></li>
</ul>

<p><em>Disclosure: AI was used to help draft this post.</em></p>]]></content><author><name></name></author><summary type="html"><![CDATA[Blog post by: Ruogu Li and Frank Dellaert]]></summary></entry><entry><title type="html">FAST-Sync: A Fast Start for Group Synchronization on Any Matrix Lie Group</title><link href="http://gtsam.org/2026/08/12/fast-sync.html" rel="alternate" type="text/html" title="FAST-Sync: A Fast Start for Group Synchronization on Any Matrix Lie Group" /><published>2026-08-12T00:00:00+00:00</published><updated>2026-08-12T00:00:00+00:00</updated><id>http://gtsam.org/2026/08/12/fast-sync</id><content type="html" xml:base="http://gtsam.org/2026/08/12/fast-sync.html"><![CDATA[<p><em>Published in IEEE Robotics and Automation Letters, vol. 11, no. 9, pp. 10377–10384, September 2026. <a href="https://doi.org/10.1109/LRA.2026.3710327">DOI: 10.1109/LRA.2026.3710327</a>. <a href="https://arxiv.org/pdf/2609.38594">Paper PDF</a>.</em></p>

<p>Authors: <a href="https://www.linkedin.com/in/shaneholmes2010/">Shane Holmes</a>, <a href="https://www.linkedin.com/in/yiran-luo-29141a295/">Yiran Luo</a>, <a href="https://www.linkedin.com/in/firat-taxpulat/">Firat Taxpulat</a>, <a href="https://david-m-rosen.github.io/">David M. Rosen</a>, and <a href="https://dellaert.github.io/">Frank Dellaert</a></p>

<p>Blog post by: <a href="https://www.linkedin.com/in/firat-taxpulat/">Firat Taxpulat</a> and <a href="https://dellaert.github.io/">Frank Dellaert</a></p>

<style>
.MJXc-display,
.fast-sync-table {
  overflow-x: auto;
  overflow-y: hidden;
}
</style>

<ul id="markdown-toc">
  <li><a href="#why-initialization-is-the-hard-part" id="markdown-toc-why-initialization-is-the-hard-part">Why initialization is the hard part</a></li>
  <li><a href="#from-a-manifold-problem-to-a-linear-start" id="markdown-toc-from-a-manifold-problem-to-a-linear-start">From a manifold problem to a linear start</a></li>
  <li><a href="#a-shallow-graph-starting-from-a-gauge" id="markdown-toc-a-shallow-graph-starting-from-a-gauge">A shallow graph starting from a gauge</a></li>
  <li><a href="#fast-sync-is-now-in-gtsam" id="markdown-toc-fast-sync-is-now-in-gtsam">FAST-Sync is now in GTSAM</a>    <ul>
      <li><a href="#application-shonan-averaging" id="markdown-toc-application-shonan-averaging">Application: Shonan averaging</a></li>
    </ul>
  </li>
  <li><a href="#works-for-any-matrix-lie-group" id="markdown-toc-works-for-any-matrix-lie-group">Works for any matrix Lie group!</a></li>
  <li><a href="#takeaway" id="markdown-toc-takeaway">Takeaway</a></li>
  <li><a href="#further-browsing" id="markdown-toc-further-browsing">Further browsing:</a></li>
</ul>

<p><strong>Group synchronization</strong> sounds specialized, but the problem is familiar to many GTSAM users. Pose-graph SLAM estimates global robot poses from noisy relative poses. Rotation averaging recovers camera orientations from pairwise matches. Closely related problems appear in monocular SLAM with scale drift, $SL(d)$-based 3D reconstruction, invariant filtering on $SE_2(3)$, and moving reference frames modeled with the Galilean group.</p>

<p>In each case, we have unknown group elements $X_1,\ldots,X_N\in G$ and noisy measurements $\widetilde X_{ij}\approx X_i^{-1}X_j$. The aim is to recover a globally consistent set of states, up to a common gauge transformation.</p>

<p><strong>FAST-Sync is a batch initializer for this problem over matrix Lie groups.</strong> It replaces the nonlinear problem with a structured linear approximation, solves that approximation efficiently, projects the answer back to the chosen group, and hands the result to a local optimizer such as Gauss-Newton or Levenberg-Marquardt.</p>

<p>That last step is essential. FAST-Sync is not a replacement for nonlinear optimization; it is a way to start nonlinear optimization in a much better place.</p>

<h2 id="why-initialization-is-the-hard-part">Why initialization is the hard part</h2>

<p>The maximum-likelihood group synchronization problem is typically high-dimensional and non-convex. GTSAM’s local optimizers can solve large instances efficiently, but—as with local optimization generally—the result depends on the initial estimate. A poor start can require many iterations to repair, or it can place the optimizer in the wrong basin of attraction.</p>

<p>A common baseline is to select a spanning tree and concatenate relative measurements outward from a root. This is very cheap, but every edge contributes error. Along a long tree path, those errors accumulate.</p>

<figure class="center" style="width: 80%; max-width: 520px; text-align: center;">
  <img src="/assets/images/fast-sync/fast-sync-mit-initialization.png" alt="Three MIT SE(2) pose-graph trajectories comparing a maximum-spanning-tree initialization, FAST-Sync initialization, and local optimization from FAST-Sync." style="width: 100%; display: block; margin-left: auto; margin-right: auto;" />
  <figcaption>Figure 1. A maximum-spanning-tree (MST) initialization (top) can lie outside the global optimizer's basin of attraction. FAST-Sync uses all relative measurements to produce a linear initialization (middle), from which local optimization converges to the global optimum (bottom) on this MIT $SE(2)$ example. Reproduced from Figure 1 of our published paper.</figcaption>
</figure>
<p><br /></p>

<p>Figure 1 above illustrates this for a medium-sized pose graph problem (a robot cruising around the MIT campus). The spanning-tree estimate is inexpensive but severely distorted. FAST-Sync’s estimate is already close enough that ordinary local refinement reaches the desired solution.</p>

<p>This matters even when a globally certifiable solver is available. A strong initial estimate can reduce the work needed to reach—and then certify—a high-quality solution.</p>

<h2 id="from-a-manifold-problem-to-a-linear-start">From a manifold problem to a linear start</h2>

<p>FAST-Sync generalizes the philosophy of chordal initialization (an earlier structure-from-motion method by <a href="https://cmp.felk.cvut.cz/ftp/articles/martinec/Martinec-CVPR2007.pdf">Daniel Martinec and Tomáš Pajdla</a>) beyond familiar rotation and rigid-pose groups. Its first move is to replace the original log-likelihood with a quadratic Frobenius-norm surrogate:</p>

\[J_F(X)=
\frac{1}{2}\sum_{(i,j)\in E}
\kappa_{ij}
\left\|X_j-X_i\widetilde X_{ij}\right\|_F^2,\]

<p>where $\kappa_{ij}=\sigma_{ij}^{-2}$ is the inverse noise variance of measurement $(i,j)$ under the isotropic concentrated-Gaussian model we use in the paper. FAST-Sync then temporarily relaxes the constraints $X_i\in G$, solves for matrices in the surrounding ambient vector space, and projects them back to $G$.</p>

<p>The residual is linear in the unknown matrix entries. Following the notation in our paper and suppressing the scalar row weight, an edge $(i,j)$ defines the sparse block row</p>

\[(H_{ij})_\ell=
\begin{cases}
-\widetilde X_{ij}^{T}, &amp; \ell=i,\\
I_d, &amp; \ell=j,\\
0_{d\times d}, &amp; \text{otherwise},
\end{cases}
\qquad
\overline H=H\otimes I_d.\]

<p>The key to FAST-Sync initialization is that we can solve a linear system that is $d$ times smaller and reuse it $d$ times. Using a Kronecker product and its algebraic properties, we replace the $d^2M\times d^2N$ vectorized system with $H\in\mathbb{R}^{Md\times Nd}$. After appending a “gauge” row, FAST-Sync factors the reduced, gauge-augmented matrix $A\in\mathbb{R}^{(M+1)d\times Nd}$ and reuses its triangular factor in the column-wise recovery.</p>

<!-- Our first-order small-noise analysis motivates the Frobenius surrogate. For common groups including $SO(d)$, $SE(d)$, and $SU(2)$, the resulting quadratic approximation equals the matrix-space residual above. For more general matrix Lie groups, we use it as a practical heuristic for initialization—not as an exact replacement for the final manifold objective. -->

<h2 id="a-shallow-graph-starting-from-a-gauge">A shallow graph starting from a gauge</h2>

<p>Both the sparse structure and the mysterious “gauge” mentioned above provide two more opportunities to improve over chordal initialization.</p>

<p>First, FAST-Sync uses a <strong>block-preserving Nested Dissection</strong> ordering to create a back-substitution graph for the linear system, as shown in Figure 2 below. Nested Dissection recursively separates the measurement graph using small vertex separators, yielding the shallow graph on the right of the figure (for a small SfM dataset). In addition, the $d\times d$ entries belonging to one state always move together, with the effect that the corresponding sparse back-substitution <em>matrix</em> is block-sparse, as shown on the left.</p>

<figure class="center" style="width: 100%; max-width: 1100px; text-align: center;">
  <img src="/assets/images/fast-sync/fast-sync-nested-dissection.png" alt="Sparse triangular block structure and elimination dependency graph produced by Nested Dissection for the Statue of Liberty dataset." style="width: 100%; display: block; margin-left: auto; margin-right: auto;" />
  <figcaption>Figure 2. Nested Dissection produces the sparse triangular block structure at left and the corresponding back-substitution directed acyclic graph at right. The final root block is fixed to the group identity, and the remaining matrices are recovered in reverse order. Reproduced from Figure 3 of our published paper.</figcaption>
</figure>
<p><br /></p>

<p>Second, we use the root of the directed graph as the <em>gauge</em>. For a connected synchronization graph, applying one common global transformation to every state leaves all relative measurements unchanged.
A linear initializer therefore needs to fix one <strong>gauge state</strong>, usually to the identity. In the noiseless problem, the choice of root is algebraically arbitrary. In the noisy ambient-space relaxation, however, the ordering affects both sparse fill and how far intermediate matrices drift from the group before projection, affecting the quality of the final estimate.</p>

<p>The block-sparse matrix corresponding to the graph allows all relaxed group matrices to be recovered in reverse order, starting from the root/gauge:</p>

\[\widehat X_N=I_d,\qquad
\widehat X_j=
-\left(
\sum_{k\in\mathrm{nz}_j}
\widehat X_kR_{jk}^{T}
\right)R_{jj}^{-T},
\qquad
X_j^0=\Pi_G(\widehat X_j).\]

<p>Here, the $R_{jk}$ are blocks of the sparse triangular factor and $\mathrm{nz}_j$ contains the later nonzero blocks needed to recover state $j$. One property of Nested Dissection is that it creates directed graphs with many parallel branches, allowing this back-substitution to be done in parallel.</p>

<p>Nested Dissection thus helps twice: it creates shallow and parallel back-substitution graphs and—empirically—gives better-quality initial estimates after rounding the relaxed matrices back to the group. A full theory of that effect remains open.</p>

<h2 id="fast-sync-is-now-in-gtsam">FAST-Sync is now in GTSAM</h2>

<p>FAST-Sync is now in GTSAM! The merged <a href="https://github.com/borglab/gtsam/pull/2634">GTSAM PR #2634</a> adds FAST-Sync directly to the <code class="language-plaintext highlighter-rouge">develop</code> branch. In C++, <a href="https://github.com/borglab/gtsam/blob/develop/gtsam/slam/FastSync.h"><code class="language-plaintext highlighter-rouge">fastSync&lt;T&gt;(graph)</code></a> accepts a <code class="language-plaintext highlighter-rouge">NonlinearFactorGraph</code> and returns a <code class="language-plaintext highlighter-rouge">Values</code> object that can be passed directly to a nonlinear optimizer. The public <code class="language-plaintext highlighter-rouge">FastSync&lt;T&gt;</code> class also exposes the ambient solve and projection/alignment stages separately.</p>

<p>A <a href="https://github.com/borglab/gtsam/pull/2639">follow-up PR #2639</a> replaces the initial implementation’s sequential QR elimination with Cholesky and allows selecting either an ordering type or providing a complete custom ordering.</p>

<p>The implementation supports <code class="language-plaintext highlighter-rouge">Rot2</code>, <code class="language-plaintext highlighter-rouge">Rot3</code>, <code class="language-plaintext highlighter-rouge">Pose2</code>, <code class="language-plaintext highlighter-rouge">Pose3</code>, <code class="language-plaintext highlighter-rouge">Similarity2</code>, <code class="language-plaintext highlighter-rouge">Similarity3</code>, and <code class="language-plaintext highlighter-rouge">SL4</code>, and the repository includes both a <a href="https://borglab.github.io/gtsam/fastsync/">technical notebook</a>, which explains the reduced solve and projection interface, and a <a href="https://borglab.github.io/gtsam/fastsyncexample/">runnable Python tutorial</a>, which covers all seven supported groups and subsequent Levenberg-Marquardt refinement. A <a href="https://github.com/borglab/gtsam/blob/develop/matlab/gtsam_examples/FastSyncExample.m">MATLAB example</a> exercises the same seven type-specific functions.</p>

<h3 id="application-shonan-averaging">Application: Shonan averaging</h3>

<p>As an example, below we show the practical impact on <a href="https://dellaert.github.io/ShonanAveraging/">Shonan Rotation Averaging</a>, which estimates globally consistent absolute camera orientations from noisy pairwise relative rotations. This is a core problem in structure from motion. Shonan combines scalable local manifold optimization with a semidefinite relaxation that can certify global optimality. See the <a href="https://arxiv.org/abs/2008.02737">ECCV 2020 paper</a> for details.</p>

<table>
  <thead>
    <tr>
      <th>Dataset</th>
      <th style="text-align: right">Init</th>
      <th style="text-align: right">Optimize</th>
      <th style="text-align: right">Total</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Taj Mahal</td>
      <td style="text-align: right">673 → 223: 3.03×</td>
      <td style="text-align: right">281 → 275: 1.02×</td>
      <td style="text-align: right">954 → 498: 1.92×</td>
    </tr>
    <tr>
      <td>Brandenburg Gate</td>
      <td style="text-align: right">595 → 260: 2.28×</td>
      <td style="text-align: right">293 → 299: 0.98×</td>
      <td style="text-align: right">888 → 560: 1.59×</td>
    </tr>
    <tr>
      <td>Temple Nara Japan</td>
      <td style="text-align: right">805 → 222: 3.62×</td>
      <td style="text-align: right">481 → 374: 1.29×</td>
      <td style="text-align: right">1,287 → 597: 2.16×</td>
    </tr>
    <tr>
      <td>St. Peter’s Square</td>
      <td style="text-align: right">1,458 → 188: 7.77×</td>
      <td style="text-align: right">1,181 → 341: 3.47×</td>
      <td style="text-align: right">2,639 → 529: 4.99×</td>
    </tr>
    <tr>
      <td>Colosseum Exterior</td>
      <td style="text-align: right">655 → 193: 3.39×</td>
      <td style="text-align: right">365 → 540: 0.68×</td>
      <td style="text-align: right">1,020 → 733: 1.39×</td>
    </tr>
  </tbody>
</table>

<p>The table above shows the effect of using FAST-Sync: each entry reports <strong>before/after: speedup</strong>, with mean timings in milliseconds over three runs after one warm-up. “Before” uses the previous chordal initialization with COLAMD; “after” uses FAST-Sync.
The five benchmarks are drawn from <a href="https://multimediacommons.wordpress.com/yfcc100m-core-dataset/">YFCC100M</a> and contain 564–1,773 camera rotations with 100,000 pairwise relative-rotation measurements each.</p>

<p>FAST-Sync initialization is <strong>2.28–7.77× faster</strong>. By starting closer to the optimum, it can also reduce the subsequent nonlinear optimization time, most notably on St. Peter’s Square (<strong>3.47×</strong>). Although optimization is flat on two datasets, the initialization gains dominate: total runtime improves by <strong>1.39–4.99×</strong> across all five datasets.</p>

<h2 id="works-for-any-matrix-lie-group">Works for any matrix Lie group!</h2>

<p>In the paper we further evaluate FAST-Sync on six groups: $SO(3)$, $SE(3)$, $SU(2)$, $SL(4)$, $Gal(3)$, and $Sim(3)$. In our synthetic small-world experiments, maximum-spanning-tree initialization is cheaper at the first step, but accumulated error often leaves much more work for the nonlinear optimizer. FAST-Sync pays more up front and frequently wins on total time because refinement starts closer to the desired basin. For $SO(3)$, $SE(3)$, and $SU(2)$, we use SE-Sync to obtain the certifiably global reference solution. For $SL(4)$, $Gal(3)$, and $Sim(3)$, we estimate the global optimum using local optimization initialized from ground truth.</p>

<p>On the $SE(3)$ pose graph problems we tested, FAST-Sync is about 35–40% faster than the off-the-shelf chordal baseline while reaching nearly the same solution quality.</p>

<figure class="center" style="width: 100%; max-width: 1100px; text-align: center;">
  <img src="/assets/images/fast-sync/fast-sync-cross-group-results.png" alt="Runtime-versus-Frobenius-error curves comparing maximum-spanning-tree initialization and FAST-Sync on Intel, Rim, Pantheon, and drone datasets, plus a connectivity and noise plot." style="width: 100%; display: block; margin-left: auto; margin-right: auto;" />
  <figcaption>Figure 3. On representative $SE(2)$, $SE(3)$, $SO(3)$, and $Gal(3)$ datasets, FAST-Sync starts with lower Frobenius error and generally reaches the reference solution sooner than the maximum-spanning-tree (MST) baseline, including on our noise-corrupted variants. Reproduced from Figure 10 of our published paper.</figcaption>
</figure>
<p><br /></p>

<p>We also study four representative datasets: the Intel $SE(2)$ pose graph, the Rim $SE(3)$ dataset, Pantheon rotation averaging, and a $Gal(3)$ Drone graph derived from a real drone sequence. As shown in Figure 3 above, we see the same overall pattern when comparing with a (very cheap) maximum-spanning-tree initializer: FAST-Sync’s linear solve is not always the cheapest initialization, but <strong>initialization plus refinement</strong> is typically faster and more reliable than beginning with a poorer estimate.</p>

<h2 id="takeaway">Takeaway</h2>

<p>FAST-Sync turns group synchronization into a strong starting estimate by combining five ideas: an ambient Frobenius surrogate, Kronecker reduction, block-preserving Nested Dissection, sparse back-substitution, and projection to the group. The result gives a local optimizer a stronger starting point that, in many of our experiments, reduces total initialization-plus-refinement runtime.</p>

<p>The new GTSAM implementation makes that initializer available directly from a factor graph, and Shonan averaging now integrates FAST-Sync’s estimate by default within a certifiable rotation-averaging pipeline.</p>

<p>One caveat: “Any matrix Lie group” describes the reusable linear-algebraic template. It does not mean that every group is automatically handled without additional work. A new group still needs a usable projection $\Pi_G$, and appropriate manifold operations and factors for refinement.</p>

<h2 id="further-browsing">Further browsing:</h2>

<ul>
  <li><a href="https://arxiv.org/pdf/2609.38594">FAST-Sync paper</a></li>
  <li><a href="https://github.com/borglab/gtsam/blob/develop/gtsam/slam/FastSync.h">FAST-Sync implementation in GTSAM</a></li>
  <li><a href="https://github.com/borglab/gtsam/blob/develop/gtsam/slam/doc/FastSync.ipynb">FAST-Sync technical notebook</a></li>
  <li><a href="https://github.com/borglab/gtsam/blob/develop/python/gtsam/examples/FastSyncExample.ipynb">FAST-Sync Python tutorial</a></li>
  <li><a href="https://github.com/borglab/gtsam/pull/2639">Cholesky and Shonan averaging follow-up</a></li>
  <li><a href="https://github.com/david-m-rosen/SE-Sync">SE-Sync</a>, for certifiable $SE(d)$ synchronization</li>
  <li><a href="/2026/06/24/vggt-slam.html">VGGT-SLAM on the $SL(4)$ manifold</a>, for a recent GTSAM application beyond rigid poses</li>
</ul>

<p><em>Disclosure: AI was used to help draft this post and prepare the figures.</em></p>]]></content><author><name></name></author><summary type="html"><![CDATA[Published in IEEE Robotics and Automation Letters, vol. 11, no. 9, pp. 10377–10384, September 2026. DOI: 10.1109/LRA.2026.3710327. Paper PDF.]]></summary></entry><entry><title type="html">3D Gaussian Splatting meets Factor Graph SLAM</title><link href="http://gtsam.org/2026/08/04/gaussian-splatting-slam.html" rel="alternate" type="text/html" title="3D Gaussian Splatting meets Factor Graph SLAM" /><published>2026-08-04T00:00:00+00:00</published><updated>2026-08-04T00:00:00+00:00</updated><id>http://gtsam.org/2026/08/04/gaussian-splatting-slam</id><content type="html" xml:base="http://gtsam.org/2026/08/04/gaussian-splatting-slam.html"><![CDATA[<p>Author: <a href="https://github.com/jashshah999">Jash Shah</a></p>

<!-- - TOC -->

<p>Most 3D Gaussian Splatting SLAM systems optimize camera poses via gradient descent through a differentiable rasterizer. Some (e.g., <a href="https://arxiv.org/abs/2408.10154">LoopSplat</a>) add loop closure through a separate pose graph, but the rendering objective itself never enters that graph: pose estimation against the Gaussian map remains gradient-based. <a href="https://github.com/jashshah999/gtsam-splatfactors">gtsam-splatfactors</a> takes a different approach: it expresses the rendering itself as a GTSAM factor, so that pose optimization, loop closure, and multi-sensor fusion all live natively in the same iSAM2 Bayes tree.</p>

<h2 id="the-problem-with-decoupled-pose-optimization">The problem with decoupled pose optimization</h2>

<p>Systems like <a href="https://spla-tam.github.io/">SplaTAM</a> and <a href="https://arxiv.org/abs/2312.06741">MonoGS</a> achieve excellent rendering quality, but they have no mechanism for global correction: when drift accumulates, there is no loop closure to fix it. Systems that do add loop closure apply the correction through a separate pose graph that has no knowledge of the rendering objective. The photometric loss and the global consistency live in different optimization frameworks.</p>

<p>Factor graph SLAM unifies these. iSAM2’s Bayes tree gives you efficient incremental updates that re-eliminate only the affected part of the graph when new constraints (odometry, loop closures, IMU) are added. The question is: can we express 3D Gaussian Splatting rendering as a factor in this framework?</p>

<h2 id="gaussiansplatfactor">GaussianSplatFactor</h2>

<p>The core idea is straightforward. We render the Gaussian map from a candidate camera pose using <a href="https://github.com/nerfstudio-project/gsplat">gsplat</a>, compute photometric residuals at sampled pixel locations, and provide Jacobians to GTSAM’s nonlinear optimizer:</p>

<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">factor</span> <span class="o">=</span> <span class="n">GaussianSplatFactor</span><span class="p">(</span>
    <span class="n">gaussian_map</span><span class="o">=</span><span class="n">my_map</span><span class="p">,</span>
    <span class="n">target_image</span><span class="o">=</span><span class="n">keyframe_rgb</span><span class="p">,</span>
    <span class="n">K</span><span class="o">=</span><span class="n">intrinsics</span><span class="p">,</span>
    <span class="n">pixel_indices</span><span class="o">=</span><span class="n">sampled_pixels</span><span class="p">,</span>
    <span class="n">W</span><span class="o">=</span><span class="mi">640</span><span class="p">,</span> <span class="n">H</span><span class="o">=</span><span class="mi">480</span><span class="p">,</span>
<span class="p">)</span>

<span class="c1"># Add to GTSAM graph alongside odometry, loop closures, IMU, etc.
</span><span class="n">graph</span><span class="p">.</span><span class="n">add</span><span class="p">(</span><span class="n">factor</span><span class="p">.</span><span class="n">as_gtsam_factor</span><span class="p">(</span><span class="n">pose_key</span><span class="p">,</span> <span class="n">noise_model</span><span class="p">))</span>
</code></pre></div></div>

<p>The Jacobian is computed via central differences through the se(3) generators. We parameterize the viewmat as <code class="language-plaintext highlighter-rouge">(I - hat(xi)) @ viewmat0</code>, respecting GTSAM’s right-exponential update convention (left-invariant error). This is verified against <code class="language-plaintext highlighter-rouge">Pose3.retract()</code>-based numerical derivatives to &lt; 0.1% relative error.</p>

<h2 id="architecture">Architecture</h2>

<p>Poses live in GTSAM (iSAM2 Bayes tree). Gaussians live in PyTorch (optimized via Adam). The two are coupled through alternating optimization: poses update in the factor graph, then Gaussians are refined against the updated poses.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Camera poses (Pose3)          Gaussian map (PyTorch)
        |                              |
   +----------+                   +----------+
   |  iSAM2   |&lt;-- SplatFactor --&gt;|  gsplat  |
   |  (GTSAM) |   (photometric    | renderer |
   +----------+    residual + J)  +----------+
        |
   Odometry factors
   Loop closure factors (DINOv2 + geometric verification)
   IMU preintegration factors
</code></pre></div></div>

<figure class="center" style="width: 100%; max-width: 1100px; text-align: center;">
  <img src="/assets/images/gaussian-splatting-slam/tum_desk_gt_vs_render.png" alt="TUM fr1/desk: ground-truth camera frame next to the same view rendered from the trained Gaussian map." style="width: 100%; display: block; margin-left: auto; margin-right: auto;" />
  <figcaption>The rendering is the measurement model. Left: TUM fr1/desk camera frame. Right: the same view rendered from the Gaussian map that the factors optimize against (trained with <code>examples/showcase_render.py</code>).</figcaption>
</figure>
<p><br /></p>

<p>Loop closures are detected automatically via DINOv2 appearance matching. When a revisit is detected, PnP with depth gives the relative pose, and a <code class="language-plaintext highlighter-rouge">BetweenFactorPose3</code> with a Cauchy robust kernel is inserted into the graph. iSAM2 propagates the correction globally.</p>

<h2 id="results">Results</h2>

<h3 id="kitti-odometry">KITTI Odometry</h3>

<p>We evaluated on four KITTI sequences with loop closures. The pipeline uses stereo depth (StereoSGBM) for PnP visual odometry, iSAM2 with Cauchy robust kernels for graph optimization, and DINOv2 for loop detection.</p>

<figure class="center" style="width: 100%; max-width: 1100px; text-align: center;">
  <img src="/assets/images/gaussian-splatting-slam/kitti_00.png" alt="KITTI sequence 00 trajectory comparison: VO drifts to 29m error; iSAM2 with loop closure reduces it to 7.8m." style="width: 100%; display: block; margin-left: auto; margin-right: auto;" />
  <figcaption>KITTI sequence 00. Left: bird's-eye trajectory. Right: per-frame position error. Loop closure reduces ATE from 29m to 7.8m (73% improvement).</figcaption>
</figure>
<p><br /></p>

<table>
  <thead>
    <tr>
      <th>Sequence</th>
      <th>Trajectory</th>
      <th>VO ATE (RMSE)</th>
      <th>iSAM2 + LC</th>
      <th>Improvement</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>00 (first 800 frames)</td>
      <td>1483m</td>
      <td>29.14m</td>
      <td>7.76m</td>
      <td>73%</td>
    </tr>
    <tr>
      <td>05 (first 800 frames)</td>
      <td>937m</td>
      <td>21.66m</td>
      <td>12.24m</td>
      <td>43%</td>
    </tr>
    <tr>
      <td>07 (first 550 frames)</td>
      <td>373m</td>
      <td>9.67m</td>
      <td>1.49m</td>
      <td>85%</td>
    </tr>
    <tr>
      <td>09 (first 531 frames)</td>
      <td>823m</td>
      <td>45.24m</td>
      <td>10.56m</td>
      <td>77%</td>
    </tr>
  </tbody>
</table>

<h3 id="tum-rgbd">TUM-RGBD</h3>

<figure class="center" style="width: 100%; max-width: 560px; text-align: center;">
  <img src="/assets/images/gaussian-splatting-slam/loop_closure_xyz.gif" alt="Animated loop closure correction on TUM fr1/xyz: VO trajectory builds up, loop closures detected, trajectory corrected." style="width: 100%; display: block; margin-left: auto; margin-right: auto;" />
  <figcaption>TUM fr1/xyz: VO trajectory accumulates drift, DINOv2 detects revisits, iSAM2 corrects the full trajectory.</figcaption>
</figure>
<p><br /></p>

<table>
  <thead>
    <tr>
      <th>Sequence</th>
      <th>VO ATE (RMSE)</th>
      <th>iSAM2 + LC</th>
      <th>Improvement</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>fr1/desk</td>
      <td>0.189m</td>
      <td>0.113m</td>
      <td>40%</td>
    </tr>
    <tr>
      <td>fr1/xyz</td>
      <td>0.106m</td>
      <td>0.072m</td>
      <td>32%</td>
    </tr>
    <tr>
      <td>fr1/room</td>
      <td>0.305m</td>
      <td>0.273m</td>
      <td>10%</td>
    </tr>
  </tbody>
</table>

<p>All numbers in both tables are translational RMSE. The TUM rows can be reproduced with a single command per sequence: <code class="language-plaintext highlighter-rouge">python examples/eval_tum_lc.py --seq fr1/desk</code> (the script downloads the data on first run).</p>

<h2 id="why-this-matters-for-gtsam">Why this matters for GTSAM</h2>

<p>This demonstrates that GTSAM’s factor graph infrastructure composes naturally with modern neural rendering. The <code class="language-plaintext highlighter-rouge">GaussianSplatFactor</code> slots in alongside standard odometry, loop closure, and IMU factors with no special treatment. Robust kernels, incremental updates, and covariance recovery all work out of the box.</p>

<p>More broadly, this is an existence proof that 3DGS-SLAM does not need to abandon decades of SLAM infrastructure. The rendering quality of Gaussian splatting and the global consistency machinery of factor graph SLAM are complementary, not competing.</p>

<h2 id="code-and-further-browsing">Code and further browsing</h2>

<ul>
  <li><a href="https://github.com/jashshah999/gtsam-splatfactors">gtsam-splatfactors</a> (MIT licensed, pip installable)</li>
  <li><a href="https://github.com/nerfstudio-project/gsplat">gsplat</a> (the differentiable rasterizer)</li>
  <li><a href="https://spla-tam.github.io/">SplaTAM</a> (gradient-descent 3DGS-SLAM)</li>
  <li><a href="https://arxiv.org/abs/2408.10154">LoopSplat</a> (3DGS-SLAM with pose graph loop closure)</li>
  <li><a href="https://arxiv.org/abs/2312.06741">MonoGS</a> (monocular Gaussian SLAM)</li>
  <li><a href="https://github.com/facebookresearch/dinov2">DINOv2</a> (appearance features for loop detection)</li>
</ul>

<p><em>Disclosure: AI was used to help draft this post.</em></p>]]></content><author><name></name></author><summary type="html"><![CDATA[Author: Jash Shah]]></summary></entry><entry><title type="html">Bringing Geometric Foundation Models to SLAM: VGGT-SLAM and SL(4) Factor Graph Optimization</title><link href="http://gtsam.org/2026/06/24/vggt-slam.html" rel="alternate" type="text/html" title="Bringing Geometric Foundation Models to SLAM: VGGT-SLAM and SL(4) Factor Graph Optimization" /><published>2026-06-24T00:00:00+00:00</published><updated>2026-06-24T00:00:00+00:00</updated><id>http://gtsam.org/2026/06/24/vggt-slam</id><content type="html" xml:base="http://gtsam.org/2026/06/24/vggt-slam.html"><![CDATA[<p>Author: <a href="https://dominic101.github.io/DominicMaggio/">Dominic Maggio</a></p>

<!-- - TOC -->

<p>In the past couple years, a new type of foundation models called the Geometric Foundation Model (GFM) has been creating a lot of excitement for 3D scene reconstruction starting with initial works <a href="https://arxiv.org/abs/2312.14132">DUSt3R</a> and 
<a href="https://arxiv.org/abs/2406.09756">MASt3R</a>. GFMs take in uncalibrated monocular RGB images and output a dense 3D point cloud and camera poses. One of the most popular models, <a href="https://arxiv.org/abs/2503.11651">VGGT</a>, won best paper at CVPR 2025 and 
follow-up work <a href="https://arxiv.org/abs/2605.15195">VGGT-Omega</a> was a best paper finalist at CVPR 2026. 
Their simplicity and ability to create dense reconstruction without depending on known camera calibration or stereo rigs begs the question of how to best leverage them for a robotic SLAM system. 
In this post, we’ll discuss how <a href="https://arxiv.org/abs/2505.12549">VGGT-SLAM</a> (and its extension 
<a href="https://arxiv.org/abs/2601.19887">VGGT-SLAM 2.0</a>) does just that.</p>

<h2 id="using-vggt-for-a-slam-system">Using VGGT for a SLAM System</h2>

<p>The first challenge in bringing GFMs to SLAM is robots may need to process many thousands of images; however, GPU memory bounds how many frames VGGT can process (around 60 on a 3090 GPU with 24 GB of memory). The second challenge is most practical use cases require incremental mapping as the robot explores a scene – not just one large batch processing of images for the entire scene.</p>

<p>Both challenges can be solved by a simple idea: create smaller submaps with VGGT as the robot explores a scene and chain these submaps together to create a global map. Sounds easy enough; now we just need to pick which transformation to use to align the submaps. Classical SLAM logic tells us $\text{Sim(3)}$ should do it. Each VGGT submap is defined in its own local frame ($\text{SE(3)}$ alignment is needed) and since VGGT doesn’t estimate metric scale we need the extra DoF of $\text{Sim(3)}$ to align the submaps. Unfortunately, this $\text{Sim(3)}$ alignment isn’t always enough. As an example, chaining two submaps together in this apartment scene with a $\text{Sim(3)}$ transformation shows poor alignment.</p>

<figure class="center" style="width: 100%; max-width: 400px; text-align: center;">
  <img src="/assets/images/vggt-slam/vggt-slam-sim3.png" alt="Using a $\text{Sim(3)}$ transformation to align VGGT submaps is not always sufficient. Here, the alignment of two submaps shows 
  substantial discrepancy." style="width: 100%; display: block; margin-left: auto; margin-right: auto;" />
  <figcaption>Using a $\text{Sim(3)}$ transformation to align VGGT submaps is not always sufficient. Here, the alignment of two submaps shows 
  substantial discrepancy. Figure adapted from the Maggio et al. VGGT-SLAM paper.</figcaption>
</figure>
<p><br /></p>

<h2 id="the-need-for-a-higher-dof-transformation">The need for a higher DoF transformation</h2>

<p>The missing piece is VGGT does not know the camera calibration. While it tries to estimate the calibration, this uncertainty causes the submaps to have a higher DoF ambiguity. To understand what transformation we need for this state-of-the-art foundation model, we find the answer buried deep in what’s considered the bible of classical computer vision – Multiple View Geometry in Computer Vision by Hartley and Zisserman. Which is kind of amusing since during their CVPR talk, the VGGT authors had a slide saying “You don’t have to be Zisserman” to do 3D reconstruction anymore. Anyway, chapter 10 (second edition) mentions “The Projective Reconstruction Theorem” which in summary states that if you have a set of images and solve for a 3D reconstruction given known pixel correspondences, the reconstruction has a 15 DoF projective ambiguity to the true scene. Given extra information such as the vanishing point, this can be reduced to a 12 DoF affine ambiguity.</p>

<p>This 15 DoF transformation is a $4 \times 4$ homography matrix (the lesser known 3D version of the common $3 \times 3$ homography used in 2D vision tasks like image stitching). Now that we know to use a 15 DoF projective transformation, we can solve for the homography between submaps. The homography can be estimated with a 5-point RANSAC solver.</p>

<p>Looking at the apartment example from before, we get a much cleaner submap alignment using the homography matrix.</p>

<figure class="center" style="width: 100%; max-width: 1100px; text-align: center;">
  <img src="/assets/images/vggt-slam/vggt-slam-projective.png" alt="A 15 DoF projective transformation provides correct alignment between VGGT submaps." style="width: 100%; display: block; margin-left: auto; margin-right: auto;" />
  <figcaption>A 15 DoF projective transformation provides correct alignment between VGGT submaps. Figure adapted from the Maggio et al. VGGT-SLAM paper.</figcaption>
</figure>
<p><br /></p>

<h2 id="integration-with-gtsam">Integration with GTSAM</h2>

<p>Now for the really cool part. We can normalize the $4 \times 4$ homography matrix to have determinant 1 which maps it to a unique matrix on the Special Linear Group, $\text{SL(4)}$, manifold. 
$\text{SL(4)}$ is the group of $4 \times 4$ matrices with determinant 1.
This lets us chain submaps together (along with loop closure constraints) and use GTSAM to 
create a factor graph optimized on the $\text{SL(4)}$ manifold. Support for $\text{SL(4)}$ factors was added to GTSAM in <a href="https://github.com/borglab/gtsam/pull/2207">PR #2207</a> and has a similar interface as $\text{SE(3)}$ factors.</p>

<figure class="center" style="width: 100%; max-width: 1100px; text-align: center;">
  <img src="/assets/images/vggt-slam/vggt-slam-map.png" alt="Left: reconstruction of a loop around an office corridor showing each submap as a unique color. There is a loop closure 
  at the end of the trajectory. Right: reconstruction of a large 4200 sq ft barn." style="width: 100%; display: block; margin-left: auto; margin-right: auto;" />
  <figcaption>Left: reconstruction of a loop around an office corridor showing each submap as a unique color. There is a loop closure 
  at the end of the trajectory. Right: reconstruction of a large 4200 sq ft barn. 
  Figure adapted from the Maggio and Carlone VGGT-SLAM 2.0 paper.</figcaption>
</figure>
<p><br /></p>

<h2 id="vggt-slam-20">VGGT-SLAM 2.0</h2>

<p>One downside to solving 15 DoF transformations for submap alignment is high-dimensional drift can quickly build up without loop closures. Additionally, a 5-point solver for 
the homography matrix requires the 5 points not all be co-planar - which can cause degeneracy when submaps view flat floors or a single wall. To get around this, VGGT-SLAM 2.0 maintains an $\text{SL(4)}$ factor graph but recognizes the VGGT submap alignment problem 
can be constrained to a subset of variables. For example, consecutive submaps are created so that they share a common keyframe - the first keyframe of submap $n$ is the same keyframe as the last one of submap $n-1$. This means that their respective translation and rotation must be trivially identical in the world frame. Likewise, while the true calibration is unknown, we know that the shared frames must come from a camera with the same calibration, allowing us to further reduce the variables when estimating projective alignments.</p>

<p>Multiple additional improvements, such as more reliable loop closures, are also included in the VGGT-SLAM 2.0 paper and a demonstration that the entire SLAM system can run in real-time onboard a robot with a Jetson Thor.</p>

<h2 id="further-browsing">Further browsing</h2>
<ul>
  <li>Example of using $\text{SL(4)}$ factors are available in a GTSAM example <a href="https://github.com/borglab/gtsam/blob/2b56701e2ab22ba4ad5ff4d8d4d2cdd579798e0c/python/gtsam/examples/SL4SLAMExample.ipynb">notebook</a></li>
  <li><a href="https://arxiv.org/abs/2505.12549">ArXiv: VGGT-SLAM</a></li>
  <li><a href="https://arxiv.org/abs/2601.19887">ArXiv: VGGT-SLAM 2.0</a></li>
  <li><a href="https://arxiv.org/abs/2605.25371">ArXiv: FOUND-IT</a></li>
</ul>]]></content><author><name></name></author><summary type="html"><![CDATA[Author: Dominic Maggio]]></summary></entry><entry><title type="html">Toward Centimeter-Level Positioning with GTSAM: Double-Difference Factors for RTK GNSS</title><link href="http://gtsam.org/2026/06/10/rtk-gnss-double-difference.html" rel="alternate" type="text/html" title="Toward Centimeter-Level Positioning with GTSAM: Double-Difference Factors for RTK GNSS" /><published>2026-06-10T00:00:00+00:00</published><updated>2026-06-10T00:00:00+00:00</updated><id>http://gtsam.org/2026/06/10/rtk-gnss-double-difference</id><content type="html" xml:base="http://gtsam.org/2026/06/10/rtk-gnss-double-difference.html"><![CDATA[<p>Author: <a href="https://github.com/inuex35">Kosuke Inoue</a>, independent researcher</p>

<!-- - TOC -->

<p>Global Navigation Satellite System (GNSS) positioning is foundational to autonomous driving, surveying, and precision agriculture. Standard single-point positioning achieves meter-level accuracy, but many applications need tighter estimates. Real-Time Kinematic (RTK) GNSS moves toward centimeter-level positioning by exploiting <strong>double-difference</strong> observations that cancel or reduce common-mode errors such as satellite clock biases and atmospheric delays.</p>

<p>GTSAM now includes built-in double-difference factors for both pseudorange and carrier-phase observations, contributed in <a href="https://github.com/borglab/gtsam/pull/2502">PR #2502</a>. This post explains the technique, walks through the new factors, and shows how they enable tightly-coupled GNSS-IMU fusion via factor graphs.</p>

<h2 id="why-double-differencing">Why Double Differencing?</h2>

<p>A raw GNSS pseudorange measurement from a receiver $r$ to a satellite $s$ can be written as:</p>

\[P_r^s = \rho_r^s + c\,(\delta t_r - \delta t^s) + I_r^s + T_r^s + \epsilon_P\]

<p>where $\rho_r^s$ is the geometric range, $c$ is the speed of light, $\delta t_r$ and $\delta t^s$ are the receiver and satellite clock biases, $I$ and $T$ represent ionospheric and tropospheric delays, and $\epsilon_P$ is the measurement noise.</p>

<p><strong>Single differencing</strong> between a rover receiver and a nearby base station eliminates the satellite clock bias $\delta t^s$ and greatly reduces atmospheric terms that are spatially correlated. <strong>Double differencing</strong> then takes the difference between two satellites (a reference satellite and a target satellite), which additionally eliminates the receiver clock bias $\delta t_r$. Using the operator $\Delta\nabla$ to denote the double difference:</p>

\[\Delta\nabla P = (\rho_r^i - \rho_b^i) - (\rho_r^j - \rho_b^j) + \epsilon_{\Delta\nabla P}\]

<p>where $i$ is the reference satellite, $j$ is the target satellite, $r$ is the rover, $b$ is the base station, and $\epsilon_{\Delta\nabla P}$ is the double-differenced noise. The result is a measurement that depends almost entirely on the rover position and geometry. A reference satellite is chosen <em>per constellation</em> (GPS, Galileo, BeiDou, QZSS, …), typically the one with a high elevation angle and strong signal strength.</p>

<p>For carrier-phase observations, the double-difference of the phase measurement $\Phi$ is:</p>

\[\Delta\nabla \Phi = \Delta\nabla \rho + \lambda \cdot (N_{\text{ref}} - N_{\text{target}}) + \epsilon_{\Delta\nabla \Phi}\]

<p>where $\Phi$ is the carrier-phase observable in meters, $\lambda$ is the carrier wavelength, $N$ is the integer ambiguity, and $\epsilon_{\Delta\nabla \Phi}$ is the noise. Carrier-phase measurements are far more precise than pseudorange (millimeter-level noise vs. meter-level), so resolving these integer ambiguities is the key to centimeter-level positioning.</p>

<h2 id="what-gtsam-now-provides">What GTSAM Now Provides</h2>

<p>GTSAM’s <code class="language-plaintext highlighter-rouge">navigation</code> module now includes four double-difference factors along with shared helpers, all contributed in <a href="https://github.com/borglab/gtsam/pull/2502">PR #2502</a>.</p>

<p>For each satellite pair, the user adds a <strong>pseudorange factor</strong> and a <strong>carrier-phase factor</strong> to the graph. The pseudorange factor is a unary factor on the rover position, while the carrier-phase factor additionally connects to ambiguity variables $N$ that persist across epochs (as long as no cycle slip occurs).</p>

<p>The basic factors, <code class="language-plaintext highlighter-rouge">DoubleDifferencePseudorangeFactor</code> and <code class="language-plaintext highlighter-rouge">DoubleDifferenceCarrierPhaseFactor</code>, take a <code class="language-plaintext highlighter-rouge">Point3</code> antenna position in ECEF directly. The lever-arm variants, <code class="language-plaintext highlighter-rouge">DoubleDifferencePseudorangeFactorArm</code> and <code class="language-plaintext highlighter-rouge">DoubleDifferenceCarrierPhaseFactorArm</code>, take a <code class="language-plaintext highlighter-rouge">Pose3</code> in the navigation frame plus a body-frame lever arm, computing the antenna position internally. These are essential for tightly-coupled IMU fusion, where the optimized state is the vehicle pose.</p>

<p>A shared helper, <code class="language-plaintext highlighter-rouge">gnss::DoubleDifferenceData</code>, bundles the rover/base observations and satellite positions for a given satellite pair and provides the Sagnac-corrected geometric range model $\Delta\nabla\rho(\cdot)$ with Jacobians. This keeps the individual factors thin. The <strong>pseudorange factor</strong> is <em>unary</em> in the rover antenna position $\mathbf{x}$ and simply evaluates the model-minus-observation residual:</p>

\[e_P(\mathbf{x}) = \Delta\nabla\rho(\mathbf{x}) - \Delta\nabla\tilde{P}\]

<p>The <strong>carrier-phase factor</strong> is <em>ternary</em>, connecting the rover position $\mathbf{x}$ to the two satellite ambiguities $N_\text{ref}$ and $N_\text{target}$, and adds the $\lambda \cdot (N_\text{ref} - N_\text{target})$ term on top:</p>

\[\begin{aligned}
e_\Phi(\mathbf{x}, N_\text{ref}, N_\text{target})
&amp;= \Delta\nabla\rho(\mathbf{x})
 + \lambda (N_\text{ref} - N_\text{target}) \\
&amp;\quad - \Delta\nabla\tilde{\Phi}
\end{aligned}\]

<p>where $\Delta\nabla\tilde{P}$ and $\Delta\nabla\tilde{\Phi}$ are the double-differenced pseudorange and carrier-phase observations. For the lever-arm variants the state $\mathbf{x}$ is a <code class="language-plaintext highlighter-rouge">Pose3</code> and the antenna position is obtained from the pose and body-frame lever arm before the same residual is evaluated.</p>

<p>GTSAM treats each $N$ as a continuous variable during optimization (the “float” solution). Integer fixing is done outside the graph: at each epoch the float estimates and covariance are handed to the LAMBDA algorithm, which searches for the most likely integer vector. Validated fixes are then enforced in one of two ways (fix-and-hold): either a tight prior factor is added on the corresponding $N$ variables, or the integer values are substituted as constants inside the carrier-phase factors so that $N$ no longer appears as a variable at all. A fixed ambiguity is held until a cycle slip on that satellite invalidates it, at which point the corresponding $N$ is reset and re-estimated as a float.</p>

<h2 id="tightly-coupled-gnss-imu-factor-graph">Tightly-Coupled GNSS-IMU Factor Graph</h2>

<p>The diagram below illustrates how these factors fit into a factor graph for tightly-coupled GNSS-IMU positioning. At each epoch, the rover pose is connected to a pair of double-difference factors per reference/target satellite pair: a pseudorange factor (red), which is unary on the pose, and a carrier-phase factor (blue), which additionally connects to <em>both</em> ambiguity variables of the pair — the reference-satellite ambiguity $N_\text{ref}$ and the target-satellite ambiguity $N_\text{target}$ — which persist across epochs. IMU pre-integration factors connect consecutive poses, bridging the gap when satellite signals are blocked.</p>

<figure class="center" style="width: 100%; max-width: 820px;">
  <img src="/assets/images/rtk-gnss/rtk-factor-graph.svg" alt="Factor graph for tightly-coupled GNSS-IMU positioning showing double-difference factors, ambiguity variables, and IMU factors." style="width: 100%;" />
  <figcaption>Factor graph for tightly-coupled GNSS-IMU RTK positioning. For each reference/target satellite pair, the double-difference pseudorange factor (red, unary on the pose) and carrier-phase factor (blue) form a pair. Each carrier-phase factor connects to the pose <em>and</em> both ambiguity variables of the pair, <em>N</em><sub>ref</sub> and <em>N</em><sub>tgt</sub>, which persist across epochs. IMU pre-integration factors (black) connect consecutive poses. The ambiguity variables are estimated as floats inside the graph and snapped to integers by LAMBDA outside the graph; once fixed they are either constrained with a tight prior or substituted as constants in the carrier-phase factors.</figcaption>
</figure>
<p><br /></p>

<p>By using the lever-arm factor variants, the rover state becomes a <code class="language-plaintext highlighter-rouge">Pose3</code> in the navigation frame, which can be directly connected to GTSAM’s IMU pre-integration factors. This tightly-coupled approach uses raw satellite measurements directly. The full covariance structure between position, velocity, and biases is maintained throughout the graph, and when buildings block satellite signals in urban canyons, the IMU bridges the gap while GNSS constrains long-term drift.</p>

<p>In practice, achieving centimeter-level accuracy requires additional infrastructure beyond the GTSAM factors themselves: satellite selection, cycle-slip detection, multipath mitigation, and integer ambiguity resolution (typically via the LAMBDA algorithm). Our implementation uses <a href="https://github.com/inuex35/cssrlib-numba">cssrlib-numba</a> for these observation-modeling tasks.</p>

<h2 id="results-on-ppc-dataset">Results on PPC-Dataset</h2>

<p>We evaluated the tightly-coupled system on the Tokyo sequences of the <a href="https://github.com/taroz/PPC-Dataset">PPC-Dataset</a>, an open dataset of urban driving in Japan. Tokyo’s dense urban canyons present a particularly challenging environment for GNSS positioning: tall buildings block direct line-of-sight to many satellites, and reflections produce multipath that corrupts both pseudorange and carrier-phase observations.</p>

<p>The evaluation uses the lever-arm DD factors together with <code class="language-plaintext highlighter-rouge">CombinedImuFactor</code>, non-holonomic constraint factors, and integer ambiguity variables resolved via LAMBDA with fix-and-hold. The graph is solved incrementally with <code class="language-plaintext highlighter-rouge">IncrementalFixedLagSmoother</code>.</p>

<figure class="center" style="width: 100%; max-width: 820px;">
  <img src="/assets/images/rtk-gnss/tokyo-result.png" alt="Trajectory results on three Tokyo urban driving sequences from the PPC-Dataset." style="width: 100%;" />
  <figcaption>Trajectory estimation results on three Tokyo urban driving sequences from the PPC-Dataset. Top row: estimated trajectories with ground truth (gray), float solutions (red), and ambiguity-fixed solutions (green). Bottom row: trajectories colored by 3D position error relative to the ground truth, using a blue-to-red colormap (clipped at 0.5 m; see colorbar).</figcaption>
</figure>
<p><br /></p>

<p>The three runs achieve <strong>49.6–67.8% fix rates</strong> and <strong>55.4–75.4% of epochs within 50 cm</strong> error. Fixed epochs are mostly accurate to a few centimeters, but occasional incorrect fixes inflate the RMS to 0.35–0.65 m.</p>

<p>With GNSS and IMU alone, the estimate drifts during long GNSS outages (under overpasses or in tunnels). Adding LiDAR or wheel odometry factors on the same poses keeps the estimate stable through these gaps.</p>

<h2 id="takeaway">Takeaway</h2>

<p>GTSAM now provides native support for RTK GNSS double-difference pseudorange and carrier-phase factors, an important step toward centimeter-level positioning in full GNSS pipelines. These factors integrate naturally with the existing factor graph framework, enabling tightly-coupled multi-sensor fusion with IMU, wheel odometry, or any other GTSAM factor. The lever-arm variants make it straightforward to model the physical offset between the navigation state and the antenna position.</p>

<h2 id="additional-reading">Additional Reading</h2>

<ul>
  <li>The DD factors are available in GTSAM’s <code class="language-plaintext highlighter-rouge">navigation</code> module (<a href="https://github.com/borglab/gtsam/pull/2502">PR #2502</a>)</li>
  <li><strong><a href="https://github.com/inuex35/gnss-gtsam-rtk">gnss-gtsam-rtk</a></strong>: A standalone RTK example using GTSAM’s DD factors with ISAM2</li>
  <li><strong><a href="https://github.com/inuex35/tightly-coupled-gnss-imu-fgo">tightly-coupled-gnss-imu-fgo</a></strong>: Tightly-coupled GNSS-IMU factor graph optimization for urban driving</li>
  <li><strong><a href="https://github.com/taroz/PPC-Dataset">PPC-Dataset</a></strong>: Open dataset with multi-frequency GNSS and 100 Hz IMU data from urban environments in Japan</li>
</ul>

<p><em>Disclosure: AI was used to help draft this post.</em></p>]]></content><author><name></name></author><summary type="html"><![CDATA[Author: Kosuke Inoue, independent researcher]]></summary></entry><entry><title type="html">Certifiable Optimization, Part 3: Global Solvers for 3D Vision</title><link href="http://gtsam.org/2026/06/05/luca-heng-global-solvers.html" rel="alternate" type="text/html" title="Certifiable Optimization, Part 3: Global Solvers for 3D Vision" /><published>2026-06-05T00:00:00+00:00</published><updated>2026-06-05T00:00:00+00:00</updated><id>http://gtsam.org/2026/06/05/luca-heng-global-solvers</id><content type="html" xml:base="http://gtsam.org/2026/06/05/luca-heng-global-solvers.html"><![CDATA[<p>Author: <a href="https://dellaert.github.io/">Frank Dellaert</a></p>

<!-- - TOC -->

<p>This third and final ICRA-week post zooms out to the broader global-solvers ecosystem.
<a href="/2026/06/01/icra-for-workshop.html">Part 1</a> focused on our chordal-sparsity work, which uses Bayes-tree structure to make SDP relaxations more scalable.
<a href="/2026/06/03/certifiable-factor-graphs.html">Part 2</a> focused on David Rosen’s group’s <a href="https://openreview.net/forum?id=hAtI0KkdAg">Certifiable Factor Graph Optimization</a>, which approaches related factor-graph problems through Burer-Monteiro-style low-rank optimization.
But these are only two efforts in a broader push toward global solvers for 3D vision and robot perception, a lot of it started by Luca Carlone &amp; collaborators over the last 10 years. At ICRA this year we were very fortunate to have a workshop keynote by Heng Yang, his former Ph.D. student and now a professor at Harvard:</p>

<ul>
  <li><a href="https://sites.google.com/robotics.utias.utoronto.ca/icra26-frontiers-optimization/schedule">Scaling Semidefinite Relaxations for Robot Perception and Control</a> at the <a href="https://sites.google.com/robotics.utias.utoronto.ca/icra26-frontiers-optimization/">Frontiers of Optimization for Robotics workshop</a>.</li>
</ul>

<p>So, in this Part 3, I want to draw some attention to Luca and Heng’s seminal work in this area</p>

<h2 id="a-short-lineage">A short lineage</h2>

<p>One way to see the field’s trajectory is through rotation estimation, pose-graph optimization, and registration. Our 2015 ICRA paper, <a href="https://repository.gatech.edu/entities/publication/ae22ec18-65d1-4075-8c0b-55c694ac5467">Initialization Techniques for 3D SLAM</a>, was about making hard nonconvex SLAM problems behave better by separating out the rotation-estimation structure before running local pose-graph optimization. At MIT, David Rosen pioneered <a href="https://arxiv.org/abs/1612.07386">SE-Sync</a>, which showed how pose synchronization over <code class="language-plaintext highlighter-rouge">SE(d)</code> could be solved efficiently while certifying global optimality in the relevant noise regime. I also worked with David and Luca and others on <a href="https://arxiv.org/abs/2008.02737">Shonan Rotation Averaging</a>, that connected SDP relaxation and manifold optimization to large-scale rotation averaging.</p>

<p>Heng and Luca then pushed certifiable registration toward extreme outlier robustness in the context of point cloud registration, with <a href="https://arxiv.org/abs/2001.07715">TEASER, by Heng Yang, Jingnan Shi, and Luca Carlone</a>. This paper already has &gt; 1100 citations, and Heng has been on a convex relaxation binge since then!</p>

<h2 id="global-solvers-for-3d-vision">Global solvers for 3D vision</h2>

<p>A lot of the recent developments in this area, by Heng and others, were collected in the workshop paper <a href="https://openreview.net/forum?id=D1bVYYUh8m">Global Solvers for 3D Vision: Foundations, Frontiers, and a Call to the Robotics Community</a>. A longer-form version with Heng as a co-author is available on Arxiv here: <a href="https://arxiv.org/abs/2602.14662">Advances in Global Solvers for 3D Vision</a>.</p>

<figure class="center" style="width: 100%; max-width: 1100px; text-align: center;">
  <img src="/assets/images/global-solvers-2026/global-solvers-taxonomy.png" alt="Taxonomy of global solvers for 3D vision, including branch-and-bound, convex relaxation, graduated non-convexity, comparative analysis, and applications." style="width: 100%; display: block; margin-left: auto; margin-right: auto;" />
  <figcaption>Global solvers for 3D vision span branch-and-bound, convex relaxation, and graduated non-convexity, with applications from Wahba's problem to bundle adjustment. Figure adapted from the Zhao et al. survey.</figcaption>
</figure>
<p><br /></p>

<p>If you’re interested in knowing more, that survey is a very useful entry point. The authors introduce branch-and-bound (B&amp;B), convex relaxation (CR), and graduated non-convexity (GNC) in the context of geometric estimation problems that show up constantly in robot perception, for example absolute and relative pose estimation, 3D registration, rotation and translation averaging, and even full bundle adjustment.</p>

<h2 id="back-to-gtsam">Back to GTSAM</h2>

<p>The recent <a href="/2026/05/13/qp-qcqp-in-gtsam.html">QP and QCQP support in GTSAM</a> is a preview of the modeling layer needed to lift, relax, decompose, and eventually certify factor-graph problems. We hope to bring certifiable optimization to GTSAM soon, and I hope this will allow more robotics people to join in the fun!</p>

<h2 id="further-browsing">Further browsing</h2>

<ul>
  <li><a href="https://openreview.net/forum?id=D1bVYYUh8m">Workshop paper: Global Solvers for 3D Vision</a></li>
  <li><a href="https://arxiv.org/abs/2602.14662">ArXiv: Advances in Global Solvers for 3D Vision</a></li>
  <li><a href="https://openreview.net/forum?id=hAtI0KkdAg">OpenReview: Certifiable Factor Graph Optimization</a></li>
  <li><a href="https://arxiv.org/abs/1612.07386">ArXiv: SE-Sync</a></li>
  <li><a href="https://arxiv.org/abs/2001.07715">ArXiv: TEASER</a></li>
  <li><a href="https://arxiv.org/abs/2008.02737">ArXiv: Shonan Rotation Averaging</a></li>
  <li><a href="/2026/06/01/icra-for-workshop.html">Post: Certifiable Optimization at the ICRA Workshop</a></li>
  <li><a href="/2026/05/13/qp-qcqp-in-gtsam.html">Post: Quadratic Programs and QCQPs in GTSAM</a></li>
</ul>

<p><em>Disclosure: AI was used to help draft this post and prepare the figure.</em></p>]]></content><author><name></name></author><summary type="html"><![CDATA[Author: Frank Dellaert]]></summary></entry><entry><title type="html">Certifiable Optimization, Part 2: Certifiable Factor Graph Optimization</title><link href="http://gtsam.org/2026/06/03/certifiable-factor-graphs.html" rel="alternate" type="text/html" title="Certifiable Optimization, Part 2: Certifiable Factor Graph Optimization" /><published>2026-06-03T00:00:00+00:00</published><updated>2026-06-03T00:00:00+00:00</updated><id>http://gtsam.org/2026/06/03/certifiable-factor-graphs</id><content type="html" xml:base="http://gtsam.org/2026/06/03/certifiable-factor-graphs.html"><![CDATA[<p>Author: <a href="https://david-m-rosen.github.io/">David M. Rosen</a></p>

<!-- - TOC -->

<p>Certifiable estimation is rapidly maturing as a practical tool for robust robotic perception and state estimation, enabling both <em>fast</em> and <em>certifiably correct</em> (i.e. <em>verifiably globally optimal</em>) inference.  Frank’s <a href="/2026/06/01/icra-for-workshop.html">companion post</a> highlights one way to implement certifiable estimators in GTSAM by exploiting the Bayes Tree  to perform chordal decomposition; here we describe complementary work from <a href="https://neural.lab.northeastern.edu/">Northeastern</a> that exploits <a href="https://arxiv.org/abs/2410.00117">Burer-Monteiro factorization</a> to implement certifiable estimation using the factor graph modeling and <em>local</em> optimization paradigm already familiar to users of GTSAM.</p>

<p>Our workshop paper is:</p>

<blockquote>
  <p><a href="https://arxiv.org/abs/2603.01267">Certifiable Factor Graph Optimization</a>, by <a href="https://zhexin1904.github.io/">Zhexin (Jason) Xu</a>, <a href="https://www.linkedin.com/in/niksand">Nikolas R. Sanderson</a>, <a href="https://www.linkedin.com/in/hannajiameizhang/">Hanna Jiamei Zhang</a>, and <a href="https://david-m-rosen.github.io/">David M. Rosen</a>. Workshop page: <a href="https://openreview.net/forum?id=hAtI0KkdAg">OpenReview</a>.</p>
</blockquote>

<h2 id="two-paradigms-for-robotic-state-estimation">Two paradigms for robotic state estimation</h2>

<p>Factor graphs are well-established as the dominant paradigm for modeling and solving robotic state estimation tasks, primarily because they are so wonderfully easy to use. The factor graph abstraction that GTSAM is built on lets you easily model a wide range of estimation problems by composing a handful of standard variable and factor types; moreover, GTSAM can <em>automatically</em> synthesize and run fast local optimizers to perform inference directly from a factor graph model. The catch is <em>reliability</em>: because factor graph inference is typically performed using <em>local</em> optimization, it can sometimes silently converge to a badly wrong estimate, even on a well-posed problem.</p>

<p>More recently, <em>certifiable estimation</em> has emerged as a powerful new approach for implementing trustworthy robotic perception and state estimation systems.  The main idea behind certifiable estimators is to construct a <em>convex</em> (typically <em>semidefinite</em>) <em>approximation</em> of the target maximum likelihood estimation problem, and then solve this convex surrogate to recover a high-quality solution to the original estimation task.  This approach has three major advantages. First, because the surrogate is convex, it <em>can</em> be solved globally. Second, its minimizer often turns out to be an <em>exact, globally optimal solution</em> of the original problem. Third, these methods yield an <em>a posteriori certificate of optimality</em> whenever they succeed — that is, they can tell you whether they actually found the right answer.</p>

<p>However, the catch to using certifiable estimation methods is <em>effort</em>: the SDP relaxations underpinning these methods are typically very high-dimensional, and therefore require specialized, structure-exploiting optimization techniques in order to solve them efficiently.   The standard pipeline for deploying a high-dimensional certifiable estimator thus involves developing a problem-specific SDP relaxation, designing a custom-built <em>local</em> optimizer for its (low-dimensional) Burer-Monteiro factorization, and then wrapping that optimizer in the Riemannian Staircase to ensure global optimality.  Executing this process can require <em>weeks to months</em> of specialized effort, which must be repeated from scratch for every new problem.</p>

<h2 id="the-key-insight-certifiable-estimation-inherits-factor-graph-structure">The key insight: Certifiable estimation inherits factor graph structure</h2>

<p>The standard pipeline treats the SDP machinery and the factor graph model as separate worlds. Our central observation is that they aren’t: the two transformations at the heart of certifiable estimation — Shor’s relaxation and Burer-Monteiro factorization — <em>preserve the factor graph structure</em> of the problem that they start from.</p>

<p>The reason is almost embarrassingly simple. The maximum likelihood problems we care about can be written as <em>quadratically-constrained quadratic programs</em> (QCQPs), and the factor graph structure of such a QCQP is encoded directly in the data matrices that define it: factor connectivity shows up as <em>block sparsity</em> in the objective matrices, and the product structure of the feasible set shows up as <em>block-diagonal</em> constraint matrices. The key point is that the <em>same data matrices</em> that define the original QCQP <em>also</em> define its Shor relaxation, as well as <em>every Burer-Monteiro factorization</em> of that relaxation. None of this structure is lost along the way!</p>

<p>The consequence is that the Burer-Monteiro-factored Shor relaxation <em>automatically inherits</em> a factor graph structure from the original estimation problem. This induced factor graph has <em>identical connectivity</em> to the original; only the variables and factors themselves change. And these change in the simplest possible way: each is a (slightly) higher-dimensional, one-to-one algebraic transformation — a <em>lift</em> — of its counterpart in the original factor graph. For example, a rotation variable lifts to a Stiefel-manifold variable, a unit vector lifts to a higher-dimensional unit vector, a translation lifts to a (higher-dimensional) translation, and the factors lift accordingly. We call the resulting factor graph a <em>lifted</em> (or <em>certifiable</em>) factor graph.</p>

<figure class="center" style="width: 100%;  text-align: left;">
  <img src="/assets/images/certifiable-factor-graphs/framework.png" alt="Framework diagram showing an input factor graph and QCQP lifted into a Burer-Monteiro factor graph inside a Riemannian Staircase." style="width: 100%; display: block; margin-left: auto; margin-right: auto;" />
  <figcaption>The factor graph for the Burer-Monteiro-factored Shor relaxation has the same connectivity as the original QCQP's factor graph; only the variable and factor types change, and these do so according to simple one-to-one algebraic transformations.</figcaption>
</figure>
<p><br /></p>

<h2 id="certifiable-estimation-is-factor-graph-optimization">Certifiable estimation <em>is</em> factor graph optimization</h2>

<p>Because the Burer-Monteiro-factored Shor relaxation <em>is itself</em> a factor graph, the local optimizations appearing inside the Riemannian Staircase can be carried out by an ordinary factor graph optimizer — exactly what GTSAM is built to do. Consequently, the Riemannian Staircase meta-algorithm for certifiable estimation collapses to a thin wrapper around standard local factor graph optimization:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Input: factor graph G for a QCQP-representable MLE problem
for p = d, d+1, ... do
    build lifted factor graph G_p for the rank-p BM factorization of G
    Y* &lt;- LocalOptimization(G_p)        # ordinary factor graph optimization
    if Z = Y*(Y*)^T certifiably solves Shor's relaxation:
        return Y*                       # globally optimal!
end
</code></pre></div></div>

<p>For anyone already comfortable with factor graphs, this turns certifiable estimation from a research project into a modeling exercise. You take a factor graph model of your problem, replace each variable and factor with its lifted counterpart, and hand the result to the optimizer you already use. No problem-specific SDP derivation, no custom Riemannian solver, no hand-analysis of manifold geometry — and yet the Staircase still guarantees recovery of a globally optimal solution, with a certificate.</p>

<figure class="center" style="width: 100%; max-width: 980px; text-align: center;">
  <img src="/assets/images/certifiable-factor-graphs/CertiFGO.png" alt="Astronaut meme: 'Certifiable estimation is just factor graph optimization?' / 'Always has been.'" style="width: 100%; display: block; margin-left: auto; margin-right: auto;" />
  <figcaption>It's factor graphs all the way down!</figcaption>
</figure>
<p><br /></p>

<h2 id="experiments">Experiments</h2>

<p>We implemented our certifiable factor graph optimization framework in GTSAM and evaluated it on three problem classes — pose-graph optimization, landmark SLAM, and range-aided SLAM — across a broad set of standard benchmarks. Two findings stand out:</p>

<ul>
  <li>
    <p>It <strong>matches purpose-built certifiable estimators.</strong> Our general-purpose factor graph-based  estimator recovers the same objective values and the same certified suboptimality bounds as the specialized, hand-engineered solvers <a href="https://journals.sagepub.com/doi/10.1177/0278364918784361">SE-Sync</a>, <a href="https://ieeexplore.ieee.org/document/9143200">Landmark SE-Sync</a>, and <a href="https://ieeexplore.ieee.org/document/10665918">CORA</a> — all because it is solving the very same underlying relaxations.</p>
  </li>
  <li>
    <p>It <strong>preserves the speed of local factor graph optimization.</strong> When the initialization is already good, the method terminates at the first level of the Staircase after a single local solve (plus a <a href="https://ieeexplore.ieee.org/document/9940527">cheap verification step</a>), behaving just like ordinary factor graph optimization. It only invokes the full Staircase machinery when global optimality cannot be certified, and even then the cost scales roughly linearly in the number of levels.</p>
  </li>
</ul>

<figure class="center" style="width: 100%; max-width: 980px; text-align: left;">
  <img src="/assets/images/certifiable-factor-graphs/benchmarks.png" alt="Globally optimal solutions for pose graph optimization, landmark SLAM, and range-aided SLAM benchmarks." style="width: 100%; display: block; margin-left: auto; margin-right: auto;" />
  <figcaption>Globally optimal or certifiably near-optimal solutions recovered on pose graph optimization, landmark SLAM, and range-aided SLAM benchmarks.</figcaption>
</figure>
<p><br /></p>

<p>In short, you get the global-optimality guarantees of a specialized certifiable estimator at essentially the cost of a standard local solve — and the development effort drops from the <em>weeks-to-months</em> of the bespoke pipeline to a <em>few hours</em> of modeling with standard GTSAM factor graphs.</p>

<h2 id="why-this-matters-for-gtsam">Why this matters for GTSAM</h2>

<p>Certifiable factor graph optimization provides a path for bringing certifiable estimation into the software stack roboticists already use. Instead of choosing between a convenient local factor graph model and a separate bespoke certifiable solver, the same model can now support <em>both</em> fast local optimization <em>and</em> global optimality guarantees.</p>

<p>This fits naturally with GTSAM’s recent <a href="/2026/05/13/qp-qcqp-in-gtsam.html">QP and QCQP support</a>. QCQPs provide the algebraic bridge from factor graph estimation problems to semidefinite relaxations, while GTSAM already provides the factor graph abstraction, sparse optimization machinery, and many of the variable and factor types used in robotics. Our implementation in the paper is built in C++ using GTSAM, and the broader goal is to make certifiable estimation a reusable part of the factor graph workflow rather than a separate custom project for each new problem.</p>

<h2 id="further-browsing">Further browsing</h2>

<ul>
  <li><a href="https://sites.google.com/robotics.utias.utoronto.ca/icra26-frontiers-optimization/">Frontiers of Optimization for Robotics workshop</a></li>
  <li><a href="https://arxiv.org/abs/2603.01267">Arxiv: Certifiable Factor Graph Optimization</a></li>
  <li><a href="https://openreview.net/forum?id=hAtI0KkdAg">OpenReview: Certifiable Factor Graph Optimization</a></li>
  <li><a href="https://github.com/SLAM-Handbook-contributors/slam-handbook-public-release/blob/main/main.pdf">The SLAM Handbook (Chapter 6)</a></li>
  <li><a href="/2026/06/01/icra-for-workshop.html">Post: Certifiable Optimization at the ICRA Workshop</a></li>
  <li><a href="/2026/05/13/qp-qcqp-in-gtsam.html">Post: Quadratic Programs and QCQPs in GTSAM</a></li>
</ul>

<p><em>Disclosure: AI was used to help draft this post and prepare the figures.</em></p>]]></content><author><name></name></author><summary type="html"><![CDATA[Author: David M. Rosen]]></summary></entry><entry><title type="html">Certifiable Optimization, Part 1: Exploiting Chordal Sparsity with Bayes Trees</title><link href="http://gtsam.org/2026/06/01/icra-for-workshop.html" rel="alternate" type="text/html" title="Certifiable Optimization, Part 1: Exploiting Chordal Sparsity with Bayes Trees" /><published>2026-06-01T00:00:00+00:00</published><updated>2026-06-01T00:00:00+00:00</updated><id>http://gtsam.org/2026/06/01/icra-for-workshop</id><content type="html" xml:base="http://gtsam.org/2026/06/01/icra-for-workshop.html"><![CDATA[<p>Author: <a href="https://dellaert.github.io/">Frank Dellaert</a></p>

<!-- - TOC -->

<p>This post focuses on our chordal-sparsity paper, while last week’s post already covered <a href="/2026/05/26/two-new-arxiv-papers.html">CMC-Opt and our new legged-robot estimators</a>, including Yetong Zhang’s workshop paper on constraint manifolds with corners.
Both papers will be presented at the <a href="https://sites.google.com/robotics.utias.utoronto.ca/icra26-frontiers-optimization/">Frontiers of Optimization for Robotics workshop</a> at ICRA shows how much momentum there is right now around certifiable optimization, convex relaxation, and structure-exploiting solvers for robotics.</p>

<h2 id="chordal-sparsity">Chordal sparsity</h2>

<figure class="center" style="width: 100%; max-width: 1100px; text-align: center;">
  <img src="/assets/images/icra-for-2026/chordal-framework.png" alt="Factor graph lifted to a QCQP, converted to a Bayes tree, and decomposed into clique-wise semidefinite variables." style="width: 100%; display: block; margin-left: auto; margin-right: auto;" />
  <figcaption>From a factor graph to a lifted QCQP, then through the Bayes tree to a chordally decomposed SDP relaxation.</figcaption>
</figure>
<p><br /></p>

<p>The chordal-sparsity paper is here:</p>

<blockquote>
  <p><a href="https://arxiv.org/abs/2605.30617">Exploiting Chordal Sparsity for Globally Optimal Estimation with Factor Graphs</a>, by Avinash Subramanian, <a href="https://www.linkedin.com/in/connor-holmes-538726109/">Connor Holmes</a>, <a href="https://asrl.utias.utoronto.ca/~tdb/">Timothy D. Barfoot</a>, <a href="https://dellaert.github.io/">Frank Dellaert</a>, and <a href="https://duembgen.github.io/">Frederike Dümbgen</a>.</p>
</blockquote>

<p>The paper combines factor-graphs and structured optimization via the Bayes-tree with the certifiable-estimation viewpoint that Connor, Tim, and Frederike have helped push forward at the University of Toronto.
Local solvers such as Gauss-Newton and Levenberg-Marquardt are fast and exploit sparsity beautifully, but they do not promise that the answer is globally optimal. Convex SDP relaxations can give global solutions or certificates, but the naive monolithic SDP is usually too expensive.</p>

<p>Our contribution is to make the relaxation respect the graph structure. Starting from a GTSAM factor graph, we lift the problem to a QCQP, construct the Bayes tree through variable elimination, and use the resulting cliques to build a chordally decomposed SDP. In plain terms: instead of solving one <em>enormous</em> positive semidefinite matrix problem, we solve many smaller clique-wise matrix problems that follow the same sparse structure GTSAM already understands.</p>

<figure class="center" style="width: 100%; max-width: 820px; text-align: center;">
  <img src="/assets/images/icra-for-2026/chordal-ring-solver-time.png" alt="Solver time scaling for a 3D pose-graph SLAM ring factor graph comparing monolithic SDP, chordal SDP, and local solvers." style="width: 90%; display: block; margin-left: auto; margin-right: auto;" />
  <figcaption>For the 3D ring pose-graph example, the chordal estimator scales much better than the monolithic SDP while retaining global-optimality guarantees when the relaxation is tight.</figcaption>
</figure>
<p><br /></p>

<p>The graph above shows the benefit of using the cliques of the Bayes tree: the chordal approach is not as fast a a local solver, but it is <em>globally optimal</em>, at a cost that is vastly less than a monolithic SDP solver, which OOMs on problems of moderate size.</p>

<h2 id="the-certifiable-wave">The certifiable wave</h2>

<p>The workshop has several papers that combine certifiable optimization, convex relaxations, and structure-exploiting solvers, which is fast becoming a theme in both estimation and control. Our chordal-sparsity paper is part of the “certifiable wave”, but here are many other papers touching on the theme:</p>

<ul>
  <li><a href="https://openreview.net/forum?id=hAtI0KkdAg">Certifiable Factor Graph Optimization</a>, by Zhexin Xu, Nikolas R. Sanderson, Hanna Jiamei Zhang, and David M. Rosen.</li>
  <li><a href="https://openreview.net/forum?id=SYsWOHYCx0">Low-Degree Implied Equalities for Strengthening Semidefinite Relaxations</a>, by Alexandre Amice, Bernhard Paus Graesdal, Russ Tedrake, and Pablo A. Parrilo.</li>
  <li><a href="https://openreview.net/forum?id=Kp1BbGAbCG">A Generalized Theorem of the Alternative for Certifiable Optimization with Redundant Constraints</a>, by Hanna Jiamei Zhang, Alan Papalia, Michael Everett, and David M. Rosen.</li>
  <li><a href="https://openreview.net/forum?id=GO890Hiwc2">Tightening Mixed-Integer Convex Relaxations for Efficient Temporal Logic Motion Planning via Logic Network Flow</a>, by Xuan Lin, Jiming Ren, Yandong Luo, Weijun Xie, and Ye Zhao.</li>
  <li><a href="https://openreview.net/forum?id=D1bVYYUh8m">Global Solvers for 3D Vision: Foundations, Frontiers, and a Call to the Robotics Community</a>, by Zhenjun Zhao and Javier Civera.</li>
</ul>

<h2 id="gtsam-preview">GTSAM preview</h2>

<p>I am exited to announce that soon GTSAM will support certifiable estimation in a big way, based on the recent <a href="/2026/05/13/qp-qcqp-in-gtsam.html">QP and QCQP support in GTSAM</a>. QCQPs are a natural bridge between factor-graph models and many convex-relaxation pipelines: once a nonconvex estimation problem is lifted into a quadratically constrained quadratic form, semidefinite relaxations and certificates can be handled ina  systematic way. Keep watching this space !</p>

<h2 id="further-browsing">Further browsing</h2>

<ul>
  <li><a href="https://sites.google.com/robotics.utias.utoronto.ca/icra26-frontiers-optimization/">Frontiers of Optimization for Robotics workshop</a></li>
  <li><a href="https://sites.google.com/robotics.utias.utoronto.ca/icra26-frontiers-optimization/accepted-contributions">Accepted contributions</a></li>
  <li><a href="https://arxiv.org/abs/2605.30617">Arxiv: Exploiting Chordal Sparsity for Globally Optimal Estimation with Factor Graphs</a></li>
  <li><a href="/2026/05/26/two-new-arxiv-papers.html">Post: Last week’s post on CMC-Opt and legged estimators</a></li>
  <li><a href="/2026/05/13/qp-qcqp-in-gtsam.html">Post: Quadratic Programs and QCQPs in GTSAM</a></li>
</ul>

<p><em>Disclosure: AI was used to help draft this post and prepare the figures.</em></p>]]></content><author><name></name></author><summary type="html"><![CDATA[Author: Frank Dellaert]]></summary></entry><entry><title type="html">Speaking of Legged Robots</title><link href="http://gtsam.org/2026/05/26/two-new-arxiv-papers.html" rel="alternate" type="text/html" title="Speaking of Legged Robots" /><published>2026-05-26T00:00:00+00:00</published><updated>2026-05-26T00:00:00+00:00</updated><id>http://gtsam.org/2026/05/26/two-new-arxiv-papers</id><content type="html" xml:base="http://gtsam.org/2026/05/26/two-new-arxiv-papers.html"><![CDATA[<p>Author: <a href="https://dellaert.github.io/">Frank Dellaert</a></p>

<!-- - TOC -->

<p>On June 1, I will be presenting <a href="https://arxiv.org/abs/2605.20796">CMC-Opt</a>, new work by <a href="https://www.cc.gatech.edu/people/yetong-zhang">Yetong Zhang</a> on constraint manifolds with corners, at the <a href="https://sites.google.com/robotics.utias.utoronto.ca/icra26-frontiers-optimization/">Frontiers of Optimization for Robotics workshop</a> at ICRA. The paper is now available on arXiv:</p>

<blockquote>
  <p><a href="https://arxiv.org/abs/2605.20796">CMC-Opt: Constraint Manifold with Corners for Inequality-Constrained Optimization</a>, by <a href="https://www.cc.gatech.edu/people/yetong-zhang">Yetong Zhang</a> and <a href="https://dellaert.github.io/">Frank Dellaert</a>.</p>
</blockquote>

<p>The paper presents a new way to use manifold optimization to solve large inequality-constrained optimization problems, such as state estimation and motion planning in legged systems: think quadrupeds and humanoids.</p>

<p>Speaking of legged systems, I’m also excited to announce more details and extensive experimental results on the four simple proprioceptive estimators for legged robots that we recently added to GTSAM. This work was done in collaboration with my recently graduated Ph.D. student <a href="https://varunagrawal.github.io/">Varun Agrawal</a>, and with the awesome <a href="https://chiyunnoh.github.io/">Chiyun Noh</a> and <a href="https://ayoungk.github.io/">Ayoung Kim</a> from the <a href="https://rpm.snu.ac.kr/">RPM Robotics Lab</a> at Seoul National University (SNU):</p>

<blockquote>
  <p><a href="https://arxiv.org/abs/2605.23100">Four Simple Proprioceptive Estimators for Legged Robots</a> by <a href="https://dellaert.github.io/">Frank Dellaert</a>, <a href="https://chiyunnoh.github.io/">Chiyun Noh</a>, <a href="https://varunagrawal.github.io/">Varun Agrawal</a>, and <a href="https://ayoungk.github.io/">Ayoung Kim</a>.</p>
</blockquote>

<p>What these two papers have in common is that we turn the many constraints in legged systems (and robotic systems in general) into factor graphs that can be <em>optimized</em> to do both perception and planning. Some might say it’s <a href="/2026/04/21/factor-graphs-and-world-models.html">sense-think-act with factor graphs</a>.</p>

<h2 id="cmc-opt-at-icra">CMC-Opt at ICRA</h2>

<figure class="center" style="width: 100%; max-width: 920px; text-align: center;">
  <img src="/assets/images/arxiv-may-2026/cmc-manifold-with-corners.png" alt="Constraint manifolds with corners, tangent spaces, and retraction examples." style="width: 90%; display: block; margin-left: auto; margin-right: auto;" />
  <figcaption>Constraint manifolds with corners: feasible geometry, tangent spaces, and retractions.</figcaption>
</figure>
<p><br /></p>

<p>The core idea in <a href="https://arxiv.org/abs/2605.20796">CMC-Opt</a> is to transform the hard problem of constrained optimization into an <em>unconstrained</em> problem directly on the feasible state space. <a href="https://www.cc.gatech.edu/people/yetong-zhang">Yetong Zhang</a>, who is now on the motion planning team at <a href="https://waymo.com/">Waymo</a>, did a Ph.D. thesis with me on using geometry to make constrained robotic inference and planning problems easier to solve.
The figure above illustrates <strong>constraint manifolds with corners</strong>, which can capture nonlinear equalities <em>and</em> inequalities.</p>

<figure class="center" style="width: 100%; max-width: 920px; text-align: center;">
  <img src="/assets/images/arxiv-may-2026/cmc-quadruped-trajectory.png" alt="Quadruped jumping trajectory comparison for penalty optimization and CMC-Opt." style="width: 80%; display: block; margin-left: auto; margin-right: auto;" />
  <figcaption>Quadruped jumping example: penalty baseline versus CMC-Opt.</figcaption>
</figure>

<p>Instead of using a monolithic classical constraint solver, his idea was to use the sparse graph structure and manifold optimization (as GTSAM provides) to create new manifolds out of the original variables and the constraints that involve them. Yetong created an algorithm to automatically identify “constraint-connected components” and turn them into new manifold types: lower-dimensional feasible spaces that reflect the robot’s inherent topological structure. The result is a new, coarser factor graph, which can really pay off in kinodynamic motion planning. For example, in the quadruped jumping example illustrated above, the search space drops from 32,194 dimensions to 2,260, and constraints will be satisfied <em>by construction</em>.</p>

<p>This is a continuation of the CM-Opt work that previously appeared at ICRA 2023 as <a href="https://ieeexplore.ieee.org/document/10161024">Constraint Manifolds for Robotic Inference and Planning</a>.</p>

<h2 id="legged-robot-estimators">Legged robot estimators</h2>

<p>The <a href="https://arxiv.org/abs/2605.23100">second paper</a> is just as exciting! In a previous post, <a href="/2026/03/17/legged-state-estimation-part2.html">Legged State Estimation</a>, I wrote about four simple <em>proprioceptive</em> estimators for legged robots, i.e., they only use an IMU and internal joint angles over time to determine the trajectory of the robot. They are basically KISS-style versions of the ideas first explored by <a href="https://infoscience.epfl.ch/server/api/core/bitstreams/bb6c046d-6633-4c8c-8a5f-f8729667c6b6/content">Michael Bloesch et al.</a> and <a href="https://arxiv.org/abs/1904.09251">Ross Hartley et al.</a>, and our own <a href="https://arxiv.org/abs/2209.05644">Humanoids 2022 publication</a>, where footholds are treated as landmarks: <a href="https://en.wikipedia.org/wiki/Footloose">foot SLAM</a>, so to speak.</p>

<p><a href="https://varunagrawal.github.io/">Varun Agrawal</a> was instrumental in creating legged-robot locomotion and estimation capabilities in the same factor-graph style used elsewhere in GTSAM, and those four estimators were directly inspired by his work. All four variants <a href="https://borglab.github.io/gtsam/leggedestimator/">are available in GTSAM</a>.
But the question remained: how well do they perform on real, hardcore data?</p>

<figure class="center" style="width: 100%; max-width: 720px; text-align: center;">
  <img src="/assets/images/arxiv-may-2026/garliLeo-spot-platform.png" alt="Boston Dynamics Spot robot used for the GaRLILEO dataset." style="width: 50%; display: block; margin-left: auto; margin-right: auto;" />
  <figcaption>The Boston Dynamics Spot at SNU, platform used in the GaRLILEO dataset.</figcaption>
</figure>

<p>Enter the collaboration with <a href="https://chiyunnoh.github.io/">Chiyun Noh</a> and <a href="https://ayoungk.github.io/">Ayoung Kim</a> at Seoul National University (SNU): their group has done amazing work in LiDAR- and radar-based state estimation and was kind enough to help us properly evaluate our new estimators, using the data they painstakingly collected with a Boston Dynamics Spot robot to create the <a href="https://garlileo.github.io/GaRLILEO/">GaRLILEO dataset</a>.
And, to top it off, Chiyun created a <a href="https://github.com/ChiyunNoh/GTSAM-Legged-Estimator-ROS2">ROS2-compatible implementation</a>, so you can try it yourself!</p>

<figure class="center" style="width: 100%; max-width: 920px; text-align: center;">
  <img src="/assets/images/arxiv-may-2026/legged-trajectory-comparison.png" alt="Representative trajectory comparisons for four proprioceptive legged estimators." style="width: 80%; display: block; margin-left: auto; margin-right: auto;" />
  <figcaption>Representative trajectory comparisons for invariant filtering, local graph updates, and fixed-lag smoothing, with and without evolving bias. (a) "CorriLoop" emphasizes horizontal loop consistency, while (b) "Downstair" highlights vertical tracking during sustained elevation change.</figcaption>
</figure>

<p>The main discovery, hinted at in the figure above: the simple GTSAM legged estimators are not half bad, one might even say they are pretty good! <em>In this dataset</em> they beat out all of the state-of-the-art estimators that we tested them against. This is absolutely not the end of the story: we are working to test these estimators in several other environments and against other recent estimators. But for something that originated as an example in my <a href="https://dellaert.github.io/26S-AMR/">advanced robotics class</a>, they are at the very least very good baselines to test against.</p>

<p>Of course, these “blind” estimators are just the basis for a practical robot perception system. You need to fuse these with an external sensor, such as vision, LiDAR, or radar, which is exactly what <a href="https://ayoungk.github.io/">Ayoung Kim</a>’s group excels at doing. But it’s good to start from an estimator that at least keeps very good track of where you walk while closing your eyes!</p>

<h2 id="further-browsing">Further browsing</h2>

<ul>
  <li><a href="https://sites.google.com/robotics.utias.utoronto.ca/icra26-frontiers-optimization/">Frontiers of Optimization for Robotics workshop</a></li>
  <li>arXiv link: <a href="https://arxiv.org/abs/2605.20796">CMC-Opt: Constraint Manifold with Corners for Inequality-Constrained Optimization</a>.</li>
  <li>blog post: <a href="/2026/03/17/legged-state-estimation-part2.html">Legged State Estimation</a></li>
  <li>arXiv link: <a href="https://arxiv.org/abs/2605.23100">Four Simple Proprioceptive Estimators for Legged Robots</a>.</li>
  <li>STAG: <a href="/2026/04/21/factor-graphs-and-world-models.html">sense-think-act with factor graphs</a></li>
</ul>

<p><em>Disclosure: AI was used to help draft this post and prepare the figures.</em></p>]]></content><author><name></name></author><summary type="html"><![CDATA[Author: Frank Dellaert]]></summary></entry></feed>