Elamur Research

Investigating Query Expansion and Coreference Resolution in Question Answering on BERT

Paper · 2020 · Santanu Bhattacharjee, Rejwanul Haque, Gideon Maillette de Buy Wenniger et al.

Summary

A question and its answer can use different words for the same thing. A passage may also name someone in one sentence and describe what they did in the next using only a pronoun. Both patterns are ordinary in writing, but they make it harder for a reading system to connect a question with the passage that answers it. The authors study that problem in extractive question answering. In this task, the system receives a question and its associated paragraph and must select the words that constitute the answer. The study asks how much better a BERT system can do when some of those connections are made explicit in its input. BERT

The authors try changing the question in two ways. They use WordNet to find synonyms for terms judged useful for finding the answer, then append only the candidates that pass two similarity checks. They also train an English-to-English translation system to produce alternative phrasings of each question and append those to the original. These are forms of query expansion, a technique from information retrieval. The third intervention changes the paragraph. When a reference such as a pronoun is linked to a fuller expression elsewhere in the text, the authors substitute that expression. The links are supplied by automatic coreference resolution.

On the SQuAD 1.1 development set, the baseline achieves 88.5 F1 and 80.8 exact match. Each question expansion method raises both scores when applied on its own, although neither improvement reaches statistical significance. Coreference preprocessing alone reaches 89.3 F1 and 81.6 exact match, with a statistically significant improvement over the baseline. The highest scores come from combining the two forms of question expansion with paragraph rewriting. That setting reaches 89.8 F1 and 82.7 exact match, with both gains significant against the baseline. The authors obtain these results by changing the text used for question answering while retaining the BERT architecture.

The combined system is better overall, but much of the pattern of difficulty survives. Both systems are comparatively successful on questions formed with words such as “whose,” “when,” and “who,” and do less well on “where” and “why.” The position of the question word has little apparent association with accuracy. Longer reference answers are harder to match exactly, even though the combined system improves in every answer-length group. Results also vary considerably by Wikipedia article. Taken together, the experiments show that preparing the question and paragraph can improve span selection on this benchmark, while the error analysis identifies difficulties that persist after the input has been enriched.

Deep dive: Investigating Query Expansion and Coreference Resolution in Question Answering on BERT

The study tests whether adding alternative question wording and resolving references in passages helps BERT find answers in SQuAD. · about 35 minutes to read

The problem and its context

Answering from a paragraph

The paper starts from a practical reason to build question-answering systems. Someone seeking a specific piece of information may want to see the answer itself, with far less reading than would be required to inspect a large set of documents. The benchmark in this study isolates one part of that process. It supplies the paragraph as well as the question, so the system can focus on finding the answer within a known passage. The selection has a beginning and an end, and the text between those boundaries is the answer the system returns.

That setup gives the problem a concrete meaning. A system can recognize that a sentence is related to the question and still select the wrong phrase within it. It can select the right expression but include adjacent words that belong to the explanation. It can also find a plausible answer of the requested kind in the wrong sentence. Finding a passage about the right subject is therefore only part of solving this task. The system needs enough information to choose the particular occurrence and delimit the answer.

The relationship between question and passage can be indirect in more than one way. The question might ask when an organization established a facility, while the paragraph uses a verb such as “launched.” Recognizing the organization gets the system part of the way there. It also needs to connect the action described in the paragraph to the action in the question. A shared word can be helpful evidence, but the absence of that word need not imply that the sentence is irrelevant. The paper treats such differences in vocabulary as a reason to enrich the wording available on the question side.

The passage can pose a separate problem even when the question uses a word that appears in it. A paragraph might introduce a person by name, then continue with a sentence in which a pronoun is the subject. If the question repeats the name and asks about an action described in the second sentence, a system needs to connect the pronoun with the named person. The relevant action and the full name can be separated in the original wording, even though a reader understands them as belonging together. The authors ask whether putting the full name where the pronoun occurs gives the answering system a more direct connection.

These difficulties have different implications for preprocessing. A vocabulary mismatch can sometimes be addressed by making several expressions of the same question available. A reference within a paragraph can sometimes be addressed by spelling out what a shorter expression denotes. The first strategy adds wording to the question. The second rewrites part of the evidence from which the answer is chosen. Their effects are comparable at the level of final answer quality, while the changes they make to the reading problem are distinct.

Contextual representations and explicit clues

The authors place their work after research on attention-based approaches to question answering. As they describe it, attention offered ways for neural systems to relate parts of a question to parts of a passage. They also point to ELMo, which they present as a way to build representations that depend on the surrounding words and to handle words outside a fixed vocabulary through character-based representations. The common concern is how to represent an expression well enough for a system to recognize relevant language even when the words themselves are unfamiliar or appear in a different context.

The paper then turns to the architecture behind BERT. In its account, the Transformer offered an alternative to recurrent and convolutional designs and had already shown promise in translation. Its attention mechanism allows the representation of one position in a sequence to take other positions into account. BERT uses the encoder side of this architecture to build representations that draw on the text on both sides of a position. The authors choose this approach as their starting point because of its prior performance on reading comprehension. Transformer and attention

