Abstract
In the field of object detection, domain adaptation is a popular solution to align the distribution between the real scene (target domain) and the training scene (source domain) by adversarial training. However, only global features are applied to the Domain Adaptive Faster R-CNN (DA Faster R-CNN) method. The lack of local features reduces the performance of domain adaptation. Therefore, a novel method for domain adaptive detection called Skip-Layer Network with Optimization (SLNO) method is proposed in this paper. Three improvements are presented in SLNO. Firstly, different level convolutional features are fused by a multi-level features fusion component for domain classifier. Secondly, a multi-layer domain adaptation component is developed to align the image-level and the instance-level distributions simultaneously. Among this component, domain classifiers are used in both image-level and instance-level distributions through the skip layer. Thirdly, the cuckoo search (CS) optimization method is applied to search for the best coefficient of SLNO. As a result, the capability of domain alignment is strengthened. The Cityscapes, Foggy Cityscapes, SIM10K, KITTI data sets are applied to test our proposed novel approach. Consequently, excellent results are achieved by our proposed methods against state-of-the-art object detection methods. The results demonstrate our improvements are effective on domain adaptation detection.
Introduction
In computer vision, "domain shift" occurs when a model trained on one dataset (the source domain) fails to generalize to a different environment (the target domain). For instance, an autonomous vehicle's object detector trained on clear, sunny days might struggle significantly in heavy fog or rain. While Domain Adaptive Faster R-CNN (DA Faster R-CNN) attempts to bridge this gap by aligning global features, it often overlooks local, low-level features such as textures and edges. This omission limits the model's ability to distinguish between transferable background elements and actual objects of interest. Furthermore, standard models rely on manually tuned hyperparameters, which are often sub-optimal for varying scenarios.
To address these challenges, we introduce SLNO (Skip-Layer Network with Optimization). SLNO enhances domain adaptation by fusing multi-level local features and employing the nature-inspired Cuckoo Search algorithm to automatically optimize hyperparameters, resulting in superior performance across diverse environments.
Methodology
The SLNO framework introduces three primary architectural and algorithmic enhancements to the standard domain adaptation pipeline.
Multi-level Feature Fusion and Skip-Layers
Traditional domain classifiers often rely solely on the final global output of the feature extractor. SLNO, however, incorporates a multi-level feature fusion component. By extracting and combining features from multiple convolutional layers (Conv1 through Conv5), the model gains access to a rich hierarchy of information—from high-level semantic concepts to low-level structural details.
This fusion is facilitated by "skip layers" that pass these integrated features directly to domain classifiers. This ensures that the alignment process considers both image-level context (e.g., identifying a city street vs. a highway) and instance-level details (e.g., distinguishing a car from a pedestrian).
Multi-layer Domain Adaptation
The model aligns distributions at two scales simultaneously: the image-level and the instance-level. By enforcing consistency between these two classifiers, SLNO ensures that if an image is identified as belonging to a specific domain (like "foggy"), the individual objects within that image are treated with the same domain-specific considerations.
Cuckoo Search (CS) Optimization
A critical challenge in domain adaptation is balancing the detection loss against the adaptation loss. This balance is typically controlled by a hyperparameter, $\lambda$, which is usually tuned manually. SLNO replaces this manual process with Cuckoo Search (CS), a heuristic optimization algorithm inspired by the parasitic breeding behavior of cuckoo birds.
The CS algorithm iteratively "evolves" the $\lambda$ parameter to find the mathematically optimal value for the specific domain shift being addressed. This automated tuning consistently leads to better mean Average Precision (mAP) compared to fixed, manually chosen values.
Experimental Results
The SLNO method was rigorously evaluated using four major datasets representing various domain-shift scenarios: Cityscapes (clear weather), Foggy Cityscapes (synthetic fog), SIM10K (synthetic GTA V images), and KITTI (cross-camera adaptation).
- Weather Adaptation: On the Foggy Cityscapes dataset, SLNO achieved a 36.3% mAP, a substantial improvement over the baseline Faster R-CNN (22.0%) and the previous state-of-the-art DA-Faster (27.6%).
- Synthetic to Real: Training on SIM10K and testing on Cityscapes, SLNO reached 43.0% Car AP, outperforming other complex models like MTOR and SW-DA.
- Cross-Camera Adaptation: In the Cityscapes-to-KITTI transfer, SLNO improved the Mean AP to 41.2%, compared to the baseline's 34.0%.
Conclusion
The SLNO framework demonstrates that incorporating local features through multi-level fusion and automating hyperparameter tuning via Cuckoo Search significantly strengthens domain alignment. By ensuring consistency across image and instance levels, SLNO provides a robust solution for object detection in "unseen" environments. Future work may explore applying these techniques to one-stage detectors like YOLO or Transformer-based architectures to further validate their universal applicability.
Summary updated