TL;DR
This paper introduces MpGI, a novel two-stage method for generating high-quality image-text datasets for remote sensing (RS) imagery, addressing the critical lack of such data. By leveraging advanced LLMs and MLLMs, they create the HQRS-IT-210K dataset, significantly improving the performance of vision-language models like CLIP and CoCa on various RS tasks, even with substantially less training data.
What Problem Does This Paper Address?
Vision-language foundation models (VLFM) have shown immense promise in understanding remote sensing (RS) imagery, but their effectiveness is severely hampered by the scarcity of high-quality, large-scale image-text paired datasets. Existing RS datasets often suffer from rudimentary caption generation methods, leading to captions that are repetitive, lack detail, or are misaligned with the images. This suboptimal data quality necessitates larger training volumes for modest performance gains and limits the true potential of VLFM in RS applications. Manually annotating RS imagery is also prohibitively expensive and time-consuming, especially for generating rich, diverse descriptions.
Methods
The authors propose a two-stage method called MpGI (Multi-Perspective Generation and Integration) to address the data quality challenge.
Stage 1: Detailed Caption Generation This stage focuses on generating rich and detailed descriptions from multiple perspectives. It employs two key techniques:
- Rule-MLLM Relay Generation: This method combines rule-based approaches with MLLMs. For classification datasets, it starts with a basic description and then uses ChatGPT-4V to expand it based on common visual features across images of the same class. For object detection and segmentation datasets, it uses an Annotation-to-Description (A2D) algorithm to convert labels and bounding boxes into descriptive sentences, aiming to reduce ambiguity and capture object locations.
- Instruction-Guided MLLMs Generation: This involves using advanced MLLMs like Kosmos-2 and LLaVA-1.6 to generate more detailed and contextually rich descriptions. Kosmos-2 is chosen for its visual grounding capabilities and ability to handle object detection boxes, while LLaVA-1.6 is used for its higher resolution handling and superior performance in capturing visual details. Carefully crafted prompts are used to guide these models.
Stage 2: Caption Summarization This stage integrates the diverse descriptions generated in Stage 1 into comprehensive, semantically complete captions. Large Language Models (LLMs) like LLaMA-3 are employed with multiple prompts to:
- Summarize the multi-view descriptions into a unified, detailed sentence.
- Ensure strong image-text alignment by filtering out non-visual information and compressing lengthy captions.
- Enhance caption diversity by generating multiple styles of captions using different prompts and a probability-based fusion method. This acts as a text augmentation strategy.
Datasets
- Training Data: The authors created the HQRS-IT-210K dataset, comprising approximately 210,000 RS images and 1.26 million image-text pairs. This dataset is built upon 23 public satellite and UAV imagery datasets.
- Evaluation Datasets: The paper evaluates their models on various benchmark datasets for different tasks, including:
- RSCTIR (Remote Sensing Cross-modal Text-Image Retrieval): UCM, RSICD, RSITMD.
- RS Long-Text Image Retrieval: A newly constructed test set (LongRET3-test) by merging and rewriting existing datasets, featuring captions averaging 72 words.
- Semantic Localization (SeLo): AIR-SLT.
- Zero-shot Classification (ZSC): AID, RESISC45, EuroSAT.
- Few-shot Classification (FSC): RESISC45, UCM.
- RS Image Captioning (RSIC): RSICD, UCM-caption.
Key Insights and Ideas
- The critical bottleneck in RS VLFM is data quality, not just quantity: Even with millions of image-text pairs, rudimentary caption generation severely limits model performance.
- Multi-perspective generation is key: Combining descriptions from different sources (rule-based, various MLLMs) provides a more comprehensive understanding of an image.
- LLMs are powerful tools for data augmentation: By intelligently integrating and summarizing diverse descriptions, LLMs can create high-quality, diverse captions that significantly boost model performance.
- Caption length matters, but within limits: While longer captions generally improve performance by providing richer detail, exceeding the token limit of models like CLIP can lead to information loss and reduced effectiveness.
- Dataset diversity is crucial for generalization: Training on captions generated with different styles and from various sources leads to more robust and generalizable VLFM.
Key Results
- HQRS-CLIP: Fine-tuned on only 4.2% of the training data compared to GeoRSCLIP, HQRS-CLIP surpassed previous state-of-the-art RS CLIP models in various downstream tasks, including zero-shot classification and image-text retrieval. For instance, it achieved a mean recall of 40.63% on RSITMD, a significant improvement.
- RS-CoCa: This model, fine-tuned on the full HQRS-IT-210K dataset, generated captions that rival or even exceed human annotations in quality. It achieved competitive results on RS image captioning benchmarks like RSICD and UCM-caption, with an average caption length of 48.88 words, significantly longer than typical human annotations.
- Dataset Impact: The HQRS-IT-210K dataset enabled HQRS-CLIP to achieve superior performance with substantially less training data compared to existing RS CLIP models. For example, it outperformed GeoRSCLIP by 1.91% in zero-shot classification accuracy.
- Caption Fusion: A simple strategy of mixing captions generated by different LLM prompts significantly improved CLIP's performance, demonstrating the value of diverse caption styles.
Limitations and Future Work
- Hallucination Phenomena: Generative large models can still produce hallucinations (e.g., parametric knowledge bias, intrinsic hallucinations). While strategies were implemented to mitigate these, further research is needed.
- Caption Length Trade-off: While longer captions generally improve performance, exceeding CLIP's 77-token limit can lead to truncation and reduced effectiveness. Finding the optimal balance is an ongoing area.
- Model Size and Data Scale: For very large datasets, the benefits of increasing caption numbers per image plateau unless larger models are used, suggesting a need for scaling up both data and models.
- Future Work: The authors plan to release the dataset, pre-trained models, and code to facilitate further research in RS vision-language understanding. The insights gained from their ablation studies provide valuable guidance for future dataset construction and model training strategies.
Summary updated