ADAPT: Action-aware Driving Caption Transformer

Bu Jin, Xinyu Liu, Yupeng Zheng, Pengfei Li, Hao Zhao, Tong Zhang, Yuhang Zheng, Guyue Zhou, Jingjing Liu

Abstract

Autonomous driving systems often function as "black boxes," mapping sensor inputs to control signals without providing human-interpretable reasoning. This paper introduces ADAPT (Action-aware Driving cAPtion Transformer), an end-to-end framework designed to bridge this gap. By jointly training a video encoder for both control signal prediction and natural language caption generation, ADAPT produces narrations and reasoning for vehicular actions. Evaluated on the BDD-X dataset, ADAPT achieves state-of-the-art performance, significantly improving the transparency and explainability of autonomous driving decisions.

Introduction

End-to-end autonomous driving systems have demonstrated remarkable efficacy in mapping raw sensor data to control signals such as steering and acceleration. However, these systems lack inherent transparency. When a vehicle performs a sudden maneuver, such as braking or pulling over, passengers may experience discomfort or a lack of trust if the underlying rationale is not communicated.

Existing interpretability methods typically rely on technical visualizations, such as attention heatmaps or cost volumes. While useful for engineers, these representations are often unintuitive for non-expert users. ADAPT addresses this challenge by providing "user-friendly" linguistic explanations that describe both the action (what the car is doing) and the reasoning (why it is doing it), thereby fostering human-machine trust through natural language.

Methodology

ADAPT utilizes a multi-task transformer-based architecture designed to align visual perception with both physical movement and linguistic description. The framework consists of three primary components:

  1. Video Encoder: A Video Swin Transformer serves as the backbone, extracting spatio-temporal features from raw video frames. This encoder is shared across tasks, ensuring that the learned visual representations are inherently "action-aware."
  2. Control Signal Prediction (CSP) Head: This motion transformer predicts a sequence of future control signals, including speed, course, and acceleration. By incorporating this task, the model grounds its internal representations in the physical reality of the vehicle's trajectory.
  3. Driving Caption Generation (DCG) Head: A vision-language transformer generates two distinct text segments:
  4. Narration: A description of the vehicle's behavior (e.g., "the car pulls over to the right").
  5. Reasoning: The underlying cause for the action (e.g., "because the car is parking").

The system is optimized using a joint loss function that combines the mean squared error (MSE) of the predicted control signals with the cross-entropy loss of the generated text.

Experimental Setup

The model was trained and evaluated on the Berkeley DeepDrive eXplanation (BDD-X) dataset. At the time of the study, BDD-X was the only major driving dataset to pair video and control signals with human-annotated linguistic explanations. The dataset comprises nearly 7,000 videos with approximately 29,000 behavior-annotation pairs, providing a robust foundation for training explainable driving models.

Key Insights and Results

The Synergy of Multi-Task Learning

A core finding of the research is that predicting control signals (speed and heading) directly enhances the quality of the generated captions. The control task acts as a regularizer, forcing the video encoder to prioritize features relevant to driving maneuvers rather than general background information. This "action-awareness" allows ADAPT to capture subtle cues, such as minor speed adjustments, that traditional vision-only models might overlook.

Performance Metrics

ADAPT established a new state-of-the-art on the BDD-X dataset, significantly outperforming previous benchmarks. On the CIDEr metric—a standard measure for captioning quality—ADAPT improved action narration by 31.7 points and reasoning by 33.1 points over prior methods.

Furthermore, human evaluation confirmed the model's practical utility. Subjective tests indicated that ADAPT's reasoning was correct 90.3% of the time, a substantial increase from the ~66% accuracy observed in previous state-of-the-art models. Ablation studies confirmed that removing the control signal prediction task led to a noticeable decline in captioning performance, validating the multi-task approach.

Limitations and Future Work

Despite its performance, ADAPT faces challenges regarding computational complexity. The reliance on large-scale transformers (Swin and Vision-Language) necessitates significant hardware resources, which may complicate real-time deployment on edge devices within vehicles.

Additionally, the current evaluation is "open-loop," focusing on pre-recorded video sequences. Future research should explore "closed-loop" scenarios where generated explanations could potentially interact with the vehicle's driving policy. Finally, expanding the model's training to include more diverse datasets—specifically those covering extreme weather and rare edge-case traffic accidents—remains a priority for improving the system's robustness.

Conclusion

ADAPT represents a significant step toward transparent autonomous driving. By integrating control signal prediction with natural language generation, the framework provides human-centric explanations that are both accurate and grounded in the vehicle's physical actions. This approach not only improves model performance but also provides a scalable path toward building trust between autonomous systems and their human passengers.

Summary updated

BibTeX
@inproceedings{jin2023adapt,
  author = {Bu Jin and Xinyu Liu and Yupeng Zheng and Pengfei Li and Hao Zhao and Tong Zhang and Yuhang Zheng and Guyue Zhou and Jingjing Liu},
  title = {{ADAPT: Action-aware Driving Caption Transformer}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2023},
  url = {https://openreview.net/forum?id=NU7lKR7B1Q},
}
Figure