Decompose, Compare, and Decide: Multimodal LLMs are Implicit Few-Shot Learners
Yunhan Wang, Eshika Khandelwal, Edson Araujo, Walid Bousselham, Nina Shvetsova, Hilde Kuehne
Abstract
Multimodal Large Language Models (MLLMs) have demonstrated remarkable abilities when analyzing images, yet translating these capabilities to few-shot image classification remains challenging. To bridge this gap, we present DeCoDe, a simple yet effective technique that enables off-the-shelf MLLMs to act as strong few-shot classifiers without any additional training. Our approach builds on the idea of few-shot classification as a set of pairwise image comparisons, decomposing the task into a set of binary decisions. Given a query image and a support image from a candidate class, the MLLM is prompted to decide whether the two images depict the same class. The logit corresponding to an affirmative response is then used as a similarity score to assign the query image to the most likely class. While this already yields good results, we show that providing additional high-level information, such as the data domain, to the model further improves performance. Our evaluation provides an extensive analysis of various inference variants on a suite of twelve datasets, six established and six newly curated few-shot benchmarks spanning across diverse domains. The results show that the proposed simple decomposition technique can turn off-the-shelf MLLMs into powerful few-shot learners, significantly outperforming current state-of-the-art few-shot methods on both standard and novel domains. Code is available at https://github.com/yunhanwang1105/DeCoDe.
Create a lesson
Related papers
CivilCADBench: Benchmarking Multimodal LLMs for Understanding, Reconstructing, and Designing Civil Engineering Drawing Sets
Shared title terminologycs.CVZelin Zheng, Difei Wu, Xinyan Liu et al.
Learning How a Body Moves: Few-Shot Body Inference for Visual World Models of Animated Characters
Shared title terminologycs.CVAmarnath R
Seeing Is Not Planning: Spatiotemporal Planning and Plan Repair in Multimodal LLMs
Shared title terminologycs.CVSiyuan Li, Ethan Lin, Xiang Li et al.
MS-Resampler: Multi-Scope Visual Resampling for Efficient Multimodal LLMs
Shared title terminologycs.CVZhongyang Li, Yaqian Li, Faming Fang et al.
Rethinking the Role of Feature Engineering and Learning Strategies in Few-Shot Hidden Emotion Recognition
Shared title terminologycs.CVXiaochuan Guo, Jihao Gu, Haixu Liu et al.
FROST: Training-Free Few-Shot Segmentation with Frozen Features and Nonparametric Statistics
Shared title terminologycs.CVJunghwan Park