---
title: "Comparing Attention-Based Convolutional and Recurrent Neural"
description: "How hierarchical attention helps convolutional and recurrent networks answer MovieQA questions, and where both approaches fail under…"
canonical: "https://research.elamur.ai/free/en/papers/blohm-2018-comparing-attention-based-convolutional-recurrent/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/blohm-2018-comparing-attention-based-convolutional-recurrent/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2018](https://md.research.elamur.ai/free/en/papers/2018/) / Comparing Attention-Based Convolutional and Recurrent Neural Networks: Success and Limitations in Machine Reading Comprehension

# Comparing Attention-Based Convolutional and Recurrent Neural Networks: Success and Limitations in Machine Reading Comprehension

Paper · 2018 · Matthias Blohm, Glorianna Jagfeld, Ekta Sood et al.

**Authors:** Matthias Blohm, [Glorianna Jagfeld](https://md.research.elamur.ai/free/en/authors/glorianna-jagfeld/), Ekta Sood, [Xiang Yu](https://md.research.elamur.ai/free/en/authors/xiang-yu/) and [Ngoc Thang Vu](https://md.research.elamur.ai/free/en/authors/ngoc-thang-vu/) · **Year:** 2018 · **Venue:** Proceedings of the 22nd Conference on Computational Natural Language Learning · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Cited by **13** papers in our library of more than 163,000 papers whose bibliographies we read · Proceedings of the 22nd Conference on Computational Natural Language Learning · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/K18-1011/)
- [PDF](https://aclanthology.org/K18-1011.pdf)
- [DOI 10.18653/v1/k18-1011](https://doi.org/10.18653/v1/k18-1011)

## Summary

A system can pick the right answer to a question about a film without following the story the way a reader does. The answer might share distinctive words with a sentence in the plot, for instance. That is frequently a helpful clue, but it can also make a misleading combination of words look like good evidence. Blohm and colleagues investigate both sides of this problem. They build a system for multiple-choice [question answering](https://md.research.elamur.ai/free/en/concepts/question-answering/), measure its accuracy on MovieQA, and examine how its decisions change when the wording or the available evidence changes.

The authors start from compare-aggregate, an approach that matches the plot against the question and each candidate answer, then gathers the matches into a score for that candidate. Their extension works at the level of words and again at the level of sentences. It first builds a representation of each plot sentence with the current question and answer candidate in view. It then compares and combines those sentence representations across the plot. The authors try convolution, which looks for local patterns, and recurrence with long short-term memory, which processes the input in order. On the MovieQA test split, the recurrent ensemble achieved 85.12% accuracy, ahead of the previous best reported result of 80.02%. The comparison on the validation split shows that adding the sentence stage improved the convolutional system as well.

The stress tests reveal a difference between changing how a question is worded and changing what the plot appears to support. Replacing selected words in questions with meaning-preserving alternatives had little effect. An appended sequence chosen to distract the system was much more damaging, especially when it could draw on words from the question and incorrect answers. The recurrent system generally held up better against these additions, but distractors selected against either architecture also harmed the other. Removing the plot sentence that received the most attention sharply reduced accuracy for both.

A human case study helps explain what benchmark accuracy leaves unresolved. On difficult questions, a reader used other sentences, worked out who a pronoun referred to, recognized implications that depended on word meaning or world knowledge, and eliminated implausible answers. The paper finds evidence that the hierarchy helps the networks find and use local clues. It also shows how often those clues fall short of what a reader can infer from the same material.

## Deep dive: Comparing Attention-Based Convolutional and Recurrent Neural Networks: Success and Limitations in Machine Reading Comprehension

How hierarchical attention helps convolutional and recurrent networks answer MovieQA questions, and where both approaches fail under closer testing. · about 36 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Reading a story to choose an answer

A MovieQA item presents a question about a film and a set of possible answers. In the version studied here, the evidence is a written synopsis. The system has to decide which answer the synopsis best supports. A direct question about a named person or place may be settled by finding a particular sentence. A question about a character’s actions or reasons may require connecting a sentence to what the story says elsewhere. Both kinds of question are scored by the same standard, whether the selected answer is correct.

The paper’s example involving Sam and Rosie illustrates the easier end of this range. The plot mentions the coronation in Gondor and then follows the Hobbits home to the Shire, where Sam gets married. The question asks where the marriage takes place. A reader can dismiss Gondor even though it occurs nearby and is offered as an answer. The relevant relationship is between the wedding and the Shire. Once the reader finds the right sentence, much of the work is already done. The benchmark contains questions whose wording makes the evidence considerably less direct.

The authors situate their study among several reading-comprehension tasks that differ in what counts as an answer. Candidate selection gives the system the proposed answers as input. Answer generation poses a different problem because the system must produce a response. The paper mentions a range of datasets as evidence of growing interest in machine comprehension. Its own experiments use the film-story benchmark introduced in [MovieQA](https://md.research.elamur.ai/free/en/papers/tapaswi-2016-movieqa-understanding-stories-movies-through/).

Candidate answers change the reading problem in an important way. With the answers in view, the network can look for evidence connected to each one. A reader can also use them to narrow the search or to eliminate an answer that conflicts with the story. Those possibilities give a multiple-choice system more information to work with. They also create opportunities for misleading matches. A wrong candidate may reuse the very words that help a system locate the relevant part of the plot.

#### What compare-aggregate already did

The paper describes a common approach in neural language processing in which words are first represented as learned vectors. A vector is an ordered set of numerical features. The network can operate on these features even when two related words have different spellings. The paper places its use of pretrained representations in a line of work that includes [word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/).

Once words have vector representations, an architecture still needs to combine them. A convolutional neural network, or CNN, applies the same learned filters at different positions. A filter can respond to an arrangement of nearby features wherever that arrangement appears. A recurrent neural network, or RNN, reads a sequence in order and carries forward a state. The particular recurrent design used in this study employs long short-term memory, or LSTM, units. The paper presents these approaches as different ways of handling context and notes that earlier work had reported benefits from combining them in ensembles. An ensemble makes a decision from a collection of separately trained systems.

Wang and Jiang’s compare-aggregate approach supplied the immediate starting point. It used attention to compare a passage with the question and candidate answers. Attention assigns larger weights to some items than to others according to how well they match the current input. Those weighted comparisons were then passed to a convolutional aggregator. The aggregator turned the variable amount of material in the passage into a vector that could be used to score an answer.

In that earlier setup, the plot sentences were joined into one stream. The authors identify sentence boundaries as an available source of structure. A plot sentence can be compared against the question and answer by itself, and the resulting evidence can then be weighed alongside evidence from other sentences. The idea fits the wedding example because the decisive information occurs together. It also gives the network a way to assign relevance to several parts of the plot when the wording of a question makes the first plausible match insufficient.

The paper draws on earlier uses of hierarchy in language processing to motivate this change. In a hierarchy, representations at one scale become the inputs at the next. This makes it possible to use a similar operation for a word sequence and for a sequence of larger units. One of the precedents the authors identify is [Hierarchical Attention Networks for Document Classification](https://md.research.elamur.ai/free/en/papers/yang-2016-hierarchical-attention-networks-document-classification/).

#### Why accuracy needed a second kind of test

The authors also take up a concern raised by earlier reading-comprehension research. A question may be answerable through a cue that works on the benchmark even when the system lacks the inference the question appears to require. Jia and Liang had used altered passages to test whether a reading system could keep its answer when faced with material that a human could disregard. The work discussed here adapts that line of investigation to questions about synopses. The earlier passage experiments were conducted on [SQuAD](https://md.research.elamur.ai/free/en/papers/rajpurkar-2016-squad-100-000-questions-machine/).

The introduction mentions a related method for evaluating natural language inference, where the task concerns whether one piece of text supports another. Sánchez and colleagues made controlled changes involving relations such as opposites and broader or narrower word meanings. Such changes can test whether a decision depends on a relation between meanings or on the presence of familiar words. The paper cites [Behavior Analysis of NLI Models](https://md.research.elamur.ai/free/en/papers/sanchez-2018-behavior-analysis-nli-models-uncovering/).

The authors distinguish text perturbations from the kinds of small numerical changes used in earlier image experiments. In a written question or passage, replacing a word produces an observable change. It can also change what the sentence means, make it ungrammatical, or remove evidence a reader genuinely needs. The design of a test therefore determines the question that can be asked of its result. A synonym substitution can probe stability under rewording. An added distractor probes whether the original evidence retains its influence. Deletion probes what the system can recover when some of that evidence is gone.

This distinction shapes the comparison between convolution and recurrence. A higher score on intact plots tells us which system got more answers right in that setting. Controlled perturbations can reveal differences in how the systems respond to misplaced clues, missing evidence, and changes in wording. Human reading offers another point of comparison, particularly for questions where the same facts support an answer through a chain of reasoning that the networks appear to miss.

### The method, step by step

#### Build the plot representation for the candidate being scored

The system receives a question, a synopsis divided into sentences, and the candidate answers. It builds plot representations with a particular answer candidate in view. That matters because a sentence may be relevant to the question in general while favoring a particular answer only through a specific detail. In the wedding example, the system needs features for the question about location and features that distinguish the Shire from the other places offered. Each candidate goes through the same scoring procedure.

At the word stage, a plot sentence enters the comparison along with the question and the current answer. The system uses attention to obtain question-related and answer-related features, compares the aligned information, and aggregates the resulting sequence into a sentence vector. It also aggregates the question and answer sequences into vectors of their own. The sentence vectors are then assembled in plot order. At the sentence stage, the system again uses attention and comparison, this time with plot sentences as the units. A second aggregation produces the candidate-specific representation used in scoring.

From MovieQA inputs to a selected answer The steps in order.

The following equations distinguish the inputs to each operation from its outputs. The same general operations recur at the word and sentence levels. The vectors supplied to them change with the level, and the weights for comparison and aggregation are shared within a level. The word-level parameters and sentence-level parameters are learned separately.

#### Turn words into features for comparison

The authors begin with pretrained [GloVe](https://md.research.elamur.ai/free/en/concepts/glove/) embeddings. The question, each plot sentence and each answer candidate become matrices of word vectors. The authors then project those embeddings into a lower-dimensional space with a learned gate. The gate allows the network to give different amounts of weight to different features as it forms the projected representation.

```
X̃ = σ(WᵢX + bᵢ) ⊙ tanh(WᵤX + bᵤ)
```

Here `X` is an input matrix made from the pretrained embeddings and `X̃` is its projected version. `Wᵢ` and `Wᵤ` are learned weight matrices, while `bᵢ` and `bᵤ` are their associated bias vectors. The subscripts `i` and `u` distinguish the two transformations in the projection. `σ` is the sigmoid function, which supplies a gate for each feature. `tanh` is the hyperbolic tangent, which transforms the other set of features. The `+` symbols add the biases and `⊙` multiplies corresponding entries. In the rest of the architecture, the question `Q`, the plot or a plot sentence `P`, and candidate `Aⱼ` refer to representations after this projection when used at word level. The index `j` identifies the answer candidate.

The two factors on the right have distinct jobs. One computes a transformed description of the input. The other determines how strongly each entry in that description reaches the comparison. The operation is applied to the words used on all sides of the match, so the projected features can be used when the question or candidate is lined up with a plot sentence.

#### Align a plot unit with the question or answer

For each word in a plot sentence, the word-level attention operation distributes weight over the words of the question or the current answer. It obtains the scores from dot products. A dot product combines corresponding entries from two vectors into a single number, which in this architecture gives a measure of their match. The authors used this simpler form after preliminary experiments found no advantage from the additional learned parameters of the general attention form discussed by Luong and colleagues. The comparison is grounded in [Effective Approaches to Attention-based Neural Machine Translation](https://md.research.elamur.ai/free/en/papers/luong-2015-effective-approaches-attention-based-neural/).

```
G = softmax(XᵀP)
```

In this equation, `P` contains the plot units used by the current attention operation. `X` denotes the question representation or the representation of the current candidate. In the word stage those are sequences of word vectors. At the sentence stage the conditioning representation is the aggregated question or answer vector. The superscript `ᵀ` means transpose, which puts the features in the orientation needed for the matrix multiplication. `XᵀP` contains the dot-product scores. `softmax` converts the scores being compared into normalized weights, and `G` contains those weights.

```
H = XG
```

Here `H` is the resulting aligned representation. `X` contains the vectors being weighted and `G` contains the attention weights from the preceding operation. The product `XG` combines the vectors according to those weights. At the word stage, this gives a plot position a question-related or answer-related view. The same idea is used again with representations at sentence scale. In particular, the attention operation can supply the information most associated with a position while retaining a numerical role for weaker matches.

An alignment is an intermediate result. The scoring layers receive features built from comparing aligned vectors, and the final answer is determined after further aggregation. This distinction matters when interpreting the paper’s attention analysis. A high relevance score means the network gave a unit prominence under the analysis used by the authors. Whether that unit provides enough evidence to justify the answer is a separate matter.

#### Compare the aligned features

The authors use the compare-aggregate framework’s SUBMULT comparison. The operation starts with the difference between the vectors being compared. It forms two feature groups by multiplying that difference by each of the vectors in turn. The groups are joined and projected before being passed through a rectified linear unit. The paper reports that SUBMULT was the strongest choice for MovieQA among the comparison functions considered in the earlier framework.

```
tₗ = ReLU(W [(xₗ − hₗ) ⊙ xₗ ; (xₗ − hₗ) ⊙ hₗ] + b)
```

Here `l` indexes a comparison position and `tₗ` is its output feature vector. The paper denotes the comparison input at that position by `xₗ` and its attention-derived counterpart by `hₗ`, with `hₗ` drawn from `H`. At word level the comparison concerns the question or candidate words and the alignment with the plot sentence. At sentence level it concerns the aggregated question or candidate and the sentence representations. The `−` sign takes an entry-by-entry difference, `⊙` multiplies corresponding entries, and the bracket with `;` means the two resulting vectors are stacked. `W` is the learned comparison matrix, `b` is its bias and `+` adds that bias. `ReLU` keeps positive entries and sets negative entries to zero.

The construction gives the network more information than a single match score. The same feature difference can have a different effect depending on which input has the stronger activation for that feature. The two products let the learned projection respond to these patterns differently. The network produces a question-conditioned comparison and a candidate-conditioned comparison. Those streams are joined before the plot features are aggregated.

#### Gather the word evidence with convolution or recurrence

Each representation used in scoring must eventually have a fixed size, even though questions, answers and plot sentences can have different lengths. The aggregator first generates features along a sequence and then pools those features. At the word level its input can be the question sequence, the candidate sequence, or the joined comparisons for a plot sentence. At sentence level its input is the joined sequence of question-related and answer-related sentence comparisons.

```
aggregate_CNN = CNN([z₁ … zₘ])
```

Here `aggregate_CNN` denotes the convolutional aggregation output and `CNN` is the convolutional operation. The bracketed expression gives the input sequence from its first vector `z₁` to its last vector `zₘ`. `z` denotes a feature vector and `m` is the length of the sequence. The convolution is one-dimensional because the filter moves along the sequence. The filter sizes are `{1,3,5}`, which allow the operation to respond to patterns spanning individual positions and the larger local windows used in the paper. At word level, these are windows over word-related features. At sentence level, the same aggregation design operates over sentence-related features. The convolutional design follows [Convolutional Neural Networks for Sentence Classification](https://md.research.elamur.ai/free/en/papers/kim-2014-convolutional-neural-networks-sentence-classification/).

Convolution gives the system a way to detect a local pattern without tying it to a particular place in the plot. That is attractive for a task where the clue might occur early or late. The authors also want the aggregator to take into account what came before the current match. A filter of a fixed width can directly see only its local window. Recurrent aggregation supplies context through a state that moves through the sequence.

```
aggregate_RNN-LSTM = RNN([z₁ … zₘ])
```

Here `aggregate_RNN-LSTM` denotes the output of the recurrent aggregation. `RNN` is a single-layer, unidirectional recurrent network with LSTM units. The input vectors are again `z₁` through `zₘ`, with `m` denoting the sequence length. Unidirectional means that the state proceeds through the sequence in one direction. A later output can therefore reflect earlier input through the state. Each position supplies an output for the pooling stage.

```
r = max_pool(aggregate([z₁ … zₘ]))
```

In this expression, `aggregate` stands for either sequence operation described above. The vectors `z₁` through `zₘ` are the input at the current level. `max_pool` selects the largest output value for each feature across the sequence. The result `r` is a single vector whose size depends on the set of features rather than the length `m` of the input. The paper calls this `1-max` pooling. It reports that using just the last recurrent output gave unconvincing results, so the recurrent design pools over all its outputs too.

Pooling preserves a strong response wherever it occurs. The features reaching the pool can still reflect sequence order. A convolutional feature can depend on the local arrangement inside its window, and a recurrent feature can depend on earlier positions. The pooled representation records the strength of the features without storing an explicit position for each maximum in the vector that reaches the next stage.

#### Move from sentences to an answer score

At the end of the word stage, the question has a representation `r_q` and the current answer has a representation `r_aⱼ`. In these names `q` denotes the question and `aⱼ` denotes answer candidate `j`. A plot sentence has a representation `r_pᵢⱼ`, where `p` denotes the plot and `i` identifies the sentence. Because that representation came from comparisons with the current answer as well as the question, it can change when `j` changes. The ordered collection of these sentence vectors forms `r_pⱼ`, the plot representation for this candidate at the input to the sentence stage.

The question and answer vectors now condition comparisons over the sentence representations. After joining the question-side and answer-side features, the network aggregates across the plot. The resulting vector, written `rⱼˢ` in the paper, represents the plot after sentence-level processing for candidate `j`. The superscript `s` distinguishes this stage from the word stage. The hierarchy thereby lets sentence boundaries matter before evidence from different parts of the synopsis is combined. It also makes candidate-specific sentence relevance available for later examination.

The prediction stage sends `rⱼˢ` through two dense layers shared across candidates. A dense layer combines the input features using learned weights. The first applies a hyperbolic tangent after that combination. The second outputs a scalar confidence score, `cⱼ`, without a final activation. A softmax converts the scores into a distribution `p₁ … pₖ`, where `pⱼ` is the probability assigned to candidate `j` and `k` is the number of candidates. The candidate with the highest score is the individual system’s choice. Since the same layers score each candidate, the network applies a common decision rule to each answer-specific representation.

#### Train several instances of each architecture

The authors train 11 instances of the convolutional design and 11 of the recurrent design using different random initializations. Initializing the network differently can change which features it learns and which questions it answers correctly, even with the same architecture and training data. The paper reports the strongest single results and also combines the nine runs with the highest validation accuracy for each aggregation type.

The ensembles choose by majority vote over the constituent predictions. This makes the ensemble comparison a test of how well complete decisions combine. It is separate from the comparison within a single network, where attention and aggregation combine numerical features before the system picks an answer. The mixed ensemble uses the selected convolutional and recurrent runs. The authors made their reproduction code available in the `reading-comprehension` repository.

### Experiments and results

#### What the benchmark measures

MovieQA contains 14,944 questions about 408 films. Human annotators collected the questions, which range from straightforward requests for people or times to questions about reasons and events. Each item has five candidates with one designated correct answer. MovieQA makes several kinds of information available about the movies, including scripts, subtitles and video. The paper evaluates reading from plot synopses alone. These synopses come from Wikipedia and were used as references when the questions were collected.

The split contains 9,848 training questions, 1,958 development questions and 3,138 test questions. The results tables call the development split validation. Accuracy is the percentage of questions on which the system chooses the recorded answer. On validation, the authors can examine errors and compare predictions on individual questions. On the official test split, they submit answers to the benchmark server and receive accuracy. Those two kinds of access determine which comparisons the authors can investigate further.

A useful feature of the setup is that retrieving a plausible plot sentence is only part of the task. The scorer must still distinguish the correct answer from the alternatives. A system that finds the part of the story concerning Sam’s wedding, for example, must decide which place is connected to that event. The accuracy metric gives credit for the final decision. The authors later use a separate analysis to ask whether the sentence scores also recover the clue a human annotator identified.

#### Compare systems on intact plots

The published baselines give different points of comparison. Wang and Jiang’s compare-aggregate system is the starting architecture, and the authors regard its published result as coming from a single run. Liu and colleagues report an ensemble, according to the paper’s account. Dzendzik and colleagues provide the highest earlier test accuracy in the authors’ comparison, also understood to be a single-system result. There is no validation figure for the latter in the paper’s benchmark table.

MovieQA test accuracy for published baselines and the proposed ensembles The recurrent ensemble leads the test comparison, with the mixed ensemble close behind.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| Wang and Jiang | 72.90 |
| Liu and colleagues | 79.99 |
| Dzendzik and colleagues | 80.02 |
| Hierarchical CNN ensemble | 82.73 |
| Hierarchical CNN and RNN-LSTM ensemble | 84.70 |
| Hierarchical RNN-LSTM ensemble (this paper) | 85.12 |

The recurrent ensemble establishes the best official test result reported in the paper. Both the convolutional ensemble and the mixed one also exceed the published baselines in the test table. The paper provides official test scores for these ensembles. The figures for the individual architecture comparisons come from validation, where results are available side by side for the authors’ flat and hierarchical designs.

MovieQA validation accuracy for word-level and hierarchical systems Sentence-level processing improves the convolutional system, and the mixed ensemble leads the validation comparison.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| Word-level CNN | 76.51 |
| Hierarchical CNN | 79.62 |
| Hierarchical RNN-LSTM | 83.14 |
| Hierarchical CNN ensemble | 82.58 |
| Hierarchical RNN-LSTM ensemble | 84.37 |
| Hierarchical CNN and RNN-LSTM ensemble (this paper) | 84.78 |

Of the earlier published systems, Wang and Jiang reported 72.10% validation accuracy and Liu and colleagues reported 79.00%. The authors’ own word-level CNN reimplementation is the closer point of comparison for the hierarchy. It applies the earlier approach within their setup and provides a way to examine what changes when the same family of aggregator also operates over sentences. The hierarchy increases validation accuracy under convolution, and the strongest individual recurrent run reaches a higher accuracy again.

Ensembling helps each architecture on validation. The recurrent ensemble also exceeds the convolutional ensemble. The mixed ensemble’s advantage over the recurrent one is described as 0.41 percentage points on validation and is statistically insignificant. On the test split, the recurrent-only ensemble is ahead. The server’s aggregate results leave the significance of that test comparison unresolved. The defensible ranking is therefore specific to each split, with weak evidence that mixing the two kinds of aggregation improves on recurrence alone.

#### Evidence annotations give accuracy some context

MovieQA supplies human annotations of a minimal set of plot sentences that contain enough information to answer a question. The mean number marked is 1.15 in training and 1.11 in validation. This creates a second comparison beside answer accuracy. For each predicted answer, the authors use the system’s sentence relevance scores to see whether the annotated evidence appears at the top of the ranking.

Across all validation items, averaged over the nine selected runs for each type, the supporting sentences ranked highest in 71.45% of questions for the convolutional design and 71.31% for the recurrent design. The association with answer correctness was much stronger than the difference between architectures. Among correctly answered questions, the percentages were 80.86% for convolution and 79.35% for recurrence. On incorrectly answered questions they were 35.73% and 34.49%, respectively. These percentages concern the ranking of the annotated sentences, conditional on the reported question group. They are distinct from the percentage of correct answers.

These results make the sentence stage worth investigating directly. The recurrent design can have better answer accuracy while reaching a similar rate of agreement with the evidence annotations. Locating a relevant sentence and deciding what it implies are both part of the task. The relevance comparison indicates how well the architectures perform the first part by the authors’ measure, while the answer comparison reflects the full decision procedure.

#### Results with appended distractors

Because finding distractor words to use against the systems requires substantial computation, the authors test the added text on 200 randomly sampled validation questions. They compare a sequence assembled from common words, one allowed to use words from the question, and one allowed to use words from the question and wrong candidates. The result before selecting words for their effect is close to the original score. On this subset the original mean accuracy over the selected individual runs was 76.87% for convolution and 81.11% for recurrence. With the unoptimized version that could draw on question and incorrect-answer vocabulary, the corresponding accuracies were 76.33% and 81.05%.

MovieQA accuracy on 200 validation questions with optimized appended distractors Distractors that draw on incorrect answers hurt both systems most, while recurrence retains higher accuracy in every condition shown.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| CNN with common words | 73.38 |
| RNN-LSTM with common words (this paper) | 79.94 |
| CNN with question words available | 57.39 |
| RNN-LSTM with question words available | 68.05 |
| CNN with question and wrong-answer words available | 13.61 |
| RNN-LSTM with question and wrong-answer words available | 23.22 |

The chart reports the mean accuracies of nine runs of each aggregation design after two optimization epochs. The values describe individual-run averages on the sampled items, while the main test chart reports ensemble decisions on the official split. Within the sampled comparison, the strongest effect is associated with the word pool that can borrow from wrong answers. Both architectures still have access to the original synopsis in that condition. Their difficulty is in keeping the added material from overriding it.

The paper’s other perturbation experiments ask different questions. The synonym test changes the question while preserving its intended meaning. The attention-guided changes interfere with text that may carry useful information. Those designs provide different standards for interpreting a drop in accuracy, so the authors discuss each in terms of the cues made available or removed.

### What the ablations show

#### Where the hierarchy helps

The central architectural comparison is between the authors’ word-level CNN and their hierarchical CNN. The former processes the plot as a word sequence, while the latter performs the lower-level comparisons inside sentence boundaries and adds a sentence-level stage. Validation accuracy rises when that stage is present. This comparison supports the complete hierarchical design in the paper’s setup. Several changes come together in that design, including the separate sentence vectors, attention over them, and another round of comparison and aggregation.

The authors examine where that change affects individual questions. They look for validation items on which the number of correct runs differs particularly strongly between the word-level and hierarchical versions. There are 101 questions on which a majority of hierarchical CNN runs succeed and the word-level system has at least six fewer correct runs. In the other direction, the analysis finds 28 questions where the word-level version does substantially better. The authors report no recurring explanation for that smaller group.

Among the questions favoring the hierarchy, the authors see examples involving longer candidate answers and changes in wording between the evidence and the candidate. In one, the synopsis describes transferring Deon’s consciousness into a spare robot. The correct option expresses the event using a different grammatical construction and omits details of how the transfer happens. The question asks for the outcome for Deon, and the short overlap with the relevant sentence gives the system little direct help. The correct answer is selected in just two of the word-level runs. All but one of the hierarchical runs choose it. The item illustrates how concentrating the local evidence in a sentence can help even when the answer does not simply repeat that sentence.

The authors also ask how frequently the hierarchy enables success on a question that every word-level run misses. Of the 101 questions strongly favoring hierarchy, just 18 receive no correct prediction from the word-level systems. The authors interpret this as evidence that sentence structure frequently makes a correct choice more reliable across runs. It can help a system commit to an interpretation that the flat architecture sometimes reaches already.

The example involving Lucius, Harry and Sirius illustrates the point. The plot mentions Sirius being tortured in a vision, then explains that the vision was a dream used to lure Harry. Several words are compatible with both the correct candidate and one that treats the torture as real. Only five word-level runs identify the right answer, while all the hierarchical runs do. The difference is consistent with better handling of the surrounding sentence, where the status of the vision is explained. The example gives a concrete account of the improvement on that question. It leaves open how systematically the architecture can distinguish imagined events from real ones.

#### What changing the aggregator reveals

The second main comparison substitutes recurrent aggregation for convolutional aggregation within the hierarchy. The recurrent network reads the relevant feature sequence in order and can carry information from earlier positions forward. The convolutional version gathers matches across its fixed windows. Since both are pooled and use the same broad attention hierarchy, the comparison concerns the way sequence features are built before pooling.

For the comparison of the aggregation functions, the authors describe an improvement of 1.5 percentage points in validation accuracy and report a McNemar test with `p < 0.05`. McNemar’s test uses paired decisions. It asks whether the cases one system gets right and the other gets wrong are distributed as expected if their error rates are the same. This is a different comparison from simply ordering the best single runs in the accuracy table. It uses differences in decisions on the same benchmark questions.

The mixed ensemble provides a further check on the idea that convolution and recurrence might bring complementary information. A difference in how features are computed could produce useful disagreement. The validation results offer a small advantage for mixing, with the statistical qualification already noted, and the test result favors the recurrent ensemble. The evidence for the recurrent aggregator is stronger than the evidence that combining the two kinds produces a better answer selector.

The authors also compare the errors of the two hierarchical systems. The recurrent version improves overall performance, but the case study still finds difficulty with references, implications and the elimination of candidates. Sequence context offers a way to make better use of what surrounds a match. The examples suggest that a separate question remains about how the network represents a character, a relationship between meanings or a reason for rejecting a candidate.

#### What sentence relevance tracks

For the evidence-ranking analysis, the authors start with the answer each system selected. They derive a plot-sentence relevance score from the outputs of sentence comparison, averaging the question-related side with the side conditioned on that answer. They rank the plot sentences using those scores and compare the ranking with the supporting sentences annotated in MovieQA.

The separation between answer groups is the clearest result. The annotated evidence frequently ranks first when the system answers correctly and much less frequently when it answers incorrectly. This fits a picture in which successful retrieval of the clue helps the decision. The analysis also contains cases in which the marked evidence receives high relevance and the answer is still wrong. The remaining work may involve how the evidence is interpreted, how it is associated with the question, or how it distinguishes among candidates.

There is another reason to read the association carefully. The relevance ranking is conditioned on the answer the system chose, so the selected candidate can affect where the system appears to look. A wrong answer may encourage the ranking to favor a sentence suited to the wrong candidate. The comparison therefore connects the published answer and the published relevance measure. It does not establish the order in which an error developed inside the computation or prove that correcting the ranking alone would fix the answer.

The follow-up deletion experiment puts this interpretation under pressure in a different way. It asks whether the network still answers well once the sentence it has rated highest is gone. The relevance ranking is observational, while deletion changes the available input. Agreement between the analyses makes the importance of highly ranked plot material more plausible. The two tests still leave room for sentence scores to track something helpful without constituting a complete explanation of how a prediction was made.

#### Rewording the question

The word-level black-box test uses replacements chosen without consulting the internal attention distributions. The authors look through the 106 most frequent words in validation questions and identify places where a word or short expression can be changed while preserving the meaning and grammaticality of the questions. They permit expressions of up to two tokens and end up with 51 substitution rules. The substitutions change questions in 25% of the validation split. The original synopses and answer choices stay in place for this experiment.

All the replacements are covered by the pretrained embeddings. The authors observe that the replacements were also already present in the training vocabulary, with the exception of using buddy as an alternative to friend. The experiment therefore changes the wording without generally confronting the system with unfamiliar vocabulary. It reduces literal overlap where a replacement differs from the words used in the plot or an answer, while preserving the intended question.

The validation accuracy of each ensemble falls by less than one percentage point under these substitutions. The convolutional ensemble is affected a little more than either of the ensembles that include recurrence. The small changes support robustness to the tested wording variation. The authors suggest the pretrained GloVe features may be part of the explanation because related alternatives can have useful representations even when their surface forms differ. The experiment leaves the contribution of pretraining unmeasured, since it does not vary the embedding setup.

The result also depends on the scope of the intervention. The substitutions are chosen to fit the observed questions and are made only where a suitable change is available. Accuracy on the full validation set consequently describes this collection of rule applications, with unchanged questions included. The result has a narrower meaning than stability under arbitrary paraphrase. The authors motivate the manual approach by discussing how some automatically generated paraphrases can change what is being asserted. They cite [Adversarial Example Generation with Syntactically Controlled Paraphrase Networks](https://md.research.elamur.ai/free/en/papers/iyyer-2018-adversarial-example-generation-syntactically-controlled/).

#### Adding misleading material while keeping the evidence

The sentence-level black-box experiment appends an extra sequence at the end of the synopsis. The term black-box concerns the information used in selecting the perturbation. This test uses the system’s confidence for the correct candidate instead of reading the internal attention scores. It follows the earlier AddAny design from Jia and Liang, with different vocabularies available for the extra text.

The added sequence has ten words. AddC draws alternatives from common English words, using a pool of 20 random common words in the condition described by the paper. AddQ gives the selection procedure access to ten random common words per position as well as the words of the question. AddQA extends that pool with vocabulary from the incorrect candidates. In each condition the procedure favors word changes that lower confidence in the correct answer. The paper does not require the sequence to form a grammatical sentence.

The unoptimized additions have little effect in the selected sample. Once the words are selected for their impact on the answer score, the choice of available vocabulary matters greatly. Using question words is more damaging than using common words alone. Giving the procedure access to wrong-answer words has the largest effect. This supports the authors’ account that the match between plot and candidate features can give irrelevant text undue influence. The plot’s supporting sentences have not been taken away, and the chosen distraction can win influence without telling a coherent new part of the story.

The recurrent version retains higher accuracy in each optimized condition. That advantage needs to be read with its higher intact accuracy on the subset in mind. The strongest distractors still make its answers unreliable. The authors interpret its response as consistent with recurrence depending less heavily on local patterns of the kind used in the added sequence. The experiment measures the resulting choices and how they change. It does not directly identify a computation that accounts for the recurrent advantage.

The transfer experiment tests whether the damaging features are specific to the architecture whose confidence guided word selection. When AddQA text is selected against the recurrent version, the CNN achieves 21.50% mean accuracy on the sampled validation questions. When the text is selected against the CNN, the recurrent system achieves 22.06%. The matching-architecture comparisons have the values shown in the distractor chart. In both directions, transfer carries a large part of the effect. The authors interpret this result as evidence that both the convolutional and recurrent systems are susceptible to how the distractors link words from the questions and answers to the plot.

#### Changing or removing the evidence the system uses

In the white-box experiments, the investigators use internal attention to decide what part of the plot to change. For the word-level test, they first identify the sentence receiving the most weight when conditioned on the correct answer. Within that sentence, they replace the words with the highest attention with random words from the MovieQA vocabulary. The parameter `k` in the paper’s figure counts the replaced words. An intervention on the highest-ranked word already substantially reduces mean validation accuracy for each aggregation design. At `k ≥ 10`, both are down to about 30%, with a smaller difference between them at that scale.

The authors also ask a human reader to answer a sample of 20 questions with plots changed for a single CNN run. The reader is one of the authors. The human is more robust to small numbers of replacements, and performance also falls steeply when more than five words are changed. This matters for interpreting the experiment. In contrast to a meaning-preserving substitution, exchanging high-attention words for random vocabulary can destroy information that any reader needs. The test shows sensitivity to changes at the targeted locations. It also probes whether the remaining plot gives enough context to recover the answer.

The sentence-level white-box experiment removes the entire plot sentence that receives the highest relevance. The network loses that sentence but can still use the rest of the plot and the candidate set. The mean individual accuracy on the validation split is 31.59% for convolution and 32.61% for recurrence. The ensembles achieve 32.07% and 32.17%, respectively. This sizable loss is consistent with the ranking identifying important evidence for the network’s decisions. There are still successes, and the authors observe examples where other plot sentences provide useful context.

For a human comparison under sentence removal, a single author evaluates 20 sampled questions from distinct plots, with the sentence containing the answer information removed. The human reaches 55% accuracy. The reader reports answering nine questions with reasonable confidence by drawing inferences from other information in the synopses, and getting two answers right by guessing. The reading takes considerable effort. The human and system figures come from their respective evaluations, and the small human sample is best used to illustrate how some answers remain inferable after the clearest clue disappears.

These attention-guided tests and the appended-text test probe distinct behaviors. Removing an informative sentence raises the difficulty even for a careful reader. Appending a sequence leaves the original evidence available and tests whether its influence can withstand irrelevant material. A robust reading system would need ways both to reject misleading matches and to draw on the remaining plot when its best evidence is missing. The experiments give separate reasons to investigate those abilities.

#### What a reader did with the difficult questions

The paper’s human case study concentrates on failures. A human evaluator examines 50 difficult validation questions identified through the CNN runs and answers all of them correctly. The input includes the synopsis, question and five choices available to the systems. The purpose of the exercise is to identify what the successful human decisions draw on. The paper describes patterns involving textual entailment, elimination and reference, with the categories able to overlap in one question.

Textual entailment is the ability to recognize that a statement is supported by another statement, including cases where the same idea is expressed differently. The authors judge that textual entailment is required in 60% of the case-study questions. One synopsis describes characters demonstrating telekinesis, while the correct answer describes moving objects mentally. The reader can connect those expressions using the meaning of telekinesis. In another example, the text names employees and patrons as the hostages. The reader takes them to be people in the bank and therefore recognizes that a more general description of the hostages is true.

The authors judge elimination and heuristics essential in 44% of the selected questions. Consider the question about where New Penzance is located. The plot calls it a New England island, and the correct choice places it off the North Carolina coast. The evaluator cannot derive that candidate directly from the stated location. She selects it by judging the other candidates less plausible. Her success illustrates how a multiple-choice response can be reached with incomplete support for the selected option. It is a different route from extracting a location phrase from a matching sentence.

Another example involves the classes Toula takes. The evaluator gives the word classes priority because it helps narrow the alternatives, then uses the passage to identify the type of class. Here the reader uses words to guide search, just as a match-based system does. The distinctive step is that the reader uses the available candidates to decide which clue matters and then checks the result against the plot. Elimination can operate alongside direct evidence instead of taking its place.

The authors find that knowledge of references is presumed in 36% of the difficult questions. In the example involving Stigman, the plot describes his betrayal of Trench and escape with the money. The reader can assign the pronouns in the short correct answer to Stigman and the money. An alternative that shares the same character names can be rejected once the reader understands the action. Another question asks what happens to a human who is found in Narnia. The synopsis says the person should be brought to a woman referred to by a pronoun. The answer names the White Witch. The reader succeeds by connecting the pronoun to the character, an instance of [coreference resolution](https://md.research.elamur.ai/free/en/concepts/coreference-resolution/).

Some questions combine these demands. When asked about Xavier’s mutant ability, the evaluator uses the character name to find the relevant person, recognizes that Professor Charles Xavier is the intended referent, and uses the description of him as telepathic to decide among the options. The important word depends on the stage of reading. The name establishes who is being discussed. The descriptive word supplies the evidence about his ability. The answer choices help determine when enough information has been gathered.

The case study puts the benchmark improvements in perspective. The hierarchy makes many correct answers more consistent across training runs, and the recurrent aggregator makes further gains. The examples still show how a reader can use a plot proposition that has little overlap with the candidate, or reject a highly similar candidate because it gives a character the wrong role. The network’s accuracy and the reader’s account of a decision provide different kinds of evidence about what the task requires.

### Limitations

#### Limits the authors state

Official MovieQA test evaluation returns a score without releasing the test answers for item-by-item analysis. The authors can report that the recurrent ensemble scores higher than the mixed ensemble on that split. A paired significance test of that difference is unavailable. On validation, where the necessary information is available, the mixed ensemble’s small advantage is statistically insignificant. The paper accordingly treats the order of those two ensembles with caution.

The authors limit the appended-sentence experiment to 200 randomly chosen validation questions and two optimization epochs because of its computational cost. That design shows a substantial effect within the sampled questions and the stated search budget. The absolute figures belong to that setup. They do not estimate what a longer search on the full validation split or the official test split would achieve.

The authors also distinguish the lexical substitution result from a broader test of meaning-preserving rewording. Their substitutes are covered by the GloVe vocabulary, and almost all are already familiar from the training vocabulary. They identify rarer substitutions as an open question and leave the generation of more extensive paraphrases to future work. The observed robustness is specific to the kind of lexical change they could apply with confidence.

The appended-text procedure does not explicitly check for contradictions with the correct answer. The authors regard contradiction as unlikely because of the ungrammatical character of the sequences. That qualification matters. The test preserves the original material, while the semantic status of each addition is not independently established. The strongest interpretation applies to the controlled finding that the optimized additions harm the systems, especially when the pool includes candidate vocabulary.

The paper discusses training on adversarial examples as a possible response but does not evaluate that response on MovieQA. The warning it draws comes from the earlier SQuAD work. In that work, training on the altered examples helped against the specific attack, while changing the position of the appended material largely undermined the gain. The paper favors improving general reading behavior and leaves the effectiveness of particular defenses for this architecture open.

#### Limits visible in the design

The study covers one task format and one source of story evidence. A system is asked to choose from candidates given a written plot synopsis. Each option can affect the representation of the plot before scoring. That is central to why the design works and to why vocabulary from incorrect candidates can be distracting. Tasks that require a free response or provide evidence through scripts, subtitles or video would change what the system must retrieve and what counts as a helpful match. The paper’s results establish performance for the synopsis condition.

The hierarchy is evaluated as a package. Sentence boundaries are honored, word-level comparisons are pooled inside those boundaries, and another comparison and aggregation operates over the resulting sentence sequence. A gain for that package supports the choice to handle the two scales explicitly. The experiments leave open how much of the gain belongs to each individual operation. Likewise, the recurrent result compares the specified LSTM design with the specified convolutional one under this hierarchy. It leaves the relative merits of other recurrent and convolutional designs unresolved.

The human evidence is diagnostic. The difficult-question study deliberately selects items where the systems struggle. The finding that the evaluator answers all 50 correctly establishes a useful contrast for those cases. It cannot serve as an estimate of human accuracy over MovieQA. The two small human perturbation evaluations use a single author as the reader. They show that one reader can infer answers from some altered plots, and that worsening the damage can hurt human performance as well. Further evidence would be needed to establish how consistently readers use those strategies or how much their accuracy varies.

The case-study categories are judgments about the demands of selected failures. A question can require reference resolution before it requires lexical inference, and candidate elimination can operate alongside both. The reported percentages should therefore be read as descriptions of overlapping requirements in that collection of items. They leave open how frequent each requirement is across the benchmark and how much a dedicated mechanism for each one would improve prediction.

Finally, evidence ranking, perturbation sensitivity and a human explanation each illuminate a different part of a decision. The annotation comparison shows where the network assigns relevance relative to a recorded clue. Deletion shows the consequence of taking away a high-ranked sentence, an intervention that can also make the problem genuinely harder. The human examples show plausible reasoning routes that remain available to a reader. Together they support the authors’ concern about the limits of learned matching. They leave open exactly which representations produce any particular correct or incorrect answer.

### What came after

The paper identifies directions for follow-up in three recurring kinds of error. One is linking references across a plot, so that a pronoun can contribute evidence about a named character in an answer. Another is recognizing that two differently worded statements can describe the same event or support the same conclusion. A third is using the alternatives as a set of possibilities to assess and eliminate, especially where the synopsis supports the correct answer indirectly.

Those directions arise from questions where a reader succeeded in spite of weak word overlap or incomplete local evidence. The paper also leaves open whether broader paraphrase tests and changes to the architecture would improve robustness across several perturbation types. These are research directions proposed by the authors. No later study is documented here as taking them up or extending the comparison.

## Cite

Cite as Matthias Blohm, Glorianna Jagfeld, Ekta Sood, Xiang Yu and Ngoc Thang Vu. 2018. Comparing Attention-Based Convolutional and Recurrent Neural Networks: Success and Limitations in Machine Reading Comprehension. Proceedings of the 22nd Conference on Computational Natural Language Learning.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/k18-1011](https://doi.org/10.18653/v1/k18-1011)

```bibtex
@inproceedings{blohm2018comparing,
  title = {{Comparing Attention-Based Convolutional and Recurrent Neural Networks: Success and Limitations in Machine Reading Comprehension}},
  author = {Matthias Blohm, Glorianna Jagfeld, Ekta Sood, Xiang Yu and Ngoc Thang Vu},
  booktitle = {Proceedings of the 22nd Conference on Computational Natural Language Learning},
  year = {2018},
  doi = {10.18653/v1/k18-1011},
  url = {https://doi.org/10.18653/v1/k18-1011}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
