Abstract
Recently, vehicle similarity learning, also called re-identification (ReID), has attracted significant attention in computer vision. Several algorithms have been developed and obtained considerable success. However, most existing methods have unpleasant performance in the hazy scenario due to poor visibility. Though some strategies are possible to resolve this problem, they still have room to be improved due to the limited performance in real-world scenarios and the lack of real-world clear ground truth. Thus, to resolve this problem, inspired by CycleGAN, we construct a training paradigm called RVSL which integrates ReID and domain transformation techniques. The network is trained on semi-supervised fashion and does not require to employ the ID labels and the corresponding clear ground truths to learn hazy vehicle ReID mission in the real-world haze scenes. To further constrain the unsupervised learning process effectively, several losses are developed. Experimental results on synthetic and real-world datasets indicate that the proposed method can achieve state-of-the-art performance on hazy vehicle ReID problems. It is worth mentioning that although the proposed method is trained without real-world label information, it can achieve competitive performance compared to existing supervised methods trained on complete label information.
Introduction
Vehicle Re-identification (ReID) is a cornerstone of smart city surveillance, yet it faces significant challenges in adverse weather conditions. Haze, in particular, scatters light, reducing contrast and obscuring the fine details—such as logos or unique markings—that ReID algorithms rely on to distinguish between vehicles.
Existing research faces two primary hurdles:
- Data Scarcity: There is a lack of large-scale, real-world datasets providing paired images (the same vehicle in both hazy and clear conditions) with identity labels.
- The Domain Gap: Models trained on synthetic haze often fail to generalize to the complex, non-uniform haze encountered in real-world scenarios.
Proposed Method: RVSL
To address these challenges, the authors propose RVSL (Robust Vehicle Similarity Learning), a semi-supervised framework that integrates domain transformation with ReID. Unlike conventional methods that may struggle in real-world hazy scenarios, RVSL learns to extract haze-invariant features by processing both synthetic and real-world data streams.
Architecture and Training Stages
The RVSL architecture utilizes a Domain Transformation Network (DT-Net) to translate images between hazy and clear domains, alongside a ReID-Net that shares encoders for both domains. The training paradigm is divided into three distinct stages:
- Supervised Training Stage: Utilizes synthetic hazy/clear image pairs where identity (ID) labels are known, establishing a baseline for vehicle recognition.
- Unsupervised Training Stage for Clear Data: Processes real clear images without labels.
- Unsupervised Training Stage for Real Hazy Data: Processes real hazy images without labels, allowing the model to learn the characteristics of real-world haze.
Physics-based Constraints
To effectively guide the unsupervised learning process without ground truth labels, the authors introduced three "physics-inspired" loss functions:
- Monotonously Increasing Dark Channel Loss ($L_{MIDC}$): Based on the Dark Channel Prior (DCP), this ensures that rendered hazy images follow the physical principle that haze increases the intensity of the darkest pixels.
- Colinear Relation Constraint ($L_{CR}$): This leverages the "haze-line" geometry in RGB space, ensuring that a hazy pixel, its clear counterpart, and atmospheric light remain colinear.
- Embedding Consistency Loss ($L_{EC}$): This forces the model to extract identical identity features (embeddings) from a clear image and its generated hazy version, effectively training the encoder to ignore haze as noise.
Datasets
The model was evaluated using two primary datasets:
- Synthetic Haze Dataset: Created using atmospheric scattering models on the Vehicle-1M and VeRi-776 datasets, containing 3,000 IDs and over 42,000 images.
- Real-world Hazy Dataset: A manually curated subset of real hazy vehicle images, containing 403 IDs and approximately 5,000 images for training and testing.
Key Results
RVSL achieved state-of-the-art (SOTA) performance on hazy vehicle ReID tasks. On the real-world test set, the method reached 84.12% mAP and 95.60% CMC@1. Remarkably, RVSL outperformed several supervised methods that were trained on complete label information, despite its semi-supervised nature. Ablation studies highlighted that the physics-based losses ($L_{MIDC}$ and $L_{CR}$) were critical for preventing visual artifacts and maintaining high accuracy.
Conclusion
RVSL demonstrates that combining semi-supervised learning with physical priors can effectively bridge the domain gap in hazy vehicle ReID. By treating identity as an invariant property across weather conditions, the framework achieves robust performance without the need for expensive real-world labeling. Future work may extend this consistency-based approach to other inclement weather conditions such as rain or snow.
Summary updated