That starting point makes the experiment more demanding than a comparison with literal word matching. The baseline can already learn that expressions are related from the way they occur in context. The authors' question is whether explicitly supplying related phrases or repeating a referent improves performance beyond what those representations already offer. They frame this as a way to provide useful linguistic information through the input. The answer selection task stays the same, giving the authors a common basis for asking which changes to the input matter.

The paper describes contextual representations as helpful in principle for synonymy, while pointing to several sources of difficulty in language understanding. A word can have multiple senses. Expressions can resemble one another in meaning while differing in grammatical form. A person or object can be mentioned through several expressions within a passage. The interventions address selected manifestations of those difficulties. They give a reader a way to see what the experiment is testing without equating successful span selection with language understanding in general. Natural language understanding

The precedents for changing the input

The lexical intervention draws on earlier automatic query expansion, where lexical resources had already been used to provide additional terms. Of particular importance is Cao and colleagues' proposal to distinguish useful, harmful, and neutral query terms. Their approach used properties such as how terms were distributed, which terms occurred together, and how closely they occurred under a weighted proximity measure. A supervised classifier learned to predict the categories. For Bhattacharjee and colleagues, that work supplies a reason to screen the original words before consulting a thesaurus. A word's presence in a question gives no assurance that expanding it will make the answer easier to find.

The earlier term classification work used a support vector machine. The present paper adopts the features it describes and uses a recurrent classifier. The continuity is in what the classes represent. A useful term is one that helps locate information relevant to the request. That criterion is different from asking which words carry the most grammatical information or deciding which words look rare. The classification is a practical decision about where additional vocabulary could help an answering system.

The second intervention comes from a different tradition. The paper describes same-language translation in work on alternative inputs to speech synthesis, conversion from Brazilian Portuguese to European Portuguese, and paraphrase generation. In each application, an input can be mapped to another expression while staying within the same language. The authors use that idea to obtain alternate question sequences. A lexical resource offers substitutes for selected terms. Whole-question generation can also move words, change their grammatical relationships, or distribute the same meaning across a different phrase. The paper treats those as complementary opportunities to reduce wording mismatch. Machine translation

On the passage side, the authors cite prior studies of coreference and pronominal anaphora in question answering. They describe the issue as having received some attention in the field and as a continuing challenge in other language tasks. Their chosen operation is a direct substitution based on a resolver's output. This turns the output of one language task into part of the input for another. The paper can then evaluate it by what happens to the predicted answer span.

The authors also draw on earlier error analysis of SQuAD and research into how BERT performs in downstream tasks. Those precedents motivate a second question alongside the score comparison. If enrichment helps on average, which parts of the benchmark still cause trouble? The distinction matters because a benchmark score pools many reading situations. A more precise account of performance needs to examine groups of questions and passages as well as the pooled result.

The method, step by step

What goes into the answering system

The starting input is a question paired with a paragraph. The answering system reads the pair as a packed sequence and predicts the start and end of an answer in the paragraph. The authors begin with pretrained parameters and adapt all of them using labeled examples from the reading task. A task-specific output layer supports answer prediction. The paper distinguishes BERT BASE from BERT LARGE by the sizes and dimensions of their networks and uses BERT BASE for the experiment. Adapting the pretrained system to labeled paragraph-and-question examples is fine-tuning.

Within the encoder stack, each encoder has a multi-head attention sublayer and a feed-forward sublayer. At the level needed to follow the experiment, the attention operation lets positions in the input contribute to one another's representations. The feed-forward part further transforms those representations. Because the question and paragraph are packed together, changing what appears on either side changes the textual evidence available during this processing. The authors use this shared input arrangement in the baseline and the enriched conditions.

The three interventions happen before the answering system processes the pair. One produces extra terms, one produces extra questions, and one makes selected references in the paragraph explicit. The enabled forms of question expansion are appended to the original question. If paragraph preprocessing is enabled, the edited paragraph is paired with that question input. In the combined setting the answering system receives all of these changes together. The pipeline below follows that setting.

Preparing the question and paragraph for answer selection

The steps in order.

Preparing the question and paragraph for answer selectionStep 1: Identify useful terms in the original question1. Identify useful terms in the original questionStep 2: Select related terms from WordNet2. Select related terms from WordNetStep 3: Generate alternative phrasings of the original question3. Generate alternative phrasings of the original questionStep 4: Append the selected terms and alternative questions4. Append the selected terms and alternative questionsStep 5: Replace referring expressions in the paragraph5. Replace referring expressions in the paragraphStep 6: Pack the expanded question with the resolved paragraph6. Pack the expanded question with the resolved paragraphStep 7: Predict the beginning and end of the answer7. Predict the beginning and end of the answer

The order in the diagram expresses the data dependencies. Term selection has to happen before the lexical resource is consulted for expansions. Both expansion procedures take the original question as their point of departure. Coreference preprocessing works on the paragraph, so it can produce its input independently of those question-side operations. Packing brings the results together. The endpoint remains a span prediction, so any benefit from the extra words has to be realized through choosing an answer from the paragraph.

