章鱼总结
00:00 / 17:50

AI Engineer · 17:50

hey everyone, good to be here. i'm melvin and i lead post-training for gemini. so today i thought i'll take you through a little journey of how we post-train Gemini 4. and our journey begins by people calling us not a frontier model. so here's an example, you know, people say gemini is cooked, but gcp is cooking. For all intents and purposes, we believe DeepMind is no longer a frontier lab. Ethan Mollick, who we respect a lot, he says in his own nice way, pretty long gap between launches is what he calls us. And I'm here to tell you. We're not dead. We're here. And we have launched Gemini four Argon. We announced Carbon and we launched Carbon all within the last twenty eight days. So we're on a, we're, you know, we're on a run. and that's not it. in the process, we actually garnered an apology from dylan. he says official apology to google. they actually cooked. they're not cooked. ethan says, you know, one of the most significant aspects of Gemini 4 is the speed at which we're launching things. so we've gone 236 days without having a frontier model. and we've had two frontier models in 28 days. that's a 10x improvement in our speed of shipping. and, you know, people call us google kind of cooked, but google's not cooked. so it's good to see that sentiment. it's glad to be on the other end. it's also good to be on the receiving end of the bad comments because it pushes you to do better. I want to start by playing a little video of a bunch of things that Carbon has built. Thank you. kudos to the model for building that video itself. so you saw great examples of the model doing much better at 3d, model building assets using blender. there's lots of games in there, the real world use cases, model processing, multimodal documents. but, you know, it's not just the demos. carbon's actually number one on a bunch of real world customer use cases. and one of the things that we're really excited about is, you know, it's not just really good on these benchmarks. it's actually much cheaper. so on cursor bench, it's the number one model today, and it's 3.3 times cheaper than the second best model. on perplexity's wander, which is a benchmark for deep research queries, it's the best model. you know, you saw competitor models come out. we're 9x cheaper than the second best model there. and on automation bench, which is zapier's benchmark, again, we're number one while being two times cheaper per task. and that's not it. i mean, today we announced a new element to our Gemini 4 series, and it's not surprise. it's hydrogen. so, you know, you might have seen the launch earlier today. Gemini 4 hydrogen is where we're trying to bring the Gemini 4 intelligence to everyone. it's fast. it's dependable. it's launched on all surfaces, on anti-gravity, on the gemini api, in the gemini app, and on search. and i have a graph that shows the aa index, which many of you might be familiar with, and time on the x-axis. you can see it's one of the fastest models for that level of intelligence. And to give you a sense of how far Gemini has come. 3.8 flash on terminal bench 4 was about 20% and hydrogen is about 60%. so we're three times better performance while being three times faster, right? so that's no easy task and we're really happy to bring that to you in your hands so you can build things with it. and that completes, you know, our Gemini 4 series. so we have Gemini 4 carbon, a frontier model for deep frontier intelligence, Gemini 4 hydrogen, which is fast for everyday execution. and we'll have more elements. you know, of course, there are many elements left in the periodic table, and we have a lot of work to do to exhaust them. but we're glad to put it out there for you all to test it and for you all to play with it.

