On-Policy Distillation of Language Models for Autonomous Vehicle Motion Planning
Organizations: Stanford University · University of California, San Diego · University of California, Santa Barbara
Abstract
Large language models (LLMs) have recently demonstrated strong potential for autonomous vehicle motion planning by reformulating trajectory prediction as a language generation problem. However, deploying capable LLMs in resource-constrained onboard systems remains a fundamental challenge. In this paper, we study how to effectively transfer motion planning knowledge from a large teacher LLM to a smaller, more deployable student model. We build on the GPT-Driver framework, which represents driving scenes as language prompts and generates waypoint trajectories with chain-of-thought reasoning, and investigate two student training paradigms: (i) on-policy generalized knowledge distillation (GKD), which trains the student on its own self-generated outputs using dense token-level feedback from the teacher, and (ii) a dense-feedback reinforcement learning (RL) baseline that uses the teacher's log-probabilities as per-token reward signals in a policy gradient framework. Experiments on the nuScenes benchmark show that GKD substantially outperforms the RL baseline and closely approaches teacher-level performance despite a 5 reduction in model size. These results highlight the practical value of on-policy distillation as a principled and effective approach to deploying LLM-based planners in autonomous driving systems.
Figures & tables
| Method | L2 1s | L2 2s | L2 3s | STP-3 | UniAD |
|---|---|---|---|---|---|
| (m) | (m) | (m) | Avg L2 | Avg L2 | |
| Teacher | 0.145 | 0.319 | 0.600 | 0.355 | 0.730 |
| GKD Student | 0.151 | 0.334 | 0.634 | 0.373 | 0.772 |
| RL Student | 0.282 | 0.540 | 0.916 | 0.579 | 1.092 |
Language Model Distillation
Language model distillation transfers a larger model’s capabilities to smaller or specialized models using outputs, probabilities, or internal representations.
See all 508 papers