Abstract
Current large-scale language models like BERT and RoBERTa excel at word-level context but often lack a deep understanding of discourse—the high-level structure and coherence between sentences. We present CONPONO, a novel contrastive pretraining objective that requires models to distinguish a target sentence at a specific distance from "hard" negatives within the same document. Our results demonstrate that CONPONO significantly improves performance on discourse benchmarks, enabling a BERT-Base sized model to outperform the much larger BERT-Large.
Introduction
While Masked Language Modeling (MLM) has revolutionized natural language processing, it primarily focuses on local, word-level dependencies. Previous inter-sentence objectives, such as BERT’s Next Sentence Prediction (NSP), have been criticized for being too simplistic to provide a strong signal for learning complex discourse structures. Consequently, many recent models have abandoned sentence-level objectives entirely.
This paper argues that discourse-level understanding is critical for tasks requiring coherence and logical flow. We propose that the issue lies not with inter-sentence objectives themselves, but with their lack of difficulty and nuance.
Methods: The CONPONO Objective
The authors introduce CONPONO (Latin for arrange or order), a contrastive objective designed to move beyond binary classification.
The Contrastive Task
Given an "anchor" sentence $S_i$, the model must identify a "target" sentence $t_{i+k}$ located exactly $k$ sentences away, where $k \in \{-4, \dots, 4\}$. To make the task challenging, the model is presented with the correct target alongside several "hard" negatives—sentences from the same paragraph but at incorrect distances. This forces the model to learn fine-grained ordering rather than just topical similarity.
Joint Encoding and Cross-Attention
A key architectural choice in CONPONO is the use of joint encoding. Unlike methods that encode sentences in isolation, CONPONO feeds the anchor and target into the Transformer together. This enables cross-attention, allowing the model to directly compare tokens across sentences to identify discourse markers, coreference links, and other structural cues.
Multi-task Learning
CONPONO is trained jointly with the standard MLM objective. This ensures that the model retains its word-level proficiency while simultaneously developing a "far-sighted" view of document structure.
Experimental Setup
The model was pretrained on the standard Wikipedia and BooksCorpus datasets to ensure parity with BERT. Evaluation was conducted using DiscoEval, a suite of seven tasks designed to probe discourse knowledge, including Sentence Position (SP), Binary Sentence Ordering (BSO), and Discourse Coherence (DC). Additionally, the model was tested on downstream NLU tasks including RTE (Recognizing Textual Entailment) and COPA (Common-sense reasoning) to evaluate generalizability.
Results and Discussion
CONPONO achieved a new state-of-the-art on discourse benchmarks, showing an average absolute improvement of 4% across all tasks.
Key Findings
- Efficiency over Scale: As shown in the results table, a BERT-Base model (110M parameters) trained with CONPONO outperformed BERT-Large (335M parameters) on 5 out of 7 discourse tasks. This suggests that the quality of the pretraining objective can be more impactful than raw parameter count.
- Distance as a Signal: Predicting sentences at various distances ($k > 1$) provides a richer training signal than simple next-sentence prediction. It requires the model to infer long-range dependencies and omitted context.
- General Reasoning Gains: CONPONO improved performance on general reasoning tasks like COPA by 2% to 6%. This indicates that understanding discourse structure aids in reasoning about cause and effect.
Limitations and Future Work
While highly effective, CONPONO requires a certain baseline model capacity; a "Small" version of the model struggled to capture these complex relationships. Furthermore, while it rivals BERT-Large, it still trails behind massive state-of-the-art models like ALBERT on specific high-level reasoning benchmarks. Future research could explore more explicit discourse relationships (e.g., contrast vs. elaboration) and apply the CONPONO objective to even stronger base architectures like RoBERTa.
Conclusion
CONPONO demonstrates that discourse-level pretraining is a powerful tool for improving language model performance. By introducing a challenging, contrastive objective that leverages cross-attention and multi-distance prediction, we can build models that are not just masters of words, but also of the structural logic that binds them together.
Summary updated