GGraph: A GPU-Accelerated Library for Graph-Based Robot Deployment and Learning
Organizations: Stanford University, CA
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.
Figures & tables
| Library | GPU Accel. | Spatial Graph Merging | Robotics Navigation & Exploration | Policy Learning Support |
| NetworkX | ✗ | ✗ | ✗ | ✗ |
| cuGraph [ 13 ] | ✓ | ✗ | ✗ | ✗ |
| PyTorch Geometric [ 12 ] | ✓ | ✗ | ✗ | ✓ |
| GBPlanner [ 7 ] | ✗ | ✓ | ✓ | ✗ |
| TARE Planner [ 6 ] | ✗ | ✓ | ✓ | ✗ |
| ARiADNE node manager [ 9 ] | ✗ | ✓ | ✓ | ✓ |
| Planner | Graph builder | Easy | Medium | Complex | All | Success rate |
| Nearest frontier (greedy) | ARiADNE | 1404 | 1896 | 2388 | 1896 | 0.44 |
| ARiADNE SAC-16 (6 h) | ARiADNE | 909 | 1304 | 2305 | 1506 | 0.86 |
| ARiADNE released policy (24 h, 32 robots) | ARiADNE | 861 | 1090 | 2050 | 1333 | 0.91 |
| SAC-512 (6 h) | GGraph | 736 | 1205 | 2165 | 1369 | 0.98 |
| PPO ( , 6 h) | GGraph | 785 | 1156 | 1825 | 1255 | 0.97 |
Robot Learning
Robot learning develops methods for robots to acquire skills and adapt from demonstrations, interaction, data, and physical models.
See all 321 papers