大模型可当通用分类器,用上下文示例就能超对比模型。
Large Multimodal Models as General In-Context Classifiers
- 用少量示例让大模型在上下文中学习分类,无需微调。
- 开世界场景下,大模型性能超越对比模型,尤其配合伪标签迭代优化。
- 适合需要灵活适配新类别的任务,替代专用分类模型。
针对多模态分类该选哪种模型?以往研究认为应选类似CLIP的对比视觉语言模型(VLM),因其零样本分类表现优异。相比之下,大型多模态模型(LMM)更适用于复杂任务。本文提出,这一观点忽略了LMM的关键能力:上下文学习。我们在多个数据集上对前沿LMM进行封闭世界分类评估发现,尽管其零样本性能低于CLIP,但仅需少量上下文示例即可匹配甚至超越使用缓存适配器的CLIP模型。进一步扩展至开放世界场景,由于生成特性,LMM更具优势;但当上下文信息不完整时,其性能会下降。为此,我们提出CIRCLE——一种无需训练的伪标签迭代方法,利用已有上下文自我修正标签。大量实验表明,CIRCLE建立了开放世界分类的稳健基线,优于传统VLM,彰显了LMM作为统一分类器的潜力,可作为专用模型的灵活替代方案。
原文摘要 · Abstract (English)
Which multimodal model should we use for classification? Previous studies suggest that the answer lies in CLIP-like contrastive Vision-Language Models (VLMs), due to their remarkable performance in zero-shot classification. In contrast, Large Multimodal Models (LMM) are more suitable for complex tasks. In this work, we argue that this answer overlooks an important capability of LMMs: in-context learning. We benchmark state-of-the-art LMMs on diverse datasets for closed-world classification and find that, although their zero-shot performance is lower than CLIP's, LMMs with a few in-context examples can match or even surpass contrastive VLMs with cache-based adapters, their "in-context" equivalent. We extend this analysis to the open-world setting, where the generative nature of LMMs makes them more suitable for the task. In this challenging scenario, LMMs struggle whenever provided with imperfect context information. To address this issue, we propose CIRCLE, a simple training-free method that assigns pseudo-labels to in-context examples, iteratively refining them with the available context itself. Through extensive experiments, we show that CIRCLE establishes a robust baseline for open-world classification, surpassing VLM counterparts and highlighting the potential of LMMs to serve as unified classifiers, and a flexible alternative to specialized models.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。