EMBRE: Entity-aware Masking for Biomedical Relation Extraction

Mingjie Li, Karin VerspoorarXiv 2024 · DOI

Introduction

Extracting complex relationships between entities—such as the association between a specific gene and a disease—within biomedical literature remains a significant challenge for natural language processing. While modern language models like PubMedBERT have advanced the field, they primarily rely on standard Masked Language Modeling (MLM) during pre-training. MLM typically masks random tokens, which may fail to capture the deep, structural nuances of biomedical entities. To address this, the authors propose EMBRE (Entity-aware Masking for Biomedical Relation Extraction), a specialized pre-training objective designed to force models to learn robust representations of entities and their contextual relationships.

Methodology

The EMBRE framework utilizes a two-stage approach to enhance document-level relation extraction:

1. Entity-aware Masking (EMBRE) Pre-training

Unlike standard MLM, EMBRE identifies full named entities (e.g., "MMP1" or "lumbar disc disease") within PubMed abstracts. These entities are masked in their entirety. The model is then tasked with a dual prediction objective: identifying the Concept Type (e.g., Gene, Chemical, Disease) and the specific Identifier (database ID) of the masked entity. By masking all mentions of a specific identifier across a document, the model must rely on the broader context to reconstruct the entity's identity, thereby learning deeper semantic connections.

2. Multi-task Fine-tuning

Following pre-training, the backbone model is fine-tuned using two independent Multilayer Perceptrons (MLPs) to handle downstream tasks simultaneously:

  • Relation Classification: Identifying the specific type of link between entities.
  • Novelty Identification: Determining if the extracted relation represents a new finding or established background knowledge.
The EMBRE architecture showing the pre-training stage (left) with entity masking and the fine-tuning stage (right) for relation and novelty classification.

Experimental Setup and Datasets

The model was evaluated using the BioRED (Biomedical Relation Extraction Dataset), which consists of 600 PubMed abstracts with gold-standard human annotations. BioRED is particularly challenging because it requires document-level reasoning across multiple sentences and includes eight distinct relation types alongside novelty labels.

Results and Discussion

The authors compared the EMBRE-enhanced model (Run 2) against a standard PubMedBERT baseline (Run 1) on the BioRED Task 1 test set. The results demonstrate a significant shift in model behavior, particularly regarding recall.

Performance comparison on the BioRED dataset, highlighting the precision-recall trade-off between the baseline (Run 1) and EMBRE (Run 2).

Key Performance Metrics:

  • Overall Performance (NER + RE + ND): The F1-score improved from 0.1789 (Baseline) to 0.2254 (EMBRE).
  • Recall Boost: The most dramatic improvement was observed in Recall, which nearly doubled from 0.1151 to 0.2173. This suggests that EMBRE makes the model significantly better at discovering latent relationships that standard token-level masking misses.
  • Relation Extraction (NER + RE): For the specific task of identifying entity relations, the F1-score rose from 0.2640 to 0.3245.

The Precision-Recall Trade-off

While EMBRE significantly boosted recall, it came at the cost of precision, which dropped from approximately 0.40 to 0.23. This indicates that while the model is finding more valid relations, it is also generating a higher number of false positives. Furthermore, while these results show a marked improvement over the baseline, they remain below the median performance of all BioRED challenge submissions, suggesting that entity-masking is most effective when paired with additional architectural optimizations.

Conclusion

EMBRE introduces a data-efficient method for injecting domain-specific knowledge into language models without requiring massive external knowledge graphs. By focusing on entity-level semantics during pre-training, the model achieves a substantial boost in recall for biomedical relation extraction. Future work will focus on refining precision and integrating EMBRE with external knowledge bases or graph-based neural networks to further enhance extraction accuracy.

Summary updated

BibTeX
@misc{li2024embre,
  author = {Mingjie Li and Karin Verspoor},
  title = {{EMBRE: Entity-aware Masking for Biomedical Relation Extraction}},
  year = {2024},
  eprint = {2401.07877},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.07877},
}
Figure