Machine Comprehension with Syntax, Frames, and Semantics
Paper · 2015 · Hai Wang, Mohit Bansal, Kevin Gimpel et al.
Summary
A story can tell you who did something without repeating that person’s name, and a question can ask about an event using words that never appear in the sentence that describes it. A system that compares only the words in a story and a question can miss both connections. Machine Comprehension with Syntax, Frames, and Semantics asks how much these connections matter in a reading test built from fictional stories. The test, MCTest, gives the system a passage, a question, and several candidate answers. The system’s job is to choose the answer supported by the story.
The authors start with two useful clues. One measures how much vocabulary a question and candidate answer share with the passage. The other measures how close shared words occur in the passage. They then add information about grammatical relationships, the kinds of events and situations described, the similarity of words, and which expressions refer to the same entity. For instance, a pronoun can connect a sentence about where someone lives to a question that names the person. The system learns how much weight to give each kind of clue. For each candidate answer it looks for the sentence that gives that answer its strongest score, then compares the candidates using those scores.
On the original MCTest test sets, the system reaches 75.27% overall accuracy on MC160 and 69.94% on MC500. Those are the highest overall results among the systems in the paper’s comparison. The gains extend to both the single-sentence and multiple-sentence categories when measured against MCTest’s original baselines. The comparison with a concurrent system is closer on MC500’s multiple-sentence questions, where that system scores 67.99% and the authors’ system scores 67.94%. Development-set ablations show that the added signals contribute, while the largest losses come from taking away the basic vocabulary and proximity clues.
The error analysis shows what remains hard even when the system has those clues. Knowing which person a pronoun refers to can help connect a name to a place. Working out what made someone change their mind can require assembling an explanation from distinct events. The system still makes mistakes on questions involving that kind of inference, along with time, counting, and comparisons. The results establish a benefit from using linguistic structure to rank answers in this setting. They leave open how much of the reasoning behind a correct answer the system has actually captured.
Deep dive: Machine Comprehension with Syntax, Frames, and Semantics
A study of how syntax, semantic frames, word similarity, and coreference help a system answer multiple-choice questions about short stories. · about 40 minutes to read
The problem and its context
Reading the story is part of the task
The paper approaches machine comprehension as a particular form of question answering. The input includes the text that is supposed to support the answer. That condition makes the task different from looking for a fact on the web or retrieving a relation from a knowledge base. A short fictional story can establish a fact about its characters in a single place. To answer a question about the fact, the reader needs to connect the question to the way the story expresses it. The benchmark also supplies candidate answers, so the reader’s response is a choice from the alternatives.
The authors situate this task alongside open-domain factoid answering. They describe systems that draw on structured resources such as Freebase and on extensive collections of ordinary text. Knowledge-base answering can use the structure of recorded relationships, as in the work on semantic parsing for Freebase question answering. The authors’ concern about web-based answering is that the same fact may be available in many forms. If one occurrence closely matches a question’s wording, fairly shallow extraction may be sufficient. A correct answer can therefore reveal relatively little about how well a system understands any particular expression of the fact.
MCTest puts the evidence in a narrower setting. Its stories were written by people and concern fictional events. The authors describe the relevant facts as usually appearing just once in a story. An outside source has little bearing on what a particular character did in the passage, and another version of the relevant sentence is unlikely to be available for comparison. A mismatch between the question’s wording and the passage’s wording matters because the passage is where the system has to resolve it.
Earlier reading tasks named by the authors include Remedia and CBC4kids, as well as the textual question-answering tasks in the QA4MRE evaluations. The paper also discusses a line of work that creates comprehension questions from synthetic accounts of actions in adventure games. The authors see value in the controlled setting of those tasks. It makes it possible to study kinds of reasoning separately, and the work prompted the development of systems for reasoning about sequences of events. They also point out that the generated text follows regular patterns. A rule system can take advantage of those patterns, which leaves a question about how it would fare when people express the same kinds of information less predictably.
Human-written stories provide a different test. A writer may introduce a character by name and later use a pronoun. A scene can be described from one participant’s perspective while a question asks about another participant. A question can use a general term where the story gives a particular instance. These are distinct sources of variation. Resolving one of them may call for information about the people in the passage, while another may call for information about the relationship between the words themselves. The paper’s approach is to make several kinds of comparison available to a single answer scorer.
From shared words to shared relationships
MCTest’s original baselines give considerable weight to surface clues. Suppose a question identifies an event and an answer names an object. A passage window containing words for both may be a good place to look. A distance clue further rewards cases in which relevant words occur near each other. These procedures can locate evidence when the story and the question use similar wording. They also establish a practical point of comparison for a system that needs more processing and more types of input.
The paper asks what happens when those simple comparisons are supplemented. Two texts can contain the same people, objects, and verbs while giving the participants different roles. A dependency analysis can expose grammatical relationships that a list of words leaves implicit. Dependency parsing represents these relationships as links between words, each with a direction and a grammatical label. A match between labeled links is more specific than the occurrence of the same words somewhere in the passage.
A related question is whether two expressions evoke the same kind of situation. A frame groups a kind of event, state, or relation with the roles that can occur in it. The paper draws on the inventory described in The Berkeley FrameNet Project. A frame can provide a common label when different expressions evoke a similar situation, and a role can identify a participant as the one acting, moving, or being affected. The authors make both label agreement and agreement in the actual phrases available to the scorer.
Words can also be related without sharing a form, and referring expressions can identify the same person without being related as vocabulary items. The paper handles those cases separately. The first is a matter of semantic similarity. Comparing word vectors gives the scorer a graded signal about related wording. The second is a matter of coreference resolution. It connects mentions according to whom or what they refer to in the particular passage. A name and a pronoun may be coreferential in a story even though their relationship depends entirely on that context.
The authors also draw on earlier work that relates the syntax of a question to the syntax of an answer-bearing sentence. A question often puts an interrogative word in a position that differs from the position of the information requested. Accordingly, comparing the question as written directly with a statement can obscure the relationship. Earlier approaches used resources such as grammatical transformations or tree edits to capture relationships of this kind. The paper adopts hand-written transformations as a practical way to make a question and its proposed answer resemble a proposition that can be compared with the passage. Its antecedents include Tree Edit Methods for Entailment and Question Answering and the Jeopardy quasi-synchronous grammar approach.
These strands lead to an experimental question about the answer decision as a whole. Each added analysis gives the scorer a different way to decide whether the words in a sentence support a proposed answer. The baseline comparisons remain available throughout. The authors can therefore ask whether the analyses add useful evidence after the scorer already has access to overlap and proximity, and which kinds of evidence matter when the system has to choose among plausible alternatives.
The method, step by step
Turn each answer into a search for evidence
The system scores candidates in relation to the story. To see the basic sequence, imagine a question about where a character lives. Each candidate location is considered with the question. One sentence in the passage may discuss the character, another may name a place, and another may connect the character to the place. The system compares each candidate with the passage sentences and keeps the strongest score it finds for that candidate. A different answer can receive its strongest support from a different sentence.
The useful sentence is a latent variable. The training material specifies the correct answer, and the scorer chooses which sentence it treats as evidence. This distinction matters even for a question with an obvious supporting sentence to a person reading the passage. The training objective rewards the scorer for preferring the correct option. Its choice of sentence follows from the scores it learns. The feature vector can depend on the passage as a whole, as well as on the particular sentence selected for comparison.
How the system ranks a question’s candidate answers
The steps in order.
Several comparisons run in parallel within this sequence. The frame features use the question and candidate answer separately. The embedding features for vocabulary similarity use their concatenation. The dependency features use the statement produced by inserting the answer into the question. Coreference adds variants of features by using information gathered over the passage. Treating all these comparisons as a single rewritten text would miss an important detail of the system. Each feature family gets an input suited to the evidence it is designed to measure.
Score an answer and its best sentence
The prediction rule can be written as follows.
â = arg maxₐ ∈ A maxw ∈ W θᵀ f(P, w, q, a)
Here â is the selected answer, and A is the set of alternatives for the question. An element a of A is an individual candidate. P denotes the passage and q the question. W contains the passage sentences, and w is the sentence currently under consideration. The function f returns a vector of feature values for those inputs. The weight vector θ has a coefficient for each feature, and θᵀ f is their dot product, the sum of the feature values multiplied by their corresponding weights. The inner max gives a candidate the score of its best sentence. The outer arg max returns the candidate with the highest such score.
The weighted sum allows the same event to produce evidence at different levels. A sentence might score well because it shares rare or informative vocabulary with the question and answer, because it makes the same grammatical connection, or because a pronoun resolves to the right person. Several such clues can reinforce each other. The system learns their relative contributions from answer choices. The method places no requirement on a candidate to have every kind of match.
The maximum also determines how results across sentences are combined. A brief passage with several weakly relevant sentences gives a candidate the best of those individual comparisons. It gives no separate reward for having accumulated several of them. Passage-wide information can still influence the features for a sentence. Coreference is the clearest instance: an earlier mention can help determine the interpretation of an expression in a later sentence.
Start with vocabulary and proximity
The basic overlap feature, B, adapts MCTest’s sliding-window baseline. It represents the question and proposed answer as a bag of words and compares that bag with words in a passage window. A bag keeps track of the words available for comparison, including repeated occurrences, while abstracting away from their order. The score uses weighted word overlap. Moving the window lets the comparison inspect different parts of the passage for concentrations of relevant vocabulary.
The distance feature, D, offers a related clue. From the passage, it selects the nearest relevant occurrences of words that also appear in both the question and the candidate answer. A question and an option can share several words with a passage even when the passage discusses them in separate places. Proximity gives the scorer a way to favor evidence in which the relevant words occur near one another. The authors refer back to the MCTest baselines for the particulars of these features and give the general principles rather than a full account of their computation.
The two features capture different aspects of a surface match. Overlap asks how much word evidence is available in a region. Distance asks how tightly local the relevant occurrences are. Neither carries a label identifying who performed an action or whether a shared noun is the object being asked about. The structured features supply comparisons that can register those distinctions, while B and D keep contributing evidence when a simple match is enough.
Compare frames, targets, and arguments
A frame-semantic analysis begins by identifying expressions that evoke frames. Such an expression is called a target. The parser assigns a frame to each target, then identifies phrases that fill roles associated with that frame. A target can be a word or a phrase. An argument phrase is a span of text that the parser assigns a role, such as the participant that causes something to move or the entity that moves. For these analyses the authors use SEMAFOR, described in Frame-Semantic Parsing.
The paper illustrates the distinction with a parse containing three targets. The verb pulled evokes a caused-motion frame. The word all evokes a quantity frame, while shelves evokes a frame for natural features. The example helps distinguish the target, which is visible in the sentence, from the parser’s interpretation of it, which is a label. It also shows that a frame parser marks more than main verbs. The quantity expression and the noun can contribute frame information independently of the verb. Whether the resulting labels agree with those of another sentence becomes input to the answer scorer.
Each parse is represented by the following tuple.
⟨T, F, R, L⟩
T is the bag of targets, and F is the bag of frame labels assigned to them. R holds the argument phrases and L the argument-role labels. The angle brackets group these components into the representation of a parse. The bags can include repeated items. Each target has a corresponding frame label, and each argument phrase has a corresponding role label. In the comparisons below, subscripts 1 and 2 on the bags identify the two texts being compared. A superscript on an individual label identifies which of those texts supplied the label.
The first feature counts cross-text pairs that carry the same frame label.
f₁ = |{⟨s, t⟩ : s ∈ F₁, t ∈ F₂, s = t}|
f₁ is the frame-label match count. F₁ and F₂ are the frame-label bags for the first and second texts. s and t denote entries in those bags, ∈ means membership, and s = t requires label equality. The braces describe the collection of matching pairs after the colon states its conditions. Each pair has one entry from each text, and the vertical bars count the pairs.
The next feature checks whether the parser assigned the same role labels.
f₂ = |{⟨s, t⟩ : s ∈ L₁, t ∈ L₂, s = t}|
f₂ counts argument-role label matches. L₁ and L₂ are the bags of role labels for the two texts. The entries s and t here are role labels, and the equality condition requires the labels to agree. The braces and vertical bars again specify the matching pairs and their count. The words filling a role can differ while still contributing to this feature.
The next comparison concerns the targets themselves.
f₃ = |{⟨s, t⟩ : s ∈ T₁, t ∈ T₂, s = t}|
f₃ is the target match count. T₁ and T₂ are the target bags for the two texts, and s and t are target words or phrases. Membership selects target occurrences from each text. The equality condition compares their wording, and the vertical bars count the resulting pairs. A target’s frame label plays no part in this comparison.
The corresponding argument feature compares the text assigned to roles.
f₄ = |{⟨s, t⟩ : s ∈ R₁, t ∈ R₂, s = t}|
f₄ counts argument-phrase matches. R₁ and R₂ are the argument bags, and s and t are phrases taken from those bags. A pair enters the collection when the phrases agree. The braces delimit that collection, and the vertical bars give its size. Agreement on the assigned roles is unnecessary for membership in this collection.
The authors then require the wording and its frame annotation to agree for the same target pair.
f₅ = |{⟨s, t⟩ : s ∈ T₁, t ∈ T₂, s = t, Fₛ¹ = Fₜ²}|
f₅ counts targets with matching wording and matching frame assignments. s and t come from the target bags T₁ and T₂. Fₛ¹ is the frame assigned to s in the first parse, and Fₜ² is the frame assigned to t in the second. The first equality compares the expressions, while the second compares their labels. The vertical bars count pairs satisfying both conditions.
The final comparison applies the same kind of joint test to arguments.
f₆ = |{⟨s, t⟩ : s ∈ R₁, t ∈ R₂, s = t, Lₛ¹ = Lₜ²}|
f₆ counts argument pairs that agree in phrase and role. s and t are taken from R₁ and R₂. Lₛ¹ and Lₜ² are their assigned argument-role labels in the first and second parses, respectively. Phrase equality and label equality are separate requirements. The vertical bars give the number of pairs that meet them.
These counts let the scorer distinguish several ways in which two pieces of text resemble each other. A shared frame can be useful with different target wording. A shared target can be useful even when the parser chooses different frames. Agreeing on both gives a more specific match. The argument comparisons offer the same progression for participant phrases and their labels. Because these are counts over pairs of pieces of a parse, they can be used even when only some of the annotations line up.
The system computes the six features for the passage sentence against the question and computes them again for the passage sentence against the candidate answer. These two sides of the comparison serve different purposes. The question contains much of the context that identifies the event or relation being asked about. The answer can supply the missing participant or detail. As separate features, agreement with the question and agreement with the answer can receive separate weights.
Use the candidate to fill the question’s missing position
For the syntactic comparisons, the authors try to turn the question into a statement containing the candidate answer. The goal is to make the dependencies in the proposed statement comparable with those in a passage sentence. Consider a question about what James removed. In the paper’s example, the interrogative word is parsed as the direct object of pull. When pudding is the candidate, the illustrated transformation drops the auxiliary and places the candidate in the object position. The result is a rough statement suitable for dependency comparison. Its usefulness lies in making the proposed object relationship visible.
The rules consult a Stanford dependency parse and part-of-speech tags. A tag identifies the grammatical class or form of a word. The paper writes c for the interrogative word, r for the root of the question’s dependency tree, and a for the candidate. It uses u for a word linked to a head and v for that head. POS(u) denotes the tag of u, and arc(u, v) denotes the label on the dependency from child u to head v. The parser used in the experiments is the Stanford neural dependency parser.
Several rules are stated as combinations of an interrogative word, a root tag, and a dependency label. The tags VB, NN, VBD, and VBZ identify a base-form verb, a noun, a past-tense verb, and the present-tense verb form used with a third-person singular subject, respectively. The paper uses the dependency labels dobj for a direct object, nsubj for a nominal subject, and advmod for an adverbial modifier. An interrogative what attached as subject to a noun root is replaced with the answer. Subject uses of who receive the same replacement for the listed noun and verb roots.
The location rules address questions in which where modifies a verb. In the base-form verb case, the rule removes the interrogative and its following word. If the root has a direct object, it inserts the location after the object. The stated fallback inserts the answer after the root and deletes the root. A separate rule handles a root of is. It removes where, moves the verb to follow its subject, and places the candidate location after the verb. These transformations use the structure of the question to decide where a proposed location belongs.
The wording for direct-object what calls for removing the interrogative and following word and placing the candidate after the subject. The worked James example places the candidate after the verb. Both descriptions illustrate filling an object slot for comparison, but they give different surface insertion positions. For the example itself the relevant dependency is explicit: pudding becomes the dependent of pull with the direct-object label. The paper also gives shorter patterns for questions beginning with why, how many, how much, and when. The why pattern turns the candidate into the proposed reason, while the quantity and time patterns append the candidate to the remaining material. The paper assigns zero to the syntactic features when no transformation rule applies.
The resulting comparison operates on triples, each representing one labeled link.
(u₁, v₁, arc(u₁, v₁)) matches (u₂, v₂, arc(u₂, v₂))
⇔ u₁ = u₂ and v₁ = v₂ and arc(u₁, v₁) = arc(u₂, v₂)
u₁ and u₂ denote the child words in the two dependencies, and v₁ and v₂ denote their heads. The subscripts identify the dependencies being compared. arc returns each link’s grammatical label. ⇔ means that the match occurs exactly when all the equality tests hold. The comparison checks the words in their respective positions and the label, so the same words in reversed grammatical roles do not constitute the same dependency.
One feature counts all exact dependency matches. Additional counts distinguish links whose head is the question root and whose child is the inserted answer, links to the root whose child is something else, and links with a head elsewhere in the tree. The separation allows a match directly involving the proposed answer to receive a different weight from a match elsewhere in the statement.
In the James illustration, the subject link from James to pull and the particle link from off to pull help establish the surrounding action. They belong to the category of links to the root from a child other than the answer. The object link from pudding to pull gives a more direct comparison with the proposed completion. A passage sentence can therefore agree with the event context and differ on the relationship that would actually support a candidate. Keeping separate counts makes that distinction available to the scorer.
Let related words contribute graded evidence
Word overlap and exact dependency matching both depend on repeated wording. The authors add word embeddings to let related words contribute even when they differ in form. An embedding is a vector associated with a word. Comparing two vectors gives a graded measure of how similar they are in the embedding space. The paper uses pretrained 300-dimensional word2vec vectors from the work on distributed representations of words and phrases.
For the vocabulary comparison, the authors build two representations of a sentence. The first adds the embeddings of all its words.
fᵥ⁺ = ∑ₓ ∈ v e(x)
v denotes the text being represented and x a word occurrence in it. e(x) is the embedding for that occurrence’s word. ∑ adds the vectors coordinate by coordinate, and fᵥ⁺ is the resulting vector. In the actual comparisons, v can be a passage sentence or the text obtained by placing the question and candidate answer together.
The other representation multiplies corresponding coordinates.
fᵥˣ = ⊙ₓ ∈ v e(x)
fᵥˣ denotes the product representation. v, x, and e(x) refer to the text, its word occurrences, and their embeddings as before. ⊙ takes the product separately in each coordinate across the word vectors. The superscript ˣ identifies the product, as distinct from the sum denoted by ⁺. Both operations produce a single vector for the text and can be computed without using word order.
The paper compares the sum representation of the question-answer text with that of the passage sentence.
cos(fqₐ⁺, fw⁺)
fqₐ⁺ denotes the sum vector for the concatenated question q and candidate answer a, and fw⁺ the sum vector for the passage sentence w. cos is cosine similarity, which compares the directions of the two vectors. The expression supplies a feature for graded vocabulary similarity.
The passage sentence and question-answer text are also compared using their product vectors.
cos(fqₐˣ, fwˣ)
fqₐˣ and fwˣ are the coordinatewise product vectors for the question-answer text and the passage sentence. The same cosine similarity cos compares their directions. This is a separate feature, allowing the scorer to use the two ways of combining word vectors differently.
The syntactic comparison uses embeddings at the level of dependency endpoints. An exact match previously required agreeing words at both ends as well as the same label. The embedding feature retains the label requirement and grades the agreement of the endpoints.
∑₍ᵤ,ᵥ,ℓ₎ ∈ τw ∑₍ᵤ′,ᵥ′,ℓ′₎ ∈ τqₐ 1[ℓ = ℓ′] cos(u, u′) cos(v, v′)
τw is the bag of dependencies in the passage sentence w. τqₐ is the dependency bag for the statement obtained from question q and answer a. A triple (u, v, ℓ) contains a child word u, a head word v, and their link label ℓ. The primed symbols u′, v′, and ℓ′ denote the corresponding parts of a dependency from the transformed statement. The two ∑ symbols sum over pairs drawn from the two dependency bags. 1[ℓ = ℓ′] contributes one if the labels agree and zero otherwise. cos(u, u′) compares the embeddings of the child words, and cos(v, v′) compares those of the head words. Their product determines the contribution of a label-matched pair.
A dependency can thus contribute even when its head or child has a different word form, provided the grammatical link has the same label. As with exact dependency comparisons, the paper also uses features restricted to the dependency categories defined by their position relative to the root and the inserted answer. Vocabulary-level cosine similarity asks whether the whole sentence has similar wording. Dependency-level cosine similarity asks whether related words occupy corresponding positions in grammatical links.
Connect references across sentences
The authors run the Stanford rule-based coreference system on each passage. It groups expressions that it judges to identify the same entity. A name in an introductory sentence and a pronoun in a later sentence can belong to the same chain. For the answer scorer, this means the later sentence can get credit for a connection to the named person even when the name is absent from the sentence being scored. The resolver is described in Deterministic Coreference Resolution with Entity-Centric Rules.
The authors use this information to make versions of the vocabulary, frame, and syntax features that can recognize mentions in the same chain. In these versions the corresponding exact-string comparison uses a check based on shared chain membership. The augmented versions are concatenated with the original features. The same principle applies when embedding features are added. The scorer receives extra coordinates, which lets it distinguish literal agreement from a match made possible by an augmentation.
The difference between the two augmentations is easiest to see in the kind of evidence each supplies. An embedding comparison can connect terms for related things whenever their vectors are similar. A coreference comparison can connect different expressions for one entity because of how those expressions are used in this story. It follows that neither operation needs to stand in for the other. The feature families can benefit from both where the corresponding variants are included.
The paper abbreviates frame features as F and syntactic features as S. A superscript w marks the addition of embedding information, and c marks the addition of coreference. In the selected combination, both additions augment B and S, and coreference augments F. D is included in its baseline form. The paper reports 29 feature dimensions for this combination, including 4 vocabulary features, 1 distance feature, and 12 frame-semantic features, with the rest in the syntactic group.
Learn from correct choices
Training uses triples containing a passage, a question, and its correct answer. The criterion aims to give the correct candidate’s best sentence a higher score than the competing candidates can achieve with their own best sentences. It uses a max-margin objective, so the gap between competing scores matters as well as their order. A version of the objective with the regularization term named explicitly is:
minθ { λΩ₂(θ) + ∑ᵢ₌₁ⁿ [− maxw ∈ Wⁱ θᵀ f(Pⁱ, w, qⁱ, aⁱ)
+ maxₐ ∈ A {maxw′ ∈ Wⁱ θᵀ f(Pⁱ, w′, qⁱ, a)
+ Δ(a, aⁱ)}] }
minθ seeks the weights θ that minimize the expression. Ω₂(θ) denotes the paper’s L2 regularization penalty on the weights, and λ controls how much that penalty counts in the objective. The sum ranges over the n training examples, indexed by i. Pⁱ and qⁱ are the passage and question for example i, and aⁱ is its correct answer. Wⁱ is the set of sentences of that passage. A is the set of candidates for the question currently being scored. w and w′ represent sentence choices for the correct answer and for the candidate in the competing term, respectively. θᵀ f is the same weighted feature score as at prediction time. The minus sign subtracts the correct answer’s best score. The added term searches over answers and sentences after augmenting the candidate score with the loss Δ.
The loss applied to a candidate is:
Δ(a, aⁱ) = 1 if a ≠ aⁱ, and 0 if a = aⁱ
Δ(a, aⁱ) is the loss associated with proposing a when aⁱ is the correct answer for instance i. The symbol ≠ checks that their identities differ, and = checks that they agree. The incorrect choice gets the added margin of 1, while the correct choice gets 0. The outer search in the training objective includes the correct choice, so the competing term can equal the correct answer’s best score when no rival challenges it after the margin is added.
The two sentence searches are important. A wrong answer is allowed to find its own most favorable sentence, so training must contend with the strongest case the current weights can make for it. The correct answer can also switch its favored sentence as the weights change. The authors identify this latent sentence choice as the source of nonconvexity in the objective. They optimize the training criterion with LBFGS using the miniFunc package in MATLAB. The regularization weight and the feature combination are chosen through development-set performance.
Handle negatively phrased questions at the score level
Preliminary experiments led the authors to add a special case for negation. The system checks for the word not or the contraction ending n’t. It excludes questions beginning with how or why from this rule. When the rule applies, the system changes the sign of every candidate’s final score.
The rule is suited to a question that asks which option is contradicted or unsupported. The ordinary scoring procedure favors evidence of agreement with the passage, so changing the signs makes a candidate with lower ordinary support more competitive. This is a decision rule applied to scores. It does not analyze which proposition the negative expression modifies or trace how negation changes a statement’s meaning. Its contribution is evaluated by running the system with and without the rule on the development data.
Experiments and results
Split the stories for training, development, and testing
MCTest provides training, development, and test divisions for MC160 and MC500. The authors regarded the original development data as too small for choosing among the feature combinations. They pooled the original training and development stories from both collections, then randomly divided that pool into a 250-story training set and a 200-story development set. The new training split supplied the examples for learning the feature weights. The new development split supplied the comparison for selecting the regularization weight and feature configuration.
The two original test sets were kept for the final comparisons. This distinction matters when reading the results. A development accuracy describes the choice among configurations on the authors’ pooled split. It is a different measurement from accuracy on MC160 or MC500’s original test questions. Reporting original test performance lets the authors compare with the published results for each test set even though they organized the training and development stories differently.
The reported measure is answer accuracy with partial credit for ties. A correct answer sharing the highest score receives a share of the credit associated with that tie. The paper’s example is a question for which all four candidates have the same score. It contributes 0.25 credit under this metric. Fractional credit is particularly relevant for a baseline whose matching procedure can produce identical scores for more than one option. The printed results can be read as percentages under the common scoring convention used in the paper’s comparisons.
The results are also separated by the benchmark’s evidence annotations. In the Single group, a sentence is considered sufficient to answer the question. The Multiple group is intended for questions that require evidence from several sentences. In the MC160 test set these groups have 112 and 128 questions, respectively. In the MC500 test set they have 272 and 328. The All result covers the complete set of test questions for the collection in question.
This breakdown is especially revealing given the method’s use of a strongest sentence. The category assigned to an item is a description of the evidence a reader is expected to need. The score records the outcome of choosing the answer. A method can get credit on a multiple-sentence item by finding a locally strong clue or using features that carry information from elsewhere in the passage. The category does not require the system to output the sentences it consulted or demonstrate an inference across them.
Compare feature combinations before testing
The development comparison starts with the basic overlap and distance signals plus frame semantics. That combination scores 64.18% accuracy on the 200-story development split. Adding the syntactic features brings the listed configuration to 66.24% development accuracy. The selected combination, which includes embedding and coreference variants, reaches 69.87% development accuracy.
Feature combinations on the pooled MCTest development split
The selected combination with augmented features has the highest development accuracy among the settings shown.
The numbers
| System or setting | accuracy % |
|---|---|
| Overlap, distance, and frames | 64.18 |
| Overlap, distance, frames, and syntax | 66.24 |
| Selected augmented feature combination (this paper) | 69.87 |
The first comparison gives a view of what adding syntactic features does when vocabulary, distance, and frames are already present. The last comparison changes several feature variants together. Its result supports selection of the combined configuration for testing. It leaves the separate contributions of the augmentations to the deletion experiments.
Compare with the published test results
The original MCTest baselines form a progression. B1 uses sliding-window word overlap. B2 adds the word-distance clue. B2+RTE supplements those signals with a textual-entailment system, which attempts to determine whether one piece of text supports a proposition expressed by another. These comparisons matter because the first two baselines use the same general surface clues that the authors preserve in their own system. The entailment baseline offers a comparison with an earlier way of adding richer textual analysis.
The authors also compare with concurrent work. One system is the discourse-relations approach to machine comprehension. The other is the answer-entailing-structures approach by Sachan and colleagues. The tables supply contemporaneous results rather than a common implementation in which every system differs by one interchangeable component. They can establish how the scores compare on the reported test sets. The controlled feature comparisons within the authors’ own system address what contributed to its score.
Overall accuracy on the MC160 test set
The syntax-and-frames system leads the available published comparisons on overall accuracy.
The numbers
| System or setting | accuracy % |
|---|---|
| B1 sliding window | 60.41 |
| B2 sliding window and distance | 67.50 |
| B2 with textual entailment | 69.16 |
| Discourse relations | 73.23 |
| Syntax and frames system (this paper) | 75.27 |
On the full MC160 test set, the original sliding-window baseline has 60.41% accuracy. The distance-enhanced baseline has 67.50%, and the entailment-enhanced baseline has 69.16%. The concurrent discourse-relations result is 73.23%. The authors’ system reaches 75.27% overall. The comparison supplies no MC160 score for the answer-entailing-structures system.
The improvement over the available comparisons extends to both MC160 categories. On the 112 single-sentence questions, the authors’ system scores 84.22% and the discourse-relations system scores 82.36%. On the 128 multiple-sentence questions, the authors’ system scores 67.85% and the discourse-relations system scores 65.23%. The original entailment baseline scores 76.78% and 62.50% in those categories, respectively. The higher single-sentence score describes accuracy on that subset of questions. It does not by itself identify which of the multiple-sentence items required additional reasoning or what that reasoning would have been.
Overall accuracy on the MC500 test set
The syntax-and-frames system has the highest overall accuracy in the comparison.
The numbers
| System or setting | accuracy % |
|---|---|
| B1 sliding window | 57.09 |
| B2 sliding window and distance | 60.43 |
| B2 with textual entailment | 63.33 |
| Discourse relations | 63.75 |
| Answer-entailing structures | 67.83 |
| Syntax and frames system (this paper) | 69.94 |
On the full MC500 test set, the three original baselines report 57.09%, 60.43%, and 63.33% overall accuracy in the order shown. The discourse-relations result is 63.75%, and the answer-entailing-structures result is 67.83%. The authors’ system reaches 69.94%, giving it the highest overall accuracy in the MC500 comparison as well.
The MC500 category scores qualify the overall ranking. On the 272 single-sentence questions, the authors’ system scores 72.05%, compared with 68.38% for discourse relations, 67.65% for answer-entailing structures, and 68.01% for the original entailment baseline. On the 328 multiple-sentence questions, the original entailment baseline scores 59.45% and discourse relations scores 59.90%. The authors’ system reaches 67.94%, while answer-entailing structures reaches 67.99%. The highest overall MC500 result therefore coexists with a slightly lower result than that concurrent comparison in the multiple-sentence category.
Taken together, the test results support the practical choice to combine the added information with the baseline signals. The overall results improve on the published baseline scores on both collections, and the category results show improvements over the original entailment baseline for both types of question. The results leave room for distinct approaches to work better on different kinds of questions. The MC500 multiple-sentence result makes that distinction visible within a single test set.
What the ablations show
Surface clues still carry a large share of the evidence
The authors investigate the chosen configuration by removing one feature group or augmentation at a time and measuring accuracy on the pooled development data. The full setting reaches 69.87% accuracy on this split. Each deletion changes what evidence the scorer can use. Interpreting a deletion as the full value of the removed linguistic capability would go beyond what this comparison measures. It gives the contribution of its particular feature implementation in the presence of the other available signals.
With the augmented word-overlap group removed, development accuracy is 58.46%. Removing only the word-distance feature gives 65.89%. Removing both leaves the frame and syntax groups with their selected augmentations and yields 54.19%. These settings show that the enhanced system depends heavily on the baseline-style surface features. A passage sentence that shares the right words in a compact region is often a strong starting point, even when the final distinction between candidates also benefits from grammatical or semantic evidence.
The overlap deletion takes out the entire selected vocabulary family, including its augmented versions. The distance deletion removes the separate proximity feature. The joint deletion therefore asks whether the structured groups can carry the answer decision on their own. The paper’s result shows that these groups retain useful matching evidence, while the combination with the surface features works substantially better on this split. The result also helps explain why strong simple baselines are central to the paper’s argument. The improvement is built on preserving those clues and supplementing them.
Syntax and frames both help the complete system
Without the frame-semantic group, development accuracy is 67.89%. Without the syntactic group, it is 67.64%. The authors take the two results as evidence that frames and syntax contribute to a similar degree in this configuration. The groups overlap in the broad question they address, which is how the story connects participants with situations. They encode the answer at different levels. A dependency says which words are linked and labels their grammatical relationship. A frame feature can register agreement about the kind of situation or about a participant’s role.
Each deletion is broader than removing a single match count. Removing syntax takes out the dependency family available to the selected system, including its augmented features. Removing frames takes out the frame-based family as configured for that system. The experiment therefore supports the contribution of the groups. It leaves open which individual comparison within either group, such as the strongest argument-role agreement or a count of dependencies involving the answer, accounts for the largest share of the change.
The development-set progression and the deletions answer related questions from different starting points. The progression adds syntax to a configuration that already contains frames and the basic features. The syntax deletion starts with the enriched full configuration and removes the whole syntactic family. Together they show that syntax is useful alongside frames, and that it contributes within the chosen combination. The frame deletion supplies the corresponding evidence that the presence of syntactic comparisons still leaves room for frame information.
Embeddings, reference chains, and negation
When embeddings are removed, development accuracy is 68.28%. Removing coreference gives 68.43%. These deletions cut across the feature groups where the corresponding augmentations are used. The no-embedding configuration still has coreference variants, while the no-coreference configuration retains the embedding variants used by the selected system. Both results are below the full system’s development accuracy. The authors describe embeddings as making a slightly larger contribution in this comparison.
Disabling the negation rule gives 68.72% development accuracy. The feature configuration in that experiment is the same one used by the full system. What changes is the final handling of questions identified by the heuristic. This makes the result a comparison of score handling rather than of linguistic annotation. The aggregate accuracy supports including the rule on this split, while offering no separate breakdown of its coverage of negative questions.
Individual predictions show how a clue can change the choice
The authors illustrate cases in which the complete system selects the correct option and removing a feature group moves a wrong one to the top. These examples are useful because the aggregate scores tell how often the selected answer changes in the right direction overall, but give no detail about the relationship recovered in a specific story.
In the embedding example, a question uses the word noodle and the relevant sentence names spaghetti as a favored meal. The similarity of the terms lets the embedding features register a relationship beyond exact vocabulary overlap. The full system chooses spaghetti, while the version without the relevant features chooses an option referring to a mother. This is a lexical case. The question’s wording and the story’s wording can be connected without recovering a complicated chain of events.
The coreference example concerns Hannah Harvey. The passage uses her name in an introductory sentence and a pronoun in the sentence that places her in New York. The question names her and asks where she lives. A mention chain makes the person in the location sentence available as the person named in the question. The full system chooses New York, whereas the version without coreference chooses Kenya. The location phrase is present in the story. The decisive connection in the example is between the expressions for the person whose location is at issue.
The syntax example concerns what Todd said after a trip to the city. One option supplies the remark about home that the passage attributes to him, and another describes people in cars. Inserting the candidate into the question lets the syntactic comparison use a statement that connects Todd, the act of speaking, and the proposed utterance. The full system chooses the remark about home. The example shows how a candidate that fits a particular grammatical relation can gain support beyond the topical overlap offered by a plausible alternative.
These examples illustrate changes in the system’s own choices under deletion. They do not amount to annotated explanations for every correct prediction. A feature can be decisive when it happens to separate the competing answers and have little visible effect when the answer would already be selected from overlap alone. Their value is in identifying concrete cases where the feature changes the outcome in the way its design suggests.
Limitations
Limits the authors identify
The authors describe several errors that require operations beyond the similarities encoded in their features. One concerns a splinter, a doubtful listener, and a photograph. Fritz has the splinter. Stephen doubts him until Fritz shows him a picture. Answering what persuaded Stephen requires keeping track of what was doubted, linking the picture to the splinter, and interpreting the showing of the picture as the cause of the change in belief. The system chooses an option about a different picture. The story’s mention of a picture offers some local support for an answer involving a picture, while the connected sequence of events identifies which picture matters.
Another example turns on the relation between a day of the week and a relative time expression. Ashley wakes on Friday, and the story places her birthday a day later. The correct choice is Saturday. The system chooses Friday, the day explicitly named in the supporting text. Temporal interpretation here requires combining the reference day with the interval. Finding a sentence with the character and a day of the week gives the scorer evidence, but the evidence has to be transformed to produce the answer.
A third error involves a boy and an old bicycle. The story explains that Tommy is becoming too big for the bicycle. The correct option describes the bicycle as too small for him, while the system chooses its age. Understanding the fit requires expressing the same comparison from the bicycle’s side. Both the age and size information are compatible with the passage, but only one explains the problem described in the question. Word agreement with the expression old bicycle can favor the alternative that repeats the description.
The authors also identify counting and enumerating sets among the demands they encounter when inspecting errors. These tasks illustrate a similar distinction between recognizing related material and carrying out an operation on it. A system can match several words concerning a group while still lacking a way to establish its membership and count it. The paper gives examples and categories of difficulty. It does not report a separate accuracy for each reasoning operation.
The authors also raise a limitation of the benchmark’s evidence categories. When they inspected the annotations, they found some that appeared noisy. The distinction between single-sentence and multiple-sentence questions is informative for organizing the test results, but the labels should be interpreted with that observation in mind. The multiple-sentence category is an imperfect measure of which items need an explicit inference across sentences.
Limits visible in the setup
The task supplies candidate answers, which makes recognition and answer production separate challenges. A useful clue may be enough to rank the correct option above the other choices. In a task with no options, a reader might need to generate the detail independently or identify where in the passage to extract it. The reported scores concern selection among the choices provided. They also depend on the alternatives: a wrong option that repeats the passage’s wording is a different kind of competitor from one that uses unrelated vocabulary.
Answer accuracy does not verify the placement of the latent evidence sentence. The training objective can favor a sentence because it makes the right option easier to select. The evaluation reports whether the answer is correct, without measuring whether that sentence contains the full justification. The selected sentence can be a useful clue, an adequate explanation, or an incidental correlate of the answer. These possibilities matter especially for claims about multiple-sentence reasoning.
The explicit sentence search gives each answer the score of one best sentence. Passage-wide processing brings information across sentence boundaries through operations such as coreference. That can be enough when the needed link is identifying whom a pronoun denotes. A causal or temporal question can instead require assembling relations stated in several places. The scoring rule has no explicit representation of such a sequence of steps. Its strong results on the multiple-sentence category establish correct answer choices on those items, while leaving the reasoning paths unverified.
The syntactic comparisons depend on the question rewrite and the quality of the dependency analysis. The rules cover patterns the authors enumerate and a few additional templates. When a rewrite cannot be applied, the syntactic features receive zero. Even for a covered question, a rewrite can be rough or a parser can attach a word differently from the intended reading. The exact dependency feature has a relatively strict test of agreement, while the embedding version still depends on agreement of the arc labels. The paper shows the effect of the syntax family as a whole and gives a worked transformation. It leaves the success rate of the individual rules and the effect of parser mistakes unmeasured.
The frame counts have a related constraint. Agreement in a frame name, a role name, or an argument phrase is useful evidence, yet several compatible-looking fragments can occur in a text without putting the same participants in the same event. The features count matches over pairs and give the scorer separate kinds of agreement. A globally consistent correspondence among predicates, their arguments, and the participants in the story is a stronger requirement than the counts impose. The evaluation therefore tests whether these partial signals help answer selection.
The negation rule is deliberately narrow. A question that satisfies its lexical trigger gets all candidate scores reversed, subject to the stated exceptions. The score reversal can help where the question asks the reader to look for the unsupported option. Questions can also contain negative wording as part of the event under discussion. In such cases, the scope and role of the negation determine what counts as evidence. The development comparison measures the net effect of the heuristic on the chosen split. It gives no direct measure of how frequently the rule’s interpretation of negation agrees with the question’s actual meaning.
Finally, the ablations concern the pooled development split, which also served to choose the feature configuration. They give a detailed view of that selection setting. The original test results establish the performance of the selected system on the two benchmarks, but the paper does not provide the matching deletion results on those test sets. It also tests the approach on the MCTest collections, so the results leave accuracy on other kinds of passages, alternative answer formats, and differently constructed benchmarks open.
What came after
Reading comprehension took several benchmark forms
Some of the later citing work develops the question of how to measure reading comprehension. MCTest asks a system to choose among prepared answers to questions about a short story. Later challenge datasets make different aspects of the broader problem their subject. A citation establishes a connection to the earlier work, while the tasks named by the later papers show which evaluation problems they address.
SQuAD presents a machine-comprehension dataset on the scale of 100,000+ questions. The connection is to the use of questions as a way to measure how well a system can answer from text. Wang and colleagues analyze answer choice in terms of specific vocabulary and structural clues. SQuAD’s stated contribution concerns the scale of the question collection used to study comprehension. That shift makes the design of the evaluation itself a subject of the subsequent work.
TriviaQA presents a large-scale reading-comprehension challenge and identifies distant supervision as part of its construction. The title thus puts emphasis on how the challenge data are assembled. Wang and colleagues take the question-answer supervision in MCTest and use it to learn which story clues to trust. TriviaQA addresses supervision at the dataset level. Both are concerned with evaluating answers against text, while the contribution highlighted by TriviaQA is a way of constructing a challenge at scale.
MovieQA retains the emphasis on understanding stories and shifts the subject to stories in movies. It uses question answering to study that understanding. The earlier paper’s analysis of narrative questions gives examples of where a local match can fall short, such as when comprehension depends on establishing what changed a character’s belief. MovieQA carries the evaluation question into a different narrative setting. The connection is through what questions ask a system to understand about a story.
A Thorough Examination of the CNN/Daily Mail Reading Comprehension Task makes a reading-comprehension benchmark itself the object of examination. Its scope connects with the distinction Wang and colleagues draw between performance on a task and the reasoning that a correct answer requires. In the earlier investigation, even the division between single-sentence and multiple-sentence questions calls for inspection. The CNN/Daily Mail paper points that scrutiny at another reading-comprehension task.
Coordination between question and text remained central
Dynamic Coattention Networks for Question Answering addresses the scoring side of the problem. The connection is the need to relate a question to the material that can answer it. Wang and colleagues expose those relationships through a set of explicit comparisons and a maximum over sentences. The later paper puts dynamic coattention at the center of its approach to question answering. This is a continuation of the problem of deciding which parts of the input matter in relation to the question, expressed through a different scoring design.
Incorporating Syntax and Frame Semantics in Neural Network for Machine Reading Comprehension has the closest stated connection to the feature study. It takes up both kinds of linguistic structure together in a neural approach to reading comprehension. In the earlier paper, dependencies help compare the relation expressed by a question-answer statement with relations in a passage. Frames capture agreement in situation types, target expressions, and argument roles. The later work continues the investigation of those two sources of evidence within a different kind of reading system. The shared question is whether understanding which words are connected, and what roles phrases play, can improve comprehension.
Later work also examined the production of role information
The original system depends on an existing frame parser for its role information. The upstream problem of identifying spans and assigning roles is itself the subject of later work on semantic role labeling. These papers connect with the part of the comprehension system that supplies information about participants and predicates, even though their stated tasks concern how to analyze those relationships in the first place.
Linguistically-Informed Self-Attention for Semantic Role Labeling brings linguistic information into self-attention for predicting roles. In Wang and colleagues’ reading system, role information is available as an input from a parser and is compared across texts. The later role-labeling work examines the production of such information within its own task. The connection lies in the treatment of linguistic structure as evidence about relationships that word overlap alone leaves unresolved.
Fast and Accurate End-to-End Span-based Semantic Role Labeling as Word-based Graph Parsing takes a different role-labeling formulation, treating the span-based problem as graph parsing over words. The earlier comprehension paper represents annotated argument spans as phrases and compares their labels and wording when scoring answers. The later work addresses the underlying representation and prediction of spans and roles. Together with the other citing work, it shows how the paper’s questions lead in two directions: towards testing what a reading system can do with structured evidence, and toward improving the analyses that make that evidence available.
Cite
Cite as Hai Wang, Mohit Bansal, Kevin Gimpel and David McAllester. 2015. Machine Comprehension with Syntax, Frames, and Semantics. Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 2: Short Papers).
@inproceedings{wang2015machine,
title = {{Machine Comprehension with Syntax, Frames, and Semantics}},
author = {Hai Wang, Mohit Bansal, Kevin Gimpel and David McAllester},
booktitle = {Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 2: Short Papers)},
year = {2015},
doi = {10.3115/v1/p15-2115},
url = {https://doi.org/10.3115/v1/p15-2115}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/wang-2015-machine-comprehension-syntax-frames-semantics/