NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Tokenize the World into Object-level Knowledge to Address Long-tail Events in Autonomous Driving

Ran Tian, Boyi Li, Xinshuo Weng, Yuxiao Chen, Edward Schmerling, Yue Wang, Boris Ivanovic, Marco Pavone · DOI

Abstract

Autonomous driving (AD) systems have made significant strides in routine navigation, yet they frequently struggle with "long-tail" events—rare and complex scenarios such as navigating construction zones or performing three-point turns. Traditional end-to-end models often lack the common-sense reasoning required to handle these anomalies, while standard Multi-Modal Large Language Models (MM-LLMs) are hampered by unstructured visual tokenization. This paper introduces TOKEN, a framework that replaces pixel-grid tokens with object-centric knowledge. By representing the environment as discrete, semantically rich object tokens, TOKEN leverages the reasoning capabilities of LLMs to improve driving safety and planning. Experimental results on the NuScenes dataset and a custom long-tail benchmark demonstrate a 39% reduction in collision rates compared to state-of-the-art planners.

1. Introduction

The industry-wide shift toward end-to-end learning in autonomous driving aims to map sensor data directly to motion plans. However, these models often fail in the "long tail" of driving distribution. These rare scenarios require more than pattern matching; they require the type of common-sense reasoning and spatial logic inherent in Large Language Models (LLMs).

Existing MM-LLMs typically tokenize visual data into unstructured grids via Vision Transformers. While effective for general image captioning, this approach creates a "data-hungry" bottleneck for AD. Models must learn basic 3D spatial relationships from scratch using billions of parameters, a task for which driving-specific data is relatively scarce. TOKEN addresses this by providing the LLM with high-level, object-oriented abstractions of the world.

2. The TOKEN Framework

2.1 Object-Centric Tokenization

Rather than training a vision encoder from a blank slate, TOKEN utilizes a pre-trained end-to-end driving model, PARA-Drive, as its tokenizer. This allows the system to extract latent tokens that represent specific 3D bounding boxes, semantic categories, and predicted motions for agents (e.g., vehicles, pedestrians) and map elements (e.g., lanes, crosswalks). This shift from pixels to objects allows the LLM to focus on logic and strategy rather than geometric reconstruction.

2.2 Alignment and Reasoning

To bridge the gap between visual features and linguistic understanding, TOKEN employs a lightweight Multi-Layer Perceptron (MLP) adapter. This adapter aligns object-level embeddings with the text embedding space of LLaMA-2-7B.

Planning is executed through a hierarchical "Chain-of-Thought" approach:

  1. Grounding: The model identifies critical objects in the scene.
  2. Reasoning: The model explains the significance of these objects (e.g., "A vehicle is obstructing the lane, requiring a lane change").
  3. Planning: The model generates a 3-second motion plan consisting of six waypoints.

2.3 Training Strategy

The model undergoes a three-stage training process: representation alignment (matching tokens to text), reasoning alignment (learning to explain scenes), and planning fine-tuning (optimizing trajectory output).

3. Experimental Evaluation

3.1 Datasets and Benchmarks

TOKEN was evaluated using the NuScenes dataset and DriveLM for perception-based Question-Answering. To specifically test long-tail performance, the authors developed a Custom Long-tail Benchmark. This benchmark includes synthesized rare scenarios such as three-point turns, resuming motion after a full stop, and overtaking parked cars in oncoming lanes.

3.2 Quantitative Results

TOKEN demonstrated superior performance over state-of-the-art (SOTA) planners like PARA-Drive and Agent-Driver:

  • Trajectory Accuracy: Achieved a 27% reduction in trajectory L2 error.
  • Safety: Reduced collision rates by 39% across long-tail scenarios.
  • Scenario-Specific Success: In targeted tests for "overtaking" and "construction zones," TOKEN reduced collision rates by 100% and 67%, respectively, compared to the PARA-Drive baseline.

3.3 Data Efficiency

One of the most striking findings was TOKEN's data efficiency. By adding only 40 synthetic examples of three-point turns (representing just 0.12% of the training data), the model’s performance in that specific scenario improved drastically. This suggests that object-centric tokenization allows LLMs to generalize from very few examples.

4. Discussion and Limitations

While TOKEN represents a significant step forward, it remains dependent on the quality of its underlying tokenizer. If the PARA-Drive model fails to detect an object—such as a small motorcycle—the LLM remains "blind" to that hazard. Furthermore, the current model outputs trajectory coordinates as text strings, which is computationally expensive and can occasionally lead to minor numerical misalignments.

Future work will explore "co-training" the tokenizer and LLM simultaneously and moving toward quantized motion tokens to improve both the efficiency and precision of the generated trajectories.

5. Conclusion

By tokenizing the world into object-level knowledge, TOKEN successfully bridges the gap between high-level reasoning and low-level perception. This approach allows autonomous systems to handle the complexities of the long tail with greater safety and less data, moving closer to the goal of truly intelligent, common-sense-driven autonomous navigation.

Summary updated

BibTeX
@inproceedings{tian2024tokenize,
  author = {Ran Tian and Boyi Li and Xinshuo Weng and Yuxiao Chen and Edward Schmerling and Yue Wang and Boris Ivanovic and Marco Pavone},
  title = {{Tokenize the World into Object-level Knowledge to Address Long-tail Events in Autonomous Driving}},
  booktitle = {Conference on Robot Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=ySi0hEf1sp},
}
Figure