GSSP: Elevating Under-Performing Classes in Zero-Shot Image Classification
Anonymous authors
ICLR 2027
Abstract. Vision Language models exhibit strong generalized zero-shot image classification capabilities, however, they frequently suffer from severe performance disparities with accuracy in which under-performing classes often fall to near zero accuracy. To address this without the computational burden of retraining, we propose the Gram-Schmidt Subspace Projection (GSSP) a training-free, lightweight framework that operates directly in the post-projection embedding space. Our method constructs orthonormal bases using the corresponding text embeddings of the under-performing classes, applying targeted geometric transformations to the visual features. Because raw projection can cause catastrophic forgetting of a model's generalized knowledge, we introduce the extension GSSP-Boost, which utilizes a parametrized blending mechanism to regularize the method and maintain the overall performance. Through comprehensive empirical evaluations across a diverse suite of datasets, we demonstrate that GSSP-Boost significantly improves the under-performing classes' accuracy while preserving the model's overall performance. Notably, our approach consistently outperforms existing baselines across different architectures, offering a highly effective flexible method for deploying robust zero-shot image classification.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Under review · 3 reviews · OpenReview
Updated 24 Nov 2026, 16:46 UTC.
- Rating
- 2/4
- Confidence
- 3/4
- Soundness
- 2/3
- Presentation
- 3/3
- Informativeness
- 2/3
Read review
Summary
This paper proposes Gram-Schmidt Subspace Projection (GSSP) and its parameterized extension, GSSP-Boost, to improve the accuracy of under-performing classes in zero-shot image classification using Vision-Language Models (VLMs). The method constructs orthonormal bases using the text embeddings of the worst-performing classes and projects image embeddings into this subspace. To prevent catastrophic forgetting of general class knowledge, GSSP-Boost blends the projected representation with the original image embeddings using a parameterized mechanism. The method is training-free and is evaluated on 10 datasets across different architectures, including CLIP, PE, and SigLIP2.
Strengths
- The proposed Gram-Schmidt Subspace Projection (GSSP) framework operates directly in the post-projection embedding space using geometric operations, completely avoiding costly backpropagation computations or model fine-tuning.
- The method is effective not only on the foundational CLIP architecture but is also validated across multiple vision-language model architectures, including Perception Encoder (PE) and SigLIP2. Furthermore, its extended version, GSSP-Boost Prompted (GSSP-BP), successfully demonstrates that this geometric subspace framework can directly absorb rich text descriptions (such as CuPL) generated by external Large Language Models (LLMs) to achieve compounded performance gains.
- The GSSP-Boost method, which introduces the blending parameter , effectively improves the classification accuracy of tail (under-performing) classes while significantly mitigating the catastrophic forgetting caused by the original GSSP method, successfully maintaining the model's overall Harmonic Mean performance.
Weaknesses
-
When identifying "under-performing classes," the paper's similarity-based selection strategy requires reserving 10% of the target dataset's images in advance as an independent calibration subset. This reliance on target-domain unlabeled data for preliminary statistics essentially deviates from a strict zero-shot image classification setting, introducing fairness flaws when directly compared to baselines that require absolutely no target-domain samples (such as UPE).
-
Although Appendix A provides the limit derivations for the projection and boosting mechanisms, the paper admits that up-weighting directions spanned by under-performing classes is "tested empirically rather than guaranteed by the construction". Additionally, in Equations (2) and (3), the authors compute the global mean across all classes in the dataset but only apply mean-centering and orthogonalization to the tail classes. There is a lack of rigorous mathematical boundary analysis explaining why global mean-centering holds theoretical optimality in local subspace projection.
-
The effectiveness of the method is highly dependent on the designated percentage of tail classes (). As shown in Figure 3, as increases from 5% to 30%, the relative performance boost across all architectures exhibits a significant decline. However, in the primary experimental setup, the authors uniformly adopted a fixed value of for datasets with drastically different total class counts (e.g., 102 classes in Flowers102 vs. 397 classes in SUN397), which limits the method's robustness across heterogeneous datasets.
Questions for the authors
-
To ensure experimental fairness across different baseline methods, since GSSP-BP incorporates CuPL's text descriptions, could the authors supplement the performance comparisons of other training-free feature alignment methods (such as IsoCLIP or CALIP) when combined with CuPL descriptions?
-
When constructing the subspace for text features, the paper explicitly mentions that mean-centering is not applied to the image embeddings themselves. From a mathematical derivation perspective, if the same centering mapping used for text features were applied to the image features, how would the cosine similarity distribution and theoretical error bounds change before and after projection?
-
Considering that in a strict, pure zero-shot application scenario, the model would have absolutely no prior access to 10% of the target dataset's samples for calibration, could the authors provide a selection strategy that does not require any target image involvement and is based purely on text semantic topology or class similarity structures?
4 comments
Q1
We ran two new baselines which combine CALIP and IsoCLIP with CuPL and the comparison with CuPL and GSSP-BP is presented in the table below. Adding CuPL to CALIP gives almost the same result as CuPL alone, and adding it to IsoCLIP is worse than CuPL alone. GSSP-BP gives the highest under-performing class accuracy of all CuPL combinations. We will add these results to Table 1 in the main paper.
| Method | HM | |
|---|---|---|
| CLIP | 35.6 | 43.7 |
| CALIP | 51.7 | 50.2 |
| IsoCLIP | 33.6 | 40.0 |
| CuPL | 58.1 | 58.2 |
| CALIP-CuPL | 59.6 | 58.3 |
| IsoCLIP-CuPL | 52.6 | 50.6 |
| GSSP-B | 44.9 | 50.5 |
| GSSP-BP | 63.7 | 55.8 |
Q2
The projection in Eq. (5) is linear, so centring the image by the class mean of Eq. (2) gives . The boosted score for class (Eq. 7) then becomes
The first term of the numerator is the GSSP-Boost score of the uncentred image. The second term, , depends only on the class, not on the image. The denominator is the same for every class, so it does not change the prediction in Eq. (1). Centring the images is therefore equivalent to GSSP-Boost with a fixed per-class offset . Each image's similarities are shifted by these class-dependent constants and rescaled by a common factor. A prediction can change only when the margin between two classes is smaller than the difference of their offsets, which is at most ; all other predictions are unchanged. Because of the modality gap, is the mean of the text embeddings and not of the image embeddings, so subtracting it does not centre the images. For these reasons we apply the centring only when constructing the text basis. We will add this as an extended discussion of implementation details in the appendix.
Q3
We have implemented two further selections that use only the Class Names:
The first method, text clustering uses the default prompt, i.e., “a photo of a {class}”, which can be compared using cosine similarity with the prompts of all other classes. A class is scored by its average cosine similarity to its nearest neighboring prompts. Classes surrounded by very similar prompts are ranked as under-performing, since their prototypes have small margins to competing classes.
The second method uses the CuPL descriptions which are classified with the zero-shot classifier. In detail, for each description, we compute the margin between its similarity to the class's own prompt and its highest similarity to any other class prompt. A class is scored by the average margin over its descriptions. Classes whose descriptions the model cannot clearly separate from other classes are ranked as under-performing. In effect, the descriptions act as text stand-ins for target images.
As observed in the table below Text clustering recovers under-performing classes somewhat better than a random selection. The CuPL description margin is considerably more effective: 44%-54% of the classes it selects are true under-performing classes, approaching our image-based selection. GSSP can therefore be applied when no target images are available at the cost of a less precise selection.
We will add these results into the appendix regarding different methods on finding under-performing classes.
| Selection | CLIP | PE | SigLIP2 |
|---|---|---|---|
| Random | 18.3 | 20.3 | 21.3 |
| Text clustering | 31.4 | 38.1 | 33.0 |
| CuPL description margin | 46.0 | 43.5 | 54.3 |
| Image-based (similarity) | 59.0 | 51.3 | 60.2 |
We just wanted to follow up and check whether you have had a chance to review our responses. We would greatly appreciate any feedback you may have. Please also let us know if you require any further information or clarification from our side.
- Rating
- 2/4
- Confidence
- 3/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
This paper studies the substantial class-wise performance disparity of vision-language models in zero-shot image classification, with a particular focus on improving classes that perform poorly under the original zero-shot classifier. The authors propose GSSP, a training-free method that constructs an orthonormal basis from the centered text embeddings of selected under-performing classes and projects image embeddings onto the resulting subspace. Since direct projection substantially damages performance on the remaining classes, the paper further introduces GSSP-Boost, which adds a scaled version of the projected component back to the original image representation. A prompted extension, GSSP-Boost Prompted, additionally incorporates CuPL-generated textual descriptions. The method is evaluated on ten image classification datasets with CLIP, Perception Encoder, and SigLIP2 backbones. The experiments show that direct GSSP strongly improves the selected under-performing classes but often severely degrades the remaining classes, whereas GSSP-Boost achieves a substantially better trade-off.
Strengths
- The paper provides an interesting empirical observation: explicitly amplifying the text-derived subspace associated with poorly performing classes can improve their zero-shot accuracy across several VLM architectures.
- The distinction between hard projection and soft subspace boosting is also useful, and the experiments clearly illustrate why retaining the orthogonal component is important.
- Broad and relatively consistent empirical gains across datasets and architectures.
Weaknesses
- The main experiments depend on identifying “under-performing” classes from target-domain calibration images, yet the paper does not quantify how well this similarity-based ranking actually recovers low-accuracy classes.
- The calibration procedure contains an inconsistency in the amount of data sampled and does not report variability across calibration splits.
- The paper currently does not establish clearly enough whether the gains specifically arise from the proposed subspace construction rather than from a more general form of class-directed calibration or feature reweighting.
- The method closely related to a simple linear metric/prototype recalibration. The paper compares against a centroid-based WSB baseline, but not against sufficiently direct logit-, prototype-, or class-bias calibration controls.
Questions for the authors
- In the similarity-based selection procedure, do you compute the similarity of each class text embedding against all unlabeled calibration images, or only against calibration images belonging to that class? If the latter, class labels are required. If the former, please explain why the mean similarity to the entire target image distribution should identify classes with low classification accuracy.
- Please clarify the calibration-set sampling protocol. The paper states that 10% of the dataset forms the calibration set and that 5% of this calibration subset is sampled, but then says that each draw corresponds to approximately 5% of the full dataset. Is the actual sampled fraction 0.5% or 5% of the full dataset?
- How accurately does the proposed similarity-based ranking identify genuinely under-performing classes?
- How sensitive are the reported results to the random calibration split and sampled calibration images?
- Can the authors compare GSSP-Boost against simple score-level calibration baselines, e.g., adding a bias or multiplicative factor to the logits of the selected Bottom-N classes, class-specific temperature scaling, or a simple prototype reweighting baseline?
- There are also several overly strong statements in the discussion. For example, the paper states that GSSP-BP “consistently outperforms pure CuPL across all backbones,” while Table 1 shows that this is not consistently true for the harmonic-mean metric.
5 comments
Thank you for your review, below is our response to your questions. An updated version of the paper with the mentioned changes will be uploaded before the end of the discussion period
Q1/Q/2/Q3
We reserve 10% of each dataset as a calibration split, the remaining 90% is the evaluation set. The similarity score uses three draws from the calibration split. Each draw takes 50% of the calibration images of every class, about 5% of the full dataset not 5% of the calibration subset. Across three calibration splits and Bottom-N from 5% to 30%, 51%-60% of the classes selected by the similarity ranking are among the true under-performing classes (CLIP 59.0 0.4, PE 51.3 2.3, SigLIP2 60.2 1.3). A random search reaches 18%-21%.
For the similarity score, for each class we take the calibration images labeled in a draw and compute the cosine similarity between each of these images and the text embedding of . The class score is the mean of these similarities, averaged over the three draws. Classes with the lowest scores form the Bottom N %. The score therefore measures how well a class's own images align with its text embeddings. It requires the ground-truth labels of the calibration split but never uses the evaluation images, evaluation labels or model predictions.
We also include below a table for two evaluated selection strategies that use no target images and no labels at all. Text clustering ranks classes by how similar their prompt is to the prompt of their nearest neighbor classes. The CuPL description margin classifies each class's CuPL descriptions with the zero-shot classifier and ranks classes by the average margin between their own class and the best competing class. Both identify under-performing classes better than chance but neither matches the similarity ranking. Without labels, a larger share of boosted classes are not actually under-performing. Boosting such classes spends the method's effect on classes that do not need it and adds to the cost on the remaining classes. This may not not fully reflect the distribution of the whole dataset but it identifies the under-performing classes considerably more reliably. This choice does not change the zero-shot nature of GSSP itself. Given a set of target classes, the transformation is built entirely from their text embeddings and is applied to the image features without any labels, training or target images. The same transformation applies unchanged when that set comes from another source.
Regardless of the method of finding the underperforming classes, we wish to highlight the following: Firstly, all baselines and compared methods use the same calibration to find the under-performing classes -- GSSP and its variants are not utilizing any additional information in an unfair manner. Secondly, that GSSP improves upon the baselines regardless of how the underperforming classes are chosen.
In addition, in appendix B, we show the oracle results if the under-performing classes are known a priori, but excluded this from the main results since it requires knowing class specific knowledge across the evaluation set.
| Selection | CLIP | PE | SigLIP2 |
|---|---|---|---|
| Random | 18.3 | 20.3 | 21.3 |
| Text clustering | 31.4 | 38.1 | 33.0 |
| CuPL description margin | 46.0 | 43.5 | 54.3 |
| Image-based (similarity) | 59.0 | 51.3 | 60.2 |
Q4
We repeated all experiments with three different random calibration splits. Each split re-draws which 10% forms the calibration set, and therefore which classes are selected as under-performing classes. As shown in the table below the variance is 2--3 orders of magnitude smaller compared to the gains in and HM we see for GSSP-B and GSSP-BP. We will add these results in the appendix.
| Backbone | Method | HM | |
|---|---|---|---|
| CLIP | GSSP-B | +9.2 ± 0.2 | +6.7 ± 0.1 |
| GSSP-BP | +28.5 ± 0.4 | +12.5 ± 0.5 | |
| PE | GSSP-B | +7.9 ± 0.5 | +5.9 ± 0.4 |
| GSSP-BP | +15.4 ± 0.5 | +11.5 ± 0.4 | |
| SigLIP2 | GSSP-B | +6.8 ± 0.2 | +4.4 ± 0.4 |
| GSSP-BP | +16.9 ± 1.6 | +11.5 ± 1.1 |
Q5
We have run our experiments against a new logit scaling baseline which multiplies the Bottom-N logits by (1+s). As can be seen from the results shown in the table below even though the logit scale provides comparable performance. That is the case with scaling being tuned for each model. Because the logits are scaled cosine similarities, multiplying the Bottom-N logits by (1+s) changes predictions abruptly and an optimal value of strongly depends on the backbone. GSSP-Boost shows more consistent results for a constant value of lambda across different backbones and therefore can be used without per-model tuning. Moreover, GSSP-Boost changes the image representation rather than the classifier's scores so it combines directly with other classifiers. Combined with CuPL descriptions (GSSP-BP), it gives the largest gains on the under-performing classes. We will add the Logit scale baseline to Table 1.
| Backbone | Method | Bottom-N | Remaining | Overall | HM |
|---|---|---|---|---|---|
| CLIP | Baseline | 35.6 | 64.9 | 58.5 | 43.7 |
| GSSP-B (λ=0.5) | 44.9 | 61.0 | 57.5 | 50.5 | |
| GSSP-BP (λ=0.5) | 63.7 | 50.4 | 53.1 | 55.8 | |
| Logit scale (s=0.01) | 38.9 | 64.4 | 58.7 | 46.4 | |
| Logit scale (s=0.02) | 42.0 | 63.7 | 59.0 | 48.7 | |
| Logit scale (s=0.05) | 49.0 | 61.1 | 58.4 | 52.7 | |
| Logit scale (s=0.1) | 55.0 | 54.6 | 54.7 | 53.6 | |
| PE | Baseline | 59.2 | 87.0 | 80.7 | 66.8 |
| GSSP-B (λ=0.5) | 66.6 | 85.0 | 80.6 | 72.2 | |
| GSSP-BP (λ=0.5) | 74.0 | 83.6 | 81.0 | 77.9 | |
| Logit scale (s=0.01) | 60.8 | 86.7 | 80.8 | 68.2 | |
| Logit scale (s=0.02) | 62.1 | 86.4 | 80.9 | 69.3 | |
| Logit scale (s=0.05) | 65.9 | 85.6 | 80.9 | 72.3 | |
| Logit scale (s=0.1) | 71.0 | 84.0 | 80.7 | 75.9 | |
| SigLIP2 | Baseline | 50.7 | 79.6 | 73.2 | 57.1 |
| GSSP-B (λ=0.5) | 57.4 | 76.9 | 72.4 | 61.0 | |
| GSSP-BP (λ=0.5) | 65.9 | 74.8 | 72.3 | 67.3 | |
| Logit scale (s=0.01) | 51.4 | 79.5 | 73.2 | 57.6 | |
| Logit scale (s=0.02) | 52.1 | 79.4 | 73.3 | 58.0 | |
| Logit scale (s=0.05) | 53.9 | 78.9 | 73.2 | 59.1 | |
| Logit scale (s=0.1) | 56.4 | 77.7 | 72.8 | 60.5 |
- Rating
- 2/4
- Confidence
- 3/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
GSSP constructs a subspace from selected under-performing classes' text embeddings and projects or boosts image features within that subspace. The method is training-free and evaluated across ten datasets and three visual-language encoders, with a prompted extension using richer class descriptions.
Strengths
The transformation is simple, lightweight, and compatible with multiple pretrained encoders. Moreover, the experiments provide evidence of improved selected-class accuracy, and the paper investigates the projection-strength trade-off.
Weaknesses
- The main performance-preservation claim is too strong. A higher harmonic mean does not establish preservation of the remaining classes' accuracy. For CLIP on Flowers102 in Table 1, the baseline has HM = 24.0 and selected-class accuracy = 14.3, whereas GSSP-BP has 38.2 and 41.1. Under the stated HM definition, the remaining-class accuracy is approximately 74.6% versus 35.7%. The paper discusses trade-offs, but this substantial cost should be reported explicitly. The claim of consistently outperforming CuPL also needs qualification: Flowers102 HM is 38.2 for GSSP-BP versus 48.2 for CuPL.
- The class-selection protocol is insufficiently specified. Section 3.1 reserves 10% for calibration and samples 5% of that subset, but describes each draw as approximately 5% of the entire dataset; the literal calculation gives 0.5%. It is also unclear whether class-level similarities average over shared unlabeled images, true-class subsets, or pseudo-labeled subsets. These alternatives have different implications for the zero-shot setting.
Questions for the authors
- Could the authors report selected-class, remaining-class, and overall accuracy separately for GSSP-B and GSSP-BP, and qualify the claims of performance preservation and consistent superiority?
- What are the exact calibration sample counts, and which labels, if any, are accessed? How well does this ranking identify genuinely under-performing classes?
4 comments
Thank you for your review, below is our response to your questions. An updated version of the paper with the mentioned changes will be uploaded before the end of the discussion period
Q1
We have included the table below which reports the under-performing classes accuracy , remaining classes accuracy, R, overall accuracy, O, and Harmonic Mean, HM separately. On PE and SIGLIP2, GSSP-BP raises the under-performing accuracy by 14.8 and 15.2 points on average across all datasets. Overall accuracy changes by 0.3 and -0.9 points and remaining class accuracy falls by 3.4 and 4.8 points. On CLIP the cost is much larger: a 28.1 increase in Bottom-N but remaining class accuracy falls 14.5 points and overall accuracy 5.4.
Regarding the claims of performance preservation and superiority, we primarily focus on the accuracy of the under-performing classes, in which GSSP-BP consistently achieves higher under-performing accuracy than CuPL. We report the harmonic mean of the under-performing classes and the remaining classes accuracy to show whether the gain on the under-performing classes comes with a balanced overall result, thereby showing the trade-off. We note that the parameter (eq.7 in the main paper) controls this trade-off, which we did not tune for these results instead choosing the middle ground of 0.5. Figures 2 and 5 (Appendix B.1) show how the bottom-N gain and overall accuracy change across the lambda sweep.
For Flowers-102, you are correct in that the harmonic mean for GSSP-Boost using CLIP performs worse than CUPL, however, in all cases for SigLIP2 and PE GSSP-BP outperforms CUPL apart from UCF101/FGVCAircraft for SigLIP2. We will update the discussion in Section 4.2 accordingly and will add the table below to the appendix for reference to the overall and remaining accuracies.
Q1 Table
| Dataset | Baseline | Baseline R | Baseline O | Baseline HM | CuPL | CuPL R | CuPL O | CuPL HM | GSSP-B | GSSP-B R | GSSP-B O | GSSP-B HM | GSSP-BP | GSSP-BP R | GSSP-BP O | GSSP-BP HM |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CLIP | ||||||||||||||||
| Caltech101 | 77.7 | 90.8 | 82.3 | 83.7 | 83.9 | 89.1 | 84.1 | 86.5 | 82.6 | 89.1 | 83.1 | 85.7 | 86.9 | 83.3 | 82.1 | 85.0 |
| OxfordPets | 61.3 | 88.0 | 83.2 | 72.3 | 93.5 | 84.5 | 86.3 | 88.8 | 78.2 | 84.4 | 83.5 | 81.2 | 96.7 | 73.1 | 77.6 | 83.2 |
| StanfordCars | 32.2 | 64.8 | 58.3 | 43.1 | 57.8 | 52.8 | 54.0 | 55.2 | 39.7 | 60.7 | 56.5 | 48.0 | 60.3 | 47.1 | 50.0 | 52.9 |
| Flowers102 | 14.3 | 76.2 | 63.8 | 24.0 | 38.8 | 63.5 | 59.0 | 48.2 | 24.2 | 67.2 | 58.9 | 35.6 | 41.1 | 35.7 | 37.7 | 38.2 |
| SUN397 | 39.0 | 67.8 | 60.0 | 49.5 | 54.5 | 64.1 | 60.7 | 58.9 | 48.5 | 64.4 | 60.6 | 55.4 | 62.0 | 58.2 | 58.8 | 60.1 |
| EuroSAT | 21.3 | 37.7 | 34.9 | 27.2 | 46.4 | 35.5 | 38.7 | 40.2 | 26.6 | 36.3 | 34.9 | 30.7 | 48.4 | 33.7 | 37.7 | 39.7 |
| UCF101 | 32.7 | 68.8 | 62.4 | 44.4 | 66.4 | 58.4 | 60.6 | 62.2 | 46.3 | 61.2 | 58.9 | 52.7 | 73.4 | 45.3 | 51.5 | 56.0 |
| Food101 | 65.8 | 82.2 | 79.0 | 73.1 | 74.5 | 80.7 | 79.5 | 77.5 | 77.0 | 79.1 | 78.7 | 78.0 | 82.5 | 74.3 | 75.9 | 78.2 |
| FGVCAircraft | 4.4 | 21.9 | 18.4 | 7.4 | 24.1 | 19.1 | 20.1 | 21.3 | 7.3 | 19.3 | 16.9 | 10.6 | 33.1 | 14.3 | 18.1 | 20.0 |
| DTD | 6.9 | 50.9 | 42.5 | 12.1 | 40.7 | 45.2 | 44.4 | 42.9 | 18.7 | 48.1 | 42.5 | 27.0 | 52.2 | 38.9 | 41.4 | 44.5 |
| Mean | 35.6 | 64.9 | 58.5 | 43.7 | 58.1 | 59.3 | 58.7 | 58.2 | 44.9 | 61.0 | 57.5 | 50.5 | 63.7 | 50.4 | 53.1 | 55.8 |
| PE | ||||||||||||||||
| Caltech101 | 89.1 | 97.8 | 89.0 | 93.2 | 88.4 | 97.8 | 88.9 | 92.9 | 90.1 | 97.3 | 88.7 | 93.6 | 89.8 | 97.0 | 88.7 | 93.2 |
| OxfordPets | 90.7 | 96.5 | 95.4 | 93.5 | 90.4 | 96.1 | 95.0 | 93.2 | 95.0 | 95.2 | 95.2 | 95.1 | 93.4 | 94.0 | 93.9 | 93.7 |
| StanfordCars | 89.1 | 94.8 | 93.6 | 91.8 | 89.9 | 94.3 | 93.4 | 92.0 | 90.7 | 94.1 | 93.4 | 92.4 | 90.5 | 93.6 | 93.0 | 92.0 |
| Flowers102 | 30.3 | 97.4 | 85.6 | 46.3 | 53.5 | 95.8 | 88.3 | 68.6 | 44.7 | 93.4 | 84.8 | 60.5 | 63.1 | 87.9 | 83.6 | 73.5 |
| SUN397 | 60.6 | 82.3 | 77.2 | 69.8 | 61.0 | 81.9 | 77.0 | 69.9 | 69.3 | 78.9 | 76.7 | 73.8 | 69.6 | 77.7 | 76.0 | 73.4 |
| EuroSAT | 4.2 | 64.0 | 50.3 | 7.9 | 12.9 | 63.9 | 52.2 | 21.4 | 8.3 | 63.8 | 51.0 | 14.6 | 29.0 | 64.7 | 56.3 | 40.0 |
| UCF101 | 69.4 | 89.6 | 85.8 | 78.2 | 78.4 | 89.1 | 87.3 | 83.4 | 77.2 | 88.1 | 86.3 | 82.3 | 82.7 | 86.4 | 86.1 | 84.5 |
| Food101 | 89.8 | 95.5 | 94.4 | 92.6 | 86.8 | 95.7 | 93.9 | 91.0 | 94.0 | 94.2 | 94.2 | 94.1 | 93.0 | 94.4 | 94.1 | 93.7 |
| FGVCAircraft | 35.1 | 74.9 | 66.9 | 47.8 | 50.6 | 74.4 | 69.6 | 60.2 | 44.7 | 72.1 | 66.6 | 55.2 | 66.1 | 72.2 | 70.9 | 69.0 |
| DTD | 33.7 | 77.2 | 68.9 | 47.0 | 52.8 | 74.8 | 70.6 | 61.9 | 52.3 | 73.0 | 69.0 | 60.9 | 62.9 | 68.3 | 67.3 | 65.5 |
| Mean | 59.2 | 87.0 | 80.7 | 66.8 | 66.5 | 86.4 | 81.6 | 73.5 | 66.6 | 85.0 | 80.6 | 72.2 | 74.0 | 83.6 | 81.0 | 77.9 |
| SigLIP2 | ||||||||||||||||
| Caltech101 | 88.6 | 97.3 | 88.3 | 92.8 | 85.2 | 97.6 | 88.2 | 91.0 | 90.0 | 96.2 | 87.2 | 93.0 | 89.4 | 96.8 | 88.7 | 93.0 |
| OxfordPets | 90.6 | 94.4 | 93.7 | 92.4 | 83.9 | 94.9 | 92.8 | 89.1 | 95.8 | 90.5 | 91.6 | 93.1 | 91.7 | 92.7 | 92.6 | 92.2 |
| StanfordCars | 90.3 | 93.3 | 92.8 | 91.8 | 89.2 | 93.2 | 92.5 | 91.2 | 94.1 | 92.2 | 92.6 | 93.1 | 92.6 | 92.2 | 92.3 | 92.4 |
| Flowers102 | 29.4 | 94.9 | 83.1 | 44.9 | 36.4 | 94.6 | 83.4 | 52.6 | 35.2 | 87.2 | 78.7 | 50.2 | 54.3 | 88.0 | 81.3 | 67.1 |
| SUN397 | 51.0 | 78.5 | 72.3 | 61.8 | 41.3 | 79.7 | 69.7 | 54.4 | 60.1 | 74.0 | 71.8 | 66.4 | 59.8 | 75.1 | 71.6 | 66.6 |
| EuroSAT | 0.1 | 51.9 | 40.4 | 0.1 | 1.5 | 51.8 | 40.7 | 3.0 | 0.2 | 51.7 | 40.3 | 0.4 | 2.0 | 51.0 | 40.3 | 3.8 |
| UCF101 | 39.9 | 81.7 | 74.0 | 53.6 | 67.8 | 75.7 | 74.4 | 71.5 | 58.4 | 78.6 | 75.0 | 67.0 | 72.7 | 67.5 | 69.0 | 70.0 |
| Food101 | 82.2 | 91.7 | 89.8 | 86.7 | 79.5 | 92.0 | 89.6 | 85.3 | 88.6 | 89.9 | 89.6 | 89.3 | 87.6 | 90.8 | 90.1 | 89.1 |
| FGVCAircraft | 0.0 | 44.0 | 35.2 | 0.0 | 40.1 | 42.9 | 42.4 | 41.5 | 0.1 | 42.3 | 33.9 | 0.1 | 53.2 | 32.9 | 36.9 | 40.6 |
| DTD | 35.2 | 68.4 | 62.1 | 46.5 | 43.1 | 65.7 | 61.3 | 52.0 | 51.4 | 66.3 | 63.5 | 57.9 | 55.9 | 60.8 | 59.9 | 58.2 |
| Mean | 50.7 | 79.6 | 73.2 | 57.1 | 56.8 | 78.8 | 73.5 | 63.1 | 57.4 | 76.9 | 72.4 | 61.0 | 65.9 | 74.8 | 72.3 | 67.3 |
Q2
We apologize for this being unclear. We will add an extended description of the class-selection protocol as given below and additional calibration methods in the appendix.
We reserve 10% of each dataset as a calibration split, the remaining 90% is used as the evaluation set. The similarity score uses three draws from the calibration split. Each draw takes 50% of the calibration images, representing 5% of the full dataset --- not 5% of the calibration subset.
We then, for each class , take the calibration images labeled in a draw and compute the cosine similarity between each of these images and the text embedding of . The class score is the mean of these similarities, averaged over the three draws. Classes with the lowest scores form the Bottom N %. The score therefore measures how well a class's own images align with its text embeddings. It requires the ground-truth labels of the small calibration split but never uses the evaluation images or evaluation labels.
Across three calibration splits and Bottom-N from 5% to 30%, 51%-60% of the classes selected by the similarity ranking are among the true under-performing classes (CLIP 59.0 0.4, PE 51.3 2.3, SigLIP2 60.2 1.3). A random search reaches 18%-21%.
We have implemented two further selections that use only the Class Names:
The first method uses the default prompt, i.e., “a photo of a {class}”, which can be compared using cosine similarity with the prompts of all other classes. A class is scored by its average cosine similarity to its nearest neighboring prompts. Classes surrounded by very similar prompts are ranked as under-performing, since their prototypes have small margins to competing classes.
The second method uses the CuPL descriptions which are classified with the zero-shot classifier. In detail, for each description, we compute the margin between its similarity to the class's own prompt and its highest similarity to any other class prompt. A class is scored by the average margin over its descriptions. Classes whose descriptions the model cannot clearly separate from other classes are ranked as under-performing. In effect, the descriptions act as text stand-ins for target images.
Regardless of the method of finding the underperforming classes, we wish to highlight the following: Firstly, all baselines and compared methods use the same calibration to find the under-performing classes -- GSSP and its variants are not utilizing any additional information in an unfair manner. Secondly, that GSSP improves upon the baselines regardless of how the underperforming classes are chosen.
In addition, in appendix B, we show the oracle results if the under-performing classes are known a priori, but excluded this from the main results since it requires knowing class specific knowledge across the evaluation set.
| Selection | CLIP | PE | SigLIP2 |
|---|---|---|---|
| Random | 18.3 | 20.3 | 21.3 |
| Text clustering | 31.4 | 38.1 | 33.0 |
| CuPL description margin | 46.0 | 43.5 | 54.3 |
| Image-based (similarity) | 59.0 | 51.3 | 60.2 |
We just wanted to follow up and check whether you have had a chance to review our responses. We would greatly appreciate any feedback you may have. Please also let us know if you require any further information or clarification from our side.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Thank you for your review, below is our response to your questions. An updated version of the paper with the mentioned changes will be uploaded before the end of the discussion period
W1
The GSSP transformation itself is zero-shot. Given a set of target classes, it is built entirely from their text embeddings and applied to the image features without labels, training or target images. The calibration split is used only for deciding which classes to target. Regarding fairness, all baselines and compared methods use the same calibration to find the under-performing classes -- GSSP and its variants are not utilizing any additional information in an unfair manner.
W3
We use a percentage rather than a fixed number of classes precisely because the datasets differ so much in size. We did not mean to suggest that 20% is the optimum value for the bottom N as that will differ for each dataset. The decline in gain as N grows is expected and is not specific to GSSP. A larger N adds performant classes to the selection leading to a smaller increase in performance as these classes are already performing well. The decline also follows from the design of the method: as the selection grows towards all classes, the boost adds nearly the same term to every class score and the prediction returns to those of the baselines. GSSP is designed to target a minority of classes. Figure 3 shows the full range from 5% to 30% for every dataset and shows that as more classes are included in the bottom N selection there are less gains in performance. We will clarify this in the results section.