VISAT: Benchmarking Adversarial and Distribution Shift Robustness in Traffic Sign Recognition with Visual Attributes

Simon Yu, Peilin Yu, Hongbo Zheng, Huajie Shao, Han Zhao, Lui ShaarXiv 2025 · DOI

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.

The VISAT Visual Attribute Labeling Software used to annotate sign patches with granular attributes.

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.
Representative traffic sign categories from the VISAT dataset: (a) Stop, (b) Yield, (c) Two-way traffic, and (d) Distance information.

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

Abstract

We present VISAT, a novel open dataset and benchmarking suite for evaluating model robustness in the task of traffic sign recognition with the presence of visual attributes. Built upon the Mapillary Traffic Sign Dataset (MTSD), our dataset introduces two benchmarks that respectively emphasize robustness against adversarial attacks and distribution shifts. For our adversarial attack benchmark, we employ the state-of-the-art Projected Gradient Descent (PGD) method to generate adversarial inputs and evaluate their impact on popular models. Additionally, we investigate the effect of adversarial attacks on attribute-specific multi-task learning (MTL) networks, revealing spurious correlations among MTL tasks. The MTL networks leverage visual attributes (color, shape, symbol, and text) that we have created for each traffic sign in our dataset. For our distribution shift benchmark, we utilize ImageNet-C's realistic data corruption and natural variation techniques to perform evaluations on the robustness of both base and MTL models. Moreover, we further explore spurious correlations among MTL tasks through synthetic alterations of traffic sign colors using color quantization techniques. Our experiments focus on two major backbones, ResNet-152 and ViT-B/32, and compare the performance between base and MTL models. The VISAT dataset and benchmarking framework contribute to the understanding of model robustness for traffic sign recognition, shedding light on the challenges posed by adversarial attacks and distribution shifts. We believe this work will facilitate advancements in developing more robust models for real-world applications in autonomous driving and cyber-physical systems.
BibTeX
@misc{yu2025visat,
  author = {Simon Yu and Peilin Yu and Hongbo Zheng and Huajie Shao and Han Zhao and Lui Sha},
  title = {{VISAT: Benchmarking Adversarial and Distribution Shift Robustness in Traffic Sign Recognition with Visual Attributes}},
  year = {2025},
  eprint = {2510.26833},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.26833},
}
Figure