← Latest papers
⚡ electrical engineering

On-Policy Distillation of Language Models for Autonomous Vehicle Motion Planning

This paper demonstrates that on-policy generalized knowledge distillation effectively transfers motion planning capabilities from a large language model teacher to a significantly smaller student model, outperforming reinforcement learning baselines and achieving near-teacher performance on the nuScenes benchmark for autonomous vehicle deployment.

Original authors: Amirhossein Afsharrad, Amirhesam Abedsoltan, Ahmadreza Moradipari, Sanjay Lall

Published 2026-04-10
📖 4 min read☕ Coffee break read

Original authors: Amirhossein Afsharrad, Amirhesam Abedsoltan, Ahmadreza Moradipari, Sanjay Lall

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are teaching a young, eager apprentice (the Student) how to drive a self-driving car. You have a world-class, genius instructor (the Teacher) who knows every rule of the road, can predict exactly where pedestrians will step, and can plot the perfect, smooth path around any obstacle.

The problem? The genius instructor is a giant, heavy supercomputer. It's too big and expensive to fit inside a real car. The apprentice, however, is small, fast, and cheap enough to fit in the car's dashboard.

The goal of this paper is to figure out the best way to transfer the genius instructor's driving skills into the small apprentice so the car can drive safely on its own.

The Two Teaching Methods

The researchers tested two different ways to teach the apprentice.

1. The "Guess and Check" Method (Reinforcement Learning / RL)

Imagine the apprentice tries to drive a route. After they finish, the genius instructor looks at the path and says, "You made a mistake at the second turn. You should have turned left a bit more."

  • How it works: The instructor only gives feedback on the specific turns the apprentice actually took. It's like a teacher grading a test by only looking at the answers the student wrote down, without showing them the correct answers for the questions they got wrong.
  • The Flaw: If the apprentice makes a tiny mistake early on (like turning slightly too wide), the next turn becomes harder to judge. Because the instructor only sees the final result of that specific mistake, the apprentice keeps compounding errors. It's like trying to learn to walk by only getting corrected after you've already fallen over.

2. The "Shadowing" Method (On-Policy Distillation / GKD)

This is the method the paper champions. Imagine the apprentice drives the car, but the genius instructor is sitting right next to them, whispering in their ear every single second.

  • How it works: As the apprentice decides to turn the wheel, the instructor doesn't just say "Good" or "Bad." Instead, the instructor says, "If you turn left, there's a 90% chance that's perfect. If you turn right, there's a 10% chance that's okay, but if you go straight, that's a 0% chance."
  • The Magic: The apprentice learns not just what to do, but the probability of every possible move. They learn the "shape" of the correct path. Even if the apprentice makes a small mistake, the instructor's detailed map of "what could have happened" helps them correct course immediately, rather than spiraling out of control.

The Experiment: The Race

The researchers set up a race on a famous driving dataset (nuScenes) using a giant "Teacher" model (8 billion brain cells) and a tiny "Student" model (1.7 billion brain cells).

  • The Teacher: Drove perfectly, hitting the target path with almost zero error.
  • The RL Student (Guess and Check): Drove okay, but made big mistakes. It was about 50% worse than the teacher. It tended to drift off course, especially on long trips, because its early mistakes piled up.
  • The GKD Student (Shadowing): Drove almost exactly like the teacher. Even though it was 5 times smaller, it was only about 5% less accurate than the giant teacher. It stayed safe, avoided collisions, and followed the road smoothly.

Why Did the "Shadowing" Win?

Think of driving coordinates (like "turn 3.5 meters left") as a sequence of numbers.

  • The RL method is like a teacher who only tells you, "The number 3 is good." It doesn't tell you that 3.1 or 3.2 are also good, or that 9 is terrible.
  • The GKD method is like a teacher who shows you the whole spectrum: "3 is great, 3.1 is great, 3.2 is okay, but 9 is impossible."

Because driving requires precise, continuous numbers, seeing the whole picture of what is possible helps the small student understand the physics of the car much better than just seeing a single "good" answer.

The Bottom Line

This paper proves that you don't need a supercomputer to drive a car. You can take a super-smart AI, shrink it down to fit in a car's dashboard, and teach it to drive almost as well as the giant version—but only if you teach it the right way.

By using the "Shadowing" method (On-Policy Distillation), the small student learns to see the road the way the expert does, making it a safe, practical, and affordable solution for the future of self-driving cars.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →