From Prediction to Planning With Goal Conditioned Lane Graph Traversals

Marcel Hallgarten, Martin Stoll, Andreas Zell

Abstract

Motion prediction and planning are traditionally treated as distinct tasks in autonomous driving. While prediction models excel at capturing multimodal behaviors from large datasets, they often lack the goal-directedness required for planning. This paper introduces Goal-Conditioned Lane Graph Traversals (GC-PGP), a method that transforms a pre-trained prediction model into a reliable planner by masking the underlying lane graph. By forcing the model to consider only route-compliant paths at the behavioral level, GC-PGP achieves high route compliance and stability without extensive retraining.

Introduction

In autonomous driving, prediction models estimate the future trajectories of surrounding agents, while planners determine the ego-vehicle's path. Prediction models are typically "unconditioned," meaning they predict all plausible paths an agent might take based on historical data. However, a planner must follow a specific navigation goal, such as a GPS route. Directly using prediction models for planning often fails because the most "likely" predicted path may not align with the intended route (e.g., the model predicts going straight when the route requires a left turn).

Conceptual comparison between an unconditioned graph and a goal-conditioned graph where off-route paths are eliminated.

The challenge lies in leveraging the powerful reasoning capabilities of prediction models while ensuring they strictly adhere to a navigation goal. The authors propose a method to "mask" the lane graph, forcing the model to follow orders at the behavioral level.

Methodology

The proposed approach builds on Path-aware Graph-based Prediction (PGP), which represents the environment as a lane graph where nodes are road segments and edges represent possible transitions. The core innovation is the introduction of hard masking at the behavioral level.

The GC-PGP pipeline: from scene graph encoding and edge probability updates to trajectory sampling and final selection.
  1. Hard Masking: During inference, the probability of any graph edge leading off the pre-defined route is set to zero. This ensures that any sampled traversal through the graph is inherently route-compliant.
  2. Two-Step Logic: The model separates high-level behavior (which lane sequence to follow) from low-level motion (the specific trajectory within those lanes). Masking occurs at the behavioral level, allowing the motion decoder to still optimize for safety and comfort—such as slowing for pedestrians or nudging within a lane—within the allowed route.
  3. Inference-Time Application: Crucially, this "hard mask" can be applied to a pre-trained prediction model during testing. This allows researchers to convert high-performing prediction architectures into planners without the need for complex retraining.

Experimental Setup

The model was evaluated using the nuPlan dataset, one of the largest open-source datasets for autonomous driving, containing over 1,300 hours of real-world data. The authors specifically filtered the test set to 323 scenarios focused on complex intersections and unprotected turns, where following a navigation goal is most difficult.

Key Results and Insights

GC-PGP (Goal-Conditioned PGP) was compared against the base unconditioned PGP model and "Urban Driver," a dedicated planning model.

  • Open-Loop Performance: In intersection scenarios, GC-PGP's imitation score rose from 0.56 (unconditioned) to 0.74, nearly matching the performance of the much larger Urban Driver model (0.83).
  • Closed-Loop Simulation: GC-PGP demonstrated significantly higher success rates in completing routes compared to the unconditioned version, which often ignored navigation commands.
  • Plan Stability: By eliminating off-route distractions, the model reduced "Temporal Plan Instability"—the jerky indecision where a planner changes its mind frequently—by removing the off-route options that previously distracted the model.
  • Interpretability: Because the model chooses a path through a graph, the decision-making process is transparent; humans can see exactly which sequence of lane nodes the car intended to follow.

Conclusion and Future Work

Goal-Conditioned Lane Graph Traversals provide a robust framework for bridging the gap between prediction and planning. By constraining the behavioral search space of a lane graph, the model ensures route compliance while retaining the nuanced traffic reasoning of state-of-the-art prediction architectures.

While effective, the authors noted that the model can sometimes be overly cautious, failing to complete turns as quickly as human experts. Future work will involve developing more sophisticated cost functions to select the final trajectory from the goal-conditioned options, explicitly balancing safety, comfort, and progress.

Summary updated

BibTeX
@inproceedings{hallgarten2023from,
  author = {Marcel Hallgarten and Martin Stoll and Andreas Zell},
  title = {{From Prediction to Planning With Goal Conditioned Lane Graph Traversals}},
  booktitle = {ITSC},
  year = {2023},
  doi = {10.1109/itsc57777.2023.10421854},
}

Loading related content...

Figure