CAST: Closed-form Analytic Semantic Transfer for Zero-Shot Classifier Extension
Organizations: Faculty of Science and Technology (REALTEK) Norwegian University of Life Sciences NMBU 1430 Ås, Norway
Abstract
Large pre-trained models have become foundational components of modern machine learning systems. Yet adapting these models to novel categories typically requires examples from the target distribution. In many domains, however, such data are unavailable. Zero-shot learning (ZSL) permits recognition under these limitations through relying on auxiliary semantic information such as textual descriptions. We introduce CAST (Closed-form Analytic Semantic Transfer), a training-free, image-free framework for extending a pre-trained classifier to previously unseen classes through weight injection. We provide a theoretical foundation for CAST and derive a finite-sample error decomposition that identifies the semantic extrapolation residual . The residual is a computable, model-agnostic measure and provides a principled criterion for dataset curation and benchmark design. Experiments on standard zero-shot learning benchmarks demonstrate that CAST matches or exceeds existing image-free approaches and approaches the performance of few-shot adaptation methods, while requiring neither iterative optimization nor examples from the target distribution.
Figures & tables
| AWA2 | CLIP | ||||
|---|---|---|---|---|---|
| Classifier | Baseline | ViT-b32 | ViT-b16 | RN50 | RN101 |
| AlexNet | 92.68 | 63.5 (92.4) | 64.0 (92.1) | 60.1 (92.6) | 68.3 (92.5) |
| ConvNext B | 96.13 | 72.1 (96.3) | 78.5 (96.3) | 74.9 (96.2) | 75.7 (96.2) |
| DensNet161 | 95.49 | 72.0 (95.4) | 68.9 (95.3) | 64.8 (95.4) | 73.2 (95.4) |
| EfficientNet-v2-M | 89.49 | 72.5 (89.4) | 71.1 (89.2) | 71.5 (89.5) | 72.1 (89.4) |
| GoogLeNet | 89.17 | 67.9 (89.2) | 68.3 (88.9) | 61.5 (89.2) | 68.3 (89.2) |
| AWA2 | CUB | APY | FLO | |||||||||
| Method | S | U | H | S | U | H | S | U | H | S | U | H |
| CLIP Base | 41.9 | 61.3 | 49.8 | 35.4 | 43.1 | 38.9 | 21.4 | 11.2 | 14.7 | 50.6 | 37.3 | 42.9 |
| ConSE [ 28 ] | 96.1 | 3.0 | 5.7 | 88.0 | 0.5 | 0.9 | 90.5 | 2.8 | 5.5 | 98.5 | 0.3 | 0.7 |
| COSTA [ 26 ] | 96.1 | 0.0 | 0.0 | 87.6 | 0.0 | 0.0 | 90.2 | 0.0 | 0.0 | 98.7 | 0.0 | 0.0 |
| SMO [ 47 ] | 92.4 | 31.8 | 47.3 | 52.3 | 39.2 | 44.8 | 80.9 | 17.7 | 29.0 | 94.7 | 18.8 | 31.4 |
| WAvg [ 47 ] | 92.4 | 5.5 | 10.4 | 52.3 | 1.9 | 3.7 | 77.9 | 7.4 | 13.5 | 94.5 | 7.4 | 7.1 |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| CUB | CLIP | ||||
|---|---|---|---|---|---|
| Classifier | Baseline | RN50 | RN101 | ViT-B-32 | ViT-B-16 |
| AlexNet | 78.34 | 30.1 (76.3) | 30.9 (74.9) | 30.74 (74.2) | 30.1 (74.6) |
| ConvNext | 54.99 | 30.0 (54.1) | 29.2 (54.1) | 32.9 (51.5) | 29.4 (54.0) |
| DenseNet | 67.60 | 33.3 (66.9) | 36.1 (66.4) | 36.2 (66.0) | 35.5 (65.8) |
| EfficientNet-v2-M | 43.20 | 22.0 (43.3) | 23.1 (42.9) | 24.3 (42.5) | 21.7 (43.1) |
| GoogLeNet | 44.66 | 25.2 (43.5) | 25.6 (42.9) | 24.4 (42.5) | 22.4 (42.6) |
Zero-Shot Learning
Zero-shot learning lets models recognize classes or solve tasks absent from task-specific training examples by using semantic descriptions or pretrained knowledge.
See all 184 papers