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

ConfDet: Learning Reliable Confidence for MLLM-based Detection

Xuanjie Mao, Peng Ye, Ziteng Ma, Lin Zhang, Jiakang Yuan, Haoyu Zhang, Fujun Han, Jiayuan Fan, Tao ChenNeurIPS 2026

TL;DR

Multimodal Large Language Models (MLLMs) have gotten surprisingly good at drawing bounding boxes around objects, yet they remain terrible at telling you how sure they are about those guesses. ConfDet transforms confidence from a flaky afterthought into an explicit, trainable skill using discrete tokens, reinforcement learning, and conditional calibration. The result is an MLLM detector whose "90% sure" actually corresponds to 90% accuracy—substantially boosting detection benchmarks without changing where the boxes are drawn.

What Problem Does This Paper Address?

If you deploy a vision system in the real world—say, on a drone or an autonomous car—knowing where an object might be isn't enough. You need a reliable confidence score to filter out hallucinations, rank predictions (which standard metrics like Average Precision, or AP, depend on), and make safe decisions.

Conventional object detectors have dedicated neural branches trained specifically to output calibrated confidence scores. Generative MLLMs, however, treat object detection as text generation, spitting out labels and box coordinates token-by-token. Because human-annotated datasets only contain categories and coordinates—never ground-truth "confidence labels"—MLLMs aren't explicitly taught how confident to be.

Until now, researchers relied on awkward workarounds: asking the model in a prompt ("How confident are you?"), averaging token generation probabilities (which measures grammar plausibility, not visual accuracy), or borrowing scores from an external detector. None of these directly link the MLLM's confidence to its actual detection quality.

Figure 1: Comparison of confidence paradigms in MLLM-based detection. Left: the current implicit confidence paradigm and explicit confidence paradigm introduced by ConfDet. Right: compared with the current paradigm, ConfDet yields clearer TP–FP score separation for confidence ranking and better consistency between confidence and empirical accuracy for calibration.

Methods

Built on top of the Rex-Omni (3B) base model, ConfDet turns confidence estimation into a three-stage pipeline:

  1. Supervised Fine-Tuning (SFT) with Dedicated Tokens: Language tokenizers notoriously butcher continuous numbers like 0.873 into awkward sub-tokens. Instead, the authors hijack 100 rarely used vocabulary tokens and remap them to discrete scores (score_1 to score_100). To bootstrap training without human confidence labels, they run an external specialist model (Grounding DINO) on training images to generate pseudo-confidence labels, teaching the MLLM the basic syntax of outputting [category, box, score_token].
  2. Reinforcement Learning via GRPO: Because SFT merely clones the teacher model (biases and all), Stage 2 refines the policy using Group Relative Policy Optimization (GRPO)—a reinforcement learning technique that compares multiple sampled outputs for the same image against ground-truth boxes. Crucially, they introduce a novel joint reward: a standard detection reward (F1-style IoU matching to keep boxes accurate) paired with a new separation reward that pushes True Positive scores toward 1 and False Positive scores toward 0.
  3. Condition-Aware Post-Hoc Calibration: Reinforcement learning makes the model great at ranking good boxes above bad ones, but raw scores still drift away from true probabilities depending on the scene. The authors fit a lightweight statistical Beta calibrator on a validation set—requiring zero updates to the MLLM's weights—conditioned on three inference-time factors: box size, scene crowd density, and how inherently ambiguous the predicted object class is.
Figure 2: Overview of ConfDet. SFT with dedicated confidence tokens initializes stable and parsable confidence generation, GRPO with detection and separation joint rewards optimizes TP–FP score separation while preserving detection quality, and condition-aware post-hoc calibration aligns confidence with empirical accuracy at inference time.

Datasets

No new benchmarks are introduced; instead, the authors build a 10,000-image mixed training set from existing sources and test generalization across seven benchmarks:

  • Training & In-Distribution (ID) Evaluation: Objects365 (5,000 generic images), BDD100K (2,500 autonomous driving scenes), and VisDrone (2,500 drone-view images).
  • Zero-Shot Out-of-Distribution (OOD) Evaluation: COCO, LVIS, KITTI, and UAVDT—testing how well confidence transfers to unseen domains and category distributions.

Key Insights and Ideas

  • Ranking vs. Localization: When the authors stripped ConfDet's learned scores at test time and replaced them with a constant number (ConfDet (no_score)), its mAP plummeted back down to match the baseline model. This proves ConfDet's massive performance jump comes almost entirely from better confidence ranking, not secretly learning to draw better boxes.
  • Why RL Needs a Leash: In ablations, optimizing only the score-separation reward during RL actually hurt detection mAP (dropping from 40.29 to 34.49 on COCO). Without the anchor of the detection reward, the model games the confidence metric at the expense of actual object localization.
  • Systematic Conditional Shift: MLLM accuracy isn't uniform—it drops sharply on tiny boxes, crowded scenes (51+ objects), and ambiguous categories. Accounting for just these three readily available test-time variables allows a tiny post-hoc formula to drastically straighten out calibration curves.
Figure 3: Conditional shift across box size, scene density, and category ambiguity.

Key Results

  • Detection Gains (mAP): ConfDet consistently outperforms its 3B Rex-Omni baseline—and even much larger models like the 23B Seed1.6-Visual and 8B Qwen3-VL. On zero-shot OOD benchmarks, it improves mAP over Rex-Omni by an average of 5.1 points (e.g., jumping from 39.0 to 43.5 on COCO, 18.5 to 25.4 on KITTI, and 24.4 to 31.5 on UAVDT).
  • Calibration (ECE): Measured by Expected Calibration Error (lower means predicted confidence closely matches real-world accuracy), ConfDet slashes miscalibration across all four OOD datasets to an average ECE of 3.2%. On COCO, ConfDet drops ECE to 2.0%, compared to 15.8% for prompted confidence and 11.2% for token-logit averaging—even after giving those competing methods the exact same post-hoc calibrator.

Limitations and Future Work

The authors candidly note two main hurdles:

  1. Residual Teacher Bias: Stage 1 still leans on Grounding DINO to bootstrap confidence syntax, meaning some teacher biases may survive RL and calibration.
  2. Autoregressive Speed: Generating detections and confidence tokens sequentially via an MLLM remains much slower than conventional one-shot detectors, limiting edge-device deployment.

Future work aims to explore cleaner confidence supervision, faster inference paradigms, and calibration under open-world unknowns.

Summary updated

BibTeX
@inproceedings{mao2026confdet,
  author = {Xuanjie Mao and Peng Ye and Ziteng Ma and Lin Zhang and Jiakang Yuan and Haoyu Zhang and Fujun Han and Jiayuan Fan and Tao Chen},
  title = {{ConfDet: Learning Reliable Confidence for MLLM-based Detection}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=biptQ5O8Vh},
}
Figure