Fusing structure from motion and simulation-augmented pose regression from optical flow for challenging indoor environments

Felix Ott, Lucas Heublein, David Rügamer, Bernd Bischl, Christopher Mutschler

TL;DR

This paper introduces a robust visual localization framework that fuses absolute pose estimates (where am I?) with relative pose regression (how much did I move?) using recurrent neural networks. By pre-training on synthetic data and employing specialized recurrent units like the Strongly-Typed RNN (TRNN), the authors achieved a 42.67% improvement in positioning accuracy over traditional methods in complex, real-world warehouse environments.

What Problem Does This Paper Address?

Accurate indoor localization is the "holy grail" for warehouse robotics and augmented reality. While GPS works outdoors, indoor environments are notoriously difficult due to "featureless" surfaces (white walls), repetitive patterns (rows of identical racks), and lighting changes.

Current methods usually fall into two camps:

  1. Structure from Motion (SfM): Reconstructs a 3D point cloud to find absolute position but struggles with motion blur and sparse features.
  2. Absolute Pose Regression (APR): Uses deep learning to guess location from a single image but often fails to generalize to new scenes.

Both suffer from "noise" and lack of smoothness. The authors aim to fix this by "fusing" these absolute guesses with Relative Pose Regression (RPR)—calculating the movement between two consecutive frames—to create a smoother, more accurate trajectory.

Methods

The authors propose a multi-stage pipeline:

  • Absolute Pose: They use either traditional SfM (building a point cloud) or a time-distributed PoseNet (APR) to get a global coordinate.
  • Relative Pose: They compute Optical Flow (the pattern of apparent motion of objects) between frames using the Lucas-Kanade algorithm. A small recurrent convolutional network then predicts the relative 6DoF (6 Degrees of Freedom) movement.
  • Recurrent Fusion: This is the core innovation. Instead of using standard Pose Graph Optimization (PGO), they feed both absolute and relative poses into a Recurrent Fusion Network. They benchmarked eight different recurrent units (including LSTM, GRU, and the more exotic TRNN) to see which best captures the "physics" of robot motion.
  • Simulation Augmentation: To overcome data scarcity, they built a high-fidelity simulation of a warehouse to pre-train their networks before fine-tuning them on real-world data.

Datasets

The study utilizes two primary data sources:

  1. The Industry Dataset: A massive, newly recorded dataset (798 GB) covering a 1,320 m² warehouse. It includes 8 training and 11 testing sequences featuring both smooth robot movements and "shaky" handheld recordings, with ground truth provided by a high-precision motion capture system.
  2. Simulation Dataset: 319,955 synthetic images generated from a digital twin of the warehouse, used for pre-training to improve model initialization and generalization.

Key Insights and Ideas

  • TRNN for the Win: The Strongly-Typed Recurrent Neural Network (TRNN) outperformed more complex units like LSTMs. Why? TRNNs are smaller and better at learning the predictable, non-chaotic patterns of robotic movement without overfitting.
  • The Power of Pre-training: Using synthetic data from a simulator provided a significant "warm start" for the models. Even though the simulation wasn't a perfect match for reality (missing things like motion blur), it taught the model the basic geometry of the space.
  • Optical Flow as a Stabilizer: By focusing on the change between frames (optical flow) rather than just the raw pixels, the RPR module became much more resilient to environmental changes like moving furniture or shifting lights.
  • Fusion > Optimization: Traditional PGO is a mathematical alignment of poses; the recurrent fusion network, however, actually learns the error characteristics of the sensors and can "smooth out" the trajectory more effectively.

Key Results

  • Accuracy Boost: The recurrent fusion framework achieved an average 42.67% improvement in positioning accuracy over SfM-only methods for robotic datasets.
  • Superiority over PGO: In almost all challenging scenarios (repetitive racks, absorber walls), the recurrent fusion method outperformed the state-of-the-art Pose Graph Optimization.
  • Robustness: The system maintained high accuracy even in "feature-less" areas where SfM typically fails, thanks to the RPR module's ability to "bridge the gap" using motion cues.

Limitations and Future Work

The authors noted a "dynamics gap": models trained on smooth robot motion didn't perform as well on "shaky" handheld data. The recurrent cells learned the specific physics of the robot, making them less adaptable to the erratic movements of a human.

Future work could involve:

  • Dynamic Scene Handling: Improving performance when people or other robots are moving through the frame (currently, the scene is assumed to be mostly static).
  • Cross-Platform Generalization: Developing fusion layers that can automatically adapt to different motion profiles (e.g., switching from a slow-moving robot to a fast-moving drone).
  • End-to-End Training: Integrating the optical flow calculation directly into the neural network rather than using it as a pre-processing step.

Summary updated

BibTeX
@article{ott2024fusing,
  author = {Felix Ott and Lucas Heublein and David Rügamer and Bernd Bischl and Christopher Mutschler},
  title = {{Fusing structure from motion and simulation-augmented pose regression from optical flow for challenging indoor environments}},
  journal = {J. Vis. Commun. Image Represent.},
  year = {2024},
  url = {https://openreview.net/forum?id=qLA8NYm7Xk},
}
Figure