Elamur Research

Dynamic Fusion Networks for Machine Reading Comprehension

Paper · 2017 · Yichong Xu, Jingjing Liu, Jianfeng Gao et al.

Summary

A missing phrase and a question about an author’s intention can appear beside the same passage on a reading exam. In the first case, putting an answer choice into the unfinished sentence can give the reader a useful statement to check. In the second, the reader may need to consider what the question is asking, how each answer expresses a different interpretation, and which details in the passage support it. Dynamic Fusion Networks asks whether a system for question answering should be able to change its reading procedure from one question to the next. The authors test that idea on RACE, a collection of English exam questions written for students in China. The task is to choose among the answers supplied with each question.

The Dynamic Fusion Network, or DFN, adapts at two points. It first chooses how to compare the question and its options with the passage. It can match the question and a candidate as a single sequence, concentrate passage matching on the candidate, or match the question and candidate to the passage separately and then compare those results. These operations are forms of attention, the paper’s term for building a representation of one piece of text using information from another. After that initial comparison, the system reads from a question-aware representation of the passage. It updates its assessment of each candidate and decides whether to read again or produce scores. The resulting number of reasoning steps can vary across questions.

The choices are learned through reinforcement learning. During training, selecting the correct option earns a reward, and that outcome supplies feedback about which attention branch and stopping decision led to it. There are no target labels identifying the right branch or the right reading depth. The authors report the best RACE accuracy available in their comparison at the time. The improvements over the two baselines named in the results discussion are larger on the middle-school test set than on the high-school set.

When the authors remove either dynamic fusion or the repeated reading module, the complete system still has the higher reported accuracy. Only the comparison with the variant that omits both reaches the paper’s significance threshold. The routing analysis also finds patterns that accord with the design. Fill-in-the-blank wording is associated with matching the question and answer jointly, while exception questions often take the answer-focused branch and read to the step limit. More elaborate matching can itself be followed by a short read. Together, these findings show how a reader can vary the work it does before and during answer scoring, with evidence for the complete design on this particular exam task.

Deep dive: Dynamic Fusion Networks for Machine Reading Comprehension

Dynamic Fusion Networks adapt how they connect passages, questions and answers and how long they read before choosing an answer on the RACE benchmark. · about 37 minutes to read

The problem and its context

What the answer format makes possible

Machine reading comprehension gives a system a passage and asks it to answer a question about that passage. The introductory discussion includes both generating an answer and selecting one from a candidate list. Those formats give the reader different information. When choices are supplied, the system can use their wording during reading. An option can identify a possible cause, offer a summary, or state a conclusion whose support is in dispute. A reader can check each of those possibilities against the same passage and question before deciding which is best.

The DFN experiments use this multiple-choice format throughout. A question can leave an unfinished clause for each candidate to complete. Another can present a complete question and ask the reader to evaluate several fully formed claims. In the first situation, matching isolated answer words can omit the part of the claim supplied by the question. In the second, a long answer contains enough of a claim to serve as the main unit of comparison with the passage. Both tasks produce the same kind of output, an option index, while giving the answer text different roles in arriving at that output.

The paper’s examples also motivate a distinction between what the answer looks like and what the reader must infer. A short candidate can complete a sentence whose reference has to be resolved elsewhere. A complete sentence can express an implication the passage never states in those words. A question can also ask for a summary that depends on choosing which details matter across the text. The authors use these differences to motivate separate decisions about how to combine the texts and how long to work with the resulting representations.

What earlier benchmarks emphasized

The paper traces the growth of end-to-end reading systems to large datasets such as CNN/Daily Mail and SQuAD. In the paper’s description of CNN/Daily Mail, the source texts are news articles, and the target answer is an entity from the passage. In SQuAD, questions concern Wikipedia articles, and the answer occupies an identifiable span in the text. Those constraints make locating text central to each task. A choice on RACE can express a claim using wording that never appears in the passage, even when the information needed to evaluate the claim is present. Teaching Machines to Read and Comprehend · SQuAD

The authors also point to variation in how benchmarks are assembled. They describe MS MARCO as drawing on search queries and clicked results, which brings in a wider range of topics than the sources they describe for the news and Wikipedia benchmarks. They mention NewsQA as another example of a different collection procedure. RACE changes the source of the questions themselves. Its questions come from exams written to test the reading skills of people. A collection built this way contains examples where the writer expects the reader to summarize, deduce, or infer something from the passage. MS MARCO · NewsQA

The authors suggest that optimizing for a benchmark with a consistent answer format could encourage systems to reuse the same attention and reading procedure. They use TriviaQA in their introduction to illustrate the broader problem of transferring a strong reader between benchmarks. A change in benchmark can also change the passages, questions and evidence available to the reader. The comparison motivates looking at how readers handle varied inputs. The DFN experiment itself addresses variation within RACE. TriviaQA

What earlier readers allowed to vary

The paper describes a common division of labor in neural reading systems. An encoding stage turns the texts into sequences of vectors, where a vector holds a collection of numerical features. Attention then lets the representation of a text depend on another text. A subsequent answer procedure works with those representations to reach a prediction. In the paper’s terminology, fusion is the updating or combining done through attention. The distinction between that stage and answer computation makes it possible to ask where an input-dependent decision should occur.

The authors use BiDAF to explain how attention can pass information in both directions between passage and question. Similarities influence which vectors are emphasized, so two questions about one passage can produce different attention results even with the same prescribed operation. They also draw on BiMPM, which compares texts through several learned perspectives. Each perspective emphasizes a different set of features when measuring similarity. These earlier examples help distinguish varying the output of an attention operation from varying the operation itself. DFN learns to choose among arrangements of the comparisons, and the selected arrangement still uses multiple perspectives internally. Bidirectional Attention Flow · Bilateral Multi-Perspective Matching

The answer procedure has a separate history in the paper’s account. Some systems produce an answer in a single reasoning step. Others repeat an update for a fixed number of steps. The authors place Dynamic Coattention Networks in the fixed-step category even though it uses iterative computation and includes mechanisms to handle varied question and passage inputs. ReasoNet lets the reader decide when to stop, so different inputs can receive different numbers of updates. DFN adopts that stopping idea and places an additional choice before the updates begin. Dynamic Coattention Networks · Gated-Attention Readers

A further precedent comes from dynamic neural module networks. The paper describes those systems as assembling a network from components associated with operations such as finding and relating, using parsing information to help choose the composition. DFN also learns a discrete choice over available computation. Its choices apply to the relations among question, passage and candidate representations and to the duration of the ensuing recurrent computation. Individual reading steps have no assigned names such as finding or relating. Learning to Compose Neural Networks for Question Answering

The method, step by step

From exam item to answer choice

Start with a complete exam item: the passage, the question, and all the answer options. DFN encodes those texts, then uses the question to select an attention strategy. The selected branch is applied separately to each option, giving each one a starting state. In parallel, DFN builds a working memory of the passage conditioned on the question. Each option’s starting state determines how it first reads that memory. The updated states together inform a decision to stop or read again. At stopping time, the system turns the states into scores for the options.

