<!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>A study of Machine Learning models for Clinical Coding of Medical Reports at CodiEsp 2020</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Marco Polignano</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Vincenzo Suriano</string-name>
          <email>v.suriano10@studenti.uniba.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Pasquale Lops</string-name>
          <email>pasquale.lops@uniba.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Marco de Gemmis</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Giovanni Semeraro</string-name>
          <email>giovanni.semeraro@uniba.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>University of Bari Aldo Moro, Dept. Computer Science</institution>
          ,
          <addr-line>Bari</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>The task of identifying one or more diseases associated with a patient's clinical condition is often very complex, even for doctors and specialists. This process is usually time-consuming and has to take into account di erent aspects of what has occurred, including symptoms elicited and previous healthcare situations. The medical diagnosis is often provided to patients in the form of written paper without any correlation with a national or international standard. Even if the WHO (World Health Organization) released the ICD10 international glossary of diseases, almost no doctor has enough time to manually associate the patient's clinical history with international codes. The CodiEsp task at CLEF 2020 addressed this issue by proposing the development of an automatic system to deal with this task. Our solution investigated different machine learning strategies in order to identify an approach to face that challenge. The main outcomes of the experiments showed that a strategy based on BERT for pre- ltering and one based on BiLSTMCNN-SelfAttention for classi cation provide valuable results. We carried out several experiments on a subset of the training set for tuning the nal model submitted to the challenge. In particular, we analyzed the impact of the algorithm, the input encoding strategy, and the thresholds for multi-label classi cation. A set of experiments has been carried out also during a post hoc analysis. The experiments con rmed that the strategy submitted to the CodiEsp task is the best performing one among those evaluated, and it allowed us to obtain a nal mean average error value on the test set equal to 0.202. To support future developments of the proposed approach and the replicability of the experiments we decided to make the source code publicly accessible.</p>
      </abstract>
      <kwd-group>
        <kwd>BERT</kwd>
        <kwd>CNN</kwd>
        <kwd>BiLSTM</kwd>
        <kwd>Self Attention</kwd>
        <kwd>Machine Learning</kwd>
        <kwd>ICD-10</kwd>
        <kwd>Medical Diagnosis</kwd>
        <kwd>Deep Learning</kwd>
        <kwd>Clinical Coding</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Clinical coding [
        <xref ref-type="bibr" rid="ref30">30</xref>
        ] is the task of associating unique identi cation codes with
a clinical diagnosis, or sometimes with a portion of it. Doctors and specialists
associate the diagnosis given to the patients with the corresponding
international classi cation only in rare cases. One of the most widely adopted standards
is ICD10 [
        <xref ref-type="bibr" rid="ref22">22</xref>
        ], the tenth version of the international medical glossary released
by WHO (World Health Organization). Although this annotation task may not
seem very useful for medical purposes, it is extremely relevant for statistical
purposes, automatic diagnosis analysis of clinical records, and data interoperability
across healthcare systems in di erent countries. Indeed, if each diagnosis is fully
digitized with a worldwide standard, every doctor in the world who is visiting us
could uniquely interpret our medical records and provide us with the appropriate
treatment. In addition, diagnostic patterns used by clinicians could be
identied to improve automatic disease prediction strategies and provide automatic
specialist support for decision making. These observations strongly support the
need for automated systems to support clinicians to perform this task quickly
and without human intervention. From the technical point of view, this task is
very challenging because it requires the development of an arti cial intelligence
system able to not only assign more than one class label to the medical response
choosing from a very high number of choices, but also to identify the fragment of
text associated to that choice. The CodiEsp task at CLEF 2020 [
        <xref ref-type="bibr" rid="ref13 ref21 ref30">30, 13, 21</xref>
        ] tries
to face this problem by releasing a corpus of 1,000 clinical case studies manually
selected by practicing physicians and clinical documentalists. Using that dataset,
we carried out an experimental study by testing several machine learning
approaches, and we submitted the best performing one to the competition. In the
following, we rst analyze the state of the art concerning the reference topic
(Sect. 2), then we provide the details of the proposed models (Sect. 3). In Sect.
4, we thoroughly present the performed experiments, and we nally present the
main outcomes and possible future work.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Related Work</title>
      <p>
        The research community has addressed clinical coding tasks for a long time, and
numerous scienti c contributions have been proposed about the topic. Indeed,
CLEF (Conference and Labs of the Evaluation Forum) conference has been
working on eHealth and Information Extraction since 2013, but the oldest corpus
on the subject dates back to 1973 [
        <xref ref-type="bibr" rid="ref30">30</xref>
        ]. Chapman et al. [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], already in 1999, stated
