DF-SLAM: A Deep-Learning Enhanced Visual SLAM System based on Deep Local Features

Rong Kang, Jieqi Shi, Xueming Li, Yang Liu, Xiao LiuarXiv 2019

Abstract

Simultaneous Localization and Mapping (SLAM) is a cornerstone of autonomous navigation. However, traditional SLAM algorithms often struggle with data association in challenging environments due to the limitations of hand-crafted features. We propose DF-SLAM, a system that replaces traditional hand-made features with deep local feature descriptors obtained via a shallow neural network. By integrating these robust descriptors into the ORB-SLAM2 framework, DF-SLAM achieves significant improvements in efficiency and stability, particularly in scenes with intense illumination changes, while maintaining real-time performance on a GPU.

The Challenge: Beyond Hand-Crafted Features

Traditional Visual SLAM systems rely on multi-view geometry and hand-crafted features like ORB or SIFT. While mathematically sound, these features often fail during data association—the critical task of matching points across frames—when faced with lighting changes, motion blur, or low-texture environments.

Existing deep learning (DL) approaches often attempt to replace the entire SLAM pipeline with end-to-end models. However, these models frequently struggle to generalize to new environments and often lack the computational efficiency required for real-time robotics. DF-SLAM addresses this by adopting a modular approach: keeping the robust geometric foundations of SLAM while upgrading the "eyes" of the system with deep learning.

System Architecture

DF-SLAM is built upon the proven architecture of ORB-SLAM2, consisting of tracking, local mapping, and loop-closing threads. The key innovation lies in the feature module replacement:

  • TFeat Descriptor: Instead of ORB, the system uses a shallow triplet network called TFeat. This network processes raw image patches to generate 128-dimensional float descriptors.
  • Shallow Network Design: To ensure real-time operation, the network uses only two convolutional layers and one fully connected layer. This design prioritizes speed without sacrificing the robustness of deep features.
  • Deep Bag-of-Words (DBoW): For relocalization and loop closure, the authors trained a new visual vocabulary using these deep features on the COCO dataset, allowing the system to recognize previously visited locations even under varying conditions.
Figure 1: The DF-SLAM system architecture, highlighting the integration of TFeat descriptors and deep DBoW into the standard SLAM pipeline.

Experimental Evaluation

The system was evaluated on the EuRoC MAV and TUM RGB-D datasets, which provide challenging scenarios involving fast motion and significant illumination shifts.

Key Results

  • Enhanced Accuracy: In difficult sequences (e.g., EuRoC MH_04), DF-SLAM achieved a 58.9% improvement in Root Mean Square Error (RMSE) compared to the baseline ORB-SLAM2.
  • Superior Stability: In the TUM fr1/desk sequence, while ORB-SLAM2 lost tracking in 70% of trials, DF-SLAM maintained a successful track in 100% of tests.
  • Real-Time Performance: Despite the overhead of a neural network, feature extraction for 1,200 key points takes approximately 0.09 seconds, enabling a frame rate of 10-15 FPS on a GTX Titan X GPU.
Figure 4: Trajectory comparison between DF-SLAM (a) and ORB-SLAM2 (b), demonstrating the improved tracking stability and reduced drift of the deep-learning enhanced system.

Conclusion and Future Work

DF-SLAM demonstrates that modularity is a powerful strategy for integrating deep learning into robotics. By focusing on improving local feature descriptors rather than replacing the entire geometric pipeline, the system gains robustness to environmental changes while remaining generalizable.

Future work aims to replace the traditional FAST detector with a deep-learned alternative (like SuperPoint) and explore online adaptation techniques, allowing the descriptors to fine-tune themselves to specific environments in real-time. While currently requiring a GPU for optimal performance, DF-SLAM represents a significant step toward more reliable and versatile autonomous navigation.

Summary updated

BibTeX
@misc{kang2019df,
  author = {Rong Kang and Jieqi Shi and Xueming Li and Yang Liu and Xiao Liu},
  title = {{DF-SLAM: A Deep-Learning Enhanced Visual SLAM System based on Deep Local Features}},
  year = {2019},
  eprint = {1901.07223},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1901.07223},
}
Figure