<!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>Question Dependent Recurrent Entity Network for Question Answering</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Andrea Madotto</string-name>
          <email>andreamad8@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Giuseppe Attardi</string-name>
          <email>attardi@di.unipi.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Dipartimento di Informatica, University of Pisa Largo B. Pontecorvo</institution>
          ,
          <addr-line>3</addr-line>
        </aff>
      </contrib-group>
      <fpage>69</fpage>
      <lpage>80</lpage>
      <abstract>
        <p>Question Answering is a task which requires building models capable of providing answers to questions expressed in human language. Full question answering involves some form of reasoning ability. We introduce a neural network architecture for this task, which is a form of Memory Network, that recognizes entities and their relations to answers through a focus attention mechanism. Our model is named Question Dependent Recurrent Entity Network and extends Recurrent Entity Network by exploiting aspects of the question during the memorization process. We validate the model on both synthetic and real datasets: the bAbI question answering dataset and the CNN &amp; Daily News reading comprehension dataset. In our experiments, the models achieved a State-ofThe-Art in the former and competitive results in the latter.</p>
      </abstract>
      <kwd-group>
        <kwd>Question Answering</kwd>
        <kwd>Deep Learning</kwd>
        <kwd>Memory Networks</kwd>
        <kwd>Recurrent Neural Network</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Question Answering is a task that requires capabilities beyond simple NLP since
it involves both linguistic techniques and inference abilities. Both the document
sources and the questions are expressed in natural language, which is ambiguous
and complex to understand. To perform such a task, a model needs in fact
to understand the underlying meaning of text. Achieving this ability is quite
challenging for a machine since it requires a reasoning phase (chaining facts,
basic deductions, etc.) over knowledge extracted from the plain input data. In
this article, we focus on two Question Answering tasks: a Reasoning Question
Answering (RQA) and a Reading Comprehension (RC). These tasks are tested
by submitting questions to be answered directly after reading a piece of text
(e.g. a document or a paragraph).</p>
      <p>
        Recent progress in the eld has been possible thanks to machine learning
algorithms which automatically learn from large collections of data. Deep Learning
[
        <xref ref-type="bibr" rid="ref15">15</xref>
        ] algorithms achieve the current State-of-The-Art in our tasks of interest. A
particularly promising approach is based on Memory Augmented Neural
Networks. These networks are also known as Memory Networks [
        <xref ref-type="bibr" rid="ref24">24</xref>
        ] or Neural
Turing Machines [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. In the literature the RQA and RC tasks are typically solved
by di erent models. However, the two tasks share a similar scope and structure.
We propose to tackle both with a model called Question Dependent Recurrent
Entity Network, which improves over the model called Recurrent Entity Network
[
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
      </p>
      <p>
        Our major contributions are: 1) exploiting knowledge of the question for
storing relevant facts in memory, 2) adding a tighter regularisation scheme, and
3) changing the activation functions. We test and compare our model on two
datasets, bAbI [
        <xref ref-type="bibr" rid="ref23">23</xref>
        ] and [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], which are standard benchmark for both tasks. The
rest of the paper is organised as follows: section Related outlines the models
used in QA tasks, while section Model the proposed QDREN model. Section
Experiments and Results show training details and performance achieved by our
model. The section Analysis reports a visualisation with the aim to explain the
obtained results. Finally, section Conclusions summarise the work done.
2
2.1
      </p>
    </sec>
    <sec id="sec-2">
      <title>Related Work</title>
      <sec id="sec-2-1">
        <title>Reasoning Question Answering</title>
        <p>
          A set of synthetic tasks, called bAbI [
          <xref ref-type="bibr" rid="ref23">23</xref>
          ], has been proposed for testing the
ability of a machine in chaining facts, performing simple inductions or
deductions. The dataset is available in two sizes, 1K and 10K training samples, and in
two settings, i.e. with and without supporting facts. The latter allows knowing
which facts in the input are needed for answering the question (i.e. a stronger
supervision). Obviously, the 1K sample setting with no supporting facts is quite
hard to handle, and it is still an open research problem. Memory Network [
          <xref ref-type="bibr" rid="ref24">24</xref>
          ]
