Discourse Relations and Coherence › Why repetition and connectives are not enough
Language AI HandbookAll chapters Repeated entities and connective words can make a passage look coherent while leaving its event relations unsettled. Here is a three-sentence counterexample that has all of that and none of the coherence.
PythonIn [23]Expand
counterexample = [
"The valve closed because the sensor crossed the threshold.",
"The sensor crossed the threshold because the valve closed.",
"The valve therefore closed.",
]
ce_ids = ["C1", "C2", "C3"]
ce_entities = ["valve", "sensor"]
ce_mentions = [
("C1", "valve", "S", "main clause"),
("C1", "sensor", "X", "because-clause"),
("C2", "sensor", "S", "main clause"),
("C2", "valve", "X", "because-clause"),
("C3", "valve", "S", "main clause"),
]
ce_grid = build_grid(ce_ids, ce_mentions, ce_entities)
ce_mean_logp, ce_counts = local_score(ce_grid, ce_entities, transition_table)
ce_filled = sum(1 for row in ce_grid for e in ce_entities if row[e] != "-")
ce_cells = len(ce_grid) * len(ce_entities)ConsoleOut [24]Expand
valve sensor
C1 S X
C2 X S
C3 S -
Cells filled: 5 of 6
Sentences containing an explicit connective: 3 of 3
Mean log-probability per transition: -2.708
Transitions: {('S', 'X'): 1, ('X', 'S'): 2, ('S', '-'): 1}Five of six cells are filled, so both entities are mentioned in every sentence but one. Every sentence carries an explicit connective. Every sentence is grammatical. Every sentence is about the same two things.
Read C1 and C2 as referring to one closure and one threshold crossing, and assume that a cause strictly precedes its effect. C1 requires the crossing before the closure. C2 requires the closure before the crossing. Those orderings cannot both hold for the same two punctual events. A system with repeated events could have a feedback loop over time, so the event identities matter.
C3 repeats the closure as a result but supplies no new event or temporal anchor. The roles repeat throughout the grid. That representation gives no way to test whether the two directed claims fit a single event order.
A connective can mark a relation without settling whether the document can support it. A system needs event identities and a representation of the causal directions to detect the cycle in this example.
The score for the cycle is finite because add-0.5 smoothing gives every included pair positive probability, even when its count in the toy training set is zero. More mentions and connectives would preserve the underlying cycle as long as the same crossing and closure are understood to cause each other in a strict temporal ordering.
A document could meet all of its stated causal constraints and still omit an explanation the reader needs.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!