MaS-VQA: A Mask-and-Select Framework for Knowledge-Based Visual Question Answering
Organizations: Zhejiang University, Hangzhou, China · Alibaba Group, Hangzhou, China
Abstract
Knowledge-based Visual Question Answering (KB-VQA) requires models to answer questions by integrating visual information with external knowledge. However, retrieved knowledge is often noisy, partially irrelevant, or misaligned with the visual content, while internal model knowledge is difficult to control and interpret. Naive aggregation of these sources limits reasoning effectiveness and reduces answer accuracy. To address this, we propose MaS-VQA, a selection-driven framework that tightly couples explicit knowledge filtering with implicit knowledge reasoning. MaS-VQA first retrieves candidate passages and applies a Mask-and-Select mechanism to jointly prune irrelevant image regions and weakly relevant knowledge fragments, producing compact, high-signal multimodal knowledge . This filtered knowledge then guides the activation of internal knowledge in a constrained semantic space, enabling complementary co-modeling of explicit and implicit knowledge for robust answer prediction. Experiments on Encyclopedic-VQA and InfoSeek demonstrate consistent performance gains across multiple MLLM backbones, and ablations verify that the selection mechanism effectively reduces noise and enhances knowledge utilization.
Figures & tables
| Method | Model | Retrieval Mode | E-VQA | InfoSeek | |||
|---|---|---|---|---|---|---|---|
| Single-Hop | All | Unseen-Q | Unseen-E | All | |||
| Zero-shot MLLMs | |||||||
| BLIP-2 ( Li et al., 2023 ) | Flan-T5 XL | - | 12.6 | 12.4 | 12.7 | 12.3 | 12.5 |
| InternVL3-8B ( Zhu et al., 2025 ) | InternVL3-8B | - | 15.7 | 15.9 | 13.5 | 11.7 | 12.5 |
| Qwen2.5-VL-7B ( Bai et al., 2025b ) | Qwen2.5-VL-7B | - | 16.3 | 16.3 | 16.8 | 15.8 | 16.3 |
| Qwen3-VL-8B ( Bai et al., 2025a ) | Qwen3-VL-8B | - | 19.5 | 19.5 | 19.7 | 17.4 | 18.5 |
| Explicit Knowledge | Implicit Knowledge | E-VQA | ||
| Attention Mask | Phrase Selection | Single-Hop | All | |
| ✓ | 39.8 | 36.8 | ||
| ✓ | 38.5 | 36.6 | ||
| ✓ | ✓ | 40.9 | 38.4 | |
| ✓ | 40 | 35.9 | ||
| ✓ | ✓ | ✓ | 42.2 | 41.3 |
| E-VQA | ||
|---|---|---|
| Single-Hop | All | |
| 1 | 35.1 | 31.6 |
| 3 | 39.5 | 36.7 |
| 5 | 42.2 | 41.3 |
| 7 | 41.8 | 41.1 |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| Split | Question Type | #Questions | Total | |
|---|---|---|---|---|
| E-VQA Test | Single-Hop | Templated | 1000 | 5750 |
| Automatic | 2750 | |||
| Multi-answer | 1000 | |||
| Two-Hop | – | 1000 | ||
| InfoSeek Val | – | – | 71335 | 71335 |
Visual Question Answering
Visual Question Answering (VQA) develops systems that answer natural-language questions about images, videos, and visual documents.
See all 253 papers