Manuscript Offprint
arXiv:2610.34689RSKD: Grounding Semantic Consistency in Driving VLMs via Distillation
ABSTRACT
Knowledge distillation can transfer large multimodal models to compact models for autonomous driving, but uniform token-level matching can dilute planning-relevant semantics and amplify teacher errors. We propose RSKD, a semantic-consistency-guided distillation framework that routes supervision according to both the task importance of an answer phrase and its semantic consistency with the teacher prediction. Task-critical semantic phrases are localized in the ground-truth answer, and a phrase-level consistency score controls the balance between Jensen–Shannon divergence (JSD) distillation and ground-truth supervision. Teacher information is emphasized only where it is semantically consistent, while semantically inconsistent phrases receive stronger ground-truth supervision. We evaluate RSKD on DrivingVQA, LingoQA, and MapLMv2. RSKD improves over the compared student-based baselines on DrivingVQA and LingoQA and remains competitive on MapLMv2.
Index Terms— knowledge distillation, autonomous driving, multimodal large language models
1. INTRODUCTION
Multimodal large language models (MLLMs) have recently shown promising capabilities in autonomous driving, supporting scene understanding, visual question answering, and reasoning over complex traffic environments [1, 2, 3]. Despite their strong reasoning capabilities, deploying large-scale MLLMs in practical autonomous systems remains challenging due to their substantial computational and memory costs. Knowledge distillation (KD) provides an effective approach to transferring knowledge from a powerful teacher model to a compact student model [4, 5, 6].
However, effective knowledge transfer in autonomous driving requires more than uniformly matching teacher distributions across answer tokens. Driving-oriented answers contain heterogeneous semantic information: some tokens encode task-critical elements such as traffic participants, traffic states, spatial relations, road constraints, and driving behaviors, whereas others mainly serve descriptive or linguistic purposes. Consequently, treating all answer positions identically may dilute supervision on planning-relevant knowledge.
Recent studies have therefore explored fine-grained knowledge distillation by adapting supervision according to token-level learning signals [7, 8]. While such strategies improve the granularity of knowledge transfer, model-derived token statistics do not necessarily indicate whether the corresponding tokens encode task-critical driving semantics. Semantic importance alone, however, does not determine how strongly the teacher should supervise a task-critical semantic phrase, which the teacher may still predict incorrectly.
Teacher confidence does not necessarily imply semantic correctness; a teacher may confidently predict an incorrect spatial relation, traffic state, or driving constraint. Strengthening distribution matching in such regions may propagate teacher errors to the student. Therefore, fine-grained distillation for autonomous driving should jointly answer two questions: what knowledge is critical for the task, and whether the teacher is semantically consistent on that knowledge.
Motivated by this observation, we propose RSKD, a semantic-consistency-guided knowledge distillation framework for driving VLMs. RSKD first localizes task-critical semantic phrases in the ground-truth answer and evaluates the semantic consistency of the corresponding teacher-predicted phrases. The resulting semantic consistency score controls the balance between JSD distillation and ground-truth supervision, emphasizing teacher signals that agree with the answer while reducing the influence of inconsistent predictions.
Our main contributions are summarized as follows:
• We introduce RSKD, a semantic-consistency-guided distillation framework for driving VLMs that explicitly identifies task-critical semantic phrases rather than treating all answer tokens uniformly.
• We propose a phrase-level semantic consistency mechanism that evaluates teacher predictions against the ground-truth semantics and adaptively routes JSD distillation and ground-truth supervision, strengthening teacher guidance only when it is semantically consistent.
• Experiments on DrivingVQA, LingoQA, and MapLMv2 show gains on the two QA benchmarks and competitive performance on MapLMv2 under the reported setting.
Fine-grained methods further adapt supervision at the token level. ToDi [7] and AdaKD [8] adjust knowledge transfer according to teacher–student divergence or token learning difficulty, while recent work also explores uncertainty-aware supervision [10]. In contrast, RSKD localizes task-critical semantic phrases from the ground-truth answer, evaluates the semantic consistency of teacher predictions on these phrases, and uses the resulting signal to jointly route distribution distillation and ground-truth supervision.
3. METHOD
3.1. Problem Formulation and Conventional Distillation
Given an autonomous-driving multimodal question-answering instance, let denote the multimodal input and the ground-truth answer. The teacher and student models are denoted by and , with next-token distributions
where indexes valid answer-token positions and is the vocabulary. Following GKD [6], we use the generalized Jensen–Shannon divergence
(2)
Together with ground-truth supervision, the conventional objective is
where controls the ground-truth supervision strength. Uniform token-level supervision, however, ignores both semantic importance and teacher semantic consistency. RSKD addresses these factors through task-critical semantic localization, consistency estimation, and consistency-aware routing.
3.2. Framework Overview
Figure 1 summarizes RSKD in three stages. We first localize task-critical semantic phrases in the ground-truth answer, then estimate teacher semantic consistency on these phrases, and finally broadcast the phrase-level score to answer tokens to control JSD distillation and ground-truth supervision in opposite directions.
The main symbols are: x for the multimodal observation and question, y for the ground-truth answer, K for extracted task-critical semantic phrases, for the critical-token mask, and for phrase- and token-level semantic consistency scores, and and for the routing weights. The teacher remains frozen throughout semantic extraction and distillation.
3.3. Teacher-guided Task-Critical Semantic Localization
The first step of our framework is to identify task-critical semantic phrases that are highly relevant to autonomous driving reasoning. Given the input x and the ground-truth answer y, we prompt the teacher model to extract task-critical semantic phrases from the answer.
The extracted task-critical semantic phrase set is denoted as , where each denotes a task-critical semantic phrase extracted from the ground-truth answer. Unlike answer generation, this process does not require the teacher model to generate a new answer. Instead, it performs semantic annotation over the known ground-truth answer, aiming to identify information that contributes most to driving-related reasoning.
To obtain token-level task-critical semantic localization, each phrase is aligned with the tokenized answer sequence. Let denote the set of answer-token positions aligned with . The global critical-token mask is defined as
where aligns each phrase by exact token-subsequence matching within the tokenized ground-truth answer.
The resulting mask provides a semantic prior indicating which answer tokens require consistency-aware supervision adjustment.

