Summary
The paper proposes a method named TransCLIP that performs transductive inference to boost classification performance of Zero-Shot & Pre-trained Few-Shot CLIP models. The proposed methodology is an extension of [1], but for VLMs. TransCLIP proposes to learn the class prototypes, in contrast to fixed-prototypes considered in [1] and adds a language guidance term to penalize predictions that stray from the CLIP pseudo-label. Following [1], the paper uses a Majorize-Minimize framework to solve for the prototypes and class predictions in closed form. Experiments are shown on 11 standard datasets, showing that TransCLIP improves on top of existing few-shot fine-tuning methods.
[1] Imtiaz Ziko, Jose Dolz, Eric Granger, and Ismail Ben Ayed. Laplacian regularized few-shot
learning. In International conference on machine learning, pages 11660–11670. PMLR, 2020.
[2] Ma, Xiaosong et al. “SwapPrompt: Test-Time Prompt Adaptation for Vision-Language Models.” Neural Information Processing Systems (2023).
[3] Shu Manli et al. “Test-time prompt tuning for zero-shot generalization in vision-language models.” Neural Information Processing Systems (2022).
Strengths
\+ The paper proposes to use transduction to improve CLIP’s downstream performance. This is a promising direction which has seen recent efforts [2,3]. The considered formulation is a scalable alternative to existing test-time methods. The solution is well motivated, and the paper is easy to follow.
\+ TransCLIP builds on top of, and modifies [1] for VLMs. TransCLIP makes two major design choices i) The class prototypes are learnable ii) A language-guidance term is added to regularize updates. Both design choices lead to improved empirical performance on CLIP.
\+ The experiments are comprehensive . The proposed language guidance term and other design choices used in TransCLIP lead to improved accuracy over zero-shot CLIP and few-shot finetuned CLIP.
Weaknesses
\- Discussion on Test-Time methods. Recently many test time methods (a type of transductive learning) have been proposed to improve VLM performance. A discussion of the tradeoffs between the proposed approach and existing test-time adaptation (TTA) methods needs to be discussed. For instance, TransCLIP requires the entire test batch, while TTA methods require fewer test samples [2,3].
\- Issues with missed references. Important references are missing in Section 3.3. The entire section follows similar arguments from [1], but re-derived by adding the language-guidance term.
\- The GMM argument is unclear to me. However, the GMM clustering term in eq 2 is minimized when label assignments are given by the closest prototype. The loss is reminiscent of $\mathcal{N}$ in [1], but the paper proposes to use a Mahalanobis distance instead of euclidean distance. I am unsure of the insight provided by posing it as GMM clustering instead of drawing parallels with [1].
Questions
1. As discussed above, the GMM angle is unclear, but maybe it boils down to learning class prototypes in the absence of few-shot data.
2. Existing test-time methods show strong empirical evidence of the power of transduction for VLMs. A discussion of the scope of these methods is necessary.
3. Since the primary novelty of the paper is to suggest that language-guidance can greatly improve transduction, the appropriate ablation is necessary. Setting $\lambda=0$ in the proposed KLDiv parametrization only removes the cross-entropy term, and is not the desired ablation.
Limitations
The authors have addressed some limitations of the work. There is no potential negative societal impact from this work