Query-Guided Regression Network with Context Policy for Phrase Grounding

Kan Chen, Rama Kovvuri, Ram Nevatia

Introduction

Phrase grounding is a critical task in computer vision and natural language processing that involves localizing specific objects within an image based on a natural language query. Traditional state-of-the-art methods typically follow a "search and rank" pipeline: generating a large set of candidate bounding boxes using unsupervised algorithms and then ranking them based on their similarity to the text query.

However, this approach suffers from two significant limitations. First, it is constrained by the "Proposal Bottleneck," where the system's performance is capped by the quality of an independent, non-specialized proposal tool. Second, it often exhibits "Context Neglect," treating query phrases in isolation and ignoring the rich relational information present in a full sentence that could help disambiguate targets.

Methodology: The QRC Net Architecture

To overcome these hurdles, the authors introduce the Query-guided Regression Network with Context Policy (QRC Net). This framework integrates three interconnected components designed to move beyond simple retrieval.

1. Proposal Generation Network (PGN)

Unlike previous models that rely on external candidate generators, QRC Net utilizes a PGN to learn to generate its own candidate boxes. This ensures that visual features are optimized specifically for the grounding task from the outset.

2. Query-guided Regression Network (QRN)

QRN introduces spatial regression into the grounding process. Instead of merely ranking existing boxes, the network predicts spatial offsets to "shift" the boundaries of candidate boxes, allowing the model to refine its localization even if the initial proposal was slightly off-target.

Figure 1: Visualization of the grounding process showing multiple candidate boxes (e.g., man, guitar, child) and their associated confidence scores.

3. Context Policy Network (CPN)

The CPN is a reinforcement learning-based module that acts as a "critic." Because ranking is non-differentiable, the CPN assigns rewards based on how well the model distinguishes the target from other entities mentioned in the sentence (the context). If the model mistakenly selects a box corresponding to a context object rather than the primary target, it receives a lower reward, teaching it to leverage the full sentence structure for better discrimination.

Figure 2: Detail of the Context Reward mechanism, which penalizes the model for selecting context-related objects instead of the primary query target.

Experimental Results

The QRC Net was evaluated on the Flickr30K Entities and Referit Game benchmarks, yielding substantial performance gains over previous state-of-the-art (SOTA) methods:

  • Flickr30K Entities: The model achieved an accuracy of 65.14%, representing a 14.25% absolute increase over the previous SOTA.
  • Referit Game: The model reached 44.07% accuracy, a 17.14% absolute increase.

Ablation studies confirmed the importance of each component. The inclusion of spatial regression (QRN) provided the most significant jump in performance, while the Context Policy (CPN) added a further ~5% boost on Flickr30K, demonstrating that context-aware reinforcement learning is a highly effective strategy for complex vision-language tasks.

Discussion and Future Work

While QRC Net sets a new benchmark, its effectiveness is somewhat dependent on the richness of the linguistic context. On datasets like Referit Game, where queries are often isolated phrases, the benefit of the CPN is less pronounced. Future research may explore more explicit relationship modeling, such as graph-based structures, or more sophisticated reward functions to further enhance the model's ability to handle inherent ambiguity in natural scenes.

Summary updated

BibTeX
@inproceedings{chen2017query,
  author = {Kan Chen and Rama Kovvuri and Ram Nevatia},
  title = {{Query-Guided Regression Network with Context Policy for Phrase Grounding}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2017},
  doi = {10.1109/iccv.2017.95},
}
Figure