Graph-based Local Coherence Modeling

Camille Guinaudeau, Michael StrubeACL 2013

Abstract

Local coherence is a fundamental property of text that ensures logical flow through consistent entity tracking. While the supervised Entity Grid model has long been the standard for measuring coherence, it suffers from computational complexity and domain dependence. This paper introduces an unsupervised, graph-based alternative that represents entity transitions as connections in a bipartite graph. By projecting this into a sentence-to-sentence graph and calculating average outdegree, the model achieves state-of-the-art results on sentence ordering and readability tasks. The approach is computationally efficient, requires no training data, and effectively captures long-distance entity dependencies.

Introduction

In Natural Language Processing, local coherence refers to the way sentences relate to one another through the entities they mention. A coherent text flows logically because entities are introduced and tracked consistently. Traditionally, the Entity Grid model has been the gold standard for this task. It constructs a matrix where rows represent sentences and columns represent entities, recording the syntactic role (e.g., Subject, Object) of each entity occurrence.

An example of an Entity Grid representation, showing syntactic roles (S, O, X) for entities across sentences.

Despite its success, the Entity Grid has significant drawbacks. It requires a supervised learning phase (typically using an SVM) to learn "good" transitions, which makes it computationally expensive and data-hungry. Furthermore, it often struggles with data sparsity and domain dependence, where a model trained on news articles performs poorly on other text types like fiction or medical documents.

Methodology: From Grids to Graphs

The authors propose an unsupervised alternative that models entity transitions using graph theory. The core of the approach is a Bipartite Graph $G = (V_s, V_e, L, w)$, where $V_s$ represents sentences and $V_e$ represents entities. An edge exists between a sentence node and an entity node if that entity appears in that sentence. These edges are weighted based on the entity's grammatical role (e.g., Subject = 3, Object = 2, Other = 1).

The graph-based modeling pipeline: (a) Bipartite Graph, (b-c) One-mode Projections, and (d-f) corresponding matrices.

To derive a coherence score, the bipartite graph is transformed via a One-mode Projection into a graph where nodes represent only sentences. Two sentences are connected if they share at least one entity. The final Coherence Score is calculated as the Average Outdegree of this sentence graph. The authors explored several projection variants, including unweighted ($P_U$), weighted ($P_W$), and syntactic-aware ($P_{Acc}$) versions, as well as distance-based penalties ($Dist$) for connections between distant sentences.

Evaluation and Results

The model was evaluated on three distinct benchmarks: sentence ordering (CoNLL 2012), summary coherence rating (DUC 2003), and readability assessment (Encyclopedia Britannica).

The results demonstrate that unsupervised graph-based modeling is highly competitive. In sentence ordering, the model achieved an accuracy of 0.889, nearly matching the state-of-the-art supervised model (0.915) without any training phase. In readability tasks, it significantly outperformed the standard Entity Grid (0.766 vs. 0.509 accuracy), proving particularly adept at distinguishing between different reading levels.

Key Insights

  • Unsupervised Efficiency: A simple graph centrality measure can rival complex supervised models, offering a "plug-and-play" solution that avoids feature space issues.
  • Syntactic Universality: Weighting subjects higher than objects consistently improved performance, validating linguistic intuitions about discourse "hooks."
  • Long-Distance Modeling: Unlike grids that look at local windows, graphs naturally capture entity re-occurrence across an entire document without increasing complexity.
  • Coreference Sensitivity: Interestingly, using automatic coreference resolution sometimes decreased performance due to noise in current tools, suggesting the model is sensitive to the quality of the underlying NLP pipeline.

Conclusion

By shifting from a machine-learning-heavy grid representation to a computationally efficient graph-based approach, this work demonstrates that local coherence can be assessed effectively without domain-specific training. Future work may involve refining entity salience using Named Entity Recognition or applying algorithms like PageRank to measure global document importance.

Summary updated

BibTeX
@inproceedings{guinaudeau2013graph,
  author = {Camille Guinaudeau and Michael Strube},
  title = {{Graph-based Local Coherence Modeling}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2013},
}
Figure