Abstract
Traditional computer vision solutions in transportation engineering rely heavily on large, manually annotated datasets and supervised learning. This paper investigates the potential of Vision Language Models (VLMs) to overcome these limitations through zero-shot learning. By evaluating state-of-the-art models like GPT-4o, LLaVA-Next, and BLIP across tasks such as traffic congestion detection, pavement crack identification, and helmet violation monitoring, this study demonstrates that VLMs can match or exceed the performance of supervised benchmarks in classification, though challenges remain regarding localization precision and inference latency.
Introduction
Solving computer vision problems in transportation—such as identifying road congestion or detecting safety violations—has historically required training deep Convolutional Neural Networks (CNNs) on massive datasets. This supervised paradigm is labor-intensive, expensive, and results in "brittle" models that struggle to generalize beyond their specific training classes.
This research explores a shift toward Vision Language Models (VLMs), which leverage natural language instructions to perform tasks without specific training examples (zero-shot prompting). By bridging the gap between vision and language, these models offer a flexible alternative to the traditional "data-hungry" approach, potentially automating complex monitoring tasks with minimal setup.
Methodology
The study evaluates a diverse suite of open-source and closed-source models, categorized by their primary function:
- Classification Models: CLIP, BLIP, LLaVA-Next, and GPT-4o.
- Object Detection Models: OWL-ViT (an open-vocabulary detector).
Key Technical Approaches
- Prompt Engineering: The researchers investigated how linguistic nuances affect model accuracy. For classification, they compared various prompt structures (e.g., "Congested" vs. "Lanes with congestion") to determine the sensitivity of the models to natural language instructions.
- Hybrid Detection Pipelines: Recognizing that while VLMs like GPT-4o excel at semantic reasoning, they often struggle with precise coordinate localization, the authors developed a hybrid workflow. They utilized OWL-ViT to propose regions of interest (e.g., a motorcyclist) and then passed these cropped images to GPT-4o or LLaVA-Next for high-level verification (e.g., "Is this person wearing a helmet?").
- Post-Processing Logic: To ensure spatial accuracy in helmet detection, the team implemented Intersection over Union (IoU) logic. This ensured that a detected "Helmet" was logically and spatially associated with the "Person" and "Motorbike" in the frame.
Experimental Setup and Datasets
The models were tested against three distinct real-world transportation challenges:
- Congestion Detection: 1,010 images sourced from Iowa DOT CCTV cameras.
- Crack Identification: 5,208 images of concrete pavement from the SDNET2018 dataset, balanced between cracked and non-cracked surfaces.
- Helmet Violation: Data from the AICity Challenge 2024 (Track 5), featuring 2,700 images of urban traffic in India.
Results and Discussion
Performance Benchmarks
The results indicate that zero-shot VLMs are highly competitive with supervised models:
- Congestion Detection: BLIP achieved an F1-score of 0.94, actually outperforming the supervised Deep CNN benchmark (0.90).
- Crack Detection: LLaVA-Next reached an F1-score of 0.84, nearly matching the supervised CNN benchmark of 0.86. GPT-4o performed less effectively here, likely due to the fine-grained visual requirements of identifying pavement textures.
- Helmet Detection: The hybrid OWL-ViT + GPT-4o pipeline achieved an F1-score of 0.97, coming within 0.01 of the state-of-the-art YOLOv8 model.
Critical Insights
- The Negation Hurdle: A significant finding was the difficulty models like BLIP had with logical negation. While accurate at identifying the presence of a feature, they often failed when asked to confirm its absence, suggesting a weakness in processing logical operators.
- Prompt Sensitivity: Performance was highly volatile based on wording. For example, CLIP’s accuracy in congestion detection improved from 66% to 88% simply by refining the class labels.
- Reasoning vs. Localization: The study highlights a clear trade-off. VLMs possess superior semantic reasoning—such as distinguishing a helmet from a turban—but lack the pinpoint localization capabilities of specialized detectors like YOLO.
Limitations and Future Work
The primary barrier to immediate deployment is inference speed. While YOLOv8 can process an image in 0.14 seconds, VLM-based pipelines required between 0.68 and 6.2 seconds. This latency makes current VLMs unsuitable for real-time edge applications, such as live traffic signal control.
Future research should focus on:
- Developing "lighter" VLM architectures for real-time processing.
- Testing performance in more heterogeneous and complex traffic environments.
- Refining prompt strategies to further eliminate the need for annotated training data.
Conclusion
Vision Language Models represent a significant step forward for transportation engineering, offering the ability to solve complex visual tasks with zero-shot prompting. While they currently lag in speed and localization, their reasoning capabilities and high classification accuracy suggest they will become an essential tool for non-real-time infrastructure assessment and safety auditing.
Summary updated