Abstract
Han Cheol Moon, Tasnim Mohiuddin, Shafiq Joty, Chi Xu. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP).
2019.
Introduction
Coherence modeling is a fundamental task in natural language processing, essential for evaluating the logical flow and organization of text. This capability is foundational for AI-driven summarization, translation, and dialogue systems. Historically, models have been divided into local approaches (focusing on sentence-to-sentence transitions) and global approaches (focusing on document-wide topic distributions). However, existing models often lack the precision to detect subtle logical disruptions, such as when two sentences are swapped within an otherwise coherent document. This paper introduces a unified framework that bridges this gap by integrating syntax-aware encoding with both local and global discourse features.
Methodology
The proposed Unified Neural Coherence Model utilizes a Siamese architecture to learn a ranking function that distinguishes coherent "positive" documents from incoherent "negative" ones. The framework consists of four primary components:
- Sentence Encoder with Language Model Loss: A bi-directional LSTM (bi-LSTM) encodes sentences into vectors. To ensure the model captures intentional discourse structure rather than just word distributions, an auxiliary Language Model (LM) loss is added during training. This forces the encoder to understand internal grammar and syntax.
- Local Coherence Module: A bilinear layer models the relationship between every two consecutive sentences, capturing the transition of thoughts and discourse flow.
- Global Coherence Module: To capture document-wide patterns efficiently, the model employs lightweight depth-wise convolutions. This allows the model to see the "big picture" (such as entity distributions) across the entire text without the parameter explosion associated with standard convolutions.
- Adaptive Pairwise Ranking Loss: Standard ranking losses can be noisy if they penalize a negative document in windows where it remains locally coherent. The authors introduced an adaptive loss that only triggers when the local windows of the positive and negative documents actually differ.
Experimental Evaluation
The model was evaluated using the Wall Street Journal (WSJ) news corpus across three distinct tasks:
- Global Discrimination: Comparing an original document to one where all sentences are randomly shuffled.
- Inverse Discrimination: Comparing a document to its exact reverse sentence order.
- Local Discrimination: A novel and more challenging task where only a small window of three sentences is permuted. This tests the model's surgical precision in detecting incoherence.
Results and Discussion
The unified model significantly outperformed previous baselines across all metrics:
- Global Accuracy: On the standard WSJ task, the model achieved 93.19% accuracy (using ELMo embeddings), surpassing the previous state-of-the-art of ~88%.
- Inverse Order: The model reached 96.78% accuracy, proving it understands the logical progression of narrative and time rather than just keyword distributions.
- Local Sensitivity: In the difficult Local Discrimination task, the unified model achieved 64.38%, while previous state-of-the-art models hovered between 53-56%.
A key insight from the results is the importance of syntax; the addition of the LM loss significantly improved the model's ability to capture intentional structure. While the global component provides essential context, the authors noted it can occasionally introduce noise in tasks where sentence order is the only variable, as global pooling tends to be order-invariant.
Conclusion
The Unified Neural Coherence Model represents a significant advancement by successfully combining local and global features. Its superior performance, particularly in local discrimination, suggests it could serve as a powerful reward signal in reinforcement learning for generative tasks, helping multi-turn dialogue systems or summarizers maintain logical consistency and avoid abrupt topic shifts.
Summary updated