<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>IXA-NER-RE at eHealth-KD Challenge 2020: Cross-Lingual Transfer Learning for Medical Relation Extraction</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Edgar Andrés</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Oscar Sainz</string-name>
          <email>osainz006@ehu.eus</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Aitziber Atutxa</string-name>
          <email>aitziber.atutxa@ehu.eus</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Oier Lopez de Lacalle</string-name>
          <email>oier.lopezdelacalle@ehu.eus</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>IXA NLP Group, University of the Basque Country, UPV/EHU</institution>
        </aff>
      </contrib-group>
      <fpage>151</fpage>
      <lpage>162</lpage>
      <abstract>
        <p>The eHealth-KD 2020 set out this year an automatic extraction challenge on a coarse range of knowledge from health documents written in the Spanish Language. Our group has participated in all the proposed scenarios; the main one, the Named Entity Recognition (NER) subtask, the Relation Extraction (RE) subtask, and the alternative domain obtaining very diferent results in each of them. The main task has been conceived as a pipeline of the NER and RE subtask, each of them independently developed from the other. The Name Entity Recognition task has been envisaged as a basic seq2seq system applying a general-purpose Language Model and static embeddings. Unlike the NER subtask, in the RE subtask several approaches were successfully explored; first, transfer learning methods as a way to measure the adaptation ability of pre-trained language models to both medical domain and Spanish language. Second, Matching the Blanks to tackle the problem of the reduced size of the training corpus by producing relation representations directly from non tagged text. As mentioned, the results in the diferent task were heterogeneous; while the result in NER is on the average (F1 0.66), with ample room for improvement, the result in RE has been outstanding, obtaining the first place in this task (F1 0.633) with more than 3 points over the next classified, demonstrating the soundness of the proposed techniques.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Language Models</kwd>
        <kwd>Matching the Blanks</kwd>
        <kwd>Named Entity Recognition</kwd>
        <kwd>Relation Extraction</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        In this paper we describe our participation at eHealth-KD 2020 shared task [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], consisting on
extracting semantic structured information for Spanish medical texts. The challenge is divided
in two main tasks proposed as a pipeline. The first task is devoted to the identification and
classification of medical entities. In the second task, participants need to detect the semantic
relations between the entities, presumably, discovered in the first task.
      </p>
      <p>Organizers proposed diferent evaluation schemes in which 1) systems are evaluated on
the whole tasks at once (main evaluation), and 2) entity recognition and relation extraction
are evaluated separately (task A and task B, respectively). Our system is built on top of two
independent components and, thus, training and development of the each component is carried
out in their specific sub-tasks separately.</p>
      <p>
        We approached the Named Entity Recognition (NER) task1 with a character based BiLSTM
sequence labeler [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] trained on the training set provided by the organizers employing both
pretrained general domain Language Model and static word embeddings. Regarding the relation
extraction task2, in order to solve it, we decided to use a transfer learning strategy and fine-tune
existing multilingual pre-trained language models [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] in the annotated data of the task.
      </p>
      <p>
        Note that we propose a system with heterogeneous components, with diferent goals for each
of the part in the system. This way, the goals of our participation in the task are twofold.
• Entity recognition: Our goal was to check the suitability of a character based
pretrained Language Model based system on a heterogeneous NER setting. Pre-trained
Language Model based systems have been successfully used in Medical Entity Recognition
(MER) tasks. But unlike other similar challenges that involved MER (CLEF eHealth 2020,
PharmacoNER 2019), the present task is especially challenging because the entities are
not purely medical but very heterogeneous not only semantically regarding the domain,
but also syntactically.
• Relation extraction: Our main goal for using large multilingual pre-trained language
models is to measure ability to adapt to medical domain and Spanish language when
using transfer learning methods. In addition make experiments adapting Matching the
Blanks [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] (MTB) to eHealth-KD 2020 setting.
      </p>
      <p>The system obtains very uncompensated results, while in relation extraction we outperform
the rest of the participants by wide margin (3.4 points better than the second ranked), system
has large room of improvement in entity recognition (we are still more than 10 points lower
than best systems). Overall, our system shows very competitive results with 55.7 of F1 in the
main task.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Related Work</title>
      <p>
        Entity recognition MER, as opposed to NER, shows certain specificities [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], like their
