Skip to main content
QUICK REVIEW

[Paper Review] RAG-Driver: Generalisable Driving Explanations with Retrieval-Augmented In-Context Learning in Multi-Modal Large Language Model

Jianhao Yuan, Shuyang Sun|arXiv (Cornell University)|Feb 16, 2024
Topic ModelingComputer Science10 citations
TL;DR

RAG-Driver introduces retrieval-augmented in-context learning for a multi-modal large language model to provide driving action explanations, justifications, and next-control predictions with strong zero-shot generalisation to unseen environments without fine-tuning.

ABSTRACT

We need to trust robots that use often opaque AI methods. They need to explain themselves to us, and we need to trust their explanation. In this regard, explainability plays a critical role in trustworthy autonomous decision-making to foster transparency and acceptance among end users, especially in complex autonomous driving. Recent advancements in Multi-Modal Large Language models (MLLMs) have shown promising potential in enhancing the explainability as a driving agent by producing control predictions along with natural language explanations. However, severe data scarcity due to expensive annotation costs and significant domain gaps between different datasets makes the development of a robust and generalisable system an extremely challenging task. Moreover, the prohibitively expensive training requirements of MLLM and the unsolved problem of catastrophic forgetting further limit their generalisability post-deployment. To address these challenges, we present RAG-Driver, a novel retrieval-augmented multi-modal large language model that leverages in-context learning for high-performance, explainable, and generalisable autonomous driving. By grounding in retrieved expert demonstration, we empirically validate that RAG-Driver achieves state-of-the-art performance in producing driving action explanations, justifications, and control signal prediction. More importantly, it exhibits exceptional zero-shot generalisation capabilities to unseen environments without further training endeavours.

Motivation & Objective

  • Address the lack of explainability and generalisability in end-to-end autonomous driving by leveraging retrieval-augmented in-context learning (RA-ICL) within a multi-modal LLM.
  • Ground driving decisions in retrieved expert demonstrations to improve action explanations, justifications, and control signal predictions.
  • Demonstrate strong zero-shot generalisation to unseen environments without additional training.
  • Show state-of-the-art performance on driving explanation benchmarks and competitive control prediction accuracy.

Proposed method

  • Use a multi-modal LLM backbone (Vicuna 1.5) to jointly predict driving action explanations, justifications, and next control signals from video input and text instructions.
  • Adopt a pre-trained video encoder (LanguageBind) with a two-layer MLP projector to align video embeddings to language tokens for cross-modality grounding.
  • Construct a memory database of hybrid embeddings (video + control signals) annotated with expert explanations and justifications; learn a hybrid embedding space via triplet loss for retrieval.
  • Implement RA-ICL by retrieving two similar driving experiences from the memory, prefixing them to the query, and processing with the MLLM to enable implicit meta-optimisation during inference.
  • Train in two stages: (i) pre-training with visual-language alignment on VIDAL-10M, and (ii) supervised in-context instruction tuning using BDD-X with 16K QA pairs tailored for three tasks (Action Explanation, Action Justification, Next Control Signal Prediction).
  • Leverage a retrieval mechanism that computes cosine similarity in a hybrid embedding space to fetch the two most relevant samples for RA-ICL.
Figure 1 : RAG-Driver Overview: Given a query comprising a video of the current driving scenario and its corresponding control signal, the process starts with the input being fed into a Retrieval Engine. It searches within a memory database for driving experiences that are similar to the current sce
Figure 1 : RAG-Driver Overview: Given a query comprising a video of the current driving scenario and its corresponding control signal, the process starts with the input being fed into a Retrieval Engine. It searches within a memory database for driving experiences that are similar to the current sce

Experimental results

Research questions

  • RQ1Can RA-ICL with a retrieval-augmented MLLM improve explainability (action explanations and justifications) for driving decisions in unseen environments without fine-tuning?
  • RQ2Does grounding in retrieved expert demonstrations enhance the accuracy of next-control signal prediction (course and speed) in end-to-end driving tasks?
  • RQ3What is the impact of using hybrid (video + control) embeddings versus visual-only embeddings for retrieval in driving scenarios?
  • RQ4Is supervised fine-tuning necessary for effective in-context learning in MLLMs for driving tasks, or can zero-shot RA-ICL suffice with a suitable memory and prompts?
  • RQ5How well does RA-ICL generalise to out-of-distribution driving environments (zero-shot) compared to existing methods?

Key findings

  • RAG-Driver achieves state-of-the-art introspective driving explanation performance on the BDD-X benchmark.
  • It produces competitive or superior action explanations and justifications compared to specialist and some MLLM-based methods when trained on BDD-X alone.
  • RA-ICL with hybrid retrieval substantially improves control-signal prediction (course and speed) over baselines, including DriveGPT4, across multiple tolerance levels and RMSE.
  • Ablation shows hybrid similarity (hybrid video + control) for retrieval outperforms visual-only similarity, and that both training-time and inference-time ICL are beneficial.
  • The model demonstrates strong zero-shot generalisation to unseen environments (Spoken-SAX) using a memory database built from BDD-X, illustrating robust generalisability.
  • Qualitative results show intelligible, human-understandable explanations and justifications under night-time and adverse weather, supporting practical explainability.
Figure 2 : Video Encoder architecture. Video is first split into $k\times 32\times 32$ patches concatenated in time, where these patches are linear projected to video embedding. Then, the model is trained with video-language contrastive learning (CLIP4clip) [ 49 ] to obtain language-align video repr
Figure 2 : Video Encoder architecture. Video is first split into $k\times 32\times 32$ patches concatenated in time, where these patches are linear projected to video embedding. Then, the model is trained with video-language contrastive learning (CLIP4clip) [ 49 ] to obtain language-align video repr

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.