Skip to main content
Back

Sun Yat-sen's GNIO Cuts Pedestrian Navigation Drift by 60% Without Extra Compute

A new inertial odometry architecture cuts trajectory drift by up to 60% using a learned motion dictionary and a soft zero-velocity gate.

Pro

  • GNIO adds a learnable Motion Bank and a Gated Prediction Head on top of the TLIO framework.
  • The gated head acts as a soft, differentiable Zero-Velocity Update, suppressing drift during stationary periods.
  • Motion Bank uses multi-head attention over 64 learned motion prototypes for global semantic context.
  • Cuts OxIOD trajectory error by 60.21% versus iMoT while using 4.90M parameters at 0.08 GFLOPs.
  • Ablations show Motion Bank and Gated Head are complementary, together dropping RMSE from 2.40m to 1.66m.
  • Fails on vehicle datasets like KITTI; authors plan Mamba backbone and Mixture-of-Experts to fix it.

Inertial navigation on cheap MEMS chips is stuck in a familiar rut. The sensors drift within seconds, and even the best learned models keep predicting small phantom movements while you stand still. A new paper from Sun Yat-sen University and HKU proposes GNIO (Gated Neural Inertial Odometry), a framework that adds two structural tricks on top of the well-known TLIO pipeline and cuts trajectory error by as much as 60% on standard pedestrian benchmarks.

Why regression alone drifts

Inertial Measurement Units (IMUs) give you acceleration and angular velocity, and recovering a trajectory means integrating those signals twice. The authors note that kinematic integration of noisy measurements drifts rapidly, rendering pure physics-based dead reckoning unusable within seconds. Deep-learning approaches like IONet, RoNIN, and especially TLIO, which fuses learned relative state measurements into a Stochastic Cloning Extended Kalman Filter, helped a lot, but they share two structural weaknesses.

The first is mode confusion. A fixed sliding window of IMU samples lacks the memory to distinguish a moment of noisy jitter from a genuine transition between standing and walking. The second is oversensitive regression: a standard regression head is always on, so even when you're perfectly still, the network keeps emitting tiny non-zero displacements that accumulate into visible drift. Existing methods try to counter this with learned uncertainty, a reactive fix rather than a structural constraint.

Two architectural ideas bolted onto TLIO

GNIO keeps TLIO's ResNet-18 backbone and Extended Kalman Filter fusion, but replaces the prediction head with two new components.

The Motion Bank is a learnable matrix M ∈ ℝ^(m×D) of global motion prototypes, essentially a dictionary of canonical patterns like static, walking, running, or turning. The current feature vector from the ResNet acts as a query, and multi-head attention pulls the closest prototypes to form a semantic context. If the input features strongly resemble a stationary prototype stored in M, the attention mechanism retrieves a context that emphasizes zero-motion characteristics, guiding the downstream components to suppress drift. The retrieved context is added back to the local features via a residual connection.

The Gated Prediction Head splits displacement into two branches. One branch outputs a per-axis magnitude through a Softplus activation (so it stays non-negative), and the other outputs a directional gate through a Tanh (so it lives in [-1, 1]). The final 3D displacement is their element-wise product. The gate learns to collapse toward zero during stationarity, acting as a differentiable version of the classic Zero-Velocity Update (ZUPT), a heuristic that resets integration errors whenever the sensor is detected to be still.

The numbers

GNIO was evaluated on four pedestrian benchmarks (OxIOD, RIDI, RoNIN, and IDOL) against TLIO, the transformer-based CTIN and iMoT, and the lightweight DeepILS. Highlights of the Absolute Trajectory Error results:

  • On OxIOD, GNIO achieves an ATE of 0.74m, beating the runner-up (iMoT, 1.86m) by 60.21%.
  • On RIDI unseen, GNIO leads DeepILS by 19.59%.
  • On RoNIN unseen (100+ distinct subjects), GNIO edges out iMoT by 5.46%, though iMoT still wins the seen split.
  • On IDOL, which is full of sharp turns, GNIO improves on TLIO by roughly 1.5m but still trails iMoT by about 30%.
Trajectory comparison on OxIOD slow walking showing GNIO tracking ground truth more tightly than TLIO

The efficiency story is arguably more interesting than the raw accuracy. GNIO runs at 4.90M parameters and 0.08 GFLOPs, essentially the same compute footprint as TLIO, while iMoT needs 14.49M parameters and 7.79 GFLOPs to reach comparable numbers. Most of the transformer-level accuracy is coming from two lightweight structural additions rather than a bigger backbone.

Ablations worth noting

The component study on the TLIO dataset is clean:

ConfigurationRMSE (m)Gain
Baseline TLIO2.40-
+ Motion Bank1.9817.5%
+ Gated Head only1.8423.3%
Full GNIO1.6630.8%

The motion-bank size sweep hits a sweet spot at m=64 prototypes. Smaller banks collapse different activities into the same slot; larger ones dilute attention across near-duplicate entries. On the gating side, Tanh outperforms Sigmoid, reducing RMSE from 2.05m to 2.00m, because Tanh can flip the sign of the raw magnitude proposal when needed.

RoNIN trajectory comparison showing smoother GNIO reconstruction versus drifting TLIO baseline

Where it breaks

The authors are honest about the limits. GNIO's accuracy degrades significantly when applied to vehicle-based datasets such as KITTI and GEODE. The primary reason lies in the physics of error propagation at high velocities. Pedestrian speeds around 1.4 m/s tolerate small relative velocity errors, but at 10+ m/s the same relative error blows up, and there are no natural ZUPT moments during highway cruising. The proposed fix is a Mixture-of-Experts router with dedicated low-speed and high-speed experts, plus a switch from sliding-window CNNs to Mamba-style state-space models for longer context.

The paper itself does not link to a public code release, and the arXiv listing at the time of writing shows no repository. Practitioners who want to reproduce the results will need to reimplement the Motion Bank attention block and Gated Head on top of the existing TLIO codebase, which is straightforward given the equations in Section III. For pedestrian applications like AR headsets, phone-based indoor localization, or robots that spend a lot of time stationary, GNIO is a tempting drop-in replacement for a ResNet regression head that costs almost nothing extra to run.