Any-Shift Prompting for Generalization over Distributions
| Authors |
|
|---|---|
| Publication date | 2024 |
| Book title | 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition |
| Book subtitle | CVPR 2024 : Seattle, Washington, USA, 16-22 June 2024 : proceedings |
| ISBN |
|
| ISBN (electronic) |
|
| Event | 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition |
| Pages (from-to) | 13849-13860 |
| Publisher | Los Alamitos, California: IEEE Computer Society |
| Organisations |
|
| Abstract |
Image-language models with prompt learning have shown remarkable advances in numerous downstream vision tasks. Nevertheless, conventional prompt learning methods overfit their training distribution and lose the generalization ability on test distributions. To improve generalization across various distribution shifts, we propose any-shift prompting: a general probabilistic inference framework that considers the relationship between training and test distributions during prompt learning. We explicitly connect training and test distributions in the latent space by constructing training and test prompts in a hierarchical architecture. Within this framework, the test prompt exploits the distribution relationships to guide the generalization of the CLIP image-language model from training to any test distribution. To effectively encode the distribution information and their relationships, we further introduce a transformer inference network with a pseudo-shift training mechanism. The network generates the tailored test prompt with both training and test information in a feed forward pass, avoiding extra training costs at test time. Extensive experiments on twenty-three datasets demonstrate the effectiveness of any-shift prompting on the generalization over various distribution shifts.
|
| Document type | Conference contribution |
| Note | With supplemental materials |
| Language | English |
| Published at | https://doi.org/10.48550/arXiv.2402.10099 https://doi.org/10.1109/CVPR52733.2024.01314 |
| Published at | https://openaccess.thecvf.com/content/CVPR2024/html/Xiao_Any-Shift_Prompting_for_Generalization_over_Distributions_CVPR_2024_paper.html |
| Other links | https://www.proceedings.com/76082.html |
| Downloads |
Xiao_Any-Shift_Prompting_for_Generalization_over_Distributions_CVPR_2024_paper
(Accepted author manuscript)
Any-Shift_Prompting_for_Generalization_Over_Distributions
(Final published version)
|
| Supplementary materials | |
| Permalink to this page | |
