A Neurosymbolic Approach to Adaptive Feature Extraction in SLAM

Yasra Chandio, Momin Ahmad Khan, Khotso Selialia, Luis Garcia, Joseph DeGol, Fatima M. Anwar

Abstract

Simultaneous Localization and Mapping (SLAM) is a foundational technology for autonomous navigation, yet traditional systems often struggle with environmental variability. This paper introduces nFEX, a neurosymbolic framework designed to enhance the robustness of SLAM by dynamically synthesizing feature extraction programs. By combining a Domain-Specific Language (DSL) with neural parameter optimization and symbolic algorithm selection, nFEX adapts to changing lighting, motion profiles, and scene textures. Experimental results across KITTI, EuRoC, and HoloSet datasets demonstrate that nFEX reduces Absolute Trajectory Error (ATE) by up to 90% compared to static baselines while maintaining real-time performance.

1. Introduction

In the domain of autonomous robotics and augmented reality, SLAM serves as the critical mechanism for spatial awareness. However, the reliability of visual SLAM is heavily dependent on the quality of feature extraction—the process of identifying and tracking landmarks across frames. Traditional pipelines typically utilize fixed algorithms, such as ORB or SIFT, with static parameters. These "one-size-fits-all" configurations are notoriously brittle; transitions between high-contrast outdoor environments and low-light indoor corridors often lead to tracking failures and system drift.

To address these limitations, we present nFEX, a framework that treats feature extraction as a context-aware, programmable task. By leveraging neurosymbolic program synthesis, nFEX bridges the gap between the interpretability of symbolic logic and the adaptive learning capabilities of neural networks.

2. The Challenge of Static Feature Extraction

Feature extraction algorithms involve inherent trade-offs. For instance, ORB (Oriented FAST and Rotated BRIEF) is computationally efficient and suitable for high-texture scenes but lacks the precision of SIFT (Scale-Invariant Feature Transform) in complex lighting. Most state-of-the-art SLAM systems, such as ORBSLAM3, rely on manually tuned parameters that cannot account for the dynamic nature of real-world operation. While pure deep learning approaches offer potential adaptability, they often function as "black boxes," lacking the transparency required for safety-critical applications like autonomous driving.

3. Methodology: The nFEX Framework

The nFEX framework introduces a neurosymbolic pipeline to replace static front-ends in SLAM. The architecture is built upon four primary components:

  1. Domain-Specific Language (DSL): A specialized language that describes the operational environment (e.g., agent type, lighting conditions, motion speed) and the configuration space of feature extractors.
  2. Knowledge Graph: A repository of expert knowledge that maps environmental contexts to algorithmic performance, enabling the system to reason about which extractor is best suited for specific conditions.
  3. Two-Step Program Synthesis:
    • Neural Component: A neural network analyzes the current scene to predict optimal "knob settings" (parameters like scale factors and feature counts).
  4. Symbolic Component: Utilizing the DSL and symbolic reasoning, the system selects the most appropriate algorithm architecture (e.g., switching from ORB to SIFT) based on the predicted context.
  5. Integration: The framework is integrated into the ORBSLAM3 library, replacing its standard feature extraction module with this adaptive synthesis engine.

4. Experimental Evaluation

The efficacy of nFEX was evaluated using three diverse datasets representing different motion and environmental challenges:

  • KITTI: High-speed outdoor urban driving.
  • EuRoC: Aggressive, jerky drone maneuvers in indoor settings.
  • HoloSet: Handheld and head-mounted perspectives involving mixed indoor/outdoor transitions.

4.1 Quantitative Results

The implementation of nFEX yielded significant improvements in tracking accuracy and feature reliability. In the EuRoC (MH01) sequence, nFEX achieved an average of 772 matches per frame, nearly doubling the 389 matches produced by the default ORB configuration. More importantly, the system reduced the Absolute Trajectory Error (ATE) by up to 90% compared to default ORB and 66% compared to default SIFT configurations.

4.2 Computational Efficiency

Despite the complexity of real-time synthesis, nFEX maintains a low computational overhead. The parameter selection process is executed in approximately 5.49 μs, with total frame processing times averaging 112 ms. This ensures that the framework remains viable for real-time robotics applications where low latency is essential.

5. Discussion and Conclusion

The primary contribution of nFEX is the demonstration that feature extraction should not be a static component of the SLAM pipeline. By making the front-end a synthesized program that re-writes itself based on environmental context, we achieve a level of robustness previously unattainable with fixed methods. Furthermore, the symbolic nature of the framework provides interpretability, allowing researchers to audit why specific algorithms were selected for specific frames.

Future work will focus on improving cross-environment generalization and developing "platform-aware" synthesis. This would allow the system to consider hardware constraints, such as battery life or CPU availability, when selecting extraction strategies. Ultimately, the neurosymbolic approach used in nFEX provides a blueprint for making the entire SLAM pipeline—from mapping to loop closure—truly adaptive.

Summary updated

BibTeX
@inproceedings{chandio2024neurosymbolic,
  author = {Yasra Chandio and Momin Ahmad Khan and Khotso Selialia and Luis Garcia and Joseph DeGol and Fatima M. Anwar},
  title = {{A Neurosymbolic Approach to Adaptive Feature Extraction in SLAM}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2024},
  doi = {10.1109/iros58592.2024.10802379},
}
Figure