Selecting words worth expanding

The WordNet procedure starts by classifying terms from the question. The authors follow the earlier distinction among good, bad, and neutral terms, taking good terms to be those that help in finding the requested information. They use a long short-term memory network, or LSTM, as the classifier. The paper connects its features to the earlier term classification work, including information about term distribution, co-occurrence, and proximity. The reported held-out result for this classifier is 81.3 F1 on the term classification task. It measures the selection of term categories, which is an intermediate problem distinct from finding an answer.

This first filter controls the scope of the expansion. If the question names an organization, describes an action, and asks when that action took place, several of its words may help locate the right passage. Expanding every word would add candidates from parts of the question that may be poor anchors for the answer. The classifier's role is to decide which terms merit the next step. Once it assigns those categories, only terms assigned to the good category proceed to the lexical lookup.

For selected terms written as abbreviations, the authors first try to recover the full form with the Python package abbreviate, version 0.1.1. Their examples include turning “Dr.” into “Doctor” and “V.P.” into “Vice President.” A lexical entry for a full expression can be easier to locate than an entry for its abbreviated form. This expansion has a different role from adding synonyms to the question. It prepares the selected term for the lookup that will propose possible additions.

WordNet supplies groups of expressions associated with word senses, called synsets. Keeping the grouping by sense matters because a word can have more than one meaning. A candidate related to one meaning of a term may be irrelevant when the question uses another. The paper's example asks about the year the CIA established its first training site. The selector marks “CIA,” “establish,” “training,” and “facility.” Candidates for “establish” include expressions such as “launch” and “plant.” Their appearance among the candidates is the beginning of the relevance decision.

The authors apply two similarity tests to decide which of those candidates to keep. One compares vector representations from pretrained BERT. A vector represents a term by a set of numerical coordinates, so the comparison can use the relative directions of the vectors. The other test uses the organization of senses in WordNet. Using both gives each candidate two opportunities to be screened out. The paper uses these two measures as complementary evidence of semantic similarity.

The vector comparison is based on the dot-product identity printed in the paper.

A · B = ‖A‖ ‖B‖ cos θ

Here A is the vector for a selected question term, and B is the vector for a candidate synonym. The dot between them denotes the dot product, which gives a scalar from the two vectors. The double bars around a vector denote its length. The adjacent lengths on the right are multiplied. The symbol θ denotes the angle between the vectors, and cos denotes the cosine of that angle. The equals sign states the relationship between the dot product, the lengths, and the angle. The similarity used in this comparison is the cosine part of the identity. Normalizing the dot product by the vector lengths isolates the contribution of the angle.

The other check uses Wu–Palmer similarity as implemented in the NLTK Python toolkit. WordNet organizes senses so that more specific meanings can be related through more general ones. The comparison uses the depths of the senses in that organization to assess how closely they are related. This puts a different kind of evidence alongside the BERT vectors. For a candidate to be accepted, its cosine similarity and its WordNet-based score both need to exceed their thresholds. The paper describes this rule in words. The dot-product identity is its displayed formula.

In the CIA example, a set-up variant and “launch” are among the expansions the authors identify for “establish.” Appending such terms gives the system additional ways to match an action described in the paragraph. The original question still expresses what the user asked, including the requested time and the identifying details about the facility. The synonym list supplements those details. It does not have to form a grammatical question of its own.

This is why the operation is best understood as expanding a query. An accepted synonym is available as another clue even if it would need to be inflected before it could replace the original term in a sentence. The authors gather the retained words or phrases across the useful terms and add them to the question, then pack the result with the paragraph. In the condition that uses only WordNet, this is the change relative to the ordinary question–paragraph input.

Generating alternative versions of the whole question

The other question-side procedure produces complete sequences in English. Its premise is that a question can frequently be expressed in several ways, and an alternative formulation may more closely resemble a passage that answers it. Generating a sequence allows the expansion to alter a phrase or the question's arrangement. That makes its output different from a list of words even when some of the same lexical changes appear in both forms.

The authors use the Transformer for this English-to-English translation task and train it with MarianNMT. They report following the recommended configuration of the Transformer work they cite. The data procedure draws on Europarl, the corpus of European parliamentary proceedings. For this part of the setup the paper gives 13,201,483 sentences for training, 2,146 for development, and 1,000 for testing. The authors additionally append five million high-scoring English paraphrases from the Multilingual Paraphrase Database to the training material. The paper names both sources, while its description gives fewer details about how the same-language training pairs from the parliamentary material were constructed.

The translation evaluation gives 99.69 BLEU on the translation development set and 94.19 BLEU on its held-out test set. BLEU compares generated text with reference text using overlap in word sequences. The authors explain that the scores are unusually high because the source and output are both English. These are scores for the text generator on its own evaluation splits. Its value for the reading task is assessed separately by testing whether appending its output helps produce a correct answer span. BLEU score