descriptive nature, their productivity and the massive use of acronyms. These specificities and the
fact that static embeddings were systematically employed by NER systems, yield researchers to
use in-domain corpus, as opposed to general-domain corpus, to both train the MER systems
as well as the static pre-trained embeddings, in order to obtain better results since controlling
domain leads to better control on polysemy ([
        <xref ref-type="bibr" rid="ref6">6</xref>
        ],[
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]). Recently, performance of both NER and
MER tasks has shown a significant breakthrough with the introduction of contextualized word
embeddings (ELMo [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], ULMFiT [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], BERT [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] and FLAIR [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]).
      </p>
      <p>
        Although contextualized embeddings seem to reduce the gap between general and domain
specific corpus, several works on MER task argue that domain-specific contextualized
embeddings still yields superior performance over the standard and general-domain word embeddings
([
        <xref ref-type="bibr" rid="ref11">11</xref>
        ],[
        <xref ref-type="bibr" rid="ref12">12</xref>
        ],[
        <xref ref-type="bibr" rid="ref13">13</xref>
        ],[
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]). As mentioned in the introduction, the present MER task due to its
heterogeneity (concepts are more specific to the medical domain while actions or references
1Entities are classified in 4 types: concept, action, predicate, and reference.
      </p>
      <p>2The 13 relation types are organized in 4 main categories: general relations, contextual relations,
action roles, and predicate roles.
are less specific) represents a perfect playground to check the performance of contextualized
Language Models based embeddings calculated over general domain corpus on the diferent
entities.</p>
      <p>
        Transfer Learning Recently transfer learning has been shown as a successful alternative
when (almost) no annotated data is available in the target domain and language [
        <xref ref-type="bibr" rid="ref10 ref4">10, 4</xref>
        ]. Recent
Transformer sequence models [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ] surpass the state-of-the-art in many information extraction
tasks such as relation extraction [
        <xref ref-type="bibr" rid="ref16 ref17 ref4">4, 16, 17</xref>
        ]. Some works try to integrate the information available
