Text Is Just Another Shot in Vision-Language Models: Simple Probes on Frozen Encoders Do It
Organizations: Polytechnique Montréal, Montréal, Canada · IMT Atlantique, Brest, France · LIVIA, ILLS, ÉTS Montréal, Canada
Abstract
Few-shot adaptation of vision-language models has produced increasingly elaborate methods built on CLIP and on one shared principle: the zero-shot text classifier is the anchor, and labeled images only correct it. We argue that this principle reflects CLIP's visual features rather than a property of the task. We provide a simple Bayesian interpretation, in which a class name is worth exactly kappa = sigma^2 / tau^2 labeled images, the ratio between the visual spread of a class and the misalignment of its name. The Bayes classifier of this model counts text as kappa more samples. With modern frozen encoders, few-shot adaptation then reduces to a well-regularised convex probe. Specifically, we introduce TASP, a simple convex logistic regression on frozen features that incorporates class-name embeddings as weighted training examples and as a regularization prior. On the standard 11-dataset benchmark, TASP with frozen PE-Core-L features achieves 87.1% accuracy at 1 shot and 91.4% at 16 shots, outperforming state-of-the-art few-shot vision-language adaptation methods by 4.6 to 11.0 percentage points. While stronger representations explain much of this improvement, controlled comparisons on matched features show that existing frozen-encoder adaptation methods do not materially improve on this probe. We further find that the weight assigned to text matters more than how it is incorporated, and that combining self-supervised visual features with vision-language representations is most beneficial for weaker visual encoders. Together, these findings suggest that progress in few-shot vision-language adaptation depends more on representation quality and the appropriate use of text supervision than on increasingly complex adaptation mechanisms.
Figures & tables
| Method | 1 | 2 | 4 | 8 | 16 |
|---|---|---|---|---|---|
| Prior work, CLIP ViT-B/16 | |||||
| Zero-shot CLIP | 65.1 | ||||
| Linear probe [ 35 ] | 45.8 | 58.0 | 68.0 | 74.5 | 78.8 |
| CoOp [ 64 ] | 67.6 | 70.8 | 74.0 | 76.8 | 80.0 |
| Tip-Adapter-F [ 62 ] | 70.9 | 73.7 | 75.6 | 78.3 | 80.7 |
| PromptSRC [ 23 ] | 72.3 | 75.3 | 78.3 | 80.7 | 82.9 |
| PE-Core-L | PE-Core DINOv3 | |||||
| Method (same features) | 1 | 4 | 16 | 1 | 4 | 16 |
| TASP (ours) | 87.1 | 89.4 | 91.4 | 83.2 | 86.1 | 89.2 |
| text as samples only | 85.9 | 88.6 | 90.8 | 82.1 | 85.5 | 88.9 |
| text as prior only (CLAP-like [ 39 ] ) | 87.2 | 89.3 | 91.4 | 83.0 | 86.1 | 89.2 |
| closed form, least squares (TASC) | 85.3 | 87.7 | 90.1 | 81.4 | 84.7 | 87.5 |
| CLAP [ 39 ] | 84.7 | 87.6 | 89.4 | 80.7 | 84.5 | 86.8 |
| Frozen features | M | img/s | 1 | 4 | 16 |
| One vision-language model | |||||
| CLIP ViT-B/16 | 86 | 1066 | 68.4 | 75.1 | 80.6 |
| SigLIP ViT-B/16 | 93 | 1081 | 76.2 | 81.3 | 85.0 |
| PE-Core ViT-B/16 | 94 | 942 | 80.7 | 83.9 | 87.0 |
| SigLIP2 SO400M/14 | 428 | 196 | 83.5 | 87.6 | 90.1 |
| PE-Core ViT-L/14 (336 px) | 317 | 100 | 85.9 | 88.6 | 90.8 |
| Method | IN | -V2 | -S | -A | -R | Avg |
|---|---|---|---|---|---|---|
| Prior work, CLIP ViT-B/16 | ||||||
| CLIP | 66.7 | 60.8 | 46.1 | 47.8 | 74.0 | 57.2 |
| CoOp | 71.5 | 64.2 | 48.0 | 49.7 | 75.2 | 59.3 |
| CoCoOp | 71.0 | 64.1 | 48.8 | 50.6 | 76.2 | 59.9 |
| MaPLe | 70.7 | 64.1 | 49.1 | 50.9 | 77.0 | 60.3 |
| PromptSRC | 71.3 | 64.3 | 49.5 | 50.9 | 77.8 | 60.6 |
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | Base | Novel | HM |
|---|---|---|---|
| Prior work, CLIP ViT-B/16 | |||
| Zero-shot CLIP | 69.3 | 74.2 | 71.7 |
| CoOp [ 64 ] | 82.7 | 63.2 | 71.7 |
| CoCoOp [ 63 ] | 80.5 | 71.7 | 75.8 |
| MaPLe [ 22 ] | 82.3 | 75.1 | 78.6 |
| PromptSRC [ 23 ] | 84.3 | 76.1 | 80.0 |
| Method | encoders | back-prop. through | cached features | time / dataset |
|---|---|---|---|---|
| TASP (ours) | frozen | no encoder | yes | 0.1 s (0.1–0.9) |
| CoOp [ 64 ] | frozen | text encoder | image side | 32 min (2–854) |
| CLIP-LoRA [ 56 ] | fine-tuned | both encoders | no | 45 min (30–110) |
| Method | 1 | 2 | 4 | 8 | 16 |
|---|---|---|---|---|---|
| CLIP ViT-B/16 | |||||
| CLIP-LoRA, reported | 72.5 | 75.5 | 77.4 | 80.3 | 83.0 |
| CLIP-LoRA, our run | 73.1 | 74.8 | 77.2 | 80.0 | 83.1 |
| TASP CLIP | 71.1 | 73.6 | 76.5 | 78.8 | 81.4 |
| TASP CLIP DINOv3 | 74.8 | 77.9 | 81.7 | 84.6 | 87.2 |
| SigLIP ViT-B/16 | |||||
| Shots | Method | INet | Cal | Pets | Cars | Flo | Food | Air | SUN | DTD | Euro | UCF | Avg |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | best reported | 75.8 | 95.8 | 94.1 | 73.4 | 93.2 | 89.9 | 33.9 | 73.7 | 62.6 | 83.4 | 81.4 | – |
| PE-Core-L | 82.7 | 98.1 | 95.9 | 93.9 | 96.5 | 94.0 | 70.3 | 77.9 | 73.6 | 86.4 | 89.3 | 87.1 | |
| PE-Core DINOv3 | 77.8 | 97.2 | 94.0 | 90.5 | 96.8 | 88.9 | 56.9 | 75.4 | 72.1 | 82.5 | 82.8 | 83.2 | |
| CLIP DINOv3 | 68.4 | 95.0 | 90.8 | 72.3 | 95.7 | 84.6 | 36.9 | 69.0 | 57.4 | 75.8 | 76.5 | 74.8 | |
| 2 | best reported | 72.9 | 95.7 | 93.8 | 77.2 | 94.2 | 88.2 | 37.8 | 73.7 | 63.7 | 91.7 | 82.0 | – |
| PE-Core-L | 83.1 | 98.3 | 95.8 | 94.1 | 98.8 | 94.3 | 73.1 | 79.6 | 74.5 | 87.9 | 90.6 | 88.2 |
| PE-Core-L | PE-Core DINOv3 | PE-Core-L DINOv3 | SigLIP DINOv3 | CLIP DINOv3 | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Method (same features) | 1 | 2 | 4 | 8 | 16 | 1 | 2 | 4 | 8 | 16 | 1 | 2 | 4 | 8 | 16 | 1 | 2 | 4 | 8 | 16 | 1 | 2 | 4 | 8 | 16 |
| TASP (ours) | 87.1 | 88.2 | 89.4 | 90.3 | 91.4 | 83.2 | 84.6 | 86.1 | 87.7 | 89.2 | 87.1 | 88.2 | 89.5 | 90.5 | 91.6 | 79.5 | 81.7 | 84.3 | 86.2 | 88.3 | 74.8 | 77.9 | 81.7 | 84.6 | 87.2 |
| text as samples only | 85.9 | 87.2 | 88.6 | 89.7 | 90.8 | 82.1 | 83.6 | 85.5 | 87.1 | 88.9 | 86.5 | 87.5 | 89.0 | 90.1 | 91.4 | 78.5 | 81.3 | 84.2 | 86.2 | 88.3 | 74.0 | 77.4 | 81.5 | 84.4 | 87.1 |
| text as prior only (CLAP-like [ 39 ] ) | 87.2 | 88.1 | 89.3 | 90.3 | 91.4 | 83.0 | 84.4 | 86.1 | 87.7 | 89.2 | 87.2 | 88.0 | 89.4 | 90.5 | 91.6 | 79.4 | 81.8 | 84.3 | 86.2 | 88.3 | 74.3 | 77.6 | 81.7 | 84.6 | 87.2 |
| closed form, least squares (TASC) | 85.3 | 86.1 | 87.7 | 89.0 | 90.1 | 81.4 | 82.8 | 84.7 | 86.1 | 87.5 | 85.8 | 86.8 | 88.5 | 89.4 | 90.5 | 76.8 | 79.4 | 82.6 | 85.0 | 87.2 | 71.8 | 75.6 | 80.2 | 83.4 | 86.1 |
| CLAP [ 39 ] | 84.7 | 86.5 | 87.6 | 88.6 | 89.4 | 80.7 | 82.8 | 84.5 | 85.5 | 86.8 | 85.1 | 86.7 | 88.0 | 89.1 | 90.0 | 75.6 | 78.5 | 80.7 | 82.5 | 84.1 | 70.4 | 74.0 | 77.0 | 79.1 | 81.3 |
| Frozen features (TASP, text as samples) | 1 | 2 | 4 | 8 | 16 |
|---|---|---|---|---|---|
| One vision-language model | |||||
| CLIP ViT-B/16 | 68.4 | 71.8 | 75.1 | 77.7 | 80.6 |
| MetaCLIP ViT-B/16 | 73.5 | 76.2 | 79.2 | 81.4 | 83.5 |
| SigLIP ViT-B/16 | 76.2 | 78.9 | 81.3 | 83.1 | 85.0 |
| SigLIP2 ViT-B/16 | 77.9 | 80.3 | 82.9 | 84.5 | 86.2 |
| PE-Core ViT-B/16 | 80.7 | 82.5 | 83.9 | 85.5 | 87.0 |
| PE-Core-L, text + images | 1 | 2 | 4 | 8 | 16 |
| TASP (text as samples and prior) | 87.1 | 88.2 | 89.4 | 90.3 | 91.4 |
| TASP ∗ | 85.9 | 87.2 | 88.6 | 89.7 | 90.8 |
| Nearest class mean (posterior means, Prop. 1) | 85.5 | 86.7 | 87.7 | 88.3 | 88.7 |
| LDA (shrinkage) | 85.2 | 87.2 | 88.9 | 90.2 | 91.3 |
| -NN vote | 75.6 | 76.4 | 78.9 | 81.3 | 83.9 |
| Soft nearest neighbours | 85.4 | 86.0 | 87.2 | 87.9 | 88.6 |
| Method | 1 | 2 | 4 | 8 | 16 |
|---|---|---|---|---|---|
| Reported transductive methods, CLIP ViT-B/16, 11 datasets | |||||
| ProGrad + TransCLIP-ZS [ 57 ] | 74.3 | – | 77.7 | – | 81.1 |
| TIP-Adapter-F + TransCLIP-ZS [ 57 ] | 75.1 | – | 77.9 | – | 81.1 |
| GTA-CLIP [ 38 ] | 76.1 | – | 79.5 | – | 81.4 |
| TransCLIP-LoRA [ 1 ] | – | 75.3 | 77.2 | – | 81.9 |
| LIMO [ 1 ] | – | 77.8 | 80.2 | – | 84.9 |