The translation system can produce what the authors call an n-best list. Here n is the chosen number of alternative output sequences to retain for a question. The paper describes applying the translator to 87,599 SQuAD questions, the same count it gives for the QA training split. In the answering experiments, it compares settings with n equal to 3, 5, 7 and 12. Each retained output can be read as a possible alternative formulation. The list supplies a range of phrasings for the answering system to process together.

The authors append the variants to the original question, as they do with the lexical expansions. The answering system sees the variants before choosing a span. It does not need to answer each version separately and combine those answers. This design makes the diversity of the appended text part of a single input. A wording that is helpful in relation to the paragraph can contribute alongside the other wordings without requiring a separate answer-level selection rule.

The resemblance between original and generated text cuts both ways. Close wording can preserve the requested information, including a named entity or a constraint on what to retrieve. It can also make an alternative redundant. A more substantial rewording can provide a useful expression that is absent from the source question, while introducing more opportunity for a shift in meaning. The procedure produces candidates that may fall at different points along that range. The downstream experiment tests the value of the appended set as a whole.

Making paragraph references explicit

The paragraph intervention uses NeuralCoref to identify expressions that refer to the same entity. In this context, an anaphoric expression refers back to something introduced earlier. A cataphoric expression points forward to an expression that gives its referent later. The paper includes both in the objective of its preprocessing. The example it uses to illustrate the actual substitution is a backward reference from a pronoun to a name.

In the SQuAD passage about Beyoncé Giselle Knowles, the introduction names her. A subsequent sentence says that she performed in competitions after describing her upbringing in Houston. The authors' rewritten version puts her full name in the position occupied by “she.” A reader can see the specific benefit the authors expect. The local wording around the performance now identifies who performed, without requiring the answering system to connect that pronoun to the name in the preceding sentence.

The replacement relies on a decision supplied by the coreference system. The passage and question together may offer enough hints for BERT to infer the same relationship, but the original text leaves that relationship implicit at the point where the pronoun occurs. The rewritten paragraph provides the connection in the wording itself. This changes the evidence presented for span prediction while relying on the resolver to make the earlier linguistic decision correctly.

There is an important distinction between marking a reference and substituting for it. A mark could preserve the original words and add information about the link. Here, the referring expression is replaced with the fuller one. The local passage becomes more explicit, and the edited text can be longer. Because the answer is represented by span boundaries, any change that moves or replaces words can also affect the positions used to identify an answer. The paper describes the rewritten paragraph as the one packed for BERT training. It gives the replacement operation and the general span task more detail than it gives the bookkeeping between edited and original passages.

Training the answering configurations

For the answering experiments, the question and paragraph are prepared according to the particular setting and then passed to the same BERT architecture. According to the paper, fine-tuning ran for three epochs at a learning rate of 3e-5, using batches of 32. An epoch is a pass through the training data. The learning rate governs the scale of parameter updates, and the batch size specifies how many training examples are grouped for an update. The authors keep the reported fine-tuning setup fixed across the comparisons.

The question expansion conditions both retain the original question, whereas the coreference condition changes the wording within the paragraph. When the authors enable all three interventions, the input contains the original question, additions from both expansion procedures, and the paragraph with replacements. What stays common across the experiments is the type of prediction and the architecture that makes it. This is a comparison of systems adapted to different versions of the input, rather than a test that simply turns a preprocessing option on at evaluation time for a single already tuned system.

The design also means that the task-specific supervision comes from the same benchmark across conditions. The translation system and the term classifier contribute upstream predictions, and the coreference resolver contributes upstream links. Those intermediate outputs affect what the answering system reads. The labeled answer spans are what directly supervise the answering task. Understanding this separation makes it easier to follow the reported scores, since a high intermediate score and a high downstream score describe different abilities.

Experiments and results

The reading benchmark

The evaluation uses SQuAD v1.1. Its paragraphs come from Wikipedia, and the content spans subjects such as history and science. The answer to a question is a segment of the associated paragraph, represented by where it begins and ends. In the answering experiment, the paragraph is already provided with the question. The ability being tested is therefore span selection under those conditions. Finding a source document or writing a free-form explanation would require an evaluation with other inputs and outputs.

The training split contains 87,599 questions and 18,896 paragraphs drawn from 442 documents. The validation split contains 10,570 questions attached to 1,867 paragraphs in 49 documents. The paper also calls this validation split the development set when discussing results. Its headline QA numbers refer to that split. The held-out test score given for the English-to-English translator belongs to the translation experiment, and the held-out term classifier score belongs to the lexical selection experiment.

The baseline is BERT BASE adapted to the original SQuAD question–paragraph pairs. Each single-intervention system adds either the WordNet expansions, the generated question variants, or coreference rewriting. The paper calls these BERT WN, BERT NMT, and BERT CR, respectively. It calls the system with all preprocessing enabled BERT 3F. This naming matters in the prediction analysis, where the authors compare the baseline and the combined configuration rather than tracing every subgroup through the single-intervention conditions.

The comparison uses exact match, abbreviated EM, and F1. Exact match is the percentage of predictions that match an accepted reference answer exactly. This makes the measure sensitive to answer boundaries. If the prediction names the right person but includes extra words outside the accepted span, the extra words can cost the exact match. F1 gives partial credit for overlap with the reference wording. A span covering most of the intended answer can therefore fare better on F1 than on exact match. Together the measures distinguish improvements in fully correct spans from improvements that also include partial matches.

