MVP: Meta Visual Prompt Tuning for Few-Shot Remote Sensing Image Scene Classification

Junjie Zhu, Yiying Li, Ke Yang, Naiyang Guan, Zunlin Fan, Chunping Qiu, Yi Xiaodong

TL;DR

This paper introduces MVP, a novel meta-learning approach that uses parameter-efficient prompt tuning for few-shot remote sensing image scene classification. MVP significantly improves accuracy and reduces storage requirements compared to full fine-tuning methods, making advanced Vision Transformer (ViT) models more practical for resource-constrained remote sensing applications.

What Problem Does This Paper Address?

Remote sensing image scene classification (FS-RSSC) is crucial for applications like land use mapping, but it's challenging due to the scarcity of labeled data. Traditional methods often rely on smaller Convolutional Neural Networks (CNNs) to avoid overfitting. While Vision Transformers (ViTs) offer superior performance, fully fine-tuning them for each new task leads to significant overfitting and massive storage demands, especially in the remote sensing domain where datasets are often limited and diverse. Existing methods like PMF, which use ViTs, still employ full fine-tuning, exacerbating these issues.

Methods

The core of MVP is Meta Visual Prompt Tuning (MVP). It combines three key ideas:

  • Parameter-Efficient Fine-Tuning (PEFT) with Visual Prompt Tuning (VPT): Instead of fine-tuning the entire ViT backbone, MVP introduces a small set of learnable "prompt" tokens. Only these prompt parameters are updated during training, while the pre-trained ViT backbone remains frozen. This drastically reduces the number of trainable parameters, mitigating overfitting and storage issues.
  • Meta-Learning Framework: MVP leverages a meta-learning approach. During "meta-training," it learns to initialize the prompt parameters across multiple source tasks. This initialization provides a strong starting point for adapting to new, unseen remote sensing tasks with very few examples ("meta fine-tuning").
  • Random Patch Recombination (RPR) Data Augmentation: A novel data augmentation technique specifically designed for ViTs. RPR operates on patch embeddings after the initial linear projection. It randomly swaps patch embeddings between images within a batch, creating diverse "pseudo-query" images. This enhances the representation and diversity of scenes, improving generalization during meta fine-tuning.

Datasets

The primary benchmark used for evaluation is the AIFS-DATASET. This dataset is a curated collection of remote sensing and natural image datasets designed to challenge domain adaptation. It includes:

  • In-domain sets: CUB-200-2011, Describable Textures, Fungi, VGG Flower, Traffic Signs, and CIFAR100.
  • Out-of-domain sets: NWPU-RESISC45, UCMerced, WHU-RS19, and AID (these are exclusively used for testing).

The paper also mentions pre-training the ViT backbone on the ImageNet1K dataset using the DINO self-supervised method.

Key Insights and Ideas

  • Prompt Tuning is Key for ViTs in FS-RSSC: The paper strongly suggests that parameter-efficient prompt tuning is a more suitable paradigm than full fine-tuning for ViTs in the context of few-shot remote sensing, offering a better balance of accuracy and efficiency.
  • Meta-Learning for Initialization is Crucial: Learning a good initialization for prompt parameters via meta-training is vital for rapid adaptation to new tasks with limited data.
  • ViT-Specific Data Augmentation Matters: Traditional data augmentation methods might not fully exploit ViT's architecture. RPR, by operating on patch embeddings, proves more effective for ViT-based FS-RSSC.
  • ViT-tiny Offers a Sweet Spot: The study indicates that ViT-tiny, despite having fewer parameters than ViT-small, achieves competitive performance with MVP, suggesting a favorable trade-off between efficiency and accuracy for deployment.
  • MVP is Robust to Domain Shift: The proposed method shows remarkable resilience to domain shifts, maintaining higher accuracy on out-of-domain tasks, especially when the number of categories increases.

Key Results

  • Superior Accuracy: MVP consistently outperforms state-of-the-art (SoTA) methods, including the strong PMF baseline, across various few-shot settings (various-way-various-shot, various-way-one-shot, cross-domain). For instance, MVP-tiny achieved an average accuracy increase of 19.2% over DC-DML on out-of-domain tasks.
  • Efficiency Gains: The RPR data augmentation method is significantly faster (3x) than PMF's augmentation method. MVP's prompt tuning approach also drastically reduces the number of trainable parameters (e.g., 0.46M for Prompt ViT-tiny vs. 5.52M for ViT-tiny).
  • Improved One-Shot Learning: MVP shows particularly strong performance in one-shot learning scenarios, outperforming PMF by significant margins (e.g., up to 6.84% improvement for MVP-tiny).
  • Qualitative Improvements: Qualitative analysis suggests MVP learns more discriminative and transferable features, enabling better handling of fine-grained classification tasks and reducing misclassifications compared to PMF.

Limitations and Future Work

  • Limitations: The paper notes that while MVP is effective, the performance degradation due to domain shift is still present, though mitigated. The optimal number of prompt tokens needs careful tuning, and increasing tokens can increase computation time.
  • Future Work: The authors suggest extending the training data domain to include more diverse distributions to further improve accuracy and robustness, especially for cross-domain performance. They also aim to explore applying MVP to other ViT-based models and tasks.

Summary updated

BibTeX
@article{zhu2023mvp,
  author = {Junjie Zhu and Yiying Li and Ke Yang and Naiyang Guan and Zunlin Fan and Chunping Qiu and Yi Xiaodong},
  title = {{MVP: Meta Visual Prompt Tuning for Few-Shot Remote Sensing Image Scene Classification}},
  journal = {IEEE Trans. Geosci. Remote. Sens.},
  year = {2023},
  url = {https://openreview.net/forum?id=Ub5YOdMqAd},
}
Figure