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
TABLE I: Motion planning results on the nuScenes validation set (5,119 frames). L2 error (m, ↓ ) and collision rate (%, ↓ ) reported at each horizon and as averages under STP-3 [ 4 ] and UniAD [ 5 ] conventions. Bold : best per column. Underline : second best. † Four of 5,119 examples failed to parse ( ≈0.08% ).
Fig. 2: Qualitative trajectory comparison on a scenario where the ego vehicle executes a left turn. The ego vehicle is represented by the black box at the origin, and the other black boxes are the bounding boxes of surrounding agents detected by the perception system. The teacher (blue) correctly follows the ground-truth trajectory (black). The GKD student (green) misses the turn but stays closer to the ground truth (ADE 3.09 m) than the RL student (red), which deviates most severely (ADE 6.29 m vs. teacher ADE 1.51 m). No collision occurs in any prediction.
Language model distillation transfers a larger model’s capabilities to smaller or specialized models using outputs, probabilities, or internal representations.
Department of Informatics, University of Oslo, Oslo, Norway · Department of Computer Science, Aalborg University, Aalborg, Denmark · University of Sydney, Sydney, Australia +2