ReCLIP: A Strong Zero-Shot Baseline for Referring Expression Comprehension

Sanjay Subramanian, William Merrill, Trevor Darrell, Matt Gardner, Sameer Singh +1 more
4/12/2022
205 citations
cs.CVcs.CL

Official code: allenai/reclip (93 stars, Python, Apache-2.0, last commit 2022-04-15).

Abstract

Training a referring expression comprehension (ReC) model for a new visual domain requires collecting referring expressions, and potentially corresponding bounding boxes, for images in the domain. While large-scale pre-trained models are useful for image classification across domains, it remains unclear if they can be applied in a zero-shot manner to more complex tasks like ReC.

Show full abstract

We present ReCLIP, a simple but strong zero-shot baseline that repurposes CLIP, a state-of-the-art large-scale model, for ReC. Motivated by the close connection between ReC and CLIP's contrastive pre-training objective, the first component of ReCLIP is a region-scoring method that isolates object proposals via cropping and blurring, and passes them to CLIP. However, through controlled experiments on a synthetic dataset, we find that CLIP is largely incapable of performing spatial reasoning off-the-shelf. Thus, the second component of ReCLIP is a spatial relation resolver that handles several types of spatial relations. We reduce the gap between zero-shot baselines from prior work and supervised models by as much as 29% on RefCOCOg, and on RefGTA (video game imagery), ReCLIP's relative improvement over supervised ReC models trained on real images is 8%.

View on arXivView PDF

Code Implementations(1)

allenai/reclipOfficial100%
Apache-2.0
9314Python, ShellApr 7, 20224 years agoApache-2.0

Similar Papers

Cite this paper

@article{subramanian2022reclip,
  title  = {ReCLIP: A Strong Zero-Shot Baseline for Referring Expression Comprehension},
  author = {Sanjay Subramanian and William Merrill and Trevor Darrell and Matt Gardner and Sameer Singh and Anna Rohrbach},
  year   = {2022},
  eprint = {2204.05991},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.05991}
}

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

Discussion