For significance comparisons, the authors use approximate randomization. In this setting the method assesses whether a score difference between two systems is large in relation to differences that could be obtained by exchanging their outputs under a no-difference assumption. The reported thresholds refer to the baseline comparisons. The point estimate and the significance result answer different questions. One says how the measured scores compare on the benchmark split, and the other addresses how convincing the difference is under the specified test.

The development-set comparison

The unexpanded BERT BASE input yields 88.5 F1 and 80.8 exact match. That establishes the reference point without either type of question enrichment or the changes to the paragraph. With WordNet expansion, the results table gives 88.7 F1 and 81.1 exact match for BERT WN. Both of the table's significance entries for that condition are p > 0.05. The discussion of this condition gives absolute improvements of 0.3 F1 and 0.2 EM, which assigns the gain sizes differently from the table's absolute scores. The charts use the absolute scores reported in the table for WordNet.

For BERT NMT, the result reported in the main comparison uses n = 12. This means the input appends the retained list of 12 alternative sequences to the original question. The system achieves 88.9 F1 and 81.2 exact match on the SQuAD development set. The paper reports gains of 0.4 F1 and 0.4 exact-match points over the baseline. Here, too, the significance entries for both metrics are p > 0.05. The observed performance is higher than the baseline, while the test provides limited evidence for an improvement from that intervention on its own.

The coreference condition reaches 89.3 F1 and 81.6 exact match on the same split. The paper reports an improvement of 0.8 points on each measure relative to BERT BASE. It gives p < 0.05 for both comparisons. Thus paragraph rewriting has the strongest stand-alone scores among the reported preprocessing conditions, and its baseline comparison clears the significance threshold used for that result.

BERT 3F achieves 89.8 F1 and 82.7 exact match. The authors report baseline improvements of 1.3 F1 and 1.9 exact-match points, both on the SQuAD development set. The significance entries are p < 0.01 for the combined condition against BERT BASE. Both metrics rank it highest among the configurations in the main results comparison. The increase in exact match means the benefit extends to predictions that fully coincide with an accepted answer.

F1 by preprocessing setting on the SQuAD v1.1 development set

The combined setting scores highest, and coreference leads the individual interventions.

F1 by preprocessing setting on the SQuAD v1.1 development setBERT BASE: 88.5BERT BASE88.5BERT WN: 88.7BERT WN88.7BERT NMT: 88.9BERT NMT88.9BERT CR: 89.3BERT CR89.3BERT 3F (this paper): 89.8BERT 3F (this paper)89.8
The numbers
System or settingF1
BERT BASE88.5
BERT WN88.7
BERT NMT88.9
BERT CR89.3
BERT 3F (this paper)89.8

Exact match by preprocessing setting on the SQuAD v1.1 development set

The combined setting yields the most exact answers, with coreference the strongest individual change.

Exact match by preprocessing setting on the SQuAD v1.1 development setBERT BASE: 80.8BERT BASE80.8BERT WN: 81.1BERT WN81.1BERT NMT: 81.2BERT NMT81.2BERT CR: 81.6BERT CR81.6BERT 3F (this paper): 82.7BERT 3F (this paper)82.7
The numbers
System or settingexact match %
BERT BASE80.8
BERT WN81.1
BERT NMT81.2
BERT CR81.6
BERT 3F (this paper)82.7

The ordering is consistent across the two metrics. The question-only changes sit close to the baseline. The paragraph-only change scores higher than either of them. The combination is highest on both. This consistency is useful because a technique might plausibly help the system locate roughly the right words without helping it place the boundaries precisely. For the combined condition, the exact-match result demonstrates that some additional predictions meet the stricter criterion. The aggregate scores leave open how many improvements involved better boundaries and how many involved finding an entirely different answer.

The improvements are measured against a baseline that was fine-tuned for the same task and already produces many correct spans. They show that input preparation can make a difference in a reading setup with contextual representations. The strongest evidence is for the paragraph substitution and the joint setup. The evidence for either form of expansion alone is weaker. An ordering of measured scores can support investigating those interventions, while the statistical comparison determines how firmly the paper can describe their individual effects.

How the auxiliary results fit

The scores from the auxiliary components help characterize the method without giving a direct measure of its success on SQuAD. For WordNet expansion, 81.3 F1 on held-out term classification examples indicates how well the classifier performs at assigning the categories used to select words. It gives no direct information about whether a particular accepted synonym occurs near a correct SQuAD answer. That consequence is captured only later, when the terms have been gathered, filtered, appended, and evaluated through span prediction.

Likewise, the English-to-English system's 99.69 BLEU on its development set and 94.19 BLEU on its held-out test set concern its generated sequences. Appending several high-overlap formulations could still offer little additional evidence for a particular example. The comparison of QA scores therefore tests a practical property beyond fluency or similarity to a translation reference. An alternative needs to contribute wording that makes the relevant part of a specific paragraph easier to identify.

