Skip to main navigation Skip to search Skip to main content

Dual-Prompting and Class-Aware Token Selection for UAV-Based Few-Shot Ship Classification

  • Lizhen Guo
  • , Guoheng Huang
  • , Hongru Huang
  • , Xiaochen Yuan
  • , Lianglun Cheng
  • , Yan Li
  • , Shuqiang Wang
  • , Chi Man Pun
  • Guangdong University of Technology
  • Shenzhen Polytechnic
  • Shenzhen Institute of Advanced Technology
  • University of Macau

Research output: Contribution to journalArticlepeer-review

Abstract

The rapid advancement of consumer-grade uncrewed aerial vehicles (UAVs) has enabled low-cost and flexible maritime surveillance, yet the high cost of large-scale annotation and complex maritime backgrounds hinders the effectiveness of conventional deep learning. Few-shot learning offers a promising solution, but existing approaches often suffer from overfitting and feature redundancy in complex scenes. We propose a Dual-Prompting and Class-Aware Token Selection (DCTS) framework for few-shot ship classification in UAV-based maritime monitoring. Inspired by human visual memory, DCTS integrates Long-term Prompts to retain stable knowledge and Working Prompts to adapt to episode-specific features. A Quaternion Neural Network-based Prompt Generator (Q-Prompt Generator), trained with weakly supervised contrastive learning and a Patch Similarity Loss, enhances the Vision Transformer’s discrimination capability. The Class-Aware Token Selector (CATS) further suppresses redundant features and strengthens semantic relevance at the patch level. We also introduce the Vessel Classification Dataset (VCD), a large-scale UAV-perspective vessel dataset with 18,000 images in 30 categories. Experiments on VCD, FGSCR, and MiniImageNet demonstrate that DCTS achieves superior performance compared with existing methods, showing improved generalization and robustness in real-world UAV maritime applications. Our dataset is publicly available at https://github.com/GG-Lizen/VCD.git

Original languageEnglish
Pages (from-to)912-924
Number of pages13
JournalIEEE Transactions on Consumer Electronics
Volume72
Issue number1
DOIs
Publication statusPublished - 1 Feb 2026

Keywords

  • Few-shot learning
  • contrastive learning
  • prompt tuning
  • ship classification
  • uncrewed aerial vehicle (UAV)

Fingerprint

Dive into the research topics of 'Dual-Prompting and Class-Aware Token Selection for UAV-Based Few-Shot Ship Classification'. Together they form a unique fingerprint.

Cite this