<!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>Hyperparameter Tuning for Deep Learning in Natural Language Processing</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Ahmad Aghaebrahimian</string-name>
          <email>agha@zhaw.ch</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mark Cieliebak</string-name>
          <email>ciel@zhaw.ch</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Zurich University of Applied Sciences</institution>
          ,
          <country country="CH">Switzerland</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2019</year>
      </pub-date>
      <abstract>
        <p>Deep Neural Networks have advanced rapidly over the past several years. However, it still seems like a black art for many people to make use of them efficiently. The reason for this complexity is that obtaining a consistent and outstanding result from a deep architecture requires optimizing many parameters known as hyperparameters. Hyperparameter tuning is an essential task in deep learning, which can make significant changes in network performance. This paper is the essence of over 3000 GPU hours on optimizing a network for a text classification task on a wide array of hyperparameters. We provide a list of hyperparameters to tune in addition to their tuning impact on the network performance. The hope is that such a listing will provide the interested researchers a mean to prioritize their efforts and to modify their deep architecture for getting the best performance with the least effort.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Introduction</title>
      <p>
        The application of Deep Neural Networks (DNN)
such as Convolution Neural Networks (CNN)
        <xref ref-type="bibr" rid="ref18">(LeCun et al., 1989)</xref>
        or Recurrent Neural Networks
(RNN)
        <xref ref-type="bibr" rid="ref26">(Rumelhart et al., 1986)</xref>
        and its variants
(e.g., Long Short Term Memory (LSTM)
        <xref ref-type="bibr" rid="ref12">(Hochreiter and Schmidhuber, 1997)</xref>
        or Gated Recurrent
Unit (GRU)
        <xref ref-type="bibr" rid="ref6">(Cho et al., 2014)</xref>
        ) has accelerated
since the beginning of this decade partly due to
the abundance of data available for training. Since
past several years, DNNs have found their way in
many areas of Artificial Intelligence (AI) such as
image processing or Natural Language
Processing (NLP) and have yielded superior performance
in almost all of them. However, a DNN comes
with a series of hyperparameters which need to
be tuned if one expects to obtain state-of-the-art
or even better results using them. Some of these
hyperparameters, such as the number of layers or
the number of neurons per layer, are bound
directly to the deep neural architecture, while others
- such as drop-out rate - are independent of the
architecture. In addition to these hyperparameters,
there are other network choices such as the
classifier type that affects the network performance to
a large extent. Our list of parameters to tune
includes both of these hyperparameters and network
choices. Since none of these parameters,
including network choices and hyperparameters, can be
learned within the network directly, from now on,
we use the term hyperparameter to refer to both.
      </p>
      <p>
        Recognizing the best choice of
hyperparameters is often a cumbersome process to a level that
some people consider it a ”black art”
        <xref ref-type="bibr" rid="ref27">(Snoek et al.,
2012)</xref>
        . Scarcity of proper research on the impact
of these parameters on the network performance
often leads to a waste of a lot of time, especially
for younger researchers with little experience. In
this paper, we adopt a state-of-the-art multi-label
classifier to investigate the impact of 12 categories
of hyperparameters on the task of multi-label text
classification. The task in multi-label text
classification is to assign one or more labels to each text.
      </p>
      <p>Word embeddings types, word embeddings
sizes, word embeddings updating, character
embeddings, deep architectures (CNN, LSTM,
GRU), optimizers, gradient control, classifiers,
drop out, deep vs. wide networks, and pooling
are the settings studied in this work. To make the
experiment manageable, several groups of these
parameters are set on an individual grid to serve
as an ad-hoc grid search scheme for finding the
most promising hyperparameters by focusing on
the most promising optimized area.</p>
      <p>We provide the readers with an insight into the
impact of each hyperparameter on this specific
task. This study is performed by running over 400
different configurations in over 3000 GPU hours.
The contribution of this work is to provide a
prioritized list of hyperparameters to optimize.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Related Work</title>
      <p>Hyperparameter tuning is often performed using
