iMoT: Inertial Motion Transformer for Inertial Navigation

Son Minh Nguyen, Linh Duy Tran, Duc Viet Le, Paul HavingaAAAI 2025

Abstract

We propose iMoT, an innovative Transformer-based inertial odometry method that retrieves cross-modal information from motion and rotation modalities for accurate positional estimation. Unlike prior work, during the encoding of the motion context, we introduce Progressive Series Decoupler at the beginning of each encoder layer to stand out critical motion events inherent in acceleration and angular velocity signals. To better aggregate cross-modal interactions, we present Adaptive Positional Encoding, which dynamically modifies positional embeddings for temporal discrepancies between different modalities. During decoding, we introduce a small set of learnable query motion particles as priors to model motion uncertainties within velocity segments. Each query motion particle is intended to draw cross-modal features dedicated to a specific motion mode, all taken together allowing the model to refine its understanding of motion dynamics effectively. Lastly, we design a dynamic scoring mechanism to stabilize iMoT’s optimization by considering all aligned motion particles at the final decoding step, ensuring robust and accurate velocity segment estimation. Extensive evaluations on various inertial datasets demonstrate that iMoT significantly outperforms state-of-the-art methods in delivering superior robustness and accuracy in trajectory reconstruction.

Introduction

Inertial navigation is critical for environments where GPS and visual sensors fail, such as smoke-filled buildings or underwater scenarios. However, Inertial Measurement Units (IMUs) are plagued by "drift"—the quadratic accumulation of small measurement errors in acceleration and rotation. This drift leads to trajectory estimates that rapidly deviate from reality.

Current deep learning approaches often struggle with two key aspects of inertial data: modality distinctions and motion uncertainty. Acceleration and angular velocity are fundamentally different signals, yet many models treat them as interchangeable channels. Furthermore, individual gait variability (e.g., a brisk walk vs. a shuffling gait) introduces significant uncertainty that rigid models fail to capture. iMoT addresses these challenges by treating IMU signals as complex, multi-modal time series and capturing global motion context.

The iMoT Architecture

The iMoT framework is a specialized Encoder-Decoder Transformer designed to extract and fuse cross-modal features from IMU data.

The overall iMoT architecture featuring the Transformer Encoder and Decoder layers with specialized modules like PSD and APE.

Progressive Series Decoupler (PSD)

Integrated at the start of each encoder layer, the PSD module decomposes signals into "seasonal" components (rhythmic motions like leg swings) and "trend-cycle" components (sudden changes like stopping or turning). This decomposition makes raw, noisy data more interpretable for the attention mechanism.

Adaptive Positional Encoding (APE) and Spatial Sync (ASC)

APE dynamically adjusts embeddings based on the specific modality (motion vs. rotation) to account for temporal discrepancies. Complementing this, the Adaptive Spatial Sync (ASC) ensures that the spatial relationships between the X, Y, and Z axes are preserved across the network's layers.

Query Motion Particles and Dynamic Scoring

Inspired by Particle Filters, the iMoT decoder utilizes a set of learnable "query motion particles" to model motion uncertainties. Instead of a single velocity regression, these particles explore various possible motion modes. A Dynamic Scoring Mechanism (DSM) then weights these particles to produce a robust final velocity estimate, effectively accounting for individual gait variability.

Experimental Evaluation

The authors evaluated iMoT on four major benchmark datasets: RoNIN, RIDI, OxIOD, and IDOL. iMoT consistently outperformed state-of-the-art methods, particularly in Absolute Trajectory Error (ATE).

Cumulative Distribution Function (CDF) of ATE, T-RTE, and D-RTE on the RoNIN dataset, showing iMoT's superior performance across various error thresholds.

On the RoNIN dataset, which includes over 40 hours of data from 100 subjects, iMoT achieved an ATE of 5.31m. This is a significant improvement over previous state-of-the-art models like RoResnet18 (5.95m) and older methods like RIDI (15.75m). The model also demonstrated the lowest Position Drift Error (PDE), indicating superior trajectory integrity over long durations. As shown in the CDF plots, iMoT maintains lower error across a higher percentage of test cases compared to its competitors.

Conclusion

iMoT represents a significant advancement in inertial odometry by leveraging Transformer architectures to handle the multi-modal and stochastic nature of human motion. By decomposing signals and using learnable particles for uncertainty modeling, it achieves unprecedented accuracy and robustness. Future work will focus on optimizing the architecture for real-time deployment on low-power edge devices and potentially integrating additional sensors like magnetometers to further refine heading estimation.

Summary updated

BibTeX
@inproceedings{nguyen2025imot,
  author = {Son Minh Nguyen and Linh Duy Tran and Duc Viet Le and Paul Havinga},
  title = {{iMoT: Inertial Motion Transformer for Inertial Navigation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  url = {https://openreview.net/forum?id=4T3tkpMSCa},
}
Figure