# Does Online Gravity Estimation Matter? Revisiting a Silent Design Split in LiDAR-Inertial Odometry

Robotics.world

> LIO systems combine inertial propagation with scan-matching corrections, but they disagree on a quiet design choice: some keep gravity direction (and accelerometer bias) as live estimated states…

**arXiv**: 2609.13675 · Preprint · not peer-reviewed

**Published**: 2026-09-12 · revised · 2026-09-22

**Authors**: Jie Xu, Ziyi Jin, Kangjin Yu, Can Jiang, Hongjun Huang, Tongxing Jin, Hongkun Luo, Zhongpu Xia

## In plain words

LIO systems combine inertial propagation with scan-matching corrections, but they disagree on a quiet design choice: some keep gravity direction (and accelerometer bias) as live estimated states, while others freeze them after initialization. Comparing published trajectory errors cannot settle which is better because those systems also differ in registration, maps, trajectory models, and parameters.

## AI summary

## Overview

**Research area:** LiDAR–inertial odometry (LIO) and state estimation for robotics — specifically, whether gravity and accelerometer bias should remain estimated states after initialization.

**Technical level:** Advanced. The paper assumes familiarity with error-state Kalman filtering on manifolds, IMU preintegration, scan registration, factor graphs, and paired statistical testing.

**Scope (one sentence):** The paper isolates gravity and accelerometer-bias handling as a controlled design variable inside FAST-LIO2 and LIO-SAM, and tests whether keeping those states online actually improves trajectory accuracy under continuous LiDAR correction, degraded geometry, LiDAR outages, initialization error, and dynamic startup.

## What This Paper Is About

LIO systems combine inertial propagation with scan-matching corrections, but they disagree on a quiet design choice: some keep gravity direction (and accelerometer bias) as live estimated states, while others freeze them after initialization. Comparing published trajectory errors cannot settle which is better because those systems also differ in registration, maps, trajectory models, and parameters. The paper asks whether online gravity estimation is actually necessary for accurate pose when LiDAR updates are frequently accepted, and whether the answer changes when geometry weakens, corrections disappear entirely, or motion contaminates startup.

## Key Contributions

1. **True state removal rather than suppressed corrections.** The authors compile four FAST-LIO2 executables with different state manifolds — Online (23D, gravity and accelerometer bias estimated), FixG (21D, gravity fixed), FixBa (20D, bias fixed), and FixG+Ba (18D, both fixed) — while holding the front end, map, calibration, initialization, and parameters identical. They explicitly show that a 23D “proxy” which only zeros corrections is not equivalent to removal, because retained covariance blocks still influence the Kalman gain.
2. **A regime-dependent test of when state removal matters.** The study crosses the state ablation with range caps (20 m), a forward ±60° field-of-view restriction, periodic 1–5 s LiDAR message deletion, an IMU noise/bias-random-walk sweep from 0.01 to 10, injected 0.5°/1°/2° initialization-direction errors, and dynamic-start phases. A history-matched 23D-to-21D switch conditions the covariance at a pre-specified trigger so that pre-outage history is identical between paired runs.
3. **A same-IMU gravity-direction factor study.** In LIO-SAM, a two-component Unit3 direction residual is built from AHRS down directions derived from the same IMU used for preintegration, then crossed with fixed/online gravity at weights of 0.5°, 2°, and 5°. The paper asks whether tighter direction agreement predicts lower vertical or 3D position error.
4. **A practical default recommendation backed by a runtime audit.** The authors recommend keeping gravity and accelerometer bias online by default, and report that fixing gravity reduced filter algebra by 7.5% but occupied only 0.83% of core time versus 88.2% for scan matching, for an attributable saving of 0.06%.

## Main Findings

