Semantic Hierarchical Prompt Tuning for Parameter-Efficient Fine-Tuning

Haowei Zhu, Fangyuan Zhang, Rui Qin, Tianxiang Pan, Junhai Yong +1 more
12/22/2024
cs.CV

Official code: haoweiz23/SHIP (6 stars, last commit 2025-09-11).

Abstract

As the scale of vision models continues to grow, Visual Prompt Tuning (VPT) has emerged as a parameter-efficient transfer learning technique, noted for its superior performance compared to full fine-tuning. However, indiscriminately applying prompts to every layer without considering their inherent correlations, can cause significant disturbances, leading to suboptimal transferability. Additionally, VPT disrupts the original self-attention structure, affecting the aggregation of visual features, and lacks a mechanism for explicitly mining discriminative visual features, which are crucial for classification. To address these issues, we propose a Semantic Hierarchical Prompt (SHIP) fine-tuning strategy. We adaptively construct semantic hierarchies and use semantic-independent and semantic-shared prompts to learn hierarchical representations. We also integrate attribute prompts and a prompt matching loss to enhance feature discrimination and employ decoupled attention for robustness and reduced inference costs. SHIP significantly improves performance, achieving a 4.9% gain in accuracy over VPT with a ViT-B/16 backbone on VTAB-1k tasks. Our code is available at https://github.com/haoweiz23/SHIP.

View on arXivView PDF

Code Implementations(1)

haoweiz23/SHIPOfficial100%

[ICASSP 2025] This is the official repository of Semantic Hierarchical Prompt Tuning for Parameter-Efficient Fine-Tuning

60Shell, PythonDec 21, 20241 years ago

Similar Papers

Cite this paper

@article{zhu2024semantic,
  title  = {Semantic Hierarchical Prompt Tuning for Parameter-Efficient Fine-Tuning},
  author = {Haowei Zhu and Fangyuan Zhang and Rui Qin and Tianxiang Pan and Junhai Yong and Bin Wang},
  year   = {2024},
  eprint = {2412.16956},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.16956v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.16956.svg)](https://codeofpaper.com/paper/2412.16956)

Discussion