How DFN processes a multiple-choice reading item

The steps in order.

How DFN processes a multiple-choice reading itemStep 1: Encode words and characters in the input texts1. Encode words and characters in the input textsStep 2: Build contextual representations for passages, questions, and options2. Build contextual representations for passages, questions, and optionsStep 3: Choose an attention strategy from the question3. Choose an attention strategy from the questionStep 4: Form a starting state for each option4. Form a starting state for each optionStep 5: Build question-aware passage memory5. Build question-aware passage memoryStep 6: Read memory and update the option states6. Read memory and update the option statesStep 7: Decide whether to stop or read again7. Decide whether to stop or read againStep 8: Score the options and select an answer8. Score the options and select an answer

Two distinctions matter for following the equations. The strategy gate selects a branch once for the question. Each candidate consequently uses the same kind of comparison, while producing its own result from its own wording. The termination gate is consulted after a recurrent update and can be consulted again on the next step. The question therefore gets a shared reading depth, even though the state of each candidate and the passage locations emphasized during reading can differ.

Here, P denotes the passage, Q the question and Aⱼ the candidate at index j. The lengths of the passage and question are lₚ and l_q, and lₐʲ is the length of candidate j. The paper initially uses r for the number of candidates. The rank of the final candidate scores supplies the prediction. For RACE, there are 4 candidates and a single correct choice for each question.

Representing a word and its context

The first layer builds a lexical vector for each word. One part comes from pretrained GloVe word embeddings, which give a word type a numerical representation before the reading system is trained. If a word has no entry in the embedding vocabulary, that part of its representation is all zeros. The other part is derived from the characters in the word. Each character has a trainable embedding, and a long short-term memory network, or LSTM, reads those embeddings in order. Its final state is the character-based representation of the word. Concatenating the two parts puts their features into a single vector.

Qᵉᵐᵇ = (qᵉᵐᵇᵢ)ᵢ₌₁…l_q

Qᵉᵐᵇ is the sequence of lexical vectors for the question. qᵉᵐᵇᵢ represents the word at position i, and the index runs from 1 through the question length l_q. The passage and each candidate are represented in the same way, with one lexical vector for each word in the respective sequence. The superscript emb distinguishes this representation from the contextual representation that follows.

The character LSTM reads within a word. The configurable attention branches operate at a later level, after a contextual LSTM has read across words. This second network is bidirectional. Its forward state at a position has processed the sequence up to that position from the beginning, and its backward state has processed it from the other end. A word position can therefore carry information from both sides. The passage and question go through the same bidirectional encoder as the sequences formed by putting the question before each candidate. Prepending the question lets fragments enter the encoder with the prompt that gives them their role.

Qᶜ = BiLSTM₁(Qᵉᵐᵇ) = ((q⃗ᶜᵢ, q⃖ᶜᵢ))ᵢ₌₁…l_q

Qᶜ is the contextual question sequence and BiLSTM₁ is the shared bidirectional context encoder. Qᵉᵐᵇ is its lexical input. The arrow pointing right marks the forward context state q⃗ᶜᵢ at question position i, and the arrow pointing left marks the backward state q⃖ᶜᵢ. The states are paired at each position through the question length l_q.

Pᶜ = BiLSTM₁(Pᵉᵐᵇ) = ((p⃗ᶜᵢ, p⃖ᶜᵢ))ᵢ₌₁…lₚ

Pᶜ is the contextual passage sequence. Pᵉᵐᵇ is the sequence of passage word vectors from lexical encoding, and BiLSTM₁ is the same encoder used for the question. p⃗ᶜᵢ and p⃖ᶜᵢ are the forward and backward passage states at position i. The passage has length lₚ.

(Q + A)ᶜⱼ = BiLSTM₁(Qᵉᵐᵇ + Aᵉᵐᵇⱼ)

(Q + A)ᶜⱼ is the context sequence for the question followed by candidate j. Aᵉᵐᵇⱼ is that candidate’s lexical sequence, Qᵉᵐᵇ is the question’s, and + means sequence concatenation. BiLSTM₁ produces paired directional states at the positions of the concatenation. The operation and the later split specify a sequence of length l_q + lₐʲ, where lₐʲ is the candidate length. The upper bound in the context-encoding display uses the passage length in place of l_q. The description of prepending the question and splitting off its positions establishes which length is meant.

The question thus appears in two forms. DFN has a question encoded by itself, which supplies the strategy gate and contributes to the passage memory. It also has a separate sequence in which the question’s contextual states can depend on the particular candidate that follows it. That distinction matters when Integral Attention splits its output into question and answer portions. A question portion recovered from a joint sequence can reflect the candidate, even though the separately encoded question is the same for every option.

Selecting a way to combine the texts

The strategy gate reads a compact representation of the standalone question. It uses the forward state at the end of the question and the backward state at its beginning. Each has traversed the question in its own direction. A trainable projection and a softmax turn these states into a distribution over branches. The softmax converts the raw scores into probabilities whose total is one.

fᴳ(Qᶜ) = softmax(W₁[q⃗ᶜ_l_q ; q⃖ᶜ₁])

fᴳ is the strategy gate’s probability function, with G denoting the branch choice. Qᶜ is the contextual question sequence. q⃗ᶜ_l_q is the forward state at the final question position l_q, and q⃖ᶜ₁ is the backward state at the first position. Square brackets and ; indicate concatenation in this formula. W₁ is the trainable projection, and softmax normalizes its branch scores.

G ∼ Categorical(fᴳ(Qᶜ))

G is the sampled strategy index and ∼ means “is drawn from.” Categorical describes a draw that yields one of the available branch indices with the probabilities supplied by fᴳ(Qᶜ). There are n possible strategies, with n = 3 in the RACE experiment. Qᶜ again denotes the contextual question. The gate has access to the question representation, while the selected branch receives the texts it needs to compare.

sⱼ = Attention_G(Qᶜ, Pᶜ, (Q + A)ᶜⱼ)

sⱼ is the fixed-size output for candidate j, and later becomes that candidate’s initial reasoning state. Attention_G is the branch selected by G. Its arguments are the standalone question sequence Qᶜ, the passage sequence Pᶜ, and the contextual sequence (Q + A)ᶜⱼ formed from the question and the candidate. Each branch specifies which parts of those representations it uses directly and which resulting sequences it aggregates.

The first branch, Integral Attention, keeps the contextualized question and candidate together when matching them to the passage. Consider a prompt that leaves a phrase unfinished. The preceding words indicate what role the phrase should play. Matching the completed sequence gives the branch access to that connection as it checks the content against the passage. After matching, DFN separates the question positions from the candidate positions so the subsequent aggregation receives the same kinds of inputs as it does from the other branches.