grid search/brute force, where all possible
combinations of the hyperparameters with all of their
values form a grid and an algorithm is trained
for each combination. However, this method
becomes incomputable already for small numbers
of hyperparameters. For instance, in our study
with 12 categories of hyperparameters each with
four instances on average, we would have a grid
with several million nods, which would be highly
computationally expensive. To address this
issue Bergstra et al. (2013) proposed a method for
randomized parameter tuning and showed that for
each of their datasets there are only a few
impactful parameters on which more values should be
tried. However, due to the random mechanism
in this approach, each trial is independent of the
others. Hence, it does not learn anything from
other experiments. To address this problem Snoek
et al. (2012) proposed a Bayesian optimization
method using a statistical model for mapping
hyperparameters to an objective function. However,
Bayesian optimization adds another layer of
complexity to the problem. Therefore, this method has
not gained much popularity since its proposal.</p>
      <p>
        The most effective and straightforward method
for hyperparameter tuning is still ad-hoc grid
search
        <xref ref-type="bibr" rid="ref13">(Hutter et al., 2015)</xref>
        where the researcher
manually tries the most correlated parameters on
the same grid to gradually and iteratively find the
most impactful set of hyperparameters with the
best values.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>Multi-Label Classification</title>
      <p>
        Multi-label text classification is the task of
assigning one or more labels to each text. News
classification is an example of such a task. For
this task, we adopted a state-of-the-art architecture
for multi-label classification
        <xref ref-type="bibr" rid="ref1">(Aghaebrahimian and
Cieliebak, 2019)</xref>
        . The schema of the model is
illustrated in Figure 1.
      </p>
      <p>The architecture consists of two channels of
biGRU deep structures with an attention mechanism
and a dense sigmoid layer on the top. The
illustrated schema is the optimized network which
created the best results for the task. One channel is
devoted to the most informative words given each
class, which are extracted using the χ2 method.
The other channel is used for input tokens. For
more information about the architecture, please
refer to Aghaebrahimian and Cieliebak (2019).</p>
      <p>The dataset used for this experiment is a
proprietary dataset with roughly 60K articles with a
total number of 28 labels. The dataset contains
about 250K different words and assigns 2.5 labels
to each article on average. It is randomly divided
into 80%,10%, and 10% parts for training,
validating, and testing accordingly.</p>
      <p>The textual data is preprocessed by removing
non-alphanumeric values and replacing numeric
values with a unique symbol. The resulting strings
are tokenized and truncated to 3k tokens. Shorter
texts are padded with 0 to fixate all the texts to the
same length.</p>
      <p>Two measures are used for evaluation. F1
(Micro) is used as a measure of performance. It is
computed by calculating F1 scores for each
article and averaging them over all articles in the test
data. The second metric, Epochs, is reported as
a measure of time required for the network with
a specific setting to converge. The early stopping
method is used as criterion for convergence, which
is recognized when after three consecutive epochs
no decrease in validation loss is observed. All
models are trained in batches with 64 instances in
each.
4</p>
    </sec>
    <sec id="sec-4">
      <title>Experimental results</title>
      <p>There are 12 categories of hyperparameters which
are tuned in this study. Some of the
hyperparameters, such as the deep architecture or the
classifier type, are network choices while others, such
as the embeddings type or the dropout rate, are
variables pertaining to different parts of the
network. The results of hyperparameter optimization
on each criterion are reported in the following
subsections.</p>
      <p>All parameters except the parameter under
investigation in each experiment are kept constant.
All other parameters that are not part of this study,
such as the seed number or batch size, are also kept
constant throughout all the experiments.
4.1</p>
      <sec id="sec-4-1">
        <title>Word Embeddings Grid</title>
        <p>
          In this grid, we tune the word embeddings type,
the size, and the method of updating. Low
dimensional dense word vectors known as word
embeddings have been proven to be highly effective
in representing words, and often lead to
significantly better performance
          <xref ref-type="bibr" rid="ref7">(Collobert et al., 2011)</xref>
          .
Depending on the method used for their training,
they can provide different levels of syntactic and
semantic information about each word. Many
factors can affect the quality of word embeddings,
including the data on which they were trained,
their number of dimension, their domain, and
preprocessing steps involved in the training. We
investigated five widely studied pre-trained word
embeddings including Word2Vec
          <xref ref-type="bibr" rid="ref21 ref23">(Mikolov et al.,
2013)</xref>
          trained on Google News dataset with 100