was one of the rst models to provide the ability to explicitly store facts in
memory, achieving good results on the bAbI dataset. An evolution of this model
is the End to End Memory Network [
          <xref ref-type="bibr" rid="ref20">20</xref>
          ], which allows for end-to-end training.
This model represents the State-of-The-Art in the bAbI task with 1K
training samples. Several other models have been tested in the bAbI tasks achieving
competitive results, such as Neural Turing Machine [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ], Di erentiable Neural
Computer [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] and Dynamic Memory Network [
          <xref ref-type="bibr" rid="ref14 ref25">14, 25</xref>
          ]. Several other baselines
have also been proposed [
          <xref ref-type="bibr" rid="ref23">23</xref>
          ], such as: an n-gram [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ] models, an LSTM reader
and an SVM model. However, some of them still required strong supervision by
means of the supporting facts.
2.2
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>Reading Comprehension</title>
        <p>Reading Comprehension is de ned as the ability to read some text, process it,
and understand its meaning. A impending issue for tackling this task was to
nd suitably large datasets with human annotated samples. This shortcoming
has been addressed by collecting documents which contain easy recognizable
short summary, e.g. news articles, which contain a number of bullet points,
summarizing aspects of the information contained in the article. Each of these
short summaries is turned into a ll-in question template, by selecting an entity
and replacing it with an anonymized placeholder.</p>
        <p>
          Three datasets follows this style of annotation: Childrens Text Books [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ],
CNN &amp; Daily Mail news articles [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ], and Who did What [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ]. It is also worth
to mention Squad [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ], a human annotated dataset from Stanford NLP group.
Memory Networks, described in the previous sub-section, has been tested [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ]
on both the CNN and CBT datasets, achieving good results. The Attentive
and Impatient Reader [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ] was the rst model proposed for the CNN and Daily
Mail dataset, and it is therefore often used as a baseline. While this model
achieved good initial results, shortly later a small variation to such model, called
Standford Attentive Reader [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ], increased its accuracy by 10%. Another group
of models are based on an Arti cial Neural Network architecture called Pointer
Network [
          <xref ref-type="bibr" rid="ref22">22</xref>
          ]. Attentive Sum Reader [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ] and Attention over Attention [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ] use
a similar idea for solving di erent reading comprehension tasks. EpiReader [
          <xref ref-type="bibr" rid="ref21">21</xref>
          ]
and Dynamic Entity Representation [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ], partially follow the Pointer Network
framework but they also achieve impressive results in the RC tasks. Also for this
task several baselines, both learning and non-learning, have been proposed. The
most commonly used are: Frame-Semantics, Word distance, and LSTM Reader
[
          <xref ref-type="bibr" rid="ref9">9</xref>
          ] and its variation (windowing etc.).
3
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Proposed Model</title>
      <p>
        Our model is based on the Recurrent Entity Network (REN) [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] model. The
latter is the only model able to pass all the 20 bAbI tasks using the 10K sample
size and without any supporting facts. However, this model fails many tasks with
the 1K setting, and it has not been tried on more challenging RC datasets, like
the CNN news articles. Thus, we propose a variant to the original model called
Question Dependent Recurrent Entity Network (QDREN )1. This model tries to
overcome the limitations of the previous approach. The model consists in three
main components: Input Encoder, Dynamic Memory, and Output Module.
      </p>
      <p>The training data consists of tuples f(xi; yi)gin=1, with n equal to the sample
size, where: xi is composed by a tuple (T; q), where T is a set of sentences
fs1; : : : ; stg, each of which has m words, and q a single sentence with k words
representing the question. Instead, yi is a single word that represents the answer.
The Input Encoder transforms the set of words of a sentence st and the question
q into a single vector representation by using a multiplicative mask. Let's de ne
E 2 RjV j d the embedding matrix, that is used to convert words to vectors,
i.e. E(w) = e 2 Rd. Hence, fe1; : : : ; emg are the word embedding of each word
in the sentence st and fe1; : : : ; ekg the embedding of the question's words. The
f (s); : : : ; f m(s)g and
multiplicative masks for the sentences are de ned as f (s) = f 1</p>
      <p>f (q); : : : ; f m(q)g for the question, where each fi 2 Rd. The encoded vector