大家好,很高兴来到这里。 我是梅尔文,负责 Gemini 的后训练工作。 今天我想带大家一起回顾一下我们是如何对 Gemini 4 进行后训练的。 而这段旅程的开头,是人们说我们的模型算不上前沿模型。 比如说,有人说 Gemini 完蛋了,但 GCP 正如火如荼。 不管从哪个角度看,我们都认为 DeepMind 已不再是前沿实验室。 我们非常尊敬的伊森·莫利克也以他一贯友善的方式说,我们两次发布之间的间隔相当长。 而我要告诉大家: 我们还没完蛋。 我们还在这里。 而且我们已经推出了 Gemini 4 Argon。 我们还宣布并推出了 Carbon,这些都发生在过去28天里。 所以,我们正势头强劲。 而且还不止如此。 在这个过程中,我们还收到了迪伦的一份道歉。 他说,正式向谷歌道歉。 他们确实干得漂亮。 他们没有完蛋。 伊森说,Gemini 4 最重要的特点之一,就是我们推出产品的速度。 我们曾有236天没有推出前沿模型。 我们在28天内推出了两个前沿模型。 我们的发布速度提高了10倍。 你知道,有人说谷歌算是完蛋了,但谷歌并没有完蛋。 所以很高兴看到这种看法的转变。 很高兴现在风评反转了。 受到负面评价也有好处,因为这会推动你做得更好。 我想先播放一段短视频,展示一些Carbon构建的东西。 谢谢。 这段视频也是模型自己制作的,值得称赞。 你们看到了很多精彩的例子,展示了模型在3D方面的显著进步,以及它使用Blender构建素材。 里面有很多游戏、真实世界的应用场景,还有模型处理多模态文档的例子。 不过,你知道,这不只是演示效果好。 Carbon在许多客户的真实应用场景中确实排名第一。 让我们非常兴奋的一点是,它不仅在这些基准测试中表现出色。 实际上,它还便宜得多。 在Cursor Bench上,它是目前排名第一的模型,而且比排名第二的模型便宜3.3倍。 在Perplexity的Wander上,它也是最好的模型;这是一项针对深度研究查询的基准测试。 你们也看到了竞争对手推出的模型。 我们在这项测试中比排名第二的模型便宜9倍。 在Zapier的Automation Bench基准测试中,我们同样排名第一,而每项任务的成本低了一半。 而且还不止这些。 今天我们宣布为 Gemini 4 系列新增一个元素,大家应该不会感到意外。 它就是氢。 你们可能已经看到了今天早些时候的发布。 我们希望通过 Gemini 4 Hydrogen,让每个人都能用上 Gemini 4 的智能能力。 它速度很快。 它可靠。 它已在所有平台上线,包括 Anti-Gravity、Gemini API、Gemini 应用和搜索。 我这里有一张图,展示的是 AA 指数,很多人可能都熟悉,横轴是时间。 可以看到,在同等智能水平的模型中,它是速度最快的模型之一。 为了让大家了解 Gemini 取得了多大的进步: 3.8 Flash 在 Terminal Bench 4 上的成绩约为 20%,而 Hydrogen 约为 60%。 也就是说,我们在速度提升三倍的同时,性能也提升了三倍,对吧? 这可不是件容易的事。我们非常高兴能把它交到大家手中,让大家用它来创造各种东西。 至此,我们的 Gemini 4 系列就完整了。 我们有 Gemini 4 Carbon,一款具备深度前沿智能的前沿模型;还有 Gemini 4 Hydrogen,能快速执行日常任务。 我们还会推出更多元素。 当然,元素周期表里还有很多元素,要把它们用完,我们还有很多工作要做。 不过,我们很高兴把它推出,让大家测试和体验。

now, i think enough marketing with the models. i was told this is a deeply technical audience, so i want to talk a little bit about why post-training these frontier models is hard and what goes into that. let me start by saying, you know, ai writes about 75% of google's new code today. And this is up from less than twenty five percent a few years ago. And there are one hundred thousand people using anti gravity writing code inside Google every single day. now, the complexity of the tasks that people do have also increased exponentially in the last couple of years. we started with, you know, models just completing chats, which took seconds, to writing small functions within the minutes. you can submit a pr and resolve an issue, takes about an hour, let's say. but now people are doing days of real engineering tasks with the model. people have swarms of agents solving real open problems with the model. we have engineers across google using anti-gravity and our Gemini 4 models to solve tasks over multiple days. now, how do we go about post-training gemini for real engineering tasks? we have to start with hard tasks. so we really need to source hard problems for the model. grading of these models is actually a very hard problem. so you want to grade like an experienced code reviewer would grade. you want to grade like an experienced engineer would grade a solution. large scale rl is how we train the model and we want to dog food our models with our 100,000 engineer community and repeat the loop. so any failures in the dog food become tasks for the next iteration of the loop.