billion tokens, Glove
          <xref ref-type="bibr" rid="ref24">(Pennington et al., 2014)</xref>
          with three variants (one trained on Wikipedia with
64 billion tokens and two others trained on the
Common Crawl, one on 42 and the other on 840
billion tokens), FastText
          <xref ref-type="bibr" rid="ref5">(Bojanowski et al., 2016)</xref>
          ,
dependency based
          <xref ref-type="bibr" rid="ref19 ref24">(Levy and Goldberg, 2014)</xref>
          ,
and ELMo
          <xref ref-type="bibr" rid="ref25">(Peters et al., 2018)</xref>
          . As shown in
Table 1, the Glove embeddings trained on the
Common Crawl yields significantly better results
compared to other embeddings except for Elmo. Elmo
and Glove-840 yield roughly similar results.
However, due to the much larger word vector size in
Elmo, it is much more computationally expensive
and takes much longer time to converge.
        </p>
        <p>
          Each pre-trained embedding comes with a
specific vector size. The Glove embeddings are
available in 50, 100, 200, and 300-dimensional
word vectors. Elmo provides 1024 dimensional
vectors, and other embeddings all are with
300dimensional word vectors. The results for size
tuning are reported in Table 2. Except for the
Word embedding type
Word2Vec
          <xref ref-type="bibr" rid="ref21 ref23">(Mikolov et al., 2013)</xref>
          Glove-6
          <xref ref-type="bibr" rid="ref24">(Pennington et al., 2014)</xref>
          Glove-42
          <xref ref-type="bibr" rid="ref24">(Pennington et al., 2014)</xref>
          Glove-840
          <xref ref-type="bibr" rid="ref24">(Pennington et al., 2014)</xref>
          FastText
          <xref ref-type="bibr" rid="ref5">(Bojanowski et al., 2016)</xref>
          Dependency
          <xref ref-type="bibr" rid="ref19 ref24">(Levy and Goldberg, 2014)</xref>
          ELMo
          <xref ref-type="bibr" rid="ref25">(Peters et al., 2018)</xref>
          50-dimensional vectors, which is sub-optimal, all
other dimensions yield superior results with an
unnoticeable difference in the number of Epochs.
        </p>
        <p>Word embeddings provide a mean of transfer
learning, which means word vectors are initially
learned using a large dataset containing several
billion tokens and are fine-tuned on a smaller
dataset for doing their specific task afterwards.
This mechanism can be controlled by having word
vectors frozen or fine-tuned through training.
Depending on the size of the dataset on which word
embeddings are being refined, updating them can
improve the performance. However, as observed
in Table 3 fine-tuning the word vectors yielded no
significant improvement over original pre-trained
ones since the dataset was not large enough.</p>
        <p>
          Word embedding updating
Disabled
Enabled
Epochs Results
29 84.3 %
31 84.5 %
Word-level features are not the only features used
in text analytics. Character-level features are
also reported to improve model performance
especially in tasks such as Named Entity
Recognition (NER)
          <xref ref-type="bibr" rid="ref2">(Akbik et al., 2018)</xref>
          or Part Of Speech
(POS)
          <xref ref-type="bibr" rid="ref3">(Anastasiev et al., 2018)</xref>
          tagging, where
knowing the function of individual characters such
as prefixes, suffixes, or even infixes are beneficial.
We used two different character encoding
mechanisms, one CNN-based
          <xref ref-type="bibr" rid="ref10 ref20 ref5">(Ma and Hovy, 2016)</xref>
          and
the other LSTM-based
          <xref ref-type="bibr" rid="ref17">(Lample et al., 2016)</xref>
          , to
investigate the impact of character-level features
on the network performance. As we expected,
using character-level features had no added value
in the label classification task where labels were
bound to words and their syntactic and semantic
attributes rather than to their characters.
        </p>
        <p>Character embeddings and the best of
embeddings grid were tuned on the same grid. It means
that in this grid, we disregard the sub-optimal
settings in the embeddings grid and only focus on the
winning setting. Given the winning setting, we
tune the character embedding settings to
investigate the impact of character embeddings (Table 4).</p>
        <p>
          Character embedding
