[Paper Review] Graph-Structured Referring Expression Reasoning in The Wild
This paper proposes a Scene Graph Guided Modular Network (SGMN) that performs structured reasoning over visual and linguistic graphs using neural modules guided by the syntactic structure of referring expressions. It achieves state-of-the-art performance on benchmark datasets and introduces Ref-Reasoning, a large-scale real-world dataset with semantically rich, balanced expressions and interpretable reasoning traces via graph attention mechanisms.
Grounding referring expressions aims to locate in an image an object referred to by a natural language expression. The linguistic structure of a referring expression provides a layout of reasoning over the visual contents, and it is often crucial to align and jointly understand the image and the referring expression. In this paper, we propose a scene graph guided modular network (SGMN), which performs reasoning over a semantic graph and a scene graph with neural modules under the guidance of the linguistic structure of the expression. In particular, we model the image as a structured semantic graph, and parse the expression into a language scene graph. The language scene graph not only decodes the linguistic structure of the expression, but also has a consistent representation with the image semantic graph. In addition to exploring structured solutions to grounding referring expressions, we also propose Ref-Reasoning, a large-scale real-world dataset for structured referring expression reasoning. We automatically generate referring expressions over the scene graphs of images using diverse expression templates and functional programs. This dataset is equipped with real-world visual contents as well as semantically rich expressions with different reasoning layouts. Experimental results show that our SGMN not only significantly outperforms existing state-of-the-art algorithms on the new Ref-Reasoning dataset, but also surpasses state-of-the-art structured methods on commonly used benchmark datasets. It can also provide interpretable visual evidences of reasoning. Data and code are available at https://github.com/sibeiyang/sgmn
Motivation & Objective
- To address the limitation of existing methods that neglect linguistic structure or use only self-attention to model syntax, by explicitly leveraging the syntactic layout of referring expressions for structured reasoning.
- To overcome dataset biases in existing benchmarks by creating a large-scale, real-world dataset with balanced, semantically rich expressions and ground-truth intermediate reasoning steps.
- To enable interpretable visual reasoning by generating attention maps over objects at each step of the language scene graph, providing traceable evidence of the reasoning process.
- To improve performance on complex, long-form referring expressions by modeling relations and attributes through a modular neural network guided by linguistic structure.
Proposed method
- The method models the input image as a semantic graph where nodes represent objects and edges represent relations, using object detectors and relation classifiers.
- It parses the referring expression into a language scene graph using an external parser, with nodes for noun phrases and edges for prepositional/verb phrases, ensuring consistency with the image graph.
- A modular neural network applies operations such as AttendNode, AttendRelation, Transfer, Merge, and Norm to perform reasoning step-by-step along the language scene graph.
- The reasoning process is guided by graph attention mechanisms that highlight relevant image objects at each node of the language scene graph, enabling interpretable intermediate predictions.
- The Ref-Reasoning dataset is constructed by automatically generating diverse expressions from image scene graphs using templates and functional programs, with ground-truth annotations at all reasoning steps.
- Uniform sampling and distribution control are applied to balance expression difficulty across reasoning steps, reducing dataset bias.
Experimental results
Research questions
- RQ1Can a modular neural network guided by linguistic structure outperform holistic matching methods in grounding referring expressions?
- RQ2Can a large-scale, real-world dataset with balanced, semantically rich expressions and intermediate annotations improve model generalization and reduce dataset bias?
- RQ3Can graph-structured reasoning with attention maps provide interpretable visual evidence of intermediate reasoning steps in referring expression grounding?
- RQ4How does the design of neural modules (e.g., Transfer, Norm, Merge) affect reasoning performance on complex expressions?
Key findings
- SGMN achieves 86.67% average accuracy on RefCOCO, 85.36% on RefCOCO+, and 78.66% on RefCOCOg, outperforming existing structured methods by 0.92%, 2.54%, and 2.96% respectively.
- On the RefCOCOg dataset, which contains longer, more complex expressions (average length 8.43), SGMN achieves performance comparable to the best holistic method, demonstrating strong reasoning capability.
- Abllation studies show that removing the Transfer module reduces performance significantly (40.66% on val split), confirming its importance in relational reasoning across nodes.
- The SGMN with sum-merge performs best (51.04% on val split), outperforming max-merge (44.50%) and min-merge (45.25%), indicating that sum-merge better handles multi-relational information.
- Qualitative results show that SGMN generates interpretable attention maps that trace reasoning steps along the language scene graph, such as identifying a woman with pink and black hair while walking a dog.
- The model generalizes well to real-world scenes, as evidenced by its strong performance on Ref-Reasoning, a large-scale dataset with diverse, real-world visual and linguistic content.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.