MSCoTDet: Language-driven Multi-modal Fusion for Improved Multispectral Pedestrian Detection

Taeheon Kim, Sangyun Chung, Damin Yeom, Youngjoon Yu, Hak Gu Kim, Yong Man RoarXiv 2024 · DOI

TL;DR

MSCoTDet introduces a novel framework that leverages Large Language Models (LLMs) to eliminate modality bias in multispectral pedestrian detection. By converting RGB and thermal image regions into textual descriptions and applying a Multispectral Chain-of-Thought (MSCoT) prompting strategy, the framework successfully detects challenging, "thermal-obscured" pedestrians where traditional vision models fail.

What Problem Does This Paper Address?

Multispectral pedestrian detection combines standard RGB images with thermal imaging to detect people around the clock. While highly effective, current vision-based models suffer from a severe flaw: modality bias.

Because standard datasets feature pedestrians who almost always co-occur with distinct thermal signatures, deep learning models learn to over-rely on the thermal modality. Consequently, when faced with real-world anomalies—such as a pedestrian wearing heat-insulating clothing or standing behind a glass window—the thermal signature disappears, and the model fails to detect them. Conversely, models often trigger false positives on objects like fireplugs or trees simply because they emit heat signatures similar to humans.

Problem illustration showing dataset bias and detection failures in thermal-obscured data.

Fixing this via traditional data augmentation is prohibitively expensive and fails to capture the sheer variety of real-world edge cases.

Methods

To combat this bias, the authors propose MSCoTDet (Multispectral Chain-of-Thought Detection), a framework that introduces a "language branch" alongside traditional vision detectors.

Fig. 3. Overall architecture of proposed Multispectral Chain-of-Thought detection (MSCoTDet) framework including vision branch, language branch, and Language-driven Multi-modal Fusion.

The pipeline operates in three main phases:

  1. Cross-modal Description Generation: Initial bounding boxes from single-modal RGB and thermal detectors are paired using Intersection-over-Union (IoU). The framework crops these regions, highlights them with a green guiding box, and feeds them to a Multimodal LLM (ChatGPT-4V) to generate detailed textual descriptions of what is visible in both modalities.
  2. Multispectral Chain-of-Thought (MSCoT) Prompting: A fine-tuned LLM (ChatGPT-3.5) processes these text descriptions. To prevent the common LLM issue of overconfidence, it uses a two-step prompting chain: first, it predicts individual single-modal confidence scores; second, it synthesizes these into a cross-modal rationale and outputs a final language-driven detection score.
  3. Language-driven Multi-modal Fusion (LMF): Finally, a late-fusion mechanism blends the vision-driven and language-driven detection scores using Non-Maximum Suppression (NMS) and weighted averaging to produce the final bounding boxes and confidence scores.

Datasets

The authors evaluated their framework on three key datasets:

  • FLIR: A well-aligned, high-resolution dataset used for generic multispectral pedestrian detection training and testing.
  • CVC-14: A dataset containing heavily misaligned RGB-thermal image pairs, ideal for testing robustness to sensor misalignment.
  • ROTX-MP: A specialized evaluation dataset consisting of 1,000 test images primarily featuring thermal-obscured pedestrians. Models are trained on FLIR or CVC-14 and tested on ROTX-MP to evaluate out-of-distribution generalization.

Key Insights and Ideas

  • LLMs as Physical Reasoners: Traditional vision models only learn statistical correlations from pixels. In contrast, LLMs possess broader world knowledge, allowing them to reason that "if a person wears a metallic suit, they will be visible in RGB but invisible in thermal due to heat insulation."
  • Two-Step Calibration Beats Overconfidence: Directly asking an LLM for a final detection score often results in miscalibrated probabilities. Forcing the LLM to output single-modal scores before performing cross-modal reasoning acts as an effective calibration mechanism.
  • Late-Fusion Flexibility: By keeping the vision and language branches decoupled until the final decision stage, the framework avoids the need to align complex multi-modal feature spaces internally, making it highly adaptable to different base vision architectures.

Key Results

MSCoTDet demonstrated state-of-the-art performance, particularly in out-of-distribution scenarios:

  • Mitigating Modality Bias (ROTX-MP): When trained on the standard FLIR dataset and tested on the thermal-obscured ROTX-MP dataset, MSCoTDet achieved 67.33% Average Precision (AP), outperforming the next-best method (MS-DETR) by 12.56 AP.
  • Standard Benchmarks: It achieved the highest accuracy on generic datasets as well, reaching 90.39% AP on FLIR and 92.38% AP on CVC-14.
  • Efficiency: Despite incorporating heavy LLM machinery, the language branch only adds roughly 0.04 seconds of latency per image on an NVIDIA A6000 GPU, making it surprisingly practical.

Limitations and Future Work

The primary limitation acknowledged by the authors is that MSCoTDet is currently tailored to a single object class (pedestrians). While the underlying logic of Language-driven Multi-modal Fusion (LMF) can theoretically scale to any object class, expanding the framework to handle multi-class open-world object detection remains a task for future work. Additionally, the framework relies on commercial API calls (ChatGPT), meaning future iterations could benefit from optimization using smaller, open-source local LLMs.

Summary updated

BibTeX
@misc{kim2024mscotdet,
  author = {Taeheon Kim and Sangyun Chung and Damin Yeom and Youngjoon Yu and Hak Gu Kim and Yong Man Ro},
  title = {{MSCoTDet: Language-driven Multi-modal Fusion for Improved Multispectral Pedestrian Detection}},
  year = {2024},
  eprint = {2403.15209},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.15209},
}
Figure