Abstract
Modern large language models (LLMs) demonstrate remarkable fluency at the sentence level but often struggle to maintain global coherence in long-form generation. This paper presents a framework for model criticism in latent space, a statistical approach to evaluating high-level structural properties such as discourse coherence and coreference. By projecting generated text into a latent space defined by specialized "critic" models, we demonstrate that word-level fluency—measured by standard perplexity—is a poor proxy for narrative logic. Our findings reveal that while models excel at topical association, they frequently fail to maintain structural integrity, a gap that scaling alone does not appear to bridge.
1. Introduction
The current generation of language models has largely mastered the art of local fluency. At the level of individual sentences or short paragraphs, AI-generated text is often indistinguishable from human writing. However, as the length of the output increases, these models frequently "lose the plot," descending into self-contradiction, repetitive loops, or illogical transitions.
The fundamental issue lies in how we evaluate these models. Standard metrics like perplexity (the probability of predicting the next token) and n-gram overlap prioritize local grammatical correctness. They are effectively "blind" to the high-level discourse structure required for a coherent story or a technical report. This paper introduces a formal statistical framework to measure the gap between a "fluent grammarian" and a "coherent storyteller."
2. Methodology: Model Criticism in Latent Space
To evaluate high-level structure, the authors propose moving the evaluation from the "observation space" (the raw words) to a latent space that represents structural concepts.
2.1 The Critic Model ($P_c$)
The framework relies on a "critic" model, denoted as $P_c$. This is a simpler, interpretable model designed to capture a specific structural feature. For example:
- Hidden Semi-Markov Models (HSMMs) are used to track transitions between sections (e.g., Introduction to Methods).
- Correlated Topic Models (CTMs) are used to evaluate how different topics relate across a document.
2.2 Projection and Latent Perplexity
Both human-authored (ground truth) and model-generated texts are projected into this latent space. The framework then calculates Latent Perplexity (Latent PPL) or Latent Negative Log-Likelihood (Latent NLL). If a generated document follows a structural path that is highly improbable according to the human-trained critic—such as jumping from an introduction directly to a conclusion—the Latent PPL will be high, signaling a structural failure regardless of how fluent the individual sentences are.
3. Experimental Design
The framework was tested across several domains to assess different aspects of long-form text:
- Synthetic Data: Designed with known state transitions to test if models can match local statistics while failing global ones.
- Scientific Papers (PubMed & arXiv): These datasets provide a rigorous test for discourse coherence due to their standardized sections (Intro, Methods, Results, Discussion).
- Wikipedia (WIKI & WIKI-SHORT): Used to evaluate general knowledge articles and topical consistency.
4. Key Insights
4.1 The Perplexity Trap
The most significant finding is the decoupling of word-level fluency and structural logic. In synthetic tests, a Transformer model achieved near-perfect word-level perplexity, yet its Latent PPL was nearly 50% higher than the ground truth. This suggests that models can "guess" the next word correctly through local patterns without actually understanding the underlying global sequence.
4.2 The Role of Lexical Anchors
The research highlights that Transformers often rely on "lexical anchors" like section titles to maintain coherence. On the PubMed dataset, human text had a Latent PPL of 2.58. When GPT-2 Small was given explicit titles, it achieved a respectable 2.68. However, when titles were removed, the Latent PPL spiked to 3.76. This indicates that the models struggle to maintain internal narrative logic without explicit structural cues.
4.3 Scaling and Coreference
A common assumption in NLP is that increasing model size solves most qualitative issues. However, this study found that scaling from GPT-2 Small to GPT-2 XL (1.5B parameters) provided almost no improvement in Latent PPL for coreference chains (tracking how pronouns refer back to entities). While larger models are more fluent, they are not necessarily more logical in how they track entities over long distances.
4.4 Topical vs. Logical Consistency
The models performed best in "Topical Correlation." On Wikipedia, the Latent NLL of the models (123.30) was nearly identical to human data (124.70). This suggests that modern LMs are excellent at understanding what topics belong together (e.g., "poets" and "publishers"), but their primary failure lies in the order and logical flow of those topics.
5. Conclusion
Model criticism in latent space provides a necessary tool for identifying the structural shortcomings of modern LLMs. The results demonstrate that fluency is not a surrogate for coherence. Future work should focus on moving beyond the "perplexity trap" by incorporating these latent structural criticisms into the training process itself, perhaps through reinforcement learning, to move closer to generating truly coherent long-form narratives.
Summary updated