JOURNAL ARTICLE

Dynamic Heterogeneous-Graph Reasoning with Language Models and Knowledge Representation Learning for Commonsense Question Answering

Abstract

Recently, knowledge graphs (KGs) have won noteworthy success in commonsense question answering. Existing methods retrieve relevant subgraphs in the KGs through key entities and reason about the answer with language models (LMs) and graph neural networks. However, they ignore (i) optimizing the knowledge representation and structure of subgraphs and (ii) deeply fusing heterogeneous QA context with subgraphs. In this paper, we propose a dynamic heterogeneous-graph reasoning method with LMs and knowledge representation learning (DHLK), which constructs a heterogeneous knowledge graph (HKG) based on multiple knowledge sources and optimizes the structure and knowledge representation of the HKG using a two-stage pruning strategy and knowledge representation learning (KRL). It then performs joint reasoning by LMs and Relation Mask Self-Attention (RMSA). Specifically, DHLK filters key entities based on the dictionary vocabulary to achieve the first-stage pruning while incorporating the paraphrases in the dictionary into the subgraph to construct the HKG. Then, DHLK encodes and fuses the QA context and HKG using LM, and dynamically removes irrelevant KG entities based on the attention weights of LM for the second-stage pruning. Finally, DHLK introduces KRL to optimize the knowledge representation and perform answer reasoning on the HKG by RMSA.We evaluate DHLK at CommonsenseQA and OpenBookQA, and show its improvement on existing LM and LM+KG methods.

Keywords:
Computer science Commonsense knowledge Knowledge representation and reasoning Artificial intelligence Graph Question answering Commonsense reasoning Construct (python library) Knowledge graph Natural language processing Context (archaeology) Vocabulary Feature learning Representation (politics) Pruning Knowledge retrieval Knowledge extraction Theoretical computer science Programming language

Metrics

13
Cited By
3.07
FWCI (Field Weighted Citation Impact)
50
Refs
0.90
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Topic Modeling
Physical Sciences →  Computer Science →  Artificial Intelligence
Advanced Graph Neural Networks
Physical Sciences →  Computer Science →  Artificial Intelligence
Natural Language Processing Techniques
Physical Sciences →  Computer Science →  Artificial Intelligence

Related Documents

JOURNAL ARTICLE

Graph-Based Reasoning over Heterogeneous External Knowledge for Commonsense Question Answering

Shangwen LvDaya GuoJingjing XuDuyu TangNan DuanMing GongLinjun ShouDaxin JiangGuihong CaoSonglin Hu

Journal:   Proceedings of the AAAI Conference on Artificial Intelligence Year: 2020 Vol: 34 (05)Pages: 8449-8456
JOURNAL ARTICLE

Heterogeneous-Graph Reasoning With Context Paraphrase for Commonsense Question Answering

Yujie WangZhang HuJiye LiangRu Li

Journal:   IEEE/ACM Transactions on Audio Speech and Language Processing Year: 2024 Vol: 32 Pages: 3759-3770
JOURNAL ARTICLE

JointLK: Joint Reasoning with Language Models and Knowledge Graphs for Commonsense Question Answering

Yueqing SunQi ShiLe QiYu Zhang

Journal:   Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies Year: 2022
BOOK-CHAPTER

Dynamic Reasoning with Language Model and Knowledge Graph for Question Answering

Yujie LuDean WuYuhong Zhang

Lecture notes in computer science Year: 2024 Pages: 441-455
© 2026 ScienceGate Book Chapters — All rights reserved.