Disabled
Enabled-CNN
          <xref ref-type="bibr" rid="ref10 ref20 ref5">(Ma and Hovy, 2016)</xref>
          Enabled-LSTM
          <xref ref-type="bibr" rid="ref17">(Lample et al., 2016)</xref>
          The choice of deep architecture either as a
Convolution Neural Network (CNN)
          <xref ref-type="bibr" rid="ref18">(LeCun et al.,
1989)</xref>
          or as a variant of Recurrent Neural
Networks (RNN) such as Long Short Term Memory
(LSTM)
          <xref ref-type="bibr" rid="ref12">(Hochreiter and Schmidhuber, 1997)</xref>
          or
Gated Recurrent Unit (GRU)
          <xref ref-type="bibr" rid="ref6">(Cho et al., 2014)</xref>
          can have a huge effect on the performance of a
model.
        </p>
        <p>The deep architecture type, the number of deep
layers, and the number of units in each layer, as
well as the optimizers, are highly dependent on
each other. Therefore, we optimize all of them on
the same grid with 270 different configurations.</p>
        <p>For the CNN model, we adapted Kim (2014)
model, and for RNN models, we used both
variants LSTM and GRU as single and bidirectional
architectures. As seen in Table 5, although CNN
models converge faster than the RNNs, they can
not beat RNNs performance. Among all other
RNN models, bidirectional GRU yields
significantly better results.</p>
        <p>
          Deep architectures Epochs
LSTM
          <xref ref-type="bibr" rid="ref12">(Hochreiter and Schmidhuber, 1997)</xref>
          30
Bi-LSTM 37
GRU
          <xref ref-type="bibr" rid="ref6">(Cho et al., 2014)</xref>
          21
Bi-GRU 29
CNN (single channel)
          <xref ref-type="bibr" rid="ref14">(Kim, 2014)</xref>
          18
CNN (double channel)
          <xref ref-type="bibr" rid="ref14">(Kim, 2014)</xref>
          23
The application of more deep layers and more
units in each layer has been beneficial in some
tasks. Adding more layers helps in more complex
tasks to generate more layers of abstraction, while
adding more units to each layer contributes to
generating more features. Still, adding extra layers in
depth and width without enough training data
usually leads to overfitting. In all of our
configurations, we got the best performance by having 128
units for each layer and only one layer in depth
(Table 6).
        </p>
        <p>
          Deep vs. wide network
Deep-1
Deep-2
Deep-3
Wide-64
Wide-128
Wide-256
The job of an optimizer is to minimize the loss
in the objective function. Gradient-based
methods in general, and Stochastic Gradient Descent
(SGD) in particular, are one of the widely used
classes of optimizers for minimizing the objective
functions in machine learning. Due to high
sensitivity to learning rate in SGD, other variants of
optimizers such as Adagrad
          <xref ref-type="bibr" rid="ref9">(Duchi et al., 2011)</xref>
          ,
RMSProp
          <xref ref-type="bibr" rid="ref11">(Hinton, 2012)</xref>
          , Adam
          <xref ref-type="bibr" rid="ref15">(Kingma and Ba,
2015)</xref>
          , and Nadam
          <xref ref-type="bibr" rid="ref8">(Dozat, 2015)</xref>
          have been
proposed in recent years. In all our configurations, we
got the best performance using Adam. Nadam also
yields almost the same performance while
converging faster (Table 7).
4.6
        </p>
      </sec>
      <sec id="sec-4-2">
        <title>Pooling</title>
        <p>
          Either in a CNN after the convolutional filters or
in an RNN after the recurrent layers, pooling has
been proven as a useful tool for extracting the most
relevant features given each task. We investigated
three types of polling, namely average, max and
the concatenation of both with the best of
optimizer configurations on the same grid with 15
settings. The results are reported in Table 8, which
shows that using both yields the best performance
for our task.
The derivatives which are computed in
backpropagation at training time in a DNN with many
layers get smaller and smaller to the point of
vanishing. This is particularly true for RNN’s which
have a large number of layers. This makes the
training difficult and time-consuming. There are
two widely practiced mechanism called gradient
clipping
          <xref ref-type="bibr" rid="ref22">(Mikolov, 2012)</xref>
          and gradient
normalization
          <xref ref-type="bibr" rid="ref23">(Pascanu et al., 2013)</xref>
          to address this issue
