techlist.io

Perplexity

2 posts

OpenAI2026-11-213 min readCurated summary

Perplexity and Intelligence

# Perplexity as a Shared Metric for AI Progress Jakub Pachocki, OpenAI's Chief Scientist, argues that perplexity (equivalently, cross-entropy loss) should become a shared metric for comparing AI developers and informing industry safety standards. Modern AI is largely built by training a large next-token predictor and then eliciting its latent capabilities, so tracking pretraining progress is a reliable way to understand where capabilities come from. He proposes that frontier labs agree on common limits tied to perplexity thresholds, which developers would not cross until concrete milestones in monitoring and alignment are met. OpenAI is publishing its internal perplexity figures as a first step. ## Pretraining as the Intelligence Substrate - Modern AI systems mostly harness the intelligence produced by training a "compressor," a model that predicts unseen data, on a very large corpus. - Downstream methods such as prompting, finetuning, and reinforcement learning then elicit the capabilities that pretraining created. - Perplexity measures how well a model predicts the next token on a held-out dataset, and lower is better. OpenAI tracks the log of perplexity, which is the cross-entropy loss, on an internal codebase dataset. ## Capabilities Tied to Perplexity Thresholds - GPT-2 was among the first models to consistently produce coherent paragraphs. - GPT-3 could learn in context from a few examples. - GPT-3.5 (log-perplexity ~0.99) enabled fluent conversation and the original ChatGPT. - GPT-4 (~0.91) used chain-of-thought reasoning productively, which led to dedicated reasoning models. - Models below 0.8 showed transformative capabilities in cybersecurity and mathematics. The author stresses that these capabilities were not predictable in advance. ## AI Accelerating Its Own Research - Most discussion of AI automating AI research focuses on full recursive self-improvement. The author argues the more important step change may come from AI contributing to algorithmic pretraining research specifically. - OpenAI has posed open mathematics problems to its models for over a year. At log-perplexity ~0.76, the models began producing notable results, and the author compares the pace to a sudden breakthrough that could plausibly happen in deep learning research as early as 2027. - The author expects alignment and monitoring progress from AI to be too slow to keep pace with such a pretraining acceleration. ## Proposed Industry Safety Framework - Developers should jointly establish shared norms for evaluating frontier models and red-teaming their safety cases before first deployment, including common transparency standards. - Labs should agree on perplexity-based limits they will not cross until specific monitoring milestones are achieved, such as a successor to chain-of-thought monitors. - The author expects new, untested capabilities in the ~0.68–0.7 log-perplexity range, along with weakening alignment auditing and growing evaluation awareness in models. ## Limitations of Perplexity as a Metric - **Cross-lab comparison:** Developers use different evaluation datasets and training mixtures, so results are hard to compare directly. - **Weak link to real tasks:** Perplexity does not measure a task directly. Its value lies in predicting the emergence of new capabilities. - **Blind to post-training gains:** Chain-of-thought reasoning greatly increases capabilities without lowering perplexity. - **Unknown floor:** Perfect prediction (loss of 0) is not achievable, and the data's inherent entropy is unknown. Gains will look smaller near the floor even as they correspond to larger intelligence improvements. Despite these issues, the author argues perplexity has survived years of intensive optimization and continues to produce consistent gains, making it a useful common language for discussing AI progress.

OpenAI2022-07-272 min readCurated summary

Efficient training of language models to fill in the middle

Autoregressive language models can learn to fill in text in the middle of a document with a simple data transformation: a span is moved from the middle of a document to its end. The authors show that training with a large fraction of data transformed this way does not hurt standard left-to-right generation, as measured by perplexity and sampling across a range of model scales. Because the method is useful, simple, and efficient, they argue that future autoregressive models should be trained with fill-in-the-middle (FIM) by default. ## The Transformation - A span of text is cut from the middle of a document and placed at the end. - The model is trained on the rearranged sequences, which lets it learn infilling with no change to the architecture. - Data augmentation of this kind has drawn considerable interest, but the authors focus on whether it costs anything in left-to-right performance. ## Preserving Left-to-Right Capability - Training with a large share of transformed data does not degrade original generative ability. - The authors check this with perplexity and sampling evaluations across a wide range of model scales. ## Recommended Training Practices - The authors run ablations on key hyperparameters: the frequency of the data transformation, the structure of the transformation, and the method for selecting the infill span. - These ablations produce recommended default settings and best practices for training FIM models. ## Released Resources - The authors released their best infilling model, trained with these practices, through their API. - They also released their infilling benchmarks to support future research.