Enhancing Vision-Language Few-Shot Adaptation with Negative Learning

Ce Zhang, Simon Stepputtis, Katia Sycara, Yaqi Xie
3/19/2024
cs.CVcs.CL

Official code: zhangce01/SimNL (13 stars, last commit 2025-02-24). 1 more implementation below.

Abstract

Large-scale pre-trained Vision-Language Models (VLMs) have exhibited impressive zero-shot performance and transferability, allowing them to adapt to downstream tasks in a data-efficient manner. However, when only a few labeled samples are available, adapting VLMs to distinguish subtle differences between similar classes in specific downstream tasks remains challenging. In this work, we propose a Simple yet effective Negative Learning approach, SimNL, to more efficiently exploit the task-specific knowledge from few-shot labeled samples. Unlike previous methods that focus on identifying a set of representative positive features defining "what is a {CLASS}", SimNL discovers a complementary set of negative features that define "what is not a {CLASS}", providing additional insights that supplement the positive features to enhance task-specific recognition capability. Further, we identify that current adaptation approaches are particularly vulnerable to potential noise in the few-shot sample set. To mitigate this issue, we introduce a plug-and-play few-shot instance reweighting technique to suppress noisy outliers and amplify clean samples for more stable adaptation. Our extensive experimental results across 15 datasets validate that the proposed SimNL outperforms existing state-of-the-art methods on both few-shot learning and domain generalization tasks while achieving competitive computational efficiency. Code is available at https://github.com/zhangce01/SimNL.

View on arXivView PDF

Code Implementations(2)

zhangce01/SimNLOfficial100%

[WACV 2025] Code for Enhancing Vision-Language Few-Shot Adaptation with Negative Learning

130Python, Jupyter NotebookMay 16, 20241 years ago
MIT

Code for Negative Yields Positive: Unified Dual-Path Adapter for Vision-Language Models

251PythonMar 15, 20241 years agoMIT

Similar Papers

Cite this paper

@article{zhang2024enhancing,
  title  = {Enhancing Vision-Language Few-Shot Adaptation with Negative Learning},
  author = {Ce Zhang and Simon Stepputtis and Katia Sycara and Yaqi Xie},
  year   = {2024},
  eprint = {2403.12964},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.12964v2}
}

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/2403.12964.svg)](https://codeofpaper.com/paper/2403.12964)

Discussion