[Paper Review] Interpretable Self-Attention Temporal Reasoning for Driving Behavior Understanding
This paper proposes a Temporal Reasoning Block (TRB) using self-attention mechanisms to improve causal reasoning in driving behavior recognition. By integrating TRB into 3D CNNs, the model achieves 86.3% accuracy—outperforming state-of-the-art models—while a perturbation-based visual explanation method confirms TRB enhances attention to causal factors like traffic lights and pedestrians.
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 $\mathbf{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.
Motivation & Objective
- To investigate the performance of state-of-the-art 3D CNNs in classifying driving behaviors based on causal reasoning.
- To improve model performance by introducing a Temporal Reasoning Block (TRB) that enhances global temporal and spatial dependency modeling.
- To develop a perturbation-based visual explanation method for inspecting spatial-temporal attention in video recognition models.
- To validate that TRB improves both predictive accuracy and attention alignment with human causal reasoning in driving scenarios.
Proposed method
- The Temporal Reasoning Block (TRB) uses a hierarchical self-attention mechanism to model spatial-temporal dependencies across video frames.
- TRB applies 3D convolutions to extract fine-grained spatiotemporal features before applying multi-head self-attention to capture long-range global dependencies.
- The TRB is inserted into the deeper layers of 3D CNNs (C3D, I3D, 3DResNet) to enhance feature representation without altering the backbone architecture.
- A perturbation-based visual explanation method generates attention saliency by iteratively masking input video patches and measuring classification score changes.
- The method uses a combination of Gaussian and median blur for perturbation, with optimization via Adam to generate saliency maps.
- Attention scores are computed by aggregating saliency values within a radius of the object center, normalized by object size to ensure fair comparison across objects.
Experimental results
Research questions
- RQ1Can state-of-the-art 3D CNNs accurately classify driving behaviors based on causal reasoning, such as stopping due to traffic lights or pedestrians?
- RQ2Does the proposed Temporal Reasoning Block (TRB) improve the performance of 3D CNNs on causal driving behavior recognition tasks?
- RQ3Can the proposed perturbation-based visual explanation method effectively reveal which video regions the model attends to during prediction?
- RQ4Does the TRB lead to more interpretable and human-aligned attention patterns, such as focusing on actual causes like traffic lights rather than spurious cues?
Key findings
- The 3DResnet-TRB model achieved the highest accuracy of 86.3% on causal driving behavior classification, outperforming all baseline models.
- The addition of TRB improved all evaluated models: CRNN-TRB (78.31% vs. 73.49%), C3D-TRB (69.88% vs. 60.71%), I3D-TRB (83.13% vs. 77.11%), and 3DResnet-TRB (86.30% vs. 83.56%).
- Visual saliency analysis showed that 3DResnet-TRB focused attention more precisely on causal objects such as traffic lights and pedestrians, as confirmed by bounding box alignment.
- In a rainy scenario involving congestion, attention scores transitioned from traffic lights to the front vehicle as the ego-vehicle approached, reflecting a rational causal shift in attention.
- The perturbation-based explanation method successfully identified salient regions, with higher attention scores concentrated around actual causes like stop signs and traffic lights.
- Normalization of attention scores by object size enabled fair comparison across objects of varying scales, confirming robustness in attention evaluation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.