in knowledge bases into Transformers sequence models [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ]. Nevertheless, simpler approaches
based on entity markers (further details in Section 4) show same competitive performance with a
quicker setup [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. In a similar manner, multilingual language models [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] have shown impressive
capacity to perform zero-shot learning in cross-lingual tasks. This kind of models seems very
promising for relation extraction tasks where target language contains small annotated training
set.
      </p>
      <p>
        Data-augmentation A variety of data-augmentation have been proposed for information
extraction tasks. One of the most significant paradigm is distant-supervision [
        <xref ref-type="bibr" rid="ref18 ref19">18, 19</xref>
        ], in which
existing relations in knowledge bases are aligned to unlabeled text relying on some heuristics
and automatically labeling training data [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ]. More recently, Soares et al. [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] introduce an
augmentation method that does not require relation label and adapts the model learning by
Matching the Blanks (MTB). In this work we explore the idea of MTB to approach the relation
extraction task in eHealth-KD 2020.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Entity Recognition system</title>
      <p>
        We adopted a sequence to sequence Deep Learning approach [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] to pursue the Named Entity
Recognition (NER) task.
      </p>
      <sec id="sec-3-1">
        <title>3.1. NER Architecture</title>
        <p>
          The FLAIR system [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] employed for NER is shown in the Figure 1 is composed by three main
components; first a character based Language model (LM) which generates very powerful
character based contextual word representations, that are afterwards concatenated with static
embeddings. On the top of this LM layer, a BiLSTM layer captures the sequential dependencies
among the words of the input sequence. And finally, a conditional random fields (CRF) layer to
handle the tagging inference.
        </p>
        <p>The LM in this case concatenates: Static Embeddings and Contextual Flair Embeddings.
Contextual FLAIR Embeddings are formed from the character based partial calculations, the
BiLSTM strategy is used to take context into account. Those calculations are performed as seen
in the bottom of the Figure 1, the results are concatenated with Static Embeddings.</p>
        <p>The input provided by the organizer as BRAT standof format, was tokenized using NLTK
word_tokenize general purpose function and afterwards converted to the Inside Outside
Beginning format (IOB). This format does not capture overlapped and disjoint entities. The
development set was divided so, one part was used for development and other for test. The
output of the system was converted to the required BRAT standof format into the corresponding
(.ann) files, this consists on an entity, ofsets and the matched text.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Learning Setup</title>
        <p>The proposed architecture was submitted in the current approach, the language model was
composed by Contextual and Static Word Embeddings, in between the LM and the Dependency
layer was proposed a dropout layer, finally the Prediction layer was connected after it. The
architecture used for training can be seen on the Table 1. The training hyperparemeters can
summarized as follows: learning rate 0.1, batch size 16 and patience 3 for early stop, it takes
into account over-fitting in development file. Maximum of hundred epochs of training were
performed, and stopped at 81 epoch. The process was computed on CPU AMD Ryzen 7 1700
Eight-Core Processor, and took 45 minutes to end.</p>
        <p>
          In the current experiment we used pre-trained FastText Static Embeddings (es-crawl) [
          <xref ref-type="bibr" rid="ref21">21</xref>
          ]
trained over Web crawls (general-domain) and Contextual Flair Embeddings (es-forward +
es-backward) [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] trained with Wikipedia (general-domain). All embedding layer were calculated
keeping the default parameters. We did not use the additional Medline sentences to train the
LM. Therefore no in-domain fine-tunning was pursued.
Layer
LM-Forward
LM-Backward
Dependency Tracker
        </p>
        <p>Decision layer</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Relation Extraction system</title>
      <p>On this section we describe our relation extraction (RE) component. In total we have built three
RE systems: XLMem, XLMem* and XLMem*+MTB. All the models are based on the same XLM
with entity-markers (XLMem) architecture, but they difer on training strategies and data. We
ifrst describe the base architecture of XMLem models. In the following sections, we discuss
diferent training strategies and the hyperparameter values used in training.</p>
      <sec id="sec-4-1">
        <title>4.1. XLMem Architecture</title>
        <p>
          The basic architecture of our system is the relation encoder. The encoder consist on a transformer
[
          <xref ref-type="bibr" rid="ref15">15</xref>
          ] based pre-trained language model with a relation extraction head on top. A particularity
of this relation encoder is the need of Entity Markers [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] as additional tokens on the input
sentence. This special tokens delimits the boundaries of each entity on the input sentence as
shown in the Figure 2. The entity aware input is then fed to the pre-trained language model.
The relation extraction head concatenates the representations of the markers that indicate the
starting position of the entities and combine them with a linear layer encoding the final relation
representation.
        </p>
        <p>Formally, given a relation statement  = (,  1,  2) formed by a sequence of tokens  =
[ 0,  1, ...,   ] and two entities  1 and  2, we first corrupt our input sentence by adding the entity
markers ([E1S] and [E1E] defines where the first entity starts and ends)</p>
        <p>̃ = [ 0, ..., [ 1 ],  1, [ 1 ], ..., [ 2 ],  2, [ 2 ], ...,   ]
then we obtain the hidden representations ℎ =     
relation encoder   as follows:
( ̃ ) and finally we define our
where   ∈ ℝ2 × and   ∈ ℝ being  the hidden representation size. Finally, classification
is performed by stacking a linear layer on top of the   encoder with a softmax activation
function:

( ) =  
(    ( ) +   )
where   ∈ ℝ × and   ∈ ℝ being  the hidden representation size and  the number of
relations.</p>
        <p>
          Using XLM as pre-trained language model gives the opportunity to learn a cross-lingual
relation-encoder, which seems to be a good choice for this setting. Concretely, we use the
xlmmlm-17-1280 checkpoint provided by the Hugging Face team [
          <xref ref-type="bibr" rid="ref22">22</xref>
          ]. This particular checkpoint
has been trained on the Masked Language Model (MLM) strategy with 17 languages including
Spanish, which is our target language for the task.
(1)
(2)
        </p>
      </sec>
      <sec id="sec-4-2">
        <title>4.2. Matching the Blanks</title>
        <p>
          Matching the Blanks [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] (MTB) can be seen as novel alternative to the well-known Distant
Supervision [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ]. The approach is based on the hypothesis that if two entities are related,
sentences that contains those two entities are more likely to express same relation. The Figure 3
shows three diferent sentences from our MTB corpus. While the first two sentences encode
the same relation for paciente and síntomas, the third sentence express the relation for paciente
and tiempo.
        </p>
        <p>Training dataset is generated as follows. We generate positive pairs of sentence (i.e examples
1 and 2 in Figure 3) if they share blanked entities. We generate strong negative pairs if they
share one entity (i.e examples 1 and 3), and weak negatives if no entity is shared. Once we have
generated those examples, we train a model that learns whether a pair of sentences encodes
the same relation or not, and we transfer learned parameters to the actual relation extraction
task.Note that [blank] are introduced to avoid simply relearning a linking entities to Knowledge
Base (KB) used to generate the MTB corpus.
(1) Se observó actividad de CK en [blank] con dengue con presencia de [blank] como
vómito, hematemesis y dolor abdominal.
(2) Al parecer, existen mecanismos comunes a ambas patologías que pueden influir en la
exacerbación de los [blank] del asma en [blank] con obesidad.
(3) El [blank] promedio para el inicio de ENT fue de 30 (23,5) horas, y el 88,7% de los
[blank] alcanzaron el objetivo nutricional en 48 horas.</p>
        <p>
          To build the MTB corpus we have use spanish Medline abstracts. We have processed them
with Freeling [
          <xref ref-type="bibr" rid="ref23">23</xref>
          ] to extract medical entities. In total we got 7, 543 medical entities that forms
278, 956 entity-pairs. With those entity-pairs we have generated 691, 392 positive instances
and 833, 332 negative instances. We have split our data into 80% for training and 20% for
development. Finally, for technical reasons we discard those instances that contains contexts
larger than 128 tokens.
        </p>
      </sec>
      <sec id="sec-4-3">
        <title>4.3. Learning Setup</title>
        <p>In this section we report the set of hyperparameters that we have used at time of fine-tuning
the models (Figure 2). For our case the hyperparameters that better fits to the development
set were the same for the three tested approaches. Also we report the hyperparameters used
during MTB pre-training.</p>
        <p>The reported configurations are used on a single NVIDIA Titan V GPU with 12Gb of RAM.
The fine-tune process takes less than 10 hours and in the case of MTB pre-training we have
manually stopped for reasons of time and deadlines.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Results</title>
      <p>Vicomtech
Talp-UPC
UH-MAJA-KD
IXA-NER-RE</p>
      <p>Prec.
3,000 automatically annotated sentences from Medline that were provided for further training.
Overall results show that although our system is competitive (4th overall rank) still has large
room of improvement in the main task, as well as in the alternative task. We would like to
note that further in-house evaluation showed that our best system combination would be using
XLMem without using extra automatic annotated data.</p>
      <sec id="sec-5-1">
        <title>5.1. Entity Extraction Task (A)</title>
        <p>In the following Table 4 could be seen the Test results of the NER task, the best results for each
metric are highlighted with bold characters, we also provide our results over Dev set, and over
the oficial Test set.</p>
        <p>Although far from the result obtained by the first classified, the system presented overcomes
the baseline with no fine-tunning and using general-domain static embeddings and pre-trained
Language Model. A preliminary error analysis has led us to conclude that contrary to what we
initially thought the domain might be relevant in this NER task. Although 3 of the four types
of entities (actions, references and predicates) are not specially medical domain entity types,
the fact that predicting references and predicates is strongly conditioned to having previously
correctly predicted their antecedent concept, and the latter is most of the times domain specific
Vicomtech
UH-MAJA-KD
(Ours) XLMem
(Ours) XLMem*
(Ours) XLMem*+MTB</p>
        <p>Prec.</p>
      </sec>
      <sec id="sec-5-2">
        <title>5.2. Relation Extraction Task (B)</title>
        <p>On this part we discuss the the results obtained by our RE systems during the development and
testing. We compare our three diferent systems with the rest top competitors and we evaluate
more exhaustively our own systems by comparing the precision-recall curves and analyzing
the confusion in the prediction.</p>
        <p>Table 5 shows a comparative results (precision, recall, and F1 score) between our systems
and the rest top competitors. As only the Test set was reported by the organizers, we just
compare our system with the rest on that specific partition. Results on the development show
the following: 1) the additional automatic annotated data have positive efect on the model
regularization, and 2) MTB pre-training gives a boost on the precision by loosing on the recall.
The best model according to the development set is the XLMem*, which was part of the oficial
run. On the contrary, Test results show unexpected behaviour. We hypothesize this is due to
the diferences on the relation-type distribution of development and test partitions (Figure 4).
Nevertheless, each of the proposed relation extractors outperforms the rest of the systems by a
large margin.</p>
        <p>Figure 5 reports precision-recall curves on relation categories of the three RE models. The
