Elamur Research

CoHS-CQG: Context and History Selection for Conversational Question Generation

Paper · 2022 · Xuan Long Do, Bowei Zou, Liangming Pan et al.

Summary

A follow-up question can be perfectly clear in conversation and puzzling by itself. If someone has just learned that a cat was abandoned, asking who did it is a natural next move. A system working from the passage alone might ask a more self-contained question that names the cat and repeats what happened. Both questions seek the same answer, but only the shorter question relies on what the speakers have already established. CoHS-CQG studies how to generate questions that fit an ongoing exchange as well as the passage it is about. The task sits alongside conversational question answering.

The authors approach the problem by deciding what the question generator should read. They score the relationship between each passage sentence and each earlier question–answer pair. A selector then looks for a short stretch of the passage and a short run of recent turns whose combined relevance reaches a threshold. The selected passage must include the sentence that supports the target answer, and the selected history must reach the latest turn. When the target answer is unknown, the system proposes candidate answers from the passage, generates a question for each, and uses a separate question-answering component to check whether the question leads back to the proposed answer.

On the original CoQA validation set, which the authors use as their test set, answer-aware CoHS-CQG reaches 49.91 ROUGE-L and 19.11 BLEU-4. The T5 baseline with full inputs scores 45.80 and 17.03 on those measures. Selecting passage sentences or prior turns independently also helps, and joint selection gives the highest scores reported in the comparison. Human judgments favor joint selection on conversational alignment, with scores of 2.58 for CoHS-CQG and 2.44 for T5. Fluency scores are closer at 2.74 and 2.72. In the answer-unaware comparison, where the conversation is generated rather than supplied, CoHS-CQG also receives higher human scores than ReDR. CoQA

The results show that giving a question generator more material can make it harder to write a question that depends on the right part of the conversation. They also show a cost to cutting too much: the shortest tested inputs fall below the best joint setting. The evidence comes from passage-grounded CoQA conversations, and the strongest reference-based results use a supplied answer, supporting evidence, and human-written conversation history. The answer-unaware experiment tests a different job, in which the system must first decide what could be worth asking about and then check the question it produces.

Deep dive: CoHS-CQG: Context and History Selection for Conversational Question Generation

CoHS-CQG selects which passage sentences and past turns to keep when generating a follow-up question, and tests the approach on CoQA. · about 33 minutes to read

The problem and its context

A question has to fit what came before

In single-turn question generation, the basic job is to produce a question from a piece of text. If an answer is supplied, the question needs to elicit that answer. Without an answer, the system also has to decide which part of the passage to ask about. In either case, a question can typically be judged in relation to that passage. A conversation adds another source of meaning. A speaker may leave out words because an earlier turn has already named the person, event, or place. The question then works because the listener can recover what has been left implicit.

The authors identify two challenges in prior work on conversational question generation. Coreference alignment concerns how expressions in one turn connect to the people or things discussed earlier. A pronoun is an obvious example, but a follow-up may also omit the very material that identifies its topic. Conversation flow concerns how successive turns develop an exchange. The question may pursue a detail in the preceding answer, work through related information in the passage, or move to a new topic. A system can identify the right referent and still ask a question that feels poorly timed. The first challenge is closely related to coreference resolution.

The paper’s cat example shows why these challenges are distinct from answer correctness. The passage tells how the narrator found the cat and later learned that its owner had abandoned it. By the time the exchange reaches the next question, the previous answer has already established the abandonment. A fully stated question can recover the owner as the answer. A follow-up can instead ask only for the person responsible, leaving the event itself implicit. The passage supports either formulation. Their difference lies in how much they take for granted about the listener’s knowledge.

A second example involves a passage about Paul and Arthur. The preceding conversation has already established their relationship and where they met. The target answer concerns when Paul found his brother. A question generator has to pick up the event from the conversation while finding the relevant time in the passage. The surrounding text mentions other times and events, so the mere presence of temporal language gives little guidance. What matters is which time belongs to the event under discussion.

These examples motivate the paper’s treatment of input selection. The useful unit in the passage may be a sentence that supports a particular answer, with neighboring sentences providing enough context for names and events to make sense. The useful unit in the history is a question together with its answer. An answer might carry the new information that makes the follow-up possible, while the preceding question explains what that answer was about. Keeping the two together gives the selector a better-defined piece of dialogue to compare with the passage.

How earlier work approached question generation

The paper traces single-turn generation from systems that transformed statements using syntactic rules to systems that learned to produce a question as an output sequence. A rule can turn a declarative statement into a question by changing its grammatical form. A learned sequence-to-sequence approach treats the passage and any supplied answer as input text and learns to write the question from examples. The earlier reading-comprehension work the authors highlight helped establish that formulation. Learning to Ask

The distinction between answer-aware and answer-unaware generation was already present in single-turn work. In the answer-aware case, earlier systems could include the answer as an additional input feature or process it with a separate encoder. In the answer-unaware case, a common design was to identify an answer span first and pass it to an answer-aware generator. The term span refers to a piece of text drawn from a passage. Choosing one is a way to narrow the open-ended decision of what to ask. The paper describes more recent single-turn systems as relying on transformer architectures and commonly being evaluated on SQuAD.