f (q) = f 1
of a sentence is de ned as:</p>
      <p>m k
st = X er fr(s) q = X er fr(q)
r=1
r=1</p>
      <sec id="sec-3-1">
        <title>1 An implementation is available at https://github.com/andreamad8/QDREN</title>
        <p>
          Dynamic Memory stores information of entities present in T . This module is very
similar to a Gated Recurrent Unit (GRU) [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] with a hidden state divided into
blocks. Moreover, each block ideally represents an entity (i.e. person, location
etc.), and it stores relevant facts about it. Each block i is made of a hidden
state hi 2 Rd and a key ki 2 Rd, where d is the embedding size. The Dynamic
Memory module is made of a set of blocks, which can be represent with a set of
hidden states fh1; : : : ; hzg and their correspondent set of keys fk1; : : : ; kzg. The
equation used to update a generic block i are the following:
g(t) = (stT hi(t 1) + stT ki(t 1) + stT q)
i
h^(t) = (U hi(t 1) + V ki(t 1) + W st)
        </p>
        <p>i
hi(t) =hi(t 1) + gi(t) h^i(t)
h(t) =hi(t)=khi k</p>
        <p>(t)
i
(Gating Function)
(Candidate Memory)
(New Memory)
(Reset Memory)
where represents the sigmoid function, a generic activation function which
can be chosen among a set (e.g. sigmoid, ReLU, etc.). gi(t) is the gating
function which determines how much the ith memory should be updated, and h^(t)
i
is the new candidate value of the memory to be combined with the existing one
hi(t 1). The matrix U 2 Rd d, V 2 Rd d, W 2 Rd d are shared among di erent
blocks, and are trained together with the key vectors. The addition of the stT q
term in the gating function is our main contribution. We add such term with the
assumption that the question can be useful to focus the attention of the model
while analyzing the input sentences.
The Output Module creates a probability distribution over the memories'
hidden states using the question q. Thus, the hidden states are summed up, using
the probability as weight, to obtain a single state representing all the input.
Finally, the network output is obtained by combining the nal state with the
question. Let us de ne R 2 RjV j d, H 2 Rd d, y^ 2 RjV j, z is the number of
blocks, and can be chosen among di erent activation functions. Then, we have:
y^ =R (q + Hu)
The model is trained using a cross entropy loss H(y^; y) plus L2 regularisation
term, where y is the one hot encoding of the correct answer. The sigmoid function
and the L2 term are two novelty added to the original REN. Overall, the trainable
parameters are:</p>
        <p>= [E; f (s); f (q); U; V; W; k1; : : : ; kz; R; H]
where f (s) refers to the sentence multiplicative masks, f (q) to the question
multiplicative masks, and each ki to the key of a generic block i. The number of
parameters is dominated by E and R, since they depend on the vocabulary size.
However, R is normally is much smaller than E like in the CNN dataset, in
which the prediction is made on a restricted number of entities2. All the
parameters are learned using the Backpropagation Through Time (BPTT) algorithm.
A schematic representation of the model is shown in Figure 1.
4</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Experiments and Results</title>
      <p>
        Our model has been implemented using TensorFlow v1.1 [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] and the
