PAPER DEEP DIVE
GeoFlow-SLAM: A Robust Tightly-Coupled RGBD-Inertial and Legged Odometry Fusion SLAM for Dynamic Legged Robotics
GeoFlow-SLAM (Horizon Robotics, IROS 2025) targets three stacked failure modes of quadruped localization: motion blur and IMU distortion from fast locomotion, and feature scarcity in texture-less scenes. Three interlocking contributions: dual-stream optical-flow tracking aided by prior map points and poses (a 3D-to-2D reprojection stream plus a 2D-to-2D fallback stream); a pose-initialization priority chain degrading from leg odometry to IMU, PnP, GICP, and finally a constant-velocity model; and a tightly-coupled optimization framework placing depth-to-map point-to-plane and GICP relative-pose residuals alongside visual reprojection and IMU pre-integration in one factor graph. On four real Go2 sequences (office, texture-less corridor, underground parking, open plaza) it is the only method that succeeds on Seq2-4, with 88% improvement over VINS-RGBD on Seq1. ScanNet mean ATE 0.0779 m (~70% better than ORB-SLAM3), TUM 0.0129 m; global plane-feature maps are still built in the structure-less texture-less TUM extremes. Code and data are open source (HorizonRobotics/GeoFlowSlam).
Why quadruped robots struggle to localize: every sensor assumption breaks at once

RGB-D cameras seem ideal for indoor localization: they deliver color texture and per-pixel depth regardless of whether surfaces carry texture. Quadruped robots make this path uniquely hard. Their gait produces repeated foot impacts, periodic body-pitch oscillations, and abrupt speed changes that jointly create two failure modes: motion-blurred images and distorted IMU readings. Blur turns feature matching into luck; distortion corrupts the IMU pre-integration that pose prediction relies on. Add the texture-less corridors, white walls, and underground garages these robots typically operate in, and visual features are sparse to begin with — three difficulties arrive stacked, not separately.
Existing RGB-D SLAM systems each fail on some front. ORB-SLAM-style pipelines rely on depth and pose priors for feature tracking and lose features easily under fast motion; VINS-style optical-flow tracking uses neither depth nor pose priors to assist tracking, and collapses under the same jitter. DS-SLAM, RSO-SLAM, and ViQu-SLAM use depth to identify and remove dynamic feature points, but depth remains a cleaning tool rather than a constraint. PLD-VINS, PLP-SLAM, S-VIO, STL-SLAM, and VID-SLAM add structural features that help in structured environments, at the cost of strong environmental dependence — robustness falls off a cliff in unstructured scenes, and structural-feature extraction itself is expensive. NeRF- and 3DGS-based systems (NICE-SLAM, SplaTAM) pursue dense reconstruction and generally miss real-time budgets. R3LIVE and FAST-LIVO couple IMU, visual, and LiDAR tightly but do not apply to RGB-D cameras. Among quadruped-specific systems, MIT Cheetah2, ANYmal, and Leg-KILO lean on costly, bulky LiDAR and still lack a direct answer to texture-less fast locomotion.
GeoFlow-SLAM (Horizon Robotics with D-Robotics, IROS 2025) starts from a direct observation: stop hunting for a better single-point algorithm and activate three wasted information channels simultaneously — turn optical flow from blind matching into prior-aided matching using prior map points and poses, promote leg odometry from IMU backup to the primary initialization source, and upgrade depth from a feature-depth provider to a geometric factor parallel to visual reprojection. These are the paper's three contributions: dual-stream optical-flow tracking, IMU/legged/PnP/GICP pose initialization, and a tightly-coupled optimization framework joining depth-to-map and GICP constraints.
What exactly is being estimated
Writing the system as a state-estimation problem clarifies each module's role. Let $T_k^{wc}\in SE(3)$ be the camera pose at frame $k$, $\{P_j\}$ the world-frame visual map points, and $x_k$ the window keyframe IMU state (rotation, position, velocity, biases). Optimization jointly minimizes four residual families inside a sliding window — visual reprojection, IMU pre-integration, GICP relative-pose, and depth-to-map point-to-plane:
$$\min_{X}\ \sum_{(i,j)\in F}\rho\left(\|r_v(p_{c_i},X)\|^2_{\Sigma_v}\right)+\sum_{i\in F}\rho\left(\|r_{imu}(z_{b_ib_{i+1}},X)\|^2_{\Sigma_{b_ib_{i+1}}}\right)+\sum_{(i,j)\in F}\rho\left(\|r_{gicp}(I_{c_j}^{c_i},X)\|^2_{\Sigma_{gicp}}\right)+\sum_{i\in F}\rho\left(\|r_l(d_{c_i},X)\|^2_{\Sigma_l}\right)$$
where $r_v$ is visual reprojection, $r_{imu}$ IMU pre-integration, $r_{gicp}$ the GICP relative-pose, and $r_l$ the depth-to-map point-to-plane residual; $\rho$ is a robust kernel and $X$ covers keyframe IMU states plus visual map points in local BA, only adjacent-frame IMU states in single-frame optimization. The four residuals are not an indiscriminate accumulation — each covers a distinct sensor-failure scenario, and their joint role in one factor graph is that when any one channel loses observations, the other three still constrain the pose, so the system does not diverge on a single-modal failure.
The depth residual is defined geometrically. With world-frame plane normal $n^w$, plane center $q^w_{plane}$, camera-frame plane feature point $p^c_{plane}$, and camera-to-world transform $T_c^w$, the projected point is $P'=T_c^w p^c_{plane}$ and the residual with its Jacobian is
$$r_l(d_{c_i},X)=(n^w)^{T}\left(P'-q^w_{plane}\right)=JX+\omega,\qquad J=\frac{\partial r_l}{\partial X}=\frac{\partial r_l}{\partial P'}\frac{\partial P'}{\partial X}=(n^w)^{T}\left[I,\ -P'^{\wedge}\right]$$
with point-to-plane observation noise $\omega$ and the skew matrix $P'^{\wedge}$. This is the standard point-to-plane form (inspired by LIO-SAM per the paper), transplanted from LiDAR to RGB-D clouds. The prerequisite is extracting plane feature points from depth rather than registering every point — otherwise the compute is prohibitive. Following SSL-SLAM, the cloud is binned into an $M\times N$ grid by vertical and horizontal angles,
$$\alpha_i=\arctan\left(\frac{y_i}{x_i}\right),\qquad \theta_i=\arctan\left(\frac{z_i}{x_i}\right)$$
with geometric centers and a local smoothness score per cell; low-smoothness points become plane features. This substitution — sparse plane registration for dense cloud registration — is what makes the tight coupling real-time feasible.
Dual-stream optical flow: from "search for correspondence" to "verify a prior-seeded correspondence"

