Learning Customized Visual Models with Retrieval-Augmented Knowledge

Haotian Liu, Kilho Son, Jianwei Yang, Ce Liu, Jianfeng Gao +2 more
1/17/2023
cs.CVcs.AIcs.CL

No official code found. Best implementation: microsoft/react (141 stars, MIT, last commit 2023-04-07).

Abstract

Image-text contrastive learning models such as CLIP have demonstrated strong task transfer ability. The high generality and usability of these visual models is achieved via a web-scale data collection process to ensure broad concept coverage, followed by expensive pre-training to feed all the knowledge into model weights. Alternatively, we propose REACT, REtrieval-Augmented CusTomization, a framework to acquire the relevant web knowledge to build customized visual models for target domains. We retrieve the most relevant image-text pairs (~3% of CLIP pre-training data) from the web-scale database as external knowledge, and propose to customize the model by only training new modualized blocks while freezing all the original weights. The effectiveness of REACT is demonstrated via extensive experiments on classification, retrieval, detection and segmentation tasks, including zero, few, and full-shot settings. Particularly, on the zero-shot classification task, compared with CLIP, it achieves up to 5.4% improvement on ImageNet and 3.7% on the ELEVATER benchmark (20 datasets).

View on arXivView PDF

Code Implementations(1)

microsoft/reactCommunity100%
MIT

REACT (CVPR 2023, Highlight 2.5%)

14113Python, MakefileDec 15, 20223 years agoMIT

Similar Papers

Cite this paper

@article{liu2023learning,
  title  = {Learning Customized Visual Models with Retrieval-Augmented Knowledge},
  author = {Haotian Liu and Kilho Son and Jianwei Yang and Ce Liu and Jianfeng Gao and Yong Jae Lee and Chunyuan Li},
  year   = {2023},
  eprint = {2301.07094},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.07094v1},
  journal = {CVPR 2023 2023}
}

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

Discussion