T-147Local Coherence Modeling (Entity Grid Analysis)

Statistical Analysistext2021

Examines how subjects and entities transition from one sentence to the next. Human writers naturally maintain thematic focus by carrying core subjects across sentences (e.g., repeating a subject or using pronouns), creating strong 'local coherence.' AI models, focusing on localized next-word prediction, frequently shift subjects abruptly or fail to resolve entities across sentence boundaries.

Barzilay-Lapata Entity Grid & Transition Probability Matrix
This method relies on the Entity-Based Local Coherence Model (Barzilay & Lapata, 2008). It works by extracting all noun phrases (entities) in a text and mapping their grammatical roles (Subject, Object, None) across consecutive sentences to build a two-dimensional 'Entity Grid.' For example, if 'the dog' is the Subject of Sentence 1, is it the Object of Sentence 2? The algorithm calculates the probability of specific role transitions (e.g., Subject-to-Subject, Subject-to-Object, Subject-to-Absence). Human writers instinctively follow established discourse patterns, maintaining high local coherence by keeping central entities active. In contrast, LLMs, lacking a true holistic cognitive map of the text, often exhibit 'hallucinated coherence.' They write sentences that sound grammatically flawless in isolation but exhibit chaotic, low-probability entity transitions when analyzed as a contiguous sequence. If a grid shows too many entities appearing once as a Subject and vanishing immediately, or erratic role shifting without pronominal resolution, it flags the text as an AI compilation.
Analysis: Entity Role Transition Mapping via NLP Dependency Parsing
Metric: Entity Grid Transition Probabilities

Output: 0-100 Discourse Fragmentation (Local Coherence Failure) Score
High — 81-88% on multi-paragraph texts. It decisively exposes the LLM's inability to maintain a persistent cognitive anchor on core subjects over long contexts.
• Targets the AI's fundamental weakness in macro-planning and discourse management.
• Grounded in a highly robust, classic NLP framework that is extremely difficult for prompt engineers to bypass, as humans cannot easily micromanage entity transitions manually while writing prompts.

• Language-independent concept, provided an accurate dependency parser exists for the target language.
• Requires heavy NLP preprocessing (Part-of-Speech tagging, Coreference Resolution, Dependency Parsing), making it computationally expensive.
• Shorter texts (under 150 words) do not provide a large enough Entity Grid to calculate statistically significant transition probabilities.

• Highly creative human writing (like poetry or extreme stream-of-consciousness) might naturally exhibit chaotic entity transitions, triggering false positives.
Essential for evaluating long-form argumentative essays, narratives, and technical explanations where sustaining a logical train of thought across multiple paragraphs is critical.