Which Sensor Vouches for the Box? Modality-Aware Localization Confidence for Multispectral LiDAR Fusion

A 3D object detector outputs, for each candidate box, a confidence score. That score decides which boxes survive the de-duplication step (non-maximum suppression, which keeps the highest-scoring box among overlapping candidates) and how detections are ranked for evaluation. The score is supposed to say "this box is a real object and it sits in the right place," but in fusion detectors the two halves of that claim come from different sensors. Cameras, and near-infrared (NIR) cameras even more so in fog and at night, are good at saying that something is a pedestrian and where it is left-to-right and up-down in the image. LiDAR, the laser scanner that returns a sparse, irregular set of 3D points, is what says how far away it is. When LiDAR returns are sparse (a distant object, a fogged-out beam), the detector can be confident in what it sees while being badly wrong about depth, and a single scalar score cannot express this.

We propose to make the detector's localization confidence explicitly modality-aware. The detector predicts separate uncertainty for image-plane placement and for range, conditions each on measured per-object evidence from each sensor (how many LiDAR points fall in the box relative to what is expected at that distance, and how much edge structure the RGB or NIR image shows inside the projected box), and ranks boxes by the expected 3D overlap with the truth implied by those uncertainties. The testable claim is that, in fusion detectors, the mismatch between score and localization quality is concentrated along the depth axis and is predicted by per-object sensor support, not just by range. If that holds, a modality-aware score should improve ranking exactly where current detectors are miscalibrated: long range, adverse weather, and objects that the image sees clearly but LiDAR barely touches.

Core Claim

Existing confidence-localization alignment treats localization quality as one scalar. Generalized Focal Loss trains the classification output directly on the continuous overlap (IoU, intersection-over-union) of each box with the truth, which fixes the problem that separate quality heads never see background samples. It also models each box edge as a distribution, which captures boundary ambiguity. CMF-IoU brings a joint classification-plus-3D-IoU head into LiDAR-camera fusion, and SR3D penalizes confident-but-misplaced boxes through rank-aware self-distillation on single-modality indoor point clouds. None of these asks which sensor is responsible for the localization error. Separately, PDV shows that LiDAR density falls predictably with range and adjusts confidence using expected point counts, but it is LiDAR-only and adjusts by count statistics rather than by learned localization quality. Deep Entropy Fusion down-weights degraded sensor features using local entropy, but it ranks by classification score alone.

Our claim combines these observations into one mechanism. Localization error in a fusion detector decomposes into an image-plane component and a range component. The range component is governed by LiDAR support, which depends on point cloud irregularity: range-dependent density, occlusion, and weather backscatter. The image-plane component is governed by image support, which non-visible bands preserve when visible contrast fails. A score built from per-axis, evidence-conditioned uncertainty should therefore rank better than a scalar IoU score, and the gain should be largest where the two sensors disagree in how well they support a box.

Research Program

The base detector is a query-based LiDAR-camera fusion model in the style of TransFusion. Object queries are first placed from LiDAR features in a bird's-eye-view map, then refined by soft cross-attention to image features. We use this design because its soft association already tolerates calibration error, so our changes concern scoring rather than alignment. The image branch accepts RGB, or RGB plus NIR. For the multispectral input we reuse the edge-gated early fusion of EME's ShaPE module rather than naive channel stacking, because that paper reports that stacking causes one band to suppress the other.

We add three things. First, a per-object support vector computed without learning: the number of LiDAR points inside the predicted box divided by the expected count for that object class at that range (fit from training data, as in PDV), the spread of those points along the viewing ray, and the gradient energy of each image band inside the projected box. Second, a quality head that takes the query feature plus the support vector and predicts two Laplace scales, $\sigma_{\perp}$ for image-plane error (lateral position, height, and extent) and $\sigma_{r}$ for error along the viewing ray. Third, a ranking score

$$s = p \cdot \mathbb{E}_{\delta \sim \mathcal{L}(\sigma_{\perp}, \sigma_{r})}\big[\mathrm{IoU}(b + \delta, b)\big],$$

where $p$ is the class probability, $b$ the predicted box, and $\delta$ a box perturbation drawn from the predicted per-axis error distribution. The expectation is estimated with a small fixed set of quasi-random samples, so it remains differentiable and cheap.

Training follows the Generalized Focal Loss lesson. The full score $s$, not a separate head, is supervised with a quality-focal loss whose target is the true 3D IoU for positives and zero for background. Background boxes therefore cannot carry inflated quality. The two scales are additionally supervised with a Laplace negative log-likelihood on the actual per-axis residuals of positive boxes. This term is what forces $\sigma_{r}$ to mean depth uncertainty rather than generic badness.

The analysis half of the program matters as much as the method. Before building anything we measure, on trained baselines, how score-IoU mismatch splits between image-plane and range error, stratified by range bin, weather or lighting condition, and support ratio. We then ask whether support explains residual miscalibration within a range bin. That within-bin result determines whether the idea is worth building, as the decisive checks below explain.

Baselines

The naive reference is the fusion detector ranked by classification probability alone, which is the standard TransFusion-style setup and what Deep Entropy Fusion uses. Every other variant must beat it on ranking metrics, or the alignment question is moot.