that a computer algorithm could solve the clinical coding task better than a
human being. This assertion is intuitive because even for an expert in the eld,
it can be very complex to assign a speci c code to the result of a medical diagnosis
choosing it from more than 70,000 currently available ICD-10 codes. However,
in 2006, Kukafka et al. [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ], con rmed that when the identi cation of the right
code is not obvious, also Natural Language Processing (NLP) tools could easily
lack accuracy. Today, NLP and machine learning techniques are widespread and
are receiving substantial attention from research communities. Among the best
performing systems, the one proposed by Miftahutdinov [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ] at CLEF eHealth
2017 uses an LSTM on a TF-IDF representation of the text to identify the
most suitable ICD-10 code for the input sequence. This allows to obtain an
F1 score equal to 0.85, considering a classi cation on 1,256 distinct classes.
During the same competition, Cabot et al. [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] used an NLP pipeline to obtain the
highest F1 score of the competition on the data provided in French (i.e., 0.764).
Several preprocessing steps were performed, including stop words ltering, then
a method based on the Double Metaphone phonetic encoding algorithm was used
to operate a rst approximate term search. Finally, a Weighted Distance Score
algorithm has been developed to rank the list of candidate terms. The most likely
term having the highest score is retained as the matching ICD-10 code for the
phrase. In 2018, Atutxa et al. [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], proposed a three-level sequence-to-sequence
neural network-based approach. The rst neural network tries to assign one set
of ICD-10 codes to the whole document, then they are re ned to assign one set of
codes to the line, and nally one speci c code. This strategy allowed the model to
obtain an F1 score between 0.7086 and 0.9610, depending on the language of the
dataset on which the system has been evaluated. Almagro et al. [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] proposed a
supervised learning system based on a multilayer perceptron, SVMs, and a
Onevs-Rest strategy. The approach allows to train a binary model for each of the
target ICD-10 codes, indicating the presence or absence of the code. The model
was able to obtain an F1 score of 0.910. At CLEF eHealth 2019, the best system
was proposed by Sanger et al. [
        <xref ref-type="bibr" rid="ref28">28</xref>
        ], obtaining an F1 score of 0.80. The proposed
