Comparing general and specialized word embeddings for biomedical named entity recognition

Increased interest in the use of word embeddings, such as word representation, for biomedical named entity recognition (BioNER) has highlighted the need for evaluations that aid in selecting the best word embedding to be used. One common criterion for selecting a word embedding is the type of source...

Full description

Bibliographic Details
Main Authors: Rigo E. Ramos-Vargas, Israel Román-Godínez, Sulema Torres-Ramos
Format: Article
Language:English
Published: PeerJ Inc. 2021-02-01
Series:PeerJ Computer Science
Subjects:
Online Access:https://peerj.com/articles/cs-384.pdf
id doaj-62f28436d3bd44d5b211f8f739c7d19c
record_format Article
spelling doaj-62f28436d3bd44d5b211f8f739c7d19c2021-02-20T15:05:15ZengPeerJ Inc.PeerJ Computer Science2376-59922021-02-017e38410.7717/peerj-cs.384Comparing general and specialized word embeddings for biomedical named entity recognitionRigo E. Ramos-VargasIsrael Román-GodínezSulema Torres-RamosIncreased interest in the use of word embeddings, such as word representation, for biomedical named entity recognition (BioNER) has highlighted the need for evaluations that aid in selecting the best word embedding to be used. One common criterion for selecting a word embedding is the type of source from which it is generated; that is, general (e.g., Wikipedia, Common Crawl), or specific (e.g., biomedical literature). Using specific word embeddings for the BioNER task has been strongly recommended, considering that they have provided better coverage and semantic relationships among medical entities. To the best of our knowledge, most studies have focused on improving BioNER task performance by, on the one hand, combining several features extracted from the text (for instance, linguistic, morphological, character embedding, and word embedding itself) and, on the other, testing several state-of-the-art named entity recognition algorithms. The latter, however, do not pay great attention to the influence of the word embeddings, and do not facilitate observing their real impact on the BioNER task. For this reason, the present study evaluates three well-known NER algorithms (CRF, BiLSTM, BiLSTM-CRF) with respect to two corpora (DrugBank and MedLine) using two classic word embeddings, GloVe Common Crawl (of the general type) and Pyysalo PM + PMC (specific), as unique features. Furthermore, three contextualized word embeddings (ELMo, Pooled Flair, and Transformer) are compared in their general and specific versions. The aim is to determine whether general embeddings can perform better than specialized ones on the BioNER task. To this end, four experiments were designed. In the first, we set out to identify the combination of classic word embedding, NER algorithm, and corpus that results in the best performance. The second evaluated the effect of the size of the corpus on performance. The third assessed the semantic cohesiveness of the classic word embeddings and their correlation with respect to several gold standards; while the fourth evaluates the performance of general and specific contextualized word embeddings on the BioNER task. Results show that the classic general word embedding GloVe Common Crawl performed better in the DrugBank corpus, despite having less word coverage and a lower internal semantic relationship than the classic specific word embedding, Pyysalo PM + PMC; while in the contextualized word embeddings the best results are presented in the specific ones. We conclude, therefore, when using classic word embeddings as features on the BioNER task, the general ones could be considered a good option. On the other hand, when using contextualized word embeddings, the specific ones are the best option.https://peerj.com/articles/cs-384.pdfWord embeddingsBioNERBiLSTM-CRFDrugBankMedLinePyysalo PM + PMC
collection DOAJ
language English
format Article
sources DOAJ
author Rigo E. Ramos-Vargas
Israel Román-Godínez
Sulema Torres-Ramos
spellingShingle Rigo E. Ramos-Vargas
Israel Román-Godínez
Sulema Torres-Ramos
Comparing general and specialized word embeddings for biomedical named entity recognition
PeerJ Computer Science
Word embeddings
BioNER
BiLSTM-CRF
DrugBank
MedLine
Pyysalo PM + PMC
author_facet Rigo E. Ramos-Vargas
Israel Román-Godínez
Sulema Torres-Ramos
author_sort Rigo E. Ramos-Vargas
title Comparing general and specialized word embeddings for biomedical named entity recognition
title_short Comparing general and specialized word embeddings for biomedical named entity recognition
title_full Comparing general and specialized word embeddings for biomedical named entity recognition
title_fullStr Comparing general and specialized word embeddings for biomedical named entity recognition
title_full_unstemmed Comparing general and specialized word embeddings for biomedical named entity recognition
title_sort comparing general and specialized word embeddings for biomedical named entity recognition
publisher PeerJ Inc.
series PeerJ Computer Science
issn 2376-5992
publishDate 2021-02-01
description Increased interest in the use of word embeddings, such as word representation, for biomedical named entity recognition (BioNER) has highlighted the need for evaluations that aid in selecting the best word embedding to be used. One common criterion for selecting a word embedding is the type of source from which it is generated; that is, general (e.g., Wikipedia, Common Crawl), or specific (e.g., biomedical literature). Using specific word embeddings for the BioNER task has been strongly recommended, considering that they have provided better coverage and semantic relationships among medical entities. To the best of our knowledge, most studies have focused on improving BioNER task performance by, on the one hand, combining several features extracted from the text (for instance, linguistic, morphological, character embedding, and word embedding itself) and, on the other, testing several state-of-the-art named entity recognition algorithms. The latter, however, do not pay great attention to the influence of the word embeddings, and do not facilitate observing their real impact on the BioNER task. For this reason, the present study evaluates three well-known NER algorithms (CRF, BiLSTM, BiLSTM-CRF) with respect to two corpora (DrugBank and MedLine) using two classic word embeddings, GloVe Common Crawl (of the general type) and Pyysalo PM + PMC (specific), as unique features. Furthermore, three contextualized word embeddings (ELMo, Pooled Flair, and Transformer) are compared in their general and specific versions. The aim is to determine whether general embeddings can perform better than specialized ones on the BioNER task. To this end, four experiments were designed. In the first, we set out to identify the combination of classic word embedding, NER algorithm, and corpus that results in the best performance. The second evaluated the effect of the size of the corpus on performance. The third assessed the semantic cohesiveness of the classic word embeddings and their correlation with respect to several gold standards; while the fourth evaluates the performance of general and specific contextualized word embeddings on the BioNER task. Results show that the classic general word embedding GloVe Common Crawl performed better in the DrugBank corpus, despite having less word coverage and a lower internal semantic relationship than the classic specific word embedding, Pyysalo PM + PMC; while in the contextualized word embeddings the best results are presented in the specific ones. We conclude, therefore, when using classic word embeddings as features on the BioNER task, the general ones could be considered a good option. On the other hand, when using contextualized word embeddings, the specific ones are the best option.
topic Word embeddings
BioNER
BiLSTM-CRF
DrugBank
MedLine
Pyysalo PM + PMC
url https://peerj.com/articles/cs-384.pdf
work_keys_str_mv AT rigoeramosvargas comparinggeneralandspecializedwordembeddingsforbiomedicalnamedentityrecognition
AT israelromangodinez comparinggeneralandspecializedwordembeddingsforbiomedicalnamedentityrecognition
AT sulematorresramos comparinggeneralandspecializedwordembeddingsforbiomedicalnamedentityrecognition
_version_ 1724259752669609984