This research, presented at a CVPR 2020 workshop by a team from the University of Florence, addresses a critical challenge in AI-driven transportation: the "black box" nature of end-to-end autonomous driving systems. While deep learning models excel at mapping raw sensor data to control commands, their decision-making processes often remain opaque, posing a significant hurdle for safety-critical applications.
The Challenge of Explainability
Most modern autonomous driving systems utilize end-to-end learning, where a neural network processes camera images to directly output steering angles or throttle. Despite their effectiveness, these models lack transparency. If a vehicle makes an unexpected maneuver, it is difficult for engineers or users to understand the underlying cause. The authors aim to bridge this gap by introducing a system that explicitly weights the importance of different image regions before making a control decision.
Methodology: Multi-Head Visual Attention
The researchers developed a Conditional Imitation Learning architecture enhanced with a novel visual attention module. The pipeline consists of several key stages:
- Shared Backbone: A 5-layer Convolutional Neural Network (CNN) extracts essential feature maps from raw RGB frames.
- Fixed-Grid Region Proposals: To maintain a consistent spatial overview, the model uses a fixed grid of 48 "Regions of Interest" (RoIs) at various scales (Big, Medium, and Small).
- Multi-Head Attention: The core innovation is a system with four separate "heads" corresponding to high-level navigational commands: Follow Lane, Go Straight, Turn Left, and Turn Right.
- Attention Mechanism: For any given command, the active head calculates a probability distribution over the 48 regions using a Softmax function. This creates a weighted sum of features, effectively focusing the model's processing power on the most relevant parts of the scene.
Experimental Setup and Results
The model was trained and evaluated using the CARLA simulator. Training data consisted of approximately 14 hours of driving in "Town1" under various weather conditions. To test generalization, the model was evaluated in "Town2" (an unseen environment) and under novel weather conditions.
Performance Gains
Interestingly, adding explainability through attention did not come at the cost of performance. In fact, the attention-based model significantly outperformed the non-attentive baseline, increasing the average success rate from 69% to 84%. In the most challenging "New Town & New Weather" benchmark, the model maintained a 56% success rate, nearly doubling the 36% achieved by the baseline.
Interpreting the Model's "Eyes"
Visualizing the attention maps provides clear insights into the agent's behavior. When commanded to "Turn Left," the attention maps shift toward the left side of intersections. When "Following Lane," the model focuses on lane boundaries to maintain centering. This visualization also helps diagnose failures; for example, at ambiguous T-junctions, the model can be seen looking in multiple directions simultaneously, explaining its hesitation.
Key Insights
- Attention as a Filter: By forcing the model to prioritize salient regions like lane markings or intersections, the system effectively filters out visual noise that might otherwise lead to errors.
- Scale and Context: Ablation studies revealed that "Medium" sized regions were most critical, as they capture structural elements like sidewalks while providing enough detail for localization. Furthermore, the fixed grid approach proved superior to independent region processing by preserving spatial correlations (e.g., knowing the road is typically at the bottom of the frame).
Limitations and Future Outlook
While promising, the current model is limited to steering control at a constant speed of 10 km/h. Future work will need to integrate longitudinal control (throttle and braking) for a complete driving solution. Additionally, while the fixed grid provides excellent spatial context, the researchers suggest that a more flexible grid could better track dynamic objects like pedestrians. Moving from simulated environments to high-speed, high-traffic real-world scenarios remains the ultimate test for this interpretable architecture.
Summary updated