Conversational generation had received less attention in the account the authors give. Much of the work they discuss addressed generation without a supplied answer. Among the answer-aware systems, CFNet explicitly represented coreference alignment and conversation flow. ChainCQG split the work between an answer encoder that represents the passage and answer span at each turn and a question generator that represents conversational history and produces the next question. The emphasis was on how to encode and connect the available material. Interconnected Question Generation

CoHS-CQG asks which material should reach the generator in the first place. Many of the earlier conversational generators discussed in the paper consumed the whole passage and all preceding question–answer pairs. Some work on conversational machine comprehension had already considered selecting historical information, for example by taking a fixed number of the most recent turns. This is a plausible shortcut because the latest answer frequently matters. Its drawback is that it treats the same amount of history as useful at every point. A topic change may make much of that window irrelevant. A more sustained exchange may need several linked turns to make sense.

The same question arises on the passage side. A reading passage can cover several events, and the part that best supports the next question may occupy only a small stretch. The latest turn helps locate the part of the passage currently in play, while the passage helps tell which earlier turns belong with that part. CoHS-CQG therefore treats document selection and history selection as related decisions. The method is designed to preserve enough context for a coherent follow-up while reducing the amount of surrounding material the generator has to process.

That decision matters in both task settings, but it does different work in each. With a supplied answer and rationale, the passage has a known anchor and the remaining task is to phrase a suitable question. Without them, the system must choose an anchor as part of generating the conversation. The authors build the first setting around the selection procedure and use it as a component of the second. This gives them a way to study input selection under controlled conditions and a way to see how the procedure behaves when its anchors come from earlier stages of a pipeline.

The method, step by step

What the generator receives

The paper calls the reading passage the context. Treat it as an ordered list of sentences. The history is an ordered list of completed turns, with each turn consisting of a question and its answer. In the answer-aware setting, the next answer is supplied along with its rationale, a span of the passage that contains or supports that answer. The distinction matters because a CoQA answer can be written freely. The rationale points the generator to the evidence even when the answer is expressed differently from the wording in the passage.

At a given turn, the answer-aware input is written as follows.

Dₙᵃ = (C, Hₙ, aₙ, rₙ)

Here Dₙᵃ is the input in the answer-aware setting, with the superscript a marking that setting. The subscript n identifies the turn being generated. C is the passage, Hₙ is the history before that turn, aₙ is the supplied answer, and rₙ is its supporting span. The parentheses group the components and the equals sign specifies what the input contains. The output is qₙ, the question for the current turn.

In the answer-unaware setting the initial input has fewer components.

Dₙᵘ = (C, Hₙ)

Here Dₙᵘ is the input in the answer-unaware setting, marked by superscript u. The symbols n, C, and Hₙ again refer to the current turn, passage, and preceding history. The parentheses and equals sign have the same grouping and defining roles. The target is still qₙ, but the supplied data now provide neither aₙ nor rₙ. In the continuous-generation experiment, the available history consists of generated exchanges.

The central operation is shared. Context and History Selection, abbreviated CoHS, chooses a passage window and a history window for the question generator. In the answer-aware setting it uses the supplied rationale to anchor the passage window. In the answer-unaware setting an earlier stage identifies a sentence to use as the rationale and proposes an answer from it. The generator can then handle that inferred pair in much the same way it handles a supplied pair.

How CoHS-CQG prepares and generates a follow-up question

The steps in order.

How CoHS-CQG prepares and generates a follow-up questionStep 1: Read the passage and previous turns1. Read the passage and previous turnsStep 2: Encode sentences and prior question–answer pairs2. Encode sentences and prior question–answer pairsStep 3: Use supplied evidence or propose candidate answers3. Use supplied evidence or propose candidate answersStep 4: Select a passage window and recent turns4. Select a passage window and recent turnsStep 5: Generate a question from the selected input5. Generate a question from the selected inputStep 6: For proposed answers, check the question’s answer6. For proposed answers, check the question’s answer

Scoring passage sentences against earlier turns

The selector starts by representing each passage sentence as a vector, a sequence of numbers produced by a pretrained sentence encoder. It also represents each earlier turn as a vector. To make the turn representation, it joins the question and its answer and encodes the resulting text. A bare answer might consist of a name or even a short confirmation. Its associated question can supply the information needed to relate the turn to a particular part of the passage. The paper uses a pretrained sentence-transformer for these representations. Sentence-BERT

The next step compares every passage sentence with every previous turn. The comparison is cosine similarity, a measure of how closely two vectors point in the same direction. Using eᵢ for the sentence vector and bⱼ for the turn vector makes it easier to distinguish an embedding from the answer notation used elsewhere.

T[i][j] = rel(cᵢ, (qⱼ, aⱼ)) = (eᵢ · bⱼ) / (‖eᵢ‖ ‖bⱼ‖)

T is the matrix of relevance scores, with one row per passage sentence and one column per previous turn. In T[i][j], the brackets select the row indexed by i and the column indexed by j. The row corresponds to sentence cᵢ. The column corresponds to turn (qⱼ, aⱼ), where qⱼ is the question and aⱼ is its answer. rel names the relevance function. eᵢ is the embedding of cᵢ, and bⱼ is the embedding of the concatenated turn. The dot · denotes the vector dot product. The double bars ‖ ‖ denote each vector’s length, and / divides the dot product by the product of those lengths. i runs from the first through the mth passage sentence, where m is the passage length in sentences. j runs from the first completed turn through the turn immediately before n.

