Abstract
Identifying relationships between medical entities in unstructured text is a critical challenge in biomedical informatics. This study systematically evaluates six context representation models—ranging from simple Bag-of-Words to advanced Transformer-based architectures—on two benchmark corpora: MADE and CDR. The findings highlight the superiority of domain-specific models like BioBERT and the surprising efficiency of n-gram-based sentence embeddings (Sent2Vec) as a low-resource alternative.
Introduction
In the vast sea of unstructured biomedical text, identifying how entities like drugs, symptoms, and diseases relate to one another is a monumental task known as Relation Extraction (RE). The primary difficulty lies in interpreting the "context"—the words appearing between entity mentions.
For example, consider the difference between "Patient was prescribed Lorazepam for nausea" (a clear indication) and "Lorazepam was administered; the patient also reported a history of nausea" (no direct link). This paper seeks to identify the most effective mathematical way to represent that context so machines can accurately distinguish between these semantic cases.
Methodology
The researchers compared six distinct approaches for representing context:
- Bag of Words (BoW): A simple count of word occurrences that ignores sequence.
- Averaged Word Embeddings (Word2Vec): Summing vector representations of words, which can sometimes lose specific details.
- Sentence Embeddings (Sent2Vec): An evolution of Word2Vec that trains on n-grams to better capture local context.
- Convolutional Neural Networks (CNN): Used to extract local features by sliding filters across the text.
- Recurrent Neural Networks (RNN/LSTM): Designed to process sequential data and track long-distance dependencies.
- BioBERT: A version of the BERT (Bidirectional Encoder Representations from Transformers) model specifically pre-trained on massive amounts of biomedical text from PubMed.
For all models, a Support Vector Machine (SVM) was used as the final classifier to decide if a relation existed based on the representation provided.
Datasets and Experimental Setup
The models were evaluated on two benchmark corpora with distinct characteristics:
- MADE: 1,089 anonymized electronic health records from cancer patients, focusing on relationships between drugs and their attributes or adverse effects.
- CDR (Chemical-Disease Relation): A collection of PubMed abstracts annotated for links between chemicals and diseases.
As shown in Table 1, the MADE dataset is significantly larger in terms of total relations, while the CDR dataset features longer average context lengths, presenting a more complex challenge for extraction models.
Key Results and Analysis
The study used the F-measure (a balance of precision and recall) as the primary metric to evaluate performance across both datasets.
The Dominance of BioBERT
BioBERT (represented as BERT in Table 2) significantly outperformed traditional methods. On the MADE dataset, it achieved a dominant 90.5% F-measure. Its high precision (92.9%) indicates that when the model predicts a relationship, it is correct nearly 93% of the time, which is vital for clinical reliability.
The Efficiency of Sent2Vec
While BioBERT was the overall winner, Sent2Vec emerged as a surprisingly strong runner-up, particularly on the CDR dataset where it achieved a 40.5% F-measure, trailing BioBERT by less than 2%. This suggests that for teams with limited computing power, n-gram-based sentence embeddings offer a high-performance, low-cost alternative to massive Transformer models.
CNNs Outpace RNNs
In the biomedical domain, CNNs significantly outperformed RNNs, notably by over 30% on the MADE dataset (77.2% vs 44.0% F-measure). This suggests that identifying specific "trigger" phrases or local patterns is often more important for relation extraction in clinical notes than tracking the entire long-term sequence of a sentence.
Conclusion
The results demonstrate that domain-specific pre-training is crucial; general-purpose language models often struggle with specialized medical jargon. While the CDR dataset proved more challenging due to its smaller size and longer contexts, the consistent lead of Transformer-based models like BioBERT establishes a clear state-of-the-art for biomedical relation extraction. Future work will involve applying these context models to even more complex biological tasks, such as protein-protein interaction extraction.
Summary updated