[Paper Review] Dynamic Fusion with Intra- and Inter- Modality Attention Flow for Visual Question Answering
This paper proposes Dynamic Fusion with Intra- and Inter-modality Attention Flow (DFAF), a novel framework for visual question answering that dynamically fuses visual and language features through alternating inter-modality co-attention and modality-conditioned intra-modality self-attention. The method achieves state-of-the-art performance on VQA 2.0, attaining 70.34% overall accuracy, by jointly modeling high-level interactions across and within modalities while conditioning intra-modality attention on the other modality's content.
Learning effective fusion of multi-modality features is at the heart of visual question answering. We propose a novel method of dynamically fusing multi-modal features with intra- and inter-modality information flow, which alternatively pass dynamic information between and across the visual and language modalities. It can robustly capture the high-level interactions between language and vision domains, thus significantly improves the performance of visual question answering. We also show that the proposed dynamic intra-modality attention flow conditioned on the other modality can dynamically modulate the intra-modality attention of the target modality, which is vital for multimodality feature fusion. Experimental evaluations on the VQA 2.0 dataset show that the proposed method achieves state-of-the-art VQA performance. Extensive ablation studies are carried out for the comprehensive analysis of the proposed method.
Motivation & Objective
- To address the limitation of existing VQA methods that focus primarily on inter-modality relations while neglecting complementary intra-modality relations within vision and language modalities.
- To develop a unified framework that jointly models both inter- and intra-modality information flows for improved feature fusion in VQA.
- To dynamically condition intra-modality attention on the other modality’s content, enabling context-aware feature refinement within each modality.
- To improve VQA performance by capturing complex, high-level interactions between visual regions and question words through iterative attention flow.
Proposed method
- The framework uses alternating blocks of Inter-Modality Attention Flow (InterMAF) and Dynamic Intra-Modality Attention Flow (DyIntraMAF) to pass information across and within modalities.
- InterMAF computes a joint co-attention matrix between visual regions and question words, enabling cross-modality feature fusion via attention-weighted aggregation.
- DyIntraMAF applies self-attention within each modality but dynamically modulates attention weights using features from the other modality, enhancing context-aware feature learning.
- The dynamic modulation of intra-modality attention ensures that only relevant information flows are preserved, improving feature representation quality.
- Multiple DFAF blocks are stacked to progressively refine features and focus on salient image regions and question words.
- The model integrates visual features from bottom-up detection and contextualized word embeddings (e.g., BERT) for enhanced input representation.
Experimental results
Research questions
- RQ1Can jointly modeling intra- and inter-modality attention flows improve VQA performance compared to methods focusing only on inter-modality interactions?
- RQ2How does modulating intra-modality attention with information from the other modality affect feature representation and downstream task accuracy?
- RQ3Does the proposed dynamic fusion mechanism outperform static or purely internal intra-modality message passing in multimodal reasoning tasks?
- RQ4To what extent does the framework generalize across different question types, such as yes/no, counting, and open-ended questions?
Key findings
- The proposed DFAF framework achieves 86.09% accuracy on the VQA 2.0 test-dev split, surpassing previous state-of-the-art methods.
- With BERT-based contextualized embeddings, the model reaches 86.73% on test-dev and 70.81% on the overall test-std split, setting a new SOTA.
- Ablation studies confirm that DyIntraMAF, which is modulated by the other modality, significantly outperforms standard intra-modality self-attention without cross-modality conditioning.
- The visualizations show that DyIntraMAF dynamically filters irrelevant regions based on the question, producing more interpretable and accurate attention weights.
- Adding absolute or relative position embeddings degrades performance, indicating that the model relies on attention-based reasoning rather than positional priors.
- Using 8 attention heads achieves better performance than 1, 4, or 8 heads, with the same parameter budget, confirming the effectiveness of multi-head attention in the framework.
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.