Abstract
Recently, Visual Question Answering (VQA) has emerged as one of the most significant tasks in multimodal learning as it requires understanding both visual and textual modalities. Existing methods mainly rely on extracting image and question features to learn their joint feature embedding via multimodal fusion or attention mechanism. Some recent studies utilize external VQA-independent models to detect candidate entities or attributes in images, which serve as semantic knowledge complementary to the VQA task. However, these candidate entities or attributes might be unrelated to the VQA task and have limited semantic capacities. To better utilize semantic knowledge in images, we propose a novel framework to learn visual relation facts for VQA. Specifically, we build up a Relation-VQA (R-VQA) dataset based on the Visual Genome dataset via a semantic similarity module, in which each data consists of an image, a corresponding question, a correct answer and a supporting relation fact. A well-defined relation detector is then adopted to predict visual question-related relation facts. We further propose a multi-step attention model composed of visual attention and semantic attention sequentially to extract related visual knowledge and semantic knowledge. We conduct comprehensive experiments on the two benchmark datasets, demonstrating that our model achieves state-of-the-art performance and verifying the benefit of considering visual relation facts.
Introduction: Bridging the Semantic Gap
Visual Question Answering (VQA) requires a machine to synthesize information from both an image and a natural language question to provide a correct answer. While deep learning has significantly advanced this field, a persistent "semantic gap" remains between low-level visual features and high-level linguistic concepts.
Most existing models rely on visual attention to localize relevant image regions. Some incorporate semantic concepts like entity labels (e.g., "man") or attributes (e.g., "white"). However, these isolated tags often lack the context necessary for complex reasoning. This paper argues that to truly "understand" a scene, a model must recognize visual relations—structured facts that describe how entities interact, represented as triplets like (subject, relation, object).
Methodology
The proposed framework introduces two major innovations to bridge the semantic gap: a question-aware relation detector and a multi-step attention architecture.
1. Relation Fact Detector
Unlike standard object detectors, this module is trained to predict a set of relation facts. Crucially, the detector is question-aware; it uses the context of the question to prioritize facts that are likely relevant to the answer. For instance, if the question is "What is the man doing?", the detector focuses on relations involving the "man" rather than background objects.
2. Multi-Step Semantic Attention Network (MSAN)
The MSAN architecture processes information through three sequential stages:
- Context-aware Visual Attention: The model first identifies relevant image regions based on the question features.
- Fact-aware Semantic Attention: It then takes the predicted relation facts and uses the previously extracted visual features to "weigh" which facts are most important for the current context.
- Joint Knowledge Learning: Finally, it fuses the visual features and the attended semantic facts into a joint embedding to predict the final answer.
Datasets and Evaluation
To train and evaluate the model, the authors introduced the R-VQA dataset, created by aligning the Visual Genome dataset (rich in relationship annotations) with VQA pairs. A semantic similarity module ensured that the relation facts actually supported the question-answer pairs, resulting in over 335k samples. The model was also benchmarked on standard datasets like VQA v1 and COCO-QA.
Key Insights and Results
- Relations vs. Entities: Relation facts offer higher semantic capacity than single entities. A triplet like
(person, in, ski suit)provides significantly more reasoning power than individual tags like "person" and "suit." - Sequential Attention: The sequential nature of the attention mechanism is critical. By identifying the visual context before filtering semantic facts, the model uses spatial information to better interpret semantic interactions.
- Performance: The R-VQA model (RelAtt) achieved state-of-the-art performance, with an accuracy of 65.69% on open-ended tasks in VQA v1. Notably, it showed a 2.51% improvement on "Other" question types, which typically require more complex reasoning than simple "Yes/No" queries.
- Ablation Study: Removing the semantic attention component led to a drop in accuracy of nearly 1.2%, confirming that relation facts are a primary driver of the model's success.
Conclusion
By moving beyond simple object detection to mining structured visual relation facts, R-VQA effectively narrows the semantic gap in multimodal learning. The combination of question-aware fact detection and sequential visual-semantic attention allows the model to capture the complex interactions within an image that are essential for accurate question answering. Future work may involve incorporating external common-sense knowledge bases to further enhance reasoning capabilities.
Summary updated