RoNIN: Robust Neural Inertial Navigation in the Wild: Benchmark, Evaluations, and New Methods

Hang Yan, Sachini Herath, Yasutaka Furukawa

Abstract

This paper sets a new foundation for data-driven inertial navigation research, where the task is the estimation of positions and orientations of a moving subject from a sequence of IMU sensor measurements. More concretely, the paper presents 1) a new benchmark containing more than 40 hours of IMU sensor data from 100 human subjects with ground-truth 3D trajectories under natural human motions; 2) novel neural inertial navigation architectures, making significant improvements for challenging motion cases; and 3) qualitative and quantitative evaluations of the competing methods over three inertial navigation benchmarks.

Introduction

Inertial navigation—the ability to estimate position and orientation using only an Inertial Measurement Unit (IMU)—is a critical technology for environments where GPS is unavailable and visual systems (SLAM) are impractical due to lighting or privacy concerns. However, traditional physics-based approaches, which involve double-integrating raw accelerometer data, suffer from catastrophic drift due to sensor noise and bias. While previous data-driven attempts like step-counting exist, they often fail when the device is not held in a specific, rigid orientation.

RoNIN (Robust Neural Inertial Navigation) addresses these challenges by shifting the paradigm from pure physics to a robust deep learning framework capable of tracking natural human motion in "wild" scenarios, such as when a phone is in a pocket, a bag, or used for messaging while walking.

The RoNIN Framework

The core of RoNIN is a neural network trained to regress velocity from IMU data. To handle the unpredictable orientation of a smartphone relative to the user, the authors introduced several key innovations.

Overview of the RoNIN pipeline, showing how IMU data from a smartphone is processed by a neural network to estimate natural motion trajectories across various activities.

Heading-Agnostic Coordinate Frame (HACF)

The "secret sauce" of RoNIN is the Heading-Agnostic Coordinate Frame. By aligning IMU data with gravity (the Z-axis) while leaving the horizontal heading arbitrary, the model can extract consistent motion features regardless of how the phone is oriented. This normalization allows the network to focus on the underlying human motion patterns rather than the specific device placement.

Neural Architectures and Loss Functions

The researchers evaluated three primary backbones: a 1D ResNet-18, a Long Short-Term Memory (LSTM) network, and a Temporal Convolutional Network (TCN). To improve stability, they moved away from predicting instantaneous velocity. Instead, they utilized "Strided" and "Latent" velocity losses, which calculate displacement over a time window (e.g., one second). This approach effectively filters out high-frequency noise that typically plagues IMU-based regression.

A New Benchmark for Inertial Navigation

A major contribution of this work is the RoNIN dataset, which significantly expands the scale and diversity of available data for this field:

  • Scale: Over 40 hours of IMU data from 100 human subjects.
  • Diversity: Data was collected across three different buildings, capturing a wide range of natural movements.
  • Ground Truth: To ensure high-fidelity ground truth, the authors used a "two-device" protocol. One device was body-mounted to provide precise 3D tracking via Google Tango, while the subject interacted naturally with a second device to provide the "wild" IMU data.

Results and Key Insights

RoNIN demonstrates a significant leap in performance over existing baselines like IONet and RIDI. On the RoNIN dataset, the ResNet variant achieved an Absolute Trajectory Error (ATE) of 3.54 meters for seen subjects, a massive improvement over the 30+ meters typical of traditional methods.

Key insights from the study include:

  • Heading Independence: The model does not need to know the "forward" direction to calculate speed, making it highly robust to phone rotation.
  • Complex Motion Tracking: Unlike simple step-counters, RoNIN can accurately track non-linear movements, such as walking sideways or backward.
  • Generalization: The models successfully generalized to "unseen" subjects, indicating that the network learned fundamental characteristics of human gait and motion.

Conclusion

RoNIN establishes a new state-of-the-art for inertial navigation by combining a massive, high-quality dataset with a novel coordinate normalization strategy. While the system currently relies on the device's internal orientation estimate (Game Rotation Vector), it paves the way for future end-to-end systems that could potentially eliminate this dependency. The release of the code and dataset provides a robust foundation for the research community to further advance the field of ubiquitous, sensor-only navigation.

Summary updated

BibTeX
@inproceedings{yan2020ronin,
  author = {Hang Yan and Sachini Herath and Yasutaka Furukawa},
  title = {{RoNIN: Robust Neural Inertial Navigation in the Wild: Benchmark, Evaluations, and New Methods}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2020},
  url = {https://openreview.net/forum?id=4eeOaK-t-_05},
}
Figure