Introduction
In natural language processing, coherence is the essential "glue" that transforms a sequence of sentences into a logical, unified text. While deep learning models have achieved remarkable success in understanding individual sentences, modeling the high-level organization and "flow" of a document remains a significant challenge.
Existing neural models for coherence assessment typically treat every document as an isolated entity. They extract features from a single text to predict its quality but ignore the underlying structural correlations between different documents. In practice, documents with similar organizational "skeletons" often share similar levels of coherence, regardless of their specific topics. This paper introduces StruSim, a framework that leverages these structural similarities as a powerful prior for assessment using Graph Convolutional Networks (GCNs).
The StruSim Framework
The authors propose a four-stage pipeline designed to capture and utilize inter-document structural relationships across an entire corpus. This approach moves beyond single-document analysis to a global, graph-based representation of text quality.
1. Sentence Graph Construction
Each document is first transformed into a graph where nodes represent individual sentences. Edges are established between sentences if they share semantically related nouns, determined using GloVe embeddings. This captures the local connectivity and topical progression within the text.
2. Subgraph Mining and Fingerprinting
To facilitate comparison between different documents, the model decomposes sentence graphs into smaller, recurring "subgraph patterns." These patterns serve as a structural "fingerprint," identifying specific ways sentences interrelate (e.g., linear chains versus dense clusters).
3. The Heterogeneous Corpus Graph
This is the core innovation of the model. The authors construct a massive, single graph representing the entire training set. It contains two types of nodes: Document nodes and Subgraph nodes. An edge is drawn between a document node and a subgraph node if the document contains that specific structural pattern. This links documents together indirectly through their shared structural elements.
4. GCN Encoding and Prediction
A Graph Convolutional Network is applied to this corpus-level graph. Document nodes are initialized with semantic features from a pre-trained XLNet model. As the GCN operates, information flows through the shared subgraph nodes, allowing the model to refine a document's representation based on the labels and structures of similar documents in the training set.
Experimental Results
The StruSim model was evaluated on two primary tasks: Assessing Discourse Coherence (ADC) using the Grammarly Corpus (GCDC) and Automated Essay Scoring (AES) using the TOEFL dataset.
- GCDC Dataset: StruSim achieved a mean accuracy of 61.23%, significantly outperforming the XLNet+DNN baseline of 59.10%. Notably, the Macro-F1 score improved from 43.91 to 47.66, indicating the model is much better at identifying minority classes (low and high coherence) rather than defaulting to the average.
- TOEFL Dataset: The model reached a mean accuracy of 75.34%, compared to 73.84% for the baseline.
Key Insights
- Structure as a Prior: By linking documents with similar "skeletons," the GCN helps mitigate class imbalance. If a new document shares a disjointed structure with known "low-quality" documents, the model can more confidently assign a lower score.
- Robustness to Length: Unlike standard neural models that struggle with long, complex texts, StruSim's performance actually improves or remains stable as document length increases. Longer texts provide more distinct and informative structural patterns for the GCN to process.
- The Density of Coherence: Analysis revealed that highly coherent texts typically feature denser subgraphs with more edges, while low-coherence texts are characterized by isolated nodes—sentences that fail to relate to the rest of the discourse.
Conclusion and Future Work
StruSim demonstrates that inter-document structural correlations are a vital signal for coherence assessment. Future research may improve the model by incorporating more complex discourse relations (such as Rhetorical Structure Theory) into the initial sentence graphs or by utilizing Graph Attention Networks (GATs) to more dynamically weigh the importance of different structural similarities.
Summary updated