Interpretable Self-Attention Temporal Reasoning for Driving Behavior Understanding

Yi-Chieh Liu, Yung-An Hsieh, Min-Hung Chen, Chao-Han Huck Yang, Jesper Tegnér, Yi-Chang James Tsai · DOI

Abstract

Performing driving behaviors based on causal reasoning is essential to ensure driving safety. In this work, we investigated how state-of-the-art 3D Convolutional Neural Networks (CNNs) perform on classifying driving behaviors based on causal reasoning. We proposed a perturbation-based visual explanation method to inspect the models' performance visually. By examining the video attention saliency, we found that existing models could not precisely capture the causes (e.g., traffic light) of the specific action (e.g., stopping). Therefore, the Temporal Reasoning Block (TRB) was proposed and introduced to the models. With the TRB models, we achieved the accuracy of 86.3%, which outperform the state-of-the-art 3D CNNs from previous works. The attention saliency also demonstrated that TRB helped models focus on the causes more precisely. With both numerical and visual evaluations, we concluded that our proposed TRB models were able to provide accurate driving behavior prediction by learning the causal reasoning of the behaviors.

Introduction: Moving Beyond Pattern Matching

This research, a collaboration between Georgia Tech and KAUST, addresses a fundamental challenge in autonomous driving: moving beyond simple pattern matching toward causal reasoning. For a self-driving vehicle, it is insufficient to simply know it should stop; it must understand the underlying cause—whether it is a red light, a pedestrian, or a traffic jam.

Overview of the proposed reasoning model and attention saliency framework.

Current systems often rely on 3D Convolutional Neural Networks (CNNs) to recognize actions. While powerful, these models are frequently "black boxes." A model might correctly predict a stop but do so by focusing on irrelevant background features rather than the actual environmental trigger. This lack of causal reasoning is a significant safety concern, as it hinders auditing and the handling of complex edge cases.

Methods: The Temporal Reasoning Block (TRB)

The authors introduced two major technical contributions to bridge this gap:

  1. Temporal Reasoning Block (TRB): A plug-and-play module designed to enhance a model's understanding of spatial-temporal relationships. It employs a hierarchical approach:
  2. Fine-Grained Extraction: Uses 3D convolutions to extract local features while maintaining temporal continuity.
  3. Time-Wise Slices & Self-Attention: Slices the video into temporal segments and applies a self-attention mechanism. This allows the model to weigh the importance of different regions across the entire video clip, identifying global dependencies like a traffic light that appeared several frames earlier.
  4. Perturbation-Based Visual Explanation: To inspect the model's internal focus, the authors adapted a perturbation method for 3D data. By finding a "mask" that, when applied to parts of the video, causes the model's classification score to drop, they can identify the regions the model is prioritizing. They added temporal TV regularization to ensure these attention maps are smooth and logical over time.

Datasets and Evaluation

The study utilized the Honda Research Institute Driving Dataset (HDD), which contains high-level annotations for stimulus-driven actions and their specific causes. The researchers focused on the "Stop" action, categorized into four classes: stop4light, stop4ped, stop4sign, and stop4cong.

Key Results and Interpretability

The proposed 3DResNet-TRB model achieved a state-of-the-art 86.30% accuracy, significantly outperforming baseline models like CRNN (73.49%) and standard 3DResNet (83.56%).

Beyond numerical gains, the TRB significantly improved the model's interpretability. Qualitative heatmaps confirmed that TRB-equipped models focus more precisely on the actual causes of behavior compared to standard models.

Comparison of attention saliency between the proposed 3DResNet-TRB and the baseline 3DResNet across different driving behaviors.

As shown in the visualizations, standard models often attend to irrelevant areas like the road or sky. In contrast, the TRB helps the model lock onto specific environmental triggers, such as stop signs or pedestrians. The researchers also observed how a model's attention shifts over time; for instance, when approaching a traffic jam, the model initially focuses on distant traffic lights before shifting its attention to the vehicle directly in front as it gets closer. This alignment with human logic is crucial for building trust in autonomous systems.

Conclusion

By integrating self-attention through the TRB, the researchers demonstrated that models can achieve both higher accuracy and better causal alignment. While the current focus is on stopping behaviors, this approach provides a foundation for expanding interpretable reasoning to more complex driving maneuvers, ensuring that autonomous vehicles make decisions for the right reasons.

Summary updated

BibTeX
@inproceedings{liu2019interpretable,
  author = {Yi-Chieh Liu and Yung-An Hsieh and Min-Hung Chen and Chao-Han Huck Yang and Jesper Tegnér and Yi-Chang James Tsai},
  title = {{Interpretable Self-Attention Temporal Reasoning for Driving Behavior Understanding}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2019},
  doi = {10.1109/icassp40776.2020.9053783},
}
Figure