Faster Optimization in S-Graphs Exploiting Hierarchy

Javier Civera, Hriday Bavle, José Luis Sánchez-López, Javier Civera 0001, Holger VoosarXiv 2023 · DOI

Abstract

Situational Graphs (S-Graphs) provide a robust hierarchical framework for Simultaneous Localization and Mapping (SLAM) by linking robot poses to semantic entities like walls, rooms, and floors. However, the computational cost of optimizing these graphs grows significantly as the environment expands. This paper introduces a hierarchical optimization strategy that leverages the semantic structure of buildings to perform "semantic compression." By marginalizing redundant robot poses within room-level subgraphs, the proposed method achieves a ~40% reduction in computation time while maintaining high mapping accuracy.

Introduction

Simultaneous Localization and Mapping (SLAM) is fundamental to mobile robotics. 3D Scene Graphs, such as S-Graphs, have emerged as a powerful way to represent environments hierarchically, connecting robot poses to structural elements like walls and rooms. While effective, these graphs face scalability issues: as a robot explores, the factor graph grows indefinitely, eventually exceeding real-time computational limits. The authors address this by pruning the graph through semantic compression, ensuring the system remains efficient in large-scale environments.

The hierarchical structure of S-Graphs, illustrating the relationship between floors, rooms, walls, and keyframes, including marginalized nodes.

Methods: Semantic Compression

The core innovation is a three-stage hierarchical optimization process that exploits the building's inherent structure:

  1. Room-Local Optimization: When a room is detected, the system creates and optimizes a local subgraph containing only the keyframes and walls associated with that room.
  2. Node Marginalization: Following local optimization, the system identifies redundant keyframes. It retains only one representative pose per room, marginalizing the others. This mathematically removes the nodes from the active graph while preserving their geometric constraints.
  3. Two-Tiered Global Optimization:
  4. Local (Windowed) Optimization: A sliding window optimization is performed on the most recent keyframes.
  5. Global Optimization: A full optimization of the "compressed" graph is triggered only upon loop closure detection.

By keeping the global graph compressed to roughly one pose per room, the system maintains high performance even during extensive exploration.

Experimental Evaluation

The researchers evaluated the proposed method using simulated datasets (C1F1, C1F2) and real-world data collected from a legged robotic platform equipped with a 3D LiDAR. The evaluation focused on Absolute Trajectory Error (ATE) and mean computation time.

Quantitative comparison of ATE and computation time between the baseline S-Graphs+ and the proposed hierarchical optimization method across simulated datasets.

Key Results and Insights

  • Significant Speedup: The proposed method achieved a 39.81% reduction in computation time compared to the S-Graphs+ baseline. In real-world tests, average optimization time dropped from 129ms to 60ms.
  • Preserved Accuracy: Despite the massive reduction in graph size, the ATE remained nearly identical to the baseline. In the C1F1 simulation, the error actually decreased slightly (from 4.20cm to 4.09cm), likely due to the cleaner graph structure reducing optimization noise.
  • Contextual Redundancy: Unlike standard SLAM, which often prunes based on time or distance, this method uses semantic boundaries (rooms) to define redundancy. This ensures that the geometric integrity of a space is resolved before it is compressed in the global graph.

Conclusion

This paper demonstrates that exploiting environmental hierarchy can effectively solve the scalability challenges of S-Graphs. By distilling information from many nodes into fewer, semantically significant nodes, the system achieves real-time performance in large environments without sacrificing accuracy. Future work will explore extending this logic to floor-level marginalization and handling dynamic environments.

Summary updated

BibTeX
@misc{civera2023faster,
  author = {Javier Civera and Hriday Bavle and José Luis Sánchez-López and Javier Civera and Holger Voos},
  title = {{Faster Optimization in S-Graphs Exploiting Hierarchy}},
  year = {2023},
  eprint = {2308.11242},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.11242},
}
Figure