Knowledge-guided Pairwise Reconstruction Network for Weakly Supervised Referring Expression Grounding

Xuejing Liu, Liang Li, Shuhui Wang, Zheng-Jun Zha, Qingming Huang

Referring Expression Grounding (REG) is a critical task in computer vision and natural language processing, requiring a model to localize a specific object in an image based on a natural language description. While supervised methods have shown success, they rely on expensive, manually annotated bounding-box-to-query pairs. Weakly supervised REG offers a more scalable alternative, training on image-query pairs without explicit grounding labels. However, existing weakly supervised approaches often struggle because they treat objects as isolated entities, ignoring the relational context humans use to describe targets.

The KPRN Framework

To address these limitations, the Knowledge-guided Pairwise Reconstruction Network (KPRN) introduces a relational approach. Instead of searching for a single object, KPRN models the relationship between a "subject" (the target) and a "contextual object."

Figure 3: Examples of KPRN grounding results across various datasets. The model identifies the subject (red box) by leveraging its relationship with a contextual object (blue box), such as a laptop, frisbee, or building.

The framework operates through four key stages:

  1. Knowledge Extraction: The model uses a language parser to identify subjects and objects in the query. It then utilizes a pre-trained Faster R-CNN and GloVe embeddings to calculate semantic similarity between query terms and detected image regions, providing a "soft" initialization for the grounding process.
  2. Subject and Object Attention: Guided by this prior knowledge, the model filters candidate regions to identify the most likely subjects and their corresponding contextual anchors.
  3. Pairwise Attention & Adaptive Weighting: KPRN pairs subject and object candidates, applying an adaptive weighting scheme based on spatial distance. This mimics human linguistic patterns, where targets are typically described relative to nearby objects.
  4. Pairwise Reconstruction: The core of the weak supervision is a reconstruction loss. The model attempts to regenerate the original text query from the features of the selected region pair. Successful reconstruction indicates that the model has correctly identified the relevant visual entities.

Key Results and Impact

KPRN demonstrates a significant performance leap over previous state-of-the-art methods. On the RefCLEF benchmark, it achieved 33.87% accuracy, more than doubling the performance of the previous leading model, KAC Net (15.83%). It also showed robust performance on the RefCOCO series, particularly on RefCOCO+, where the absence of spatial keywords (like "left" or "right") forces models to rely heavily on visual relationships.

Ablation studies confirmed that both the inclusion of contextual object features and the spatial weighting mechanism are vital. Removing these components led to a sharp decline in accuracy, proving that relational context is the "anchor" for successful weakly supervised grounding.

Conclusion

KPRN represents a major step forward in weakly supervised REG by shifting the focus from individual objects to object pairs. By integrating prior semantic knowledge and spatial logic, it effectively disambiguates complex queries. Future work may expand this to multi-object relationships and more sophisticated scene graph modeling to further bridge the gap between human perception and machine vision.

Summary updated

BibTeX
@inproceedings{liu2019knowledge,
  author = {Xuejing Liu and Liang Li and Shuhui Wang and Zheng-Jun Zha and Li Su and Qingming Huang},
  title = {{Knowledge-guided Pairwise Reconstruction Network for Weakly Supervised Referring Expression Grounding}},
  booktitle = {ACM Multimedia},
  year = {2019},
  url = {https://openreview.net/forum?id=fMHoDsfxX22o},
}
Figure