Abstract
Visual Question Answering (VQA) in real-world scenes often requires reading and interpreting text. Standard models frequently fail when encountering out-of-vocabulary words or numerical data. We introduce the Multi-Modal Graph Neural Network (MM-GNN), a framework that represents images as a complex graph comprising visual, semantic, and numeric sub-graphs. By utilizing specialized message-passing aggregators, MM-GNN enables joint reasoning across modalities, significantly improving performance on scene text VQA tasks.
Introduction
While standard VQA models excel at object recognition, Scene Text VQA presents unique hurdles. Challenges include interpreting rare brand names, understanding the context provided by the "physical carrier" of the text (e.g., a label on a bottle), and performing numeric reasoning on prices or measurements. Existing approaches often treat OCR tokens as isolated strings, ignoring their visual and numerical properties. MM-GNN addresses this by explicitly modeling the relationships between visual appearance, semantic meaning, and numeric value.
Methodology
The MM-GNN architecture transitions from flat feature vectors to a structured, multi-modal graph representation.
Triple-Graph Construction
The model constructs three fully connected sub-graphs for each image:
- Visual Graph ($G_v$): Nodes represent detected objects and text regions, initialized with Faster R-CNN features.
- Semantic Graph ($G_s$): Nodes represent the linguistic meaning of OCR tokens, initialized using fastText embeddings.
- Numeric Graph ($G_n$): Nodes represent the values of numbers found in the text, using specialized encoders for magnitude and periodic data (like time).
Multi-Modal Aggregators
To facilitate inter-modal communication, three attention-based aggregators guide message passing:
- Visual-Semantic Aggregator: Links words to their physical carriers (e.g., identifying "STP" as a brand because it appears on a bottle).
- Semantic-Semantic Aggregator: Performs intra-modal reasoning to clarify ambiguous words using surrounding text.
- Semantic-Numeric Aggregator: Uses semantic context to enable numeric comparisons, such as identifying the "largest" value in a set.
Answer Prediction
The final node features are processed by an answer prediction module equipped with a copy mechanism. This allows the model to either select an answer from a fixed vocabulary or directly "copy" an OCR token from the image.
Evaluation and Results
MM-GNN was evaluated on the TextVQA and ST-VQA benchmarks. At the time of publication, it achieved state-of-the-art results:
- TextVQA: Reached 31.44% accuracy, a significant improvement over previous baselines like BERT+MFH (28.96%).
- Ablation Studies: The full MM-GNN outperformed a "No-GNN" baseline by 4% overall and by over 8% on OCR-specific questions, validating the effectiveness of graph-based reasoning.
Key Insights
A critical finding was that linking text to its visual region (the Visual-Semantic link) provides the most substantial performance boost. Furthermore, treating numbers as values rather than strings is essential for mathematical reasoning. The use of concatenation during GNN updates, rather than simple summation, preserved distinct modal information, leading to better interpretability and sharper attention maps.
Conclusion
MM-GNN demonstrates that structured multi-modal reasoning is vital for tasks involving scene text. While the model remains dependent on the quality of upstream OCR engines, its ability to integrate visual context and numeric values sets a new standard for complex VQA tasks. Future work may involve incorporating external knowledge bases to further resolve linguistic ambiguities.
Summary updated