Phrase Localization and Visual Relationship Detection with Comprehensive Image-Language Cues

Bryan A. Plummer, Arun Mallya, Christopher M. Cervantes, Julia Hockenmaier, Svetlana Lazebnik

Abstract

This paper presents a framework for localization or grounding of phrases in images using a large collection of linguistic and visual cues. We model the appearance, size, and position of entity bounding boxes, adjectives that contain attribute information, and spatial relationships between pairs of entities connected by verbs or prepositions. Special attention is given to relationships between people and clothing or body part mentions, as they are useful for distinguishing individuals. We automatically learn weights for combining these cues and at test time, perform joint inference over all phrases in a caption. The resulting system produces state-of-the-art performance on phrase localization on the Flickr30k Entities dataset and visual relationship detection on the Stanford VRD dataset.

Introduction

In computer vision, phrase localization is the task of mapping natural language descriptions to specific image regions. While deep learning has significantly advanced image captioning, accurately grounding these captions in pixels remains a challenge. Previous methods often relied on narrow cues, primarily matching region appearance to words. However, human language is context-rich, utilizing adjectives, spatial prepositions, and verbs to distinguish objects. This research introduces a comprehensive framework that integrates a wide array of linguistic and visual cues to bridge this gap.

Methodology: A Multi-Cue Approach

The proposed system utilizes a joint localization objective combining 14 single-phrase cues (SPC) and 3 phrase-pair cues (PPC).

Overview of the linguistic and visual cues used for phrase localization, including entities, adjectives, verbs, and prepositions.

Single-Phrase Cues (SPC)

These cues evaluate how well a bounding box fits a specific phrase:

  • Appearance: Canonical Correlation Analysis (CCA) maps image features and text embeddings into a shared space.
  • Attributes: Specialized detectors identify 83 common adjectives, primarily colors.
  • Verbs: Subject-verb and verb-object models capture how actions modify an entity's appearance (e.g., "running" vs. "sitting").
  • Geometry: Learned models account for typical sizes and positions of entity types.

Phrase-Pair Cues (PPC)

These model relationships between entities:

  • Spatial Models: Classifiers for prepositions and verbs.
  • Attachment Cues: A specialized model for clothing and body parts, treating them as "attached" to a person rather than independent objects.

The system performs joint inference by solving a binary quadratic programming problem to find the most globally consistent set of bounding boxes for an entire caption.

Key Insights

  • Verbs are Visual Modifiers: Verbs are not just labels; they change how an object looks. Action-specific detectors capture these nuances.
  • The Attachment Priority: Clothing and body parts are localized more accurately when treated as relative to a person rather than independent objects.
  • Semantic Generalization: Using CCA allows for "zero-shot" relationship detection by leveraging semantic similarities in the embedding space.

Experimental Results

The model was evaluated on the Flickr30k Entities and Stanford VRD datasets.

Qualitative comparison showing the proposed method ('Ours') outperforming the previous state-of-the-art (RtP) across various complex scenes.

On Flickr30k Entities, the model achieved 55.85% accuracy (Recall@1), a significant improvement over the previous state-of-the-art (50.89%). Ablation studies showed that adding adjectives, verbs, and size cues provided a ~9% boost. In the Stanford VRD dataset, the model excelled in zero-shot relationship detection, achieving 13.43% R@100—nearly four times higher than previous benchmarks.

Discussion and Future Work

While the system shows strong performance, it remains dependent on the quality of initial object proposals. Small objects like body parts are still challenging to localize accurately. Future work aims to integrate these diverse cues into a single, end-to-end trainable neural network to simplify the pipeline and improve performance on fine-grained entities.

Summary updated

BibTeX
@inproceedings{plummer2017phrase,
  author = {Bryan A. Plummer and Arun Mallya and Christopher M. Cervantes and Julia Hockenmaier and Svetlana Lazebnik},
  title = {{Phrase Localization and Visual Relationship Detection with Comprehensive Image-Language Cues}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2017},
  url = {https://openreview.net/forum?id=Bk-8sZMuWS},
}
Figure