Abstract
Infrared and visible object detection (IVOD) is essential for numerous around-the-clock applications. Despite notable advancements, current IVOD models exhibit notable performance declines when confronted with incomplete modality data, particularly if the dominant modality is missing. In this paper, we take a thorough investigation on modality incomplete IVOD problem from an architecture compatibility perspective. Specifically, we propose a plug-and-play Scarf Neck module for DETR variants, which introduces a modality-agnostic deformable attention mechanism to enable the IVOD detector to flexibly adapt to any single or double modalities during training and inference. When training Scarf-DETR, we design a pseudo modality dropout strategy to fully utilize the multi-modality information, making the detector compatible and robust to both working modes of single and double modalities. Moreover, we introduce a comprehensive benchmark for the modality-incomplete IVOD task aimed at thoroughly assessing situations where the absent modality is either dominant or secondary. Our proposed Scarf-DETR not only performs excellently in missing modality scenarios but also achieves superior performances on the standard IVOD modality complete benchmarks.
Introduction
Infrared-Visible Object Detection (IVOD) is a critical capability for modern surveillance and autonomous systems, combining visible (VIS) light with thermal infrared (IR) to maintain visibility through fog, darkness, and glare. However, most existing models are "fair-weather friends"—they are architecturally hard-coded to require both inputs. In real-world deployments, sensors frequently fail, lenses become obscured, or lighting conditions render one modality useless.
When these failures occur, standard models suffer catastrophic performance drops. For instance, the leading DAMS-DETR model drops from nearly 70% accuracy to just 15% on the LLVIP dataset when the IR sensor is removed. This research identifies this as an architecture compatibility problem: internal model "wiring" is often too tightly coupled to a dual-input stream, preventing graceful degradation when data is missing.
The Scarf-DETR Framework
To address these limitations, we propose Scarf-DETR, which decouples the model architecture from rigid input requirements through two primary innovations:
- Scarf Neck & MADA: The Scarf Neck is a versatile replacement for standard feature-merging layers. It utilizes Modality-Agnostic Deformable Attention (MADA). In modality-complete scenarios, MADA splits its attention points between VIS and IR features. When a modality is missing, it intelligently reallocates all sampling points to the available modality, ensuring the internal attention mechanism remains productive.
- Pseudo Modality Dropout: Traditional modality dropout can hurt performance by reducing training sample diversity. Our "Pseudo" version avoids this by treating the remaining modality as two separate inputs (concatenating it with itself) when one is dropped. This maintains consistent batch sizes and strong training signals while teaching the model to be robust to single-modality inputs.
Experimental Evaluation
We evaluated Scarf-DETR on four major benchmarks (FLIR, M3FD, LLVIP) and introduced the MI (Modality Incomplete) Benchmark. This new protocol simulates partial sensor failure by randomly discarding 30%, 50%, or 70% of images from one modality.
The results are particularly striking in "broken sensor" scenarios. On the LLVIP dataset in VIS-only mode (simulating IR failure), Scarf-DETR achieved 55.5% mAP, a massive 40.5% absolute improvement over DAMS-DETR's 15.0%. Crucially, Scarf-DETR does not trade off quality for robustness; it also sets new state-of-the-art records on modality-complete benchmarks, reaching 57.1% mAP on M3FD.
Conclusion
Scarf-DETR solves the "dominant modality trap" where models over-rely on a single sensor. By moving from rigid fusion to flexible adaptation via the Scarf Neck, we achieve a model that is both more stable and more accurate. While currently optimized for DETR-like architectures, future work will explore extending this modality-agnostic design to other multi-modal tasks such as RGB-D and RGB-SAR sensing.
Summary updated