Exploring Phrase Grounding without Training: Contextualisation and Extension to Text-Based Image Retrieval

Letitia Parcalabescu, Anette Frank

Abstract

Traditional phrase grounding—the task of localizing textual phrases within images—relies heavily on large-scale annotated datasets. This paper introduces an unsupervised approach that leverages structured scene graphs and external linguistic knowledge (WordNet) to perform phrase grounding without any training. The proposed system outperforms several weakly supervised models and rivals supervised baselines, demonstrating that structured context can effectively substitute for manual supervision.

Introduction

Phrase grounding is a fundamental task in bridging computer vision and natural language processing, requiring the localization of specific phrases (e.g., "a newborn Siamese kitten") within an image via bounding boxes. Conventionally, this task is approached through "strong supervision," using thousands of manually annotated boxes, or "weak supervision," using image-caption pairs. However, these methods are data-intensive and often produce "black box" models.

Supervision levels: Strong supervision (bounding boxes), Weak supervision (image-level labels), and the proposed NO annotation pairs approach using scene graphs and linguistic hierarchies.

The authors investigate the feasibility of phrase grounding with zero training and zero aligned data. They build upon the "Bag of Objects" (BoO) approach, which matches phrases to object detector labels. While BoO is simple, it lacks context and struggles with specific terminology. This research proposes a contextualized pipeline to overcome these limitations.

Methodology: Contextualisation and Knowledge Injection

The proposed unsupervised pipeline replaces simple label-matching with a three-pillar contextualisation strategy:

  1. Structured Visual Representation: The system utilizes Scene Graphs (SG) instead of flat object lists. This allows the model to capture relationships (e.g., child -> climbing -> stairs), providing the necessary context to distinguish between similar objects.
  2. Knowledge Injection: To bridge the gap between detector vocabularies and natural language, the researchers integrate external knowledge from WordNet and the Open Images hierarchy. This enables the system to understand taxonomic relationships, such as recognizing that a "uniform" is a type of "clothing."
  3. Contextualized Ranking: Grounding scores are calculated by combining cosine similarity (via word2vec) and WordNet path similarity. This dual-metric approach helps disambiguate objects by evaluating their position within linguistic and visual hierarchies.
Example of mapping the generic concept 'uniforms' to specific visual entities and their relationships using structured knowledge.

Evaluation and Results

The approach was evaluated on the Flickr30k Entities dataset for phrase grounding and a subset of Flickr30k for image retrieval.

Phrase Grounding Performance

The best-performing model configuration (visgen + sg + wn_path_sim) achieved an accuracy of 57.08% on Flickr30k Entities. This result significantly outperforms the weakly supervised GroundeR model (28.94%) and exceeds the performance of the supervised CCA model (50.89%).

Image Retrieval Stress Test

In the image retrieval task, the system achieved 15.3% R@1. While respectable for an unsupervised method, it falls short of modern supervised transformers like ViLBERT (58.2% R@1). This highlights that while symbolic labels are excellent for localization, they lack the fine-grained visual features (texture, color) required for high-precision retrieval.

Discussion and Key Insights

The study reveals that structured context is a powerful substitute for supervision. By utilizing a detector with a finer-grained label set (Open Images v5), the authors raised the theoretical "proposal upper bound" from approximately 50% to 90%, indicating that the quality of the underlying detector is a primary bottleneck. Furthermore, linguistic hierarchies proved highly precise; 80% of correct proposals were within three "hops" in the WordNet tree.

Limitations

Two primary hurdles remain:

  • Error Propagation: Mistakes in the initial scene graph generation cannot be corrected, as the grounding logic does not re-examine raw pixels.
  • The Visual Gap: Symbolic labels alone are insufficient for tasks requiring nuanced visual understanding, such as distinguishing between very similar scenes in image retrieval.

Conclusion

This research establishes a robust baseline for unsupervised phrase grounding. It demonstrates that many complex supervised models may primarily be learning patterns already present in basic linguistic and visual structures. Future work will focus on integrating unsupervised visual features to complement symbolic scene graphs.

Summary updated

BibTeX
@inproceedings{parcalabescu2020exploring,
  author = {Letitia Parcalabescu and Anette Frank},
  title = {{Exploring Phrase Grounding without Training: Contextualisation and Extension to Text-Based Image Retrieval}},
  booktitle = {Workshops @ CVPR},
  year = {2020},
  doi = {10.1109/cvprw50498.2020.00489},
}
Figure