(Qⱼⁱⁿᵗ, Aⱼⁱⁿᵗ) ← Split((Q + A)ᶜⱼ ▷ Pᶜ)

Qⱼⁱⁿᵗ and Aⱼⁱⁿᵗ are the two output sequences of Integral Attention for candidate j. ▷ denotes the paper’s one-sided matching operation. In X ▷ X′, the output is indexed by positions in X, each matched against the other sequence X′. Here X is (Q + A)ᶜⱼ, the joint context sequence, and X′ is the contextual passage Pᶜ. The arrow ← assigns the result. Split puts the first l_q matching outputs in the question sequence and the remaining lₐʲ in the answer sequence.

The second branch, Answer-only Attention, treats candidate words as the positions to match against the passage. A candidate that is already a full statement is the motivating case. The question is still carried forward as a separate representation. In addition, the question is used in constructing passage memory and in selecting the branch. The name describes which sequence receives direct passage matching within this branch.

Mₐ ← Aᶜⱼ ▷ Pᶜ

Mₐ is the sequence of passage-matched candidate positions. Aᶜⱼ denotes the contextual candidate positions used for item j, and Pᶜ denotes the contextual passage. ▷ matches each position of the candidate against the passage, and ← assigns the result to Mₐ. The context encoder describes the question-prefixed answer sequence. This branch’s notation singles out its answer positions.

(Qⱼᵃˢᵒ, Aⱼᵃˢᵒ) ← (Qᶜ, Mₐ)

Qⱼᵃˢᵒ and Aⱼᵃˢᵒ are the question-side and answer-side inputs to aggregation in Answer-only Attention, indicated by the superscript aso. j identifies the candidate. Qᶜ is the contextual question as encoded on its own, and Mₐ is the result of matching the candidate positions to the passage. ← assigns these two inputs as a pair.

The third branch, Entangled Attention, compares the question and the candidate with the passage before relating the resulting representations to one another. A question about an unstated cause illustrates the purpose of the extra comparison. A reader needs to connect the situation described by the question with the suggested cause, using the passage as evidence for both. The branch builds passage-conditioned sequences first and then lets each of those sequences draw on the other.

M_q ← Qᶜ ▷ Pᶜ

M_q is the passage-matched question sequence, Qᶜ is the contextual question, and Pᶜ is the contextual passage. ▷ makes a comparison for each question position using passage information, and ← assigns the resulting sequence. The passage-matched candidate sequence is Mₐ, computed with the same operation and weights as in Answer-only Attention.

(Qⱼᵉⁿᵗ, Aⱼᵉⁿᵗ) ← (M_q ▷ Mₐ, Mₐ ▷ M_q)

Qⱼᵉⁿᵗ and Aⱼᵉⁿᵗ are the two Entangled Attention sequences for candidate j. M_q contains the passage-matched question positions and Mₐ the passage-matched candidate positions. The first ▷ comparison keeps question positions and uses the candidate-side sequence as its reference. The second keeps candidate positions and uses the question-side sequence as its reference. ← assigns both sequences to the outputs of the branch.

Each branch ultimately has to provide a vector of the size expected by the recurrent reader. A further bidirectional LSTM aggregates the two sequences. DFN uses branch-specific aggregation weights and takes information from the terminal states in the two directions. The branch can thus begin with position-by-position matching while handing the next stage a fixed-size summary for each option.

sⱼ = FinalState(BiLSTMˣ(Qⱼˣ), BiLSTMˣ(Aⱼˣ)),  (G, x) ∈ {(1, int), (2, aso), (3, ent)}

sⱼ is the result for candidate j. x is the name of the chosen branch, G its numerical index, and ∈ means the pair belongs to the displayed set. The branch names int, aso and ent stand for Integral, Answer-only and Entangled Attention. Qⱼˣ and Aⱼˣ are its question-side and answer-side sequences. BiLSTMˣ aggregates each sequence with the branch’s encoder, and FinalState extracts the endpoint states used for the fixed-size output.

The comparisons inside an attention branch

The branches specify the inputs and directions of matching. Underneath them is the same general kind of comparison, adapted from the single-direction version of BiMPM. The operator keeps a sequence of outputs for the text whose positions are being examined. For each such position, it asks several questions about the reference text. How close is this position to a summary at the end of a directional encoding? Which position in the reference text provides the strongest match? What does the comparison look like against a reference vector assembled from several positions? Those questions give the branch richer features than a single similarity score would provide.

The common building block measures cosine similarity after rescaling the coordinates of both vectors. Cosine similarity compares vector directions. Rescaling the coordinates before computing it changes which features have the most influence. A weight matrix supplies several sets of scaling factors, yielding a separate similarity for each perspective.

g(v₁, v₂; W) = (cos(W⁽ᵏ⁾ ⊙ v₁, W⁽ᵏ⁾ ⊙ v₂))ₖ₌₁…N

g is the multi-perspective matching function. v₁ and v₂ are the vectors being compared, each with dimension d. W is a trainable matrix with N rows and d columns. W⁽ᵏ⁾ denotes its row for perspective k, ⊙ is coordinate-wise multiplication, and cos is cosine similarity. The output preserves a value for every perspective from 1 through N. The experiment uses N = 10 perspectives.

For the matching operations below, X is the sequence whose positions are preserved, while X′ is the sequence those positions are compared with. Their lengths are lₓ and lₓ′. The vector at position i in X is xᵢ, and the vector at position j in X′ is x′ⱼ. Both sequences carry forward and backward activations. The four matching operations run in both directions of the encoding, with the forward features distinct from the backward features. These directions describe how the underlying sequence was encoded. The direction of ▷ describes which text supplies the output positions.

Full matching compares each X position with an endpoint state from X′. The forward endpoint is at the end of the reference sequence. The backward endpoint is at its beginning. Both summarize the reference after a directional pass.

(u⃗⁽ᶠᵘˡˡ⁾ᵢ, u⃖⁽ᶠᵘˡˡ⁾ᵢ) = (g(x⃗ᵢ, x⃗′_lₓ′; Wₒ₁), g(x⃖ᵢ, x⃖′₁; Wₒ₂))

u⃗⁽ᶠᵘˡˡ⁾ᵢ and u⃖⁽ᶠᵘˡˡ⁾ᵢ are the forward and backward full-matching features for position i of X. x⃗ᵢ and x⃖ᵢ are its directional activations. x⃗′_lₓ′ is the final forward activation of X′, and x⃖′₁ is the backward activation at its first position. g computes the similarities across perspectives. Wₒ₁ and Wₒ₂ are the learned weights for the two encodings in this operation. The prime on the forward endpoint indicates the reference sequence, consistent with the full-matching description and the backward equation.

Maxpooling matching looks for strong local comparisons instead of using a single endpoint. It computes multi-perspective similarities against the reference positions and takes a maximum separately for every perspective. This permits the best value under one perspective to come from a different position than the best value under another.