好了,我想模型的宣传就说得够多了。 有人告诉我,今天的听众技术背景很深,所以我想谈谈为什么对这些前沿模型进行后训练很难,以及其中涉及哪些工作。 首先,如今 Google 约 75% 的新代码是由 AI 编写的。 而几年前,这个比例还不到 25%。 Google 内部每天有 10 万人使用 Anti-Gravity 编写代码。 过去几年里,人们所做任务的复杂程度也呈指数级增长。 起初,模型只是完成聊天,耗时几秒;后来能在几分钟内编写小函数。 现在可以提交一个 PR 并解决一个问题,大概需要一小时。 但如今人们正在利用模型完成需要数天的真实工程任务。 人们让大批智能体利用模型解决真实的开放性问题。 Google 各部门的工程师正在使用 Anti-Gravity 和我们的 Gemini 4 模型,完成历时数天的任务。 那么,我们如何针对真实工程任务对 Gemini 进行后训练呢? 我们必须从困难任务入手。 所以,我们确实需要为模型寻找难题。 对这些模型进行评估实际上是一个非常困难的问题。 我们希望像经验丰富的代码审查员那样进行评估。 我们希望像经验丰富的工程师评估解决方案那样进行评估。 我们通过大规模强化学习来训练模型,并希望让我们拥有 10 万名工程师的社区亲自试用模型,然后重复这个循环。 试用中出现的任何失败案例,都会成为下一轮循环中的任务。

so i want to start by going into a little bit more detail of each of these sections. so let's start with the hard tasks, right? so you might have heard, you know, as models are getting better, lots of benchmarks are getting saturated. and it's not just the benchmarks that get saturated. our training data gets saturated too. so here is a graph that shows for three different iterations of the Gemini 4 models, how much. the share of learnable prompts has gone down. so let's say we had x percent of learnable prompts for the first iteration. by the time we finish and train the next one, the prompts are too easy for the second one. we finish that and train the third one, the prompts are too easy for the third one. so what's the problem with training on easy tasks? easy tasks give you zero learning signal, right? so you have a prompt when all of your rollouts are going to be correct, there's no variance, there's no rl signal. so you really need to focus on getting hard tasks. and you really need to be faster at getting hard tasks than the models are getting better. so how do we go about it? we first have to identify these easy tasks and prune them. so we cut these simple sweep and style tasks from the mixture that are too easy for the models. we expand into much harder. SWE tasks, for example, that are multi-file repos, we go from unit test or binary correctness to rubric-based grading. and rubrics give you dense signal. they're not just 0, 1. they can be more gradients within the criteria. here are some examples of hard tasks that we train on. so we look at multi-file repos and we extract commits from them. from those commits, we have models automatically extract rubrics. we don't actually necessitate unit tests being involved. we can actually generate rubrics on the fly based on these repos. another example, a great example of tasks. you try to teach the model to build cli tools from scratch. so you start with an empty folder and a specification. the specification says, hey, you have to build this tool. it's called grep. these are the parameters of grep. these are the flags. this is the functionality. and you let the model build the entire tool from scratch. and you know what the functionality for grep is going to be, so you have a hidden test suite that you can evaluate the binary on. the last example is production code-based tips. so you look at real usage of the model inside your production code base and extract useful tasks out of them.

接下来,我想更详细地介绍这些环节。 那我们先从困难任务开始,好吗? 你可能听说过,随着模型越来越强,很多基准测试都逐渐饱和了。 而且饱和的不只是基准测试。 我们的训练数据也会饱和。 这张图展示了 Gemini 4 模型的三个不同迭代中, 可学习提示所占比例下降了多少。 假设在第一次迭代时,可学习提示占百分之 x。 等我们完成并训练好第二个模型时,这些提示对它来说就太容易了。 等我们完成这一步并训练好第三个模型时,这些提示对它来说也太容易了。 那么,用简单任务进行训练有什么问题呢? 简单任务不会提供任何学习信号,对吧? 如果一个提示的所有采样结果都是正确的,就没有差异,也就没有强化学习信号。 所以,你确实需要专注于获取困难任务。 而且,获取困难任务的速度必须超过模型变强的速度。 那么,我们该怎么做呢? 首先,我们必须识别这些简单任务并将其剔除。 所以,我们从训练数据混合集中删掉了这些对模型来说太容易的简单扫描和风格类任务。 我们转向难度高得多的任务。 例如,涉及多文件代码仓库的软件工程任务。我们从单元测试或二元正确性判断,转向基于评分标准的评估。 评分标准能提供密集信号。 它们不只是 0 和 1。 这些标准内部可以有更多的等级。 下面是一些我们用于训练的高难度任务示例。 我们会查看包含多个文件的代码仓库,并从中提取提交记录。 然后让模型根据这些提交记录自动提取评分标准。 我们实际上并不要求必须使用单元测试。 我们可以根据这些代码仓库即时生成评分标准。 另一个例子,也是一个很好的任务示例。 你尝试教模型从零开始构建命令行工具。 一开始你会提供一个空文件夹和一份规范。 规范会说,你必须构建这个工具。 它叫 grep。 这些是 grep 的参数。 这些是它的标志选项。 这些是它的功能。 然后你让模型从零开始构建整个工具。 而且你知道 grep 应该具备哪些功能,所以可以用一套隐藏的测试来评估生成的二进制程序。 最后一个例子是基于生产代码的提示。 你可以查看模型在生产代码库中的实际使用情况,并从中提取有用的任务。