experiments have been run on a Linux server with 4 Nvidia P100 GPUs. As
mentioned earlier, we tested our model in two datasets: the bAbI 1k sample and the
CNN news articles. The rst dataset have 20 separate tasks, each of which has
900/100/1000 training, validation, and test samples. Instead, the second one has
380298/3924/3198 training, validation and test samples. We kept the original
splitting to compare our results with the existing ones.
bAbI: in these tasks, we xed the batch size to 32, we did not use any pre-trained
word embedding, and we used Adam [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] optimizer. We have also clipped the
gradient to a maximum of 40 (to avoid gradient explosion), and we set the
word embedding size to 100, as it has also been suggested in the original paper.
We have also implemented an early stopping method, which stop the training
ones the validation accuracy does not improve after 50 epochs. Several values
for the hyper-parameter have been tried and, for each task, we selected the
2 Therefore R 2 Rjentitiesj d
setting that achieved the highest accuracy in validation. Once we selected the
best model, we estimate its generalization error using the provided Test set.
Table 1 shows an example of the dataset and the used hyper-parameters. We
compared our results with four models: n-gram model, LSTM, original REN
(with no question in the gating function) and End To End Memory Network
(MemN2N) [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ], which is currently the State-Of-The-Art in this setting. To the
best of our knowledge we achieved the lowest number of failed tasks, failing just
8 tasks compared with the previous State-Of-The-Art which was 11. Comparing
our QDREN with the original Recurrent Entity Network (REN) we achieved, on
average, an improvement of 11% in the average error rate and we passed 7 tasks
more. Table 2 shows the error rate3 in the test set obtained using each compared
model, and the hyper-parameter setting used in each task. We improve the mean
error compared to the original REN, however we still do know reach the error
rate achieved by the End To End Memory Network (even if we passed more
tasks). It is worth to notice the following two facts: rst, in task 14 and 18 the
error is very close to the threshold for passing the task (5%); second, in task 2,
we achieved a slightly worse result (10% error more) with respect to the original
REN.
      </p>
      <p>CNN news articles: in this dataset, the entities in the original paragraph are
replaced by an ID, making the task even more challenging. The CNN dataset is
already tokenized and cleaned, therefore we did not apply any text pre-processing.
As it was done in other models, the set of possible answers is restricted to the
set of hidden entities in the text, that are much less, around 500, compared to
all the words (120K) in the vocabulary. Compared to the model used for bAbI,
we changed the activation function of the output layer, using a sigmoid instead
of parametric ReLU, since after several experiments we noticed that such
activation was hurting the model performance. Moreover, the input was not split
into sentences, thus we divided the text into sentences using the dot token (".").
sentence splitting in general is itself a challenging task, but in this case the input
was already cleaned and normalised. However, the sentence may be very long,
thus we intrdocued a windowing mechanism. The same approach has been used</p>
      <sec id="sec-4-1">
        <title>3 The error is the percentage of wrong answers.</title>
        <p>
          in the End To End Memory Network [
          <xref ref-type="bibr" rid="ref20">20</xref>
          ] as a way to encode the input sentence.
This method takes each entity marker (@entityi) and it creates a window of b
words around it. Formally, fwi (b 1) ; : : : ; wi; : : : ; wi+ (b 1) g, where wi represent
2 2
the entity of interest. For the question, a single window is created around the
placeholder marker (the word to predict). Moreover, we add 2(b 1) tokens for
the entities at the beginning and at the end of the text. To check whether our
QDREN could improve the existent REN and whether the window-based
approach makes any di erence in comparison with plain sentences, we separately
trained four di erent models: REN+SENT, REN+WIND, QDREN+SENT and
QDREN+WIND. Where SENT represent simple input sentences, and WIND
the window as a input. For each of this model, we conduct a separated model
selection using a various number of hyper-parameters. Table 3 shows an example
of the dataset and the used hyper-parameters. As for the bAbI task, we used
early stopping, ending the training once the validation accuracy does not
improve for 20 epochs. Since each training required a large amounts of time (using
a batch size of 64 an epoch takes around 7 hours), we opted for a random search
technique [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ], and we used just a sub-sample of the training set, i.e. 10K sample,
for the model selection, but we still keep the validation set as it was. Obviously,
this is not an optimal parameter tuning, since the model is selected on just 10K
samples. Indeed, we noticed that the selected model, which is trained using all
the samples (380K), tends to under- t. However, it was the only way to try
different parameters in a reasonable amount of time. Moreover, we also limited the
vocabulary size to the most common 50K words, and we initialize the
embed
        </p>
        <p>Parameter Values
Learning Rate ( ) 0.1,0.01,0.001,0.0001</p>
        <p>Window 2,3,4,5
Number of Blocks 10,20,50,70,90</p>
        <p>L2 reg. ( ) 0.0,0.001,0.0001,0.00001
Optimizer Adam,RMSProp</p>
        <p>
          Batch Size 128,64,32
