Measurement of Semantic Textual Similarity in Clinical Texts: Comparison of Transformer-Based Models (Preprint)
Preprint
- 27 July 2020
- preprint
- Published by JMIR Publications Inc. in JMIR Preprints
Abstract
Journal of Medical Internet Research - International Scientific Journal for Medical Research, Information and Communication on the Internet #Preprint #PeerReviewMe: Warning: This is a unreviewed preprint. Readers are warned that the document has not been peer-reviewed by expert/patient reviewers or an academic editor, may contain misleading claims, and is likely to undergo changes before final publication, if accepted, or may have been rejected/withdrawn. Readers with interest and expertise are encouraged to sign up as peer-reviewer, if the paper is within an open peer-review period. Please cite this preprint only for review purposes or for grant applications and CVs (if you are the author). Background: Semantic textual similarity (STS) is one of the fundamental tasks in natural language processing (NLP). Many shared tasks and corpora for STS have been organized and curated in the general English domain; however, such resources are limited in the biomedical domain. In 2019, the National NLP Clinical Challenges (n2c2) challenge developed a comprehensive clinical STS dataset and organized a community effort to solicit state-of-the-art solutions for clinical STS. Objective: This study presents our transformer-based clinical STS models developed during this challenge as well as new models we explored after the challenge. This project is part of the 2019 n2c2/Open Health NLP shared task on clinical STS. Methods: In this study, we explored 3 transformer-based models for clinical STS: Bidirectional Encoder Representations from Transformers (BERT), XLNet, and Robustly optimized BERT approach (RoBERTa). We examined transformer models pretrained using both general English text and clinical text. We also explored using a general English STS dataset as a supplementary corpus in addition to the clinical training set developed in this challenge. Furthermore, we investigated various ensemble methods to combine different transformer models. Results: Our best submission based on the XLNet model achieved the third-best performance (Pearson correlation of 0.8864) in this challenge. After the challenge, we further explored other transformer models and improved the performance to 0.9065 using a RoBERTa model, which outperformed the best-performing system developed in this challenge (Pearson correlation of 0.9010). Conclusions: This study demonstrated the efficiency of utilizing transformer-based models to measure semantic similarity for clinical text. Our models can be applied to clinical applications such as clinical text deduplication and summarization.Keywords
All Related Versions
- Published version: JMIR Medical Informatics, 8 (11), e19735.
This publication has 28 references indexed in Scilit:
- MIMIC-III, a freely accessible critical care databaseScientific Data, 2016
- Robust semantic text similarity using LSA, machine learning, and linguistic resourcesLanguage Resources and Evaluation, 2015
- Uses of Electronic Health Records for Public Health Surveillance to Advance Public HealthAnnual Review of Public Health, 2015
- SOPA: Random Forests Regression for the Semantic Textual Similarity task2015
- MiniExperts: An SVM Approach for Measuring Semantic Textual Similarity2015
- SemEval-2015 Task 2: Semantic Textual Similarity, English, Spanish and Pilot on Interpretability2015
- Multi-Perspective Sentence Similarity Modeling with Convolutional Neural Networks2015
- SemEval-2014 Task 10: Multilingual Semantic Textual Similarity2014
- Experiments with Semantic Similarity Measures Based on LDA and LSA2013
- Data from clinical notes: a perspective on the tension between structure and flexible documentationJournal of the American Medical Informatics Association, 2011