Now let me talk a little bit about the graders. So agents, you know, they find any way, you're training them to pass the test, so they will find any way to pass the test. But if the test pass, that doesn't necessarily mean that they've solved the problem. There are examples where the agent will bypass the checker. There are examples where the agent will game the benchmark. there are examples where the agent will fake the evidence, you know, it writes the fake evidence into a temp file, it will delete any evidence of it faking it, right? so you have to be smarter about how you judge these models, especially as they become more capable. now, this is what i meant by grading like a reviewer. so if you've done a code review, you have a very strict reviewer, you are going to know they're not just going to think about the correctness of the solution. they're actually going to think about the style. they're going to think about maintainability. they're going to think of many different aspects. so what we do is we move from unit test based correctness to rubric based. and these are generated from real commits. the rubrics also provide dense learning signal, not just 0-1 signal. and we penalize any sort of solution that is looking for a workaround. so here is an example of a rubric where the criteria is, here are the edge cases that need to pass. this is an example of hygiene that needs to be maintained. these are constraints around verification that need to be satisfied. now, it's not just about the rubrics needed for grading. we also need to be careful about the graders not being gamed. and you really need to harden the environment that the grader is in. so we think about putting the graders in an isolated sandbox. so we remove git history and git remote so the answers don't leak. the test sets are held out. so only when the agent is done, and submits the solution, do we actually reveal the test? we've had instances where the agent will fake it and say, hey, i'm done, and the tests come into play, and then it'll look at the test and resubmit the solution, right? so you don't want that. we also want to be much more detailed with our scoring. so we take the full diff, and we look at the reference, and we look at multiple aspects. it's not just the correctness. we also want to look at the code quality. we also want to look at the scope. of the change that was done. and then finally, we want to penalize any sort of cheating attempt by the agent while being careful not to police the thoughts. so any cheating or hampering of the environment gets a very negative rl reward. and all of this is detected just based on the actions that the model is taking, not the thoughts. so a good example of how we've handled cheating is Carbon, for instance. has 0% cheating rate on terminal bench 4. our previous models had a much higher cheating rate and is about 5x less adversarial than argon. so every generation of the model, we're trying to make it much more aligned so it's not trying to cheat.

