FiTs: Fine-Grained Two-Stage Training for Knowledge-Aware Question Answering

Qichen Ye, Bowen Cao, Nuo Chen, Weiyuan Xu, Yuexian Zou

Knowledge-Aware Question Answering (KAQA) represents a significant frontier in AI, requiring models to synthesize the linguistic nuances of Pre-trained Language Models (PLMs) with the structured, factual grounding of Knowledge Graphs (KGs). While hybrid models like GreaseLM have made strides, they often struggle with the inherent differences between text and graph data. This paper introduces FiTs (Fine-grained Two-stage training), a framework designed to bridge these gaps and improve joint reasoning.

The Challenge: Modality and Distributional Gaps

The primary obstacle in KAQA is the "modality gap." PLMs and KGs represent information in fundamentally different ways. The authors identify two specific issues:

  1. Semantic Gap: The same entity (e.g., "round brush") often has disparate vector representations depending on whether it originates from a text corpus or a graph structure.
  2. Distributional Gap: The vector spaces of PLMs and Graph Neural Networks (GNNs) are often disjoint, forming narrow "cones" that do not overlap, making it difficult for the model to perform unified reasoning.
The modality gap between PLMs and KGs, and how post-training aligns their distributions.

As shown in Figure 1, untuned models exhibit a clear separation between LM and GNN representations. FiTs addresses this by aligning these distributions during a specialized post-training phase.

The FiTs Framework

FiTs introduces a two-stage training pipeline that transitions from modality alignment to task-specific reasoning.

The FiTs two-stage training framework: Knowledge Adaptive Post-training followed by Knowledge-aware Fine-tuning.

Stage I: Knowledge Adaptive Post-training

This stage focuses on closing the modality gap before the model encounters the final QA task. It employs two objectives:

  • Knowledge Adaptive (KA) Loss: A contrastive learning objective that pulls the text-based representation of an entity closer to its KG node representation.
  • Masked Language Modeling (MLM): Standard MLM is maintained to preserve the model's general language understanding.

Stage II: Knowledge-aware Fine-tuning

In the second stage, the model is fine-tuned for the specific QA task. To prevent the model from ignoring the KG structure or being overwhelmed by noise, two auxiliary objectives are introduced:

  • Knowledge Source Distinction (KSD): The model learns to classify retrieved KG entities as question-related, answer-related, or irrelevant noise. This acts as a crucial filter for the sub-graph.
  • Knowledge Backbone Regularization (KBR): This objective ensures the latent space respects the relational logic of the KG (e.g., Head + Relation ≈ Tail), preserving the structural integrity of the knowledge source.

Experimental Results

FiTs was evaluated on three diverse benchmarks: CommonsenseQA (CSQA), OpenbookQA (OBQA), and MedQA-USMILE. The framework achieved state-of-the-art performance across the board:

Dataset FiTs Accuracy Improvement over Baseline
CommonsenseQA 76.2% +2.6%
OpenbookQA 86.0% +1.8%
MedQA-USMILE 39.2% +0.6%

Notably, FiTs achieves these gains with high efficiency, requiring only 1% additional trainable parameters compared to the baseline GreaseLM. Qualitative analysis further reveals that FiTs-trained models are better at identifying "bridge" entities—nodes that logically connect the question to the correct answer.

Conclusion

FiTs demonstrates that the key to effective KAQA lies in explicitly addressing the modality gap and maintaining the structural logic of knowledge graphs. By aligning representations and filtering noise, FiTs provides a robust and efficient path forward for complex reasoning tasks in both general and specialized domains.

Summary updated

BibTeX
@inproceedings{ye2023fits,
  author = {Qichen Ye and Bowen Cao and Nuo Chen and Weiyuan Xu and Yuexian Zou},
  title = {{FiTs: Fine-Grained Two-Stage Training for Knowledge-Aware Question Answering}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i11.26629},
}
Figure