Clinical Relation Extraction Using Transformer-based Models
Not on the map. Why?
Abstract (arXiv)
The newly emerged transformer technology has a tremendous impact on NLP research. In the general English domain, transformer-based models have achieved state-of-the-art performances on various NLP benchmarks. In the clinical domain, researchers also have investigated transformer models for clinical applications. The goal of this study is to systematically explore three widely used transformer-based models (i.e., BERT, RoBERTa, and XLNet) for clinical relation extraction and develop an open-source package with clinical pre-trained transformer-based models to facilitate information extraction in the clinical domain. We developed a series of clinical RE models based on three transformer architectures, namely BERT, RoBERTa, and XLNet. We evaluated these models using 2 publicly available datasets from 2018 MADE1.0 and 2018 n2c2 challenges. We compared two classification strategies (binary vs. multi-class classification) and investigated two approaches to generate candidate relations in different experimental settings. In this study, we compared three transformer-based (BERT, RoBERTa, and XLNet) models for relation extraction. We demonstrated that the RoBERTa-clinical RE model achieved the best performance on the 2018 MADE1.0 dataset with an F1-score of 0.8958. On the 2018 n2c2 dataset, the XLNet-clinical model achieved the best F1-score of 0.9610. Our results indicated that the binary classification strategy consistently outperformed the multi-class classification strategy for clinical relation extraction. Our methods and models are publicly available at https://github.com/uf-hobi-informatics-lab/ClinicalTransformerRelationExtraction. We believe this work will improve current practice on clinical relation extraction and other related NLP tasks in the biomedical domain.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 31 of its 75 references that are in the map. First posted on arXiv 19 Jul 2021.
Builds on
31 of 75 references.
References · 31
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
- 2018Deep contextualized word representationscited by 2,290
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
- 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,947
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
19 more
- 2016Enriching Word Vectors with Subword Informationcited by 1,583
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,043
- 2019Publicly Available Clinical BERT Embeddingscited by 1,002
- 2020Efficient Transformers: A Surveycited by 790
- 2020A Survey on Knowledge Graphs: Representation, Acquisition and Applicationscited by 643
- 2020Pre-trained Models for Natural Language Processing: A Surveycited by 505
- 2019ClinicalBERT: Modeling Clinical Notes and Predicting Hospital Readmissioncited by 493
- 2019Transfer Learning in Biomedical Natural Language Processing: An Evaluation of BERT and ELMo on Ten Benchmarking Datasetscited by 299
- 2019Matching the Blanks: Distributional Similarity for Relation Learningcited by 272
- 2015Semi-supervised Sequence Learningcited by 198
- 2020BioMegatron: Larger Biomedical Domain Language Modelcited by 76
- 2020UmlsBERT: Clinical Domain Knowledge Augmentation of Contextual Embeddings Using the Unified Medical Language System Metathesauruscited by 53
- 2019Enhancing Clinical Concept Extraction with Contextual Embeddingscited by 48
- 2015Classifying Relations via Long Short Term Memory Networks along Shortest Dependency Pathcited by 35
- 2019Clinical XLNet: Modeling Sequential Clinical Notes and Predicting Prolonged Mechanical Ventilationcited by 30
- 2017A Survey of Deep Learning Methods for Relation Extractioncited by 16
- 2021Deep Neural Network Based Relation Extraction: An Overviewcited by 11
- 2021Extracting Adverse Drug Events from Clinical Notescited by 7
- 2020Neural relation extraction: a surveycited by 4
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 3; 2024: 2; 2025: 1; 2026: 1.
9 papers.
- 2022GatorTron: A Large Clinical Language Model to Unlock Patient Information from Unstructured Electronic Health Recordscited by 238
- 2023Model Tuning or Prompt Tuning? A Study of Large Language Models for Clinical Concept and Relation Extractioncited by 32
- 2023Clinical Concept and Relation Extraction Using Prompt-based Machine Reading Comprehensioncited by 13
- 2024ED-Copilot: Reduce Emergency Department Wait Time with Language Model Diagnostic Assistancecited by 9
- 2021Deeper Clinical Document Understanding Using Relation Extractioncited by 7
- 2023Generative Large Language Models Are All-purpose Text Analytics Engines: Text-to-text Learning Is All Your Needcited by 6
- 2024Improving Generalizability of Extracting Social Determinants of Health Using Large Language Models through Prompt-tuningcited by 0
- 2025Systematic Comparative Analysis of Large Pretrained Language Models on Contextualized Medication Event Extractioncited by 0
- 2026Prompt, Plan, Extract: Zero-Shot Agentic LLMs Workflows for Lung Pathology Extraction from Clinical Narrativescited by 0
- 2026Prompt, Plan, Extract: Zero-Shot Agentic LLMs Workflows for Lung Pathology Extraction from Clinical Narratives18 Jun 2026
- 2025Systematic Comparative Analysis of Large Pretrained Language Models on Contextualized Medication Event Extraction23 Sep 2025
- 2024Improving Generalizability of Extracting Social Determinants of Health Using Large Language Models through Prompt-tuning19 Mar 2024
- 2024ED-Copilot: Reduce Emergency Department Wait Time with Language Model Diagnostic Assistance21 Feb 2024
- 2023Generative Large Language Models Are All-purpose Text Analytics Engines: Text-to-text Learning Is All Your Need11 Dec 2023
- 2023Model Tuning or Prompt Tuning? A Study of Large Language Models for Clinical Concept and Relation Extraction10 Oct 2023
- 2023Clinical Concept and Relation Extraction Using Prompt-based Machine Reading Comprehension14 Mar 2023
- 2022GatorTron: A Large Clinical Language Model to Unlock Patient Information from Unstructured Electronic Health Records2 Feb 2022
- 2021Deeper Clinical Document Understanding Using Relation Extraction25 Dec 2021