- **Nominal equivalence in FAST-LIO2.** Across 12 dataset sequences (MCD, TIERS, M2DGR; 48 admitted trajectories across four configurations), FixG produced a signed median vertical RMSE change of +0.9% (median absolute 1.1%, range −6.7% to +2.6%) and a median ATE change of −0.1% (median absolute 0.9%, range −4.0% to +5.4%). Both mean paired effects fell inside the pre-specified ±5% TOST margin (both p < 10⁻⁴), with back-transformed 90% intervals of −0.11% [−1.54, +1.34]% for vertical RMSE and +0.09% [−1.16, +1.35]% for ATE.
- **Small in absolute terms.** Median absolute FixG–Online differences were 0.017 m for vertical RMSE and 0.014 m for ATE. On m2dgr-hall, a +2.3% vertical change corresponds to +1.0 mm, while ATE changed by −0.45% (−5.7 mm).
- **Gravity moves without moving the pose.** Online gravity moved by as much as 4.0°, yet every removed gravity trace was bit-exact and retained the prescribed magnitude of 9.8090 m/s². A paired trace shows a moving gravity estimate alongside nearly superposed vertical estimates — evidence that state motion alone does not establish accuracy benefit.
- **LIO-SAM shows no consistent sign.** Over 4 sequences, GE–BA relative to native FG–BA changed vertical RMSE by −0.37% to +0.46% and ATE by −0.07% to +0.18%. Fixing both quantities changed vertical RMSE/ATE by −3.20% to +0.76% / −1.09% to +0.27%. These are descriptive, not a second equivalence population.
- **Weak geometry is not the same as missing correction.** A 20 m range cap changed FixG vertical RMSE/ATE by +0.2%/−4.0%; a ±60° forward FoV changed them by +6.9%/+3.5%. Both preserve scan-update timing and do not reproduce the dropout penalty.
- **Complete dropout exposes trajectory-dependent costs.** A 1 s gap every 20 s was benign (−2.8%/−0.5%). At 2 s on the vehicle, vertical RMSE and ATE moved in opposite directions (−11.2%/+16.8%). At 3 s, both rose by +93.1%/+119.9% across all 3 serial repeats. The handheld responded later: +8.0%/+7.3% at 3 s and +27.9%/+34.5% at 5 s. Vehicle 5 s effects (+41.2%/+23.8%) were smaller than at 3 s, so duration is not a monotonic dose.
- **The matched switch localizes the effect after updates resume.** With identical pre-switch state, map, and posterior history, clean-input ATE effects were −0.83% on the vehicle and −0.30% on the handheld. Dropout-minus-clean ATE interactions were +4.16 m and +1.01 m; ATE interactions stayed positive across 3 dropout phases, while vertical interactions crossed zero. The repeatable cost is in 3D recovery, not direct height information.
- **The direction factor is not a z-drift remedy.** Nominally, factor strength showed no monotonic dose response; with fixed gravity the tightest factor worsened vertical RMSE by +1.0% to +1.2%, and smaller residuals did not predict smaller trajectory errors. Under 5 s gaps, all 6 Hall05 state–weight medians improved both errors, but FixG/5° yielded only 2/3 accuracy runs because one planned run reset. On TUHH, FixG/0.5° changed vertical RMSE by −64.6% while ATE worsened by +97.6%, and online gravity/2° deteriorated both by +450.0%/+108.4%.
- **Accelerometer bias does not inherit gravity’s result.** FixBa and FixG+Ba had median vertical RMSE changes of +1.5% and +1.9%, with larger sequence-level ranges than FixG (+21.9% and +47.2% upper bounds respectively). True-manifold interaction was −0.8 pp (p = 0.470) for vertical RMSE and −0.8 pp (p = 0.151) for ATE, giving no evidence of superadditivity; the correction-nulling proxy biased the fixed-bias comparison by +7.3 pp.
- **Gravity and bias need not be physically identified.** A paired intervention shifted accelerometer bias by 0.342 m/s² while preserving g − R b_a within 2.0×10⁻⁷ m/s². In the handheld final 10 s, gravity and bias estimates remained 0.73–0.74° / 0.122–0.126 m/s² apart, while the effective term and position differed by only 0.0077–0.0091 m/s² / 4.2–8.4 mm.
- **IMU weighting and initialization error show no uniform winner.** On NTU Day10, FixG changed vertical RMSE by −10.7% to −5.0% and ATE by −1.2% to −0.2%; on NTU Night04, vertical RMSE changed by −3.2% to +1.7% but ATE worsened by +2.3% to +9.0% (maximum roll/pitch change 0.052°). Across 12 paired initialization-error runs at 0.5°/1°/2°, vertical RMSE/ATE changes spanned −3.5% to +2.1% / −2.3% to +1.8°, with maximum roll/pitch change 0.013°.
- **Dynamic startup is phase-sensitive.** Across 12 start phases and 48 trajectories, no universal gravity choice emerged. At one stronger vehicle phase, Online and FixG produced 0.905 m and 5.074 m ATE while vertical RMSE reversed (0.625 m versus 0.170 m). Both fixed-bias configurations diverged at one low-rate handheld start, and FixBa worsened ATE in all 4 stronger-motion phases (+1.64% to +65.82%). The 2 complete, finite failure outcomes were retained rather than rerun.
- **Runtime is not a motivation.** FixG reduced filter algebra by 7.5%, but whole-core change ranged from −11.6% to +3.1% and crossed zero.

