OpenAI 首席科学家 Jakub Pachocki 发文,主张将困惑度(等价于交叉熵损失)确立为跨模型开发者的共享评测指标,并首次公开 OpenAI 自 GPT-3.5 以来的内部预训练困惑度数据。文章称 GPT-3.5、GPT-4 及当前低于 0.8 的 log-perplexity 分别对应对话、思维链推理与网络安全、数学能力的涌现,并预计 0.68-0.7 区间将出现新的变革性能力。
OpenAI Chief Scientist Jakub Pachocki argues for adopting perplexity (equivalently cross-entropy loss) as a shared metric across model developers and publishes OpenAI's internal pretraining perplexity data since GPT-3.5. He links log-perplexity levels to emergent capabilities—conversation at ~0.99, chain-of-thought reasoning at ~0.91, and cybersecurity and math breakthroughs below 0.8—and expects further transformative capabilities in the ~0.68-0.7 window.
作者:Jakub Pachocki,OpenAI 首席科学家
By Jakub Pachocki, Chief Scientist at OpenAI
乍看之下,现代 AI 的构建方式似乎与过去几十年软件的构建方式相似:采用多种针对特定能力的技术。方法确实多种多样,但它们大多并非从零开始设计,而是利用一个更简单、可解释性更低的过程所产生的智能:在超大规模数据语料上训练一个压缩器(或等价的预测器)。1
From afar, it might seem like modern AI is built similarly to how software has been built in previous decades: with a diverse set of techniques targeting specific capabilities. There are indeed a variety of methods, but rather than designing something from scratch, they are mostly harnessing the intelligence coming from a much simpler and less interpretable process: training a compressor (or, equivalently (opens in a new window) , predictor) on a very large corpus of data. 1
我认为,追踪训练更优压缩器的进展速度,是理解 AI 发展轨迹的关键。在本文中,我主张将困惑度(或等价的交叉熵损失)确立为一项指标,用于比较不同模型开发者,并为共享安全标准提供依据。作为第一步,我提高了 OpenAI 预训练进展的透明度。公布我们的内部困惑度测量数据需要一番考量;这会让竞争对手更清楚地了解我们的位置,但相比在整个行业建立共享安全措施的紧迫性,这一顾虑显得次要。OpenAI 希望这能成为朝着为未来的节奏把控努力构建共享科学基础迈出的一步。
I believe tracking the pace of progress on training better compressors is key to understanding the arc of advances in AI. In this post, I argue for establishing perplexity (or, equivalently, cross-entropy loss) as a metric to compare between model developers and inform shared safety standards. As a first step, I provide more transparency into pretraining progress at OpenAI. Publishing our internal perplexity measurements took some consideration; it gives competitors a clearer picture of where we stand, but that concern is outweighed by the urgency of establishing shared (opens in a new window) safety measures across the industry. We at OpenAI hope for this to be a step towards building a shared scientific basis for future pacing efforts.
对 AI 发展的一种简化但具有根本启发性的看法是:首先建造一台大型计算机,然后用它在一个大型非结构化数据集上预训练一个模型(压缩器),接着在不同场景中应用各种技术——如提示、微调或强化学习——来激发该模型的潜在能力。算法进步可能模糊训练阶段之间的界限,但我们仍可以区分出具有难以预测的涌现能力的 AI 的创建(我此前称之为“异类心智”)与随后有针对性的能力激发。
A simplified, but fundamentally informative, view of AI development is that first, one builds a large computer, then uses it to pretrain a model (compressor) on a large unstructured dataset, then applies a variety of techniques—like prompting, finetuning or reinforcement learning—in different contexts to elicit the latent capabilities of that model. Algorithmic progress can blur the distinction between training phases, but we can still separate the creation of the AI with hard-to-predict emergent capabilities (which I earlier dubbed “ an alien mind ”) and the subsequent targeted elicitation.
多年来,我们衡量这一关键“智能基座”进展的主要方式始终保持着惊人的一致性——我们一直在追踪模型在留出数据集上的困惑度。2,3 困惑度衡量的是模型平均而言预测下一个 token 的能力;困惑度越低,意味着预测越好。本博文开篇的图表展示了从 GPT‑3.5 开始,我们的模型在这一指标上的演变情况。
The primary way we measure progress on this key “intelligence substrate” has remained remarkably constant over the years—we have been tracking the perplexity of the models on a held-out dataset. 2 , 3 Perplexity measures how well a model predicts the next token on average; lower perplexity means better predictions. The plot opening this blog post shows how this metric evolved for our models starting with GPT‑3.5.
仅由这一项指标大体描述的模型能力范围令人惊叹。在旧数据集上创下困惑度新纪录的 GPT‑2,可以说是首个能够持续生成连贯段落的模型。下一次重大飞跃 GPT‑3 则能够在给定任务示例的情况下进行上下文学习。GPT‑3.5 在我们当前主要评估数据集上的对数困惑度约为 0.99,它能够进行流畅对话,并构成了初代 ChatGPT 的基础。GPT‑4 的对数困惑度约为 0.91,擅长高效利用思维链推理,这推动了随后对该能力的有针对性激发以及现代推理模型的诞生。如今,随着损失降至 0.8 以下,我们已在网络安全和数学等领域看到了变革性能力的涌现。我想再次强调,事先完全无法确定一旦达到这些精确的困惑度阈值,这些能力是否就会出现——它们从根本上可以被视为在这一项指标进展中涌现出的潜在能力。
The range of capabilities of models that are largely described by this one metric is stunning. Setting the new perplexity state-of-the-art on older datasets 4 , GPT‑2 was arguably the first model capable of consistently formulating coherent paragraphs of text. The next major leap, GPT‑3, was capable of learning in context, given a few examples of a task. GPT‑3.5, at a log-perplexity of ~0.99 on our current main evaluation dataset, was capable of fluent conversation and formed the basis for the original ChatGPT. GPT‑4, at ~0.91, was proficient at utilizing chain-of-thought reasoning productively, which motivated the subsequent targeted elicitation of this capability and the creation of modern reasoning models. Now, as we have reached losses below 0.8, we have seen the emergence of transformative capabilities in fields like cybersecurity and mathematics. I want to reemphasize that it was not at all clear a priori that these capabilities would appear once those precise perplexity thresholds are met—they can fundamentally be seen as emergent latent capabilities from progress on this one metric.
随着 AI 的飞速发展,我们衡量下游能力的范围与方式可能会迅速变化。在大多数现代基准上评估 GPT‑2 和 GPT‑3 几乎没有意义;而当时使用的基准在 GPT‑4 附近已基本饱和。相比之下,我认为关注预训练方面的进展很可能仍将具有参考价值。
As AI advances very rapidly, the scope and way in which we measure downstream capabilities may change quickly. It would make little sense to evaluate GPT‑2 and GPT‑3 on most modern benchmarks; and the benchmarks used then were largely saturated around GPT‑4. In contrast, I believe looking at progress on pretraining is likely to stay informative.
进展速度上的一项特殊变化,源于 AI 对自身发展的贡献日益增加。最常被讨论的指标,集中在 AI 在开发周期各阶段增强和取代人类研究者;而最终的拐点则被视为“完全递归式自我改进”,即整个过程完全自动化、无需人类监督。除了认为这种状态显然应当避免以维持人类控制之外,我认为这一总体框架遗漏了某些关键之处。开发过程中的一个关键环节——关于预训练的算法研究——可能因 AI 的参与而出现潜在的阶跃式变化。
A particular change in the pace of progress comes from the increasing contribution of AI to its own development. The most commonly discussed metrics revolve around AI augmenting and replacing human researchers in all stages of the development cycle; with an ultimate inflection point seen at “full recursive self-improvement”, where the process would be entirely automated with no human oversight. Apart from considering such a state as something we should obviously avoid for the sake of maintaining human control, I find this general framing misses something crucial. There is a potential step change that may come from AI participation in one key part of the development process: algorithmic research on pretraining.
我们最近在另一个领域目睹了前所未有的加速。一年多来,我们一直将数学中的开放问题交给模型,作为评估它们的方式之一。当我们升级到对数困惑度约为 0.76 的模型后,它开始产出突破性成果。对于我们中许多曾在数学及相关领域工作过的人来说,看到我们长期思考的问题的解答在一个 Slack 线程中接连从模型输出,感觉极为超现实。有了这样的经历,我们得以进行外推——这种突然的转变在深度学习研究中也是可能的。尽管这一领域更依赖实验,但长期以来一直存在简单洞见被忽视多年的历史;因此,最早在 2027 年,我们就有可能看到类似的预训练基础性进展的雪崩式涌现 5。虽然我预计 AI 也会对对齐与监控方面的进展做出重大贡献,但我认为这方面的进展不太可能快到足以让预训练释放出全部的潜在加速。
We have recently witnessed unprecedented acceleration in another domain. For more than a year, we have been posing open problems in mathematics to our models as one of the ways of evaluating them. Once we upgraded to a model of log-perplexity ~0.76, it started producing groundbreaking results. For many of us that have previously worked in mathematics and adjacent fields, seeing the resolutions to questions we’ve long thought about coming out of the model one after another in a single Slack thread felt deeply surreal. Having experienced that allows us to extrapolate—such a sudden transformation is plausible in deep learning research too. While this field relies more on experimentation, there is a long history of simple insights being missed for years; and so as soon as 2027 we could conceivably see a similar avalanche of fundamental pretraining advancements 5 . While I expect AI will also significantly contribute to progress on alignment and monitoring, I think that progress is unlikely to be fast enough to allow the full potential acceleration in pretraining.
鉴于新的惊人能力主要通过压缩进展而涌现,而压缩是一种植根于困惑度的度量,因此困惑度可以为我们提供一个衡量通用智能的共享基准,无论开发过程的自动化程度如何。从近期的进展外推,随着我们进入约 0.68-0.7 的对数困惑度区间,我们应当预期出现进一步的变革性能力。我不知道这些能力会是什么,而且我们今天可能还没有针对它们进行测试。与此同时,我们也应当预期当前占主导地位的对齐审计形式会进一步退化(在新窗口中打开),并且评估与训练意识会进一步增强。我认为,前沿模型开发者应当共同努力,在模型首次投入使用之前,就如何评估此类模型以及为其进行红队安全论证建立共同规范,包括共同的透明度标准。我进一步提议,基于困惑度和其他测量指标设定共同限制,开发者承诺在我们理解和监控 AI 行为的能力达到某个具体里程碑(例如开发出 CoT 监控器的后继者)之前不越过这些限制。也就是说,我希望制定一项行业标准,规定以我们能够在各实验室间追踪的某个关键指标来衡量的首个开发限制,以及我们在超越该限制之前具体需要实现什么。我希望这能引领我们走向一个共同框架,用于设定连续的限制并为后续开发定下节奏。
Given that the main way new surprising capabilities emerge is by progress on compression, a measure rooted in perplexity could give us a shared benchmark for general intelligence, regardless of the degree of automation of the development process. Extrapolating from recent progress, we should expect further transformative capabilities as we enter the ~0.68-0.7 log-perplexity window. I don’t know what those capabilities will be, and we may not be testing for them today. At the same time, we should also expect further degradation (opens in a new window) in currently dominant forms of alignment auditing and further increases in evaluation and training awareness. I believe frontier model developers should jointly endeavour to establish shared norms for how to evaluate such models and red-team safety cases for them by the time they are first used, including shared transparency standards. I further propose common limits , based on perplexity and other measurements, that developers are committed to not crossing until our ability to understand and monitor AI behavior achieves a certain concrete milestone (such as the development of a successor to CoT monitors). That is, I’d like an industry standard that specifies a first limit on development, measured by some key metric we can track across labs, and what concretely we’d need to achieve before going beyond it. I hope that this leads the way to a common framework for setting successive limits and pacing further development.
困惑度作为共享指标存在一些挑战:
Perplexity as a shared metric has challenges:
跨实验室比较的困难。不同开发者使用不同的评估数据集,并在不同的数据混合上训练。在此,我们报告的是我们一直追踪的主要数据集上的数字;我相信,如果我们确立透明度的目标,我们就能找到可迁移的方法来比较不同基础模型的质量。
Difficulty of comparison across labs. Different developers use different evaluation datasets and train on different data mixtures. Here, we report the numbers on the main dataset we have been tracking; I believe if we establish a goal of transparency we can find transferable ways to compare the quality of different base models.
与可操作的评估脱节。困惑度并不直接对应我们所关心的任务。关心它的原因在于,我们可以预期它上面的进步会带来全新能力的涌现。
Detachment from actionable evaluations. Perplexity does not directly correspond to a task we care about. The reason to care about it is that we can expect advances on it to lead to emergence of entirely new capabilities.
未考虑预训练之外的进展。最值得注意的是,思维链推理并不会降低模型所达到的困惑度,尽管它带来了能力的急剧提升。
Not accounting for advances outside of pretraining. Most notably, chain-of-thought reasoning does not reduce perplexity achieved by the model, even though it leads to a drastic increase in capabilities.
未知下限。我们不认为损失可以降至0,那将意味着能够完全确定性地预测数据集。但我们不知道数据的内在熵是多少。随着我们接近它,困惑度上的明显进展将放缓,但困惑度上较小的提升将对应模型智能的更大飞跃。
Unknown floor. We do not expect it is possible to achieve a loss of 0, which would correspond to being able to predict the dataset entirely deterministically. But we do not know what the inherent entropy of the data is. As we approach it, the apparent progress on perplexity will slow, but smaller gains on perplexity will correspond to larger leaps in model intelligence.
与此同时,困惑度作为一项指标已经经受住了时间的考验,许多研究团队投入了大量精力对其进行优化,并且它持续在通用智能上带来稳定的收益。我相信它可以在标准化我们讨论AI进展的方式上发挥重要作用,并希望看到整个行业对此有更多的透明度。
At the same time, perplexity has stood the test of time as a metric many research teams have put a lot of effort into optimizing, and it continues to deliver consistent gains on general intelligence. I believe it can play an important role in standardizing how we talk about AI progress, and hope to see more transparency about it across the industry.
需要注意的是,这里的“压缩器”是指能够通过预测未见数据来进行压缩的东西,而不是像GZIP文件那样的压缩产物——也就是说,在给定语料库上训练的最佳压缩器不一定“记住”了语料库的内容。
It’s important to note that “compressor” in this sense is something that is capable of performing compression by predicting unseen data, not a compressed artifact like a GZIP file - that is, the best compressor trained on a given corpus does not necessarily “remember” the contents of the corpus.
在实践中,我们通常追踪困惑度的对数,也称为交叉熵损失。
In practice, we generally track the log of perplexity, also called cross-entropy loss .
自GPT-3.5以来,我们一直使用的主要留出数据集来源于我们的内部代码库,这里报告的就是这些数字(针对固定快照)。
The primary held-out datasets we’ve been using since GPT-3.5 are sourced from our internal codebase, and those are the numbers reported here (for a fixed snapshot).
鉴于GPT-2和GPT-3的训练数据,它们对代码的预测能力并不能很好地代表其通用能力。这展示了使用困惑度作为共享指标时,数据集选择可能带来的潜在挑战;然而,将它们与现代模型在通用文本上联合评估仍然应该是有信息量的。我选择报告我们内部代码库上的困惑度,因为我想分享我们今天在OpenAI用来衡量预训练进展所依赖的最重要数字。
Given what GPT‑2 and GPT‑3 were trained on, how well they predict code is a poor proxy for their general capabilities. This showcases a potential challenge arising from dataset selection with using perplexity as a shared metric; however it should still be informative to evaluate them jointly with modern models on general text. I chose to report perplexity on our internal codebase because I wanted to share the numbers we rely on most today to gauge progress in pretraining at OpenAI.
在 OpenAI 模型的损失曲线上,可以看到 2026 年出现了急剧加速。我们主要将其归因于长期研究和算力投入的成果,自动化只占较小部分。不过,对于最新的模型,我们已经看到 AI 带来了有意义的设计贡献。
On the plot of losses of OpenAI models, you can see a steep acceleration in 2026. We attribute it mostly to the outcomes of long term research and compute investments, and only in a smaller part to automation. However, for the most recent models, we have already seen meaningful design contributions coming from AI .