The score measures a relationship between a passage sentence and an earlier exchange. It can be high where a sentence and a turn discuss similar content even if the same words are absent. It is also a proxy for relevance. There is no vector for the next question in this calculation, since that question is what the system is trying to generate. The target answer does enter the generation input, and the target rationale determines a required sentence, but neither substitutes for the comparison of passage sentences with earlier turns. This is the role that semantic similarity plays in the method.

A useful way to read the score matrix is to imagine highlighting neighboring rows and the rightmost columns. Neighboring rows correspond to consecutive sentences. The right edge corresponds to the latest exchange, and extending the region leftward takes in progressively older exchanges. Each cell inside the highlighted rectangle describes how well a retained sentence and a retained turn match one another. The sum of those cells is what the threshold applies to.

Finding a short pair of windows

CoHS imposes a different shape on each side of the selection. The passage window consists of consecutive sentences and can come from different positions in the passage. Its start and end are allowed to move as long as it contains the rationale sentence. The history window is a suffix. It always goes through the latest completed turn, and the variable decision is how far back it extends. In the joint procedure, contiguity preserves the order and local connections of the retained text.

Cₛᵤᵦ = (cᵥ₋ᵤ, …, cᵥ₋₁)

Cₛᵤᵦ is the retained part of C, and the subscript sub marks the selection. Each c with a subscript is a passage sentence at the specified position. v is the position immediately beyond the chosen window, and u is the number of sentences kept. The minus signs give positions relative to v, 1 marks the step back from the exclusive endpoint, and … includes the intervening sentences in order. Parentheses group the ordered selection.

Hₛᵤᵦ = ((qₙ₋ₖ, aₙ₋ₖ), …, (qₙ₋₁, aₙ₋₁))

Hₛᵤᵦ is the retained part of the conversation history. k is the number of prior turns kept, and n is the position of the question to generate. Each inner pair contains the historical question q and answer a at the position in its subscript. The minus signs mark positions before n, and 1 identifies the latest completed turn. The ellipsis includes all intervening turns, and the outer parentheses group them as an ordered selection.

The optimization prefers a small total number of retained sentences and turns.

minimize (u + k)

u counts passage sentences and k counts history turns. The plus sign adds their counts, while minimize asks for the smallest total among candidates that meet the constraints. The count gives each sentence and each turn the same cost as a retained unit. Actual text length can vary across those units.

∑ᵢ₌ᵥ₋ᵤᵛ⁻¹ ∑ⱼ₌ₙ₋ₖⁿ⁻¹ T[i][j] ≥ p

The ∑ signs sum over all selected sentence positions i and all selected turn positions j. The first sum goes from v − u through v − 1, the bounds of the passage window. The second runs from n − k through n − 1, the bounds of the history suffix. T[i][j] is the cosine relevance score for that pair. The sign ≥ means the resulting total must reach or exceed p, the relevance threshold.

The condition applies to the whole rectangle of scores. It does not impose a separate threshold on every sentence or every turn. A sentence may have little similarity to a particular turn and still be useful as part of a larger window, or it may be included simply because it lies between the rationale and a relevant neighboring sentence. Likewise, older turns that are reached by a longer suffix are retained with all the turns in between. The criterion rewards a jointly useful region while leaving room for these local connections.

(qₙ₋₁, aₙ₋₁) ∈ Hₛᵤᵦ and cₛ ∈ Cₛᵤᵦ

(qₙ₋₁, aₙ₋₁) is the latest completed question–answer pair. cₛ is the passage sentence at position s that contains the rationale rₙ. Hₛᵤᵦ and Cₛᵤᵦ are the selected windows, and ∈ means the named element must be included in that window. Both conditions apply when the history is available.

The authors call this a top-p strategy and cite the work on neural text degeneration as inspiration. In CoHS, p is a threshold on the sum of sentence–turn similarities. The values used in the experiments can exceed a probability because the score being compared with the threshold is a sum over multiple cells. The paper uses beam search separately to produce the question after selection. The Curious Case of Neural Text Degeneration

If there is no history, the pairwise relevance calculation has no completed turns to compare with the passage. The paper uses five sentences around the rationale sentence in that case. Its appendix gives the static rule for choosing such a window. With enough room on each side, it takes the rationale sentence together with the two sentences before it and the two after it. Near the beginning it uses the first five sentences. Near the end it uses the last five. The appendix also evaluates this fixed window with a full history as a separate comparison.

Generating the question from the selected material

The answer-aware generator is based on T5. Its input starts with the answer and supporting span. It then supplies the selected passage sentences and the selected conversation turns, with a separator between the two kinds of context. The target during fine-tuning is the recorded next question. The generator therefore gets both the evidence needed to answer the question and the turns that can tell it how much the question needs to spell out. T5

Selection is part of the preparation of the examples on which the generator is trained. At application time the generator again receives the shortened input. This makes the paper’s comparison a test of a generation system trained and used with selected material. It does not just test what happens when words are taken away from a system that has already learned to expect the whole passage and history. The selected sentences and turns are provided as text, so the generator can still use their wording and order.