(u⃗⁽ᵐᵃˣ⁾ᵢ, u⃖⁽ᵐᵃˣ⁾ᵢ) = (maxⱼ₌₁…lₓ′ g(x⃗ᵢ, x⃗′ⱼ; Wₒ₃), maxⱼ₌₁…lₓ′ g(x⃖ᵢ, x⃖′ⱼ; Wₒ₄))

u⃗⁽ᵐᵃˣ⁾ᵢ and u⃖⁽ᵐᵃˣ⁾ᵢ are the forward and backward maxpooling features. x⃗ᵢ and x⃖ᵢ are the states at the position being matched, and x⃗′ⱼ and x⃖′ⱼ are the reference states at position j. g is the multi-perspective comparison with learned weights Wₒ₃ or Wₒ₄. Each max operates coordinate by coordinate. The displayed equations in the paper bound the maximum by lₓ while indexing X′. The reference length lₓ′ expresses a comparison across the positions in X′.

Attentive matching constructs a reference specific to the current position. It first uses ordinary cosine similarities to give each reference position a weight. It then combines the reference vectors according to those weights and compares the resulting vector with the original position through the multi-perspective function. The reference for one word can therefore emphasize different parts of X′ than the reference for the next word.

(α⃗ᵢⱼ, α⃖ᵢⱼ) = (cos(x⃗ᵢ, x⃗′ⱼ), cos(x⃖ᵢ, x⃖′ⱼ))

α⃗ᵢⱼ and α⃖ᵢⱼ are the forward and backward cosine weights for the pair of positions i and j. x⃗ᵢ and x⃖ᵢ come from X, while x⃗′ⱼ and x⃖′ⱼ come from X′. cos compares the two vectors in the indicated encoding direction. The weighted-mean equations use these weights through lₓ′, the length of the reference sequence. The prose introducing the cosine weights gives N as the upper index, even though N elsewhere counts perspectives.

(x⃗⁽ᵐᵉᵃⁿ⁾ᵢ, x⃖⁽ᵐᵉᵃⁿ⁾ᵢ) = ((Σⱼ₌₁…lₓ′ α⃗ᵢⱼ x⃗′ⱼ) / (Σⱼ₌₁…lₓ′ α⃗ᵢⱼ), (Σⱼ₌₁…lₓ′ α⃖ᵢⱼ x⃖′ⱼ) / (Σⱼ₌₁…lₓ′ α⃖ᵢⱼ))

x⃗⁽ᵐᵉᵃⁿ⁾ᵢ and x⃖⁽ᵐᵉᵃⁿ⁾ᵢ are the two reference vectors assembled for position i. Σ sums over positions j through the reference length lₓ′. The numerator in each direction sums the reference states x⃗′ⱼ or x⃖′ⱼ after scaling them by their cosine weights α⃗ᵢⱼ or α⃖ᵢⱼ. The denominator is the sum of those same weights. These are cosine weights as written in the paper. The softmax over memory positions is a separate operation used later.

(u⃗⁽ᵃᵗᵗ⁾ᵢ, u⃖⁽ᵃᵗᵗ⁾ᵢ) = (g(x⃗ᵢ, x⃗⁽ᵐᵉᵃⁿ⁾ᵢ; Wₒ₅), g(x⃖ᵢ, x⃖⁽ᵐᵉᵃⁿ⁾ᵢ; Wₒ₆))

u⃗⁽ᵃᵗᵗ⁾ᵢ and u⃖⁽ᵃᵗᵗ⁾ᵢ are the output features from attentive matching. g compares the original directional state x⃗ᵢ or x⃖ᵢ with the corresponding reference vector x⃗⁽ᵐᵉᵃⁿ⁾ᵢ or x⃖⁽ᵐᵉᵃⁿ⁾ᵢ. Wₒ₅ and Wₒ₆ are the trainable perspective weights for these comparisons.

The fourth operation, max-attentive matching, uses the reference position with the highest cosine weight in each direction in place of the weighted reference vector. It then applies multi-perspective matching to that selected reference. The difference from maxpooling matters. Maxpooling finds a maximum separately for each perspective after computing all the multi-perspective comparisons. Max-attentive matching picks the reference with ordinary cosine similarity and then computes the perspective features for that reference.

DFN concatenates the features of the four operations for each direction. Holding the directions separately allows the result to serve as the input to another matching operation, as in Entangled Attention. The directions are concatenated for input to an aggregation BiLSTM. The paper describes separate learned matching weights for the different uses of ▷, with the shared candidate-to-passage comparison in Answer-only and Entangled Attention as the exception. In that case the two branches reuse the same computation before taking different subsequent routes.

Building the memory that every candidate reads

The strategy branch prepares a state for one candidate. The memory layer prepares a question-aware representation of the passage and shares it across candidates. Each passage position is matched to the question, and a bidirectional LSTM aggregates the results along the passage. This leaves a sequence that the answer module can revisit. In practical terms, the strategy branch can put a particular claim into the state, while the memory gives that state a set of passage positions to query.

M ← BiLSTM₂(Pᶜ ▷ Qᶜ)

M is the working memory, BiLSTM₂ is the memory layer’s bidirectional aggregator, Pᶜ is the contextual passage, and Qᶜ is the contextual question. ▷ returns features at the positions of its left-hand sequence, and ← assigns the aggregated sequence to M. The paper’s displayed memory formula puts Qᶜ on the left and Pᶜ on the right, and a sentence in the memory section also reverses the stated output length of ▷. The passage-first ordering shown here follows the description of matching every passage word to the question, the detailed definition of the operator indexed by left-hand positions, and the use of passage length in the subsequent scoring equations.

The distinction between a fixed-size candidate state and a positional memory makes rereading meaningful within the architecture. The candidate state can change after a read, and the next read can emphasize a different part of the same memory. Both reads use the same underlying passage representation. A change in focus comes from the new state. The state already contains candidate information from fusion, so two candidates for the same question can emphasize different memory positions on the same step.

Reading, updating and stopping

The answer scoring module uses a gated recurrent unit, or GRU, to update each candidate’s state. The GRU is a recurrent cell that takes a new input and a previous state and produces an updated state. To obtain the new input, DFN measures how closely the current candidate state matches each position in memory. Trainable projections put the memory vectors and the state into spaces suitable for that comparison. The resulting similarities are normalized across passage positions.

aᵗᵢⱼ ← softmaxᵢ₌₁…lₘ(λ cos(W₂mᵢ, W₃sⱼᵗ⁻¹))

aᵗᵢⱼ is the attention weight at step t for memory position i and candidate j. mᵢ is the vector at position i in M, and lₘ is the memory length, equal to passage length lₚ. sⱼᵗ⁻¹ is candidate j’s state before this update. W₂ and W₃ are the trainable projections of the memory vector and candidate state. cos measures their projected similarity, λ scales it, and softmax normalizes the scores over i. The authors use λ = 10. The attention display indexes the state at t, while the stated order of operations reads from the previous state and then constructs the state at t. The formula here uses that order.

