IRGPT: Understanding Real-world Infrared Image with Bi-cross-modal Curriculum on Large-scale Benchmark

Zhe Cao, Jin Zhang, Ruiheng Zhang

TL;DR

This paper introduces IRGPT, the first multi-modal large language model (MLLM) specifically designed for real-world infrared (IR) imagery. It tackles the significant challenge of limited IR-text data by introducing a large-scale dataset (IR-TD) and a novel bi-cross-modal curriculum learning strategy that effectively transfers knowledge from visible image understanding to the IR domain, achieving state-of-the-art performance on various IR-specific tasks.

What Problem Does This Paper Address?

Vision-language models (VLMs) have made remarkable strides in understanding natural images, largely due to the availability of vast amounts of aligned image-text data and powerful pre-trained vision encoders. However, infrared (IR) imagery, a distinct and crucial modality used in applications like surveillance, autonomous driving, and medical imaging, has been largely overlooked by MLLMs. This neglect stems from two primary challenges:

  1. Data Scarcity: Aligned IR-text datasets are scarce, making it difficult to train robust IR-specific models from scratch. Existing methods often rely on synthetic IR images generated from visible images, which introduces a modality gap and limits the model's ability to capture the unique characteristics of real IR data.
  2. Domain-Specific Challenges: Real-world IR images present unique difficulties, including sparse semantic information, imaging disparities across different spectral bands, and thermal information's dominance in target saliency. These factors make it hard for models trained primarily on visible images to generalize effectively to IR data, often leading to hallucinations and poor performance.

This paper aims to bridge this gap by developing an MLLM that can deeply understand real-world IR images, overcoming the limitations of existing approaches.

Methods

The core of IRGPT's innovation lies in its dataset and training strategy:

  • IR-TD Dataset: The authors introduce IR-TD, a large-scale (over 260K pairs) dataset of authentic IR-text pairs. This dataset is constructed using a novel approach that combines:
  • LLM-generated descriptions: Descriptions are generated for corresponding visible images and then adapted for IR images.
  • Rule-based descriptions: Descriptions are created based on annotations for specific tasks. This dual approach ensures both authenticity of IR imagery and semantic alignment with text. The dataset is partitioned into pre-training, instruction, and benchmark subsets.

  • Bi-Cross-modal Curriculum Transfer Learning: This strategy systematically transfers knowledge from visible to IR domains. It comprises two "lessons":

  • Lesson 1: IR-VIS (Domain Gap Quantification): This lesson focuses on quantifying the domain gap between IR and visible images. It uses geometric metrics to estimate a "sample transfer difficulty score" by projecting intra-domain distances onto an inter-domain direction. This helps the model learn to bridge the visual domain gap.
  • Lesson 2: IR-T (Semantic Alignment): This lesson emphasizes semantic alignment between IR images and text. It utilizes a pre-warmed CLIP model to compute loss values and introduces a novel "loss variation rate" metric. This dynamic metric helps suppress the influence of misaligned samples and focus on challenging ones, improving semantic understanding.
  • Incremental Pre-training and Supervised Instruction Fine-tuning: IRGPT is trained in two stages. First, incremental pre-training adapts the vision encoder and projector using the curriculum learning strategy. Second, supervised instruction fine-tuning further trains the visual projector and LLM (using LoRA) on instruction-following tasks.

Datasets

  • IR-TD (InfraRed-Text Dataset): A newly introduced, large-scale dataset comprising over 260K authentic IR-text pairs. It includes:
  • Pre-training image samples (190k)

    • Instruction samples (33k)
    • Benchmark samples (37k) It is designed to be open-source and emphasizes image authenticity and data redundancy reduction.
  • Existing Datasets: The IR-TD dataset was built by aggregating 63 publicly available datasets, with specific mention of VTUAV for resampling.

  • Benchmark: A benchmark of 9 cross-modal tasks (Scene, Recognition, Grounding, Location, Relationship, Re-ID, Security, Aerial Counting, Pedestrian Counting) is established on the IR-TD dataset for evaluation.

Key Insights and Ideas

  • Authenticity is Key: The paper strongly advocates for using authentic IR-text data rather than relying solely on synthetic data generated from visible images. This is crucial for capturing the true nuances of IR imagery.
  • Curriculum Learning for Domain Transfer: The bi-cross-modal curriculum learning strategy is a significant contribution, demonstrating that a structured, progressive transfer of knowledge from a well-resourced domain (visible images) to a data-scarce domain (IR images) is highly effective.
  • Dynamic Difficulty Metrics: The introduction of the "loss variation rate" as a dynamic metric for assessing sample complexity in Lesson 2 is innovative. It moves beyond static loss measurements to capture evolving learning behaviors, leading to more robust training.
  • Bimodal Nature of IR Data: The observation that sample distance distributions in IR data are bimodal, likely due to the distinct characteristics of thermal and near-infrared bands, highlights the inherent complexity of the modality.

Key Results

IRGPT achieves state-of-the-art (SOTA) performance across multiple IR-specific tasks:

  • Zero-Shot Performance: IRGPT significantly outperforms existing MLLMs on 7 out of 9 tasks, showing a 76.35 improvement in positive sum (psum) and a 31.56 reduction in negative sum (nsum) compared to baselines.
  • Fine-tuned Performance: After fine-tuning, IRGPT surpasses even larger models like InternVL2-26B, achieving the highest psum (485.79) and the lowest nsum (4.39).
  • Curriculum Effectiveness: The bi-cross-modal curriculum learning strategy demonstrates clear superiority over random training, leading to a notable improvement in psum.
  • Task-Specific Strengths: While the curriculum approach excels overall, the "Random" training variant shows an advantage in pedestrian counting, suggesting that different training strategies might be optimal for specific task types.

Limitations and Future Work

  • Approximation in Difficulty Scores: The paper acknowledges that the sample distance scores calculated in Lesson 1 are not precise but are acceptable for ranking purposes.
  • Stochasticity for Generalization: While the proposed curriculum schedule incorporates randomness for better generalization, the authors note that reverse difficulty-based strategies can adversely affect performance.
  • Future Work: The paper implicitly suggests future work in exploring more sophisticated curriculum designs and further investigating the optimal balance between different training strategies for diverse IR tasks. The development of more advanced IR-specific vision encoders and LLM architectures could also be a direction.

Summary updated

BibTeX
@inproceedings{cao2025irgpt,
  author = {Zhe Cao and Jin Zhang and Ruiheng Zhang},
  title = {{IRGPT: Understanding Real-world Infrared Image with Bi-cross-modal Curriculum on Large-scale Benchmark}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure