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). They found that even specialized biomedical LMs struggle with tasks requiring genuine medical reasoning, highlighting limitations in current benchmarks and models.

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 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, the authors argue that existing benchmarks, such as MedNLI, are not robust enough to truly test this capability. They identify three key issues: (1) MedNLI contains few examples that genuinely require medical reasoning, often relying on simpler lexical or terminological understanding; (2) training and test sets often overlap in terms of diseases, allowing models to "memorize" rather than reason; and (3) the benchmark contains "artefacts" that allow simple "hypothesis-only" baselines to perform well, indicating they exploit superficial patterns rather than underlying knowledge. The core problem is the lack of a reliable evaluation method to assess the actual medical reasoning capabilities of LMs.

Methods

The authors introduce DisKnE (Disease Knowledge Evaluation), a new benchmark specifically designed to address the limitations of existing medical NLI datasets.

Here's how they constructed it:

  • Selecting Positive Examples: They started with existing entailment pairs from MedNLI and MEDIQA-NLI. They filtered these to keep only those where the hypothesis explicitly states a patient has a particular disease.
  • Categorizing Reasoning Types: Each selected positive example was manually categorized based on the type of medical knowledge required to infer the entailment. These categories include:
  • Symptoms → Disease: Premise describes symptoms, hypothesis names the diagnosis.
  • Treatments → Disease: Premise describes treatments, hypothesis names the disease.
  • Tests → Disease: Premise describes lab tests/diagnostics, hypothesis names the disease.
  • Procedures → Disease: Premise describes surgeries/procedures, hypothesis names the disease.
  • Terminological: Disease is mentioned as an abbreviation, synonym, or rephrased in both premise and hypothesis.
  • Generating Negative Examples: To create challenging negative examples (i.e., non-entailment), they used an adversarial approach. For a given target disease X, they identified similar diseases (Y1, ..., Yn) using clinical concept embeddings (cui2vec). They then replaced the target disease X in positive examples with these similar diseases Y, creating a premise-hypothesis pair that should not entail. This ensures negative examples are semantically close to positive ones, making the task harder.
  • Training-Test Splits per Disease: To prevent data leakage and ensure models are tested on unseen diseases, they created splits where each disease is either exclusively in the training set or exclusively in the test set.
  • Canonicalization: To further mitigate artefacts and ensure models focus on disease knowledge, they canonicalized the hypotheses. This means replacing the full hypothesis sentence with just the name of the target disease. This forces models to rely solely on the premise and the disease name to make a prediction.

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 methodology. It consists of binary classification problems (entailment/non-entailment) organized by disease and reasoning type.
  • UMLS (Unified Medical Language System): Used for identifying disease synonyms and relationships.
  • cui2vec: A pre-trained clinical concept embedding used to find similar diseases for adversarial example generation.

Key Insights and Ideas

  • Current Biomedical LMs Struggle with Real Medical Reasoning: Despite impressive performance on general NLI tasks, specialized biomedical LMs show a significant drop in performance when evaluated on DisKnE, particularly for categories requiring genuine medical inference (symptoms, treatments, tests, procedures).
  • Terminological Knowledge is Easier to Capture: LMs perform much better on the "Terminological" category, suggesting they are adept at understanding synonyms and abbreviations but less so at inferring causal relationships or diagnostic links.
  • Benchmark Design Matters Critically: The authors demonstrate that simple artefacts in existing benchmarks (like hypothesis-only baselines performing well) can mask a lack of true understanding. Their DisKnE benchmark, with its disease-specific splits and canonicalized hypotheses, provides a more rigorous evaluation.
  • Different LMs Have Complementary Strengths: The analysis reveals that no single LM is universally best across all medical reasoning categories. ClinicalBERT, BioBERT, SciBERT, and even the general BERT model show varying degrees of success depending on the specific type of medical knowledge being tested.
  • Adversarial Example Generation is Key: Replacing target diseases with similar but incorrect ones proved effective in creating challenging negative examples that push models beyond simple pattern matching.

Key Results

  • Performance Drop: When evaluated on DisKnE, all considered LMs (ClinicalBERT, BioBERT, SciBERT, and BERT) showed considerably lower performance compared to their scores on standard NLI benchmarks.
  • Terminological vs. Medical: Results for the "Terminological" category were substantially higher (e.g., Macro-average around 73% for ClinicalBERT) than for medical reasoning categories (e.g., "Symptoms → Disease" Macro-average around 46% for ClinicalBERT).
  • Category-Specific Performance:
    • Symptoms → Disease: Standard BERT performed best (Macro-average 46±3.0).
  • Treatments → Disease: BioBERT performed best (Macro-average 60±6.1).
  • Tests → Disease: SciBERT performed best (Macro-average 38±2.4).
  • Procedures → Disease: SciBERT performed best (Macro-average 49±3.2).
  • Hypothesis Canonicalization: Canonicalizing hypotheses (replacing them with just the disease name) significantly reduced the performance of hypothesis-only baselines, confirming the effectiveness of this strategy in removing artefacts.

Limitations and Future Work

  • Limitations:
    • The authors acknowledge that while they aimed to avoid training-test leakage, the creation of splits per disease might still leave some room for models to learn general patterns rather than specific disease knowledge.
  • The "Terminological" category, while easier, still relies on understanding medical terms, which is a prerequisite for deeper reasoning.
  • The performance of hypothesis-only baselines, even on the canonicalized dataset, was still non-trivial, suggesting that some residual artefacts or simpler reasoning strategies might still be at play.
  • Future Work:
    • The authors suggest that their benchmark can be used to guide the development of new pre-training objectives or model architectures that are better suited for capturing medical reasoning.
  • Further analysis could explore how different pre-training corpora influence performance on specific reasoning types.
  • Expanding the benchmark to include more complex reasoning chains or different types of medical knowledge could be valuable.

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