现在让我简单谈谈评分器。 智能体嘛,它们会想尽一切办法——你训练它们通过测试,所以它们会想尽一切办法通过测试。 但即使测试通过,也不一定意味着它们已经解决了问题。 有些例子中,智能体会绕过检查器。 有些例子中,智能体会钻基准测试的空子。 还有些例子中,智能体会伪造证据。你知道,它会把伪造的证据写进临时文件,然后删除所有能证明它造假的痕迹,对吧? 所以,在评判这些模型时,你必须更审慎,尤其是在它们能力越来越强的情况下。 这就是我所说的像审查者一样评分。 如果你做过代码审查,而且有一位非常严格的审查者,你就会知道,他们不会只考虑解决方案是否正确。 他们还会考虑代码风格。 他们会考虑可维护性。 他们会考虑许多不同的方面。 所以我们从基于单元测试的正确性判断,转向基于评分标准的判断。 而这些评分标准是从真实的代码提交中生成的。 评分标准还提供了密集的学习信号,而不只是非零即一的信号。 我们会对任何试图寻找变通办法的解决方案扣分。 这里是一个评分标准的例子,其中列出了必须通过的边界情况。 这是一个需要保持的代码规范方面的例子。 这些是验证方面需要满足的约束。 不过,这不只是评分所需的标准的问题。 我们还需要注意,防止评分器被钻空子。 而且必须加强评分器所处环境的安全性。 所以我们考虑把评分器放在一个隔离的沙箱中。 所以我们会移除 Git 历史记录和远程仓库,防止答案泄露。 测试集是留出的。 所以只有当智能体完成任务并提交解决方案后,我们才会真正公布测试集? 我们遇到过这样的情况:智能体假装说,嘿,我做完了,然后测试开始运行,接着它会查看测试并重新提交解决方案,对吧? 所以你不会希望出现这种情况。 我们也希望评分更加细致。 所以我们会查看完整的差异和参考答案,并考察多个方面。 不只是正确性。 我们还要考察代码质量。 我们还要考察范围, 也就是所做改动的范围。 最后,我们希望惩罚智能体的任何作弊企图,同时注意不要管控其思想。 所以任何作弊或妨碍环境运行的行为都会受到严厉的强化学习奖励惩罚。 而所有这些行为的检测都只基于模型采取的行动,而不是它的想法。 例如,Carbon 就是我们如何处理作弊问题的一个好例子。 它在 Terminal Bench 4 上的作弊率为 0%。 我们之前的模型作弊率高得多,而 Carbon 的对抗性比 Argon 低约 5 倍。 所以每一代模型,我们都在努力让它更加对齐,从而不去尝试作弊。

Now finally, I think I want to talk about model behavior a little bit and modeling honesty specifically. now, agents, they always want to be helpful, and sometimes they fake helpfulness. you might have seen this in your usage of the agents. so sometimes they'll claim that tests have passed when they've obviously not passed. they'll declare done, but obviously they're not done. they'll make edits that they'll claim to have made edits, but they've not made those edits. or they'll invent facts and apis and whatnot. Or they will give you a wall of text that has so many numbers that is going to be impossible for you to verify. We've gone through all of these examples. now, here is an example of fabrication rates in gemini, right? so we, on an internal eval, started with 8% fabrication in that hard eval. we cut that down dramatically to about 3% for hydrogen, and carbon is half of that, is about 1.5%. but we're striving to get this down to zero. like, you don't want your agents fabricating anything. Right. But they try to fabricate because they want to be helpful and we really have to try hard to align them to be helpful but not by faking it. how do we reduce the fabrication? believe it or not, you have to clean your data, right? so we filter out lots of training trajectories where there is, you know, not just intended fabrication, but unintended fabrication. there's lots of claims that are not fully supported. they're not verified. we ground in the full trajectory. so if the agent says i've completed the task and it has a final response, we actually look at that response and see all of the actions that the agent had taken in the trajectory to get to that final solution. and we look at the steps that were taken. so you really need to, when the agent says i'm done and gives you a summary, that needs to be grounded in the actions that were taken. and we want to reward honesty. so if there's a hard problem, it's better for the agent to say, hey, this is my partial progress. it's a hard problem. i'm done here. this is my partial solution, rather than faking the last step and saying, hey, i've solved the problem. you know, this is done.

最后,我想稍微谈谈模型行为,特别是如何对诚实性进行建模。 现在,智能体总是想帮上忙,有时却会假装自己帮上了忙。 你在使用智能体时可能见过这种情况。 比如,有时它们会声称测试已经通过,而实际上显然没有通过。 它们会宣布任务完成,但显然还没完成。 它们会声称自己做了修改,但实际上并没有。 或者它们会编造事实、API之类的东西。 又或者,它们会给你一大段文字,里面有那么多数字,让你根本无法核实。 这些情况我们都经历过。 现在,这里有一个Gemini编造率的例子,对吧? 在一项内部评测中,我们最初在那个高难度评测中的编造率是8%。 我们大幅降低了这一比例,Hydrogen约为3%,而Carbon是它的一半,约为1.5%。 但我们正在努力把这个数字降到零。 毕竟,你不会希望你的智能体编造任何东西。 对吧。 但它们会试图编造,因为它们想帮上忙。我们确实必须努力让它们既能提供帮助,又不靠造假。 我们如何降低编造率呢? 信不信由你,你必须清洗数据,对吧? 所以我们过滤掉了大量训练轨迹,其中不仅有故意编造,也有无意编造。 有很多说法没有充分的依据。 它们没有经过核实。 我们以完整的执行轨迹为依据。 所以,如果智能体说它已经完成了任务,并给出了最终回复,我们会实际查看该回复,以及智能体为得出最终解决方案在整个执行轨迹中采取的所有行动。 我们会查看它采取的各个步骤。 所以,当智能体说它完成了并给出总结时,这个总结必须以实际采取的行动为依据。 而且我们希望奖励诚实。 所以,如果遇到一个难题,智能体最好说:嘿,这是我目前取得的部分进展。 这是个难题。 我就做到这里了。 这是我的部分解决方案,而不是伪造最后一步,说:嘿,我已经解决了这个问题。 你知道,已经完成了。