Dropout (Dr) 0.2,0.5,0.7,0.9
ding matrix using Glove [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ] pre-trained word embedding of size 100. As before,
we selected the models that achieved the highest accuracy in the validation set,
and then we estimate its generalization error using the provided test set. The
selected models, with their hyper-parameters, are shown in Table 4. The best
accuracy4 is achieved by QDREN+WIND with a value of 0.628, while all other
models could not achieve an accuracy greater than 0.42. The window-based
version without question supervision could not achieve an accuracy higher than
0.401. Indeed, saving only facts relative to the question seems to be the key to
achieving a good score in this task. We also noticed that using plain sentences,
even with QDREN, we cannot achieve a higher accuracy. This might be due to
the sentence encoder, since just using the multiplicative masks does not provide
enough expressive power for getting key features of the sentence. Moreover, we
notice that the accuracy achieved in the training set is always lower than that
in the validation and test set. The same phenomenon is present also in other
        </p>
      </sec>
      <sec id="sec-4-2">
        <title>4 Percentage of correct answers.</title>
        <p>
          models, in our particular case this might be due to the strong regularization
term used in our models. Our model achieves an accuracy comparable to the
Attentive and Impatient Reader [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ], but not yet State-Of-The-Art model (i.e.
Attention over Attention (AoA)). It is worth noting though that our model is
much simpler and it goes through each paragraph just once. A summary of the
other models' results are shown in Table 5.
5
        </p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Analysis</title>
      <p>To better understand how our proposed model (i.e. QDREN) works and how it
improves the accuracy of the existing REN, we studied the gating function
behavior. Indeed, the output of this function decides how much and what we store
in each memory cell, and it is also where our model di ers from the original one.
Moreover, we trained the QDREN and the original REN using the bAbI task
number 1 (using 20 memory blocks). We pick up this task since both models
pass it, and it is one of the simplest, which also allows to better understand
and visualize the results. Indeed, we have tried to visualize other tasks but the
result was di cult to understand since there were too many sentences in input
and it was di cult to understand how the gate opened. The visualization result
is shown in Figure 2, where we plotted the activation matrix for both models,
using a sample of the validation set. In these plots, we can notice how the two
models learn which information to store.</p>
      <p>In Figure 2 (a), we notice that the QDREN is opening the gates just when
in the sentence appears the entity named Mary. This because such entity is also
present in the question (i.e., "where is Mary?"). Even though the model is
focusing on the right entity, its gates are opening all at the same times. In fact, we
guess that a sparser activation would be better since it may have modeled which
other entities are relevant for the nal answer. Instead, the gaiting activation of
the original REN is sparse, which is good if we would like to learn all the relevant
facts in the text. Indeed, the model e ectively assigns a block to each entity and
it opens the gates just ones such entity appears in the input sentences. For
example, in Figure 2 (b) the block cell number 13 supposedly represents the entity
Sandra, since each sentence in which this name appears the gate function of the
block fully opens (value almost 1). Futher, we can notice the same phenomenon
with the entity John (cell 10), Daniel (cell 4), and Mary (cell 14). Other entities
(e.g., kitchen, bathroom, etc.) are more di cult to recognize in the plot since
their activation is less strong and probably distributes this information among
blocks.
1.0
sandra went to the kitchen
john journeyed to the kitchen
sandra went back to the garden
mary traveled to the halway
sandra went back to the bathroom
daniel journeyed to the garden
john moved to the halway
mary moved to the bathroom
john went back to the ofice
mary went to the kitchen</p>
    </sec>
    <sec id="sec-6">
      <title>Conclusion</title>
      <p>In this paper we presented the Question Dependent Recurrent Entity Network,
used for reasoning and reading comprehension tasks. This model uses a
particular RNN cell in order to store just relevant information about the given question.
In this way, in combination with the original Recurrent Entity Network (keys and
memory), we improved the State-of-The-Art in the bAbI 1k task and achieved
promising results in the Reading comprehension task on the CNN &amp; Daily news
dataset. However, we believe that there are still margins for improving the
behavior for the proposed cell. Indeed, the cell has not enough expressive power to
make a selective activation among di erent memory blocks (notice in Figure 2
(a) the gates open for all the memories). This does not seem to be a serious
problem since we actually outperform other models, but it could be the key to
nally pass all the bAbI tasks.</p>
    </sec>
    <sec id="sec-7">
      <title>Acknowledgments</title>
      <p>This work has been supported in part by grant no. GA 2016 009 "Grandi
