Fusing Context Into Knowledge Graph for Commonsense Question Answering

Yichong Xu, Chenguang Zhu, Ruochen Xu, Yang Liu, Michael Zeng, Xuedong Huang

Introduction

While large language models (LMs) and knowledge graphs (KGs) have significantly advanced commonsense reasoning, they often struggle with the nuanced context required to distinguish between complex concepts. Language models excel at text processing but lack explicit structured knowledge modules. Conversely, Knowledge Graphs like ConceptNet provide structural relationships (e.g., "Mona Lisa" $\rightarrow$ is in $\rightarrow$ "Louvre") but lack the descriptive depth needed for full understanding.

This paper introduces DEKCOR (DEscriptive Knowledge for COmmonsense question answeRing), a model that bridges this gap by fusing structured KG triples with descriptive definitions from Wiktionary. By providing the model with a "panoramic view" of concepts, DEKCOR achieved state-of-the-art results on the CommonsenseQA benchmark.

The DEKCOR Framework

The authors identify a "non-negligible gap" between AI and human performance caused by a lack of descriptive context. Without definitive descriptions, an LM may struggle to utilize a KG's topological information effectively. DEKCOR addresses this through a three-stage pipeline:

  1. Knowledge Retrieval: For a given question-choice pair, the model identifies key concepts and searches ConceptNet for direct relationships (triples). If no direct edge exists, it calculates a relevance score to find the most pertinent triple related to the choice.
  2. Contextual Information: This is the core innovation. The model retrieves the first definition entry for these concepts from Wiktionary, providing the "grounding" necessary to understand the nature of the entities.
  3. Reasoning: The question, choice, KG triple, and Wiktionary definitions are concatenated and processed.
The DEKCOR pipeline: retrieving relations from ConceptNet and descriptive definitions from Wiktionary for a given question and choice.

Model Architecture

The concatenated input—comprising the question, choice, selected KG triple, and Wiktionary definitions—is fed into an ALBERT (A Lite BERT) model. To produce a final relevance score for each multiple-choice option, an attention-based weighted sum is applied to the model's output embeddings. This architecture allows the model to weigh the importance of the provided context against the original question and choice.

The reasoning architecture using ALBERT, where structured triples and descriptive context are concatenated as input.

Key Insights and Results

  • Definitions as the Missing Link: Structural relations in a graph can be too abstract. Dictionary definitions provide the semantic meaning of the nodes, enabling better reasoning. Ablation studies showed that using both structured triples and descriptive definitions outperforms using either in isolation.
  • Rarity-Weighted Retrieval: The scoring formula for triples favors rarer relation types, focusing the model on specific, informative links rather than generic ones like "RelatedTo."
  • State-of-the-Art Performance: DEKCOR achieved 80.7% accuracy on CommonsenseQA (CSQA) and 82.4% accuracy on OpenBookQA (OBQA). Notably, DEKCOR outperformed the standard ALBERT model by 6.8%, demonstrating that external knowledge fusion is significantly more effective than simply scaling the base language model.

Limitations and Future Work

While effective, DEKCOR faces challenges regarding Wiktionary's coverage of niche concepts and the computational overhead of processing long definitions. Future research may explore multi-hop reasoning or dynamic relation filtering to further refine the integration of descriptive context.

Summary updated

BibTeX
@inproceedings{xu2021fusing,
  author = {Yichong Xu and Chenguang Zhu and Ruochen Xu and Yang Liu and Michael Zeng and Xuedong Huang},
  title = {{Fusing Context Into Knowledge Graph for Commonsense Question Answering}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.findings-acl.102},
}
Figure