fᵗₐₜₜ,ⱼ ← Σᵢ₌₁…lₘ aᵗᵢⱼ mᵢ

fᵗₐₜₜ,ⱼ is the memory read for candidate j at step t, with the candidate index made explicit. Σ adds the contributions from positions i through lₘ. Each contribution is the memory vector mᵢ scaled by its attention weight aᵗᵢⱼ. ← assigns the resulting weighted sum. The read can combine information from multiple positions in the same step, a point that matters when interpreting the reported reading depths.

sⱼ⁰ ← sⱼ,  sⱼᵗ ← GRU(fᵗₐₜₜ,ⱼ, sⱼᵗ⁻¹)

sⱼ⁰ is the state for candidate j before recurrent reading, initialized to the fusion output sⱼ. At each step t, GRU uses the current memory read fᵗₐₜₜ,ⱼ and the previous state sⱼᵗ⁻¹ to construct sⱼᵗ. The assignment arrows indicate initialization and the recurrent update. The new state can influence the next memory read and also contributes immediately to the stopping decision.

The termination gate looks across the candidate states at a given step. It projects all of them with the same weights, sums the projections, and uses the result to assign probabilities to stopping and continuing. With the sum, reordering the same set of states leaves the gate’s input unchanged. A single gate also limits the number of decisions made per question. The authors give the size of the action space and training variance as reasons for sharing the stop decision across candidates.

(pₜ, 1 − pₜ) ← softmax(Σⱼ₌₁…r W₆sⱼᵗ)

pₜ is the probability of stopping after step t, and 1 − pₜ is the probability of continuing. Σ adds the projected states sⱼᵗ from all candidates indexed by j, with r the number of candidates. W₆ is the trainable projection shared by every candidate. softmax turns the resulting pair of scores into the two probabilities.

Tₜ ∼ Bernoulli(pₜ)

Tₜ is the stop indicator, ∼ denotes sampling, and Bernoulli(pₜ) is a binary distribution with probability pₜ of drawing 1. A 1 ends the reading process, and a 0 indicates continuation within the step budget. The actual reading depth T is the first stopping step. The architecture bounds the reads by 𝒯ₘₐₓ, set to 5 in the experiments.

At termination, all candidates are scored from their states at the shared stopping step. The scoring transformation is applied separately to those states. A better score is the direct answer criterion, and the scores also define the categorical answer distribution used in the policy description.

cⱼ ← W₅ ReLU(W₄sⱼᵗ)

cⱼ is the score for candidate j, and sⱼᵗ is that candidate’s state at stopping step t. W₄ is a trainable projection into the hidden scoring representation. ReLU keeps positive components and maps the others to zero. W₅ maps the resulting representation to the candidate’s scalar score. ← assigns that score to cⱼ.

C ∼ Categorical(softmax(c₁, …, cᵣ))

C is the selected answer index in the sampling formulation. c₁ through cᵣ are the candidate scores, with r the number of candidates. softmax converts them to candidate probabilities, and Categorical samples an index from those probabilities as indicated by ∼. The architecture description also specifies highest-score selection for final prediction. The two descriptions give a distribution for training the answer choice and a ranking criterion for identifying the top option. The top score has the top probability under that softmax.

Learning from the answer outcome

The question writer supplies a correct answer, but the training item carries no annotation for which route to take through DFN. An Integral Attention decision can only be judged indirectly, by what follows from using it. The same applies to the stop decision. DFN treats an episode as the selection of a strategy, a stopping time and an answer. A correct answer earns a reward of 1, and any other answer earns 0. Correctness therefore supplies supervision for the answer and feedback for the choices that led to it.

The passage reader, scoring transformations and branch internals contain ordinary differentiable computations. A categorical branch draw or a binary stop draw creates a discrete choice whose outcome cannot be differentiated in the same way as a vector transformation. The training procedure uses REINFORCE to update the probabilities of these choices based on their outcomes. A route associated with a favorable reward receives a gradient signal through the log probability of the episode. The gradient formula sums over possible outcomes in the paper’s description.

J(θ) = Eπ[R]

J is the training objective and θ denotes the trainable DFN parameters. Eπ is the expectation under policy π, the distribution of episodes for the reading item. R is the correctness reward. The notation uses capital R for the reward to distinguish it from lower-case r, which denotes the number of answer candidates elsewhere in the architecture.

∇θ J(θ) = Eπ[∇θ log π(c, g, t; θ) (R − b)]

∇θ means the gradient with respect to the parameters θ. J(θ) is the expected reward, and Eπ averages over episodes under π. Lower-case c, g and t are realized values of the answer index, strategy index and stopping step. In this formula c is an index, distinct from the score cⱼ, and g is a strategy value, distinct from the multi-perspective similarity function. log π(c, g, t; θ) is the log probability of the episode. R is its reward and b is a baseline used to center the reward signal.

∇θ J(θ) = Σg,c,t π(c, g, t; θ) ∇θ log π(c, g, t; θ) (R − b)

Σg,c,t ranges over the possible strategy indices g, answer indices c and stopping steps t. π(c, g, t; θ) supplies the probability of each episode under parameters θ. ∇θ log π(c, g, t; θ) describes how the log probability changes with those parameters. J remains the expected reward, and the episode’s contribution is weighted by its probability and by its reward R relative to the baseline b.

b = Σg,c,t π(c, g, t; θ) R

b is the expected correctness reward under the episode distribution. Σg,c,t sums over strategy, answer and stopping choices, π(c, g, t; θ) is the probability of the corresponding episode, and R is the reward for its answer. The authors follow ReasoNet in using this expected reward as the baseline. In the update they report using a normalized replacement for the centered term.

R / b − 1

R is the episode reward, b is its expectation under the current policy, / denotes division, and 1 is subtracted from the quotient. This expression replaces R − b in the update. The paper attributes the choice to better performance and stability. The training objective looks at correctness, so any preference for a particular combination of branch and depth has to arise from how it affects answering under the available choices and the step limit.

Settings used for RACE

The experiments use 300-dimensional GloVe vectors from the 840B Common Crawl corpus. The pretrained word vectors remain fixed during training. Each trainable character embedding is 20-dimensional, while the LSTM that processes characters uses 50 hidden units. The other LSTMs have hidden dimension 100. A dropout rate of 0.1 is applied to each layer. Dropout perturbs the features available during training, while the shared encoders and branch-specific aggregators determine which parameters are reused across the tasks within a question. GloVe

The optimizer is Adam, with a learning rate of 0.001 and a batch size of 64. The limits for passage, question and answer length are 500, 100 and 100 respectively, and the recurrent reader can take at most 5 steps. Training usually converges within 20 epochs in the authors’ account. They also train an ensemble of 9 DFNs from random initializations. The implementation uses TensorFlow, and the paper announces that the authors intend to release the source code upon acceptance. Adam · TensorFlow

Experiments and results

The benchmark and the comparison

