[Paper Review] What is Where by Looking: Weakly-Supervised Open-World Phrase-Grounding without Text Inputs
This paper proposes a weakly supervised, open-world method for purely visual phrase grounding—'What is Where by Looking' (WWbL)—that detects and localizes objects in an image using only the image as input, without any text or bounding box annotations during training. By combining CLIP for image-text matching and BLIP for image captioning, the method achieves state-of-the-art performance in weakly supervised localization and phrase grounding, matching fully supervised baselines using human captions.
Given an input image, and nothing else, our method returns the bounding boxes of objects in the image and phrases that describe the objects. This is achieved within an open world paradigm, in which the objects in the input image may not have been encountered during the training of the localization mechanism. Moreover, training takes place in a weakly supervised setting, where no bounding boxes are provided. To achieve this, our method combines two pre-trained networks: the CLIP image-to-text matching score and the BLIP image captioning tool. Training takes place on COCO images and their captions and is based on CLIP. Then, during inference, BLIP is used to generate a hypothesis regarding various regions of the current image. Our work generalizes weakly supervised segmentation and phrase grounding and is shown empirically to outperform the state of the art in both domains. It also shows very convincing results in the novel task of weakly-supervised open-world purely visual phrase-grounding presented in our work. For example, on the datasets used for benchmarking phrase-grounding, our method results in a very modest degradation in comparison to methods that employ human captions as an additional input. Our code is available at https://github.com/talshaharabany/what-is-where-by-looking and a live demo can be found at https://replicate.com/talshaharabany/what-is-where-by-looking.
Motivation & Objective
- To address the novel task of weakly supervised, open-world, purely visual phrase grounding, where no text or bounding box annotations are used during training.
- To enable object detection and description in an open-world setting, where objects may not be in the training vocabulary.
- To achieve competitive performance in phrase grounding without requiring human-annotated captions as input.
- To demonstrate that weakly supervised localization can be effectively generalized to open-world visual phrase grounding using pre-trained vision-language models.
Proposed method
- Trains a segmentation network $g$ using only image captions from COCO, without bounding boxes or segmentation masks, making it weakly supervised.
- Uses CLIP's image-text matching score as a supervision signal to align foreground regions with their corresponding captions.
- Employs four loss terms: foreground matching ($L_{\text{fore}}$), background rejection ($L_{\text{back}}$), CLIP's relevance map guidance ($L_{\text{rmap}}$), and mask regularization ($L_{\text{reg}}$).
- During inference, applies selective search to generate object proposals, then uses BLIP to generate candidate phrases for each region.
- Clusters the generated phrases in CLIP’s embedding space to avoid redundancy and selects the most representative phrases.
- Applies the trained network $g$ to predict foreground masks for each phrase using the full image and the phrase as input.
Experimental results
Research questions
- RQ1Can a weakly supervised method achieve state-of-the-art performance in phrase grounding without any text input during inference?
- RQ2Can an open-world object detection system generalize to unseen object categories using only image-level supervision?
- RQ3How effective is the integration of CLIP’s matching score and BLIP’s captioning capability for purely visual phrase grounding?
- RQ4To what extent does the use of explainability maps from CLIP improve localization performance?
- RQ5Can a weakly supervised localization model trained on COCO captions generalize to zero-shot phrase grounding on unseen images?
Key findings
- The proposed method achieves 61.03% average mAP on MS-COCO and 65.95% on Visual Genome for phrase grounding, comparable to fully supervised baselines using human captions.
- The ablation study shows that removing the $L_{\text{rmap}}$ loss term reduces performance by over 9%, highlighting its importance for localization accuracy.
- The optimal regularization coefficient $\lambda_3 = 4$ yields 96.50% accuracy on CUB for weakly supervised localization, with stable performance across a wide range of values.
- The method outperforms state-of-the-art weakly supervised localization and phrase grounding models on both MS-COCO and Visual Genome benchmarks.
- The use of BLIP for phrase generation and CLIP for matching enables robust, redundant-free phrase clustering, improving phrase grounding quality.
- The method generalizes well to web images and real-world datasets like BBC’s 'Week in Pictures', demonstrating strong zero-shot generalization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.