The base T5 backbone is described as having 220M parameters. The authors initialize from pretrained Hugging Face checkpoints and use AdamW for training. They report a warmup ratio of 0.1 and an initial learning rate of 1e-4. Warmup is an adjustment of the learning rate at the start of training. The run uses 100k training iterations and a window size of 512. As it generates the question, the reported decoding method keeps several possible output sequences in play using beam search with a width of four. Transformers and AdamW

The sentence encoder and the question generator have separate jobs. The encoder provides the similarity scores used to choose the input. The generator learns to write a question from what it receives. The paper presents this separation as a reason the selection stage could be placed in front of other conversational generators. Its principal experiments use T5, and the authors identify their public implementation by the name CoHS-CQG.

Generating without a supplied answer

In the answer-unaware setting, the method first chooses the earliest sentence in the passage that does not contain a rationale used in an earlier turn. It takes this sentence as the current rationale. The rule gives the system a way to move through a passage and avoid reusing evidence it has already covered. It also shapes what the conversation can ask about. Before the question generator sees the input, the earliest eligible sentence has already narrowed the set of possible targets.

An answer-span extractor proposes candidate answers from that sentence. It is a T5 component trained on SQuAD to predict an answer span given the sentence in which the span originally appeared. The training direction is worth distinguishing from question answering. The extractor reads a sentence and identifies a possible answer to ask about. It has no question to resolve at this point. The paper removes proposed spans that repeat answers from earlier turns, an additional guard against asking again for information already obtained.

Aₙ* = {a₁*, a₂*, …, aₜ*}

Aₙ* is the collection of candidate answer spans at the current turn n. The star marks proposed answers. Each a with a subscript denotes an answer candidate at that position in the collection, and t is the number of retained candidates. The braces group the candidates and … stands for the intervening entries. For a candidate aᵢ*, i identifies its position, and the associated candidate question is written qᵢ*.

Each proposed answer goes through selection and generation with the chosen rationale and the current conversation. This is the point at which the answer-unaware pipeline reuses the answer-aware design. The two settings differ in where the answer and rationale originate. After those pieces are available, the generator can still be conditioned on an answer, evidence from the passage, and a short history.

The last step is a question filter. The authors train a T5 component on CoQA to answer generated questions. Its prediction is checked against the candidate answer that prompted the question. A question passes when the predicted and intended answers are the same. The check is useful because a question can read well and still ask for a different detail from the one the extractor proposed. It can also be unclear enough that the reader cannot recover the proposed answer.

Span extraction and question filtering address different points of failure. Extraction supplies a specific detail for the generator to target. Filtering tests the question that was actually produced. The filter checks the resulting question and answer as a pair, so it leaves the generator free to choose a short follow-up if the conversation makes it interpretable. Its agreement rule is narrower than a general judgment about the question. A check can succeed on an answer while leaving open whether the question is interesting, timely, or phrased the way a person would phrase it. Those qualities are part of why the authors evaluate the generated questions with human readers.

Experiments and results

The corpus, the splits, and the comparisons

CoQA provides a reading passage and a sequence of question–answer pairs for each conversation. The authors describe it as containing 8k conversations and 127k question–answer pairs gathered via Amazon Mechanical Turk. Its questions frequently ask for facts such as a person, a place, or a time, and answers can be written in free form. It offers both the passage that supports an answer and the conversation that gives a follow-up its local meaning.

The authors say the original CoQA test set is unavailable. They randomly take 10% of the original training set to form their own validation set and use the original CoQA validation set as their test set. This distinction matters when comparing numbers across the paper. The main automatic comparison calls the original CoQA validation set the test set. The fixed-history experiment, by contrast, explicitly uses the authors’ validation set. A setting tuned on one split cannot be compared directly with a score on the other as if both came from the same examples.

For answer-aware generation, the broadest comparison includes standard T5 base and BART base generators fine-tuned on CoQA, plus the conversational systems CFNet and ChainCQG. The authors reimplement CFNet. They also reimplement ChainCQG because the available code was incomplete and the original results used a different test split, drawn as 10% of the training set. The comparison involving ChainCQG therefore concerns that reimplementation under the CoHS-CQG evaluation setup. BART

Two additional T5 variants use the selection mechanism on one input at a time. Dynamic history selection retains the whole passage and varies the number of preceding turns. Dynamic context selection varies the passage window while retaining a fixed recent history. These variants serve a different purpose from the earlier-system baselines. They test whether the improvements can already be obtained by shortening just one side of the input. For answer-unaware generation the comparison in the human evaluation is with ReDR, the framework the paper takes as its baseline in that setting.

What the automatic scores measure

The automatic metrics compare the generated question with the recorded question. ROUGE-L rewards matching text that follows the same sequence, so it can reflect how much of the reference wording the output preserves in order. The paper reports ROUGE F-scores. BLEU looks for overlap in sequences of words, with the reported BLEU variants ranging from individual words to longer groups. The authors calculate BLEU at the corpus level. These metrics help capture the surface form of a follow-up, including whether the output repeats details that the reference leaves implicit. ROUGE and the BLEU score

