T-001Text Perplexity Analysis
Measures the baseline statistical 'predictability' of the text. Large Language Models operate by predicting the most mathematically probable next token. Consequently, AI-generated text is fundamentally designed to be unsurprising to a language model, resulting in a low 'perplexity' score. Human writers, conversely, frequently make unpredictable, idiosyncratic, or creative word choices that violate a model's expectation of the next word, leading to much higher average perplexity.
Algorithm / Model
Log-Likelihood Token Evaluation and Baseline Divergence
How it works
This algorithm runs the input text through an evaluative language model (often an open-source model like GPT-2 or a customized evaluator) and measures the log-probability of every single token given its preceding context. 'Perplexity' is essentially a mathematical measurement of how 'surprised' the evaluating model is by the text. In AI-generated text, because the text was originally constructed by selecting highly probable words, an evaluating model will easily 'guess' the sequence, yielding a low, uniform perplexity score. Humans do not write using statistical probability; we use colloquialisms, abrupt topic shifts, mixed metaphors, and unique phrasing that a language model cannot easily predict. When the evaluating model encounters these human quirks, its confidence drops, and the text's perplexity spikes. The system calculates an 'Artificial Predictability Score' by analyzing the overall average perplexity of the text against established human boundaries.
Technical Parameters
Analysis: Per-Token Log-Probability Scoring via Evaluator Model
Metric: Baseline Perplexity Average and Predictability Variance
Output: 0-100 Artificial Predictability (Low-Perplexity) Score
Metric: Baseline Perplexity Average and Predictability Variance
Output: 0-100 Artificial Predictability (Low-Perplexity) Score
Accuracy & Reliability
High — 80-90% accuracy on standard, unedited AI text. However, accuracy drops significantly on heavily edited, 'humanized', or intentionally prompted variable-temperature outputs.
Strengths
• Extremely effective against zero-shot, unprompted AI generation from standard models (like ChatGPT's default output).
• Operates universally across different topics and basic linguistic genres without requiring specialized rule sets.
• Rooted in the fundamental mechanics of how all autoregressive LLMs function.
• Operates universally across different topics and basic linguistic genres without requiring specialized rule sets.
• Rooted in the fundamental mechanics of how all autoregressive LLMs function.
Limitations
• Susceptible to circumvention via 'temperature' adjustments during generation, or deliberate prompt engineering (e.g., 'write this with high perplexity' or 'use strange vocabulary').
• Highly technical or niche texts (like medical journals, legal contracts, or boilerplate code) often have naturally low perplexity because their terminology is rigid and highly structured, leading to false positives for machine generation.
• Struggles with very short texts (under 100 words) where significant statistical baselines cannot be established.
• Highly technical or niche texts (like medical journals, legal contracts, or boilerplate code) often have naturally low perplexity because their terminology is rigid and highly structured, leading to false positives for machine generation.
• Struggles with very short texts (under 100 words) where significant statistical baselines cannot be established.
Use Case
The foundational mechanism for almost all modern AI detection systems, essential for quickly scanning large volumes of text—such as student essays, marketing copy, and news articles—to determine if the underlying vocabulary generation follows a statistical curve or human impulse.