Safety-Enhanced Autonomous Driving Using Interpretable Sensor Fusion Transformer

Hao Shao, Letian Wang, Ruobing Chen, Hongsheng Li, Yu Liu

Abstract

Large-scale deployment of autonomous vehicles has been continually delayed due to safety concerns. On the one hand, comprehensive scene understanding is indispensable, a lack of which would result in vulnerability to rare but complex traffic situations, such as the sudden emergence of unknown objects. However, reasoning from a global context requires access to sensors of multiple types and adequate fusion of multi-modal sensor signals, which is difficult to achieve. On the other hand, the lack of interpretability in learning models also hampers the safety with unverifiable failure causes. In this paper, we propose a safety-enhanced autonomous driving framework, named Interpretable Sensor Fusion Transformer (InterFuser), to fully process and fuse information from multi-modal multi-view sensors for achieving comprehensive scene understanding and adversarial event detection. Besides, intermediate interpretable features are generated from our framework, which provide more semantics and are exploited to better constrain actions to be within the safe sets. We conducted extensive experiments on CARLA benchmarks, where our model outperforms prior methods, ranking the first on the public CARLA Leaderboard.

Introduction

End-to-end (E2E) autonomous driving models, which map raw sensor inputs directly to control signals, have shown great promise due to their simplicity and potential for optimization. However, they face two significant hurdles: vulnerability to "long-tail" adversarial events and a lack of interpretability. Rare scenarios, such as a pedestrian suddenly emerging from behind a parked vehicle, require a holistic, multi-modal understanding of the environment that many current models lack. Furthermore, the "black-box" nature of these models makes it nearly impossible to diagnose failure causes, which is unacceptable for safety-critical applications.

Conceptual overview of InterFuser, illustrating the fusion of multi-view sensors into a 'Safety Mind Map' for goal-oriented driving.

To address these issues, we introduce InterFuser (Interpretable Sensor Fusion Transformer). Presented at CoRL 2022, InterFuser is a one-stage transformer framework designed to fuse multi-modal, multi-view sensor data to provide a comprehensive "global" view of driving scenes. By generating intermediate "safety mind maps," the framework provides a human-readable basis for its decisions and allows for a dedicated safety controller to constrain the vehicle's actions within safe limits.

Methodology

InterFuser utilizes a unified one-stage architecture consisting of three primary components: a multi-modal fusion encoder, a transformer decoder for interpretable features, and a safety controller.

Multi-modal Fusion Transformer Encoder

The system processes five distinct inputs: three RGB camera views (left, front, right), a high-resolution "focus" view (a center-front crop), and a LiDAR Bird’s-Eye View (BEV) map. Features are extracted using ResNet backbones and converted into tokens. A Transformer Encoder then processes these tokens, utilizing attention mechanisms to reason about the global context across all sensors simultaneously. This allows the model to capture complex relationships, such as correlating a vehicle seen in a side camera with a traffic light seen in the front view.

The full InterFuser architecture, featuring a multi-modal Transformer Encoder, a Decoder for generating interpretable features, and a Safety Controller for action constraint.

Transformer Decoder & Interpretable Features

Rather than outputting control signals directly, the decoder uses specific queries to predict three critical intermediate outputs that form the "Safety Mind Map":

  1. Waypoints: The ego-vehicle's intended future path.
  2. Object Density Map: A spatial grid predicting object probabilities, positions, headings, and velocities.
  3. Traffic Rules: Discrete states for traffic lights, stop signs, and intersection status.

Safety Controller

The Safety Controller acts as a "guardian" that monitors the nominal waypoints against the predicted environment. If a potential collision or traffic rule violation is detected, the controller overrides the nominal plan. It utilizes a PID controller and linear programming to adjust speed and steering, ensuring the vehicle remains within a predefined "safe set" of actions.

Experimental Results

We evaluated InterFuser using the CARLA simulator (v0.9.10.1). The model was trained on a massive dataset of 3 million frames collected across diverse weather conditions and urban environments.

Performance and Safety Impact

InterFuser achieved the #1 spot on the CARLA Public Leaderboard (June 2022) with a Driving Score of 76.18, significantly outperforming previous state-of-the-art methods like LAV (61.85) and TransFuser (61.18).

A key finding was the impact of the "Focus View," which reduced red-light infractions by 80% by allowing the model to perceive distant traffic signals more clearly. Furthermore, ablation studies confirmed the necessity of the Safety Controller; its removal led to a 15% drop in the Driving Score and a significant increase in infractions, proving that the interpretable features are functional safety tools rather than just visual aids.

Conclusion

InterFuser demonstrates that integrating interpretability and global sensor fusion can significantly enhance the safety and performance of end-to-end autonomous driving. By forcing the model to perceive the environment through a "Safety Mind Map" before acting, we create a system that is both more robust to rare events and more transparent to human operators. Future work will focus on incorporating temporal information more deeply into the transformer pipeline and bridging the gap between simulation and real-world deployment.

Summary updated

BibTeX
@inproceedings{shao2022safety,
  author = {Hao Shao and Letian Wang and Ruobing Chen and Hongsheng Li and Yu Liu},
  title = {{Safety-Enhanced Autonomous Driving Using Interpretable Sensor Fusion Transformer}},
  booktitle = {Conference on Robot Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=qzMY915hCYX},
}
Figure