The paper also reports METEOR, another metric for comparing an output with a reference, and BERTScore, which compares them using contextualized representations. Contextualized representations encode words in relation to the text around them. This gives BERTScore a different basis for similarity from direct overlap in word sequences. The metrics still share a reference question. A different formulation can be natural and answerable while scoring less well because it chooses a different way to continue the conversation. METEOR

Answer-aware automatic results

On the original CoQA validation set used as the test set, the best reported joint setting uses a threshold of 5. It leads the comparison across the reported automatic metrics. The main ROUGE-L comparison includes the earlier systems, the two full-input generators, and both T5 selection variants.

Answer-aware systems on the CoQA test split by ROUGE-L

Joint selection leads the comparison, with dynamic passage selection the closest alternative.

Answer-aware systems on the CoQA test split by ROUGE-LCFNet: 41.25CFNet41.25Reimplemented ChainCQG: 42.22Reimplemented ChainCQG42.22BART base: 44.77BART base44.77T5 base: 45.80T5 base45.80T5 with dynamic history selection: 48.64T5 with dynamic history selection48.64T5 with dynamic context selection: 49.69T5 with dynamic context selection49.69CoHS-CQG (this paper): 49.91CoHS-CQG (this paper)49.91
The numbers
System or settingROUGE-L
CFNet41.25
Reimplemented ChainCQG42.22
BART base44.77
T5 base45.80
T5 with dynamic history selection48.64
T5 with dynamic context selection49.69
CoHS-CQG (this paper)49.91

The BLEU results follow the same order at the top. On that test split, the joint system scores 42.10 on BLEU-1, 31.86 on BLEU-2, 24.65 on BLEU-3, and 19.11 on BLEU-4. Full-input T5 scores 39.09, 29.04, 22.17, and 17.03 on those respective metrics. Dynamic passage selection comes closest to joint selection on BLEU-4, reaching 18.72, while dynamic history selection reaches 18.18. Reimplemented ChainCQG and BART base score 14.54 and 15.09 on BLEU-4, and CFNet scores 12.39.

On the same answer-aware test comparison, joint selection obtains 37.76 METEOR and 93.65 BERTScore. Full-input T5 obtains 34.09 and 93.07. Dynamic context selection is again close to the joint setting, with 37.42 METEOR and 93.61 BERTScore. The largest distinction in this set of comparisons is between giving T5 all of the input and giving it a selected input. Joint selection then offers an additional improvement over either one-sided setting as tested.

The results establish that the choice of input affects agreement with the recorded questions across several metrics. They also show that agreement improves when the system has freedom to vary both windows. The scores alone cannot say whether the associated change is in factual validity, grammar, or the choice of a more conversational expression. Those properties can move independently, which is why the paper asks human annotators to score them separately.

How people judged the questions

In the answer-aware experiment, the authors randomly select 100 generated questions and evaluate them with the associated passage and history. In the answer-unaware experiment, a random sample of individual questions would mix different points in conversations of possibly different lengths. The authors instead sample 20 passage contexts from their test split and use the first five generated turns from each system for each context. They report 100 samples for the comparison. This puts the systems on the same passages and compares the opening portions of their generated exchanges.

The paper uses three native speakers of English as annotators. The overall scale is 1–3, with 3 the highest score. Fluency includes grammatical quality, meaning, and factual correctness in context. A well-formed sentence can consequently receive a poor fluency score if it describes something the passage does not support. Conversational alignment asks whether the question fits the available dialogue. Answerability asks whether a reader can answer the question from the relevant material. The paper reports agreement using Krippendorff’s alpha, a coefficient for how consistently annotators apply the ratings. The judgments are part of the paper’s linguistic annotation.

The rating instructions differ across settings because the evidence available to the judges differs. In the answer-unaware task, there is no human-written history for the generated conversation, and the conversational-alignment rubric does not define a score of 2. For answerability, there is also no supplied target answer or rationale. The authors explain that for their own pipeline the selected candidate answers can still inform the higher answerability ratings. The resulting scores describe each evaluation setup and should be read with its rubric in view.

Answer-aware human results

For the answer-aware sample from the original CoQA validation set, CoHS-CQG receives 2.74 for fluency, 2.58 for conversational alignment, and 2.60 for answerability. The corresponding T5 base scores are 2.72, 2.44, and 2.54. BART base receives 2.38, 2.23, and 2.34. The improvement over T5 is most visible on conversational alignment. This is consistent with the paper’s goal of producing a good next turn while preserving the general fluency already present in the baseline.

The per-criterion agreement coefficients for this answer-aware sample are 0.80 for fluency, 0.71 for conversational alignment, and 0.77 for answerability. The authors report an overall alpha of 0.76. The judgments on alignment are somewhat less consistent than the judgments on fluency in this sample. That distinction is relevant because alignment is also where joint selection makes its clearest human-rated improvement over T5.

Answer-unaware human results

On the sampled answer-unaware conversations from the same test split, CoHS-CQG receives 2.70 for fluency, 2.41 for conversational alignment, and 2.73 for answerability. ReDR receives 1.06, 1.06, and 1.05. These scores compare complete approaches to generating the early turns of a conversation. CoHS-CQG in this setting includes the stages that choose candidate answers and filter the questions as well as the stage that shortens the input.

