TL;DR
This paper introduces a novel ensembling method that combines the outputs of multiple object detectors to improve both detection accuracy and bounding box precision. By learning regression-based weights from a tiny sample of annotated images, the method calibrates unstandardized confidence scores and blends bounding box coordinates. When extended to video, a two-stage tracking framework leverages temporal consistency to recover missed detections and filter out false positives.
What Problem Does This Paper Address?
While deep learning has drastically advanced object detection, pre-trained models often suffer from a "generalization gap" when deployed on new, unseen datasets. Training a model from scratch or fine-tuning it for a specific industrial application is expensive and time-consuming due to the manual data annotation required.
An intuitive alternative is ensembling—combining multiple off-the-shelf detectors (like YOLO, SSD, or RetinaNet). However, standard ensembling techniques like Non-Maximum Suppression (NMS) simply select the single "most confident" bounding box and discard the rest. This approach has two major flaws:
- Uncalibrated Confidence Scores: A 90% confidence score from YOLOv3 does not mean the same thing as a 90% confidence score from RetinaNet. They are uncalibrated parameters, making direct comparison unreliable.
- Sub-optimal Precision: Standard NMS misses the opportunity to "average out" localization errors by combining the geometric insights of multiple models.
This paper addresses these gaps by proposing an ensembling technique that mathematically fuses bounding box coordinates and confidence scores, specifically aiming to improve localization precision in both static images and video streams.
Methods
The authors' approach consists of two main components: a regression-based coordinate fusion for images, and a temporal tracking extension for videos.
1. Bounding Box Fusion via Learned Weights
Instead of picking one winning bounding box, the proposed method groups overlapping boxes from different detectors using an Intersection over Union (IoU) threshold. Detections predicted by only a single detector are discarded as likely false positives.
For the remaining groups, the final coordinates ($\hat{c}_i$) and confidence scores ($\hat{s}_i$) are calculated as a weighted combination:
$$\hat{c}_i = \frac{\sum_{j=1}^{D} s_i^j w^j c_i^j}{\sum_{j=1}^{D} s_i^j w^j}$$
Where $D$ is the number of detectors, $c_i^j$ and $s_i^j$ are the coordinates and scores from detector $j$, and $w^j$ is the learned weight for that detector. To find the optimal weights ($w^j$), the authors formulate a linear regression problem optimized via Stochastic Gradient Descent (SGD) to minimize Mean Squared Error (MSE) against ground truth boxes. Crucially, this requires only a very small calibration set (100 images).
2. Exploiting Temporal Information in Video
To adapt this to video data, the authors introduce a two-stage tracking refinement scheme:
- Stage 1 (Recall Boost): Correlation trackers are initialized on detections in the first frame. In subsequent frames, if the base detectors miss an object but the tracker successfully follows it, those missing bounding boxes are filled back in.
- Stage 2 (Precision Boost): A multi-object tracker identifies sequences of detections. Short-lived trajectories (less than 5 consecutive frames) are flagged as false positives and eliminated.
Datasets
The base detectors (SSD, YOLOv3, and RetinaNet) were all pre-trained on the standard MS-COCO dataset. To evaluate how well the ensemble generalizes to completely unseen data distributions, the authors tested it on:
- PASCAL VOC (Image dataset, evaluated across 20 object classes)
- EPFL Campus-7, EPFL Lab-6, and Campus Auditorium (Video datasets, evaluating the 'person' class)
Key Insights and Ideas
- Complementary Strengths: Different architectures excel at different things. The authors note that YOLOv3 is excellent at detecting the presence of objects (high recall), whereas RetinaNet excels at drawing tight, accurate bounding boxes (high precision). The regression framework successfully blends these traits.
- The Power of Calibration: Treating raw confidence scores as absolute probabilities is a mistake. Introducing a simple scalar weight ($w^j$) per detector effectively normalizes these scales, leading to a much more meaningful geometric average.
- Strictness Pays Off: The proposed method shows its biggest performance leaps at higher IoU thresholds (0.75 and 0.85). This proves that the ensemble isn't just finding more objects—it is drawing significantly more accurate boxes than any single base model could.
Key Results
The proposed method consistently outperformed all base detectors and standard NMS baselines.
Image Data (PASCAL VOC)
- At IoU 0.5: The proposed method achieved a Total Mean Average Precision (MAP) of 80.08%, outperforming the best base detector (YOLOv3 at 75.42%) and slightly edging out standard NMS (79.87%).
- At IoU 0.85 (Strict Precision): The gap widened dramatically. The proposed method scored 32.35% MAP, significantly outperforming RetinaNet (28.40%), YOLOv3 (21.36%), and standard NMS (26.42%).
Video Data
On video datasets, incorporating temporal tracking ("Our-tr.") provided an additional performance boost by successfully recovering missed frames and pruning false positives:
- EPFL Campus: Reached 70.70% MAP (compared to YOLOv3's 68.12%).
- Campus Auditorium: Reached 82.36% MAP (compared to RetinaNet's 79.97%).
Limitations and Future Work
While powerful, the method still requires a small manual annotation step (100 images) to train the regression weights for coordinate fusion. Furthermore, the coordinate re-weighting scheme can only refine the geometry of existing overlapping detections; it cannot fix instances where all base detectors completely fail to locate an object, or where they all agree on a false positive.
Future research directions could explore unsupervised or self-supervised methods to calibrate detector weights without requiring any manual annotation.
Summary updated