Tracking AI Progress Through Perplexity and Compression
An analysis of OpenAI's use of perplexity to track pretraining progress, correlating log-perplexity thresholds with capability milestones and detailing metric limitations.
According to the OpenAI post Perplexity and Intelligence by Chief Scientist Jakub Pachocki, modern AI models are created by training a compressor or predictor on a very large corpus of data. Developers then apply techniques like prompting, fine-tuning, or reinforcement learning to elicit latent capabilities from this base model.
How Pretraining Progress is Tracked
The source states that OpenAI tracks pretraining progress using perplexity, or cross-entropy loss, on a held-out dataset. Specifically, they report numbers using snapshots from their internal codebase starting with GPT-3.5.
According to the blog post, specific log-perplexity thresholds correspond to major capability leaps:
- GPT-3.5: Sat at approximately 0.99 log-perplexity, providing fluent conversation.
- GPT-4: Reached approximately 0.91 log-perplexity, introducing proficient chain-of-thought reasoning.
- Sub-0.8 Models: Exhibited emergent capabilities in mathematics and cybersecurity.
- ~0.76 Models: Began producing groundbreaking results when posed with open problems in mathematics and contributed to deep learning research.
Why Developers Might Care
For developers, tracking pretraining progress via compression offers a fundamental lens on AI advancement rather than relying solely on scattered application benchmarks.
The source also proposes establishing shared industry norms, transparency standards, and common development limits based on perplexity measurements. These limits would pause development until alignment and monitoring capabilities reach concrete milestones before entering the anticipated ~0.68 to 0.7 log-perplexity window.
Limitations of Perplexity
The author highlights several challenges and limitations when using perplexity as a primary metric:
- Comparison Difficulties: Different developers use disparate evaluation datasets and training data mixtures, making cross-lab comparisons hard.
- Detachment from Tasks: Perplexity measures general prediction rather than a specific end-user task. It is tracked because advances lead to unexpected capability emergence.
- Excluding Other Advances: The metric does not account for improvements outside of pretraining, such as chain-of-thought reasoning, which increase capabilities without reducing base model perplexity.
- Unknown Floor: The inherent entropy of data is unknown, meaning the loss floor cannot be determined. As models approach this floor, apparent progress on perplexity will slow down.