Answer-unaware conversational alignment on sampled CoQA test conversations

Annotators rate the CoHS-CQG questions as better aligned with their conversations.

Answer-unaware conversational alignment on sampled CoQA test conversationsReDR: 1.06ReDR1.06CoHS-CQG (this paper): 2.41CoHS-CQG (this paper)2.41
The numbers
System or settingMean conversational alignment rating
ReDR1.06
CoHS-CQG (this paper)2.41

The authors describe the ReDR outputs they inspected as often repetitive and often factually wrong or difficult to interpret in the passage. They attribute part of CoHS-CQG’s answerability performance to its filtering stage, since questions must pass a check against the proposed answer before they can be included. Agreement in this setting is 0.84 for fluency, 0.85 for alignment, and 0.82 for answerability, with an overall alpha of 0.83. Together with the answer-aware experiment, these results support the value of the complete system on the sampled CoQA material. The component comparisons examine more specifically what selection, answer extraction, and filtering contribute.

What the ablations show

How much context and history to retain

The joint threshold sweep asks whether the improvements come from making the input as short as possible or from choosing a useful amount of material. In the CoQA results, a threshold of 1 retains 3.18 sentences and 1.89 prior turns on average, with ROUGE-L of 48.96 and BLEU-4 of 18.19. A threshold of 5 retains averages of 5.29 sentences and 3.67 previous turns, and reaches 49.91 ROUGE-L and 19.11 BLEU-4. The full-input setting, denoted by an infinite threshold in the table, has averages of 16.09 sentences and 7.97 prior turns and scores 45.80 ROUGE-L and 17.03 BLEU-4. Those full-input and peak scores match the settings shown in the main test comparison.

Joint relevance thresholds on CoQA by BLEU-4

An intermediate threshold gives the strongest reference overlap in the sweep.

Joint relevance thresholds on CoQA by BLEU-4Threshold 1: 18.19Threshold 118.19Threshold 2: 18.61Threshold 218.61Threshold 3: 18.65Threshold 318.65Threshold 5 (this paper): 19.11Threshold 5 (this paper)19.11Threshold 7: 18.69Threshold 718.69Threshold 10: 18.52Threshold 1018.52Full passage and history: 17.03Full passage and history17.03
The numbers
System or settingBLEU-4
Threshold 118.19
Threshold 218.61
Threshold 318.65
Threshold 5 (this paper)19.11
Threshold 718.69
Threshold 1018.52
Full passage and history17.03

The sweep gives a more specific account than a comparison between full and reduced inputs. The smallest measured inputs give up some performance relative to the intermediate setting. After the peak, retaining more of both sources again lowers the reference-overlap scores. Threshold 10, for instance, retains 8.12 sentences and 4.92 history turns on average, with ROUGE-L of 49.18. That remains ahead of the full-input setting on this metric. The result is consistent with needing some neighboring evidence and prior dialogue while benefiting from leaving out much of the rest.

The authors also use average window sizes to examine the balance between the two sources. As the threshold increases, the reported averages grow on both sides. They interpret this as evidence that the procedure can draw from both without consistently favoring a large window from just one source. These are aggregate measurements. They reveal how much the system tends to retain and leave open which source dominates in any particular question.

Changing the history while keeping the passage

The fixed-history comparison keeps the full passage and gives T5 a fixed number of preceding turns. On the authors’ validation split, the last 2 turns give the highest ROUGE-L, 48.34. The last 3 yield the highest BLEU-4, 17.68. Giving T5 the full history on this split yields 45.33 ROUGE-L and 16.73 BLEU-4. A short fixed history can therefore help on both measures even without a relevance calculation, and the preferred length depends on which metric is used.

Dynamic history selection keeps the full passage but looks for the shortest recent history that meets a relevance threshold. Its constraints are the full-passage specialization of the joint score and the requirement to keep the last turn.

∑ₓ₌₁ᵐ ∑ᵧ₌ₙ₋ₖⁿ⁻¹ T[x][y] ≥ p

x indexes passage sentences from the first sentence at position 1 through position m, the total sentence count. y indexes turns from n − k through n − 1, with n denoting the current turn and k the number kept. T[x][y] is the relevance score for that sentence and turn. The two ∑ signs add the scores across the full passage and the selected history, and ≥ p requires the total to reach the given threshold p.

(qₙ₋₁, aₙ₋₁) ∈ Hₛᵤᵦ

qₙ₋₁ and aₙ₋₁ are the question and answer of the latest completed turn. The parentheses group them as a turn, Hₛᵤᵦ is the selected history, and ∈ requires that the turn be included. The no-history setting in the sweep is a separate comparison.

On the test split, a history threshold of 0.5 selects 2.57 prior turns on average and gives the best dynamic history scores, 48.64 ROUGE-L and 18.18 BLEU-4. The threshold-0 comparison, which supplies the passage and no history, scores 43.91 and 15.32 on those measures. With the full history, the test scores are 45.80 and 17.03. Within this experiment, both discarding every turn and supplying the entire history perform worse than the best dynamic window. Its average length is in the neighborhood of the better fixed-history settings, although the fixed-history comparison uses a different split.

