arXiv:2610.28953cs.ROOct 2026

Manuscript Offprint

arXiv:2610.28953

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

Yash Rampuria, Rohan Garg, Daniele Gammelli, Marco Pavone

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Yash Rampuria 1^{1}, Rohan Garg 1^{1}, Daniele Gammelli 1^{1} and Marco Pavone 1^{1}

1^{1}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.

Index Terms—Robot Navigation and Exploration, Graph-based RL, Software Tool for Robotics

I. INTRODUCTION

Progress in mobile robotics has been driven by a small set of design tools that became shared infrastructure, including occupancy grids for planning [1], GPU elevation mapping for locomotion [2], OpenCV for perception [3], PyTorch for learning [4], and massively parallel simulators for RL [5]. Each is valuable because one implementation serves both deployment on a robot and training in simulation, so improvements on either side transfer.

Graphs have long been used for robot planning. A navigation graph stores sparse collision-free nodes connected by traversable edges, and nodes can carry frontiers, traversability, semantics or learned scores. Such graphs underpin classical exploration planners [6–8] and a line of learned policies that reason over the graph with Graph Neural Networks [9–11]. Despite this, no shared tool builds and maintains these graphs. Deployment planners construct them inside planner-specific, single-robot code. Learning pipelines rebuild them for every environment on the CPU, so a 16-worker training run spends much of its wall-clock time maintaining graphs rather than learning. GPU graph libraries [12, 13] target fixed

Figure

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.

graphs consumed by a model, not graphs that grow and are merged and re-scored at every step of a rollout.

To address this gap, we present GGRAPH, a GPU-resident navigation-graph library that serves as one design tool for both deployment and learning (Fig. 1). GGRAPH takes occupancy grids or elevation maps as input. It samples collision-free waypoints, merges them incrementally into a persistent world-frame graph with stable node identities, and attaches per-node attributes through a layer system. Shortest paths, connectivity and frontiers are all available as CUDA tensors. The same implementation serves single-robot deployment through ROS 2 and policy learning across many parallel environments.

Building such a library raises some technical challenges. First, the graph changes at every step, as each observation adds a varying number of nodes and edges that must be merged into a graph already covering the explored world. Second, existing graph builders rely on sequential data structures, such as priority queues and per-node objects, that cannot run in parallel on a GPU. Third, learning requires hundreds of such graphs, each growing at a different rate, to be updated together. Fourth, on a real robot the graph must survive loop closure, which moves every node placed since the drift began. GGRAPH stores each graph as parallel tensors with stable node identities, so adding, merging, pruning and correcting nodes are single vectorized operations. It merges each observation with one batched nearest-neighbor assignment and one line-of-sight kernel over all candidate edges. It also reformulates graph search as edge-parallel Bellman–Ford and pointer-jumping connected

Emails:

yashr@stanford.edu,

rohang73@stanford.edu, gammelli@stanford.edu,

pavone@stanford.edu components, running one robot or NN environments through the same kernels. The novel contribution of GGRAPH is to make the navigation graph itself a batched, GPU-resident, loop-closure-aware data structure shared by deployment and learning. To our knowledge, no other library provides this capability. Our contributions are:

  1. An open-source GPU navigation-graph library. An extensible layer system stores geometric, semantic and learned attributes per node, and ROS 2 and batched interfaces let the same code serve deployment and learning (Sec. IV-A).

  2. Validation in robot deployment and policy learning. We use GGRAPH to build 3-D graphs from real-world sensor data, attach frontier and semantic layers, and correct the whole graph after loop closure in one vectorized pass. Used as a batched RL environment, GGRAPH trains graph-based exploration policies that reach the quality of prior learned policies in a fraction of the training time and outperform baselines on held-out maps, on a ground vehicle in a high-fidelity simulator, and on a real robot (Secs. V-A and V-B).

  3. Scalability benchmarks. Graph updates take just tens of milliseconds as graphs grow to a million nodes, and environment-step throughput scales with the number of parallel robots, reaching 27×27 \times that of a SoTA baseline (Secs. V-A.3 and V-B.1).

References (30)