curves show that the XLMem and XLMem* systems performs similar as their micro-averaged
curves are very close, but not for the XLMem*+MTB, which the curve performs under the rest.
On the other hand, curves on relation categories show that the XLMem* system performs better
in the action-roles relations, and the XLMem perform better in the general domain relations.
The diferences on development and test can also be explained by the distribution shown in
Figure 4. Finally, analysis of the output reveals that the confusion is located actually between
the negative class (no-relation) and the rest of positive relations (i.e. false negatives), and not
between the positive relation types.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusions</title>
      <p>The purpose of this work was to evaluate the feasibility of diferent approaches to medical
entity recognition and relation extraction for Spanish. Entity recognition was approached with
a character based sequence labeler, and for the relation extraction we used a fine-tuned large
multilingual pre-trained language model. Proposed system shows promising results. We ranked
4th overall, and obtain the best results for the relation extraction task. In the future, we plan
to improve the entity recognition part by means of using a domain specific LM, and further
investigate the use of Matching the Blanks method as a data-augmentation technique.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>A.</given-names>
            <surname>Piad-Morfis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Gutiérrez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Cañizares-Diaz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Estevez-Velarde</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Almeida-Cruz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Muñoz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Montoyo</surname>
          </string-name>
          ,
          <article-title>Overview of the eHealth Knowledge Discovery Challenge at IberLEF 2020, in: Proceedings of the Iberian Languages Evaluation Forum co-located with 36th Conference of the Spanish Society for Natural Language Processing</article-title>
          ,
          <source>IberLEF@SEPLN</source>
          <year>2020</year>
          , Spain, September,
          <year>2020</year>
          .,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>A.</given-names>
            <surname>Akbik</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Blythe</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Vollgraf</surname>
          </string-name>
          ,
          <article-title>Contextual string embeddings for sequence labeling</article-title>
          ,
          <source>in: Proceedings of the 27th International Conference on Computational Linguistics</source>
          , Association for Computational Linguistics, Santa Fe, New Mexico, USA,
          <year>2018</year>
          , pp.
          <fpage>1638</fpage>
          -
          <lpage>1649</lpage>
          . URL: https://www.aclweb.org/anthology/C18-1139.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>G.</given-names>
            <surname>Lample</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Conneau</surname>
          </string-name>
          ,
          <article-title>Cross-lingual language model pretraining</article-title>
          ,
          <source>Advances in Neural Information Processing Systems (NeurIPS)</source>
          (
          <year>2019</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>L.</given-names>
            <surname>Baldini Soares</surname>
          </string-name>
          , N. FitzGerald, J. Ling, T. Kwiatkowski,
          <article-title>Matching the blanks: Distributional similarity for relation learning, in: Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, Association for Computational Linguistics</article-title>
          , Florence, Italy,
          <year>2019</year>
          , pp.
          <fpage>2895</fpage>
          -
          <lpage>2905</lpage>
          . URL: https://www.aclweb.org/anthology/P19-1279. doi:
          <volume>10</volume>
          .18653/v1/
          <fpage>P19</fpage>
          -1279.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>G.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Su</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Shen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Tan</surname>
          </string-name>
          ,
          <article-title>Recognizing names in biomedical texts: a machine learning approach</article-title>
          ,
          <source>Bioinformatics</source>
          <volume>20</volume>
          (
          <year>2004</year>
          )
          <fpage>1178</fpage>
          -
          <lpage>1190</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>F.</given-names>
            <surname>Soares</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Villegas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gonzalez-Agirre</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Krallinger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Armengol-Estapé</surname>
          </string-name>
          ,
          <article-title>Medical word embeddings for Spanish: Development and evaluation</article-title>
          ,
          <source>in: Proceedings of the 2nd Clinical Natural Language Processing Workshop</source>
          , Association for Computational Linguistics, Minneapolis, Minnesota, USA,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>P.</given-names>
            <surname>Stenetorp</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Soyer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Pyysalo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Ananiadou</surname>
          </string-name>
          , T. Chikayama,
          <article-title>Size (and domain) matters: Evaluating semantic word space representations for biomedical text</article-title>
          ,
          <source>in: Proceedings of the 5th International Symposium on Semantic Mining in Biomedicine</source>
          , Zürich, Switzerland,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>M. E.</given-names>
            <surname>Peters</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Neumann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Iyyer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Gardner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Clark</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Zettlemoyer</surname>
          </string-name>
          ,
          <article-title>Deep contextualized word representations</article-title>
          ,
          <source>in: Proc. of NAACL</source>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>J.</given-names>
            <surname>Howard</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Ruder</surname>
          </string-name>
          ,
          <article-title>Universal language model fine-tuning for text classification</article-title>
          ,
          <year>2018</year>
          . arXiv:
          <year>1801</year>
          .06146.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>J.</given-names>
            <surname>Devlin</surname>
          </string-name>
          , M.-
          <string-name>
            <given-names>W.</given-names>
            <surname>Chang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Toutanova</surname>
          </string-name>
          , Bert:
          <article-title>Pre-training of deep bidirectional transformers for language understanding</article-title>
          , arXiv preprint arXiv:
          <year>1810</year>
          .
          <volume>04805</volume>
          (
          <year>2018</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>L.</given-names>
            <surname>Akhtyamova</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Martinez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Verspoor</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Cardif</surname>
          </string-name>
          ,
          <article-title>Testing contextualized word embeddings to improve ner in spanish clinical case narratives, BMC Medical Informatics and Decision Making (2020) preprint</article-title>
          . doi:
          <volume>10</volume>
          .21203/rs.2.22697/v1.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>J.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Yoon</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Kim</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Kim</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Kim</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. H.</given-names>
            <surname>So</surname>
          </string-name>
          ,
          <string-name>
            <surname>J. Kang,</surname>
          </string-name>
          <article-title>BioBERT: a pre-trained biomedical language representation model for biomedical text mining</article-title>
          ,
          <source>Bioinformatics</source>
          (
          <year>2019</year>
          ). URL: https://doi.org/10.1093/bioinformatics/btz682. doi:
          <volume>10</volume>
          .1093/bioinformatics/btz682.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Si</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Xu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Roberts</surname>
          </string-name>
          ,
          <article-title>Enhancing clinical concept extraction with contextual embeddings</article-title>
          ,
          <source>Journal of the American Medical Informatics Association</source>
          <volume>26</volume>
          (
          <year>2019</year>
          )
          <fpage>1297</fpage>
          -
          <lpage>1304</lpage>
          . URL: http://dx.doi.org/10.1093/jamia/ocz096. doi:
          <volume>10</volume>
          .1093/jamia/ocz096.
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>G.</given-names>
            <surname>Sheikhshabbafghi</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Birol</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Sarkar</surname>
          </string-name>
          ,
          <article-title>In-domain context-aware token embeddings improve biomedical named entity recognition</article-title>
          ,
          <source>in: Proceedings of the Ninth International Workshop on Health Text Mining and Information Analysis</source>
          ,
          <source>Association for Computational Linguistics</source>
          , Brussels, Belgium,
          <year>2018</year>
          , pp.
          <fpage>160</fpage>
          -
          <lpage>164</lpage>
          . URL: https://www.aclweb.org/anthology/ W18-5618. doi:
          <volume>10</volume>
          .18653/v1/
          <fpage>W18</fpage>
          -5618.
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>A.</given-names>
            <surname>Vaswani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Shazeer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Parmar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Uszkoreit</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Jones</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. N.</given-names>
            <surname>Gomez</surname>
          </string-name>
          , Ł. Kaiser,
          <string-name>
            <surname>I. Polosukhin</surname>
          </string-name>
          ,
          <article-title>Attention is all you need</article-title>
          ,
          <source>in: Advances in neural information processing systems</source>
          ,
          <year>2017</year>
          , pp.
          <fpage>5998</fpage>
          -
          <lpage>6008</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>M. E.</given-names>
            <surname>Peters</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Neumann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. L.</given-names>
            <surname>Logan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Schwartz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Joshi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Singh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N. A.</given-names>
            <surname>Smith,</surname>
          </string-name>
          <article-title>Knowledge enhanced contextual word representations</article-title>
          ,
          <source>in: EMNLP</source>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>M.</given-names>
            <surname>Joshi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Liu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. S.</given-names>
            <surname>Weld</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Zettlemoyer</surname>
          </string-name>
          ,
          <string-name>
            <surname>O. Levy,</surname>
          </string-name>
          <article-title>SpanBERT: Improving pre-training by representing and predicting spans</article-title>
          , arXiv preprint arXiv:
          <year>1907</year>
          .
          <volume>10529</volume>
          (
          <year>2019</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>M.</given-names>
            <surname>Mintz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Bills</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Snow</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Jurafsky</surname>
          </string-name>
          ,
          <article-title>Distant supervision for relation extraction without labeled data</article-title>
          ,
          <source>in: Proceedings of the Joint Conference of the 47th Annual Meeting of the ACL and the 4th International Joint Conference on Natural Language Processing of the AFNLP</source>
          ,
          <article-title>Association for Computational Linguistics</article-title>
          , Suntec, Singapore,
          <year>2009</year>
          , pp.
          <fpage>1003</fpage>
          -
          <lpage>1011</lpage>
          . URL: https://www.aclweb.org/anthology/P09-1113.
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>O.</given-names>
            <surname>Sainz</surname>
          </string-name>
          , O. Lopez de Lacalle, I. Aldabe,
          <string-name>
            <given-names>M.</given-names>
            <surname>Maritxalar</surname>
          </string-name>
          ,
          <article-title>Domain adapted distant supervision for pedagogically motivated relation extraction</article-title>
          ,
          <source>in: Proceedings of The 12th Language Resources and Evaluation Conference</source>
          , European Language Resources Association, Marseille, France,
          <year>2020</year>
          , pp.
          <fpage>2213</fpage>
          -
          <lpage>2222</lpage>
          . URL: https://www.aclweb.org/anthology/2020.lrec-
          <volume>1</volume>
          .
          <fpage>270</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>R.</given-names>
            <surname>Hofmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Ling</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Zettlemoyer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. S.</given-names>
            <surname>Weld</surname>
          </string-name>
          ,
          <article-title>Knowledge-based weak supervision for information extraction of overlapping relations, in: Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies, Association for Computational Linguistics</article-title>
          , Portland, Oregon, USA,
          <year>2011</year>
          , pp.
          <fpage>541</fpage>
          -
          <lpage>550</lpage>
          . URL: https://www.aclweb.org/anthology/P11-1055.
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>E.</given-names>
            <surname>Grave</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Bojanowski</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Gupta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Joulin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Mikolov</surname>
          </string-name>
          ,
          <article-title>Learning word vectors for 157 languages</article-title>
          , in
          <source>: Proceedings of the International Conference on Language Resources and Evaluation (LREC</source>
          <year>2018</year>
          ),
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>T.</given-names>
            <surname>Wolf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Debut</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Sanh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Chaumond</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Delangue</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Moi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Cistac</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Rault</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Louf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Funtowicz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Brew</surname>
          </string-name>
          ,
          <article-title>Huggingface's transformers: State-of-the-art natural language processing</article-title>
          , ArXiv abs/
          <year>1910</year>
          .03771 (
          <year>2019</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>L.</given-names>
            <surname>Padró</surname>
          </string-name>
          , E. Stanilovsky,
          <article-title>Freeling 3.0: Towards wider multilinguality</article-title>
          ,
          <source>in: Proceedings of the Language Resources and Evaluation Conference (LREC</source>
          <year>2012</year>
          ), ELRA, Istanbul, Turkey,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>