Hypergraph Transformer: Weakly-supervised Multi-hop Reasoning for Knowledge-based Visual Question Answering
About
Knowledge-based visual question answering (QA) aims to answer a question which requires visually-grounded external knowledge beyond image content itself. Answering complex questions that require multi-hop reasoning under weak supervision is considered as a challenging problem since i) no supervision is given to the reasoning process and ii) high-order semantics of multi-hop knowledge facts need to be captured. In this paper, we introduce a concept of hypergraph to encode high-level semantics of a question and a knowledge base, and to learn high-order associations between them. The proposed model, Hypergraph Transformer, constructs a question hypergraph and a query-aware knowledge hypergraph, and infers an answer by encoding inter-associations between two hypergraphs and intra-associations in both hypergraph itself. Extensive experiments on two knowledge-based visual QA and two knowledge-based textual QA demonstrate the effectiveness of our method, especially for multi-hop reasoning problem. Our source code is available at https://github.com/yujungheo/kbvqa-public.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Multi-hop Knowledge-based Question Answering | PathQuestion-Large (PQL) 3H 1.0 | Accuracy95.4 | 11 | |
| Multi-hop Knowledge-based Question Answering | PathQuestion (PQ) 2H 1.0 | Accuracy96.4 | 10 | |
| Multi-hop Knowledge-based Question Answering | PathQuestion (PQ) 3H 1.0 | Accuracy90.3 | 10 | |
| Multi-hop Knowledge-based Question Answering | PathQuestion-Large (PQL) 2H 1.0 | Accuracy90.5 | 10 | |
| Visual Question Answering | KVQA (Original (ORG)) | Accuracy62 | 10 | |
| Visual Question Answering | KVQA Paraphrased (PRP) | Accuracy62.8 | 10 | |
| Visual Question Answering | KVQA (Mean) | Accuracy0.624 | 10 | |
| Knowledge-aware Visual Question Answering | KVQA Original ORG questions Oracle setting (test) | Mean Accuracy89.7 | 8 | |
| Knowledge-aware Visual Question Answering | KVQA Paraphrased PRP questions Oracle setting (test) | Mean Accuracy89.7 | 8 | |
| Multi-hop Knowledge-based Question Answering | PathQuestion M 1.0 | Accuracy89.5 | 6 |