我认为,追踪训练更优压缩器的进步速度是理解人工智能发展轨迹的关键。在这篇文章中,我主张确立困惑度(perplexity,或等价地,交叉熵损失)作为模型开发者之间进行比较并告知共同安全标准的指标。作为第一步,我将提高 OpenAI 预训练进展的透明度。发布我们内部的困惑度测量数据经过了一些考量;这会让竞争对手更清楚地了解我们的现状,但这一担忧被在整个行业建立共同(在新窗口打开)安全措施紧迫性所超越。我们在 OpenAI 希望这一步能成为构建未来进度控制工作共同科学基础的一部分。
对 AI 开发一种简化但根本上有信息量的看法是:首先,构建一台大型计算机,然后用它在大规模非结构化数据集上_预训练_一个模型(压缩器),接着在不同情境下应用各种技术——如提示、微调或强化学习——以激发该模型的潜在能力。算法进步可能会模糊训练阶段之间的界限,但我们仍然可以将具有难以预测的涌现能力的 AI 创造过程(我之前称之为“外星思维”)与随后的针对性激发区分开来。
随着 AI 的快速进步,我们衡量下游能力的范围和方式可能会迅速变化。在大多数现代基准测试中评估 GPT‑2 和 GPT‑3 几乎没有意义;而当时使用的基准测试在 GPT‑4 左右已基本饱和。相比之下,我认为关注预训练的进步很可能继续保持其信息价值。
进步速度的一个特定变化来自于 AI 对其自身开发的贡献日益增加。目前讨论最多的指标围绕 AI 增强和替代开发周期各个阶段的人类研究人员展开;最终的拐点被视为“完全递归自我改进”,届时整个过程将完全自动化,无需人类监督。除了考虑到为了保持人类控制权而显然应该避免这种状态外,我认为这种总体框架遗漏了一个至关重要的方面。AI 参与开发过程中的一个关键环节——预训练的算法研究——可能会带来潜在的阶跃式变化。
我们最近在其他领域见证了前所未有的加速。一年多来,我们将数学中的开放问题作为评估模型的方式之一提出给模型。一旦我们升级到对数困惑度约为 0.76 的模型,它就开始产生突破性的成果。对于许多此前在数学及相关领域工作过的我们来说,在一个 Slack 线程中看到模型接连解决我们长期以来思考的问题,感觉非常超现实。经历过这一点让我们得以推断——这种突然的转变在深度学习研究中也是可能的。虽然该领域更依赖实验,但长期以来有许多简单的见解被忽视了数年;因此,到 2027 年,我们可能会看到类似的基础预训练进步浪潮5。虽然我预计 AI 也将显著促进对齐和监控方面的进步,但我认为这些进步不太可能足够快,无法实现预训练潜力的全面加速。
鉴于新奇的惊喜能力主要通过压缩方面的进步而出现,基于困惑度的度量可以为我们提供一个通用的智能基准,无论开发过程的自动化程度如何。根据最近的进步进行推断,当我们进入约 0.68-0.7 的对数困惑度区间时,我们应该期待进一步的变革性能力。我不知道这些能力会是什么,我们今天可能也不会针对它们进行测试。同时,我们也应预期当前主导形式的对齐审计进一步退化(在新窗口打开),以及评估和训练意识的进一步增加。我相信前沿模型开发者应共同努力,在模型首次使用时就建立共同的规范,以评估此类模型并对其安全案例进行红队测试,包括共同的透明度标准。我进一步提议基于困惑度和其他测量值设立共同限制,开发者承诺在我们的理解和监控 AI 行为的能力达到某个具体里程碑(例如开发出思维链监控器的继任者)之前不跨越这些限制。也就是说,我希望有一个行业标准,规定基于某些我们可以跨实验室跟踪的关键指标的发展第一限制,以及超越该限制前我们需要具体达成的目标。我希望这能为设定连续限制和进一步控制发展步伐的共同框架铺平道路。
与此同时,困惑度作为一种指标经受住了时间的考验,许多研究团队为此投入了大量精力进行优化,并且它继续为通用智能带来一致的增益。我相信它可以在标准化我们谈论 AI 进步的方式中发挥重要作用,并希望看到整个行业对此有更多的透明度。
查看原文
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
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.
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.
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.
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 datasets4, 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.
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.
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.
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 advancements5. 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.
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.
-
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.
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.