The strongest existing competitor is a CMF-IoU-style joint head: one scalar 3D-IoU prediction multiplied into the score, trained with noisy ground-truth proposals. It is the closest published system that unites fusion with confidence-localization alignment. CMF-IoU reports 69.8% mAP and 72.6% NDS on nuScenes and 85.14% Moderate car 3D AP on KITTI test. The fusion backbone it improves on, TransFusion, reports 68.9% mAP and 71.7% NDS on nuScenes. For fairness we do not compare against CMF-IoU's full pseudo-point pipeline, which would confound scoring with backbone. Instead we implement its joint-IoU scoring, and separately a GFL-style scalar quality-focal score, on our identical backbone, with the same data, schedule, and hyperparameter search budget (the same number of trials over loss weights). Beating it means a statistically reliable gain over three seeds in long-range and adverse-condition AP and in localization-aware calibration error, with no loss in overall AP. We also report full-pipeline published numbers as context only.

The third baseline is PDV-style density confidence: the scalar score multiplied by a learned function of the observed-to-expected point ratio. It isolates whether simply knowing LiDAR support, without per-axis decomposition, captures the gain.

Two ablations isolate the key ingredients. One keeps per-axis scales but removes the support vector, testing whether explicit evidence matters or the network infers it anyway. The other keeps the support vector but predicts a single scalar scale, testing whether the image-plane/range split matters. We run every configuration with RGB only and with RGB plus NIR, so the spectral band's contribution to scoring is measured separately from its contribution to detection.

Why not just…?

Why not just recalibrate scores per range bin after training? Isotonic or temperature recalibration fit separately for each distance bin is cheap and would absorb much of the range-driven density effect that PDV documents. This is a real threat. Our analysis step tests it directly. If, after per-range recalibration, support ratio and image evidence no longer predict residual IoU error, then the per-object mechanism adds nothing beyond range, and we would report that and narrow the proposal to the analysis. Per-bin recalibration also cannot reorder boxes within one image at the same range, which is exactly where an occluded or fogged object differs from a clean one. We expect support to matter there, but the experiment decides.

Why not just add a scalar IoU head to an RGB+NIR fusion detector? This is CMF-IoU plus an extra band. It is the most obvious combination, and it is run as the main baseline above. Its limitation is structural: one number cannot distinguish "well placed in the image, unsure in depth" from "unsure everywhere," so non-maximum suppression cannot prefer the candidate with better LiDAR support among several image-confident candidates. If the scalar head matches us on depth-stratified AP, the decomposition is unnecessary and we would say so.

Why not just re-score detections after the fact with a graph network, as NBA3D does? NBA3D raises rare-class AP cheaply (stroller 5.7 to 10.8 on nuScenes), but it depends on neighboring objects and sends no gradient into box regression. Our quality loss does shape regression. We can still apply NBA3D-style re-scoring on top of either scorer to check that the gains are complementary rather than redundant.

Why not just let Deep Entropy Fusion's feature gating handle degraded sensors? Gating decides how much each sensor contributes to features. It does not tell the ranking step how trustworthy the resulting box geometry is, and the STF paper ranks by classification score. We include entropy gating in the backbone as one configuration to show the two operate at different points in the detector.

Proposed Experiments

Development uses nuScenes and KITTI, where image evidence is RGB and degraded regimes come from nuScenes night and rain scenes and from KITTI's long-range Hard subset. TransFusion reports larger camera benefit at night (+6.0 mAP versus +5.4 by day), which suggests these are regimes where image and LiDAR support diverge. The spectral test uses Seeing Through Fog, the only dataset in the file with LiDAR, RGB, and gated NIR together. The file describes its annotations only as "100,000 multimodal labels," so verifying 3D box coverage per weather split is the first task. If 3D coverage is thin, the STF evaluation is restricted to the clear-to-fog subset that has it. For the STF baseline there is no reported absolute result found on Lacuna; the paper reports only a relative gain of over 8% AP in adverse weather and a near-45% LiDAR-only drop in dense fog. We therefore reproduce Deep Entropy Fusion's ranking as our naive reference. IDD-AW has RGB-NIR pairs but no LiDAR or 3D boxes, so we use it only to pretrain the NIR branch of the image encoder.

Metrics are standard AP and NDS, AP stratified by range bin and condition, and calibration of score against localization following the evaluation protocol of On Calibration of Object Detectors: localization-aware calibration error and rank correlation between score and true IoU among true positives. We also report the realized depth error and image-plane error of the boxes that survive non-maximum suppression, which shows directly whether the scorer keeps better-ranged boxes. Latency is reported on the same GPU for every scorer. The sampling-based expectation must stay within a few milliseconds of the scalar head to be deployable.

The decisive checks are three. First, on trained baselines, does depth error account for the majority of score-IoU mismatch among confident long-range and adverse-weather detections? If not, the motivation collapses. Second, after per-range-bin recalibration, does the support vector still predict IoU residuals? If not, we stop at the cheaper method. Third, on STF fog splits, does adding NIR raise the image-plane quality term while leaving range uncertainty high for sparse-LiDAR objects, and does the modality-aware score then outrank the scalar CMF-IoU-style score in fog AP and calibration? Success on the third check would be direct evidence that a non-visible band changes not only what the detector sees but how well it knows where its own boxes are.