Injecting Knowledge into Biomedical Pre-trained Models via Polymorphism and Synonymous Substitution

Hongbo Zhang, Xiang Wan, Benyou WangarXiv 2023 · DOI

Abstract

Pre-trained language models (PLMs) often suffer from report bias, failing to capture low-frequency relational knowledge in specialized domains like biomedicine. We present "Entity Switching," a method that injects structured medical knowledge from the Unified Medical Language System (UMLS) into PLMs by replacing entities with synonyms or related concepts during pre-training. Our approach significantly improves performance on the BLURB benchmark and enhances robustness to terminology variations, particularly for rare entities.

Introduction

While pre-trained language models (PLMs) such as BERT are frequently utilized as implicit knowledge bases, they are susceptible to report bias. This phenomenon occurs when models prioritize high-frequency facts while neglecting low-frequency relational knowledge. In the biomedical field, this issue is exacerbated by non-standardized terminology—where a single disease may have multiple names—and hierarchical relationships (e.g., a specific tumor subtype is still a "tumor").

Standard models often fail to recognize that a rare synonym or a specific subtype should behave semantically like its more common counterpart. This paper addresses this gap by explicitly teaching the model these relationships during the pre-training phase through a technique called Entity Switching.

Methodology: Entity Switching

The core of the proposed approach is Entity Switching, a technique inspired by biological polymorphism. Instead of training solely on raw text, the model occasionally "swaps" recognized medical entities based on relationships defined in the Unified Medical Language System (UMLS).

The Entity Switching process: (a) unswitched text, (b) synonym switched text, and (c) phenotype (related concept) switched text.

The algorithm operates as follows:

  1. Identification: Medical entities in the training text are identified and matched to UMLS concept IDs.
  2. Switching Probability: When an entity is encountered, it has a probability $\alpha$ of being switched.
  3. Relation Selection: With probability $\beta$, the entity is switched to a related concept (e.g., a parent or child term). Otherwise, it is switched to a synonym sharing the same concept ID.
  4. Semantic Alignment: By maintaining the original context while varying the entity, the model is forced to learn that these different terms are semantically interchangeable or closely related.

Experimental Setup

The models were pre-trained on PubMedDS, a dataset comprising approximately 185,000 documents aligned with UMLS concepts. Evaluation was conducted across several dimensions:

  • Downstream Tasks: The BLURB (Biomedical Language Understanding and Reasoning Benchmark) suite, covering 13 tasks including named entity recognition and relation extraction.
  • Knowledge Probing: BioLAMA, a benchmark for factual knowledge.
  • Robustness Benchmarks: The authors introduced UMLS-Syn and UMLS-Hyp, modified versions of BioLAMA where subjects are replaced with synonyms or hyponyms to test robustness to terminology changes.

Results and Discussion

The proposed model demonstrated superior performance across all benchmarks. Notably, it achieved a BLURB score of 83.21, outperforming the baseline PubMedBERT by 3.12% and exceeding the performance of BioLinkBERT, a state-of-the-art model utilizing complex document-link pre-training.

Performance comparison across UMLS, UMLS-Syn, and UMLS-Hyp benchmarks, showing the robustness of the proposed method compared to PubMedBert.

Key insights from the results include:

  • Robustness to Synonyms: While standard models' performance plummeted when common terms were replaced with rare synonyms (as seen in the UMLS-Syn and UMLS-Hyp benchmarks), the proposed model remained relatively stable.
  • Mitigating Report Bias: Probing tests confirmed significant improvements in capturing knowledge related to low-frequency entities.
  • Importance of Relation Quality: Ablation studies revealed that "strong" relations (like parent/child) provided the most benefit, whereas arbitrary or "useless" relations introduced noise.

Conclusion

Entity Switching provides a simple yet effective mechanism for injecting structured domain knowledge into PLMs. By aligning synonyms and hierarchical concepts in the semantic space, the model overcomes report bias and becomes more robust to the linguistic variability inherent in medical text. Future work will explore integrating full graph structures from knowledge bases directly into Transformer architectures to further enhance these capabilities.

Summary updated

BibTeX
@misc{zhang2023injecting,
  author = {Hongbo Zhang and Xiang Wan and Benyou Wang},
  title = {{Injecting Knowledge into Biomedical Pre-trained Models via Polymorphism and Synonymous Substitution}},
  year = {2023},
  eprint = {2305.15010},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.15010},
}
Figure