TL;DR
Researchers from Stanford and Google have introduced CONPONO, a new pretraining objective that teaches language models to understand how sentences relate to one another over longer distances. By training a BERT-sized model to distinguish a specific neighboring sentence from a "lineup" of decoys, they achieved a new state-of-the-art in discourse processing, even outperforming models three times its size.
What Problem Does This Paper Address?
While models like BERT are masters of word-level context, they are often "nearsighted" when it comes to discourse—the way multiple sentences hang together to form a coherent narrative or argument.
Existing pretraining tasks like Next Sentence Prediction (NSP) are often too easy or fail to capture the nuances of sentence ordering and distance. Consequently, even the best language models struggle with tasks like reordering a scrambled paragraph or identifying the specific rhetorical relationship between two distant sentences. The authors sought an objective that forces the model to learn a deeper "map" of document structure.
Methods
The authors propose the CONtrastive Position and Ordering with Negatives Objective (CONPONO).
As shown in the architecture diagram above, the model is given an "anchor" sentence from a paragraph and must identify a "target" sentence that is exactly $k$ sentences away (where $k$ can be up to 4 sentences before or after the anchor). Instead of a simple binary task, the model must pick the correct target out of a pool of 32 candidates, including "hard negatives" (sentences from the same paragraph but at the wrong distance) and random sentences from other documents.
Crucially, CONPONO uses joint encoding, allowing the Transformer’s cross-attention mechanism to look for specific linguistic links—like pronouns or connecting words—between the anchor and target spans.
Key Results
CONPONO set a new high bar on the DiscoEval benchmark, improving average accuracy by 4% absolute across all tasks. Notably, a CONPONO model with 110 million parameters (BERT-Base size) outperformed the much larger BERT-Large (335 million parameters) on discourse tasks.
As detailed in the results table, the model saw its most dramatic gains in the Sentence Position (SP) task, improving accuracy by nearly 13% over previous methods. It also demonstrated strong generalization, with gains of 2% to 6% on non-discourse tasks like RTE and COPA compared to a standard BERT-Base.
Key Insights and Ideas
- Distance Matters: Standard BERT only looks at the very next sentence. CONPONO looks up to 4 sentences away. Ablation studies showed that using a window size ($k$) greater than 1 was essential for the biggest performance gains.
- Hard Negatives are Key: By including other sentences from the same paragraph as decoys, the model is forced to learn subtle cues about narrative flow rather than just identifying a general "topic."
- Cross-Attention is the Secret Sauce: The authors found that letting the anchor and target "talk" to each other during encoding was significantly better than encoding them in isolation. This suggests the model is actively looking for linguistic bridges between sentences.
- Discourse Helps Logic: Training on discourse improved performance on tasks that don't explicitly ask about sentence order, like common-sense reasoning (COPA). Understanding how a story is built helps the model reason about the facts within it.
Limitations and Future Work
The authors noted that while the model is excellent at ordering and coherence, it showed smaller gains on classifying specific rhetorical relations (like "Contrast" or "Cause-Effect") in the PDTB and RST datasets. This suggests that while the model understands that sentences belong together, it doesn't always understand the logical label of that connection. Future work could involve exploring even larger window sizes or explicitly training the model to recognize fine-grained relationship types.
Summary updated