Medical Knowledge-enriched Textual Entailment Framework

Shweta Yadav, Vishal Pallagani, Amit Sheth

TL;DR

Researchers have developed Sem-KGN (Semantic Knowledge-enriched Graph Network), a framework that significantly improves how AI understands medical text by combining standard language models with domain-specific knowledge graphs. By integrating external medical databases like UMLS and SNOMED-CT into a dual-encoding architecture, the model achieved an 8.27% accuracy boost over state-of-the-art models in recognizing medical textual entailment.

What Problem Does This Paper Address?

In the world of medical AI, "Textual Entailment" (TE) is a critical task. It involves determining if a premise (P) logically supports a hypothesis (H). For example, if a patient asks about a treatment for a specific condition, a robust system must recognize if a medical document actually addresses that specific intent.

Current Large Language Models (LMs) like BERT often fail in the medical domain for two main reasons:

  1. Terminology Variability: Medical text is rife with synonyms and abbreviations. A standard model might not realize that "Kartagener’s Syndrome" and "Primary Ciliary Dyskinesia" are the same thing.
  2. Intent Mismatch: Models often struggle to distinguish between lexically similar but semantically different sentences. A sentence about the possibility of recurrence of pneumonia is very different from one about possible treatments, even though they share many words.

Methods

The authors propose a novel architecture called Sem-KGN, which uses a "dual-encoding" mechanism to capture both local and global context.

Figure 1: Architecture of proposed methodology

The framework consists of three main components:

  • Document Encoder: A standard BERT model captures the "local" context—the specific syntax and lexical patterns within the input sentences.
  • Knowledge-enriched Graph Encoder: This is the core innovation. The authors first build a "Vocabulary Graph" based on word co-occurrences across the entire dataset using Normalized Point-wise Mutual Information (NPMI). They then expand this graph by querying external Medical Knowledge Graphs (KGs) like UMLS, SNOMED-CT, and ICD-10. This adds "semantic units" (nodes) representing concepts like dosage, side effects, and disease relations (e.g., "treats" or "is-a"). A Graph Convolutional Network (GCN) then processes this enriched graph to create a "global" representation.
  • Multi-headed Aggregator: Finally, the model uses a Transformer-based multi-head attention layer to fuse the BERT embeddings with the GCN embeddings, allowing the network to attend to the most relevant information from both local and global sources.

Datasets

The model was evaluated on the MEDIQA-RQE dataset, a benchmark for Recognizing Question Entailment in the medical domain.

  • Source: Derived from consumer health questions (CHQs) and frequently asked questions (FAQs) from the U.S. National Library of Medicine and NIH.
  • Scale: The training and validation sets contain 8,890 pairs, while the official test set consists of 230 pairs.

Key Insights and Ideas

  • Global vs. Local: The paper argues that LMs are great at local context but "blind" to the broader domain. By building a graph of the entire dataset's vocabulary, the model learns how words relate across the whole medical field, not just within one sentence.

  • Semantic Units as Bridges: Instead of just looking at word triples (subject-predicate-object), the authors introduce "semantic units" from KGs. These act as anchors that help the model bridge the gap between different terms for the same medical concept.

  • Modularity: The knowledge infusion process is modular. The authors showed that this graph-based approach can be combined with various base models (BERT, BioBERT, ClinicalBERT) to improve performance across the board.

Key Results

The Sem-KGN framework outperformed all competitive baselines on the MEDIQA-RQE test set.

Table 2: Experimental results of our proposed model (Sem-KGN) and the baseline methods on the official test set.
  • Accuracy: Sem-KGN achieved 56.17%, an absolute improvement of 8.27% over vanilla BERT (47.90%).
  • F1-Score: The model reached 59.47, significantly higher than the 47.18 achieved by BERT.
  • Ablation Study: Removing the Knowledge-enriched Graph Encoder led to the largest drop in performance (8.27% accuracy loss), proving that the graph component is the primary driver of the model's success.

Qualitatively, the model proved much better at handling complex, long questions where standard BioBERT models failed by getting distracted by irrelevant keywords.

Limitations and Future Work

Despite the gains, the authors identified two main areas where the model still struggles:

  • Complex/Multiple Questions: When a premise contains multiple nested questions or highly complex phrasing, the model can still misclassify the intent.
  • High Ambiguity: In cases where the premise and hypothesis share almost all the same medical terms but differ in a very subtle logical way (e.g., "how I got it" vs. "how it is diagnosed"), the model sometimes fails to recognize the lack of entailment.

Future Directions: The team plans to explore multi-domain knowledge graphs and more efficient graph embedding techniques to further refine how the model "reasons" through medical logic.

Summary updated

BibTeX
@inproceedings{yadav2020medical,
  author = {Shweta Yadav and Vishal Pallagani and Amit Sheth},
  title = {{Medical Knowledge-enriched Textual Entailment Framework}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2020},
}
Figure