Text as Image: Learning Transferable Adapter for Multi-Label Classification

Xuelin Zhu, Jiuxin Cao, Jian liu, Dongqi Tang, Furong Xu +5 more
12/7/2023
cs.CV

No confident code implementation found for this paper.

Abstract

Pre-trained vision-language models have notably accelerated progress of open-world concept recognition. Their impressive zero-shot ability has recently been transferred to multi-label image classification via prompt tuning, enabling to discover novel labels in an open-vocabulary manner. However, this paradigm suffers from non-trivial training costs, and becomes computationally prohibitive for a large number of candidate labels. To address this issue, we note that vision-language pre-training aligns images and texts in a unified embedding space, making it potential for an adapter network to identify labels in visual modality while be trained in text modality. To enhance such cross-modal transfer ability, a simple yet effective method termed random perturbation is proposed, which enables the adapter to search for potential visual embeddings by perturbing text embeddings with noise during training, resulting in better performance in visual modality. Furthermore, we introduce an effective approach to employ large language models for multi-label instruction-following text generation. In this way, a fully automated pipeline for visual label recognition is developed without relying on any manual data. Extensive experiments on public benchmarks show the superiority of our method in various multi-label classification tasks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhu2023text,
  title  = {Text as Image: Learning Transferable Adapter for Multi-Label Classification},
  author = {Xuelin Zhu and Jiuxin Cao and Jian liu and Dongqi Tang and Furong Xu and Weijia Liu and Jiawei Ge and Bo Liu and Qingpei Guo and Tianyi Zhang},
  year   = {2023},
  eprint = {2312.04160},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.04160v1}
}

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

Discussion