T-025Compression Information Density
Utilizes computational data compression algorithms (such as zlib, gzip, or LZ77) to measure the intrinsic information density, redundancy, and structural predictability of a text. Because Large Language Models generate text based on probabilistic token prediction, their outputs are fundamentally characterized by high syntactic regularity, lexical repetitions, and predictable n-gram sequences. Human writing is naturally more chaotic, featuring bursts of rare vocabulary, irregular formatting, and higher information entropy. Consequently, AI-generated text compresses significantly more efficiently (yielding a smaller file size relative to the original) than human-written text.
Algorithm / Model
Multi-Algorithm LZ77/DEFLATE Ratio Analysis
How it works
The algorithm takes the raw input text and encodes it using standard lossless compression algorithms. It then calculates the Compression Ratio (Compressed Size / Original Size). A low ratio indicates high redundancy and structural predictability—a strong indicator of machine generation. Furthermore, the system employs a sliding window technique (e.g., 200-500 characters) to analyze local compressibility segments. Wild variances in compressibility across different windows often signal a 'Frankenstein' text, indicating mixed human and AI authorship within the same document.
Technical Parameters
Analysis: Shannon Entropy & LZ77 Information Density
Metric: Global & Sliding-Window Compression Ratio Variance
Output: 0-100 Compressibility (Algorithmic Predictability) Score
Metric: Global & Sliding-Window Compression Ratio Variance
Output: 0-100 Compressibility (Algorithmic Predictability) Score
Accuracy & Reliability
Moderate to High — 75-82% standalone accuracy on texts exceeding 500 words. Functions best as a rapid pre-filter in a multi-layered analysis pipeline.
Strengths
• Completely unsupervised and model-agnostic; requires no neural network training data to function.
• Extremely fast computational execution (client-side capable).
• Captures fundamental information-theoretic properties that are mathematically difficult for an AI to fake.
• Extremely fast computational execution (client-side capable).
• Captures fundamental information-theoretic properties that are mathematically difficult for an AI to fake.
Limitations
• Performance degrades significantly on texts shorter than 200 words, as compression algorithms require sufficient data to build a dictionary.
• Human-written technical, legal, or programming-related texts with naturally high repetition of specific jargon will compress very well, risking false positives.
• Human-written technical, legal, or programming-related texts with naturally high repetition of specific jargon will compress very well, risking false positives.
Use Case
Highly effective as a rapid, language-agnostic, unsupervised filter for scanning massive volumes of text, particularly useful in academic and computing education environments.