Classical optical flow assumes small, continuous motion so that brightness constancy holds and local iterations converge. Fast quadruped motion voids the assumption — displacements grow too large for iterations to converge — and computing flow directly on full-resolution images is slow and costly.
GeoFlow-SLAM splits the flow into two streams, the core idea being to use priors to degrade "search" into "verification."
Stream one, 3D-to-2D. For feature points $p(x,y)$ that already correspond to map points $P(X,Y,Z)$, project the map point into the current frame using the initial pose from IMU/legged odometry or PnP/GICP:
$$p'(x,y)=F\left(T_{c_{k-1}}^{w}P\right),\qquad F(P)=\begin{pmatrix}f_X\frac{X}{Z}+c_x\\[2pt] f_Y\frac{Y}{Z}+c_y\end{pmatrix}$$
$F(\cdot)$ the intrinsics projection and $T_{c_{k-1}}^{w}$ the camera pose at $k-1$. Optical flow then runs seeded at that prior position. The gain is not faster matching but stronger matching: the search start already sits near the true correspondence, so the large-displacement problem of fast motion vanishes; and it inherently filters dynamically inconsistent features — a feature on a moving object fails its reprojection before matching even begins.
Stream two, 2D-to-2D. Stream one has an obvious gap: ORB features often lack valid map points (triangulation failures), and an inaccurate initial pose lowers 3D-to-2D success. For prior-less features, plain 2D-to-2D optical flow runs on the original points, keeping tracking alive without any depth. A fundamental matrix rejects motion-inconsistent outliers, and an inlier-masking mechanism prevents redundant tracking points in the same region. Together: prior-backed features take the shortcut, the rest take the regular road, and neither failure breaks the whole tracker.
flowchart TB
A[RGB-D frame] --> B{Valid prior map point?}
B -- yes --> C[Reproject map point via IMU/legged/PnP/GICP initial pose]
C --> D[3D-to-2D flow near prior position]
B -- no/invalid --> E[2D-to-2D flow on raw feature]
D --> F[Fundamental-matrix outlier rejection + inlier masking]
E --> F
F --> G[Tracked features]
G --> H[Visual reprojection / depth-to-map residuals]
The paper's real-world contrast is blunt: under motion blur from fast locomotion or large white walls, ORB-SLAM3 loses effective features while the dual stream still tracks floor and door-latch features. That is a structural gap from "having a prior," not a tuning gap.
Pose initialization: leg odometry takes over where IMU fails
Without a robust initial pose in texture-less scenes, optical-flow effectiveness, visual reprojection, and depth-to-map association all degrade, ending in divergence — and the quadruped IMU is precisely the unreliable element: per-cycle speed and morphology changes corrupt the IMU and poison integration.
The initialization chain is a strict priority ladder: (1) leg odometry first when available — kinematic, immune to blur and IMU bias, more trustworthy on quadrupeds; (2) IMU next, when trustworthy, since short-horizon accuracy is high and computation cheap; (3) vision when IMU is unusable — an essential matrix from tracked points recovers frame-to-frame pose (scale-free), then depth-based PnP restores scale; (4) GICP refines when PnP fails, matching depth plane features, implemented with the efficient small_gicp; (5) constant-velocity assumption only as the final fallback. Critically, GICP-derived inter-frame relative-pose constraints are also written into the factor graph — initialization uses them once for the seed, the graph keeps using them as continuous constraints. One computation, two uses.
Tight coupling: depth is not a feature accessory

