Skip to main content
QUICK REVIEW

[Paper Review] DualCoOp: Fast Adaptation to Multi-Label Recognition with Limited Annotations

Ximeng Sun, Ping Hu|arXiv (Cornell University)|Jun 20, 2022
Text and Document Classification TechnologiesComputer Science42 citations
TL;DR

DualCoOp leverages dual positive/negative prompts and class-specific region feature aggregation to adapt vision–language models (CLIP) to multi-label recognition with limited annotations and zero-shot scenarios, achieving state-of-the-art results with minimal learnable parameters.

ABSTRACT

Solving multi-label recognition (MLR) for images in the low-label regime is a challenging task with many real-world applications. Recent work learns an alignment between textual and visual spaces to compensate for insufficient image labels, but loses accuracy because of the limited amount of available MLR annotations. In this work, we utilize the strong alignment of textual and visual features pretrained with millions of auxiliary image-text pairs and propose Dual Context Optimization (DualCoOp) as a unified framework for partial-label MLR and zero-shot MLR. DualCoOp encodes positive and negative contexts with class names as part of the linguistic input (i.e. prompts). Since DualCoOp only introduces a very light learnable overhead upon the pretrained vision-language framework, it can quickly adapt to multi-label recognition tasks that have limited annotations and even unseen classes. Experiments on standard multi-label recognition benchmarks across two challenging low-label settings demonstrate the advantages of our approach over state-of-the-art methods.

Motivation & Objective

  • Motivate multi-label recognition under limited annotations and practical zero-shot settings.
  • Leverage pre-trained vision-languageALIGNMENT (CLIP) with lightweight prompt learning.
  • Develop a dual-prompt (positive/negative) framework to produce robust per-class classifiers.
  • Improve spatial modeling for multi-object scenes via class-specific region feature aggregation.
  • Demonstrate strong performance on partial-label and zero-shot MLR benchmarks.

Proposed method

  • Introduce DualCoOp with per-class dual prompts (positive and negative) fed into the CLIP text encoder.
  • Compute region-wise visual features projected to text space and perform class-specific aggregation of region logits.
  • Use an ASL loss to train only the prompts while keeping CLIP frozen.
  • Replace standard CLIP attention pooling with class-specific region feature aggregation to better capture spatial information.
  • During inference, compare positive and negative logits to predict each label per image.

Experimental results

Research questions

  • RQ1How can we adapt vision-language models efficiently to multi-label recognition with limited labels?
  • RQ2Do dual prompts (positive and negative) improve discrimination between present and absent labels in MLR?
  • RQ3Can class-specific spatial aggregation improve multi-label recognition over standard attention pooling?
  • RQ4How does DualCoOp perform in partial-label MLR and zero-shot MLR settings compared to state-of-the-art?
  • RQ5Is the approach scalable with minimal learnable parameters across datasets?

Key findings

  • DualCoOp achieves best mAP across partial-label settings on MS-COCO and VOC2007 with minimal learnable parameters (1.3M).
  • On VOC2007, DualCoOp improves mAP by 6.8 percentage points over the second-best method at 10% labeling.
  • In zero-shot MLR on MS-COCO and NUS-WIDE, DualCoOp yields top results in F1 at Top-3/Top-5 with very small parameter overhead (0.02M).
  • Class-specific region feature aggregation outperforms standard CLIP attention pooling, especially at higher input resolutions.
  • Dual prompts (positive and negative) provide complementary textual context that enhances downstream classification.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.