Abstract
We propose a new strategy called "think twice before recognizing" to improve fine-grained traffic sign recognition (TSR). Fine-grained TSR in the wild is difficult due to complex road conditions, and existing approaches particularly struggle with cross-country TSR when data is lacking. Our strategy achieves effective fine-grained TSR by stimulating the multiple-thinking capability of large multimodal models (LMM). We introduce context, characteristic, and differential descriptions to design multiple thinking processes for the LMM. The context descriptions with center coordinate prompt optimization help the LMM to locate the target traffic sign in the original road images and filter irrelevant answers. The characteristic description is based on few-shot in-context learning of template traffic signs, which decreases the cross-domain difference. The differential descriptions of similar traffic signs optimize the multimodal thinking capability. The proposed method is independent of training data and requires only simple instructions. We conducted extensive experiments on three benchmark datasets and two real-world datasets from different countries, achieving state-of-the-art TSR results on all five.
Introduction
Traffic Sign Recognition (TSR) is a cornerstone of autonomous driving and advanced driver-assistance systems. However, traditional supervised learning methods face significant hurdles. First is the data hunger: models require massive, manually labeled datasets for every country, as sign designs vary significantly across borders. Second is the "in the wild" gap: there is a substantial domain difference between clean template signs and the blurry, occluded, or color-distorted signs captured by vehicle cameras.
Existing zero-shot methods often struggle with fine-grained recognition—distinguishing between very similar signs—and frequently fail when signs are small or embedded in complex visual environments. To address this, we introduce the Cross-domain Multi-step Thinking (CdMT) framework, which moves away from simple pattern matching toward a structured, multi-step reasoning process using Large Multimodal Models (LMMs).
The CdMT Framework
The CdMT framework leverages the reasoning capabilities of LMMs (such as GPT-4o or LLaVA) through a structured pipeline that bridges the gap between real-world captures and idealized templates.
1. Traffic Sign Extraction
Before reasoning, the system uses a segmentation model (e.g., SAM 2) to locate and crop the sign from the high-resolution road image. This ensures the LMM is not distracted by background noise and can focus on the target object's features.
2. Prior Knowledge Generation
The core innovation lies in generating three types of textual descriptions to "prime" the LMM:
- Context Descriptions ($\mathcal{D}_{Cont}$): Uses center-coordinate prompting to help the LMM understand the sign's location in the scene and filter out irrelevant objects based on road context.
- Characteristic Descriptions ($\mathcal{D}_{Char}$): Derived from clean templates via in-context learning, these describe the sign’s shape, color, and composition (e.g., "a red circle with a white horizontal bar"). This translates visual features into a semantic space where LMMs excel.
- Differential Descriptions ($\mathcal{D}_{Diff}$): These explicitly highlight subtle dissimilarities between look-alike signs, such as the specific difference between a "Lane Usage" sign and a "No Turns" sign.
3. Multi-step Reasoning
Finally, the LMM performs inference step-by-step (Think i, ii, iii), combining its general world knowledge with these specific descriptions to identify the "real face" of the target sign. This "thinking twice" approach allows the model to correct initial impressions that might be skewed by lighting or blur.
Experimental Evaluation
We evaluated CdMT on five diverse datasets to test cross-country robustness:
- Benchmarks: GTSRB (Germany), BTSD (Belgium), and TT-100K (China).
- Real-world Private Datasets: Two newly utilized datasets from Japan—Sapporo and Yokohama urban road scenes. These represent "unseen" data that the LMMs could not have memorized during initial training.
Key Results
CdMT significantly outperformed previous state-of-the-art (SOTA) methods, including both supervised models and other LMM-based approaches:
- Accuracy: Achieved Top-1 accuracies of 0.93 (GTSRB), 0.89 (BTSD), 0.97 (TT-100K), 0.89 (Sapporo), and 0.85 (Yokohama).
- Zero-Shot Superiority: It outperformed traditional supervised models (like EfficientNet) by a wide margin when tested on "out-of-distribution" country data.
- Efficiency: Using GPT-4o, the system achieved an inference time of 1.2 seconds per sign, demonstrating potential for near-real-time applications as LMM efficiency improves.
Discussion and Conclusion
The CdMT framework demonstrates that prompting can act as a cognitive scaffold, allowing LMMs to perform high-level reasoning on low-quality visual data. By bridging the domain gap with text—where a blurry real-world sign and a clean template share the same semantic description—we achieve robust, cross-country recognition without specialized training data.
Future work will focus on automating the identification of similar sign pairs to improve scalability and testing the framework under adverse weather conditions like heavy rain or snow. Additionally, model distillation remains a key path toward deploying these powerful reasoning capabilities directly on vehicle hardware.
Summary updated