JOURNAL ARTICLE

Bayesian Sharpness-Aware Prompt Tuning for Cross-Domain Few-shot Learning

Abstract

Few-shot learning aims to learn a classifier to recognize novel classes with only few labeled images in each class. Fine-tuning is a promising tool to solve the few-shot learning problem, which pre-trains a large-scale model on source domains and then adapts it to target domains. However, existing methods have poor generalization when encountering the domain-shifting problem in the cross-domain scenario. Inspired by recent advances on domain generalization and prompt-based tuning methods, this paper proposes Bayesian Sharpness-Aware Prompt Tuning (BSAPT) for the cross-domain few-shot learning task. Instead of learning deterministic prompts like existing methods, our BSAPT learns a weight distribution over prompts to model the uncertainty caused by limited training data and resist overfitting. To improve the generalization ability, our BSAPT seeks the prompts which lie in neighborhoods having uniformly low loss by simultaneously minimizing the training loss value and loss sharpness. Benefiting from deterministic pre-trained training and Bayesian inference, our BSAPT has better generalization ability and less overfitting than existing fine-tuning methods. Extensive experiments on public datasets show that our BSAPT outperforms state-of-the-art methods and achieves new state-of-the-art performance in the cross-domain few-shot learning task.

Keywords:
Overfitting Computer science Artificial intelligence Generalization Machine learning Inference Classifier (UML) Bayesian probability Task (project management) Domain (mathematical analysis) Bayesian inference Pattern recognition (psychology) Artificial neural network Mathematics

Metrics

4
Cited By
1.02
FWCI (Field Weighted Citation Impact)
48
Refs
0.76
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Domain Adaptation and Few-Shot Learning
Physical Sciences →  Computer Science →  Artificial Intelligence
Multimodal Machine Learning Applications
Physical Sciences →  Computer Science →  Computer Vision and Pattern Recognition
Machine Learning and ELM
Physical Sciences →  Computer Science →  Artificial Intelligence

Related Documents

JOURNAL ARTICLE

HybridPrompt: Domain-Aware Prompting for Cross-Domain Few-Shot Learning

Jiamin WuTianzhu ZhangYongdong Zhang

Journal:   International Journal of Computer Vision Year: 2024 Vol: 132 (12)Pages: 5681-5697
JOURNAL ARTICLE

Vision-aware Multimodal Prompt Tuning for Uploadable Multi-source Few-shot Domain Adaptation

Kuanghong LiuJin WangKangjian HeDan XuXuejie Zhang

Journal:   Proceedings of the AAAI Conference on Artificial Intelligence Year: 2025 Vol: 39 (18)Pages: 18897-18905
JOURNAL ARTICLE

SAM-Aware Graph Prompt Reasoning Network for Cross-Domain Few-Shot Segmentation

S.S. PengGuolei SunYongbo LiHongsong WangGuo-Sen Xie

Journal:   Proceedings of the AAAI Conference on Artificial Intelligence Year: 2025 Vol: 39 (6)Pages: 6488-6496
© 2026 ScienceGate Book Chapters — All rights reserved.