GGraph: A GPU-Accelerated Library for Graph-Based Robot Deployment and Learning

Yash Rampuria, Rohan Garg, Daniele Gammelli, Marco PavonearXiv 2026 · arXiv

TL;DR

GGraph is an open-source, GPU-resident library that moves the entire pipeline of robot navigation graph construction and maintenance onto the GPU. By enabling massive parallelization, it allows reinforcement learning (RL) policies to train across hundreds of robots simultaneously, slashing training times by an order of magnitude while providing a unified framework for both simulation and real-world deployment.

What Problem Does This Paper Address?

Graph-based representations are a staple in robotics, offering a sparse yet expressive way to capture geometry and semantics for navigation. However, they present a massive bottleneck for modern Reinforcement Learning. Training robust policies often requires simulating thousands of parallel environments. If each environment builds and updates its own graph on a CPU, the system quickly becomes "compute-bound" by graph maintenance rather than policy learning.

Existing GPU graph libraries (like cuGraph or PyTorch Geometric) are typically optimized for static graphs or specific analytics. They aren't designed for the "living" graphs needed in robotics—graphs that must grow, merge local observations into a global map, and handle spatial queries like collision checking and frontier detection in real-time.

Methods

The core innovation of GGraph is treating the navigation graph as a collection of batched, GPU-resident tensors. Instead of using sequential data structures like priority queues, GGraph reformulates graph operations into vectorized kernels:

  • Batched Graph Building: It samples collision-free waypoints and merges them into a persistent world-frame graph using batched nearest-neighbor assignments.
  • Parallel Edge Validation: Candidate edges are validated using GPU-parallel line-of-sight checks against occupancy memory.
  • Multi-Layer Attributes: A flexible layer system allows nodes to store geometric, semantic (e.g., "grass" vs. "pavement"), or learned features as aligned GPU tensors.
  • Edge-Parallel Search: To avoid the serialization of Dijkstra’s algorithm, GGraph uses edge-parallel Bellman-Ford for shortest paths and pointer-jumping for identifying connected components.
  • Vectorized Loop Closure: Each node stores its original odometry frame index. When a SLAM module provides a trajectory correction, GGraph corrects the entire graph in a single $O(N)$ vectorized pass, translating nodes without needing to re-integrate sensor data.
Fig. 1: GGRAPH is a GPU-accelerated graph library for robot deployment and learning. The image shows 200 robots training graph-based exploration policies in parallel in Isaac Sim. Nodes (red) are sampled in 3-D free space and edges (colored per robot) show collision-free connectivity.

Datasets

The authors evaluated GGraph across several environments:

  • 2D Grid Worlds: Used for large-scale RL training, utilizing maps from the ARiADNE dataset and 150 newly generated "dungeon" maps for validation.
  • CMU Exploration Environment: A high-fidelity Gazebo simulator featuring complex forest and indoor corridor worlds.
  • Real-World Data: 3D point cloud sequences captured by a Boston Dynamics Spot robot equipped with a LiDAR-camera payload.

Key Insights and Ideas

  • Unified Infrastructure: The same GPU kernels used to train a policy across 512 parallel robots in simulation are used to run the graph builder on a single robot in the real world via ROS 2.
  • Throughput is King: By keeping the graph state entirely on the GPU, the library eliminates the costly CPU-GPU data transfer bottleneck. This allows on-policy methods like PPO to become practical for graph-based navigation.
  • Spatial Merging as Tensor Ops: The paper demonstrates that complex spatial operations—like merging overlapping nodes or pruning redundant edges—can be efficiently implemented as vectorized "gather" and "scatter" operations.
Fig. 2: GGRAPH constructs 3-D navigation graphs from real- world data captured with an Odin camera. Local point clouds are converted into occupancy grids, from which the library samples nodes (red). The inset shows the graph projected into the camera view. The traversable structure of a multi-level outdoor scene is stored in a few thousand nodes, whereas a volumetric map of the same scene would require orders of magnitude more memory.

Key Results

  • 27x Throughput Speedup: GGraph reached ~6,500 environment steps per second with 512 parallel robots, compared to just 244 steps per second for the CPU-based ARiADNE baseline.
  • Training Efficiency: Exploration policies that previously required 24 hours of training were matched or outperformed by GGraph-trained policies in just 1.5 to 2 hours.
  • Scalability: Graph updates remain incredibly fast even at scale. A full update for a graph with 100,000 nodes takes only ~7ms, and even at 1 million nodes (covering roughly 500x500m), updates take just 62ms.
  • Real-World Transfer: A PPO policy trained entirely on 2D grid worlds successfully transferred to a real Spot robot, navigating an office floor by reasoning over the graph rather than raw sensor feeds.
Fig. 5: Graph update time vs number of nodes. Each point is one GGRAPH update. A local graph built from an 80×80 m observed window is merged into a global graph of N nodes, with collision checks on the new edges. Lines show the total and per-stage update time, averaged over three obstacle layouts.

Limitations and Future Work

While GGraph is highly performant, the authors note that sampling parameters currently require some per-platform tuning. Future work aims to replace manual tuning with learned node sampling. Additionally, while the library handles static geometry well, extending it to robustly manage dynamic obstacles in the graph remains an open challenge. The authors also suggest that the multi-layer system could be extended to image-conditioned policies by integrating vision encoders that write embeddings directly into the node tensors.

Summary updated

Abstract

Autonomous mobile robots require spatial representations that capture geometry and semantics while staying sparse enough for planning in large, unknown environments. Graphs provide a natural representation for this purpose and underpin both classical planning methods and a growing class of reinforcement-learning (RL) policies. However, RL training needs hundreds to thousands of parallel environments, each constructing and updating its own graph. Existing graph libraries are typically designed for either single-robot deployment or fixed graphs, and CPU-based graph construction limits scalable training to only a few dozen environments. We introduce GGraph, an open-source GPU-accelerated graph library for both robot deployment and large-scale learning. GGraph supports real robots through ROS 2 interfaces and vectorized GPU-based policy training, with built-in support for tasks including 3-D navigation, exploration, and loop-closure integration. For single-robot operation, GGraph updates graphs in milliseconds. At scale, it enables graph-based exploration policies to train across hundreds of parallel robots, reducing wall-clock training time by one order of magnitude. Across simulation and real-world experiments, these results establish GGraph as a unified graph infrastructure for both large-scale robot learning and deployment.
BibTeX
@misc{rampuria2026ggraph,
  author = {Yash Rampuria and Rohan Garg and Daniele Gammelli and Marco Pavone},
  title = {{GGraph: A GPU-Accelerated Library for Graph-Based Robot Deployment and Learning}},
  year = {2026},
  eprint = {2610.28953},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.28953},
}
Figure