Decompose, Compare, and Decide: Multimodal LLMs are Implicit Few-Shot Learners

Yunhan Wang, Eshika Khandelwal, Edson Araujo, Walid Bousselham, Nina Shvetsova +1 more
7/1/2026
1 citation

No official code found. Best implementation: yunhanwang1105/DeCoDe (7 stars, last commit 2026-08-25).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

[ECCV 2026] Official repository for the paper - Decompose, Compare, and Decide: Multimodal LLMs are Implicit Few-Shot Learners

71Jun 23, 20263 months agoNOASSERTION

Similar Papers

Cite this paper

@article{wang2026decompose,
  title  = {Decompose, Compare, and Decide: Multimodal LLMs are Implicit Few-Shot Learners},
  author = {Yunhan Wang and Eshika Khandelwal and Edson Araujo and Walid Bousselham and Nina Shvetsova and Hildegard Kuehne},
  year   = {2026},
  eprint = {2607.00125},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2607.00125},
  journal = {European Conference on Computer Vision}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.00125.svg)](https://codeofpaper.com/paper/2607.00125)

Discussion