T-065Global Semantic Coherence
Evaluates the overarching logical consistency and topical flow across an entire document. Because Large Language Models operate by predicting the next token based on a localized 'context window', they lack a genuine global mental model of the text they are generating. In longer documents, this frequently results in 'coherence drift'—the AI maintains flawless grammar at the sentence level but slowly meanders off-topic, contradicts premises established in earlier paragraphs, or completely fails to resolve the primary thesis introduced at the beginning. Human writers, by contrast, navigate text with a persistent, goal-oriented mental framework.
Algorithm / Model
Cross-Paragraph Semantic Similarity & Discourse Graphing
How it works
The algorithm plots the semantic embeddings of sequential paragraphs to track the logical trajectory of the text. It analyzes the 'distance' between the introduction, body vectors, and conclusion. If the text exhibits a fragmented discourse graph—such as failing to continuously reference core concepts, exhibiting sudden, unmotivated topic leaps, or demonstrating a 'wandering' semantic trajectory without a convergent conclusion—the system flags the text as lacking genuine global comprehension.
Technical Parameters
Analysis: Graph-based Discourse & Semantic Embedding Trajectory
Metric: Paragraph-to-Paragraph & Intro-to-Conclusion Semantic Distance
Output: 0-100 Global Incoherence (Semantic Drift) Score
Metric: Paragraph-to-Paragraph & Intro-to-Conclusion Semantic Distance
Output: 0-100 Global Incoherence (Semantic Drift) Score
Accuracy & Reliability
High — 78-86% accuracy on documents exceeding 800 words. Serves as a definitive indicator when combined with local perplexity metrics.
Strengths
• Targets the fundamental architectural weakness of current autoregressive LLMs (context drift over long outputs).
• Extremely difficult to bypass using standard prompting, as it evaluates the macro-structure of the text rather than localized vocabulary or grammar.
• Extremely difficult to bypass using standard prompting, as it evaluates the macro-structure of the text rather than localized vocabulary or grammar.
Limitations
• Requires significantly long texts (multiple paragraphs) to establish a baseline of coherence; completely ineffective on short snippets or tweets.
• May falsely penalize 'stream of consciousness' human writing or natural, unstructured conversational transcripts.
• May falsely penalize 'stream of consciousness' human writing or natural, unstructured conversational transcripts.
Use Case
Crucial for auditing long-form content, such as comprehensive essays, research papers, and multi-page reports, where maintaining a strict, overarching logical architecture is required.