Changing the passage while keeping the history

The complementary comparison fixes the history to the last 3 turns, using the fixed length favored by BLEU-4 on the authors’ validation split. It then looks for the shortest contiguous passage window whose pairwise similarity sum reaches the threshold and that includes the rationale sentence. Since the history length is fixed, the only window the selector can shorten or extend is the passage.

∑ₓ₌ᵥ₋ᵤᵛ⁻¹ ∑ᵧ₌ₙ₋ₖⁿ⁻¹ T[x][y] ≥ p

x runs across the u retained sentences from v − u to v − 1, where v is the position just beyond the passage window. y runs across the fixed k previous turns from n − k through n − 1. n is the current turn, and 1 marks the position immediately before either exclusive endpoint. T[x][y] is the relevance of the sentence to the turn. The ∑ signs add these scores, and ≥ p requires their total to meet threshold p.

cₛ ∈ Cₛᵤᵦ

cₛ is the sentence at position s containing the supplied rationale. Cₛᵤᵦ is the retained passage window. The membership symbol ∈ requires the window to include that sentence.

The strongest context-only threshold is 1. On the paper’s test split it keeps 4.35 sentences on average and scores 49.69 ROUGE-L and 18.72 BLEU-4. With only the rationale sentence and the same fixed history, the scores are 48.15 and 17.88. With the full passage and that history, the scores are 48.31 and 18.01. The comparison gives evidence for the value of material surrounding the rationale. It also suggests that more of the passage makes a difference only when the added sentences are useful to the current question. At threshold 2, the average grows to 8.28 sentences and the scores are below the peak at 49.47 ROUGE-L and 18.43 BLEU-4.

The appendix tries a static alternative as well. It supplies five sentences around the rationale using the boundary rules described earlier, while retaining the whole conversation history. T5 gives 47.02 ROUGE-L and 17.24 BLEU-4, which the authors compare favorably with the full-input baseline in the main test results. This shows that a simple rationale-centered cut can account for some improvement. The static rule keeps the whole history, so its score alone does not isolate whether the additional gains from a dynamic context system come from better sentence choice or from that system’s shorter history. The context-only sweep gives the closer comparison because its history stays fixed.

Removing answer extraction and question filtering

The answer-unaware ablations evaluate questions with the human rubric. Without the answer-span extractor, the authors supply the whole rationale sentence in place of a predicted answer span. They also remove filtering in this variant. Feeding the broader sentence gives the generator less precise guidance about which detail to ask for. On the original CoQA validation set, the reported ablation scores are 2.13 for fluency, 1.76 for conversational alignment, and 1.64 for answerability. Because filtering is removed too, the comparison of this variant with the complete system combines the loss of answer specificity with the loss of verification.

The filter-only ablation keeps the extracted candidate and allows all generated questions through. It receives 2.16 for fluency, 1.98 for conversational alignment, and 2.02 for answerability. The authors describe cases in which unfiltered turns ask similar questions with the same answer. The pass criterion concerns agreement with the intended answer on a given question, so the observed repetition is evidence from the outputs instead of a description of a separate duplicate-question rule in the filter. Comparing the two removal variants also gives a way to assess answer extraction when filtering is off in both. The variant that keeps the extracted answer receives higher scores on all three criteria.

The ablation table labels its complete-system row as answer-unaware and gives 2.74 for fluency, 2.58 for alignment, and 2.60 for answerability. These are the same numbers as the complete system’s answer-aware row in the main human evaluation. The main answer-unaware row instead gives 2.70, 2.41, and 2.73. The paper does not explain the discrepancy. Both ablated variants score below either reported complete-system row, which supports the direction of the authors’ conclusion. The discrepancy leaves the precise comparison with the complete answer-unaware system uncertain.

What changes in the generated wording

The case studies show how the same target answer can lead to different questions. In the cat example, the last exchange has established that the animal was abandoned. Full-input T5 generates a question that restates the event and asks for the person who did it. CoHS-CQG generates a brief follow-up that relies on the preceding answer for the event. In the paper’s example it matches the recorded question. The contrast is informative because both forms point to the owner. The difference is in how they manage what is already known between turns.

The authors interpret such examples as evidence that a generator given the full passage and history may lean heavily on the supplied answer and rationale. Those two inputs make it possible to write a self-contained question about a fact in the passage. Shortening the passage and the history can leave the relevant local exchange easier to use, which gives the generator a basis for omitting repeated material. The case studies show the resulting difference in wording. The human alignment experiment supplies broader evidence that the difference matters to readers, including when exact reference overlap cannot settle whether a question is a good follow-up.

Limitations

Limits and open problems identified by the authors

The authors describe selection as a heuristic based on relevance and contiguity. They identify reasoning about which contiguous material is worth questioning as future work. That leaves an important distinction between finding sentences that resemble the current exchange and identifying which fact would make for an informative next question. In the answer-unaware pipeline, the earliest eligible rationale sentence and the candidate answer extracted from it make that choice tractable. The paper’s planned direction is to reason more directly about the content worth asking about.

The paper also acknowledges that multiple questions can validly continue the same dialogue, even when an answer is supplied. This is why it supplements reference-based scoring with human ratings. Its strongest automatic result shows closer agreement with the recorded CoQA questions. Human scores give additional evidence on grammar, factual fit, conversational alignment, and answerability, but they cover sampled outputs and the particular criteria in the study.

