Probing Pre-Trained Language Models for Disease Knowledge

Israa Alghanmi, Luis Espinosa Anke, Steven Schockaert

TL;DR

This paper introduces DisKnE, a new benchmark designed to rigorously evaluate the disease knowledge captured by pre-trained language models (LMs). The authors find that even specialized biomedical LMs struggle with medical reasoning tasks, highlighting limitations in current evaluation methods and the models themselves.

What Problem Does This Paper Address?

Pre-trained language models (LMs), especially those fine-tuned on biomedical text like ClinicalBERT, have shown impressive performance on tasks like medical Natural Language Inference (NLI). This success might lead one to believe these models possess a deep understanding of medical knowledge, including the ability to link symptoms to diseases. However, existing benchmarks like MedNLI have been found to contain relatively few examples that truly require complex medical reasoning. Instead, many examples rely on simpler lexical or terminological knowledge, or contain "artefacts" that allow models to achieve high scores without genuine understanding. This raises a critical question: how much actual medical reasoning capability do these powerful LMs possess? The authors aim to address this gap by creating a more robust evaluation framework.

Methods

The core of this paper is the creation of the DisKnE (Disease Knowledge Evaluation) benchmark. The process involved:

  1. Selecting Entailment Pairs: Starting with existing NLI datasets (MedNLI, MEDIQA-NLI), the authors filtered for premise-hypothesis pairs where the hypothesis explicitly mentions a patient having a specific disease.
  2. Categorizing Reasoning Types: These positive examples were manually categorized based on the type of medical knowledge required for entailment. The categories include:
  3. Symptoms → Disease: Linking patient symptoms to a diagnosis.
  4. Treatments → Disease: Connecting treatments to a disease.
  5. Tests → Disease: Relating lab tests or diagnostic tools to a disease.
  6. Procedures → Disease: Associating surgeries or therapeutic procedures with a disease.
  7. Terminological: Recognizing diseases through abbreviations, synonyms, or paraphrased sentences.
  8. Generating Adversarial Negative Examples: To create challenging negative examples (neutral or contradiction), the authors employed an adversarial strategy. They replaced the target disease in positive examples with similar, but distinct, diseases (identified using cui2vec embeddings) to create instances that are difficult to distinguish without precise medical knowledge.
  9. Canonicalizing Hypotheses: To prevent models from exploiting superficial linguistic cues, the hypotheses were simplified to directly state the disease name. This ensures models must rely on the premise for reasoning, rather than just pattern matching in the hypothesis.
  10. Disease-Specific Splits: To avoid knowledge leakage, training and testing were performed on separate sets of diseases. This ensures that a model's performance on a test disease is not due to having seen similar examples during training.

Datasets

  • MedNLI: Used as a source for positive entailment examples.
  • MEDIQA-NLI: Also used as a source for positive entailment examples.
  • DisKnE (Disease Knowledge Evaluation): The newly introduced benchmark, constructed from MedNLI and MEDIQA-NLI with the described filtering, categorization, and adversarial generation process. It is organized into binary classification problems for each disease and reasoning type.

Key Insights and Ideas

  • Current Biomedical LMs Struggle with True Medical Reasoning: Despite impressive performance on existing benchmarks, the authors' analysis on DisKnE reveals a significant drop in performance for all tested LMs when faced with tasks requiring genuine medical knowledge. This suggests that current models may be over-reliant on surface-level patterns rather than deep understanding.
  • Existing Benchmarks Have Artefacts: The paper reinforces previous findings that benchmarks like MedNLI contain artefacts that allow hypothesis-only baselines to perform well, indicating that models might be "cheating" rather than reasoning. Canonicalizing hypotheses is crucial for a fair evaluation.
  • Different LMs Have Complementary Strengths: The study highlights that no single LM consistently outperforms others across all medical reasoning categories. For instance, ClinicalBERT shows strength in distinguishing rare diseases, while standard BERT performs well on symptom-based reasoning. This suggests that the specific pre-training corpora and objectives influence model capabilities differently.
  • Terminological Knowledge is Easier to Capture: LMs perform significantly better on tasks requiring terminological knowledge (e.g., recognizing synonyms or abbreviations) compared to tasks requiring deeper medical inference. This is likely because terminological knowledge is more directly represented in text and less inferential.

Key Results

  • Performance Drop: When evaluated on DisKnE, the performance of all tested LMs (BERT, BioBERT, ClinicalBERT, SciBERT) drops considerably, especially on categories requiring medical reasoning (Symptoms, Treatments, Tests, Procedures).
  • Terminological vs. Medical: Results for the "Terminological" category are substantially higher than for the medical reasoning categories, indicating a clear distinction in model capabilities.
  • Category-Specific Performance:
    • ClinicalBERT outperforms other biomedical LMs on the "Symptoms → Disease" category.
  • SciBERT achieves the best results on "Procedures → Disease" and "Tests → Disease" categories.
  • BioBERT performs best on "Treatments → Disease," though other models are similar.
  • Hypothesis-Only Baseline: Without hypothesis canonicalization, hypothesis-only baselines perform surprisingly well, underscoring the presence of artefacts in the original data. After canonicalization, their performance drops significantly, validating the effectiveness of the DisKnE benchmark.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that the original MedNLI and MEDIQA-NLI datasets contain relatively few negative examples, necessitating the generation of adversarial examples. While this is a strength for evaluation, it's a limitation of the source data.
  • The study focuses on specific types of medical reasoning and does not cover all possible medical knowledge domains.
  • Future Work:
    • The authors suggest that their benchmark can be used to develop more robust biomedical LMs that possess better medical reasoning capabilities.
  • Further research could explore how to effectively inject domain-specific knowledge into LMs to improve their performance on these challenging tasks.
  • Investigating the impact of different pre-training strategies and architectures on medical reasoning is also a promising direction.

Summary updated

BibTeX
@inproceedings{alghanmi2021probing,
  author = {Israa Alghanmi and Luis Espinosa Anke and Steven Schockaert},
  title = {{Probing Pre-Trained Language Models for Disease Knowledge}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2021},
  url = {https://openreview.net/forum?id=-bMh8Dxfg9a},
}
Figure