Is Incoherence Surprising? Targeted Evaluation of Coherence Prediction from Language Models
Paper · 2021 · Anne Beyer, Sharid Loáiciga and David Schlangen
Summary
A sentence can be easy to understand by itself and still make little sense where it appears. An event can be told before the action that made it possible, a connective can suggest the wrong relation between ideas, or a speaker can say something that clashes with an earlier claim. Anne Beyer, Sharid Loáiciga, and David Schlangen ask whether these disruptions register when a system predicts the next piece of text. Their framework, CoherenceGym, tests that question by comparing passages designed to differ in a particular respect. The test succeeds when the less coherent version is more surprising in the part of the passage where the authors expect the disruption to show up.
CoherenceGym extends SyntaxGym from grammatical contrasts to tests that can span sentences and turns of conversation. The authors use GPT-2 and DialoGPT to assign probabilities to the pieces of text, or tokens, in each passage. They convert these probabilities into surprisal, a measure that rises as a token becomes less expected, and average the values over a chosen stretch of text. Sometimes that stretch contains the edit itself. In other tests, the authors hold the wording of the continuation fixed and ask whether a change earlier in the passage makes those same words harder to predict. They also adapt existing tasks, including sentence shuffling, Story Cloze, and Winograd Schema examples, to the same scoring procedure.
The results depend strongly on what changes and where the score is measured. On the PERSONA-CHAT dialogue data, GPT-2 reaches a Coherence Detection score of 0.96 when the entire conversation is shuffled and scored, and 0.72 when only the context is shuffled and only the fixed final turn is scored. In the new connective tests, temporal uses are often easier to distinguish from their replacements than causal uses, and the results vary with the particular replacement. In the entity re-mention tests, neither system shows a consistent preference across genres for the original pronoun over a repeated description. DialoGPT scores 0.59 when asked, through its continuation probabilities, to treat an apparent contradiction as more surprising from the same speaker than from a new speaker.
The paper’s contribution is a way to locate successes and failures that an overall coherence score would conceal. The authors also show why the interpretation of a score depends on the quality of the contrast. A shuffled context can still support the original closing turn, and two statements labelled contradictory can be compatible in ordinary conversation. The results establish how the tested systems respond to these particular alternatives. The authors identify human judgments of the alternatives, broader coverage of discourse phenomena, and comparisons across more systems and languages as work still to be done.
Deep dive: Is Incoherence Surprising? Targeted Evaluation of Coherence Prediction from Language Models
CoherenceGym tests whether changes to sentence order, referring expressions, connectives, and speaker identity make a continuation more surprising. · about 35 minutes to read
The problem and its context
How sentences come to belong together
The paper treats coherence as a property of how utterances fit together. A reader follows what the text is about, identifies the people and things being discussed, and makes sense of the relations among the events or claims. In conversation, the reader or listener also keeps track of who said what. These processes can support each other. A pronoun can continue discussion of a person introduced a sentence earlier, while a connective can tell the reader how a new claim qualifies what was just said. They can also come apart. A passage can mention the same person throughout and still give an implausible account of what happened.
The opening example makes the distinction concrete through the order of two actions. A rider mounts a horse and goes away. Reversing the actions makes it difficult to read them as an ordinary chronological sequence, even though each sentence describes a familiar event and remains grammatical. The contrast relies in part on what readers understand about riding and in part on how they interpret the expression that links the events. It illustrates why scores assigned to separate sentences cannot answer the authors’ question. Each sentence needs to be considered in relation to the context that precedes it.
The traditions surveyed in the paper offer several accounts of those relationships. Work on coreference resolution concerns how different expressions can pick out the same entity. Centering theory addresses the organization of attention around entities as a discourse develops. Research on discourse analysis examines how stretches of text are linked, including how a connective or an anaphoric expression can signal a relation to earlier material. Research on conversation also considers what interlocutors are expected to contribute and what commitments follow from their contributions. The paper draws on these accounts to identify testable contrasts. It leaves room for several different mechanisms to contribute to what a reader experiences as a coherent exchange.
A useful distinction is the one between keeping a topic available and choosing a form that suits its status in the discourse. A speaker can refer again to a recently mentioned person by repeating a description or by using a pronoun. Either choice can maintain the topic. The paper asks whether the relative predictability of the two forms reflects the fact that a recently introduced person can often be referred to with little additional wording. A test of topic continuity alone would give both forms credit, while a targeted comparison can ask about the choice between them.
A similar distinction arises in dialogue. Two statements about different jobs can both be reasonable contributions to a conversation. Their relation depends on whether the participants are talking about themselves, whether the same participant makes both statements, and whether the statements really imply incompatible circumstances. A test of speaker commitment therefore needs to control who appears to be talking as well as what the utterances say. The same succession of words can support a different interpretation when a speaker boundary is introduced.
What shuffling could establish
A familiar procedure in the work discussed by the authors starts from an ordered text, permutes its sentences, and asks a coherence system to prefer the original. The procedure is attractive because the same sentences occur in both versions. There is no need to write a fresh defective sentence for every item. A strong preference for the original indicates sensitivity to some aspect of the arrangement. The paper cites entity-based work as an example of this tradition. Modeling Local Coherence
The question left open is which part of the arrangement supplies the evidence. A permutation can place a pronoun before its antecedent, move an outcome ahead of its cause, put a reply before the exchange that motivates it, or disrupt several such relationships together. The comparison bundles these changes into a choice between complete passages. A system could recognize one especially conspicuous cue and make a correct choice while giving little weight to other relationships a reader uses. Conversely, a shuffled passage can preserve a locally sensible sequence by chance. Its assigned status then describes how the passage was constructed, while its actual coherence remains a question about the text.
The paper situates CoherenceGym alongside earlier efforts to broaden the evidence used for coherence evaluation. It cites work on coherence in naturally occurring discourse and studies that sought more linguistically motivated material. It also observes that much of the existing evaluation concerns systems trained specifically to classify or predict coherence. Beyer and colleagues ask a different empirical question. They want to know what can be recovered from the probabilities already assigned by a next-token predictor. A system trained with coherence labels can learn to solve the discrimination task directly. A probability comparison on controlled alternatives examines what distinctions are present in its existing predictions. Discourse Coherence in the Wild
Why look at continuation probabilities?
The authors draw on targeted tests of grammatical knowledge. In the agreement example they describe, a singular subject precedes alternative forms of the same verb. The subject and the words following the verb stay fixed, while the test predicts which verb form will be less surprising. The diagnostic is precise because it names both the contrast and the stretch of text to score. A result at the verb can be interpreted in light of the grammatical expectation that motivated the item.
CoherenceGym carries this design across larger units. The informative stretch might be the closing sentence of a story, the words following an altered connective, or a new statement in a conversation. The relevant context can include an earlier sentence and, in dialogue, a marker of speaker change. This extension matters because predicting text necessarily involves a history, yet the presence of a history alone leaves open which properties of that history affect the predictions. A targeted test makes a specific claim about what difference in the history should matter and where its effect should appear.
Earlier work on story generation and dialogue quality also motivates this choice. In the account given by Beyer and colleagues, the study of GPT-2 as a storyteller used automatic measures that largely concerned diversity and called for greater attention to qualities such as coherence. A story may have varied wording and still fail to connect its events intelligibly. The authors take that gap as a reason to build tests tied to particular discourse judgments. Do Massively Pretrained Language Models Make Better Storytellers?
The dialogue evaluation study discussed in the paper used the likelihood of generic approving or disapproving follow-ups as an indicator of different qualities of an exchange. The reasoning is that a response expressing confusion could be a plausible reaction to an incoherent exchange. As Beyer and colleagues recount it, the earlier authors regarded coherence as important to dialogue quality and found it difficult to predict by this route. They suggested that people rarely make the relevant judgment explicit in their next turn. CoherenceGym changes the object of measurement. It asks whether disrupting the exchange changes the expectedness of the affected words, without requiring the conversation to contain a remark about its quality. Unsupervised Evaluation of Interactive Dialog with DialoGPT
The method, step by step
Build a pair around a specific expectation
Each suite begins with a hypothesis about what makes one version of a passage fit better than another. If a chronology supports a story ending, breaking the chronology might make the ending harder to anticipate. If a connective establishes the wrong relation, the words following it might become less expected. If a speaker has just made a claim about their own circumstances, a second claim that conflicts with it might be more surprising when attributed to that speaker. Each hypothesis supplies a direction for the comparison. The system is evaluated on whether it assigns scores in that direction.
An item contains conditions, which are the alternative versions presented for scoring. Each condition is divided into regions. A region can be a word, a phrase, a continuation, or a larger portion of the passage. The region boundaries tell the evaluator which tokens to group together. The suite also specifies which region or collection of regions enters the prediction. In a connective item, for example, the prefix, the connective, and the text after it can be marked separately. This lets the authors change the connective and evaluate the effect on the unchanged text that comes after it.
The method inherits the idea of minimal contrasts from SyntaxGym. How small a change can be depends on the test. In the speaker experiment the written statements are held fixed and the authors insert a boundary marker between them. In the coreference experiment, a pronoun is exchanged for a longer expression. In the global sentence-order baseline, the wording is preserved at the level of individual sentences or turns, while their arrangement can change throughout the passage. The intended control is specific to the hypothesis in each suite.
How CoherenceGym turns a contrast into a suite score
The steps in order.
Convert expectedness into a comparable score
The prediction systems provide a probability for each token given the text already seen. A token is a unit used by the predictor to represent input, so the succession of tokens used for scoring is determined through tokenization. A probability describes how much weight the predictor gave to the token that actually occurs at its position. The paper transforms that probability so that a less expected token receives a larger value.
s(tᵢ) = −log₂(p(tᵢ | t₀ … tᵢ₋₁))
Here tᵢ is the token at position i, and s(tᵢ) is its surprisal. The function p gives the conditional probability of that token. The vertical bar means that the probability is evaluated given the preceding sequence. In that sequence, t₀ denotes the starting token in the displayed indexing, the ellipsis stands for the intervening tokens, and tᵢ₋₁ is the token immediately before the one being scored. The symbol log₂ denotes the base-two logarithm. The minus sign reverses the direction so that a lower probability yields a higher surprisal. The equals sign identifies the computed value, and parentheses delimit the token supplied to s and the probability supplied to the logarithm.
The conditioning history is central to the design. Suppose the final sentence is literally the same in two versions of a story. Its first token can have a different probability because the preceding story differs. Its later tokens can also have different probabilities, even though they follow the same earlier words within that sentence, because the rest of the history still includes the changed story. A score on an unchanged sentence can therefore register the consequences of an earlier manipulation. The same principle applies to the continuation after a connective and to the second utterance after a speaker marker.
A test of discourse can involve many tokens, and the alternatives can differ in length. Summing the unexpectedness across a longer phrase would give that phrase more opportunities to accumulate surprisal. The authors instead use a mean over the scored material. Their extension adds this form of aggregation to the SyntaxGym implementation.
s_mean(r) = (1/n) × ∑ᵢ₌₁ⁿ s(tᵢ)
In this expression, r is the region being scored and s_mean(r) is its mean surprisal. The region contains n tokens. The symbol ∑ directs the evaluator to add their token surprisals, with the lower and upper indices indicating that i runs from the first token of the region through the nth. Here tᵢ identifies the token at that position within the region, and s(tᵢ) uses its probability given the full history available at that point. The slash marks division, and multiplying by 1/n turns the sum into a mean. The equals sign connects that calculation to the score assigned to r.
A region boundary defines which tokens contribute to the mean. Their probability still depends on what came before the boundary. For a story-ending item, the preceding story supplies the history even though its tokens contribute no terms to the ending’s mean. For a global shuffling item, the score covers the text throughout, so disruptions at different positions can contribute. This choice of scope is one of the experimental variables in the paper.
The suite score is called Coherence Detection, abbreviated CD. For each item, the evaluator checks whether the observed ordering of surprisal agrees with the prediction. CD is the proportion of items that meet it. It describes how often the intended preference appears. A slight preference and a large one both count as a success if they go in the expected direction. The metric consequently supports comparisons of how reliably a preference occurs, while leaving the magnitude of that preference outside the reported score.
Use the predictors as they already stand
CoherenceGym works within the SyntaxGym setup, which calls prediction systems through lm-zoo. The paper describes lm-zoo as a repository whose packaged systems expose the operations needed for text processing and scoring, including tokenization, handling unknown input, and obtaining token surprisals. GPT-2 was already available through that interface. The authors add DialoGPT in the same form and make its speaker-separator convention available to the tests.
The evaluated GPT-2 is the small 117M version. The evaluated DialoGPT is the medium 345M version. DialoGPT is based on GPT-2 and has undergone fine-tuning on Reddit conversational data. The paper interprets its separator as marking a change of speaker in that setting. Both systems compute next-token probabilities from the decoder’s final linear layer by applying a softmax, which turns its outputs into a distribution over possible next tokens. The evaluation uses those probabilities for the texts in the suites. It requires neither a new classifier trained on top of the internal representations nor coherence training on the paired items.
The two versions were selected for technical reasons, and the authors stress the implications of their unequal sizes. Running both through the same scoring interface makes the behavioral comparison straightforward to describe. Size and conversational fine-tuning still vary together. The experiments can report which of these particular systems fulfilled a prediction more often, while a causal account of any difference would require a more controlled comparison. The paper also gives a specific rationale for evaluating speaker commitment with DialoGPT alone. The manipulation relies on a separator that carries a speaker-change interpretation.
Adapt existing material to the scoring procedure
For sentence order, the authors build suites from ROCStories and PERSONA-CHAT. ROCStories supplies short, crowdsourced narratives with temporal and causal connections. PERSONA-CHAT supplies conversations in which crowdworkers were given short descriptions of a persona to play. The selected dialogues contain at least 6 turns. The coherence test uses the conversational utterances themselves and leaves out the persona descriptions. This gives the authors a narrative case and a dialogue case for the same broad baseline. Personalizing Dialogue Agents
There are two shuffling procedures. In the global procedure, all utterances are eligible to move, and the score covers the whole text. In the context procedure, the ending is kept in its original position, and only the preceding utterances are permuted. The final utterance alone is scored. The second version therefore asks whether an intact ending fits its intact history better than it fits a history made up of the same material in a different order. It can fail to separate the alternatives when both histories make the ending plausible.
Story Cloze supplies an alternative to perturbing the order. The authors use the annotated test set from the spring 2016 version. The story context is shared across the two conditions, while the final sentence is either the intended ending or a supplied distractor. In the paper’s example, a person accompanies friends to a club and injures one of them while dancing. One ending describes the friends asking the person to stay home on a subsequent occasion. The distractor presents the friends as eager to keep inviting the person because of the fun they have together. The comparison asks how predictable each ending is in light of the same events.
In the Winograd suite, the authors reuse a procedure for evaluating a pronoun whose interpretation depends on commonsense. They substitute a candidate referent for the ambiguous expression and write the material that follows as a separate region. In the paper’s example, a council refuses a permit to demonstrators because of fears about violence. The competing versions attribute the fear to the council or to the demonstrators. The test can score the whole sequence, including the name of the substituted group, or score only the shared words describing the fear. The latter asks what those words cost in surprisal after each candidate interpretation has been made explicit. A Simple Method for Commonsense Reasoning
Construct tests of specific discourse devices
The entity re-mention suite begins with ARRAU, a corpus with annotations that track references across genres. A coreference chain groups mentions understood to refer to the same entity. The authors extract chains that cross consecutive sentences and include a pronominal mention. In each item, the context introduces the entity. The next sentence either uses the original pronoun or repeats the earlier noun phrase. The repeated phrase is given a definite article where the original introduction used an indefinite one. That adjustment makes the repeated phrase behave like a reference to an entity the text has already introduced.
The source example describes a person at the top of a ladder. In the next utterance, the speaker says that this person is still out of view. The two conditions vary how that person is mentioned. The pronoun assumes the listener can retrieve the referent from the preceding discourse. The longer expression names the person by repeating the description. Both alternatives preserve the identity of the person under discussion. The intended distinction is how well the form of the reference fits the accessibility of that person. The prediction is evaluated in the continuation containing the re-mention.
The connective suite comes from Disco-Annotation, which adds sense labels for discourse connectives in Europarl segments. A connective can indicate a relation such as time, cause, contrast, concession, or comparison. Some expressions can serve more than one of those functions, so the annotation is important. An instance of since used to mark time raises a different question from an instance of since used to supply a reason. The authors discard connectives at the start of a segment because their preceding context is unavailable in the data. This excludes every example of meanwhile from the suite.
For each retained connective, the source segment is divided into the text before the connective, the connective, and the text after it. The authors replace the original with another expression drawn from the set. The scoring prediction concerns the final region, where the wording is held fixed. A replacement may be able to express the same sense in context or may suggest a different kind of relationship. The expectation is that the downstream text will be more surprising when the replacement leads the reader to anticipate a relation that the continuation fails to support. The authors preserve the original connective and sense in the analysis and report results by replacement, which allows substantial variation to remain visible.
Speaker commitment uses pairs from the human-verified test portion of DialogueNLI. That corpus labels pairs as contradictions, entailments, or neutral relations. Its statements come from PERSONA-CHAT conversations or the descriptions of their personas. The authors select the contradiction pairs. They place the first utterance in the context and use the second as the scored continuation. One condition inserts [SEP] between the utterances, which the implementation converts to the separator token used by DialoGPT. The other places both statements in the same speaker context.
The illustrated pair has a speaker describe working as a nurse, followed by a statement about being a kindergarten teacher. Inserting the boundary allows the job descriptions to belong to different people. Leaving it out presents both as self-descriptions of the same person. The hypothesis concerns how this change affects the probability of the second statement, with the wording otherwise preserved. The code the authors identify for constructing their suites is CoherenceGym. They combine it with the expanded lm-zoo support and the SyntaxGym scoring procedure, so that existing test materials and new contrast sets can enter the same evaluation.
Experiments and results
Sentence order gives different answers at different scoring scopes
On the ROCStories narration suite, GPT-2 records a CD of 0.86 for whole-text shuffling and scoring. With a shuffled context and a fixed final sentence, scored on that sentence alone, it records 0.50. DialoGPT records 0.78 and 0.44 in the corresponding narrative settings. These comparisons show how much the empirical question changes when the evaluator moves from scoring a rearranged text in full to asking if the rearrangement affects a particular continuation.
The dialogue suite shows the same direction of change across scoring scopes. On PERSONA-CHAT, GPT-2 is more successful when the complete dialogue is shuffled and scored. DialoGPT also ranks the original dialogues more reliably with whole-dialogue scoring than it does when the only scored text is the fixed final turn. The setup changes how much evidence can enter the judgment. In the global condition, disrupted connections anywhere in the conversation can influence the mean. In the context condition, a disruption has to affect the probabilities assigned to one closing turn.
Sentence-order settings on PERSONA-CHAT dialogue by Coherence Detection
Whole-dialogue shuffling and scoring yields a higher detection score for both systems than scoring the fixed final turn.
The numbers
| System or setting | CD |
|---|---|
| GPT-2, whole dialogue (this paper) | 0.96 |
| GPT-2, fixed final turn | 0.72 |
| DialoGPT, whole dialogue | 0.86 |
| DialoGPT, fixed final turn | 0.55 |
The contrast between these conditions matters to the paper’s argument because the global experiment looks decisive by itself. It supplies evidence that both predictors are sensitive to sentence and turn order. The fixed-ending experiment supplies a more local question, and its answer varies with the material. In the narration suite, the two scores on the fixed ending are at or below the chance level discussed by the authors. On dialogue, the corresponding scores show a greater preference for the original context, especially for GPT-2. The authors’ inspection of some items gives a practical reason to interpret these local scores carefully. A final utterance can still make sense after the utterance that happens to precede it in the shuffled version.
GPT-2 has a higher score in each of the reported shuffling comparisons. The result describes the tested versions and the particular narration and dialogue corpora. The paper raises the nature of Reddit conversational data as a possible factor in interpreting the DialoGPT pattern. Its design also leaves model size and differences in training entangled, so the shuffling scores cannot establish what conversational fine-tuning would do to an otherwise matched predictor.
Story endings and candidate referents
On the annotated Story Cloze test set, GPT-2 obtains a CD of 0.61 and DialoGPT obtains 0.57. Here success means that the intended ending has lower mean surprisal than the supplied distractor after the shared story. The authors describe their scores as comparable to or better than the approaches in the original study, which they characterize as relying largely on semantic similarity between the preceding story and the candidate continuation. Their own result comes directly from token probabilities. The comparison establishes that the scoring procedure can be applied to an existing ending-selection task without training a separate classifier on top of the predictors.
The story example illustrates why this task is a broader probe than the connective or entity re-mention suites. Both endings can refer to the same social activity and the same group of friends. The expectation about the next invitation depends on the consequences of what happened during the outing. A successful preference could reflect knowledge of social reactions, the progression of the events, or recurring patterns of wording in stories. CD records the preference, and the construction of the pair leaves several possible reasons for it. The authors use this breadth as motivation for examining more tightly specified contrasts.
In the Winograd suite, the choice of region again affects performance. The full condition places the substituted referent and the following text inside the score, along with the material before the substitution. The partial condition scores only the continuation after the substituted referent. GPT-2 records 0.53 for full scoring and 0.59 for partial scoring. DialoGPT records 0.55 and 0.57, respectively. Both systems more frequently favor the intended referent when scoring is limited to the words that come after it.
Full and continuation-only scoring on the Winograd Schema suite by Coherence Detection
Scoring the continuation after the inserted referent gives a higher detection score for both systems.
The numbers
| System or setting | CD |
|---|---|
| GPT-2, full sequence | 0.53 |
| GPT-2, continuation only (this paper) | 0.59 |
| DialoGPT, full sequence | 0.55 |
| DialoGPT, continuation only | 0.57 |
The authors interpret this result in light of the prior Winograd evaluation they adapt, which also found the material after the inserted referent informative. In the permit example, a comparison focused on the words for fearing violence asks which candidate makes that explanation more expected. Full scoring can also reflect how expected the candidate’s name is before the explanation appears. A larger score under partial scoring is evidence that choosing the region helps recover the preferred reading on this suite. The modest scores also show that the preference is far from uniform over the items.
Re-mention varies with genre
In the ARRAU suite, the reported CD is the proportion of items on which the original pronominal continuation is less surprising than the version with the repeated description. The paper reports WSJ and VPC separately within the news portion. For GPT-2, the scores are 0.53 on WSJ and 0.56 on VPC. Its other scores are 0.47 on dialogue and 0.42 on fiction. For DialoGPT, the corresponding values are 0.44 on WSJ, 0.51 on VPC, 0.47 on dialogue, and 0.36 on fiction.
The figures offer little support for a general preference for the pronominal form on this suite. GPT-2 more often favors it in the news subsets than in fiction or dialogue. DialoGPT’s highest score is on VPC, and the systems give the same CD on the dialogue subset. The fiction scores favor the expected direction on fewer items than the chance level would suggest. Across these settings, the authors regard the preference as weak and inconsistent. The finding concerns this comparison of pronouns and repeated definite noun phrases in adjacent sentences. A repeated phrase can still establish a readily recoverable connection to the preceding text.
This result is narrower than a claim about whether the systems can follow a character or topic through a passage. The reference in the manipulated version was chosen precisely to continue talking about the same entity. A system that tracks the topic could give that version a good score. What the experiment seeks is an additional preference for the form that can be licensed by a readily accessible antecedent. The results suggest that such a preference is unreliable in the tested configurations, even with a preceding sentence that explicitly introduces the referent.
Connective results depend on the original sense and the replacement
The connective suite produces a range of CD scores instead of a single figure for connective knowledge. It divides the examples according to the original expression and its annotated use, then shows how the continuation is scored under particular replacements. The paper describes GPT-2’s temporal results as comparatively strong on average and characterizes contrast, concession, and especially some causal uses as more difficult. The importance of the breakdown is visible even within the entries for a single original word.
The chart holds the replacement fixed at since and reports GPT-2 on examples with different annotated uses of original as. The continuation is exactly where the authors look for the effect of the substitution. A high value means the original context with as more often gives the continuation lower mean surprisal than the same context with since. The low value for the causal use shows a very different pattern from the high value for the prepositional use, even though the surface substitution is the same.
GPT-2 on Disco-Annotation uses of as replaced by since by Coherence Detection
The prepositional use strongly favors the original, while the causal use seldom produces the predicted preference.
The numbers
| System or setting | CD |
|---|---|
| Original as, causal | 0.28 |
| Original as, comparison | 0.96 |
| Original as, concession | 0.67 |
| Original as, preposition (this paper) | 0.98 |
| Original as, temporal | 0.86 |
A complementary comparison holds the original annotation fixed and varies the replacement. For GPT-2, original temporal since scores 0.94 with though as the replacement and 0.98 with yet. Original temporal while scores 0.57 with as as the replacement and 0.86 with yet. These results come from the Disco-Annotation connective suite and refer to preferences on the downstream region. They show why a reader needs both the original use and the replacement to interpret an individual value. A sense label can group together cases that respond quite differently to another connective.
The paper also calls attention to uses that differ in grammatical function. Across the examples with prepositional as, it reports strong results from 0.96 to 0.99. The authors observe a related pattern for the adverbial use of yet in DialoGPT. Such findings show the systems reacting reliably to some substitutions. They also help locate what those substitutions may be testing. Changing a preposition into a connective can disrupt how the following words fit syntactically, as well as how the surrounding ideas relate. The high score establishes successful detection for that contrast, with the source of the sensitivity open to further investigation.
The speaker boundary has a modest effect
On the speaker-commitment suite, DialoGPT obtains a CD of 0.59 over 4041 contradiction items. A success means that the second statement is more surprising when it follows the first as the same speaker’s contribution than when it follows the speaker-change marker. The tendency is in the predicted direction. The score also reflects considerable variation in whether the preference appears for individual pairs.
The authors manually inspect pairs from the human-verified set and find examples that admit compatible interpretations. A person can describe drawing on nursing skills during volunteer work and also teach kindergarten. Someone who hopes to become an artist can have the same current teaching job. In these cases, a second statement can be a natural continuation for the same speaker. The examples make clear that the contradiction label in the source dataset and the inference needed for this experiment can diverge. The reported score combines performance on clear and unclear instances of the intended contrast.
The result is specific to DialoGPT with its speaker-marker convention. The paper gives no comparable GPT-2 score for this test because the separator is meant to carry an interpretation tied to the conversational setup. A sensitivity to that marked boundary is observable from the probabilities. Establishing how much of it is specifically about contradiction, rather than other changes in expectations that accompany a new speaker, would require additional contrasts. The experiment shows a tendency worth characterizing at that finer level.
What the ablations show
The paper changes inputs and scoring regions while leaving the predictors in place. These controlled comparisons are behavioral probes. They ask what difference becomes visible after an intervention on a passage or on the scope of measurement. The work contains no component-removal ablation that would assign a result to particular internal machinery. Its analyses instead locate the textual conditions under which the predicted preference appears.
Global and local order tests expose different evidence
The shuffling comparisons vary two things together. The global version can move the final utterance and scores the complete result. The context version fixes the final utterance and scores only that segment. The score difference therefore captures a change in the evaluation as a whole. It gives no isolated estimate of the effect of preserving the last utterance, since the scored span changes at the same time.
There is nonetheless a clear conclusion about what each setting establishes. Whole-text scoring can reward sensitivity to any disruptive sequence that occurs within the passage. A jarring transition early in a story is available to the evaluator, as are awkward changes near the ending. Fixed-ending scoring requires the evidence to propagate to a particular continuation. A system can perform well on the first question and still have difficulty on the second. The paper’s results show that this happens with both narrative and dialogue material.
The manual inspection gives the weaker local result a second interpretation alongside limited predictive sensitivity. An earlier shuffle may reconnect the ending to a compatible local predecessor. The manipulated text can then be globally unusual while supporting a plausible immediate continuation. An item of this kind helps explain why making the perturbation more controlled can change the quality of the answer key as well as the information available to the predictor. A fair test of the final transition depends on the original ending genuinely fitting that transition better.
Restricting the Winograd score helps isolate the consequence of a substitution
The full and partial Winograd versions use the same candidate substitutions. They vary which probabilities are counted. Full scoring includes the probability of the words naming the candidate, so expectations about the name or phrase can enter the decision before the disambiguating material is read. Partial scoring lets that phrase affect the history while placing all measured weight on the following words. The direction of improvement agrees with the prior comparison that motivated the suite.
This is a closer control over scoring scope than the two shuffling settings because it evaluates the same texts under both scopes. The result shows that the choice of score can help bring out a preference already present in the continuation probabilities. It leaves the explanation for that preference open. A higher continuation-only score can be consistent with the system using the intended commonsense relation, but the test does not separate that possibility from other associations between the candidate and the continuation. Its main contribution is to identify where in the sequence the more useful evidence appears.
The two comparisons together show why restricting the scoring region has no universal effect. It removes information that can help on a global order task and can sharpen the evidence on a task built around the downstream consequence of choosing a referent. The appropriate region depends on the hypothesis. The paper’s design makes that choice explicit, so a reader can tell what kinds of information each score allows.
Connective and reference substitutions narrow the question
The connective results separate the written form of a word from the job it is doing in a particular segment. The comparison involving as and since is instructive because the string manipulation can be held fixed across several subsets. A different result for causal and prepositional uses means that knowing the word pair alone is insufficient to predict the observed behavior. The source contexts, senses, and grammatical functions differ across those subsets, so the analysis joins evidence about meaning and local form.
The strong prepositional and adverbial cases give the authors a way to interpret some of the easiest contrasts. A substitution that changes the grammatical function of an expression can make the words immediately following it unexpectedly shaped. A harder case arises when original and substituted forms can both appear in the slot but lead to different interpretations of the relationship between segments. The paper’s matrix contains easy and difficult cases of connective replacement. It supplies evidence of sensitivity in particular contexts, with no single performance level that can stand for discourse-relation knowledge as a whole.
The re-mention comparison targets a different distinction. Both alternatives continue referring to the same entity, so persistence of topic is common to the two conditions. The tested contrast is whether the original pronoun receives a better score than a repeated phrase in a context that has made the referent available. The repeated phrase can be long and informative, while the pronoun is short and relies more heavily on the context. The results give the authors little basis for treating next-token sensitivity to topic continuity as evidence of a stable preference for an accessibility-appropriate form.
The genre breakdown adds a control on how those scores should be reported. The results on the news subsets, dialogue, and fiction vary enough that a single aggregate would hide relevant behavior. Genre here identifies where a result was observed. The study does not manipulate genre while keeping the same examples, so the breakdown does not establish which property of news or fiction produces a given preference. It does show that the evidence for the preference depends on the subset.
The speaker-change test controls the words more closely than the interpretation
The speaker-commitment test is a particularly small written intervention. Both statements are unchanged. The insertion of a separator is enough to change which person the second statement is understood to describe. A preference in the expected direction shows that the marker influences the fit of the continuation, which is exactly the behavior the suite can observe.
The qualitative error analysis shows where the intended interpretation escapes this control. An utterance pair inherited from a contradiction dataset can become less clearly contradictory when read as two contributions to a conversation. The volunteer with nursing skills supplies a straightforward example. A reader can distinguish having a skill from working in the corresponding profession and accept the second statement from the same person. The source label and the contextual reading are separate pieces of evidence. The authors’ inspection helps explain why adding a human check of the completed contrast would strengthen the suite.
The small edit also has several possible consequences for an ordinary conversation. A new speaker can introduce a new fact, change the subject, or answer a prior contribution. These are potential influences on continuation probabilities in addition to the release from a particular speaker’s commitments. The result demonstrates the behavior of the predictor under the authors’ marker manipulation. The analysis leaves room for a future comparison in which compatible pairs and contradictory pairs are both subjected to the same boundary change.
Limitations
Limits the authors state
The authors present CoherenceGym as an extensible evaluation framework and the suites as an initial coverage of discourse and dialogue phenomena. They condition their interpretation on how well the suites instantiate coherence. Some pairs support a relatively clear expectation, while others permit plausible readings of the manipulated text. This is part of the reason the paper treats its mixed empirical outcomes as motivation for further tests. The existing experiments establish the usefulness of posing focused questions. A broader account of predictors’ sensitivity to discourse would need more kinds of contrasts.
The authors explicitly limit comparisons between GPT-2 and DialoGPT because the versions differ in size. The systems also differ in their conversational training history. The paper’s purpose is to establish that the procedure can be applied to both, including a conversation-specific test for the latter. It leaves detailed study of different sizes and architectures to future work. Any ordering of the reported results is an ordering of these participants under the stated experimental conditions.
The study evaluates English. The authors explain that sentence shuffling can in principle be applied to other corpora, while several of the targeted suites require annotations and knowledge of the language. For a connective test, for example, a new language would require decisions about appropriate senses, replacements, and available context. The paper names a German discourse resource as a possible starting point. It presents cross-language application as a direction for further work. Potsdam Commentary Corpus 2.2
The authors also call for human judgments of their manipulations. The dialogue sources contain human-verified labels, and the paper includes manual inspections by the researchers. A direct human evaluation of the newly built contrasts would answer a different question. It would establish whether readers consistently prefer the intended version under the experimental manipulation. The authors propose collecting such judgments both to improve the suite construction and to estimate how well one could expect a predictor to do when reasonable readers also disagree about an item.
Limits that follow from the design
A CD score concerns a directional preference in a pair. It leaves room for two alternatives to be judged almost equally plausible, and it does not express how strong the predicted distinction was. A system might give a great deal of probability to both alternatives or find both highly unexpected, yet the same direction of difference yields a success in either case. Results from this metric consequently support statements about ranking the constructed alternatives. They offer no direct measure of how coherent an arbitrary passage is in isolation.
Choosing mean surprisal addresses a genuine length issue, particularly when comparing a short pronoun with a longer phrase. The averaging operation also determines how the evidence from an unexpected word is combined with the rest of the region. A disruption concentrated on a single token can count for less when the region contains a long continuation with many predictable tokens. Conversely, predictable wording within an expanded description can influence the mean in the re-mention test. A reader should interpret each result in the context of both the manipulation and the score aggregation that made it measurable.
Several of the deliberately narrow interventions still affect multiple properties of the input. A connective replacement can alter the suggested discourse relation and the grammatical frame expected next. A repeated noun phrase alters length and lexical content as well as the form of reference. A speaker marker changes the apparent author of the utterance and can signal a wider reset in the conversation. These are plausible routes by which a predictor could fulfill or miss the expected preference. The experiments show that a difference is measurable under a particular contrast. They give less direct evidence about which of these routes produced it.
Source selection also matters. The coreference suite is drawn from adjacent-sentence cases with pronominal mentions. Its scores concern settings where the antecedent has recently been made explicit. They give little information about re-mention after a long gap or among multiple competing antecedents. The connective suite retains examples whose preceding material is present, excluding segment-initial cases. That constraint makes the intended comparison possible and narrows the conclusions to the kinds of relations visible within the available segments.
The global and local order scores illustrate a related limitation in carrying results across designs. The global scores test discrimination between passages constructed through widespread rearrangement. The local scores concern a continuation offered the same set of earlier utterances in a different order. Neither setup supplies a direct estimate of how often generated stories or conversations will remain coherent as they develop. For the experiments in this paper, the text and its alternative are supplied in advance. Generating an exchange would require choices among many possible continuations, including ones the suite never offers.
Finally, the paper does not locate a mechanism inside either predictor. No training intervention removes access to a class of discourse cues, and no comparison holds system size fixed while varying the source of training. When a continuation is easier to predict, the evidence shows that some available information supports that preference. Common surface patterns, grammatical fit, facts about events, and sensitivity to discourse relations can all contribute in the tested cases. The paper’s precision lies in specifying the input contrast and the expected response. An explanation of how that response is produced would require other evidence.
What came after
The later papers that cite this study approach related questions from several directions. Their subjects show how the problem extends beyond deciding which of two passages fits better. It matters when assessing errors in generated text, comparing human and computational judgments about language in context, choosing how to measure a system’s expectations, and building scores for complete generated passages. The connection is most concrete when the unit of evaluation is kept in view. CoherenceGym measures a relative preference on a controlled contrast, while these works frame related issues at different levels.
Hallucination and the quality of generated text
The survey of hallucination places the problem in the broader study of errors in natural language generation. CoherenceGym gives a way to ask whether a specific disruption makes a stretch of supplied text harder to predict. A survey of hallucination concerns a wider class of problems in generated output. The relationship is that a fluent continuation can still fail a contextual requirement, and the requirement needs to be stated before the failure can be measured. In CoherenceGym’s examples, it might be the relationship implied by a connective or the compatibility of claims attributed to the same speaker. The citation connects these targeted coherence questions to the broader study of generation errors. Survey of Hallucination in Natural Language Generation
The distinction between the evaluation objects matters for interpreting that connection. The coherence experiments supply both alternatives and ask which is less surprising. A study of hallucination in generated text starts from an output whose defect must be identified and characterized. The same passage could invite both questions, but the measurements would answer different things. CoherenceGym is relevant because it makes the contextual requirement explicit and asks what a probability difference reveals about sensitivity to that requirement.
Pragmatic interpretation and the choice of measurement
The fine-grained pragmatic comparison puts human interpretation alongside computational behavior. Its subject connects directly with the uncertainty Beyer and colleagues identify in the speaker-commitment test. Two self-descriptions can suggest a contradiction under a quick reading and become compatible when a listener supplies a plausible context. A human comparison is relevant to determining whether that sensitivity reflects an ordinary interpretive judgment and how consistent the judgment is across people. The later work takes the relationship between human and computational language understanding as its subject, whereas human judgments of the finished test contrasts were future work in CoherenceGym. A fine-grained comparison of pragmatic language understanding in humans and language models
The paper on prompting and probability measurements addresses a methodological choice that CoherenceGym makes directly. The earlier study measures the expectation for words in a passage through their conditional probabilities. It does not have to phrase the comparison as a question about which version is coherent and interpret the answer to that question. A prompting procedure would add a request for a judgment and make the wording of that request part of the input. Probability measurement instead lets the investigator specify the passage, the changed feature, and the words whose expectedness is at issue. The later paper frames the distinction between these two kinds of evidence as a research question in its own right. Prompting and probability measurements
Coherence as a criterion for generation metrics
DiscoScore brings discourse coherence into a metric for evaluating generated text with BERT. That task shares CoherenceGym’s concern with relations extending across a passage. It has a different unit of judgment. CoherenceGym constructs a particular intervention, such as changing an explicit connective, then compares the probabilities of the versions in a specified region. A metric for generation takes the generated text as the object to be evaluated. The link between the studies is the question of what evidence about discourse a score should capture. Beyer and colleagues show that successful discrimination on a broad order task can coexist with uneven performance on more specific contrasts. That observation makes the choice of coherence evidence consequential for a metric that is meant to be applied to generated text. DiscoScore
Cite
Cite as Anne Beyer, Sharid Loáiciga and David Schlangen. 2021. Is Incoherence Surprising? Targeted Evaluation of Coherence Prediction from Language Models. Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies.
@inproceedings{beyer2021is,
title = {{Is Incoherence Surprising? Targeted Evaluation of Coherence Prediction from Language Models}},
author = {Anne Beyer, Sharid Loáiciga and David Schlangen},
booktitle = {Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies},
year = {2021},
doi = {10.18653/v1/2021.naacl-main.328},
url = {https://doi.org/10.18653/v1/2021.naacl-main.328}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/beyer-2021-is-incoherence-surprising-targeted-evaluation/