Two comparison limits are explicit. The original CoQA test data were unavailable to the authors, so they used the original validation split as their test set. The original ChainCQG result used its own split and could not be reproduced directly with the available code. The comparison in the paper is with a reimplementation. These details matter when interpreting the authors’ claims of leading performance: the reported rankings apply to the systems and test setup in their evaluation.

Limits visible in the experimental setup

All the main generation experiments concern CoQA, where a passage grounds the exchange and many questions ask for facts. SQuAD supplies training data for the answer extractor, while the continuous conversation results still come from CoQA. The evidence therefore leaves open how the method would handle open-ended conversation, dialogues grounded in more than one document, or passages requiring evidence from widely separated sentences. A contiguous window preserves the text between related points when it can keep that entire window. If the needed evidence is far apart, contiguity makes retaining both pieces more expensive under the objective.

The history suffix has a related tradeoff. It always includes the latest exchange and grows backward as one block. That is a natural fit for the cat example, where the last answer directly licenses the next question. A return to a much earlier topic could require retaining all intervening turns to recover an older antecedent. The paper’s results demonstrate that recent contiguous windows work well on average in its setting. They leave the value of retrieving a distant turn independently unmeasured.

The score used to choose a window is also indirect. Cosine similarity measures how closely a sentence representation and a prior turn representation align. A high score can reflect shared subject matter, which gives the selector a useful clue. It does not by itself establish that the sentence contains the next informative detail or that the turn is needed to interpret the next question. Because the method sums scores across a rectangle, different window shapes can contribute differently even at the same total length. The reported experiments give an empirical choice of threshold for CoQA. They supply no universal threshold or evidence that the same balance of sentences and turns will hold elsewhere.

The mathematical definition also leaves some implementation details open in the paper’s account. The objective can admit multiple windows with the same total count. A threshold may also be infeasible for a particular input if every eligible window falls below it. The first-turn fallback is specified, and the sweep uses an infinite threshold as a convention for retaining full input. Beyond those cases, the written constraints do not determine a general tie-breaking or fallback rule. This limits what one can reconstruct from the equations alone without consulting the implementation.

In the answer-aware experiment, a human-written history, a supplied answer, and a rationale narrow the task substantially. The answer-unaware experiment probes the practical issue of creating the conversation from generated turns. Its human comparison covers the beginnings of those conversations, specifically the first five generated turns for the sampled passages. The ratings give evidence about short sequences and leave longer-run behavior open, including whether the system revisits topics naturally or accumulates errors as more generated turns feed into later ones.

Finally, the answer filter measures agreement with an automated reader. The paper describes equality with the proposed answer as the acceptance condition. That supplies an operational check on answerability, while equivalent free-form phrasings could be affected by how the comparison is implemented. The reported ratings describe the questions evaluated after selection and filtering. The main comparison does not quantify how many candidates the filter rejects or what range of potentially valid questions is lost along the way. A higher rating for the questions that reach the reader can coexist with uncertainty about coverage.

The authors suggest that shortened input directs the generator’s attention toward conversational information. The ratings and examples are consistent with that explanation, especially when the question becomes a short continuation of the last answer. They observe what the system generated under different input conditions. An internal analysis identifying which representations or attention patterns caused that change would be a different kind of evidence. The paper’s more direct result is that training and generating with selected inputs changes the questions and improves the reported evaluations under the tested conditions.

What came after

The later citing work includes a paper on evaluating questions under discussion in discourse analysis. Its stated subject is evaluation of discourse parsing through questions under discussion. This places questions in a different role from CoHS-CQG, where the task is to write a next turn in an exchange grounded in a passage. The connection is that the role of a question depends on the surrounding discourse. The citation does not establish that the evaluation adopts CoHS’s sentence scores, contiguous windows, or answer-checking procedure. QUDeval

Another citing paper addresses alignment with human opinions through persona selection and value–belief–norm reasoning. Its stated focus is whose perspective should guide an output and how reasoning about that perspective can inform alignment. CoHS-CQG selects textual evidence and previous exchanges to guide a follow-up question. Both titles point towards choosing relevant conditioning information, but the object selected and the behavior evaluated differ. The citation establishes a connection in the literature without specifying which part of CoHS-CQG, if any, the later approach uses. Aligning Large Language Models with Human Opinions

Cite

Cite as Xuan Long Do, Bowei Zou, Liangming Pan, Nancy F. Chen, Shafiq Joty and Ai Ti Aw. 2022. CoHS-CQG: Context and History Selection for Conversational Question Generation. Proceedings of the 29th International Conference on Computational Linguistics.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{do2022cohs,
  title = {{CoHS-CQG: Context and History Selection for Conversational Question Generation}},
  author = {Xuan Long Do, Bowei Zou, Liangming Pan, Nancy F. Chen, Shafiq Joty and Ai Ti Aw},
  booktitle = {Proceedings of the 29th International Conference on Computational Linguistics},
  year = {2022},
  url = {https://aclanthology.org/2022.coling-1.48/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/do-2022-cohs-cqg-context-history-selection/