TL;DR
The authors introduce the Deep Coherence Model (DCM), an end-to-end convolutional neural network (CNN) framework designed to evaluate text coherence. By simultaneously learning sentence representations and explicit sentence-to-sentence semantic similarities, DCM avoids the need for manual feature engineering or brittle external syntactic parsers, outperforming existing state-of-the-art models on sentence ordering tasks by a substantial margin.
What Problem Does This Paper Address?
Text coherence—the logical and consistent connection between sentences—is fundamental to creating readable text. It is a critical component in downstream natural language processing (NLP) tasks like multi-document summarization and text generation.
Historically, capturing coherence has been difficult because the concept is highly abstract. Early approaches relied heavily on manual feature engineering (e.g., tracking named entities or syntactic patterns), which requires extensive domain expertise. Recent deep learning approaches turned to Recurrent Neural Networks (RNNs) or Recursive Neural Networks. However, RNNs struggle with long-distance dependencies due to vanishing gradients, while Recursive NNs depend heavily on external, computationally expensive syntactic parsers to build tree structures. Furthermore, these models often overlook the explicit semantic interactions between adjacent sentences.
Methods
The proposed Deep Coherence Model (DCM) uses a sliding window approach, breaking a document down into local sentence groups called "cliques" (e.g., a window size of $L=3$ sentences) to evaluate local coherence.
The architecture consists of three main stages:
- Distributional Sentence Representation: Raw words are converted into dense word embeddings to form a "sentence matrix." A CNN then slides across this matrix to capture high-level semantic features, followed by a ReLU activation function and a max-pooling layer to output a low-dimensional vector for each sentence.
- Similarity Computation: Instead of just concatenating the sentence vectors, DCM introduces learnable similarity matrices ($M_1, M_2$) to explicitly score the semantic interaction between adjacent sentences (e.g., $Sim(fs) = x_f^T M_1 x_s$).
- Join and Classification Layers: The individual sentence vectors and their corresponding similarity scores are concatenated in a join layer to create a rich text representation. This combined vector passes through a hidden layer and a final softmax/sigmoid layer to output the probability that the text clique is coherent.
To evaluate an entire document, the model computes the product of the probabilities of all constituent cliques.
Datasets
The model was evaluated on a standard Sentence Ordering task using two widely accepted corpora:
- Aviation Accident Reports: Sourced from the National Transportation Safety Board, averaging 11.5 sentences per document.
- Earthquake Articles: Sourced from the Associated Press, averaging 10.4 sentences per document.
For both datasets, 100 articles were used for training. Testing was conducted on 100 accident reports and 99 earthquake articles. Pairwise evaluation data was generated by creating up to 20 random permutations (negative examples) for each original, coherent document (positive example).
Key Insights and Ideas
- Co-learning Representation and Coherence: Rather than treating sentence embedding and coherence scoring as separate pipeline steps, DCM optimizes both simultaneously. This allows the CNN to learn sentence representations specifically tuned to capture flow and transition.
- Explicit Interaction Modeling: Simply concatenating sentence vectors isn't enough. Introducing learnable similarity matrices ($M_1, M_2$) allows the network to explicitly map how well the end of one sentence connects to the beginning of the next. An ablation study removing this component (
DCM_Nosim) showed a clear drop in performance. - CNNs as a Parser Alternative: By utilizing a standard CNN over word embeddings, the model bypasses the need for external NLP syntactic parsers entirely, making it much more computationally efficient and robust than recursive neural network alternatives.
Key Results
DCM significantly outperformed all baseline methods—including standard HMMs, Entity Grids, and Recurrent/Recursive neural models—achieving a new state-of-the-art result.
- Overall Accuracy: DCM achieved an average accuracy of 97.3% across both datasets (95.0% on Accidents and 99.5% on Earthquakes).
- Improvement Margin: This represents an approximate 5.3% absolute gain on average over the previous best-performing recursive neural network model (which sat at 92.0%).
Limitations and Future Work
While the authors demonstrate that varying the clique window size ($L$) did not significantly alter performance in their experiments, the model still fundamentally relies on a localized window to calculate global document coherence (via a product of clique probabilities). This approach might struggle to capture very long-range narrative arcs or global structural patterns that span across an entire essay or book chapter. Future work could explore incorporating hierarchical architectures to better capture document-level global context.
Summary updated