Study Equates Perplexity with Compression, Measured Using Only Standard Python Tools
A developer tested the link between perplexity and compression on a 6.5 MB English text corpus, using only standard-library tools and no model weights. Off-the-shelf compressors such as bzip2 reached about 2.18 bits per byte, while a simple character 5-gram model trained on 80% of the text scored 2.47 bits per character on the remaining 20%. The author found this n-gram beat gzip, supporting the idea that a good next-character predictor is effectively a compressor. The comparison was prompted by OpenAI's publication 'Perplexity and Intelligence', which proposes perplexity as a shared progress metric. The author notes bzip2 outperformed the n-gram partly because it sees the whole file, including the test portion.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in