Abstract
Local coherence, the logical flow between sentences, is essential for high-quality text. Traditional methods for measuring coherence often rely on entity grids or complex convolutional networks. This paper introduces a novel neural graph-based model that represents documents as graphs and utilizes Relational Graph Convolutional Networks (RGCNs) to capture both linear adjacency and long-distance entity relationships. The proposed model achieves state-of-the-art performance on standard benchmarks while maintaining a significantly smaller parameter footprint than existing grid-based approaches.
Introduction
Evaluating the logical flow and thematic consistency of a text—known as local coherence—is a fundamental challenge in natural language processing. It is a critical component for applications such as automated summarization, essay scoring, and machine translation. Historically, coherence modeling has been dominated by entity grid frameworks, which represent entity transitions across sentences in a matrix. However, these grids often struggle with non-linear relationships and long-distance dependencies.
While recent advancements have applied Convolutional Neural Networks (CNNs) to entity grids and leveraged Transformers like BERT, these methods face scalability and computational efficiency issues. CNNs on grids are computationally intensive, and Transformers are often constrained by fixed input lengths. This research revisits graph-based representations, integrating them with modern deep learning techniques to create a more efficient and flexible coherence model.
Methods
The proposed Neural Graph-based Local Coherence Model processes text through a four-stage pipeline:
- Graph Construction: The document is transformed into a graph where nodes represent sentences. Two types of edges are established: "adj" (adjacency) edges connect consecutive sentences to capture sequential flow, and "ent" (entity) edges connect sentences sharing common entities, capturing topical links across the text.
- Sentence Encoding: Sentences are encoded into vector representations using a BiLSTM over Word2Vec embeddings. This choice ensures the model remains lightweight compared to large-scale Transformer-based encoders.
- RGCN Layer: A Relational Graph Convolutional Network (RGCN) updates sentence representations by accounting for the different edge types. This allows the model to distinguish between direct sequential neighbors and broader entity-based connections.
- Self-Attention and Scoring: A multi-head self-attention mechanism identifies the most salient sentences for overall coherence. The final output is a single scalar coherence score.
Results and Discussion
The model was evaluated on two primary benchmarks: Sentence Ordering (SO) using the Wall Street Journal corpus and Summary Coherence Rating (SCR) using the DUC-2003 corpus.
The results indicate that the graph-based approach significantly outperforms traditional grid-based methods. On the SO task, the model achieved an accuracy of 92.41%, surpassing previous grid-based models (~88.5%) and the previous state-of-the-art (90.69%). In the SCR task, the model reached 87.5% accuracy, a substantial improvement over the 75.0% baseline.
A key finding is the model's efficiency. It achieves these results with approximately 5.0 million parameters, roughly half the size of the 9.5 million parameters required by the Moon et al. (2019) baseline. Ablation studies further revealed that adjacency edges are vital for sentence ordering, whereas entity edges are more critical for summary coherence, highlighting the importance of relational modeling.
Conclusion
This work demonstrates that graph-based neural models offer a powerful and efficient alternative to grid-based coherence modeling. By leveraging RGCNs to capture multi-relational sentence dependencies, the model achieves superior performance with fewer parameters. Future research will explore the model's performance on natural, non-synthetic datasets and the integration of more advanced pre-trained embeddings to further enhance coherence detection.
Summary updated