Using Character-Level and Entity-Level Representations to Enhance Bidirectional Encoder Representation From Transformers-Based Clinical Semantic Textual Similarity Model: ClinicalSTS Modeling Study
Open Access
- 29 December 2020
- journal article
- research article
- Published by JMIR Publications Inc. in JMIR Medical Informatics
- Vol. 8 (12) , e23357
Abstract
Background: With the popularity of electronic health records (EHRs), the quality of health care has been improved. However, there are also some problems caused by EHRs, such as the growing use of copy-and-paste and templates, resulting in EHRs of low quality in content. In order to minimize data redundancy in different documents, Harvard Medical School and Mayo Clinic organized a national natural language processing (NLP) clinical challenge (n2c2) on clinical semantic textual similarity (ClinicalSTS) in 2019. The task of this challenge is to compute the semantic similarity among clinical text snippets. Objective: In this study, we aim to investigate novel methods to model ClinicalSTS and analyze the results. Methods: We propose a semantically enhanced text matching model for the 2019 n2c2/Open Health NLP (OHNLP) challenge on ClinicalSTS. The model includes 3 representation modules to encode clinical text snippet pairs at different levels: (1) character-level representation module based on convolutional neural network (CNN) to tackle the out-of-vocabulary problem in NLP; (2) sentence-level representation module that adopts a pretrained language model bidirectional encoder representation from transformers (BERT) to encode clinical text snippet pairs; and (3) entity-level representation module to model clinical entity information in clinical text snippets. In the case of entity-level representation, we compare 2 methods. One encodes entities by the entity-type label sequence corresponding to text snippet (called entity I), whereas the other encodes entities by their representation in MeSH, a knowledge graph in the medical domain (called entity II). Results: We conduct experiments on the ClinicalSTS corpus of the 2019 n2c2/OHNLP challenge for model performance evaluation. The model only using BERT for text snippet pair encoding achieved a Pearson correlation coefficient (PCC) of 0.848. When character-level representation and entity-level representation are individually added into our model, the PCC increased to 0.857 and 0.854 (entity I)/0.859 (entity II), respectively. When both character-level representation and entity-level representation are added into our model, the PCC further increased to 0.861 (entity I) and 0.868 (entity II). Conclusions: Experimental results show that both character-level information and entity-level information can effectively enhance the BERT-based STS model.Keywords
All Related Versions
This publication has 36 references indexed in Scilit:
- Electronic Health Records: Then, Now, and in the FutureYearbook of Medical Informatics, 2016
- Automatic de-identification of electronic medical records using token-level and character-level conditional random fieldsJournal of Biomedical Informatics, 2015
- 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
- AskHERMES: An online question answering system for complex clinical questionsJournal of Biomedical Informatics, 2011
- Copy and Paste of Electronic Health Records: A Modern Medical IllnessThe American Journal of Medicine, 2010
- MedEx: a medication information extraction system for clinical narrativesJournal of the American Medical Informatics Association, 2010
- Answer extraction, semantic clustering, and extractive summarization for clinical question answering2006
- A Piece of My Mind1992