Large language models (LLMs) have emerged as powerful general-purpose interfaces for many machine learning problems. Recent work has adapted LLMs to generative visual tasks like image captioning, visual question answering, and visual chat, using a relatively small amount of instruction-tuning data. In this paper, we explore whether modern LLMs can also be adapted to classifying an image into a set of categories. First, we evaluate multimodal LLMs that are tuned for generative tasks on zero-shot image classification and find that their performance is far below that of specialized models like CLIP. We then propose an approach for light fine-tuning of LLMs using the same contrastive image-caption matching objective as CLIP. Our results show that LLMs can, indeed, achieve good image classification performance when adapted this way. Our approach beats state-of-the-art mLLMs by 13% and slightly outperforms contrastive learning with a custom text model, while also retaining the LLM's generative abilities. LLM initialization appears to particularly help classification in domains under-represented in the visual pre-training data.
Unsupervised Multiview Contrastive Language-Image Joint Learning with Pseudo-Labeled Prompts Via Vision-Language Model for 3D/4D Facial Expression Recognition
Contrastive Language-Image Learning with Augmented Textual Prompts for 3D/4D FER Using Vision-Language Model
Information & Computer Science Department, King Fahd University of Petroleum & Minerals(国王法赫德石油与矿物大学信息与计算机科学系);Center for Machine Vision and Signal Analysis, University of Oulu(奥卢大学机器视觉与信号分析中心)
Test-time Contrastive Concepts for Open-world Semantic Segmentation with Vision-Language Models
Warsaw University of Technology(华沙技术大学);CIIRC CTU Prague(布拉格CTU计算机科学与机器人研究所);FEE CTU Prague(布拉格CTU电子工程系);Tooploox;LIGM, École des Ponts et Chaussées, IP Paris, CNRS, France(法国巴黎理工学院LIGM研究所);Université Grenoble Alpes(格勒诺布尔大学)
PromptCAL: Contrastive Affinity Learning via Auxiliary Prompts for Generalized Novel Category Discovery
Mohamed bin Zayed University of AI(穆罕默德·本·扎耶德人工智能大学);Hong Kong University of Science and Technology(香港科技大学);Australian National University(澳大利亚国立大学);Linköping University(林雪平大学);Carnegie Mellon University(卡内基梅隆大学)
Beyond Degradation Redundancy: Contrastive Prompt Learning for All-in-One Image Restoration
School of Computer Science and Technology, Harbin Institute of Technology(计算机科学与技术学院,哈尔滨工业大学);School of Computer Science and Technology, Harbin Institute of Technology (Shenzhen)(计算机科学与技术学院,哈尔滨工业大学(深圳))
CRISP: Contrastive Residual Injection and Semantic Prompting for Continual Video Instance Segmentation
State Key Laboratory of Robotics and Intelligent Systems, Shenyang Institute of Automation, Chinese Academy of Sciences(机器人与智能系统国家重点实验室,沈阳自动化研究所,中国科学院);University of Chinese Academy of Sciences(中国科学院大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)
Think Bright, Diffuse Nice: Enhancing T2I-ICL via Inductive-Bias Hint Instruction and Query Contrastive Decoding
Cao Tu Li (Guangzhou) Technology Co., Ltd(曹图利(广州)科技有限公司);South China University of Technology(华南理工大学);Washington State University(华盛顿州立大学);Hong Kong Baptist University(香港 Baptist 大学)
TPA: Temporal Prompt Alignment for Fetal Congenital Heart Defect Classification
Department of Machine Learning Mohamed bin Zayed University of Artificial Intelligence (MBZUAI) Abu Dhabi, UAE(机器学习系,Mohamed bin Zayed人工智能大学(MBZUAI),阿布扎比,阿联酋);Department of Computer Vision Mohamed bin Zayed University of Artificial Intelligence (MBZUAI) Abu Dhabi, UAE(计算机视觉系,Mohamed bin Zayed人工智能大学(MBZUAI),阿布扎比,阿联酋)
HCVP: Leveraging Hierarchical Contrastive Visual Prompt for Domain Generalization
Mohamed bin Zayed University of Artificial Intelligence(莫扎德·本·扎耶德人工智能大学);University of New South Wales(新南威尔士大学);Carnegie Mellon University(卡内基梅隆大学);University of California, San Diego(加州大学圣地亚哥分校);CSIRO’s Data61(CSIRO数据61);University of Sydney(悉尼大学);Macquarie University(麦考瑞大学)
ProGEO: Generating Prompts through Image-Text Contrastive Learning for Visual Geo-localization
Shanghai Institute of Microsystem and Information Technology, Chinese Academy of Sciences(中国科学院上海微系统与信息技术研究所);University of Chinese Academy of Sciences(中国科学院大学)
Contrastive Learning Guided Latent Diffusion Model for Image-to-Image Translation
School of Computer Science and Information Engineering, Hefei University of Technology(合肥工业大学计算机与信息工程学院);Yunnan Key Laboratory of Software Engineering(云南省软件工程重点实验室);School of Computer Science and Engineering, Donghua University(东华大学计算机科学与技术学院);ByteDance(字节跳动);School of Computer and Artificial Intelligence, Zhengzhou University(郑州大学计算机与人工智能学院)
Prompt, Generate, then Cache: Cascade of Foundation Models makes Strong Few-shot Learners
The Chinese University of Hong Kong(香港中文大学);Shanghai Jiaotong University(上海交通大学);University of Chinese Academy of Sciences(中国科学院大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Shenzhen Institutes of Advanced Technology, Chinese Academy of Science(中国科学院深圳先进技术研究院)
CROC: Evaluating and Training T2I Metrics with Pseudo- and Human-Labeled Contrastive Robustness Checks
University of Mannheim(曼海姆大学);University of Technology Nuremberg(纽伦堡技术大学);Max Planck Institute for Informatics, Saarland Informatics Campus(马克斯·普朗克信息研究所,萨尔兰信息校园)