Introduction
Few-shot classification (FSC) is a fundamental capability of human intelligence, allowing for the recognition of novel categories from just a few examples. While Large Vision Language Models (LVLMs) like GPT-4V and Qwen-VL possess vast encyclopedic knowledge, they surprisingly underperform in few-shot scenarios compared to specialized smaller models. This paper identifies two primary reasons for this performance gap: knowledge leakage (where models rely on pre-training data rather than the provided support set) and position bias (a tendency to favor the first few options in a multiple-choice prompt).
The Challenges of Few-Shot Learning in LVLMs
Traditional LVLMs often fall into the "Dictionary Trap." Because they have seen millions of images during pre-training, they often ignore the specific visual nuances of the "support" images provided in a few-shot prompt. If an LVLM identifies a query image as a "dog," it will classify it as such based on its internal weights, even if the support set suggests a more specific or different label. Furthermore, LVLMs exhibit a significant "position bias," where the probability of selecting a candidate answer decreases as its position in the prompt moves further from the start. This makes them unreliable for N-way classification where N is large.
Proposed Methodology
To address these issues, the authors propose a novel framework that forces LVLMs to "learn how to learn" through three integrated strategies:
1. Meta-Learning Instruction Tuning
The model is trained using "meta-tasks" in an N-way K-shot format. This shifts the model's objective from simple image-to-text mapping to a comparative process, teaching it to evaluate the relationship between query images and support images.
2. Label Augmentation (LA) via Character Perturbation
To break the model's reliance on its internal vocabulary, the researchers introduced Label Augmentation. By intentionally perturbing class names (e.g., changing "Painted bunting" to a nonsensical string like "Painted buntingohbk"), the model can no longer rely on linguistic cues. It is forced to analyze the visual features of the support images to determine which visual patterns correspond to which (now meaningless) labels.
3. Attribute-Based Candidate Selection (CS)
During the inference phase, the model first generates detailed attribute descriptions (e.g., "blue head," "red belly") for the query and support images. These descriptions are used to calculate a similarity matrix, filtering out the most unlikely classes. This reduces the number of candidates presented to the model in the final decision step, effectively mitigating the impact of position bias.
Experimental Evaluation
The framework was evaluated across 21 datasets, including the ELEVATER benchmark for training and specialized sets like CUB (birds), Stanford Dogs, and ISEKAI (synthetic fantastical concepts) for testing.
Key Results
- State-of-the-Art Performance: Built on a Qwen-VL backbone, the method achieved an average accuracy of 96.93% on general FSC benchmarks, a 6.49% improvement over previous SOTA methods.
- Fine-Grained Success: On specialized tasks like bird species identification (CUB), the model saw gains of up to 13.04%.
- Bias Mitigation: Post-tuning, the model showed a nearly uniform distribution of answer positions, indicating that the position bias was successfully neutralized.
- Robustness to Novelty: The model performed exceptionally well on the ISEKAI dataset, proving it can handle concepts that did not exist in its pre-training data by relying solely on the provided few-shot context.
Conclusion
By combining meta-learning with label perturbation and attribute-based filtering, this research transforms LVLMs from static knowledge bases into dynamic few-shot learners. While the attribute generation step introduces some inference overhead, the significant gains in accuracy and the reduction of inherent biases represent a major step forward in making large-scale models adaptable to niche or novel domains.
Summary updated