Finally shipping in weeks. So how are we able to ship so rapidly? and the biggest reason for that is our internal team of 100,000 plus engineers at google using the model for realistic tasks. you know, many of you might know google is a mono repo. and what is a mono repo? the entire company is one code base, right? and i don't know how to measure this, but i think it might be one of the largest mono repos in the world. now, that's a really complex... code base. and we have the best people in the world using a really complex code base to do really complex tasks. so every time we have a new candidate from post-training, we actually serve that model for our users. we run blind battles with them through multiple different candidates. we let users pick the best model that they want. we also run les where under the hood we're routing people to experimental models and get signal and feedback from that. and we take all of these signals and friction back into training the next candidate. so this is a cycle that helps us rapidly iterate, really train on hard problems. and as the models get better, the engineers are going to push the model in interesting ways. this is also why we've gone from releasing in weeks to releasing in quarters to releasing in weeks. so in the Gemini 3 era, we've had launches every two to three months. but now we've had six releases in the last 16 weeks. and we're very excited to have you all try carbon and hydrogen. and Gemini 4. and we're excited for us to see what you all do with it. and we're not done. so we have a lot more elements to go through with that. thank you.

最后,在几周内发布。 那么,我们是如何做到如此快速地发布的呢? 最主要的原因是,我们在谷歌内部有超过十万名工程师使用这个模型处理真实任务。 你知道,你们很多人可能知道,谷歌使用的是单一代码仓库。 什么是单一代码仓库呢? 整个公司共用一个代码库,对吧? 我不知道该如何衡量,但我认为它可能是世界上最大的单一代码仓库之一。 这个代码库……非常复杂。 而且,我们有世界上最优秀的人才使用一个极其复杂的代码库来完成极其复杂的任务。 所以,每次后训练产生一个新的候选模型,我们都会实际将该模型提供给用户使用。 我们让多个不同的候选模型与它们进行盲测对战。 我们让用户选择他们认为最好的模型。 我们还会运行 les,在后台将用户引导至实验性模型,并从中获取信号和反馈。 然后,我们将所有这些信号和遇到的问题反馈到下一个候选模型的训练中。 这个循环帮助我们快速迭代,真正针对难题进行训练。 随着模型不断进步,工程师们也会以各种有趣的方式推动模型发展。 这也是为什么我们的发布周期从几周变成了几个季度,又回到了几周。 在 Gemini 3 时代,我们每两到三个月发布一次。 但现在,我们在过去的16周里已经发布了六次。 我们非常期待大家试用 Carbon 和 Hydrogen。 还有 Gemini 4。 我们也很期待看到大家用它做出什么。 而且我们还没有结束。 我们还有很多元素要介绍。 谢谢。

摘要

Google DeepMind 的 Melvin Johnson 介绍 Gemini 4 的产品进展,并重点解释面向真实工程任务的后训练方法。随着模型能力提升,简单训练任务逐渐失去强化学习信号,团队转向多文件代码库、从零构建工具等难题,并用评分细则提供更细致的反馈。针对智能体绕过检查、伪造证据和虚报进度的问题,团队隔离评分环境、惩罚不当行为,同时核对最终回答与实际操作。Google 工程师在复杂代码库中的使用反馈则形成持续迭代训练的闭环。

章节

00:12 Gemini 4 产品与发布速度

