NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MoCaE: Mixture of Calibrated Experts Significantly Improves Object Detection

Kemal Oksuz, Selim Kuzucu, Tom Joy, Puneet K. Dokania · DOI

Abstract

Ensembling multiple object detectors is a standard technique to improve performance, yet a "naïve" combination of different architectures often leads to degraded results. This paper identifies miscalibration—the discrepancy between a model's confidence scores and its actual accuracy—as the primary bottleneck. We introduce MoCaE (Mixture of Calibrated Experts), a post-hoc framework that calibrates individual experts to align their confidence with the expected Intersection over Union (IoU). MoCaE is a training-free, "plug-and-play" solution that achieves state-of-the-art performance on major benchmarks like COCO and DOTA.

Introduction

In deep learning, ensembles typically involve averaging the outputs of identical models trained with different seeds. A more sophisticated approach is the Mixture of Experts (MoE), which combines diverse architectures to leverage their unique strengths. However, in object detection, simply merging predictions from different detectors often fails. The authors discovered that different detector "personalities" (e.g., one-stage vs. two-stage) lead to inconsistent confidence scales. An "arrogant" model with high confidence but low accuracy can easily drown out a "humble" but more precise expert.

The Challenge of Miscalibration

The core issue is that confidence scores are not universal across architectures. A score of 0.8 from a Transformer-based model does not represent the same level of certainty as a 0.8 from a Convolutional model.

Figure 1: Expert contribution in uncalibrated vs. calibrated mixtures.

As shown in Figure 1, in a naïve mixture of uncalibrated experts, a single model (RS R-CNN) can account for over 96% of the final detections, effectively silencing other experts. After calibration, the contributions become significantly more balanced, allowing the ensemble to benefit from the collective intelligence of all models.

Methodology: The MoCaE Framework

MoCaE operates in two distinct stages without requiring any retraining of the underlying models:

  1. Individual Calibration: Each expert is calibrated post-hoc using a small held-out validation set (as few as 500 images). The goal is to ensure the confidence score reflects the Intersection over Union (IoU)—the overlap between the prediction and the ground truth. Simple methods like Isotonic Regression (IR) or Linear Regression (LR) are used to map raw scores to calibrated ones.
  2. Refined NMS (Non-Maximum Suppression): Once scores are on a shared scale, they are aggregated using a combination of Soft NMS (which decays scores of overlapping boxes instead of deleting them) and Score Voting (which refines box coordinates via a weighted average of overlapping predictions).

Qualitative and Quantitative Results

MoCaE demonstrates remarkable robustness and accuracy across diverse datasets, including COCO, LVIS, and DOTA. It consistently improves single models by up to ~2.5 AP and outperforms standard Deep Ensembles even with fewer models.

Figure 6: Visual comparison of detection results across individual experts, mixtures, and ground truth.

Qualitatively, Figure 6 illustrates the power of calibration. In the uncalibrated mixture (d), the system inherits the over-confident but slightly inaccurate predictions of the dominant expert. In contrast, the MoCaE output (e) aligns closely with the ground truth (f), correctly identifying objects like the surfboard and passengers with more reliable confidence scores and precise bounding boxes.

Key Insights

  • Optimal Confidence is IoU: The authors prove that aligning confidence with expected IoU is the optimal strategy for maximizing Average Precision (AP).
  • Diversity is Key: MoCaE thrives on architectural diversity. Combining a one-stage detector with a two-stage detector yields higher gains than combining similar models because they fail in complementary ways.
  • Efficiency: Because it is a post-hoc method, MoCaE is highly practical for existing production systems, requiring only a tiny amount of data to stabilize calibration curves.

Conclusion

MoCaE solves the long-standing problem of degraded performance in object detection ensembles. By treating confidence as a calibrated metric rather than a raw output, it unlocks the true potential of heterogeneous model mixtures. While it increases inference costs linearly with the number of experts, its significant gains in accuracy and reliability make it a new benchmark for high-performance object detection.

Summary updated

BibTeX
@article{oksuz2024mocae,
  author = {Kemal Oksuz and Selim Kuzucu and Tom Joy and Puneet K. Dokania},
  title = {{MoCaE: Mixture of Calibrated Experts Significantly Improves Object Detection}},
  journal = {Accepted by TMLR},
  year = {2024},
  url = {https://openreview.net/forum?id=fJEsas1z8J},
}
Figure