Dropout Prompt Learning: Towards Robust and Adaptive Vision-Language Models
About
Dropout is a widely used regularization technique which improves the generalization ability of a model by randomly dropping neurons. In light of this, we propose Dropout Prompt Learning, which aims for applying dropout to improve the robustness of the vision-language models. Different from the vanilla dropout, we apply dropout on the tokens of the textual and visual branches, where we evaluate the token significance considering both intra-modal context and inter-modal alignment, enabling flexible dropout probabilities for each token. Moreover, to maintain semantic alignment for general knowledge transfer while encouraging the diverse representations that dropout introduces, we further propose residual entropy regularization. Experiments on 15 benchmarks show our method's effectiveness in challenging scenarios like low-shot learning, long-tail classification, and out-of-distribution generalization. Notably, our method surpasses regularization-based methods including KgCoOp by 5.10% and PromptSRC by 2.13% in performance on base-to-novel generalization.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Base-to-New Generalization | DTD | Base Accuracy85.43 | 68 | |
| Base-to-New Generalization | ImageNet | Base Accuracy78.24 | 67 | |
| Base-to-New Generalization | FGVCAircraft | Base Performance49.26 | 64 | |
| Base-to-New Generalization | UCF101 | Base Accuracy88.16 | 57 | |
| Base-to-New Generalization | Avg over 11 datasets | Base Score86.12 | 53 | |
| Base-to-New Generalization | OxfordPets | Base Score96.38 | 48 | |
| Image Classification | ImageNet to 10 Target Datasets (Caltech101, OxfordPets, StanfordCars, Flowers102, Food101, FGVCAircraft, SUN397, DTD, EuroSAT, UCF101) (test) | ImageNet Accuracy71.94 | 48 | |
| Base-to-New Generalization | Caltech101 | Base Score98.72 | 44 | |
| Image Classification | ImageNet Domain Generalization OOD Variants (test) | ImageNet Acc71.94 | 43 | |
| Base-to-New Generalization | StanfordCars | Base Score82.87 | 41 |