Abstract: Combining the strengths of many existing predictors to obtain a Mixture of Experts which is superior to its individual components is an effective way to improve the performance without having to develop new architectures or train a model from scratch. However, surprisingly, we find that naively combining off-the-shelf object detectors in a similar way to Deep Ensembles, can often lead to degraded performance. We identify that the primary cause of this issue is that the predictions of the experts do not match their performance, a term referred to as miscalibration. Consequently, the most confident detector dominates the final predictions, preventing the mixture from leveraging all the predictions from the experts appropriately. To address this, when constructing the Mixture of Experts for object detection, we propose to combine their predictions in a manner which reflects the individual performance of the experts; an objective we achieve by first calibrating the predictions before filtering and refining them. We term this approach the Mixture of Calibrated Experts (MoCaE) and demonstrate its effectiveness through extensive experiments on 5 different detection tasks, showing that it: (i) improves object detectors on COCO and instance segmentation methods on LVIS by up to ~2.5 AP; (ii) reaches state-of-the-art on COCO test-dev with 65.1 AP and on DOTA with 82.62 AP50; (iii) outperforms single models consistently on recent detection tasks such as Open Vocabulary Object Detection.
Introduction: The Confidence Gap in Object Detection
The "Mixture of Experts" (MoE) approach is a classic strategy in machine learning: instead of relying on a single model, multiple specialized models are combined to produce a result superior to any individual component. However, in object detection, "naïvely" ensembling off-the-shelf detectors often degrades performance.
Researchers from Five AI have identified the root cause as miscalibration. Different detector architectures (e.g., one-stage vs. two-stage) exhibit distinct "confidence personalities." Some models are naturally overconfident ("loud"), while others are underconfident ("quiet"). Because standard Non-Maximum Suppression (NMS) is a "winner-takes-all" algorithm—keeping the box with the highest confidence score—a mediocre but "loud" detector can consistently override a more accurate but "quiet" one. This "Confidence Gap" prevents the ensemble from effectively leveraging its best experts.
The MoCaE Framework
To solve this, the authors propose MoCaE (Mixture of Calibrated Experts). The framework introduces two critical steps to ensure the "loudest voice" doesn't automatically win:
- Individual Calibration: Before merging, each expert is calibrated post-hoc. Crucially, confidence scores are aligned with the Intersection-over-Union (IoU)—the physical overlap between the predicted box and the ground truth. This ensures that a high score signifies high spatial accuracy. This is achieved using lightweight methods like Isotonic Regression, requiring only a small validation set.
- Refining NMS: Once scores are "honest," they are merged using a two-part strategy:
- Soft NMS: Instead of deleting overlapping boxes, it decays their scores, preserving more information for the final output.
- Score Voting: This refines final box coordinates by taking a weighted average of nearby high-confidence boxes. Since scores are calibrated to localization quality, this process effectively "votes" for the most accurate boundaries.
Key Results and Insights
MoCaE consistently outperforms single models and standard ensembles across various benchmarks:
- State-of-the-Art Performance: MoCaE reached 65.1 AP on COCO test-dev and 82.62 AP50 on DOTA.
- Significant Boosts: It improved instance segmentation on LVIS by up to 2.5 AP.
- Efficiency: A MoCaE mixture of just three diverse experts outperformed "Deep Ensembles" using five versions of the same model, demonstrating that architectural diversity is a greater strength than model redundancy when properly calibrated.
- Robustness: The framework showed higher reliability under domain shifts, such as testing on corrupted images or datasets different from the training set.
Conclusion
The success of MoCaE proves that the failure of ensembles in detection is not due to the models themselves, but due to incompatible confidence scales. By forcing confidence to reflect spatial accuracy (IoU), MoCaE allows diverse architectures to work together effectively. While ensembling increases inference latency, the "plug-and-play" nature of MoCaE makes it a powerful tool for boosting performance without the need for expensive retraining.
Summary updated