[Paper Review] Zero-shot Visual Question Answering using Knowledge Graph
This paper proposes a knowledge graph-based zero-shot visual question answering (ZS-VQA) method that uses mask-based learning to align image-question pairs with external knowledge, enabling accurate prediction of unseen answers. By leveraging hard masks for ZS-VQA and soft masks for standard VQA, the model achieves state-of-the-art performance on unseen answers and significantly improves baseline end-to-end models on the F-VQA dataset.
Incorporating external knowledge to Visual Question Answering (VQA) has become a vital practical need. Existing methods mostly adopt pipeline approaches with different components for knowledge matching and extraction, feature learning, etc.However, such pipeline approaches suffer when some component does not perform well, which leads to error propagation and poor overall performance. Furthermore, the majority of existing approaches ignore the answer bias issue -- many answers may have never appeared during training (i.e., unseen answers) in real-word application. To bridge these gaps, in this paper, we propose a Zero-shot VQA algorithm using knowledge graphs and a mask-based learning mechanism for better incorporating external knowledge, and present new answer-based Zero-shot VQA splits for the F-VQA dataset. Experiments show that our method can achieve state-of-the-art performance in Zero-shot VQA with unseen answers, meanwhile dramatically augment existing end-to-end models on the normal F-VQA task.
Motivation & Objective
- Address the challenge of zero-shot VQA with unseen answers in open-world scene understanding.
- Overcome error cascading in pipeline-based VQA methods by introducing a unified, end-to-end compatible framework.
- Develop a new ZS-F-VQA dataset to evaluate zero-shot generalization to unseen answers.
- Enable flexible application of the model to both standard VQA and ZS-VQA tasks through adaptive masking strategies.
- Improve performance of existing end-to-end models by integrating external knowledge via knowledge graph alignment.
Proposed method
- Learn three distinct feature mapping spaces: semantic (relations), object (support entities), and knowledge (answers) for joint image-question embedding alignment.
- Construct a mapping table from a fact-based knowledge graph containing all triplets to guide mask generation based on supporting entities and relations.
- Apply hard masks for ZS-VQA tasks when predicting unseen answers, using high-confidence alignment scores as constraints.
- Apply soft masks for standard VQA tasks to reduce error cascading, allowing gradual correction of predictions via lower-confidence guidance.
- Use a threshold (score ≥100) to distinguish between hard and soft mask application based on similarity scores between I-Q pairs and target entities/relations.
- Integrate the mask mechanism into the answer prediction head to dynamically adjust prediction scores based on knowledge graph alignment.
Experimental results
Research questions
- RQ1Can a knowledge graph-based approach effectively predict answers that were never seen during training in visual question answering?
- RQ2How can masking strategies be designed to balance strong guidance for zero-shot scenarios and minimal interference in standard VQA?
- RQ3To what extent can external knowledge from a knowledge graph improve generalization to unseen answers in VQA?
- RQ4How does the model’s performance vary with different numbers of support entities and relations in the knowledge graph?
- RQ5Can the proposed method be flexibly applied to both zero-shot and standard VQA tasks without architectural changes?
Key findings
- The proposed method achieves state-of-the-art performance on the new ZS-F-VQA dataset, outperforming existing methods by 30–40% on unseen answer prediction.
- On the standard F-VQA benchmark, the method improves baseline end-to-end models by 6–9% in accuracy, demonstrating consistent gains across tasks.
- Hard masks significantly improve performance in zero-shot settings by enforcing strong alignment with knowledge graph facts, especially when training data is scarce.
- Soft masks are more effective in standard VQA settings, where they reduce error cascading by acting as gentle constraints, avoiding over-reliance on potentially incorrect prior predictions.
- The model shows strong interpretability: visualizations confirm that it leverages structured knowledge to guide predictions, unlike baseline models that rely on superficial patterns or memorized answers.
- The method generalizes well to multi-answer prediction, as the probabilistic scoring mechanism can rank multiple plausible answers, including rare or unseen ones.
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.