The systems also differ in what kind of signal their outputs can provide. The lexical expansion has a direct path to adding a useful word. The translation expansion can offer a phrase whose form resembles the passage. The paragraph intervention can associate an action, date, place, or description with a fuller mention of an entity. The overall evaluation asks whether each such change helps the final span prediction. It does not assign separate scores to these hypothesized routes to improvement.

What the ablations show

What can be attributed to each preprocessing change

The baseline and the single-intervention configurations provide a component comparison. In each, the authors alter one part of the text preparation while following the same BERT fine-tuning setup. This gives the clearest evidence for coreference preprocessing by itself. The improvement against the baseline is significant on both answer metrics. The question expansion conditions score higher than the baseline but do not reach significance. That distinction is important because the three procedures are described together as ways of enriching context, yet the evidence for using each independently differs.

There is also a comparison of how many generated variants to append. Among the tested n settings of 3, 5, 7 and 12, the paper identifies 12 as the most effective for span prediction. That is a comparison within the translation-based intervention. The paper does not give the individual answer scores for the smaller list sizes in its main results discussion. It establishes which tested setting was best, with too little detail to trace the trend across all list sizes or judge how close the alternatives were.

The combined condition's result adds evidence that the procedures can be used together. The joint scores are higher than those of the strongest individual intervention, and the joint baseline comparison is significant. The authors say that they tried multiple combinations, but the main comparison gives the single procedures and the full combination. It does not report matched removals of each component from the full setting. The published comparisons therefore leave the individual contribution of each expansion method inside BERT 3F unresolved. The authors also give no significance comparison between the combined system and BERT CR.

Those gaps matter for interpreting the apparent complementarity. A synonym and a generated question could both expose the same useful wording. The rewritten paragraph could make that wording more informative by associating it with a named referent. Alternatively, the procedures could help different examples. All of these mechanisms are compatible with a gain for the combined configuration. The reported end scores show that the full preparation worked best in the main comparison. A complete account of why it worked would require measurements that follow the components into the combined setting.

The analysis below asks a different question. It groups development examples by properties of their questions, answers, or source articles and compares the baseline with the combined system in each group. This reveals where the relative performance carries over and where it does not. A group can contain several possible explanations for its difficulty, so these comparisons characterize the error patterns rather than isolating a single cause.

Which question words mark harder examples

The authors first group development examples by question word. Their rule recognizes “when,” “who,” “which,” “how,” “what,” “where,” “why,” and “whose.” The additional group, “other,” contains questions with none of the recognized words. The system predictions are then scored for exact match within each question type. This is a surface grouping, useful for finding broad relationships between question form and answer accuracy. It can be applied without first solving the question or assigning a detailed semantic description to it.

The baseline and BERT 3F do well on the groups associated with “whose,” “when,” and “who.” The paper describes intermediate performance for “which,” “how,” “other,” and “what,” with weaker results for “where” and “why.” BERT 3F leads the baseline in most question-type groups, with “other” and “which” as the exceptions to that lead. The same groups generally stay difficult or easy under both input configurations. Thus the overall gain is compatible with a fairly stable ordering of question difficulty.

The grouping is about how a question is worded, and that is only a partial description of what must be inferred to answer it. A “when” question commonly signals a time, while a “why” question asks for a reason. Still, the words alone tell little about how far apart the supporting clues are, how long the answer is, or how similar the question is to the relevant sentence. The analysis shows an association with scores. The paper's figures do not isolate which properties within the groups account for the difference between them.

The exceptions also qualify any claim that expansion helps because it gives the system more broadly useful language for every kind of question. Some categories fail to show the same advantage as the pooled score. This could reflect which questions populate the categories, the usefulness of the added wording, or the way the answer is represented in the corresponding passage. The comparison supplies the pattern of results. It does not trace the exceptions to specific preprocessing errors.

Whether the position of a question word matters

The next comparison groups questions by where the recognized question word appears. The authors give examples of a group in which the word is in the 1st position and a group spanning the 2nd to 5th positions. Questions without a recognized question word also form a group. The analysis compares exact match across the position ranges for BERT BASE and BERT 3F.

The paper finds no strong relationship between the position of the question word and accuracy. An early question word therefore does not emerge as a reliable marker of an easy example in this analysis. The relative performance of the two systems is more consistent. The combined configuration leads in the reported positional groups except for the group with no recognized question word.

Question type and question-word position describe different aspects of wording. A type describes which cue is present, whereas a position describes where a cue appears, pooling different cues that occupy a similar position. Better performance for certain words can coexist with a weak relationship between accuracy and where those words occur. Since the charts group naturally occurring questions, the experiment does not show what would happen if the same question were rewritten solely to move its question word.

The group without a recognized word also has a specific interpretation. Its members share the absence of one of the listed cues. They need not use the same grammatical construction or request the same kind of answer. The group is helpful for identifying where the overall advantage fails to carry over. Its definition provides little basis for explaining which underlying question forms account for that outcome.

What changes as the reference answer gets longer

