Distilling Multi-modal Large Language Models for Autonomous Driving

Deepti Hegde, Rajeev Yasarla, Hong Cai, Shizhong Han, Apratim Bhattacharyya, Shweta Mahajan, Litian Liu, Risheek Garrepalli, Vishal M. Patel, Fatih Porikli

Autonomous driving (AD) systems face a persistent challenge: navigating "long-tail" scenarios. These are rare, complex events—like executing a 3-point turn or safely overtaking a vehicle—that are underrepresented in standard training data.

Historically, AD systems have fallen into two camps. Vision-based planners are fast, efficient, and well-suited for real-time deployment, but they often struggle to generalize to these rare events. Conversely, LLM-based planners leverage the vast reasoning capabilities and "world knowledge" of Large Language Models (like LLaVA) to handle complex, unseen scenarios. However, running a massive LLM in a vehicle's onboard computer introduces prohibitive computational costs and latency.

The core question this research addresses is: How can we harness an LLM’s reasoning and robustness without paying the computational tax during actual driving? The answer is DiMA, a novel framework that captures the knowledge of an LLM and distills it into an efficient, vision-based planner.

The DiMA Framework: Bridging Vision and Language

DiMA employs a joint-training strategy to bridge the gap between visual perception and language-based reasoning. The system is designed so that the heavy-lifting LLM acts as a "teacher" during training but is entirely removed during real-time inference.

DiMA Architecture

The architecture relies on several key innovations:

  • The Shared Scene Encoder & BEAM Tokens: Instead of using a frozen image encoder, DiMA uses a trainable scene encoder that processes multi-view image sequences into structured BEAM tokens (Bird’s-eye-view, Ego-vehicle, Agents, and Map). These tokens serve as a common language, allowing both the vision planner and the Multi-modal LLM (MLLM) to reason over explicitly modeled scene components rather than dense, unstructured pixels.
  • Surrogate Tasks for Grounding: To ensure the MLLM truly understands driving dynamics, it is trained on three specialized tasks:
  • Masked Token Reconstruction: Rebuilding parts of the scene from context.
  • Future BEV Prediction: Anticipating the bird's-eye-view layout in the near future.
  • Scene Editing: A novel task where the model reasons about counterfactuals (e.g., "How would the ego-vehicle's path change if this specific car were removed?").
  • Feature Distillation: Using KL-divergence, DiMA aligns the internal representations (hidden features) of the vision-based "student" planner with those of the MLLM "teacher." This ensures the vision planner learns the robust, semantically grounded features suggested by the language model.
  • Inference Efficiency: Crucially, once the vision-based planner has learned to produce high-quality trajectories and internal features, the MLLM is discarded. At test time, the system relies solely on the efficient vision planner.

Datasets and Evaluation

The researchers evaluated DiMA primarily on nuScenes, a standard benchmark for open-loop planning containing 28k samples of real-world driving. To train the MLLM's reasoning capabilities, they utilized DriveLM, a subset of nuScenes annotated with 300k Question-Answering (QA) pairs.

To specifically test the model's robustness, the authors evaluated it on a "targeted" subset of 689 difficult scenarios (complex turns and maneuvers) and specific long-tail events.

Key Results: Safety, Accuracy, and Long-Tail Mastery

DiMA achieves state-of-the-art performance on the nuScenes benchmark, demonstrating massive improvements in both safety and trajectory accuracy.

Compared to the baseline vision planner (VAD), DiMA achieved a 37% reduction in L2 trajectory error and an impressive 80% reduction in collision rates.

Performance in Long-Tail Scenarios

The system truly shines in rare and complex situations. In difficult "targeted" scenarios, DiMA reduced trajectory error by 35%. As shown in the figure above, in specific long-tail cases like overtaking, DiMA significantly outperforms baselines. Furthermore, in zero-shot scenarios not seen during training—such as a 3-point turn—DiMA successfully executes the maneuver and outperforms existing LLM-based planners like TOKEN.

Because the LLM is removed at inference, DiMA maintains strict real-time performance. The "Tiny" version of DiMA runs at 16.8 FPS, while the "Base" version runs at 4.5 FPS—orders of magnitude faster than systems that keep an LLM in the loop during deployment.

Limitations and Future Work

While DiMA presents a significant leap forward, the authors note a few limitations:

  • Open-Loop Evaluation: The current evaluation is "open-loop" (predicting actions on pre-recorded clips). Future work will test these distilled features in "closed-loop" simulators where the environment dynamically reacts to the ego-vehicle's actions.
  • Data Dependency: The quality of the distillation process is heavily dependent on the quality of the Visual Question Answering (VQA) data used to train the MLLM teacher.
  • Scaling Potential: The current framework uses a 7B parameter model. Scaling the MLLM teacher to larger architectures (e.g., 70B parameters) could yield even richer feature distillation for the student planner.

By successfully distilling the world knowledge of an LLM into a lightweight vision model, DiMA offers a highly promising path toward autonomous driving systems that are both exceptionally safe in unpredictable environments and efficient enough for the real world.

Summary updated

BibTeX
@inproceedings{hegde2025distilling,
  author = {Deepti Hegde and Rajeev Yasarla and Hong Cai and Shizhong Han and Apratim Bhattacharyya and Shweta Mahajan and Litian Liu and Risheek Garrepalli and Vishal M. Patel and Fatih Porikli},
  title = {{Distilling Multi-modal Large Language Models for Autonomous Driving}},
  booktitle = {ER @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=UP0ygfXNM0},
}
Figure