Referring Expression Grounding by Marginalizing Scene Graph Likelihood

Daqing Liu, Hanwang Zhang, Zheng-Jun Zha, Fanglin Wang

Abstract

Visual grounding aims to localize referring expressions in images, such as "the white truck in front of the yellow one." To perform this task effectively, a model must identify contextual objects (the "yellow truck") and use their relationships to disambiguate the target. However, most existing methods treat this as a holistic association between the expression and image regions due to a lack of annotations for contextual objects. We propose the Joint Visual Grounding (JVG) framework, which leverages language scene graphs to model both labeled referents and unlabeled contexts. By constructing a factor graph and performing marginalization, our model achieves state-of-the-art performance and provides interpretable grounding for all mentioned objects.

Introduction: The Challenge of Context

The primary goal of visual grounding is to map natural language descriptions to specific image regions. A significant challenge arises when descriptions rely on complex spatial or attribute-based relationships. For instance, in the phrase "a man in a white shirt watching television," the "man" is the primary referent, while the "shirt" and "television" serve as context.

Overview of the Joint Visual Grounding (JVG) framework, illustrating the alignment between a language scene graph and image regions.

Existing models often struggle because they lack explicit reasoning over these contextual components, typically treating the entire sentence as a single feature vector. Furthermore, datasets rarely provide bounding box annotations for contextual objects, making it difficult to train models to recognize them explicitly.

Methodology: Joint Visual Grounding Network (JVGN)

The proposed JVGN addresses these issues by treating grounding as a structured inference problem on a probabilistic graphical model.

1. Language Scene Graph Parsing

The process begins by parsing the referring expression into a language scene graph. In this graph, nodes represent objects (e.g., "skis", "man", "jacket") and attributes ("red"), while edges represent relationships ("of", "in").

2. Factor Graph Construction and Marginalization

The scene graph is mapped to a factor graph where variables represent potential image regions for each node.

  • Unary Factors ($\psi_v$): Measure the compatibility between a node and an image region.
  • Binary Factors ($\psi_e$): Measure the compatibility between pairs of regions based on the described relationship.
The JVGN pipeline: from image regions and language scene graphs to factor graph construction and message passing for training and inference.

To handle the lack of context annotations, we employ Sum-Product Belief Propagation. We marginalize out the unlabeled contextual variables to compute the marginal probability of the referent. This allows the model to learn from the single available label (the referent) while implicitly grounding the entire scene graph.

3. Training and Inference

The model is trained end-to-end by minimizing the KL-Divergence between the predicted marginal distribution of the referent and the ground-truth location. During inference, the model provides a joint grounding of all objects in the expression, enhancing both accuracy and interpretability.

Experimental Results

The JVGN was evaluated on three major benchmarks: RefCOCO, RefCOCO+, and RefCOCOg.

  • State-of-the-Art Accuracy: JVGN consistently outperformed existing methods. The performance boost was most notable on RefCOCOg, which contains longer, more complex descriptions that benefit from structured reasoning.
  • Interpretability and Emergent Grounding: Beyond accuracy, the model demonstrates "emergent grounding." Even without explicit supervision for contextual objects like "shirts" or "skis," the model learns to localize them accurately as supporting evidence for the primary referent. Human evaluations confirmed that JVGN's reasoning paths are significantly more transparent than previous black-box or tree-based models.

Conclusion

The Joint Visual Grounding Network demonstrates that explicit structural modeling of language and images can overcome the limitations of sparse annotations. By marginalizing over a language scene graph, the model achieves superior performance and provides a clear, interpretable grounding of complex referring expressions. Future work may extend this graphical approach to broader vision-language tasks like Visual Question Answering.

Summary updated

BibTeX
@misc{liu2019referring,
  author = {Daqing Liu and Hanwang Zhang and Zheng-Jun Zha and Fanglin Wang},
  title = {{Referring Expression Grounding by Marginalizing Scene Graph Likelihood}},
  year = {2019},
  eprint = {1906.03561},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.03561},
}
Figure