A separate analysis partitions examples using the number of words in the reference answer. The paper illustrates the grouping with answers of one word and answers of two to five words. These are groups based on the correct answer, independently of how long a span the system actually chose. Their scores describe how frequently a system returns an exact answer when the reference falls within each length range.

The authors describe exact-match accuracy as declining linearly with growing reference answer length for both conditions. BERT 3F scores higher than BERT BASE in every answer-length group. This is a broader pattern of improvement than the one over question types, where there are exceptions. It also shows that the combined input preparation does not remove the association between answer length and exact-match difficulty.

A span can miss exact match through its beginning, its end, or its location entirely. A longer accepted span may contain more material whose inclusion matters to the evaluation. The plot is consistent with the authors' observation that longer answers are harder to predict. It does not count how many errors arise from including too few words, including too many, or choosing a different passage segment. The figures use exact match for this comparison, so they also leave open how much partial overlap is typical at each answer length.

The length grouping concerns the reference wording and should be read at that level. Some lengthy spans may express complex relations, while others may simply have longer names or more modifiers. The observed pattern describes the relationship between the size of the annotated answer and success under a strict span criterion. It cannot resolve which linguistic characteristics make the longer examples hard.

How performance varies by article

The source paragraphs allow the authors to group questions by Wikipedia title. This captures variation across articles, some of which cover specialized material. For the “American Broadcasting Company” article, the development examples receive 95.1 exact match from BERT BASE and 96.7 from BERT 3F. For “Steam engine,” the corresponding exact-match scores are 92.1 and 94.5. Both are cases where the baseline is already highly accurate and the combined system still scores higher.

“Packet switching” gives a different picture. The baseline obtains 47.2 exact match on that article's development examples, and BERT 3F obtains 58.5. The combined system performs better on those examples, and exact match remains much lower than for the other titles the authors highlight. This shows how an overall benchmark improvement can coexist with severe residual difficulty on a specific source.

The authors identify network-related material as an example of a specialized subject on which both systems struggle. They also mention difficulty with material that draws on several areas, such as administration, history, and law. Their survey of the titles suggests that BERT 3F frequently does better than the baseline in specialized cases. An article is a useful unit for seeing that variation because it ties the result to a recognizable body of text. It also combines features such as vocabulary, passage structure, and the questions written about the article.

The paper complements these grouped results with a manual inspection of a sample of development predictions and makes selected examples available online. That inspection adds individual cases to the distributional comparisons. The grouped evaluation identifies regularities in what the systems get right. The sample illustrates how predictions can differ on particular questions. The paper's strongest general findings from the analysis concern common difficulty patterns and the combined system's tendency to improve within many of the groups.

Limitations

Limits identified by the authors

The authors identify a specific omission in the WordNet procedure. The lexical expansion has no morphological generation component. A suitable synonym may consequently appear in a form that differs from the original question term, for example in how a verb is inflected. Because the synonym is appended as a clue, the system can still use it. Its usefulness may depend on how easily it can be associated with the form in the paragraph. The authors propose adding morphological generation as future work. Morphology

The authors acknowledge that the gains from either question expansion procedure by itself are statistically inconclusive. The score increases are observations from the SQuAD development split. The approximate randomization results are the reason to qualify what those observations establish. This is especially relevant to the WordNet method, where the intermediate classifier has a reported held-out score and the lexical choices have two similarity checks, yet the final answer improvement is small enough that the baseline comparison remains inconclusive.

They also identify weaknesses that persist after enrichment, including difficulties with some question types and some specialized or mixed-subject material. As directions for a more detailed analysis, they mention question length, distinctions between head and tail questions, and comparison with classical information retrieval systems. Those directions indicate dimensions that the current evaluation leaves open. For example, analysis by question word and its position does not tell how accuracy changes with the overall size of a question.

Limits visible in the experimental setup

All headline answer results come from one validation split of a benchmark built from Wikipedia. That confines the direct evidence to the reading conditions represented there. The paper has English-to-English preprocessing and an English QA setting. Other languages could differ in their available lexical resources, their ways of expressing reference, and the kinds of paraphrases their generators produce. Performance in those settings would need its own evidence. The article-level variation within SQuAD already shows that averaging across topics can conceal substantial differences in difficulty. English

The supplied paragraph is also central to the scope of the result. The use of query expansion comes from a field concerned with finding relevant material, but the study measures what happens when the evidence paragraph is known. A helpful expansion can improve the choice of span within that paragraph. The evaluation cannot show whether it would also retrieve the best document from a collection. Likewise, an exact answer in this setup gives evidence of success on extractive prediction. Questions requiring an answer assembled from several passages would call for a different test.

The largest generated list is selected from the list sizes investigated, and the reported QA scores are development-set scores. The paper gives a held-out test result for the translation task, which measures a different output. It does not report another QA test on which the selected list size is evaluated independently. The finding about list size identifies the strongest setting in the reported comparison, with no established answer about how well that choice would carry over to another sample.

