cs.CVMar 25, 2026

Unlocking Few-Shot Capabilities in LVLMs via Prompt Conditioning and Head Selection

Authors: Adhemar de Senneville, Xavier Bou, Jérémy Anger, Rafael Grompone, Gabriele Facciolo

Organizations: Université Paris-Saclay, CNRS, ENS Paris-Saclay, Centre Borelli, France · École Polytechnique, AMIAD, France · Institut Universitaire de France

Abstract

Current Large Vision Language Models (LVLMs) excel at many zero-shot tasks like image captioning, visual question answering and OCR. However, these same models suffer from poor performance at image classification tasks, underperforming against CLIP-based methods. Notably, this gap is surprising because many LVLMs use CLIP-pretrained vision encoders. Yet LVLMs are not inherently limited by CLIP's architecture with independent vision and text encoders. In CLIP, this separation biases classification toward class-name matching rather than joint visual-text reasoning. In this paper we show that, despite their poor raw performance, LVLMs can improve visual feature class separability at inference using prompt conditioning, and LVLMs' internal representations, especially attention heads, can outperform the model itself at zero-shot and few-shot classification. We introduce Head Ensemble Classifiers (HEC) to bridge the performance gap between CLIP-based and LVLM-based classification methods. Inspired by Gaussian Discriminant Analysis, HEC ranks the most discriminative vision and text heads and combines them into a training-free classifier. We show that HEC achieves state-of-the-art performance in few-shot and zero-shot classification across 12 datasets.

Figures & tables

Appendix figures & tables10 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Image Recognition with Vision and Language Embeddings of VLMs

    Sep 11, 2025Illia Volkov, Nikita Kisel, Klara Janouskova +1Image ClassificationVLM Evaluation

  2. Decomposing Visual Classification: Assessing Tree-Based Reasoning in VLMs

    Sep 10, 2025Sary Elmansoury, Islam Mesabah, Gerrit Großmann +3VLM ReasoningImage Classification

  3. AdaBoosting Text Prompts for Vision-Language Models

    Jul 1, 2026Seokhee Jin, Changhwan Sung, Sunung Mun +2Vision-Language ModelsEnsemble Learning