[Paper Review] MAttNet: Modular Attention Network for Referring Expression Comprehension
MAttNet decomposes referring expressions into subject, location, and relationship modules, using language-guided attention and visual attention to achieve state-of-the-art bounding-box and pixel-level comprehension without external parsers.
In this paper, we address referring expression comprehension: localizing an image region described by a natural language expression. While most recent work treats expressions as a single unit, we propose to decompose them into three modular components related to subject appearance, location, and relationship to other objects. This allows us to flexibly adapt to expressions containing different types of information in an end-to-end framework. In our model, which we call the Modular Attention Network (MAttNet), two types of attention are utilized: language-based attention that learns the module weights as well as the word/phrase attention that each module should focus on; and visual attention that allows the subject and relationship modules to focus on relevant image components. Module weights combine scores from all three modules dynamically to output an overall score. Experiments show that MAttNet outperforms previous state-of-art methods by a large margin on both bounding-box-level and pixel-level comprehension tasks. Demo and code are provided.
Motivation & Objective
- Address referring expression comprehension by handling variance in expressions with a modular network.
- Eliminate reliance on external language parsers by learning to softly parse expressions into modules.
- Achieve high localization and segmentation accuracy through module-specific visual attention and adaptive combination.
Proposed method
- Decompose expressions into three phrase embeddings for subject, location, and relationship modules.
- Use a language attention network to learn module weights and word/phrase attention without external parsers.
- Employ three visual modules with distinct attention mechanisms (in-box soft attention for subject; out-of-box hard attention for relationship).
- Compute module-specific scores S(o|q) and aggregate with learned module weights w_subj, w_loc, w_rel to obtain S(o|r).
- Train with a ranking loss over positive/negative pairs and an attribute-aware subject branch; end-to-end learning.
Experimental results
Research questions
- RQ1Can a modular, end-to-end model improve referring expression comprehension without external parsers?
- RQ2How do subject, location, and relationship information contribute to localization and segmentation performance?
- RQ3Does learned language attention effectively allocate information to the appropriate visual modules?
- RQ4What is the impact of in-box versus out-of-box attention on comprehension accuracy?
Key findings
- MAttNet outperforms prior state-of-the-art methods on bounding-box localization and pixel-level segmentation by large margins.
- End-to-end training with soft language parsing and adaptive module weights yields substantial gains over single-model baselines.
- Subject module with attribute-aware, phrase-guided in-box attention improves accuracy, especially for appearance-focused expressions.
- Relationship module with out-of-box attention and MIL-style max pooling enhances handling of object relations.
- Fully automatic recognition using detected proposals (Faster R-CNN / Mask R-CNN) maintains strong gains across datasets.
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.