Most RGB-D SLAM uses depth as a tool to lift feature points into 3D and discards it. GeoFlow-SLAM places depth at factor-level parity with visual reprojection. In local BA, keyframe depth-plane points stitch into a local map; each current plane point, projected into the map, gets a plane fit over its k nearest neighbors, yielding point-to-plane residuals; inter-frame poses are constrained by GICP. Two pragmatic designs stand out: leg-odometry constraints join the graph only adaptively, when IMU pre-integration deviates significantly from leg odometry or the constant-velocity assumption (i.e., IMU divergence); and depth-to-map constraints attach to a frame node only when valid visual observations are insufficient. Same trade-off in both: constraints must appear when needed, not always. After optimization, the refined poses rebuild a more accurate local depth map for the next round; single-frame optimization follows ORB-SLAM with IMU pre-integration, GICP relative-pose, visual reprojection, and depth-to-map constraints between adjacent frames.
Results: being the only one that runs is the strongest metric

The platform is a Unitree Go2 with a D435i camera (30 FPS), XT16 LiDAR (10 FPS), and a legged-odometry system (200 FPS); ground truth comes from a legged-robot-enhanced LIO-SAM (Leg-KILO-like). Four sequences were collected: Seq1 indoor office, Seq2 a very challenging texture-less corridor, Seq3 an underground parking area with low light and reflections, Seq4 an open plaza with repetitive ground texture. The paper stresses that all sequences exhibit significant fast-motion jitter and image blur — no cherry-picking.
| Seq (Go2 + D435i) | VINS-RGBD | S-VIO | ORB-SLAM3 | GeoFlow-SLAM |
|---|---|---|---|---|
| Seq1 (office) | 0.8316 | 1.3621 | \ | 0.0947 |
| Seq2 (corridor) | \ | \ | \ | 0.1369 |
| Seq3 (parking) | \ | \ | \ | 0.6009 |
| Seq4 (plaza) | \ | \ | \ | 0.4458 |
In Table I (ATE, meters; "\" = failure), GeoFlow-SLAM improves 88% over VINS-RGBD and 93% over S-VIO on Seq1; on Seq2–Seq4, it is the only method that succeeds at all. For robot localization, the run/fail gap dwarfs any fractional-meter gap — a SLAM that diverges in a texture-less corridor has no meaningful error number left.
OpenLORIS adds breadth: wheeled-robot indoor sequences with low texture contrast, dynamic objects, and poor illumination, against VINS-Mono, VINS-RGBD, ORB-SLAM3, S-VIO, VID-SLAM, and DDIO-VIO.
| Seq (OpenLORIS) | VINS-Mono | VINS-RGBD | ORB-SLAM3 | S-VIO | VID-SLAM | DDIO-VIO | GeoFlow-SLAM |
|---|---|---|---|---|---|---|---|
| Home1-1 | 1.0760 | 0.4520 | 0.9290 | 0.4020 | 0.3820 | 0.4060 | 0.4575 |
| Home1-2 | 0.5420 | 0.3790 | \ | 0.3160 | 0.3620 | 0.3470 | 0.3775 |
| Office1-1 | 0.2310 | 0.1010 | 0.0680 | 0.1010 | 0.0670 | 0.0780 | 0.0577 |
| Office1-2 | 0.2890 | 0.1240 | 0.1230 | 0.0990 | 0.1080 | 0.0700 | 0.0700 |
| Office1-3 | 0.1550 | 0.1540 | \ | 0.1510 | 0.0220 | 0.1040 | 0.0291 |
| Office1-4 | 0.3920 | 0.1860 | 0.2530 | 0.1640 | 0.1290 | 0.1440 | 0.1554 |
| Office1-5 | 0.2380 | 0.2390 | \ | 0.2120 | 0.2090 | 0.2140 | 0.2000 |
The paper's phrasing stays precise: with optical-flow and depth constraints added, robustness and accuracy improve across most OpenLORIS sequences. ORB-SLAM3's failures on Home1-2, Office1-3, and Office1-5 are telling — identical RGB-D+IMU inputs, so the difference is not sensors but whether a second channel holds the pose when feature tracking fails.
Ablation: three constraints, three separate accounts
Ablations cover nine ScanNet sequences (50, 59, 84, 106, 169, 181, 207, 580, 616) and seven TUM sequences (long_office_house, nostr_tex_far, nostr_tex_near, str_notex_far, str_notex_near, str_tex_far, str_tex_near). Configurations map directly to graph factors: r+o optical flow only, r+i GICP only, r+d depth-to-map only, r+o+i+d everything on.
| Dataset / metric | ORB-SLAM3 | r+o | r+i | r+d | r+o+i+d |
|---|---|---|---|---|---|
| ScanNet ATE (m) | 0.2638 | 0.2404 | 0.1055 | 0.0775 | 0.0779 |
| ScanNet RTE (m) | 0.0101 | 0.0095 | 0.0100 | 0.0094 | 0.0090 |
| TUM ATE (m) | 0.0341 | 0.0142 | 0.0156 | 0.0155 | 0.0129 |
| TUM RTE (m) | 0.0136 | 0.0089 | 0.0106 | 0.0100 | 0.0086 |
Several numbers repay a close read. On ScanNet the full configuration averages 0.0779 m ATE — about 70% better than ORB-SLAM3's 0.2638 — and while ORB-SLAM3 outright fails on sequences 50, 84, 181, 207, and 616, none of the four GeoFlow configurations fail anywhere. On TUM the full configuration reaches 0.0129 m ATE and 0.0086 m RTE, 62.2% and 36.7% better than ORB-SLAM3, and again the baselines fail on the three texture-less structure-less scenes while all four configurations succeed. The single-channel decomposition is the interesting part: on ScanNet, depth alone (0.0775) edges out the full stack (0.0779) and GICP alone (0.1055) far outperforms flow alone (0.2404); on TUM, flow alone (0.0142) is the best single channel. The value of flow versus geometric constraints is texture-structure-dependent: when some texture exists, the front end is the bottleneck and flow pays; when texture vanishes, geometry is the only support and depth/GICP decide survival. The full stack's meaning is not universal dominance — it is coverage of both regimes without knowing in advance which one you are in.
A direct comparison against SOTA RGB-D SLAM, STL-SLAM, on TUM:
| Seq (TUM) | STL-SLAM | ORB-SLAM3 | GeoFlow-SLAM |
|---|---|---|---|
| fr1/xyz | 0.0100 | 0.0105 | 0.0101 |
| fr1/desk | 0.0280 | 0.0164 | 0.0162 |
| fr3/cabinet | 0.0190 | \ | 0.0500 |
| fr3/large_cabinet | 0.0620 | \ | 0.0601 |
| fr3/str_notex_far | 0.0330 | \ | 0.0116 |
| fr3/str_notex_near | 0.0130 | \ | 0.0126 |
| fr3/str_tex_far | 0.0140 | 0.0102 | 0.0089 |
| fr3/str_tex_near | 0.0110 | 0.0093 | 0.0094 |
Across eight sequences GeoFlow-SLAM takes four bests, loses two to STL-SLAM (fr1/xyz, fr3/cabinet), and succeeds on the three where ORB-SLAM3 fails. The profile is clear: not universal dominance, but turning "failure" into "a usable number" exactly on the hardest scenes.
The extreme scenes: no texture, no structure

The most convincing validation comes from TUM's two extreme scenes, no_structure_no_texture_far and no_structure_no_texture_near — no texture and no structure, where conventional methods essentially cannot survive. GeoFlow-SLAM's ATE there is 0.0308 m and 0.0467 m respectively, and it still builds the global plane-feature map. The mechanism is exactly the priority ladder cashing out: with sparse repetitive texture, precise pose priors suppress wrong matches; with visual observation absent, the depth-to-map point-to-plane constraints and GICP relative-pose constraints keep governing the pose so optimization cannot diverge. IMU untrustworthy, vision unavailable — leg odometry and geometry still carry the system.
For deployment, this matters more than any ATE digit. Quadrupeds are bought precisely because they enter places wheels and humanoids cannot: underground conduits, ruin interiors, unlit plant corners — all characterized by no texture, no structure, and ground impacts corrupting the IMU on every step. A SLAM that diverges only in such scenes will never be deployed, however pretty its benchmark averages.
What to take away
![]()
First, the right use of priors is shrinking the search space, not speeding up search. The dual-stream gain comes from routing: prior-backed features take the 3D-to-2D reprojection path, the rest take 2D-to-2D. Transferable engineering judgment: when your front end drops features under fast motion, check for usable pose and map-point priors before tuning flow windows.
Second, rank sensors by failure independence, not accuracy. Leg odometry is not more accurate than IMU in the mean, but its failure causes barely overlap with IMU bias drift from impacts, or with vision's texture dependence. Leading the priority chain with leg odometry buys not higher average accuracy but "the system survives with the IMU completely dead" — reliability design, not precision design.
Third, depth deserves promotion from observation to constraint. The same depth map, used for feature triangulation, contributes nothing the moment tracking fails; used for point-to-plane geometric residuals, it constrains the pose through total visual outage. The ablation's r+d near-parity with the full stack on ScanNet shows depth-as-constraint alone carries half the system.
Fourth, success rate deserves first-class metric status alongside accuracy. The loudest information in Tables I and III is not the digits but the "\" marks. In real workloads — texture-less, fast, dark — the first watershed between methods is convergence, the second is accuracy. Reporting only successful-sequence averages silently deletes failures from the denominator.
The authors' future work points the same way: a multi-sensor fusion SLAM reconstruction system for humanoid legged robots, whose richer impacts, joint degrees of freedom, and contact modes will strain IMUs harder and deepen the dependence on leg kinematics — a natural extension of the priority-ladder design. Code and datasets are open at github.com/HorizonRobotics/GeoFlowSlam (the abstract also cites github.com/NSN-Hello/GeoFlow-SLAM), with Go2 configuration and run scripts for reproduction.
One sentence
The real difficulty of quadruped localization is not "which sensor is more accurate" but "what remains when every sensor fails simultaneously in the place it is worst at" — GeoFlow-SLAM's answer: let the legs know where the body is, let depth remember where the walls are, and let vision speak only where a prior exists.



