Abstract
Traffic sign recognition is a critical component of autonomous driving safety, yet deep learning models often struggle with adversarial attacks and real-world distribution shifts. This paper introduces VISAT, a benchmark dataset that augments the Mapillary Traffic Sign Dataset with granular visual attribute labels (color, shape, symbol, text). Our evaluation reveals that Multi-Task Learning (MTL) models suffer from "cascading failures" due to spurious correlations between attributes. We benchmark ResNet and Vision Transformer architectures, finding that while Transformers offer better robustness to natural corruptions, both remain vulnerable to targeted adversarial perturbations.
Introduction
Traffic sign recognition (TSR) serves as a foundational pillar for autonomous driving and safety-critical cyber-physical systems. While deep neural networks (DNNs) achieve impressive accuracy in controlled environments, they remain notoriously brittle when deployed in the real world. These models are susceptible to two primary threats: malicious adversarial attacks—imperceptible pixel-level tweaks—and model-agnostic distribution shifts, such as weather variations, lighting changes, or occlusions.
Existing benchmarks typically evaluate these vulnerabilities in isolation. Furthermore, current datasets lack detailed annotations for the specific visual attributes of signs, such as color, shape, or text. Without these granular labels, it is difficult to assess whether Multi-Task Learning (MTL) models—which predict multiple attributes simultaneously—are learning genuine features or merely relying on "lazy" entangled shortcuts, known as spurious correlations.
Methodology
To address these gaps, we developed the VISAT benchmarking suite. Our approach involves three main components: dataset augmentation, model architecture selection, and robustness testing.
Dataset and Labeling
We utilized the Mapillary Traffic Sign Dataset (MTSD) as our base, cropping full-frame images into individual sign patches. The resulting VISAT dataset contains approximately 300,000 instances. To enable granular analysis, we developed a custom GUI tool to rapidly annotate 401 traffic sign classes with four distinct visual attributes: color, shape, symbol, and text.
Experimental Setup
We benchmarked two prominent architectures: ResNet-152 and Vision Transformer (ViT-B/32). We evaluated them using both standard single-task classification and custom MTL setups. Our robustness testing included:
- Adversarial Attacks: Using the Projected Gradient Descent (PGD) algorithm to create targeted perturbations.
- Distribution Shifts: Applying 19 realistic corruptions from the ImageNet-C framework (e.g., fog, snow, noise) across five severity levels.
- Color Quantization: A novel synthetic shift using k-means clustering to swap dominant colors (e.g., turning a red sign blue) to test color-cue dependency.
Key Results and Insights
Our analysis yielded several critical findings regarding model robustness and the nature of learned representations.
The Domino Effect of Spurious Correlations
A significant discovery was the failure mode of MTL models. Because traffic sign features are highly correlated (e.g., "STOP" signs are almost exclusively red and octagonal), models learn these spurious correlations. When we attacked only the "color" prediction head, the accuracy of the shape, symbol, and text heads also plummeted. This suggests that the model's internal logic is so entangled that a failure in one attribute prediction cascades through the entire system.
Architectural Robustness
We observed a lack of transferability in adversarial attacks; perturbations designed for ResNet-152 were ineffective against ViT-B/32, and vice versa. However, the Vision Transformer demonstrated superior robustness to natural distribution shifts. For instance, under severe noise corruption, ResNet's error rate increased by 28.7%, whereas ViT's error rate only rose by 6.6%.
Task-Specific Sensitivity
Within the MTL framework, the "text" prediction task proved most resilient to attacks, while "color" and "shape" were the most fragile. Furthermore, our color quantization experiments quantitatively confirmed cross-task error correlation, as synthetic color swaps caused performance drops across all attribute heads.
Conclusion
VISAT provides a rigorous framework for evaluating TSR models beyond simple classification accuracy. Our findings highlight the dangers of spurious correlations in multi-task systems and the inherent trade-offs between different neural architectures. Future work should expand targeted attacks to other attributes like shape and symbol, and explore the impact of combined natural variations to better simulate the complexities of real-world driving environments.
Summary updated