RACE comprises 27,933 passages and 97,867 questions drawn from English exams for 12- to 18-year-old students in China. The middle-school subset, RACE-M, contains 28,293 questions. The high-school subset, RACE-H, contains 69,574. These are subset totals across the dataset. Each question comes with 4 options, and the questions and choices were written for exams by people with expertise in assessing reading. The experiment trains on the full RACE training data and evaluates on the middle-school and high-school test sets. Thus a comparison across those test sets examines the same trained reader on different subsets.

The benchmark fits both choices made by DFN. A reader can encounter prompts calling for information stated in the passage and prompts whose answers need summarization or inference. It also encounters answer options that play different grammatical roles. Questions of both kinds enter the same training objective. The system is rewarded for the selected option, and its branch selection and reading depth are outputs of training rather than categories assigned by the exam authors.

The metric in the comparison is answer accuracy. A question counts as correct when the system selects the designated option. That lets the experiments compare systems using the same externally visible decision even when the intermediate representations and reading procedures differ. It also provides a straightforward human comparison. Accuracy reports whether the chosen option was right, whatever computation or reading process led to the choice.

The baseline results in the comparison are drawn from the RACE benchmark work and from unpublished ElimiNet results. The discussion specifically names GA and Stanford AR when reporting DFN’s gains by subset. GA is the gated-attention reader in the comparison, and Stanford AR is reported under that name. DFN is evaluated both as an individual system and in ensemble form. Those comparisons concern different configurations of the evaluation, so the reported gains for a single reader and for the ensemble are read separately.

Reported gains on the test sets

On the RACE-M test set, the paper reports an accuracy gain of 7.8% over GA and 7.3% over Stanford AR. On the RACE-H test set, it reports the corresponding gains as 1.5% and 2.7%. These are the reported increases over the named readers, in the paper’s units. Across both comparator choices, the middle-school subset shows the larger increase.

DFN accuracy gains over GA and Stanford AR on the RACE test sets

The reported gains are larger on RACE-M against both comparison systems.

DFN accuracy gains over GA and Stanford AR on the RACE test setsDFN over GA on RACE-M (this paper): 7.8DFN over GA on RACE-M (this paper)7.8DFN over Stanford AR on RACE-M: 7.3DFN over Stanford AR on RACE-M7.3DFN over GA on RACE-H: 1.5DFN over GA on RACE-H1.5DFN over Stanford AR on RACE-H: 2.7DFN over Stanford AR on RACE-H2.7
The numbers
System or settingreported accuracy gain %
DFN over GA on RACE-M (this paper)7.8
DFN over Stanford AR on RACE-M7.3
DFN over GA on RACE-H1.5
DFN over Stanford AR on RACE-H2.7

The paper also reports gains of 4-5% for the ensemble comparisons with prior methods. The authors describe the resulting RACE performance as the best reported at the time. The ensemble result and the comparison by school level establish performance at the final answer-selection task. The controlled variants address which parts of DFN account for its advantage.

Human test accuracy is reported as 85.1 on RACE-M and 69.4 on RACE-H. The authors point to the lower high-school score as an indication that the high-school material poses difficulties for human readers as well. They suggest that harder questions, along with possible ambiguity in the data, could account for the smaller system gains on that subset. The human comparison establishes the direction of the difficulty difference in the reported results. The proposed explanations for that difference remain interpretations.

The introduction’s benchmark comparison gives context for why the authors cared about variation. It reports that BiDAF’s exact-match score changes from 81.5 on SQuAD to 55.8 on TriviaQA, while the human exact-match figures are 82.3 and 79.7, respectively. Exact match in that example checks the answer text, whereas the RACE accuracy comparison checks selection of the designated choice. The introductory figures concern an earlier system across two datasets. The DFN gains concern different readers evaluated on the same multiple-choice benchmark.

What the ablations show

Removing the strategy gate or the reader

The authors compare 4 configurations of DFN. The full system selects an attention branch and then uses the recurrent answer module with its stopping gate. A variant without dynamic fusion drops the strategy gate and uses one fixed attention branch for all questions. That variant retains the recurrent answer module. It tests how the adaptive system compares with a reader whose fusion operation is chosen in advance.

A variant without multi-step reasoning scores answers directly from the output of dynamic fusion. It removes the whole recurrent answer scoring module, including its use of passage memory to update the candidate states. The final variant makes both changes. It uses fixed fusion and scores the resulting representations directly. This gives a common reference configuration against which the full architecture can be compared.

For each configuration that needed a fixed branch, the authors trained the 3 available branch choices separately and selected the best with the development set. Answer-only Attention was the winning fixed choice in both configurations. This procedure matters because the full system is compared against a fixed branch selected empirically. The test also has a clear division of labor. The development set picks the branch, and test performance measures how that choice generalizes to held-out questions. The authors relate the development-set selection to the smaller gaps observed on development than on test.

The comparison uses 3 ensembles per configuration to address variation due to training. In the reported test comparison, the full system has a 1.6% gain over the variant that removes both dynamic fusion and multi-step reasoning. Dropping dynamic fusion alone lowers the reported accuracy by 1.1%, and dropping the multi-step module alone lowers it by 1.2%. The ordering is consistent with each component contributing when the other one is present. The authors test each full-versus-variant comparison separately, with equal performance as the null hypothesis. Only the gain over the variant without both components meets the reported threshold of p<0.01.

Those comparisons support a narrower reading than a claim that each feature separately produces a statistically established benefit. They show that the complete arrangement has a reliable advantage over fixed fusion with direct scoring under the study’s test. The single-removal comparisons show numerical losses and give some indication of where the overall result comes from. They do not provide a statistical test for an interaction between the components, and the ablation of the reader combines several changes in one intervention. The evidence concerns the contribution of the scoring module as configured, including its memory reads and recurrent computation.

What the selected routes look like

The paper also examines correctly answered examples grouped by their selected attention branch. In the Integral Attention examples, the question and answer choices are fragments that form a more informative unit when joined. One example takes 3 reasoning steps. The authors suggest that resolving a reference such as “the third way” could contribute to that need. The other takes 1 step, and the completed statement closely follows material in the passage. These examples hold the kind of fusion constant while illustrating variation in how long DFN then reads.

In the Answer-only Attention examples, longer answer choices give the system claims to check against the passage. Both examples use 5 reasoning steps. The authors interpret this pattern as consistent with drawing on information spread across sentences. The observed behavior is a long recurrent read after candidate-focused matching. The analysis associates that behavior with the form of the question and choices, while individual GRU updates have no labels for the pieces of evidence being combined.

The Entangled Attention examples concern an unstated cause and an implicit count. The branch first makes passage-aware representations of both sides and then compares those representations in both directions. The authors find that most questions routed through this branch then use a single recurrent step. They suggest the extra work in fusion may already have extracted enough information. A reasoning step in the paper is one recurrent read after fusion, so the number can be small even when the earlier branch performs several rounds of matching.

