[Paper Review] Fast and Effective Biomedical Entity Linking Using a Dual Encoder
This paper proposes a BERT-based dual encoder model for fast and accurate biomedical entity linking that processes all mentions in a document simultaneously, achieving up to 25x faster inference and competitive accuracy compared to state-of-the-art models. It enables end-to-end entity linking with joint mention span detection and disambiguation, outperforming models like SciSpacy and MedType on benchmark datasets.
Biomedical entity linking is the task of identifying mentions of biomedical concepts in text documents and mapping them to canonical entities in a target thesaurus. Recent advancements in entity linking using BERT-based models follow a retrieve and rerank paradigm, where the candidate entities are first selected using a retriever model, and then the retrieved candidates are ranked by a reranker model. While this paradigm produces state-of-the-art results, they are slow both at training and test time as they can process only one mention at a time. To mitigate these issues, we propose a BERT-based dual encoder model that resolves multiple mentions in a document in one shot. We show that our proposed model is multiple times faster than existing BERT-based models while being competitive in accuracy for biomedical entity linking. Additionally, we modify our dual encoder model for end-to-end biomedical entity linking that performs both mention span detection and entity disambiguation and out-performs two recently proposed models.
Motivation & Objective
- To address the inefficiency of existing BERT-based entity linking models that process one mention at a time, leading to high training and inference latency.
- To develop a collective entity linking approach that resolves all mentions in a document in a single forward pass, improving speed without sacrificing accuracy.
- To enable end-to-end biomedical entity linking by jointly learning mention span detection and entity disambiguation within a single dual encoder framework.
- To outperform existing models such as SciSpacy and MedType on end-to-end entity linking benchmarks without relying on semantic type information.
- To demonstrate that dense retrieval with a dual encoder can achieve higher recall than BM25 while maintaining fast inference speed.
Proposed method
- The model uses a dual encoder architecture where both mention and candidate entity representations are encoded using BioBERT, enabling efficient similarity computation.
- All mentions in a document are encoded in parallel, and each mention is compared against all candidate entities in the knowledge base in a single forward pass.
- The model is trained using a contrastive learning objective with hard and random negative sampling to improve representation quality.
- For end-to-end linking, the model is fine-tuned with a multi-task objective that jointly predicts mention spans and corresponding entities.
- Exhaustive span search is used during inference to generate all possible mention spans, improving recall over BIO tagging-based methods.
- The model avoids separate candidate retrieval by directly computing similarity scores between mentions and all entities, reducing inference overhead.
Experimental results
Research questions
- RQ1Can a dual encoder model process multiple entity mentions in a document simultaneously, achieving faster inference than per-mention models?
- RQ2Does collective entity linking with a single forward pass maintain or improve accuracy compared to existing state-of-the-art models?
- RQ3Can a unified dual encoder model effectively perform both mention span detection and entity disambiguation in an end-to-end manner?
- RQ4How does the recall and F1 performance of the proposed model compare to BM25 and other dense retrieval baselines on biomedical entity linking benchmarks?
- RQ5Does the model outperform specialized models like TaggerOne on multi-type biomedical datasets where entity types are diverse?
Key findings
- The proposed model is up to 25x faster at inference time than BLINK, a state-of-the-art BERT-based entity linking model.
- Training the collective model is 3x faster than other dual encoder models with the same number of parameters, due to batched processing of all mentions.
- On the MedMentions dataset, the model achieves a recall@10 of 87.5 on the development set and 87.6 on the test set, outperforming both BM25 and dense retrieval baselines.
- For end-to-end entity linking, the model achieves an F1 score of 75.2 on the BC5CDR dataset under the strict match protocol, significantly outperforming SciSpacy (F1=22.3) and MedType (F1=23.5).
- The exhaustive span search method yields higher F1 scores (75.2) than the BIO tagging method (30.3) on the BC5CDR dataset, demonstrating its effectiveness despite higher computational cost.
- The model achieves superior performance on the MedMentions dataset without using semantic type information, outperforming MedType and SciSpacy across all evaluation metrics.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.