Introduction
In the current deep learning landscape, training object detection models from scratch is a rarity. Instead, practitioners leverage a "Detector Zoo"—a collection of models pre-trained on massive datasets like COCO or ImageNet—and fine-tune them for specific downstream tasks. However, as the variety of architectures (e.g., Faster R-CNN, DETR, RetinaNet) and backbones (e.g., ResNet, Swin, RegNet) grows, identifying the optimal starting point becomes a significant bottleneck.
Traditionally, selecting the best detector requires "brute-force" fine-tuning of every candidate model on the target dataset to observe actual performance. This process is prohibitively expensive in terms of both time and compute. While transferability metrics like LogME or LEEP have been successful for image classification, they fail in the context of object detection. Detection is inherently more complex, requiring the model to simultaneously solve for classification ("what is it?") and regression ("where is it?") across multiple scales. This paper introduces Det-LogME, a lightweight, gradient-free metric designed to predict transfer performance in minutes, achieving a 32x speedup over traditional methods.
Methods: The Det-LogME Framework
Det-LogME extends the Log Maximum Evidence (LogME) framework to account for the unique geometry and hierarchical nature of object detection. The authors propose three core innovations to bridge the gap between classification metrics and detection requirements:
- Pyramid Feature Matching: Standard metrics typically extract a single global feature vector per image. However, modern detectors use Feature Pyramid Networks (FPN) to handle objects at different scales. Det-LogME maps target objects to their corresponding levels in the feature pyramid based on their size. This ensures that small objects are assessed using high-resolution features, while large objects are evaluated using high-level semantic features.
- Unified Sub-task Evaluation (U-LogME): To address the dual nature of detection, the authors construct a Unified Label Matrix ($Y^u$). This matrix integrates class labels and 4D bounding box coordinates into a single representation. By treating classification and regression as a joint problem, the metric captures the inherent relationship between an object's identity and its precise spatial location.
- IoU-LogME: Regression assessment in detection is often sensitive to scale; a small pixel error is catastrophic for a tiny object but negligible for a large one. Det-LogME incorporates an Intersection-over-Union (IoU) based metric. This provides a scale-invariant measure of how well pre-trained features can predict overlapping bounding boxes, significantly improving accuracy on datasets with diverse object sizes.
Experimental Setup and Benchmark
To validate the efficacy of Det-LogME, the authors established a comprehensive Detector Transferability Benchmark. This included a model zoo of 33 diverse detectors, spanning two-stage, single-stage, and transformer-based architectures. These models were tested across six downstream datasets representing five distinct domains: General (Pascal VOC), Autonomous Driving (CityScapes, SODA), Dense Prediction (CrowdHuman), UAV/Drones (VisDrone), and Medical Imaging (DeepLesion).
Key Results and Discussion
The experimental results demonstrate that Det-LogME is both highly accurate and remarkably efficient.
- Superior Predictive Power: As shown in the correlation plots, Det-LogME consistently achieves the highest Weighted Kendall’s tau ($\tau_w$) compared to baselines like LogME, SFDA, and KNAS. On the Pascal VOC dataset, it improved the ranking correlation from a meager 0.22 (vanilla LogME) to 0.79.
- Efficiency Gains: The method is gradient-free and requires only a single forward pass to extract features. It reduces the wall-clock time for model selection by 32x and uses only 5.2% of the memory required for brute-force fine-tuning.
- Cross-Domain Robustness: While previous state-of-the-art methods struggled with specialized domains like medical imaging or dense crowds, Det-LogME remained stable. Its scale-invariant IoU component proved particularly vital for the VisDrone dataset, where small objects are prevalent.
Conclusion and Future Work
Det-LogME represents a significant advancement in making transfer learning for object detection more accessible and efficient. By unifying classification and regression assessment and respecting the multi-scale nature of detection features, it provides a reliable proxy for fine-tuning performance.
Despite its success, the method currently depends on labeled ground truth data from the target task. Future research could explore unsupervised or semi-supervised transferability assessment to further reduce the overhead of model selection. Additionally, while the pyramid matching works well for FPN-based models, further refinement may be needed for emerging purely global transformer architectures.
Summary updated