Infrared-LLaVA: Enhancing Understanding of Infrared Images in Multi-Modal Large Language Models

Shixin Jiang, Zerui Chen, Jiafeng Liang, Yanyan Zhao, Ming Liu, Bing Qin

Introduction

Multi-Modal Large Language Models (MLLMs) have achieved remarkable success in interpreting visible light (RGB) imagery. However, their performance significantly degrades when applied to the infrared (IR) spectrum. Infrared imaging is critical for applications such as autonomous navigation, nighttime surveillance, and search-and-rescue operations due to its ability to capture thermal signatures regardless of lighting conditions. The primary bottleneck in developing IR-capable MLLMs is the scarcity of large-scale, high-quality paired image-text datasets. Existing models often rely on "indirect alignment," bridging IR and text through a shared RGB embedding space. This often results in "thermal hallucinations," where models incorrectly attribute RGB-specific traits like color or transparency to infrared objects.

Methodology: The Debating Multi-Agent System

To address the data scarcity without the prohibitive cost of manual annotation, the authors propose a Debating Multi-Agent Generation System. This system leverages the reasoning capabilities of GPT-3.5 to transform existing RGB datasets (like COCO) into high-quality IR instruction-following data.

The Debating Multi-Agent Generation System used to synthesize IR-aware instruction data.

The system operates through three specialized agents:

  1. Caption Agent: This agent processes RGB captions and filters out non-IR attributes (e.g., color, texture) using heuristic rules and image-text matching via LanguageBind.
  2. Task Agent: Utilizing the filtered captions and original bounding box data, this agent generates complex instructions, including detailed descriptions and multi-turn reasoning dialogues.
  3. Debate Agent: Serving as a quality controller, the Debate Agent critiques the generated instructions. If an instruction references a feature invisible in IR (like the color of a vehicle), the agent rejects it and provides feedback to the Caption Agent to refine its filtering rules.

Alignment Strategies: Direct vs. Indirect

A key contribution of this work is the empirical validation of training strategies for cross-modal alignment. While many models use indirect alignment—relying on a unified embedding space to link IR to text—Infrared-LLaVA advocates for Direct Alignment.

Comparison between Direct Alignment (training on IR-text pairs) and Indirect Alignment (using RGB as a bridge).

Direct alignment involves training the model specifically on paired IR-text data. The authors found that this approach allows the model to better capture fine-grained thermal features, resulting in a 4% performance improvement over indirect methods. The final architecture, Infrared-LLaVA-7B, utilizes a LanguageBind Infrared Encoder connected to a Vicuna-7B base via a simple Multi-Layer Perceptron (MLP) connector.

Datasets and Benchmarking

The researchers produced a massive synthetic dataset consisting of 118,000 IR images, 500,000 image-text pairs, and 12,000 instruction-following samples derived from COCO. To rigorously evaluate the model, they introduced the Infrared Template Benchmark, compiled from 62 real-world IR datasets (including LLVIP and FLIR). This benchmark includes 22,655 question-answer pairs covering six core tasks: Localization, Aerial Counting, Pedestrian Counting, Recognition, Scene Analysis, and Security.

Results and Performance

Infrared-LLaVA-7B sets a new state-of-the-art for infrared understanding. In zero-shot evaluations on the Infrared Template Benchmark, it achieved an average score of 56.57, significantly outperforming PandaGPT-13B (34.31) and ImageBind-LLM-7B (24.24). After fine-tuning on the benchmark's training set, the model's performance climbed to 78.98, demonstrating exceptional proficiency in specialized tasks like pedestrian counting.

Furthermore, the training process is highly efficient; aligning the model on 500,000 pairs required only 3.5 hours on four A800 GPUs. This efficiency, combined with the automated data generation pipeline, provides a scalable path for future multi-modal research in non-visible spectrums.

Conclusion

Infrared-LLaVA demonstrates that high-quality synthetic data, generated through a multi-agent debating process, can effectively bridge the modality gap for MLLMs. By prioritizing direct alignment and IR-specific reasoning, the model significantly reduces hallucinations and provides a robust foundation for thermal-based AI applications.

Summary updated

BibTeX
@inproceedings{jiang2024infrared,
  author = {Shixin Jiang and Zerui Chen and Jiafeng Liang and Yanyan Zhao and Ming Liu and Bing Qin},
  title = {{Infrared-LLaVA: Enhancing Understanding of Infrared Images in Multi-Modal Large Language Models}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.findings-emnlp.501},
}
Figure