Introduction
In the rapidly expanding field of biomedical research, the volume of scientific literature published daily has far outpaced the ability of human researchers to manually curate and track every interaction between chemicals, proteins, and drugs. Automated Relation Extraction (RE) systems are essential for scanning repositories like PubMed to build structured databases of these interactions. While transformer-based models like BERT have significantly advanced the state-of-the-art, they often struggle with domain-specific nuances and the "long tail" of rare entities. Researchers from the Turku NLP Group have addressed this by combining BERT with unsupervised entity-pair embeddings pre-trained on vast amounts of unlabeled scientific literature.
Methodology: Hybridizing BERT with Entity-Pair Embeddings
The core innovation of this research lies in a hybrid approach that merges deep contextualized representations from BERT with traditional distributional semantics. The authors propose that by pre-training embeddings for specific entity pairs (e.g., a specific chemical-protein interaction) on the entire PubMed corpus, the model can learn the "personality" or typical relational context of those entities before even seeing annotated training data.
Unsupervised Pre-training and Contextual Innovation
Instead of relying solely on surrounding words—the standard approach in models like word2vec—the researchers utilized the Turku Event Extraction System (TEES) to extract rich linguistic features. These features include dependency parse tree paths between entities and POS-tag N-grams, providing a structural signal that raw word-level pre-training often misses.
To test the efficacy of different configurations, the authors defined several embedding models based on their content (individual entities vs. pairs) and the context used for training (simple words vs. TEES features).
Model Architecture
The architecture integrates these pre-trained embeddings into a BERT-based neural network. A key tactical shift was moving from "masking" entities (replacing them with generic tags like @PROTEIN$) to "marking" them. By using special [unused] tokens in the BERT vocabulary to highlight entity boundaries, the model preserves the identity of the entities, allowing it to leverage prior knowledge about specific molecules. The pre-trained entity-pair vectors are then concatenated with the BERT [CLS] token representation before the final classification layer.
Results and Performance
The proposed methods were evaluated on the CHEMPROT (Chemical-Protein) corpus from the BioCreative VI shared task, which contains over 10,000 annotated examples. The results established a new state-of-the-art (SOTA) for the task.
As shown in the results table, the best-performing model (BERT+Pairs+Entities using TEES features) achieved an F-score of 77.19, surpassing the previous SOTA of 76.46 established by Lee et al. (2019). Crucially, the authors found that randomly initializing these embeddings failed to beat the baseline, confirming that the knowledge extracted from the unsupervised literature scan is the primary driver of the performance gain.
Key Insights
- Pairs Matter More Than Individuals: Incorporating embeddings for the pair of entities (the relationship itself) provided a more significant performance boost than using embeddings for individual entities alone.
- Marking > Masking: "Marking" entities with special tokens significantly outperforms "masking" them. Masking hides entity identities, preventing the model from utilizing its learned prior knowledge about specific molecules.
- Feature-Rich Contexts: Training embeddings using dependency-parse features via TEES proved superior to using simple linear word windows, suggesting that structural linguistic relationships are vital signals for relation extraction.
- Transfer Learning Synergy: Even with a powerful feature extractor like BERT, adding domain-specific, unsupervised embeddings provides a meaningful "boost," indicating that these two methods capture complementary information.
Conclusion and Future Work
By successfully combining transformer architectures with feature-rich entity-pair embeddings, this research provides a robust framework for improving relation extraction in specialized domains where annotated data is scarce. While the current study focused on chemical-protein relations, the authors plan to extend this approach to other biomedical datasets, such as drug-drug or gene-disease interactions, to further validate its generalizability. Future work will also explore more complex methods for fusing these embeddings with transformer architectures to reduce the computational intensity of generating rich linguistic features.
Summary updated