PlanT: Explainable Planning Transformers via Object-Level Representations

Katrin Renz, Kashyap Chitta, Otniel-Bogdan Mercea, A. Sophia Koepke, Zeynep Akata, Andreas Geiger

Abstract

Planning an optimal route in a complex environment requires efficient reasoning about the surrounding scene. While human drivers prioritize important objects and ignore details not relevant to the decision, learning-based planners typically extract features from dense, high-dimensional grid representations containing all vehicle and road context information. In this paper, we propose PlanT, a novel approach for planning in the context of self-driving that uses a standard transformer architecture. PlanT is based on imitation learning with a compact object-level input representation. On the Longest6 benchmark for CARLA, PlanT outperforms all prior methods (matching the driving score of the expert) while being 5.3x faster than equivalent pixel-based planning baselines during inference. Combining PlanT with an off-the-shelf perception module provides a sensor-based driving system that is more than 10 points better in terms of driving score than the existing state of the art. Furthermore, we propose an evaluation protocol to quantify the ability of planners to identify relevant objects, providing insights regarding their decision-making. Our results indicate that PlanT can focus on the most relevant object in the scene, even when this object is geometrically distant.

Introduction

As autonomous driving moves toward end-to-end learning-based systems, the choice of scene representation becomes critical. Most current state-of-the-art planners rely on dense, high-dimensional Bird’s Eye View (BEV) semantic grids. While effective, processing these pixel-level maps requires computationally expensive Convolutional Neural Networks (CNNs) and often results in "black box" models where decision-making is difficult to interpret.

Comparison between pixel-level and object-level representations for autonomous driving planning.

PlanT (Planning Transformer) addresses these challenges by shifting from pixel-level grids to a compact, object-centric representation. By framing driving as a sequence modeling problem over a set of objects, PlanT achieves superior performance and inference speed while providing inherent explainability through its attention mechanism.

Methodology

PlanT utilizes a standard Transformer architecture to process a tokenized representation of the driving environment.

Object-Level Tokenization

Instead of rendering a full BEV image, the scene is decomposed into a list of discrete objects (nearby vehicles) and route segments. Each token encodes essential attributes: position ($x, y$), orientation (yaw), size ($w, h$), and speed. This representation significantly reduces the input dimensionality compared to dense grids.

Transformer Architecture and Training

These tokens are embedded and processed by a Transformer encoder. A learnable [CLS] token aggregates global scene context and is passed to a Gated Recurrent Unit (GRU) decoder to predict the ego vehicle's future waypoints. To enhance the model's understanding of scene dynamics, PlanT is trained with a self-supervised auxiliary task: predicting the future state (speed, position, orientation) of all surrounding vehicles.

The PlanT architecture, featuring object tokenization, a Transformer encoder, and attention-based explainability.

Explainability and the RFDS Metric

A key advantage of the Transformer architecture is its inherent explainability. By extracting the attention weights of the [CLS] token, researchers can visualize which objects the model prioritizes during decision-making. To quantify this, the authors introduce the Relative Filtered Driving Score (RFDS). This metric tests if the model's identified "most relevant" object is sufficient for safe driving by masking all other objects and evaluating the performance of an expert algorithm using only that single object.

Experimental Results

PlanT was evaluated on the challenging Longest6 benchmark in the CARLA simulator, which features dense urban traffic and complex navigation.

  • Performance: PlanT achieved a Driving Score (DS) of 81.36, surpassing the rule-based expert (76.91) and setting a new state-of-the-art for learning-based planners.
  • Efficiency: The PlanT-mini variant achieves expert-level performance with an inference time of just 5.46 ms, making it 5.3x faster than equivalent pixel-based CNN baselines.
  • Explainability: On the RFDS metric, PlanT scored 96.82, significantly outperforming CNN-based masking techniques (82.83), proving that its attention weights accurately identify critical scene elements.

Conclusion

PlanT demonstrates that dense pixel-level representations are not a requirement for high-performance autonomous planning. By utilizing a compact object-level representation and a Transformer architecture, PlanT offers a faster, more accurate, and more explainable alternative to traditional CNN-based planners. Future work will focus on improving robustness to perception errors and scaling the model to handle the diversity of real-world driving data.

Summary updated

BibTeX
@inproceedings{renz2022plant,
  author = {Katrin Renz and Kashyap Chitta and Otniel-Bogdan Mercea and A. Sophia Koepke and Zeynep Akata and Andreas Geiger},
  title = {{PlanT: Explainable Planning Transformers via Object-Level Representations}},
  booktitle = {Long Horizon Planning @ CoRL},
  year = {2022},
  url = {https://openreview.net/forum?id=fQ-qtBbNuE},
}
Figure