known as gradient vanishing. We set the gradient
control mechanism with the best of the deep
architectures from Sub-section 4.3 on the same grid
with 18 configurations. In all of these
configurations, we got better results using gradient
normalization (Table 9).
        </p>
        <p>
          Gradient control
Disabled
Clipping
          <xref ref-type="bibr" rid="ref22">(Mikolov, 2012)</xref>
          Normalization
          <xref ref-type="bibr" rid="ref23">(Pascanu et al., 2013)</xref>
          Epochs
28
31
29
        </p>
        <p>
          Results
82.9 %
83.1 %
84.2 %
The last layer in a classification model is
considered as the most crucial layer since all the
computed features in this layer are projected to their
appropriate classes. Therefore the choice of this
layer has an essential impact on the network
performance. The choice of this layer is highly
dependent on the assumptions we make about the
task at hand. If the labels are independently
distributed, the Sigmoid and the Softmax yield better
results, while if they are conditioned on their
adjacent labels (e.g., POS tagging) the Conditional
Random Field (CRF)
          <xref ref-type="bibr" rid="ref16">(Lafferty et al., 2001)</xref>
          works
better. If we expect a multinomial distribution
over the labels, the Softmax is the best classifier
to choose while if we expect a Bernoulli
distribution, the Sigmoid is the right choice. All of the
facts mentioned here come from the assumptions
behind each of these statistical functions.
        </p>
        <p>We investigated the performance of these three
classifiers with the best of the deep architectures
from Sub-section 4.3 on the same grid with 18
configurations. As observed in the results
presented in Table 10, the Sigmoid obtains
statistically significant better result compared to two
other functions. As expected, due to the
independence among the labels of different samples, the
CRF did not perform very well. Likewise, duo
to the freedom among labels in each sample, the
Softmax also performed poorly.</p>
        <p>Classifier
Softmax
Sigmoid
CRF
Epochs
30
29
31</p>
        <p>
          Results
78.4 %
84.2 %
77.1 %
Deep neural networks tend to memorize or
overfit, which is not a desirable behavior since we
are mostly interested in the ability of the
network to generalize. Drop out
          <xref ref-type="bibr" rid="ref28">(Srivastava et al.,
2014)</xref>
          is an effective tool to enhance
generalizability. The first technique known as simple or naive
drop out was proposed as a mechanism which
randomly removes the connections between deep
layers. Gal and Ghahramani (2016) proposed a new
mechanism for drop out called variational, which
improves the simple drop out by defining static
masks for removing the connections between deep
layers (‘interlayer’) as well as between the units
inside deep layers (‘intralayer’). We placed drop
out methods with the best of the deep
architectures from Sub-section 4.3 on the same grid with
90 configurations. The results are reported in
Table 11 and Table 12. As expected, the
configurations with both inter- and intralayer variational
method yields the best performance.
        </p>
        <p>
          Drop out value
Disabled
Simple 0.2
Simple 0.5
Simple 0.7
Variational
In this study, we investigated various settings for
a Deep Neural Network for multi-label
classification. Considering the characteristics of the dataset
and the task, we observed the following results:
Using Sigmoid in the last layer yields statistically
significant better results compared to CRF or
Softmax. The Glove embedings
          <xref ref-type="bibr" rid="ref24">(Pennington et al.,
2014)</xref>
          with more than 100-dimensional vector size
and without updating yields statistically
significant better results compared to other word
vectors. Compared to other deep architectures,
biGRU yields better results when it is used as a
onedepth layer with 128 units. Adam and Nadam
obtain roughly the same results, while Nadam
converges much faster. Pooling is better to be used as
the concatenation of both max and average-pooled
tensors, and it is better to use Normalization
          <xref ref-type="bibr" rid="ref23">(Pascanu et al., 2013)</xref>
          as a mean of gradient control to
control gradient vanishing. It is also a good
practice to use Variational drop out
          <xref ref-type="bibr" rid="ref10 ref20 ref5">(Gal and
Ghahramani, 2016)</xref>
          both between layers and inside
recurrent units to control over-fitting. Finally, we did
not observe any improvement by using character
embeddings.
        </p>
        <p>The order in which these parameters are
mentioned is the magnitude of their importance for the
final performance. Parameters with no mention
here did not have any noticeable impact on the
system results.</p>
        <p>Adam:
