arXiv:2607.00125cs.CV2026-07

让现成多模态大模型无需训练就能高效做少样本图像分类

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

论文配图:Decompose, Compare, and Decide: Multimodal LLMs are Implicit Few-Shot Learners
图 1 · 摘自论文原文
  • 将图像分类拆解为一对对图像的相似性判断,用模型输出作得分
  • 在12个数据集上超越当前最佳方法,新领域表现尤其突出
  • 适合想快速部署少样本分类但不想调参的研究者和工程师

多模态大语言模型在图像分析方面表现出色,但将其能力迁移至少样本图像分类仍具挑战。为此,我们提出DeCoDe——一种简单有效的技术,使现成的MLLM无需额外训练即可成为强少样本分类器。该方法将少样本分类任务视为一系列成对图像比较,将查询图像与候选类别支持图像对比,让模型判断两者是否属于同一类别。模型对‘是’的回答对应的逻辑值作为相似度分数,用于为查询图像分配最可能的类别。该方法本身已取得良好效果,进一步提供如数据领域等高层信息可进一步提升性能。我们在一套包含12个数据集(6个经典+6个新构建)的基准上进行了广泛评估,涵盖多个不同领域。结果表明,这种简单的分解策略能显著提升现成MLLM的少样本学习能力,在标准与新领域任务中均大幅超越现有最优方法。代码已开源:https://github.com/yunhanwang1105/DeCoDe。

原文摘要 · Abstract (English)

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.

少样本学习多模态模型图像分类

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。