model utilized a multilingual BERT [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] text encoding model, ne-tuned on
additional training data of German clinical trials also annotated with ICD-10
codes. The model is extended by a single output layer to produce probabilities for
speci c ICD-10 codes. Amin et al. [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] participated in the same task obtaining
the second place. They evaluated various approaches, such as Convolutional
Neural Networks (CNN) and Attention models, among others. They obtained
the best results when relying on Bidirectional Encoder Representations from
Transformers (BERT) and, more speci cally, on BioBERT, which was trained
on biomedical documents. Considering the successful models presented as state
of the art, we decided to use a machine learning approach that combines CNNs,
Bidirectional LSTMs, Attention Layers, and BERT. Details of the proposed
architecture are provided in Sect. 3.
3
3.1
      </p>
    </sec>
    <sec id="sec-3">
      <title>Resources and Model Architectures</title>
      <sec id="sec-3-1">
        <title>CodiEsp 2020 corpora</title>
        <p>
          The CodiEsp track at CLEF 2020 [
          <xref ref-type="bibr" rid="ref13 ref21 ref30">30, 13, 21</xref>
          ] contains three sub-tracks (2 main
and 1 exploratory) about analysis of clinical reports:
{ CodiEsp Diagnosis Coding main sub-task (CodiEsp-D): it requires automatic
ICD10-CM [CIE10 Diagnostico] code assignment. This sub-track evaluates
systems that predict ICD10-CM codes (in the Spanish translation,
CIE10Diagnostico codes).
        </p>
        <p>For each task a dataset for training, development and test has been released.
Generally speaking, the CodiEsp corpora contain manually annotated clinical
reports with corresponding clinical codes. The clinical reports are written in
Spanish, and they are annotated with the CIE10 glossary (the Spanish version
of ICD10-CM and ICD10-PCS). The training set contains 500 clinical cases,
while the development and the test set provide 250 clinical cases each. The
CodiEsp corpus format is plain text with UTF8 encoding, where each clinical
case is stored in a single le whose name is the clinical unique case identi er. The
nal collection of the 1,000 clinical cases of the corpus contains 16,504 sentences,
with 16.5 sentences per clinical case on average. It contains 396,988 words, with
396.2 words per clinical report on average. For sub-task 1 and 2 of the CodiEsp
task, (CodiEspD and CodiEsp-P), the training les contain the following elds:
[articleID, label, ICD10-code, text-reference].</p>
        <p>{ ArticleID: it contains the identi er of the clinical text that corresponds to
the name of the le.
{ Label: it contains the diagnostic or procedimiento code.
{ ICD10-code: it contains the ICD10 code.
{ Text-reference: it contains the word or phrase in the clinical text.</p>
        <p>In Fig. 1 and 2, it is possible to observe how annotations provided with the
training data of the two tasks are di erently distributed between the di erent
sections of the two ICD10 vocabularies. It is immediately clear that the
distribution is not uniform, and some classes are more represented than others. For
example, for the training set of task CodiEspD, class 18 is the most represented
one, with 2,214 annotations, while class 16 is the least represented with only
23 examples. In Table 1, it is possible to observe that considering all the
possible codes of ICD10, the training dataset covers only 1,788 unique codes for</p>
        <p>CodiEspD and 546 codes for CodiEspP. Based on this observation, we decided
to use models that only provide codes with at least one example in the training
set.</p>
        <p>The organizers of the CodiEsp task also released an additional resource that
extends the previous datasets. It contains the description of the codes in the
ICD10 vocabulary, both \Diagnosis" and \Procedures" (Fig. 3). This resource
contains two les:
{ \codiesp-D codes.tsv": it contains all the 98,288 ICD10-CM codes, along
with their description in Spanish and English.
{ \codiesp-P codes.tsv": it contains all the 87,170 ICD10-PCS codes, along
with the their description in Spanish and English. It contains the codes up
to the fourth nesting lever its of hierarchy.</p>
      </sec>
      <sec id="sec-3-2">
        <title>Classi cation model proposed to the CodiEsp task</title>
        <p>
          The Clinical Coding task has been approached using di erent machine learning
strategies that are commonly used to deal with the classi cation task in the eld
of Natural Language Processing (NLP). In particular we focused on the use of
deep learning techniques such as LSTM [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ], CNN [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ], Attention Layers [
          <xref ref-type="bibr" rid="ref32">32</xref>
          ]
and Bidirectional Encoder Representations from Transformers (BERT) [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ].
        </p>
        <p>
          Long-short term memory model. The neural network model based on
long-short term memory (LSTM) was proposed in 1997 [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ]. Since then, it has
been widely used with data that have an inherent sequential structure, such as
text. LSTMs are part of the family of sequential models based on recurring
neurons [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]. In particular, an architecture of this type is based on the idea that
the state of the speci c neuron depends on that of the previous t 1 state. The
natural evolution of a model based on recurring neurons introduces a memory.
This structure allows the recurring neuron to depend not only on the state of the
single one at step t 1, but also on the state of the di erent neurons at step t n.
This idea is the base of architectures such as RNN, LSTM, and GRU. Among
them, LSTM has the peculiarity of having also a forget gate able to manage
the amount of information to be kept in memory. At each step a portion of the
memory is deleted and another one is added. These features allow the model
to be state-of-the-art for many NLP applications, such as machine translation
[
          <xref ref-type="bibr" rid="ref35">35</xref>
          ], automatic summarization [
          <xref ref-type="bibr" rid="ref29">29</xref>
          ], parsing, and sentiment analysis [
          <xref ref-type="bibr" rid="ref33 ref5">33, 5</xref>
          ]. In
our architecture we used LSTM in its bidirectional variant.
        </p>
        <p>
          Convolutional neural network. Convolutional neural networks (CNN)
are born from an accurate study of how the portion of the brain cortex works
for vision [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ]. This has promoted their wide use in the computer vision task
for image recognition since 1980 [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ]. Recently, they are also widely used in text
analysis tasks, thanks to the fast increase in computational power available to
everyone. A convolutional neuron is able to concentrate only on a portion of the
input data [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ], e.g., a set of pixels in an image. A layer full of neurons using
the same lter (or convolution kernels) gives a feature map, which highlights the
areas in an input that are most similar to the lter. During the training, a CNN
nds the most useful lters for its task, and learns to combine them into more
complex patterns. A CNN is usually followed by a Pooling Layer. Its goal is to
subsample the input image in order to reduce the computational load, the
memory usage, and the number of parameters. A pooling layer typically works on
every input channel independently, so the output depth is the same as the input
depth. A neural model using CNN usually alternating CNN layers with Pooling
layers with a dense nal layer aimed at prediction (classi cation or regression).
        </p>
        <p>
          Self attention. Similarly to the attention strategy proposed in [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ],
selfattention, also known as intra-attention, provides the model ability to weigh the
vectors of single words of the sentence di erently, according to the similarity of
the neighboring tokens. It is possible to say that the level of attention can provide
us an idea of what features the network is looking at most during learning and
subsequent classi cation. In particular, we consider an additive context-aware
self-attention equal to the whole set of words in input (Eq. 1) [
          <xref ref-type="bibr" rid="ref34">34</xref>
          ].
ht;t0 = tanh(xtT Wt + xtT0 Wt0 + bt)
et;t0 = (Weht;t0 + be)
at;t0 = sof tmax(et;t0 )
        </p>
        <p>n
lt = X at;t0 xt0
t0=1
(1)
where, is the element-wise sigmoid function, Wt and Wt0 are the weight
matrices corresponding to the hidden states ht and ht0 '; We is the weight matrix
corresponding to their non-linear combination; bt and be are the bias vectors.
The attention-focused hidden state representation lt of a token at timestamp t
is given by the weighted summation of the hidden state representation ht0 of all
other tokens at timesteps t. We use the last self-attention implementation for
Keras 1 .</p>
        <p>
          BERT. The Bidirectional Encoder Representations from Transformers (BERT)
[
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] is a deep learning model based on the Transformer concept [
          <xref ref-type="bibr" rid="ref32">32</xref>
          ]. In
particular, a Transformer architecture can be considered as a stack of N input encoding
modules and M decoding modules to obtain an output using multi-head
attention and feed-forward layers. The encoder and decoder blocks are identical in
1 https://github.com/CyberZHG/keras-self-attention
numbers, and they are stacked on top of each other. The idea behind a
Transformer architecture is to formalize the dependencies between input and output
without the use of recurring neural networks. BERT uses a modi ed version of
this architecture in which only encoding layers are present. In particular, the
basic version of BERT uses 12 layers, the full version 24. BERT uses two di erent
training strategies \masking" and \next sentence prediction". The rst
strategy trains the model to recognize certain words in the input sentence that have
been appropriately hidden. Usually, the amount of hidden elements is 20% of
the words in the sentence. The second mode is to guess the sentence that follows
the input sentence. During training, 50% of the inputs are a pair in which the
second sentence is the subsequent sentence in the original document, while in the
other 50% a random sentence from the corpus is chosen as the second sentence.
This training strategy makes BERT an extremely reliable model that can be
very accurate in formalizing semantics among words considering their context.
As a result, the pre-trained BERT model can be re ned with only one additional
output layer to create state-of-the-art models for a wide range of tasks, such as
question answering and language inference, without signi cant changes to the
task-speci c architecture. There are currently several versions of BERT, also
trained on data in languages other than English, such as BETO [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ] for Spanish
and AlBERTo [
          <xref ref-type="bibr" rid="ref26">26</xref>
          ] for Italian.
        </p>
        <p>The machine learning model we proposed for the CodiEsp challenge uses all
the previously described architectures. Speci cally, we decided to use a
BERTbased classi er to perform a pre- ltering operation in order to select a subset of
sentences possibly referring to a clinical state. Later, the candidate sentences are
submitted to a classi er based on BiLSTM, CNN, and self-attention to assign
them one or more clinical codes. The architecture of the nal model proposed
for the clinical coding task is shown in Fig. 4. It is worth to note that using the
proposed strategy it was not possible to participate in task 3 of the competition
(CodiEsp-X), which requires the identi cation of the fragment of text referring
to the code. Indeed, we do not focus on the portion of text that speci cally
refers to a disease, while we used a classi cation model working with the whole
sentence.</p>
        <p>
          Focusing more on the proposed model in Fig. 4, we observe that the input
text is provided to a BERT model. The goal is the data pre- ltering, in order to
select generally speaking sentences, from those talking about a symptom, disease,
or treatment. This is a mandatory step because BERT accepts as input only
pieces of text not exceeding 128 characters. For this reason, we work on the task
at the sentence level, splitting the original clinical report into many sentences
that could be or not associated with one or more codes. As pre-trained BERT
model, we decided to use BETO [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ], a Spanish pre-trained version of BERT.
The authors trained BETO using 12 self-attention layers with 16
attentionheads each and 1,024 as hidden size. They used all the data from Wikipedia
and all of the sources of the OPUS Project [
          <xref ref-type="bibr" rid="ref31">31</xref>
          ], having the text in Spanish.
This source includes the United Nations and Government journals, TED Talks,
Subtitles, News Stories, and more. The total size of the corpora gathered was
comparable with the corpora used in the original BERT. We decided not to
use the multilingual version of BERT because it has been shown that a version
trained on the native language performs much better in many NLP tasks [
          <xref ref-type="bibr" rid="ref27">27</xref>
          ].
The sentences classi ed as possible references of clinical codes are consequently
passed to the second part of our model. First of all, the sentences are encoded into
word embeddings. In this step, we decided to use a FastText embedding strategy
[
          <xref ref-type="bibr" rid="ref6">6</xref>
          ], which proved to be more e ective than GLoVE [
          <xref ref-type="bibr" rid="ref24">24</xref>
          ] and Word2Vec [
          <xref ref-type="bibr" rid="ref20">20</xref>
          ] when
many domain-speci c words occur in the dataset [
          <xref ref-type="bibr" rid="ref25">25</xref>
          ]. For our nal con guration
of the model, we chose the one released by Jose Can~ete2 made of 300 dimensions,
trained on the Spanish Unannotated Corpora3 containing more than 3 billion
words. We have con gured the LSTM network to work with its bidirectional
version. We set the value of hidden units to 64 and the internal dropout value
to 0.3. This choice was motivated by the need to reduce the dimensionality of
the network output, in order to make the operations to be carried out by the
following layers not computationally expensive. Moreover, the dropout value was
used to reduce, during the learning, the e ect of the over tting on the training
data. We have also decided to vary the function of activation used by the net,
setting it to the hyperbolic tangent function (tanh). This activation function
has an S-Shape and produces values in the -1 and 1 range, making the layer
output more centered to the 0. Moreover, it produces a gradient larger than the
sigmoid function, helping to speed up the convergence. A level of self-attention
is added following the LSTM. We applied the CNN layer on the result of the
attention algorithm. Such hidden level has a matrix form due to the vectorial
representation supplied by the word embeddings on the tokens in the input. In
detail, it has the form of 128x64, which allows us to apply a 1D Convolutional
network with 64 lters and 5x5 kernel. We used ReLu as activation function,
that unlike the hyperbolic tangent is faster to calculate. On the top of the CNN
layer, we added a Max Pooling function for subsampling the values obtained,
reducing the computational load and, the number of parameters of the model.
In particular, we used a small 2x2 kernel. On the output of the last max-pooling
layer, we applied a dropout function. The hidden model obtained until this
step has been merged with the output of the previous Bi-LSTM. We apply this
operation for letting the model conceptualize both local and long-term features
better. After that, we used a max-pooling layer for ' attening' the results and
reduce the model parameters. An analog function of dimensionality reduction is
performed by the consequent dense layer and the following dropping function.
Finally, another dense layer with a soft-max activation function has been applied
for estimating the probability distribution of each clinical code available in the
dataset. The source code of the model is publicly available on GitHub4.
4
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Experimental session</title>
      <p>The nal architecture of the model, proposed in Section 3.2, was obtained after
conducting several experiments on 20% of the training dataset released for the
Codiesp-D subtask. In order to always select the same portion of the dataset,
we randomly selected sentences using the value 42 as seed for our random
func2 https://github.com/dccuchile/spanish-word-embeddings
3 http://crscardellino.github.io/SBWCE/
4 https://github.com/marcopoli/CODIESP-10
tion. During our experimental session, we raised ve di erent experimental
questions:
{ RQ1: Do recent deep learning models, such as LSTMs, outperform classical
machine learning approaches?
{ RQ2: Which is the best strategy for encoding text in the form of word
embedding?
{ RQ3: Which is the best model among those we proposed that allows us to
achieve the best performance?
{ RQ4: Can the use of a sentence pre- ltering classi er help to improve the
performance of the model?
{ RQ5: Is there a class probability threshold that allows us to choose more
than one code as a result of the classi cation?
In order to validate our claims we repeated the experiments also on the annotated
test set released by the task organizers after the challenge.
4.1</p>
      <sec id="sec-4-1">
        <title>Metrics and Settings</title>
        <p>We trained di erent classi cation models in order to understand the best
approach to solve the CodiEsp challenge. In particular we developed the following
models:
{ LSTM, BiLSTM
{ CNN, CNN + Self Attention
{ BERT
{ BiLSTM + CNN, BiLSTM + CNN + Self Attention
{ (Pre- ltering) BERT - (Classi cation) BiLSTM + CNN + Self Attention
{ (Pre- ltering) BiLSTM + CNN + Self Attention - (Classi cation) BERT
{ (Pre- ltering) BERT - (Classi cation) BERT
{ (Pre- ltering) BiLSTM + CNN + Self Attention - (Classi cation) BiLSTM
+ CNN + Self Attention</p>
        <p>
          For the selection of the word embedding strategy to use for encoding the
textual sentences, we have evaluated the following resources:
{ FastText Spanish o cial release [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ]
{ Fastext Spanish Unannotated Corpora (SUC) by Jose Can~ete 5
{ GloVe Spanish Billion Word Corpus (SBWC) by George Perez 5
{ Word2Vec Spanish Billion Word Corpus (SBWC) by Cristian Cardellino 5
        </p>
        <p>
          Finally, as baselines we chose classic machine learning approaches used for
dealing with a classi cation problem. In particular we implemented them in
Python using the scikit learn library [
          <xref ref-type="bibr" rid="ref23">23</xref>
          ]:
{ Logistic Regression, C=0.1
5 https://github.com/dccuchile/spanish-word-embeddings
{ SVC (SVM Classi er) with RBF kernel, C=0.1
{ Decision Tree Classi er
{ Random Forests Classi er, n estimators= 500
{ ADA Boost, n estimators= 100, learning rate= 0.01
        </p>
        <p>
          The model performance has been evaluated using the standard metrics of
precision, recall, F1 in their macro-average version and on test set also the Mean
Average Precision (MAP) [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]. We trained all the models for 30 epochs with a
xed random value of 42 a batch size of 256 when needed.
4.2
        </p>
      </sec>
      <sec id="sec-4-2">
        <title>Discussion of results</title>
        <p>Looking at results in Tab. 2, it is worth to note that the strategy based on deep
learning, i.e. the LSTM model, outperforms those based on classical machine
learning approaches. Speci cally, the logistic regression is the best model among
the \classic" ones, with a F1 score equal to 0.03071. The LSTM strategy here
proposed, based on a layer of word embeddings trained only data provided as
input, i.e. no pretrained weights are used, achieves a F1 score performance which
is higher than twice that of logistic regression, i.e. 0.07923. This result allows us
to provide a positive answer to RQ1.</p>
        <p>Tab. 3 reports the results obtained by evaluating di erent pre-trained word
embedding weights. As expected, the di erences in the nal F1 outcome are
not signi cant, but the best score is obtained using the FastText approach
pretrained on the Spanish Unannotated Corpora (SUC). We decided not to evaluate
word embeddings weights released for English, because we would like to focus
on the portion of data released in Spanish rather than its translated version. In
this new experiment, we increased the F1 score previously claimed, reaching a
value of 0.10410. These results allow us to answer properly to RQ2.</p>
        <p>In Tab. 4, we reported results obtained by varying the architecture of our
model, by holding the pre-trained word embeddings choice at the previous
experimental step. An unexpected result is obtained by observing the strategy based
on BERT as a simple classi er of codes. It performs quite worst than the one
that uses BiLSTM, CNN, and self-attention layers. The di erence between the
two approaches is tiny, and, from our point of view, it is not very relevant. For
this reason, we decided to go over using both the approaches. In this step, we
obtained the best F1 score of 0.10410, i.e., around 0.02 points greater than the
previous result. The results allow us to provide a valid answer to RQ3.</p>
        <p>The following evaluation step is about splitting the clinical coding task into
two independent steps: pre- ltering and classi cation. We reported the results
obtained by this evaluation step in Tab. 5. It is possible to note that, among the
di erent combinations of classi ers used for the two steps, the best con guration
is that using BERT as a pre- ltering strategy and BiLSTM + CNN + Self
Attention as a classi cation approach. We were able to increase F1 score by
around 0.03 points from the previous step, reaching the value of 0.13632. The
behavior we observed in results allows us to answer at RQ4 positively.</p>
        <p>The last evaluation concerns the strategy for selecting many labels for a single
sentence. We decided to use a threshold on the result of the softmax function that
allowed us to extract the label on which the model is more certain. We decided to
vary the thresholds using both xed and dynamic ones. The results are reported
in Tab. 6. It is possible to observe that both the values 0.10 and 0.25 achieve good
results. In particular, using a threshold of 0.10, we are maximizing the recall,
on the contrary, we observe high values of precision. Due to the consideration
that in a real scenario, a tool like this can be a decision support system for the
doctors, we decided to use the con guration that uses 0.10 as the nal model
for the CodiEsp task. The results support our positive answer also for RQ5.</p>
        <p>The model we implemented, has been used for participating at both CodiEsp
subtasks, i.e., CodiEsp-D and CodiEsp-P.
BERT | BiLSTM + CNN + SelfAtt. MAP Macro-P Macro-R Macro-F1
Threshold 0.05
Threshold 0.10
Threshold 0.25
Threshold 0.50
Threshold 0.75
Threshold maxProb-0.10
Threshold maxPrb-0.25
We performed a further investigation of the performance of our model on the
gold annotated test set. In particular, in this phase, we take into account the
score obtained for the MAP metric, because it is used by the organizers for
calculating the nal leaderboard. As we can observe in Fig. 7, the con guration
of the model using a threshold equal to 0.10 is the best performing one, followed
by those obtained using a the threshold 0.05 and 0.25, respectively. The results
successfully supported our choice of using a threshold able to maximize the recall
more than the precision. The nal results obtained by the CodiEsp task are those
reported in Tab. 8. Looking at the nal scores of precision and recall, it is worth
to note that our model is more feasible for real use as a decision support system.
Indeed, it is able to obtain a higher recall than precision and, as previously
stated, this easily allows to select candidate codes for clinical reports.
5</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Conclusion</title>
      <p>In this paper, we faced the problem of clinical coding by applying several machine
learning methods. We compared traditional classi cation approaches such as
logistic regression, random forests, and SVM, with deep learning models, including
LSTM, CNN, and BERT. The experimental analyses allowed us to propose a
classi cation model based on two steps of execution: pre- ltering and classi
cation. In the pre- ltering phase, we use a BERT based classi cation model to
select a set of medical report sentences that we believe can be associated with one
or more ICD10 codes. Later, we use a BiLSTM, CNN, and Self-Attention-based
classi er to select the speci c set of possible codes for the candidate sentence.
The results obtained in the post hoc evaluation phase have shown that the
approach proposed for the challenge is the best possible among those considered in
this study. The results obtained for the challenge showed a MAP score of 0.202
for the CodiEsp-D task and 0.221 for the CodiEsp-P task. These are encouraging
results given the di culty of the task, and there is also the possibility of further
improving the gures by better balancing the training data available among the
various categories of codes. As future work, we expect to be able to associate
the ICD10 code with the corresponding portion of text in order to implement a
rst strategy for explaining results.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Almagro</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Montalvo</surname>
          </string-name>
          , S.,
          <string-name>
            <surname>de Ilarraza</surname>
            ,
            <given-names>A.D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Perez</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>MAMTRA-MED at CLEF ehealth 2018: A combination of information retrieval techniques and neural networks for ICD-10 coding of death certi cates</article-title>
          . In: Cappellato,
          <string-name>
            <given-names>L.</given-names>
            ,
            <surname>Ferro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            ,
            <surname>Nie</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            ,
            <surname>Soulier</surname>
          </string-name>
          ,
          <string-name>
            <surname>L</surname>
          </string-name>
          . (eds.) Working Notes of CLEF 2018 -
          <article-title>Conference and Labs of the Evaluation Forum</article-title>
          , Avignon, France,
          <source>September 10-14</source>
          ,
          <year>2018</year>
          .
          <source>CEUR Workshop Proceedings</source>
          , vol.
          <volume>2125</volume>
          .
          <string-name>
            <surname>CEUR-WS.org</surname>
          </string-name>
          (
          <year>2018</year>
          ), http://ceur-ws.
          <source>org/</source>
          Vol-
          <volume>2125</volume>
          /paper 110.pdf
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Amin</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Neumann</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <article-title>Dun eld</article-title>
          ,
          <string-name>
            <given-names>K.</given-names>
            ,
            <surname>Vechkaeva</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Chapman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.A.</given-names>
            ,
            <surname>Wixted</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.K.</surname>
          </string-name>
          :
          <article-title>Mlt-dfki at clef ehealth 2019: Multi-label classi cation of icd-10 codes with bert</article-title>
          .
          <source>In: CLEF (Working Notes)</source>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Atutxa</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Casillas</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ezeiza</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fresno</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Goenaga</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gojenola</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mart</surname>
            <given-names>nez</given-names>
          </string-name>
          , R.,
          <string-name>
            <surname>Anchordoqui</surname>
            ,
            <given-names>M.O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Perez-de Vin</surname>
          </string-name>
          ~aspre, O.:
          <article-title>Ixamed at clef ehealth 2018 task 1: Icd10 coding with a sequence-to-sequence approach</article-title>
          .
          <source>In: CLEF (Working Notes)</source>
          . p.
          <volume>1</volume>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Bahdanau</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cho</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bengio</surname>
            ,
            <given-names>Y.:</given-names>
          </string-name>
          <article-title>Neural machine translation by jointly learning to align and translate</article-title>
          .
          <source>arXiv preprint arXiv:1409.0473</source>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Basile</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Croce</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Basile</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Polignano</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>O verview of the evalita 2018 aspect-based sentiment analysis task (absita)</article-title>
          .
          <source>EVALITA Evaluation of NLP and Speech Tools for Italian</source>
          <volume>12</volume>
          ,
          <issue>10</issue>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Bojanowski</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Grave</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Joulin</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mikolov</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Enriching word vectors with subword information</article-title>
          .
          <source>Transactions of the Association for Computational Linguistics</source>
          <volume>5</volume>
          ,
          <issue>135</issue>
          {
          <fpage>146</fpage>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Cabot</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Soualmia</surname>
            ,
            <given-names>L.F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Darmoni</surname>
            ,
            <given-names>S.J.:</given-names>
          </string-name>
          <article-title>Sibm at clef ehealth evaluation lab 2017: Multilingual information extraction with cim-ind</article-title>
          .
          <source>In: CLEF (Working Notes)</source>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8. Can~ete, J.,
          <string-name>
            <surname>Chaperon</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fuentes</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Perez</surname>
          </string-name>
          , J.:
          <article-title>Spanish pre-trained bert model and evaluation data</article-title>
          . In: to appear
          <source>in PML4DC at ICLR</source>
          <year>2020</year>
          (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Chapman</surname>
            ,
            <given-names>W.W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Haug</surname>
            ,
            <given-names>P.J.</given-names>
          </string-name>
          :
          <article-title>Comparing expert systems for identifying chest x-ray reports that support pneumonia</article-title>
          .
          <source>In: Proceedings of the AMIA Symposium</source>
          . p.
          <fpage>216</fpage>
          . American Medical Informatics Association (
          <year>1999</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Devlin</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chang</surname>
            ,
            <given-names>M.W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lee</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Toutanova</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>Bert: Pre-training of deep bidirectional transformers for language understanding</article-title>
          .
          <source>In: NAACL-HLT (1)</source>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Fukushima</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Miyake</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Neocognitron: A self-organizing neural network model for a mechanism of visual pattern recognition</article-title>
          .
          <source>In: Competition and cooperation in neural nets</source>
          , pp.
          <volume>267</volume>
          {
          <fpage>285</fpage>
          . Springer (
          <year>1982</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Geron</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Hands-on machine learning with Scikit-Learn, Keras, and TensorFlow: Concepts, tools, and techniques to build intelligent systems.</article-title>
          <string-name>
            <surname>O'Reilly Media</surname>
          </string-name>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Goeuriot</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Suominen</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kelly</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Miranda-Escalada</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Krallinger</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pasi</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          , Saez Gonzales,
          <string-name>
            <given-names>G.</given-names>
            ,
            <surname>Viviani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Xu</surname>
          </string-name>
          ,
          <string-name>
            <surname>C.</surname>
          </string-name>
          :
          <article-title>Overview of the CLEF eHealth evaluation lab 2020</article-title>
          . In: Arampatzis,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Kanoulas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            ,
            <surname>Tsikrika</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            ,
            <surname>Vrochidis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Joho</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            ,
            <surname>Lioma</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Eickho</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Neveol</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            , andNicola Ferro, L.C. (eds.)
            <surname>Experimental IR Meets Multilinguality</surname>
          </string-name>
          , Multimodality, and
          <source>Interaction: Proceedings of the Eleventh International Conference of the CLEF Association (CLEF</source>
          <year>2020</year>
          ) . LNCS Volume number:
          <volume>12260</volume>
          (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Grave</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bojanowski</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gupta</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Joulin</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mikolov</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Learning word vectors for 157 languages</article-title>
          .
          <source>In: Proceedings of the International Conference on Language Resources and Evaluation (LREC</source>
          <year>2018</year>
          )
          <article-title>(</article-title>
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Hochreiter</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schmidhuber</surname>
            ,
            <given-names>J.:</given-names>
          </string-name>
          <article-title>Long short-term memory</article-title>
          .
          <source>Neural computation 9(8)</source>
          ,
          <volume>1735</volume>
          {
          <fpage>1780</fpage>
          (
          <year>1997</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Hubel</surname>
            ,
            <given-names>D.H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wiesel</surname>
            ,
            <given-names>T.N.</given-names>
          </string-name>
          :
          <article-title>Receptive elds of single neurones in the cat's striate cortex</article-title>
          .
          <source>The Journal of physiology 148(3)</source>
          ,
          <volume>574</volume>
          (
          <year>1959</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Krizhevsky</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sutskever</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hinton</surname>
          </string-name>
          , G.E.:
          <article-title>Imagenet classi cation with deep convolutional neural networks</article-title>
          .
          <source>In: Advances in neural information processing systems</source>
          . pp.
          <volume>1097</volume>
          {
          <issue>1105</issue>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Kukafka</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bales</surname>
            ,
            <given-names>M.E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Burkhardt</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Friedman</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Human and automated coding of rehabilitation discharge summaries according to the international classi cation of functioning, disability, and health</article-title>
          .
          <source>Journal of the American Medical Informatics Association</source>
          <volume>13</volume>
          (
          <issue>5</issue>
          ),
          <volume>508</volume>
          {
          <fpage>515</fpage>
          (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Miftahutdinov</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tutubalina</surname>
          </string-name>
          , E.:
          <article-title>Kfu at clef ehealth 2017 task 1: Icd-10 coding of english death certi cates with recurrent neural networks</article-title>
          .
          <source>In: CLEF (Working Notes)</source>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Mikolov</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Corrado</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dean</surname>
            ,
            <given-names>J.:</given-names>
          </string-name>
          <article-title>E cient estimation of word representations in vector space</article-title>
          .
          <source>arXiv preprint arXiv:1301.3781</source>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Miranda-Escalada</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gonzalez-Agirre</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Armengol-Estape</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Krallinger</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Overview of automatic clinical coding: annotations, guidelines, and solutions for non-english clinical cases at codiesp track of CLEF eHealth 2020</article-title>
          . In: Working Notes of Conference and
          <article-title>Labs of the Evaluation (CLEF) Forum</article-title>
          . CEUR Workshop Proceedings (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <surname>Organization</surname>
            ,
            <given-names>W.H.</given-names>
          </string-name>
          , et al.:
          <article-title>The ICD-10 classi cation of mental and behavioural disorders: diagnostic criteria for research</article-title>
          , vol.
          <volume>2</volume>
          . World Health Organization (
          <year>1993</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23.
          <string-name>
            <surname>Pedregosa</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Varoquaux</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gramfort</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Michel</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Thirion</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Grisel</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Blondel</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Prettenhofer</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Weiss</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dubourg</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          , et al.:
          <article-title>Scikit-learn: Machine learning in python</article-title>
          .
          <source>the Journal of machine Learning research 12</source>
          ,
          <volume>2825</volume>
          {
          <fpage>2830</fpage>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24.
          <string-name>
            <surname>Pennington</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Socher</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Manning</surname>
          </string-name>
          , C.D.: Glove:
          <article-title>Global vectors for word representation</article-title>
          .
          <source>In: Proceedings of the 2014 conference on empirical methods in natural language processing (EMNLP)</source>
          . pp.
          <volume>1532</volume>
          {
          <issue>1543</issue>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          25.
          <string-name>
            <surname>Polignano</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Basile</surname>
            , P., de Gemmis,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Semeraro</surname>
          </string-name>
          , G.:
          <article-title>A comparison of wordembeddings in emotion detection from text using bilstm, cnn and self-attention</article-title>
          .
          <source>In: Adjunct Publication of the 27th Conference on User Modeling, Adaptation and Personalization</source>
          . pp.
          <volume>63</volume>
          {
          <issue>68</issue>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          26.
          <string-name>
            <surname>Polignano</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Basile</surname>
            , P., de Gemmis,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Semeraro</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Basile</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Alberto: Italian bert language understanding model for nlp challenging tasks based on tweets</article-title>
          . In: CLiC-it (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          27.
          <string-name>
            <surname>Polignano</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Basile</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Basile</surname>
            , P., de Gemmis,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Semeraro</surname>
          </string-name>
          , G.:
          <article-title>AlBERTo: Modeling Italian Social Media Language with BERT</article-title>
          .
          <source>Italian Journal of Computational Linguistics - IJCOL -2, n.2</source>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          28. Sanger,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Weber</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            ,
            <surname>Kittner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Leser</surname>
          </string-name>
          ,
          <string-name>
            <surname>U.</surname>
          </string-name>
          :
          <article-title>Classifying german animal experiment summaries with multi-lingual bert at clef ehealth 2019 task 1</article-title>
          .
          <source>In: CLEF (Working Notes)</source>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          29.
          <string-name>
            <surname>Song</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Huang</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ruan</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Abstractive text summarization using lstm-cnn based deep learning</article-title>
          .
          <source>Multimedia Tools and Applications</source>
          <volume>78</volume>
          (
          <issue>1</issue>
          ),
          <volume>857</volume>
          {
          <fpage>875</fpage>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          30. Stan ll, M.H.,
          <string-name>
            <surname>Williams</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fenton</surname>
            ,
            <given-names>S.H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jenders</surname>
            ,
            <given-names>R.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hersh</surname>
            ,
            <given-names>W.R.:</given-names>
          </string-name>
          <article-title>A systematic literature review of automated clinical coding and classi cation systems</article-title>
          .
          <source>Journal of the American Medical Informatics Association</source>
          <volume>17</volume>
          (
          <issue>6</issue>
          ),
          <volume>646</volume>
          {
          <fpage>651</fpage>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          31.
          <string-name>
            <surname>Tiedemann</surname>
          </string-name>
          , J.:
          <article-title>Parallel data, tools and interfaces in opus</article-title>
          .
          <source>In: Lrec</source>
          . vol.
          <year>2012</year>
          , pp.
          <volume>2214</volume>
          {
          <issue>2218</issue>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref32">
        <mixed-citation>
          32.
          <string-name>
            <surname>Vaswani</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shazeer</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Parmar</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Uszkoreit</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jones</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gomez</surname>
            ,
            <given-names>A.N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kaiser</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Polosukhin</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          :
          <article-title>Attention is all you need</article-title>
          .
          <source>In: Advances in neural information processing systems</source>
          . pp.
          <volume>5998</volume>
          {
          <issue>6008</issue>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref33">
        <mixed-citation>
          33.
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhu</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gao</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cao</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Emotion-semantic-enhanced bidirectional lstm with multi-head attention mechanism for microblog sentiment analysis</article-title>
          .
          <source>Information</source>
          <volume>11</volume>
          (
          <issue>5</issue>
          ),
          <volume>280</volume>
          (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref34">
        <mixed-citation>
          34.
          <string-name>
            <surname>Zheng</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mukherjee</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dong</surname>
            ,
            <given-names>X.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Opentag: Open attribute value extraction from product pro les</article-title>
          .
          <source>In: Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery &amp; Data Mining</source>
          . pp.
          <volume>1049</volume>
          {
          <fpage>1058</fpage>
          .
          <string-name>
            <surname>ACM</surname>
          </string-name>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref35">
        <mixed-citation>
          35.
          <string-name>
            <surname>Zhou</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cao</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xu</surname>
            ,
            <given-names>W.:</given-names>
          </string-name>
          <article-title>Deep recurrent models with fastforward connections for neural machine translation</article-title>
          .
          <source>Transactions of the Association for Computational Linguistics</source>
          <volume>4</volume>
          ,
          <issue>371</issue>
          {
          <fpage>383</fpage>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>