Attrezzature 2016" by the University of Pisa.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Abadi</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Agarwal</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Barham</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Brevdo</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Citro</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Corrado</surname>
            ,
            <given-names>G.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Davis</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dean</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Devin</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ghemawat</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Goodfellow</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Harp</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Irving</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Isard</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jia</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jozefowicz</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kaiser</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kudlur</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Levenberg</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mane</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Monga</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Moore</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Murray</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Olah</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schuster</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shlens</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Steiner</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sutskever</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Talwar</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tucker</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vanhoucke</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vasudevan</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Viegas</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vinyals</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Warden</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wattenberg</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wicke</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yu</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zheng</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          :
          <article-title>TensorFlow: Large-scale machine learning on heterogeneous systems (</article-title>
          <year>2015</year>
          ), http://tensorflow.org/, software available from tensor ow.org
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Bergstra</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bengio</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>Random search for hyper-parameter optimization</article-title>
          .
          <source>Journal of Machine Learning Research 13(Feb)</source>
          ,
          <volume>281</volume>
          {
          <fpage>305</fpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bolton</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Manning</surname>
            ,
            <given-names>C.D.:</given-names>
          </string-name>
          <article-title>A thorough examination of the cnn/daily mail reading comprehension task</article-title>
          .
          <source>arXiv preprint arXiv:1606.02858</source>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Cho</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          , Van Merrienboer,
          <string-name>
            <given-names>B.</given-names>
            ,
            <surname>Bahdanau</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            ,
            <surname>Bengio</surname>
          </string-name>
          ,
          <string-name>
            <surname>Y.</surname>
          </string-name>
          :
          <article-title>On the properties of neural machine translation: Encoder-decoder approaches</article-title>
          .
          <source>arXiv preprint arXiv:1409.1259</source>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Cui</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wei</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          , Liu,
          <string-name>
            <given-names>T.</given-names>
            ,
            <surname>Hu</surname>
          </string-name>
          ,
          <string-name>
            <surname>G.</surname>
          </string-name>
          :
          <article-title>Attention-over-attention neural networks for reading comprehension</article-title>
          .
          <source>arXiv preprint arXiv:1607.04423</source>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Graves</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wayne</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Danihelka</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          :
          <article-title>Neural turing machines</article-title>
          .
          <source>arXiv preprint arXiv:1410.5401</source>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Graves</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wayne</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Reynolds</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Harley</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Danihelka</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>GrabskaBarwinska</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Colmenarejo</surname>
            ,
            <given-names>S.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Grefenstette</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ramalho</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Agapiou</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          , et al.:
          <article-title>Hybrid computing using a neural network with dynamic external memory</article-title>
          .
          <source>Nature</source>
          <volume>538</volume>
          (
          <issue>7626</issue>
          ),
          <volume>471</volume>
          {
          <fpage>476</fpage>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Hena</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Weston</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Szlam</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bordes</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>LeCun</surname>
          </string-name>
          , Y.:
          <article-title>Tracking the world state with recurrent entity networks</article-title>
          .
          <source>arXiv preprint arXiv:1612.03969</source>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9. Hermann,
          <string-name>
            <given-names>K.M.</given-names>
            ,
            <surname>Kocisky</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            ,
            <surname>Grefenstette</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            ,
            <surname>Espeholt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            ,
            <surname>Kay</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            ,
            <surname>Suleyman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Blunsom</surname>
          </string-name>
          ,
          <string-name>
            <surname>P.</surname>
          </string-name>
          :
          <article-title>Teaching machines to read and comprehend</article-title>
          .
          <source>In: Advances in Neural Information Processing Systems</source>
          . pp.
          <volume>1693</volume>
          {
          <issue>1701</issue>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Hill</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bordes</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chopra</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Weston</surname>
            ,
            <given-names>J.:</given-names>
          </string-name>
          <article-title>The goldilocks principle: Reading children's books with explicit memory representations</article-title>
          .
          <source>arXiv preprint arXiv:1511.02301</source>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Kadlec</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schmid</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bajgar</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kleindienst</surname>
          </string-name>
          , J.:
          <article-title>Text understanding with the attention sum reader network</article-title>
          .
          <source>arXiv preprint arXiv:1603.01547</source>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Kingma</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ba</surname>
          </string-name>
          , J.:
          <article-title>Adam: A method for stochastic optimization</article-title>
          .
          <source>arXiv preprint arXiv:1412.6980</source>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Kobayashi</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tian</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Okazaki</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Inui</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>Dynamic entity representation with max-pooling improves machine reading</article-title>
          .
          <source>In: Proceedings of NAACL-HLT</source>
          . pp.
          <volume>850</volume>
          {
          <issue>855</issue>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Kumar</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Irsoy</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Su</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bradbury</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>English</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pierce</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ondruska</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gulrajani</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Socher</surname>
          </string-name>
          , R.:
          <article-title>Ask me anything: Dynamic memory networks for natural language processing</article-title>
          .
          <source>CoRR, abs/1506</source>
          .07285 (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>LeCun</surname>
          </string-name>
          , Y.,
          <string-name>
            <surname>Bengio</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hinton</surname>
          </string-name>
          , G.:
          <article-title>Deep learning</article-title>
          .
          <source>Nature</source>
          <volume>521</volume>
          (
          <issue>7553</issue>
          ),
          <volume>436</volume>
          {
          <fpage>444</fpage>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Onishi</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bansal</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gimpel</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>McAllester</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Who did what: A large-scale person-centered cloze dataset</article-title>
          .
          <source>arXiv preprint arXiv:1608.05457</source>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <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: Empirical Methods in Natural Language Processing (EMNLP)</source>
          . pp.
          <volume>1532</volume>
          {
          <issue>1543</issue>
          (
          <year>2014</year>
          ), http://www.aclweb.org/anthology/D14-1162
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Rajpurkar</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          , Zhang, J.,
          <string-name>
            <surname>Lopyrev</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Liang</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          : Squad:
          <volume>100</volume>
          ,000+
          <article-title>questions for machine comprehension of text</article-title>
          .
          <source>arXiv preprint arXiv:1606.05250</source>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Richardson</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Burges</surname>
            ,
            <given-names>C.J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Renshaw</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          :
          <string-name>
            <surname>Mctest</surname>
          </string-name>
          :
          <article-title>A challenge dataset for the open-domain machine comprehension of text</article-title>
          .
          <source>In: EMNLP</source>
          . vol.
          <volume>3</volume>
          , p.
          <volume>4</volume>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Sukhbaatar</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Weston</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fergus</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          , et al.:
          <article-title>End-to-end memory networks</article-title>
          .
          <source>In: Advances in neural information processing systems</source>
          . pp.
          <volume>2440</volume>
          {
          <issue>2448</issue>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Trischler</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ye</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yuan</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Suleman</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>Natural language comprehension with the epireader</article-title>
          .
          <source>arXiv preprint arXiv:1606.02270</source>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <surname>Vinyals</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fortunato</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jaitly</surname>
          </string-name>
          , N.:
          <article-title>Pointer networks</article-title>
          .
          <source>In: Advances in Neural Information Processing Systems</source>
          . pp.
          <volume>2692</volume>
          {
          <issue>2700</issue>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23.
          <string-name>
            <surname>Weston</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bordes</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chopra</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rush</surname>
            ,
            <given-names>A.M.</given-names>
          </string-name>
          , van Merrienboer,
          <string-name>
            <given-names>B.</given-names>
            ,
            <surname>Joulin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Mikolov</surname>
          </string-name>
          ,
          <string-name>
            <surname>T.</surname>
          </string-name>
          :
          <article-title>Towards ai-complete question answering: A set of prerequisite toy tasks</article-title>
          .
          <source>arXiv preprint arXiv:1502.05698</source>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24.
          <string-name>
            <surname>Weston</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chopra</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bordes</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Memory networks</article-title>
          .
          <source>arXiv preprint arXiv:1410.3916</source>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          25.
          <string-name>
            <surname>Xiong</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Merity</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Socher</surname>
          </string-name>
          , R.:
          <article-title>Dynamic memory networks for visual and textual question answering</article-title>
          .
          <source>arXiv 1603</source>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>