The descriptions of the auxiliary procedures also leave some reproduction details open. For the lexical filters, the paper explains the conjunction of the two similarity thresholds but does not state their numerical values. It gives a result for the term classifier while saying less about the labeling data and the exact implementation of its inputs. For the same-language generator, it names the corpora and the split sizes without a full account of the construction of the English-to-English pairs. These choices can affect which words and sequences survive preprocessing, so reproducing the input enrichment exactly would require more information.

For paragraph rewriting, the paper offers the transformation rule and an illustrative replacement, with little detail about its effect on labeled span positions. A substituted mention can shift boundaries later in the paragraph. In some cases, changes in wording could matter to an annotated answer itself. A reader can infer the need to keep a span label aligned with the text on which the label is used. The paper does not document the handling of those cases in enough detail to evaluate their frequency or their effect on the scores.

An automatic resolver can also choose the wrong referent. A mistaken substitution would place misleading information directly in the passage given to the answering system. The significant average gain shows that the procedure can improve downstream results under the tested conditions. It does not give a per-reference accuracy estimate, a comparison restricted to examples with correct replacements, or a measurement of how frequently the rewriting harms an otherwise correct answer. The baseline comparison is evidence about the effect of using the preprocessing procedure as a whole.

The size and composition of the expanded input pose a related interpretive limit. Appended synonyms and alternative questions change both the information available and the amount of text the system sees. The reported experiment compares the full preprocessing choices. It does not provide an input-length control or a condition that appends irrelevant alternatives of comparable size. Consequently the results demonstrate the effect of the particular prepared inputs, while leaving the influence of their different properties unresolved.

Finally, the grouped error analysis describes associations. The question-type plot can show that “why” cases are hard, but a group can differ from other groups in answer length, subject matter, and where evidence occurs. The length plot shows a decline in exact match as the reference spans grow, without pinpointing which errors come from boundaries. The article examples reveal sizable differences in performance, but some titles may contain more difficult questions for reasons beyond domain specialization. Those qualifications help keep the error analysis tied to its purpose. It describes where the benchmark exposes greater or lesser difficulty and where the combined system's advantage persists.

What came after

The subsequent citing work places the study alongside research on coreference as a task in its own right. Bhattacharjee and colleagues use a resolver within a reading pipeline and judge its contribution through the answers the pipeline returns. Work centered on coreference asks how to produce the referent links themselves. These perspectives meet at the quality of the links, since a decision about which mentions belong together can change the evidence available to a downstream application.

The review listed under 2019 is an earlier-dated entry among the citing works. Its subject is neural entity coreference resolution, the area that supplies the links used for the paragraph substitutions. The dates and entry give no basis for treating it as a subsequent extension of the SQuAD experiments. Its connection is to the broader task of identifying expressions that denote the same entity. A Neural Entity Coreference Resolution Review

Maverick, listed under 2024, frames its contribution around efficiency and accuracy in coreference resolution. The connection to the earlier QA paper is through the resolver, whose decisions determine which expressions can be made explicit in a paragraph. In the QA study, answer accuracy is the way to measure the downstream value of that step. Maverick's title puts the emphasis on the properties of coreference resolution itself. The citing entry does not establish a reuse of the question expansion or a repetition of the SQuAD comparison. Maverick

The other 2024 entry concerns multilingual coreference in low-resource South Asian languages. Its scope extends the reference problem beyond the English setting used for the QA experiment. That is a concrete change in the research question. The original study uses the output of an available resolver to alter English passages. Work on low-resource multilingual coreference focuses on resolving references across a different range of language settings. The citing entry establishes that focus and does not specify whether those links were used for passage rewriting or answer extraction. Multilingual Coreference Resolution in Low-resource South Asian Languages

CorefInst, listed under 2026, approaches multilingual coreference using large language systems. It continues the emphasis on obtaining reference links across languages, with a different kind of system brought to the coreference task. Its connection to Bhattacharjee and colleagues is the shared need to identify which expressions denote the same entity. The citing entry supplies no result for the earlier paper's full question-expansion and passage-rewriting combination. CorefInst

The links thus document attention from research on coreference itself, including work concerned with efficiency and work spanning languages. The earlier paper's empirical contribution remains the downstream comparison it actually ran. Under the conditions of SQuAD span prediction, making references explicit helped on its own, and pairing that change with both forms of question expansion produced the strongest measured answer scores.

Cite

Cite as Santanu Bhattacharjee, Rejwanul Haque, Gideon Maillette de Buy Wenniger and Andy Way. 2020. Investigating Query Expansion and Coreference Resolution in Question Answering on BERT. Lecture notes in computer science.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.1007/978-3-030-51310-8_5

@inproceedings{bhattacharjee2020investigating,
  title = {{Investigating Query Expansion and Coreference Resolution in Question Answering on BERT}},
  author = {Santanu Bhattacharjee, Rejwanul Haque, Gideon Maillette {de Buy Wenniger} and Andy Way},
  booktitle = {Lecture notes in computer science},
  year = {2020},
  doi = {10.1007/978-3-030-51310-8\_5},
  url = {https://doi.org/10.1007/978-3-030-51310-8_5}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/bhattacharjee-2020-investigating-query-expansion-coreference-resolution/