Abstract
Commonsense Question Answering (CQA) often relies on external Knowledge Graphs (KGs) to provide reasoning paths. However, these graphs frequently contain "topology noise"—irrelevant connections that can distract models. We present KE-GCL, a framework that enhances KGs with textual descriptions from Wiktionary and utilizes a graph contrastive learning scheme. By employing adaptive graph augmentation and hard negative mining against incorrect answer choices, KE-GCL learns to isolate discriminative reasoning features. Our approach achieves state-of-the-art results on the CommonsenseQA and OpenBookQA benchmarks.
Introduction: The Challenge of Knowledge Graph Noise
To solve tasks requiring common sense, AI models typically retrieve subgraphs from external KGs like ConceptNet. While structurally rich, these KGs lack semantic nuance and often include distracting paths. For instance, a question about a "Steak House" in "North America" might be linked to "Japan" simply because both are geographical entities in the KG.
Existing methods struggle to differentiate these irrelevant entities from useful ones. This paper identifies two primary gaps: the lack of natural language semantic depth in raw KGs and the inability of standard training to distinguish correct reasoning graphs from structurally similar "distractor" graphs associated with wrong answers.
Methodology
The proposed KE-GCL (Knowledge Enhanced Graph Contrastive Learning) framework operates in three distinct stages to refine the reasoning process.
1. Knowledge Enhancement
Beyond retrieving subgraphs from ConceptNet, KE-GCL pulls textual definitions for entities from Wiktionary. These descriptions are encoded via a Pre-trained Language Model (PLM) and integrated as "context nodes." This fusion adds the necessary semantic "flavor" to the raw structural data, helping the model understand, for example, that a "Steak House" specifically specializes in "steaks and chops."
2. Adaptive Graph Augmentation
Standard contrastive learning often uses random node/edge dropping, which can inadvertently destroy critical reasoning paths. KE-GCL introduces an adaptive strategy that calculates node importance based on topological connectivity (PageRank) and contextual relevance to the question. It selectively masks less important features to create "augmented views" that preserve the core logic.
3. Graph Contrastive Learning (GCL) with Hard Negatives
The model is trained to minimize the distance between the correct answer's graph representation and its augmented view. Crucially, it maximizes the distance from "hard negatives"—the graphs associated with incorrect answer choices. This contrastive objective forces the model to identify the specific features that uniquely support the correct answer.
Experiments and Key Results
The model was evaluated on CommonsenseQA (5-way choice) and OpenBookQA (4-way choice) using RoBERTa-Large and AristoRoBERTa backbones.
- CommonsenseQA: KE-GCL achieved 74.49% accuracy on the in-house test set, a 1.08% improvement over the previous state-of-the-art, QA-GNN.
- OpenBookQA: Using AristoRoBERTa, the model reached 83.41% accuracy, outperforming QA-GNN by 0.64%.
Ablation studies highlighted that removing Wiktionary descriptions caused the most significant performance drop (~7.8%), underscoring the importance of textual context. Removing the contrastive loss ($L_{GCL}$) resulted in a 2.23% decrease in accuracy, validating the effectiveness of the hard-negative mining strategy.
Conclusion
KE-GCL demonstrates that combining structural knowledge with textual semantics and contrastive learning effectively mitigates the noise inherent in large-scale KGs. While the model is computationally intensive due to the large number of negatives required for contrastive learning, it sets a new standard for robust commonsense reasoning. Future work will explore scaling these techniques to unsupervised scenarios and larger knowledge bases.
Summary updated