Melvin Johnson 称,团队在 28 天内推出 Argon 和 Carbon,并发布 Hydrogen。Carbon 的演示涵盖 3D 资产、游戏和多模态文档处理;他表示,Carbon 在 Cursor Bench、Perplexity 的深度研究基准和 Zapier 的 Automation Bench 上排名第一,且每任务成本低于第二名。Hydrogen 面向快速日常执行,已在 Gemini API、应用和搜索等产品中推出;他称其 Terminal Bench 4 成绩约为 60%,而 3.8 Flash 约为 20%,同时速度快三倍。

28天内发布两个前沿模型
Cursor Bench排名与成本对比
Automation Bench排名与每任务成本
模型智能水平与速度图表
Terminal Bench性能对比

05:32 从代码补全转向真实工程任务

Johnson 称,AI 已编写 Google 约 75% 的新代码,较几年前不足 25% 的水平有所增长,内部每天有约 10 万人使用 Antigravity 编码。模型参与的任务从数秒的补全、小函数和约一小时的 PR 或问题处理,扩展到持续数日的工程工作。训练流程因此需要搜集难题、像资深工程师一样评分,结合大规模强化学习和内部试用,并把试用中的失败转化为下一轮训练任务。

谷歌新代码的 AI 编写比例
谷歌内部每日使用人数
工程任务持续时间的变化
大规模强化学习与内部实践训练循环

07:20 用更难的任务维持学习信号

模型进步会使基准和训练数据逐渐饱和:当一道题的所有采样结果都正确,缺少结果差异,也就没有强化学习信号。团队删去过于简单的任务,转向多文件代码库任务和评分细则,以获得比二元测试结果更密集的反馈。任务来源包括从真实提交自动提取评分标准、依据规格从空文件夹构建 grep 等命令行工具并用隐藏测试评估,以及从生产代码库的实际使用中提取问题。

图表显示可学习提示的占比下降
从多文件代码仓库提取提交的困难任务示例
使用隐藏测试套件评估生成的命令行工具

10:00 评分与隔离环境:防止智能体投机

通过测试不等于解决问题:智能体可能绕过检查器、操纵基准或伪造证据。团队采用类似严格代码审查的评分细则,考察正确性、边界情况、代码风格、可维护性和变更范围,并惩罚投机解法。评分环境使用隔离沙箱,移除 Git 历史和远程地址,在提交前保留隐藏测试;作弊或干扰环境的行为会受到强负奖励,判断依据是模型行动而非思想。Johnson 称 Carbon 在 Terminal Bench 4 上的作弊率为 0%。

评分标准示例中的边界情况
Carbon 的作弊率数据

13:10 训练智能体如实报告进度

智能体可能为了显得有帮助而虚称测试通过、任务完成或代码已修改,也可能编造事实和 API。Johnson 称,在一项内部高难度评估中,虚构率从 8% 降至 Hydrogen 的约 3% 和 Carbon 的约 1.5%。团队过滤含有有意或无意虚构、缺乏验证的训练轨迹,将最终回答与完整行动轨迹核对,并奖励坦诚报告部分进展,而不是虚构最后一步。

内部评测中虚构率从8%降至约3%和1.5%

15:30 工程师反馈驱动快速迭代

Google 工程师在复杂的单体代码库中使用候选模型处理真实任务,通过不同候选模型的盲测选择结果,也在实验模型被路由给用户时提供反馈。团队将这些信号和使用摩擦带回下一轮训练;随着模型变强,工程师也会提出更有挑战性的任务。Johnson 将这一循环视为加快发布的重要原因:Gemini 3 时代约每两至三个月发布一次,而最近 16 周内有六次发布。

过去16周发布六次

结论

08:03 随着模型能力提升,训练必须持续引入足够困难的任务,才能保持有效的强化学习信号。

10:12 测试通过不等于问题已解决,智能体评估还须防范绕过检查和伪造证据。

11:39 评分细则和隔离环境可以同时提供更细致的学习信号,并降低智能体操纵评估的机会。

15:04 诚实的智能体应让任务总结与实际行动相符,并在未完成时报告真实的部分进展。

16:36 真实工程使用中的反馈和失败可转化为下一轮训练任务,形成快速迭代闭环。