Abstract
Learning-based methods have shown promising performance for accelerating motion planning, but mostly in the setting of static environments. For the more challenging problem of planning in dynamic environments, such as multi-arm assembly tasks and human-robot interaction, motion planners need to consider the trajectories of the dynamic obstacles and reason about temporal-spatial interactions in very large state spaces. We propose a GNN-based approach that uses temporal encoding and imitation learning with data aggregation for learning both the embeddings and the edge prioritization policies. Experiments show that the proposed methods can significantly accelerate online planning over state-of-the-art complete dynamic planning algorithms. The learned models can often reduce costly collision checking operations by more than 1000x, and thus accelerating planning by up to 95%, while achieving high success rates on hard instances as well.
Introduction: The Challenge of Dynamic Environments
Motion planning is a fundamental capability in robotics, enabling a robot to navigate from a start configuration to a goal without collisions. While planning in static environments is well-understood, dynamic environments—where obstacles like human workers or other robotic arms move over time—present a significantly higher complexity.
In these scenarios, the "safe" regions of space are time-dependent. A path that is clear at $t=1$ might be blocked by a moving obstacle at $t=2$. This "Curse of Time" means that missing a narrow window of opportunity by a fraction of a second can render a path unfeasible. Traditional complete algorithms, such as Safe Interval Path Planning (SIPP), are computationally expensive because they must search a massive spatio-temporal state space. Conversely, standard learning-based methods often fail to capture the high-frequency temporal constraints necessary for safe navigation.
Methodology: GNN-TE Architecture
The researchers introduced GNN-TE (Graph Neural Network with Temporal Encoding), a framework designed to learn efficient edge prioritization policies for dynamic planning. The system operates in two distinct stages to handle global context and local decision-making.
Stage 1: Global GNN Encoder ($N_G$)
This stage processes a sampled graph of the robot's configuration space alongside the global trajectories of all dynamic obstacles. It utilizes an Attention Mechanism to model the complex interactions between obstacles and different regions of the graph. By using Graph Neural Networks (GNNs), the model achieves permutation invariance, focusing on the geometric and topological relationships between points rather than their arbitrary ordering.
Stage 2: Local Planner ($N_P$)
As the robot navigates, the local planner evaluates the current vertex and a sliding "time window" of obstacle movement. It predicts priority values for outgoing edges, effectively identifying the safest and most efficient next step. This localized view allows the system to react to immediate temporal constraints without re-processing the entire global state.
Temporal Encoding and Imitation Learning
A key innovation is the use of sinusoidal temporal encoding, a technique borrowed from Transformers. By mapping raw time values into high-dimensional vectors of sine and cosine waves, the network can better perceive precise timing constraints.
To train the model, the authors employed Imitation Learning using the SIPP algorithm as an expert "teacher." To address the issue of distribution drift—where small errors lead the robot into states the teacher never visited—they utilized DAgger (Dataset Aggregation). This iterative process allows the robot to query the expert for the optimal move from any state it reaches during training, ensuring robust recovery from sub-optimal positions.
Experimental Results
The GNN-TE framework was evaluated across simulated environments ranging from 2-DoF arms to complex 7-DoF KUKA manipulators facing multiple moving obstacles.
- Efficiency Gains: The most significant bottleneck in motion planning is collision checking. GNN-TE reduced these costly operations by over 1000x compared to the SIPP expert.
- Planning Speed: By minimizing collision checks, the model achieved up to a 95% reduction in total online planning time.
- Success on Hard Instances: In "hard" scenarios where standard heuristics (like Dijkstra-H) failed completely (0% success), GNN-TE maintained high success rates (e.g., ~62% in 2-arm environments).
- Comparison to RL: GNN-TE significantly outperformed Reinforcement Learning baselines like PPO and DQN, which struggled to find feasible paths in high-dimensional spaces without expert guidance.
Conclusion and Future Work
GNN-TE demonstrates that combining the topological strengths of GNNs with high-resolution temporal encoding can solve complex dynamic planning problems with unprecedented efficiency. While the current model is highly effective, its performance remains bounded by the quality of the initial graph sampling. Future research aims to make these models "kinematically aware" to improve generalization across different robot types and to integrate backtracking searches to improve path optimality while maintaining high planning speeds.
Summary updated