The examples give a concrete view of what the policy can select. They are drawn from questions the system answered correctly. That condition makes them useful illustrations of successful routes and leaves open how frequently the same choices occur among errors. A plausible reading tactic and a correct final option can coexist without identifying which textual evidence caused the success. The larger routing analysis tests a different aspect of the policy by looking at associations across questions.

What the keyword analysis adds

For each vocabulary term, the authors examine how often the system selects each combination of attention branch and reading depth among questions containing the term. This puts the two decisions into the same distribution. A question cue can be associated with one branch and several depths, and an apparent preference can include a particular pair of settings. The paper reports examples of dominant choices from these distributions.

Pr(G, T ∣ w ∈ Q)

Pr denotes probability. G is the selected attention branch, and T is the total number of recurrent steps. w is a vocabulary item, and w ∈ Q indicates that it occurs in question Q. The conditioning bar ∣ restricts the distribution to questions with that item. The analysis counts selected branch and depth pairs within that group.

The underscore used for a blank is most strongly associated with Integral Attention. It frequently marks a place where an answer fragment can complete the prompt. Questions containing “not” or “except” tend to favor Answer-only Attention followed by 5 reasoning steps. The paper connects those terms with questions asking which of several claims fails to hold, frequently with long options. These aggregate patterns give more support to the relationship with question form than individual examples alone can provide.

The authors also explain why the blank is an imperfect hand-written rule. A question can invite a complete statement as an inference while still marking a blank where the statement goes. That case can resemble an answer-focused question in its reading demands in spite of the shared punctuation. The policy receives a representation of the question as a sequence and can learn from the surroundings of the blank. The keyword analysis measures association with routing. Establishing whether a particular cue controls the decision would require changing that cue while keeping the rest of the item comparable.

Limitations

What the authors identify

The authors present the three attention branches as examples of what can fit within the layer. Their planned extensions include a more comprehensive set of strategies, greater flexibility in composing the fusion network, and evaluation on other demanding reading tasks. The demonstrated system selects one pre-defined branch for an item and then adapts the length of recurrent reading. The joint training procedure determines which available route to use, while the branch library itself is designed in advance.

The authors recognize that the informal descriptions of the branches overlap. A marker commonly associated with a fragment completion can also appear in a prompt whose answers are full statements. They use that overlap to motivate learning strategy selection. They also suggest that greater difficulty and ambiguity may limit the gains on RACE-H. Their reported accuracy and human comparison establish a difference between the subsets, and their discussion leaves the relative roles of difficulty and ambiguity open.

There are explicit computation limits in the evaluated setup. The architecture uses finite limits on the input lengths and a maximum of 5 memory reads. The decision to continue therefore expresses a preference within a fixed budget. It cannot establish how the same policy would behave if it could continue reading for longer. Similarly, the fixed-dimensional fusion outputs are the implementation evaluated in the paper. The authors mention variable-length results as a possible extension.

What follows from the evaluation design

RACE gives DFN candidate answers in advance. Some of the most distinctive computations depend on that fact, especially those that build a separate state from each option and choose when to stop using their states together. A reader producing a free answer or extracting an unknown span would need a way to supply or replace those candidates. The paper discusses other datasets to motivate the problem, and the effectiveness of this implementation is measured on RACE. Generalization to new answer formats or collections remains open.

The strategy gate sees the standalone question encoding. It can therefore respond to its wording and to other features recoverable from that representation. It has no direct input from the passage or answer candidates at branch selection time. Two items with identical encoded questions would have the same strategy distribution at that point, even if their passages or option lengths differ. The branch outputs and the subsequent stopping decisions can still differ. This constrains the meaning of a strategy tailored to the whole item.

The ablation involving the multi-step module compares that module with direct scoring from fusion. A fixed-depth comparison that retained the same passage memory, recurrent cell and scoring transformations would be needed to isolate the value of learning when to stop. Likewise, the fixed-fusion variant compares learned routing with the best single branch chosen on development. It leaves separate questions about other ways of selecting or combining branches. The paper remarks on simpler combinations and reports small benefits from particular parameter choices, but the formal ablations target the larger architecture changes.

Correctness is the only reward specified. There is no separate reward for faithful evidence use, for choosing a branch with a particular human interpretation, or for reducing the amount of computation. An item that stops early is an instance of early stopping under that objective. Assessing a speed advantage would require accounting for the work done by its selected branch as well as its recurrent depth. Entangled Attention makes this especially clear because its additional comparisons take place before the steps counted by the stopping gate.

The attention strategy, step count and keyword distributions make the policy’s behavior observable at a coarse level. These observations show the route taken. They do not by themselves identify the facts used to choose an option or prove that a counted step corresponds to an identifiable inference. The paper’s accuracy and ablation results therefore support a claim about adaptive computation for answer selection, with a more limited account of the reasoning occurring within each route.

Finally, several implementation details require interpretation where the paper’s formulas and descriptions differ. The memory equations can be reconciled with passage-length memory by following the description of passage positions attending to the question. The recurrent equation can be read in the stated order, with the old state used to read memory and the read used to produce the new state. These choices make the computational sequence coherent. They also matter to anyone comparing implementations, since reversing attention direction or changing the state used for a memory read changes the operation being evaluated.

What came after

Reading strategies and broader evaluations

The closest later citation by subject is Improving Machine Reading Comprehension with General Reading Strategies. Its stated aim is to improve the same broad task through reading strategies. DFN uses the term for a specific operation: selecting the pattern of comparisons among passage, question and candidates before deciding how many memory updates to make. The later title places general reading strategies at the center of its own work. The citation connects these uses of the idea of a reading procedure. It does not establish that the later work adopts DFN’s strategy gate, its reinforcement-learning update, or its particular attention branches. Improving Machine Reading Comprehension with General Reading Strategies

Galactica cites DFN from a study whose stated scope is language technology for science. DFN addresses a narrower task with a passage and candidate answers available for each question. The connection established by the citation is that the exam-based reader appears in the later study’s account of prior work. A particular use of the fusion design, stopping rule, or reported RACE comparisons cannot be determined from that connection alone. Galactica

ChatGPT: Jack of all trades, master of none also cites DFN. Its title poses a question about breadth of capability, whereas DFN asks how a reader can adapt within one diverse comprehension benchmark. The relationship that can be traced here is bibliographic. The citation establishes a connection to the earlier work, with no identified transfer of the learned attention choice or recurrent termination gate. Across these later citations, the general reading-strategy paper provides the clearest continuity of subject. The others show the earlier study being cited in work with wider stated scopes. ChatGPT: Jack of all trades, master of none

 Fields, topics and concepts

Cite

Cite as Yichong Xu, Jingjing Liu, Jianfeng Gao, Yelong Shen and Xiaodong Liu. 2017. Dynamic Fusion Networks for Machine Reading Comprehension. arXiv:1711.04964.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.1711.04964 · arXiv 1711.04964