Fig. 1. Overview of the proposed RSKD.
3.4. Semantic Consistency Estimation
For each task-critical semantic phrase , we reconstruct the teacher prediction at its aligned positions under teacher forcing:
where denotes decoding with the Qwen3 tokenizer BBPE [11].
We then encode and using a frozen all-MiniLM-L6-v2 sentence encoder [12, 13]. Their semantic similarity and consistency score are
A larger indicates stronger semantic agreement between the teacher prediction and the ground-truth phrase, making its predictive distribution more reliable for supervising student distillation; a smaller , in contrast, calls for greater reliance on ground-truth supervision. Explicit contradictions between mutually exclusive driving relations are assigned . The phrase-level score is then broadcast to the aligned token positions as for .
3.5. Semantic-consistency-aware Knowledge Routing
Given the critical-token mask and consistency score , we route JSD and ground-truth supervision in opposite directions:
(7)
Thus, critical tokens with high semantic consistency receive stronger JSD supervision, while those with low consistency receive stronger ground-truth supervision.
The weighted objectives and final loss are
(8)
Each branch is normalized by its own weight sum, so routing changes the relative emphasis within each supervision source rather than enforcing a fixed global JSD-to-SFT ratio.
4. EXPERIMENTS
4.1. Experimental Setup
Benchmarks and baselines. We evaluate on DrivingVQA [14], LingoQA [15], and MapLMv2 [16] using their official metrics. We report the frozen teacher and unadapted student as references, and compare against SFT, off-policy GKD [6], ToDi [7], and RSKD. All trained student methods use the same training mixture of DrivingVQA, LingoQA, and MapLMv2.
Table 1. Main results on three autonomous-driving vision-language benchmarks. Higher is better. Trained student results are averaged over multiple random seeds; the best student-based result is bold.
| Method | DrivingVQA ↑ | LingoQA ↑ | MapLMv2 ↑ |
|---|---|---|---|
| Teacher | 49.81 | 0.642 | 79.00 |
| Student | 3.30 | 0.584 | 53.26 |
| SFT | 14.06 | 0.631 | 81.85 |
| GKD | 16.34 | 0.640 | 81.08 |
| ToDi [7] | 16.35 | 0.649 | 81.80 |
| RSKD | 16.60 | 0.672 | 81.82 |
Implementation details. We use Qwen3-VL-4B-Instruct as the student and an internally fine-tuned XEmbodied teacher [17] based on Qwen3-VL-30B-A3B-Instruct [11]. The student is adapted with LoRA [18] on all linear language-model layers with rank 8, scaling factor 32, and dropout 0.05, while the visual encoder and aligner are frozen. We train for two epochs with BF16, a learning rate of , per-device batch size 1, no gradient accumulation, warmup ratio 0.05, and maximum sequence length 32,000. Each trained configuration is repeated with 3 random seeds, and we report the mean performance across runs. Training is distributed over 96 NVIDIA H20 GPUs, averaging 52h 20min per run.
For task-critical semantic phrase extraction, the teacher is prompted to return exact contiguous substrings from the ground-truth answer describing traffic participants, states, spatial relations, road constraints, or required behaviors. These phrases are aligned to answer tokens by exact token-subsequence matching; empty, malformed, or unmatched phrases are ignored. Teacher predictions that contradict the ground-truth phrase on predefined mutually exclusive driving relations (e.g., left/right, front/behind, moving/stopped, or accelerate/decelerate) are assigned zero consistency.
We set and using the validation split and use JSD/SFT weight ranges of . We further select the loss coefficient , JSD mixing coefficient , and distillation temperature on the validation split by searching over , , and temperatures , yielding , , and temperature 1. No test data are used for hyperparameter selection.
4.2. Main Results
Table 1 reports the main results. RSKD achieves the best student performance on DrivingVQA and LingoQA, reaching 16.60 and 0.672, respectively, and consistently outperforming SFT, GKD, and ToDi. The improvements over GKD and ToDi suggest that explicitly incorporating task-critical semantic localization and teacher-ground-truth consistency can complement uniform or divergence-based distillation. On MapLMv2, the teacher itself performs relatively weakly (79.00), limiting the useful knowledge available for transfer. RSKD nevertheless reaches 81.82, substantially above the teacher and GKD and nearly matching SFT (81.85), which is consistent with its design of reducing reliance on semantically inconsistent teacher signals while strengthening ground-truth supervision.
Table 2. Ablation on a fixed 50% LingoQA subset under the same reduced training budget.
| Variant | Loc. | Cons. | JSD Rt. | SFT Rt. | Score ↑ |
|---|---|---|---|---|---|
| Random Spans | Rand. | ✓ | ✓ | ✓ | 0.474 |
| w/o Consistency | ✓ | - | - | - | 0.475 |
| w/o SFT Routing | ✓ | ✓ | ✓ | - | 0.468 |
| Full RSKD | ✓ | ✓ | ✓ | ✓ | 0.480 |
4.3. Ablation Study
For efficiency, all ablations use the same 50% LingoQA subset under an identical reduced training budget, and Table 2 is compared only within this setting. Random Spans replaces task-critical spans with random answer spans, while w/o Consistency removes consistency estimation using fixed semantic weights, and w/o SFT Routing disables consistency-aware routing in the ground-truth supervision branch. Replacing task-critical spans with random ones reduces the score from 0.480 to 0.474, confirming the value of semantic localization, while removing consistency estimation yields 0.475, showing that semantic importance alone is insufficient. Removing SFT routing causes the largest drop to 0.468, highlighting the importance of stronger ground-truth supervision when teacher predictions are semantically inconsistent.
4.4. Limitations
RSKD has several limitations. Its semantic consistency estimation depends on teacher phrase extraction and a frozen MiniLM encoder, making the routing sensitive to extraction and embedding errors. The fixed similarity thresholds and rule-based contradiction detection may also require recalibration across datasets with different response styles. In addition, RSKD introduces extra computation during training, while our evaluation is currently limited to a single teacher–student pair; broader validation is left for future work.
5. CONCLUSION
We present RSKD, a semantic-consistency-guided distillation framework for driving VLMs that localizes task-critical semantic phrases and routes teacher and ground-truth supervision according to semantic similarity. Experiments on DrivingVQA, LingoQA, and MapLMv2 show gains over distillation baselines on the two QA benchmarks and competitive performance when the teacher advantage is limited, highlighting the need to identify task-critical semantics and assess whether teacher predictions preserve their ground-truth meaning.
6. REFERENCES
[1] Chonghao Sima, Katrin Renz, Kashyap Chitta, Li Chen, Hanxue Zhang, Chengen Xie, Jens Beißwenger, Ping Luo, Andreas Geiger, and Hongyang Li, “Drivelm: Driving with graph visual question answering,” in European conference on computer vision. Springer, 2024, pp. 256–274.
[2] Xiaoyu Tian, Junru Gu, Bailin Li, Yicheng Liu, Yang Wang, Zhiyong Zhao, Kun Zhan, Peng Jia, XianPeng Lang, and Hang Zhao, “Drivevlm: The convergence of autonomous driving and large vision-language models,” in Proceedings of The 8th Conference on Robot Learning. 2025, vol. 270 of Proceedings of Machine Learning Research, pp. 4698–4726, PMLR.
[3] Shihao Wang, Zhiding Yu, Xiaohui Jiang, Shiyi Lan, Min Shi, Nadine Chang, Jan Kautz, Ying Li, and Jose M Alvarez, “Omnidrive: A holistic vision-language dataset for autonomous driving with counterfactual reasoning,” in 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). IEEE, 2025, pp. 22442–22452.
[4] Geoffrey Hinton, Oriol Vinyals, and Jeff Dean, “Distilling the knowledge in a neural network,” arXiv preprint arXiv:1503.02531, 2015.
[5] Yuxian Gu, Li Dong, Furu Wei, and Minlie Huang, "Minillm: Knowledge distillation of large language models," in International Conference on Learning Representations, 2024, vol. 2024, pp. 32694–32717.
[6] Rishabh Agarwal, Nino Vieillard, Yongchao Zhou, Piotr Stanczyk, Sabela Ramos Garea, Matthieu Geist, and Olivier Bachem, “On-policy distillation of language models: Learning from self-generated mistakes,” in International Conference on Learning Representations, 2024, vol. 2024, pp. 21246–21263.
[7] Seongryong Jung, Suwan Yoon, DongGeon Kim, and Hwanhee Lee, “Todi: Token-wise distillation via fine-grained divergence control,” in Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, 2025, pp. 8089–8102.
[8] Xurong Xie, Zhucun Xue, Jiafu Wu, Jian Li, Yabiao Wang, Xiaobin Hu, Yong Liu, and Jiangning Zhang, "Llm-oriented token-adaptive knowledge distillation," in Proceedings of the AAAI Conference on Artificial Intelligence, 2026, vol. 40, pp. 34070–34078.
[9] Shilin Xu, Xiangtai Li, Haobo Yuan, Lu Qi, Yunhai Tong, and Ming-Hsuan Yang, “LLAVADI: What matters for multimodal large language models distillation,” 2024.
[10] Jingchen Sun, Shaobo Han, Deep Patel, Wataru Kohno, Can Jin, and Changyou Chen, “Uncertainty-aware knowledge distillation for multimodal large language models,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), June 2026, pp. 5585–5595.
[11] Shuai Bai, Yuxuan Cai, Ruizhe Chen, Keqin Chen, Xionghui Chen, Zesen Cheng, Lianghao Deng, Wei Ding, Chang Gao, Chunjiang Ge, et al., “Qwen3-vl technical report,” arXiv preprint arXiv:2511.21631, 2025.
[12] Nils Reimers and Iryna Gurevych, “Sentence-bert: Sentence embeddings using siamese bert-networks,” in Proceedings of the 2019 conference on empirical methods in natural language processing and the 9th international joint conference on natural language processing (EMNLP-IJCNLP), 2019, pp. 3982–3992.
[13] Wenhui Wang, Furu Wei, Li Dong, Hangbo Bao, Nan Yang, and Ming Zhou, “Minilm: Deep self-attention distillation for task-agnostic compression of pre-trained transformers,” Advances in neural information processing systems, vol. 33, pp. 5776–5788, 2020.
[14] Charles Corbière, Simon Roburin, Syrielle Montariol, Antoine Bosselut, and Alexandre Alahi, “Drivingvqa: A dataset for interleaved visual chain-of-thought in real-world driving scenarios,” in Findings of the Association for Computational Linguistics: EACL 2026, 2026, pp. 3309–3333.
[15] Ana-Maria Marcu, Long Chen, Jan Hünermann, Alice Karnsund, Benoit Hanotte, Prajwal Chidananda, Saurabh Nair, Vijay Badrinarayanan, Alex Kendall, Jamie Shotton, et al., “Lingoqa: Visual question answering for autonomous driving,” in European Conference on Computer Vision. Springer, 2024, pp. 252–269.
[16] Xu Cao, Tong Zhou, Yunsheng Ma, Wenqian Ye, Can Cui, Kun Tang, Zhipeng Cao, Kaizhao Liang, Ziran Wang, James M Rehg, et al., “Maplm: A real-world large-scale vision-language benchmark for map and traffic scene understanding,” in 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). IEEE, 2024, pp. 21819–21830.
[17] Kangan Qian, Chuchu Xie, Yang Zhong, et al., “Xembodied: A foundation model with enhanced geometric and physical cues for large-scale embodied environments,” arXiv preprint arXiv:2604.18484, 2026.
[18] Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen, “Lora: Low-rank adaptation of large language models,” in International Conference on Learning Representations, 2022.