## Methodology in Plain English

The researchers treat gravity handling as a controlled experiment rather than a benchmark comparison. In FAST-LIO2, they build four separate executables that differ only in which states exist in the filter: both gravity and accelerometer bias estimated, gravity frozen, bias frozen, or both frozen. Frozen quantities are removed from the estimated state and held as initialized constants, so the filter genuinely has fewer dimensions. They verify structurally that removed states stay bit-exact and retained states move.

They then keep the data, calibration, initialization, and parameters fixed and vary only the conditions: clean sequences, artificially shortened LiDAR range, narrowed field of view, and scheduled deletion of all LiDAR messages for 1–5 s every 20 s. The key distinction is between weak geometry (scans still arrive and are accepted, but constrain less) and correction absence (no scan arrives at all).

To separate the effect of fixing gravity from differences accumulated before an outage, they introduce a matched switch: at a pre-specified moment they freeze gravity at its current online mean, condition the covariance accordingly, and continue in a 21D subspace. Paired clean and dropout runs are bit-identical before that trigger, so any divergence afterward comes from the switch interacting with the outage.

Separately, in LIO-SAM they add a residual that measures disagreement between the gravity direction predicted by the current pose and a down direction from an AHRS built on the same IMU, testing three residual weights against fixed and online gravity. Accuracy is judged by vertical position RMSE and 3D position RMSE after rigid SE(3) alignment without scale fitting, always reported in paired form with both percentages and absolute meters, and supported by equivalence tests, confidence intervals, and admission checks on reference paths, timestamps, and binary fingerprints.

## Why This Matters

**Impact on research.** The paper identifies a “silent design split” that confounds cross-system comparisons: published LIO results differ in gravity handling but also in registration, maps, and tuning, so no trajectory score can attribute gains to the state choice. By intervening only on the compiled manifold, the study shows that nominal accuracy is largely insensitive to this choice, while recovery after correction gaps is not. It also demonstrates that a proxy which merely zeros corrections is not a substitute for state removal, which has methodological implications for how ablations are reported. The finding that a smaller same-IMU direction residual can coexist with worse trajectory error cautions against using residual norms as proxies for accuracy.

**Real-world applications:**

- **Autonomous vehicles and mobile robots** operating in tunnels, underpasses, or behind occlusions, where LiDAR corrections disappear for seconds at a time and recovery behavior matters more than nominal accuracy.
- **Handheld and backpack mapping** in indoor or urban environments with narrow fields of view and frequent geometric degeneracy.
- **Legged robots and drones** with dynamic starts, where motion during initialization contaminates the shared acceleration-mean estimate and fixed states cannot subsequently adapt.
- **Industrial inspection and digital-twin capture** where vertical drift is visually obvious but may not reflect the dominant 3D pose error.

