T-168Semantic Flow Analysis

Statistical Analysistext2022

Tracks semantic similarity flow between consecutive sentences — AI text often has unnaturally smooth or abrupt semantic transitions.

Sentence-Level Semantic Similarity Time Series and Flow Pattern Analysis
This method applies Semantic Flow Analysis for AI-generated content detection:\n\n1. Sentence Embedding and Similarity Computation: Each sentence is encoded using a Sentence-BERT model (Reimers & Gurevych, 2019), producing 768-dimensional embeddings. For each consecutive sentence pair (s_i, s_{i+1}), the cosine similarity sim(s_i, s_{i+1}) is computed, producing a semantic flow time series. Key distributional features: (a) mean similarity — the average pairwise similarity across all consecutive pairs. Human text: 0.35–0.55 (moderate semantic continuity). AI text: 0.50–0.70 (higher average — AI produces smoother, more topically consistent transitions). (b) Similarity variance — the spread of pairwise similarities. Human: σ² = 0.015–0.040 (high variance reflecting natural topic shifts, digressions, examples). AI: σ² = 0.005–0.015 (low variance — uniformly smooth flow). (c) Similarity range — max similarity minus min similarity. Human: 0.50–0.80 (wide range). AI: 0.25–0.45 (compressed range).\n\n2. Flow Pattern Classification: The semantic flow time series is analyzed for characteristic patterns: (a) monotonic segments — consecutive increases or decreases in similarity. Human text shows short monotonic segments (2–3 sentences) interrupted by direction changes. AI text shows longer monotonic segments (4–7 sentences), reflecting predictable topic development. (b) Oscillation frequency — how often the similarity direction reverses. Human: 0.35–0.50 reversals per sentence (frequent direction changes). AI: 0.20–0.30 (less frequent, more predictable). (c) Plateau detection — segments where similarity remains approximately constant (within ±0.05). Human plateau length: 1–2 sentences (brief). AI: 3–5 sentences (extended plateaus of uniform similarity). (d) Cliff detection — abrupt similarity drops > 0.3 in one step. Human cliff rate: 3–8% of transitions. AI: 1–3% (AI avoids abrupt topic changes).\n\n3. Multi-Scale Flow Analysis: The method analyzes semantic flow at multiple granularities: (a) local flow (window size 2–3 sentences) — captures immediate sentence-to-sentence coherence. Local coherence coefficient: human 0.45–0.60, AI 0.55–0.75. (b) Paragraph-level flow (window size matching paragraph length) — captures within-paragraph topical consistency. Paragraph coherence: human 0.50–0.70, AI 0.60–0.80. (c) Global flow (full document) — captures overall topical trajectory. The method computes the autocorrelation function of the similarity time series. Human text shows significant autocorrelation at lags 1–3 (short-range dependence) and near-zero autocorrelation at lags 5+. AI text shows persistent autocorrelation extending to lags 5–10 (long-range predictability). The ratio of long-range to short-range autocorrelation is a strong discriminator: human 0.15–0.35, AI 0.40–0.65.\n\n4. Semantic Surprise and Predictability: The method quantifies how 'surprising' each sentence is relative to the preceding context: (a) contextual surprise — 1 – sim(s_i, centroid(s_1...s_{i-1})). This measures how much each new sentence deviates from the accumulated topic. Human surprise distribution follows a roughly uniform pattern with occasional spikes (creative transitions, new examples). AI surprise monotonically decreases — each sentence becomes progressively more predictable given the context. (b) Novelty score — the minimum distance from sentence s_i to all previous sentences. Human maintains a novelty floor of 0.25–0.40 throughout the text (continuously introducing genuinely new content). AI novelty declines from 0.35–0.45 initially to 0.15–0.25 by the text's end (repeating earlier themes). (c) Burstiness — whether semantic similarity changes follow a bursty distribution (heavy-tailed) or a regular distribution. Human text shows bursty transitions (many small changes, occasional large jumps). AI shows regular transitions (normally distributed changes). Burstiness coefficient B: human 0.3–0.6; AI 0.0–0.2.
Mean similarity human: 0.35–0.55\nMean similarity AI: 0.50–0.70\nSimilarity variance human: 0.015–0.040\nSimilarity variance AI: 0.005–0.015\nOscillation frequency human: 0.35–0.50\nOscillation frequency AI: 0.20–0.30\nCliff rate human: 3–8%\nCliff rate AI: 1–3%\nLR/SR autocorrelation ratio human: 0.15–0.35\nLR/SR autocorrelation ratio AI: 0.40–0.65\nNovelty floor human: 0.25–0.40\nNovelty floor AI: 0.15–0.25\nBurstiness human: 0.3–0.6\nBurstiness AI: 0.0–0.2\nMinimum sentences: 10
82–89% accuracy detecting AI-generated text through semantic flow analysis. Similarity variance achieves AUC of 0.88. Autocorrelation ratio provides F1-score of 0.85. Burstiness coefficient adds 3–4% improvement. Performs best on essays, articles, and multi-paragraph expository text.
• Sentence-BERT provides robust semantic representations\n• Multi-scale analysis captures both local and global patterns\n• Flow pattern features are highly discriminative\n• Burstiness analysis captures fundamental human vs. AI difference\n• Applicable to any sufficiently long prose text
• Requires 10+ sentences for meaningful time series analysis\n• Embedding model quality affects similarity computations\n• Highly structured text (step-by-step guides) naturally has smooth flow\n• Translation may alter natural flow patterns\n• Advanced AI models increasingly produce more natural flow variation
Detecting AI-generated essays through unnaturally smooth semantic flow. Evaluating text naturalness in content moderation. Identifying AI-written articles through predictable topic progression. Assessing writing quality through semantic surprise analysis.