@misc{xu2017dynamic,
  title = {{Dynamic Fusion Networks for Machine Reading Comprehension}},
  author = {Yichong Xu, Jingjing Liu, Jianfeng Gao, Yelong Shen and Xiaodong Liu},
  year = {2017},
  doi = {10.48550/arxiv.1711.04964},
  eprint = {1711.04964},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1711.04964}
}

References

27 references, from the paper's own bibliography.

  1. Martín Abadi, Ashish Agarwal, Paul Barham, Eugene Brevdo, Zhifeng Chen, Craig Citro, Greg S Corrado, Andy Davis, Jeffrey Dean, Matthieu Devin, et al. 2016. Tensorflow: Large-scale machine learning on heterogeneous distributed systems. arXiv preprint arXiv:1603.04467 . our card
  2. Jacob Andreas, Marcus Rohrbach, Trevor Darrell, and Dan Klein. 2016. Learning to compose neural networks for question answering. arXiv preprint arXiv:1601.01705 . our card
  3. Danqi Chen, Jason Bolton, and Christopher D Manning. 2016. A thorough examination of the cnn/daily mail reading comprehension task. arXiv preprint arXiv:1606.02858 . our card
  4. Danqi Chen, Adam Fisch, Jason Weston, and Antoine Bordes. 2017. Reading wikipedia to answer open-domain questions. arXiv preprint arXiv:1704.00051 . our card
  5. Kyunghyun Cho, Bart Van Merriënboer, Dzmitry Bahdanau, and Yoshua Bengio. 2014. On the properties of neural machine translation: Encoder-decoder approaches. arXiv preprint arXiv:1409.1259 . our card
  6. Bhuwan Dhingra, Hanxiao Liu, Zhilin Yang, William W Cohen, and Ruslan Salakhutdinov. 2016. Gated-attention readers for text comprehension. arXiv preprint arXiv:1606.01549 . our card
  7. Karl Moritz Hermann, Tomas Kocisky, Edward Grefenstette, Lasse Espeholt, Will Kay, Mustafa Suleyman, and Phil Blunsom. 2015. Teaching machines to read and comprehend. In Advances in Neural Information Processing Systems. pages 1693–1701. our card
  8. Sepp Hochreiter and Jürgen Schmidhuber. 1997. Long short-term memory. Neural computation 9(8):1735–1780. OpenAlex ↗ · Scholar ↗
  9. Hsin-Yuan Huang, Chenguang Zhu, Yelong Shen, and Weizhu Chen. 2017. Fusionnet: Fusing via fully-aware attention with application to machine comprehension. arXiv preprint arXiv:1711.07341 . OpenAlex ↗ · Scholar ↗
  10. Mandar Joshi, Eunsol Choi, Daniel S Weld, and Luke Zettlemoyer. 2017. Triviaqa: A large scale distantly supervised challenge dataset for reading comprehension. arXiv preprint arXiv:1705.03551 . our card
  11. Diederik Kingma and Jimmy Ba. 2014. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980 . our card
  12. Guokun Lai, Qizhe Xie, Hanxiao Liu, Yiming Yang, and Eduard Hovy. 2017. Race: Large-scale reading comprehension dataset from examinations. arXiv preprint arXiv:1704.04683 . our card
  13. Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Alex Graves, Ioannis Antonoglou, Daan Wierstra, and Martin Riedmiller. 2013. Playing atari with deep reinforcement learning. arXiv preprint arXiv:1312.5602 . OpenAlex ↗ · Scholar ↗
  14. Tri Nguyen, Mir Rosenberg, Xia Song, Jianfeng Gao, Saurabh Tiwary, Rangan Majumder, and Li Deng. 2016. Ms marco: A human generated machine reading comprehension dataset. arXiv preprint arXiv:1611.09268 . our card
  15. Jeffrey Pennington, Richard Socher, and Christopher D. Manning. 2014. Glove: Global vectors for word representation (http://www.aclweb.org/anthology/D14-1162). In Empirical Methods in Natural Language Processing (EMNLP). pages 1532–1543. http://www.aclweb.org/anthology/D14-1162 (http://www.aclweb.org/anthology/D14-1162). our card
  16. Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. 2016. Squad: 100,000+ questions for machine comprehension of text. arXiv preprint arXiv:1606.05250 . our card
  17. Minjoon Seo, Aniruddha Kembhavi, Ali Farhadi, and Hannaneh Hajishirzi. 2016. Bidirectional attention flow for machine comprehension. arXiv preprint arXiv:1611.01603 . our card
  18. Yelong Shen, Po-Sen Huang, Jianfeng Gao, and Weizhu Chen. 2017. Reasonet: Learning to stop reading in machine comprehension. In Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. ACM, pages 1047–1055. OpenAlex ↗ · Scholar ↗
  19. Alessandro Sordoni, Philip Bachman, Adam Trischler, and Yoshua Bengio. 2016. Iterative alternating neural attention for machine reading. arXiv preprint arXiv:1606.02245 . OpenAlex ↗ · Scholar ↗
  20. Adam Trischler, Tong Wang, Xingdi Yuan, Justin Harris, Alessandro Sordoni, Philip Bachman, and Kaheer Suleman. 2016. Newsqa: A machine comprehension dataset. arXiv preprint arXiv:1611.09830 . our card
  21. Wenhui Wang, Nan Yang, Furu Wei, Baobao Chang, and Ming Zhou. 2017a. Gated self-matching networks for reading comprehension and question answering. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). volume 1, pages 189–198. our card
  22. Xuejian Wang, Lantao Yu, Kan Ren, Guanyu Tao, Weinan Zhang, Yong Yu, and Jun Wang. 2017b. Dynamic attention deep model for article recommendation by learning human editors' demonstration. In Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. ACM, pages 2051–2059. OpenAlex ↗ · Scholar ↗
  23. Zhiguo Wang, Wael Hamza, and Radu Florian. 2017c. Bilateral multi-perspective matching for natural language sentences. arXiv preprint arXiv:1702.03814 . our card
  24. Dirk Weissenborn, Georg Wiese, and Laura Seiffe. 2017. Making neural qa as simple as possible but not simpler. In Proceedings of the 21st Conference on Computational Natural Language Learning (CoNLL 2017). pages 271–280. our card
  25. Ronald J Williams. 1992. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine learning 8(3-4):229–256. OpenAlex ↗ · Scholar ↗
  26. Caiming Xiong, Victor Zhong, and Richard Socher. 2016. Dynamic coattention networks for question answering. arXiv preprint arXiv:1611.01604 . our card
  27. Haifeng Zhang, Jun Wang, Zhiming Zhou, Weinan Zhang, Ying Wen, Yong Yu, and Wenxin Li. 2017. Learning to design games: Strategic environments in deep reinforcement learning. arXiv preprint arXiv:1707.01310 . OpenAlex ↗ · Scholar ↗

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/xu-2017-dynamic-fusion-networks-machine-reading/