**Industry relevance.** Practitioners often reduce state dimension to simplify tuning or save computation. The runtime audit shows the saving is negligible when scan matching dominates, and the dropout and startup tests show that dimension reduction shifts risk into recovery and initialization rather than removing it. The recommendation — keep gravity and bias online by default, treat fixed gravity as a validated steady-state option, and validate any direction factor on both vertical and 3D metrics under the intended operating conditions — is directly actionable for teams shipping LIO-based products.

## Future Directions

- **Characterizing natural scan rejection.** The paper controls correction absence by deleting messages; it explicitly does not model front-end rejection, update delays, or biased-but-accepted registrations, which are different failure modes that could change the observed thresholds.
- **Motion-aware initialization.** The dynamic-start experiments test the shared acceleration-mean initializer rather than an alternative, and larger initialization errors, calibration faults, and motion-aware schemes remain untested.
- **Disentangling same-IMU correlation.** The authors state that unmodeled correlation between the AHRS direction and preintegration could contribute to adverse factor responses, but they do not isolate it from weighting and online-gravity interactions.
- **Broader threshold evidence.** Two dropout trajectories and two initialization trajectories cannot establish universal thresholds, and the factor study retains 1 reset and 2 arc warnings; more sequences and platforms are needed before the regime boundaries generalize. Independent gravity sensing and global pose-graph gravity priors are also left outside the claim.

## Target Audience

Researchers and engineers working on LiDAR–inertial odometry, sensor fusion, and SLAM who are choosing state representations or reproducing LIO baselines; reviewers and benchmark designers interested in controlled ablation methodology; and practitioners deploying LIO on vehicles, handheld rigs, or legged robots who need to decide whether gravity and accelerometer bias should stay online. Readers should be comfortable with manifold-based error-state filtering and paired statistical testing, though the central conclusions are stated plainly enough for technically adjacent readers to follow.

## Authors’ abstract

LiDAR-inertial odometry (LIO) systems differ in whether they continue estimating gravity after initialization. We compare four gravity-bias state configurations in each of FAST-LIO2 and LIO-SAM, then separately test a gravity-direction factor. Across 12 dataset sequences evaluated with FAST-LIO2, fixing gravity under continuous LiDAR correction produces mean paired changes in vertical and 3D position errors with 90% confidence intervals within $\pm 2\%$. Tests on 4 sequences…

[The full abstract on arXiv](https://arxiv.org/abs/2609.13675)

[Read the original paper](https://arxiv.org/abs/2609.13675)

## Related papers

- [Scale Anchoring via Implicit Semantics and Sequence-Consistent Loop Closure for VGGT-Based SLAM](https://robotics.world/paper/scale-anchoring-via-implicit-semantics-and-sequence-consistent-loop-2611.06308) 2026-11-04 · cs.RO · Also by Can Jiang, Jie Xu +3
- [JEPA Policy: Diffusion-Free Imitation Learning via Paired Action and Future Representation Prediction](https://robotics.world/paper/jepa-policy-diffusion-free-imitation-learning-via-paired-action-and-2609.09630) 2026-09-09 · cs.RO · Also by Jie Xu, Kangjin Yu +2
- [MOLA LiDAR-Inertial Odometry (MOLA-LIO) on the COMFORT Localization Benchmark](https://robotics.world/paper/mola-lidar-inertial-odometry-mola-lio-on-the-comfort-localization-2609.25813) 2026-09-22 · cs.RO · Key terms of the title in common
- [FMCW-LIO: A Doppler LiDAR-Inertial Odometry](https://robotics.world/paper/fmcw-lio-a-doppler-lidar-inertial-odometry-2609.29374) 2026-09-24 · cs.RO · Key terms of the title in common
- [Flight-Ready LiDAR-Inertial Odometry for Embedded Drone Platforms](https://robotics.world/paper/flight-ready-lidar-inertial-odometry-for-embedded-drone-platforms-2607.22145) 2026-07-24 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/does-online-gravity-estimation-matter-revisiting-a-silent-design-split-2609.13675