CoRR</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <given-names>Ahmad</given-names>
            <surname>Aghaebrahimian</surname>
          </string-name>
          and
          <string-name>
            <given-names>Mark</given-names>
            <surname>Cieliebak</surname>
          </string-name>
          .
          <year>2019</year>
          .
          <article-title>Towards integration of statistical hypothesis tests into deep neural networks</article-title>
          .
          <source>In Proceedings of the 57th annual meeting of the association of Computational Linguistics (ACL)</source>
          . Florence, Italy.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <given-names>Alan</given-names>
            <surname>Akbik</surname>
          </string-name>
          , Duncan Blythe, and
          <string-name>
            <given-names>Roland</given-names>
            <surname>Vollgraf</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>Contextual string embeddings for sequence labeling</article-title>
          .
          <source>In Proceedings of the 27th International Conference on Computational Linguistics. Santa Fe</source>
          , New Mexico, USA.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <given-names>D. G.</given-names>
            <surname>Anastasiev</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I. O.</given-names>
            <surname>Gusev</surname>
          </string-name>
          , and
          <string-name>
            <given-names>E. M.</given-names>
            <surname>Indenbom</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>Improving part-of-speech tagging via multitask learning and character-level word representations</article-title>
          .
          <source>In Proceedings of the International Conference Dialogue</source>
          ,
          <article-title>Computational linguistics and intellectual technologies</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <surname>James</surname>
            <given-names>Bergstra</given-names>
          </string-name>
          , Daniel Yamins, and
          <string-name>
            <given-names>David D.</given-names>
            <surname>Cox</surname>
          </string-name>
          .
          <year>2013</year>
          .
          <article-title>Making a science of model search: Hyperparameter optimization in hundreds of dimensions for vision architectures</article-title>
          .
          <source>In Proceedings of the 30th International Conference on Machine Learning (ICML)</source>
          . Atlanta,
          <string-name>
            <surname>GA</surname>
          </string-name>
          , USA.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <given-names>Piotr</given-names>
            <surname>Bojanowski</surname>
          </string-name>
          , Edouard Grave, Armand Joulin, and
          <string-name>
            <given-names>Tomas</given-names>
            <surname>Mikolov</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>Enriching word vectors with subword information</article-title>
          .
          <source>arXiv preprint arXiv:1607</source>
          .
          <fpage>04606</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <string-name>
            <given-names>Kyunghyun</given-names>
            <surname>Cho</surname>
          </string-name>
          , Bart van Merrienboer,
          <string-name>
            <surname>Dzmitry Bahdanau</surname>
            , and
            <given-names>Yoshua</given-names>
          </string-name>
          <string-name>
            <surname>Bengio</surname>
          </string-name>
          .
          <year>2014</year>
          .
          <article-title>On the properties of neural machine translation: Encoder-decoder approaches</article-title>
          .
          <source>In Proceedings of the Eighth Workshop on Syntax, Semantics and Structure in Statistical Translation.</source>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <string-name>
            <given-names>Ronan</given-names>
            <surname>Collobert</surname>
          </string-name>
          , Jason Weston, Le´on Bottou, Michael Karlen, Koray Kavukcuoglu, and
          <string-name>
            <given-names>Pavel</given-names>
            <surname>Kuksa</surname>
          </string-name>
          .
          <year>2011</year>
          .
          <article-title>Natural language processing (almost) from scratch</article-title>
          .
          <source>J. Mach. Learn. Res</source>
          .
          <volume>12</volume>
          :
          <fpage>2493</fpage>
          -
          <lpage>2537</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <string-name>
            <given-names>Timothy</given-names>
            <surname>Dozat</surname>
          </string-name>
          .
          <year>2015</year>
          .
          <article-title>Incorporating nesterov momentum into adam</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <string-name>
            <surname>John Duchi</surname>
            , Elad Hazan, and
            <given-names>Yoram</given-names>
          </string-name>
          <string-name>
            <surname>Singer</surname>
          </string-name>
          .
          <year>2011</year>
          .
          <article-title>Adaptive subgradient methods for online learning and stochastic optimization</article-title>
          .
          <source>J. Mach. Learn. Res</source>
          .
          <volume>12</volume>
          :
          <fpage>2121</fpage>
          -
          <lpage>2159</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          <string-name>
            <given-names>Yarin</given-names>
            <surname>Gal</surname>
          </string-name>
          and
          <string-name>
            <given-names>Zoubin</given-names>
            <surname>Ghahramani</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>A theoretically grounded application of dropout in recurrent neural networks</article-title>
          .
          <source>In Proceedings of the 30th International Conference on Neural Information Processing Systems</source>
          . Curran Associates Inc., USA, NIPS'
          <fpage>16</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          <string-name>
            <given-names>Geoffrey</given-names>
            <surname>Hinton</surname>
          </string-name>
          .
          <year>2012</year>
          .
          <article-title>Neural networks for machine learning</article-title>
          .
          <source>Lecture 6a - Overview of mini-batch gradient descent .</source>
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          <string-name>
            <given-names>Sepp</given-names>
            <surname>Hochreiter</surname>
          </string-name>
          and
          <string-name>
            <given-names>Jurgen</given-names>
            <surname>Schmidhuber</surname>
          </string-name>
          .
          <year>1997</year>
          .
          <article-title>Long short-term memory</article-title>
          .
          <source>In Neural Comput.. volume 9.</source>
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          <string-name>
            <given-names>Frank</given-names>
            <surname>Hutter</surname>
          </string-name>
          , Jo¨rg Lu¨cke, and
          <string-name>
            <surname>Lars</surname>
          </string-name>
          Schmidt-Thieme.
          <year>2015</year>
          .
          <article-title>Beyond manual tuning of hyperparameters</article-title>
          . KI - Ku¨nstliche Intelligenz .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          <string-name>
            <given-names>Yoon</given-names>
            <surname>Kim</surname>
          </string-name>
          .
          <year>2014</year>
          .
          <article-title>Convolutional neural networks for sentence classification</article-title>
          .
          <source>In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP)</source>
          .
          <article-title>Association for Computational Linguistics</article-title>
          , Doha, Qatar.
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          <string-name>
            <given-names>Diederik P.</given-names>
            <surname>Kingma</surname>
          </string-name>
          and
          <string-name>
            <given-names>Jimmy</given-names>
            <surname>Ba</surname>
          </string-name>
          .
          <year>2015</year>
          .
          <article-title>A method for stochastic optimization</article-title>
          .
          <source>abs/1412</source>
          .6980.
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          <string-name>
            <surname>John D. Lafferty</surname>
          </string-name>
          ,
          <string-name>
            <surname>Andrew McCallum</surname>
          </string-name>
          , and
          <string-name>
            <surname>Fernando</surname>
            <given-names>C. N.</given-names>
          </string-name>
          <string-name>
            <surname>Pereira</surname>
          </string-name>
          .
          <year>2001</year>
          .
          <article-title>Conditional random fields: Probabilistic models for segmenting and labeling sequence data</article-title>
          .
          <source>In Proceedings of the Eighteenth International Conference on Machine Learning (ICML).</source>
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          <string-name>
            <given-names>Guillaume</given-names>
            <surname>Lample</surname>
          </string-name>
          , Miguel Ballesteros, Sandeep Subramanian, Kazuya Kawakami, and
          <string-name>
            <given-names>Chris</given-names>
            <surname>Dyer</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>Neural architectures for named entity recognition</article-title>
          .
          <source>In Proceedings of the</source>
          <year>2016</year>
          <article-title>Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies</article-title>
          . San Diego, California.
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          <string-name>
            <surname>Y. LeCun</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          <string-name>
            <surname>Boser</surname>
            ,
            <given-names>J. S.</given-names>
          </string-name>
          <string-name>
            <surname>Denker</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Henderson</surname>
            ,
            <given-names>R. E.</given-names>
          </string-name>
          <string-name>
            <surname>Howard</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          <string-name>
            <surname>Hubbard</surname>
            , and
            <given-names>L. D.</given-names>
          </string-name>
          <string-name>
            <surname>Jackel</surname>
          </string-name>
          .
          <year>1989</year>
          .
          <article-title>Backpropagation applied to handwritten zip code recognition</article-title>
          .
          <source>Neural Computation .</source>
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          <string-name>
            <given-names>Omer</given-names>
            <surname>Levy</surname>
          </string-name>
          and
          <string-name>
            <given-names>Yoav</given-names>
            <surname>Goldberg</surname>
          </string-name>
          .
          <year>2014</year>
          .
          <article-title>Dependencybased word embeddings</article-title>
          .
          <source>In Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume</source>
          <volume>2</volume>
          :
          <string-name>
            <surname>Short</surname>
            <given-names>Papers).</given-names>
          </string-name>
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          <string-name>
            <given-names>Xuezhe</given-names>
            <surname>Ma</surname>
          </string-name>
          and
          <string-name>
            <given-names>Eduard</given-names>
            <surname>Hovy</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>End-to-end sequence labeling via bi-directional LSTM-CNNsCRF. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)</article-title>
          .
          <source>Association for Computational Linguistics</source>
          , Berlin, Germany, pages
          <fpage>1064</fpage>
          -
          <lpage>1074</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          <string-name>
            <given-names>Tomas</given-names>
            <surname>Mikolov</surname>
          </string-name>
          , Kai Chen, Greg Corrado, and
          <string-name>
            <given-names>Jeffrey</given-names>
            <surname>Dean</surname>
          </string-name>
          .
          <year>2013</year>
          .
          <article-title>Efficient estimation of word representations in vector space</article-title>
          .
          <source>arXiv:1301</source>
          .
          <fpage>3781</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          <string-name>
            <given-names>Tom</given-names>
            <surname>Mikolov</surname>
          </string-name>
          .
          <year>2012</year>
          .
          <article-title>Statistical language models based on neural networks</article-title>
          .
          <source>Ph.D. Thesis</source>
          , Brno University of Technology .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          <string-name>
            <given-names>Razvan</given-names>
            <surname>Pascanu</surname>
          </string-name>
          , Tomas Mikolov, and
          <string-name>
            <given-names>Yoshua</given-names>
            <surname>Bengio</surname>
          </string-name>
          .
          <year>2013</year>
          .
          <article-title>On the difficulty of training recurrent neural networks</article-title>
          .
          <source>In Proceedings of the 30th International Conference on International Conference on Machine Learning (ICML).</source>
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          <string-name>
            <surname>Jeffrey</surname>
            <given-names>Pennington</given-names>
          </string-name>
          , Richard Socher, and
          <string-name>
            <given-names>Christopher</given-names>
            <surname>Manning</surname>
          </string-name>
          .
          <year>2014</year>
          .
          <article-title>Glove: Global vectors for word representation</article-title>
          .
          <source>In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP).</source>
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          <string-name>
            <given-names>Matthew E.</given-names>
            <surname>Peters</surname>
          </string-name>
          , Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark,
          <string-name>
            <given-names>Kenton</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>and Luke</given-names>
            <surname>Zettlemoyer</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>Deep contextualized word representations</article-title>
          .
          <source>In Proc. of NAACL.</source>
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          <string-name>
            <given-names>David E.</given-names>
            <surname>Rumelhart</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Geoffrey E.</given-names>
            <surname>Hinton</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Ronald J.</given-names>
            <surname>Williams</surname>
          </string-name>
          .
          <year>1986</year>
          .
          <article-title>Learning Representations by Backpropagating Errors</article-title>
          .
          <source>Nature</source>
          <volume>323</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          <string-name>
            <given-names>Jasper</given-names>
            <surname>Snoek</surname>
          </string-name>
          , Hugo Larochelle, and
          <string-name>
            <given-names>Ryan P.</given-names>
            <surname>Adams</surname>
          </string-name>
          .
          <year>2012</year>
          .
          <article-title>Practical bayesian optimization of machine learning algorithms</article-title>
          .
          <source>In Proceedings of the 25th International Conference on Neural Information Processing Systems (NIPS)</source>
          . USA.
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          <string-name>
            <given-names>Nitish</given-names>
            <surname>Srivastava</surname>
          </string-name>
          , Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, and
          <string-name>
            <given-names>Ruslan</given-names>
            <surname>Salakhutdinov</surname>
          </string-name>
          .
          <year>2014</year>
          .
          <article-title>Dropout: A simple way to prevent neural networks from over fitting</article-title>
          .
          <source>Journal of Machine Learning Research .</source>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>