Introduction
Discourse coherence is the logical "glue" that transforms a sequence of sentences into a unified narrative. While humans intuitively grasp the flow of a story, AI models have historically struggled to maintain this global structure, often producing text that feels disjointed. Researchers from Stanford have introduced novel neural network models designed to both evaluate and generate coherent discourse in open-domain settings.
The Challenge of Open-Domain Coherence
Traditional approaches to discourse coherence relied heavily on hand-crafted features, such as entity centering (tracking noun repetitions) or specific rhetorical structures. However, these methods face two primary hurdles:
- Domain Independence: Models trained on specific datasets (e.g., news reports) often fail in "open-domain" environments like Wikipedia, where topics are virtually limitless.
- Generation vs. Evaluation: Most existing models are discriminative—they can identify if a text is coherent but cannot generate coherent text themselves.
Proposed Generative Architectures
The researchers explored three generative model variations to address these challenges, focusing on how global discourse state can be maintained during text generation.
The Variational Latent Variable Generative Model (VLV-GM) stands out by incorporating a Markov-structured neural latent variable. Unlike standard Seq2Seq models that may lose the "big picture" as they generate words, the VLV-GM treats discourse as an evolving state. For each new sentence, the model updates a hidden state based on previous context, ensuring the global topic remains influential throughout the writing process. To further improve quality, a Mutual Information (MMI) scoring system is used to penalize generic responses and reward informative content.
Datasets and Evaluation
To test these models, the authors utilized both classic domain-specific datasets (NTSB accident reports) and a massive new open-domain benchmark. This benchmark consists of 30 million sentences from Wikipedia, providing a rigorous test of a model's ability to handle diverse semantic contexts.
Key Results and Insights
The study revealed that while discriminative models perform exceptionally well on narrow datasets (reaching up to 96% accuracy), they often fail in open-domain tasks. In contrast, generative models like the VLV-GM proved more robust.
In sentence ordering tasks on Wikipedia, the VLV-GM achieved 87.3% accuracy, significantly outperforming traditional "Entity Grid" models and standard Seq2Seq approaches. Furthermore, adversarial evaluations showed that the VLV-GM was much more successful at "fooling" an automated evaluator than its predecessors, particularly as text length increased.
Limitations and Future Directions
Despite these advancements, several challenges remain:
- Long-term Drift: Coherence still tends to degrade in very long passages as errors in the "discourse state" accumulate.
- Causal Logic: While the models handle temporal and lexical flow well, they struggle with complex causal relationships (e.g., "despite" or "therefore").
- Interpretability: The "discourse embedding space" remains a "black box," and future work is needed to map out exactly what these hidden states represent.
By treating discourse as a sequence of evolving hidden states, this research moves AI closer to generating human-like, logically consistent narratives across any topic.
Summary updated