Knowledge as A Bridge: Improving Cross-domain Answer Selection with External Knowledge

Yang Deng, Ying Shen, Min Yang, Yaliang Li, Nan Du, Wei Fan, Kai Lei

Abstract

Answer selection is a critical component of question-answering systems, yet modern neural models often struggle with domain adaptation and data scarcity. This paper proposes the Knowledge-aware Attentive Network (KAN), a framework that leverages structured external Knowledge Bases (KBs) to bridge the gap between disparate domains. By integrating entity-level knowledge into text representations, KAN facilitates the transfer of semantic relationships from data-rich source domains to specialized target domains. Experimental results across multiple datasets, including TREC QA, InsuranceQA, and Yahoo QA, demonstrate that KAN significantly outperforms standard transfer learning approaches, particularly in low-resource settings.

Introduction

The task of answer selection involves identifying the most relevant response to a query from a set of candidates. While deep learning has advanced this field, two primary challenges remain: domain sensitivity and data scarcity. Models trained on general-domain data often fail when applied to specialized fields like insurance or healthcare due to shifts in vocabulary and syntax. Furthermore, obtaining large-scale labeled data for every new domain is prohibitively expensive.

This research posits that while linguistic styles vary, underlying factual knowledge remains constant across domains. By using a Knowledge Base as a "universal language," models can learn domain-invariant features. The authors introduce KAN to exploit this consistency, treating the KB as a bridge for cross-domain knowledge transfer.

The Knowledge-aware Attentive Network (KAN)

The KAN architecture consists of two parallel tracks designed to capture both linguistic context and structured knowledge:

  1. The Base Model: This component uses standard neural architectures, such as Bi-LSTM or CNNs, to generate a context-based representation of the input text, focusing on word order and syntactic structure.
  2. The Knowledge Module: This module identifies entity mentions within the text and performs "soft entity linking." Using a context-guided attention mechanism, it weights candidate entities from the KB based on the surrounding text. These entities are then represented using pre-trained embeddings (e.g., TransE) and processed through a CNN to capture local knowledge patterns.
The architecture of the Knowledge-aware Attentive Network (KAN), showing the parallel base model and knowledge module tracks.

The outputs of these tracks are fused through a bilinear similarity layer and a hidden layer before reaching the final softmax output, which ranks the candidate answers.

Experimental Setup and Transfer Learning

The model was evaluated using SQuAD-T as the source domain for pre-training. Target domains included TREC QA (open-domain), InsuranceQA (specialized non-factoid), and Yahoo QA (community-based). The external knowledge was sourced from a subset of Freebase (FB5M), containing approximately 5 million entities and 22 million facts.

The authors explored several transfer learning (TL) strategies to determine which parts of the "bridge" are most vital:

  • Tgt-Only: Training only on the target domain.
  • Src-Only: Training only on the source domain.
  • Mixed: Training on a combination of source and target data.
  • Fine-Tune: Pre-training on the source and then adapting to the target. Specific experiments included fine-tuning the entire network or selectively updating the knowledge module versus the base model.

Results and Performance

KAN consistently outperformed state-of-the-art baselines across all tested domains. Notably, it achieved a performance boost of approximately 10% on Yahoo QA and 4% on InsuranceQA compared to text-only models.

Performance comparison of KAN against baseline models across different transfer learning methods and datasets.

Beyond raw accuracy, KAN demonstrated remarkable data efficiency. On the TREC QA dataset, the model achieved competitive results using only 20% of the available training data, highlighting the effectiveness of the KB-driven bridge in reducing reliance on manual labels.

Discussion and Key Insights

The success of KAN stems from the KB's role as a regularizer. By grounding text in structured knowledge, the model avoids overfitting to the specific linguistic style or "slang" of the source domain. The researchers found that for highly divergent domains (e.g., InsuranceQA vs. SQuAD), fixing the base model and fine-tuning only the knowledge module often yielded the best results. This suggests that the "logic" of structured knowledge is more transferable than the specific syntax of natural language.

However, the model's performance is inherently tied to the completeness of the Knowledge Base; dropping 80% of the KB significantly degraded performance. Additionally, the parallel architecture introduces higher computational overhead compared to simple text-only models.

Conclusion

The Knowledge-aware Attentive Network provides a robust framework for cross-domain answer selection by leveraging external knowledge as a semantic anchor. While dependent on KB coverage, the ability to transfer knowledge across domains represents a significant step toward more generalizable and data-efficient QA systems. Future work may involve exploring more complex KB structures, such as sub-graphs, to further enhance the model's reasoning capabilities.

Summary updated

BibTeX
@inproceedings{deng2018knowledge,
  author = {Yang Deng and Ying Shen and Min Yang and Yaliang Li and Nan Du and Wei Fan and Kai Lei},
  title = {{Knowledge as A Bridge: Improving Cross-domain Answer Selection with External Knowledge}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2018},
}
Figure