Training Data - 构建自动化AGI实验室:Core Automation的Jerry Tworek和Rohan Anil 封面

构建自动化AGI实验室:Core Automation的Jerry Tworek和Rohan Anil

Building the Automated AGI Lab: Core Automation's Jerry Tworek and Rohan Anil

本集简介

杰里·特沃雷克曾在OpenAI主导推理工作,坚信扩大强化学习是通向AGI的路径。罗汉·阿尼尔共同领导了Gemini的预训练并开发了Shampoo优化器。如今,他们在Core Automation联手提出一个反主流的观点:Transformer已经走到了极限,更智能系统的瓶颈不再是规模,而是架构本身。缺失的能力是持续学习——能在测试时自适应的模型,而Transformer无法做到这一点。上下文学习很快达到极限(Codex在约20分钟后就需要压缩),微调则会导致灾难性遗忘。罗汉认为,预训练和强化学习应端到端联合优化,而Transformer的计算效率低下。他们解释了为何最大的实验室在沉迷于编码代理竞赛时不会追逐替代方案,以及为何打造全球最自动化的实验室,要从自动化内核生成开始——这是前沿模型仍输给高品位人类的唯一领域。 由索尼娅·黄和帕特·格雷迪主持,红杉资本

双语字幕

仅展示文本字幕,不包含中文音频;想边听边看,请使用 Bayt 播客 App。

Speaker 0

比如说我踢足球,这跟强化学习就非常非常像。

If I play football, for example, it looks very, very closely to reinforcement learning.

Speaker 0

我反复踢球,每次稍微调整一下,看看是不是大致达到了我想要的效果,这里面就有自我强化的过程。

I kick a ball a lot of times, and every time I adjust it a little bit and I see if it roughly matches what I what I wanted and either there's some self reinforcement happening.

Speaker 0

但学数学就是完全不同的体验了。

When I learn mathematics, it's very different type of thing.

Speaker 0

更像是阅读一些难懂的概念,然后在脑子里反复琢磨,直到豁然开朗,直到把它们串联起来。

It's it's like reading about hard concepts and thinking about them very deeply inside my head until things click and until until have them connected.

Speaker 0

这两种方式在某种程度上都是从经验中学习。

And both of those in some way are learning from experience.

Speaker 0

只是它们非常不同。

They are just very different.

Speaker 0

我们现在可能比以往任何时候都投入更多的计算资源在从经验中学习上,但强化学习并不是从经验中学习的终点。

We probably are spending the most compute crap than ever on learning from experience, but learn reinforcement learning is is not the end of learning from experience.

Speaker 0

未来几年,研究人员会提出更好的方法来利用这些数据。

And there will be better approaches that researchers will be coming up in the coming years on how to how to use that data.

Speaker 1

杰瑞、罗汉,非常感谢你们今天来做客。

Jerry, Rohan, thank you so much for joining us today.

Speaker 1

你们两位是Core Automation的创始人,这是目前旧金山最热门的AI实验室之一。

The two of you are the founders of Core Automation, one of the hottest neo labs in San Francisco right now.

Speaker 1

在创立Core Automation之前,你们领导了AI时代一些最重要的研究项目。

And before starting Core Automation, you led some of the most important research projects of the AI era.

Speaker 1

杰瑞,你曾是OpenAI的副总裁,负责草莓和推理团队等工作。

Jerry, you were VP at OpenAI, where you worked amongst other things on running the strawberry and reasonings teams.

Speaker 1

罗汉,你曾是Gemini四位预训练负责人之一,之前还在Google Brain主导了大量基础AI研究,并且是谷歌和Anthropic的“救火队员”。

And Rohan, you were one of two of the four pre training leads at Gemini, and before that led a lot of the fundamental AI research at Google Brain and were the fix it guy across Google and then at Anthropic.

Speaker 1

所以你们两位对前沿研究领域的现状,比大多数人看得都多。

And so between the two of you, you've seen more than your fair share of what the world looks like in terms of doing frontier research.

Speaker 1

因此我非常期待深入探讨。

And so I'm very, very excited to dig in.

Speaker 1

先从你开始吧,杰瑞。

Let's start with you, Jerry.

Speaker 1

你最近发了一条挺犀利的推文。

You tweeted a very spicy take recently.

Speaker 1

要取代Transformer,第一步是深刻理解它到底把我们带到了多远。

The first step to replacing transformers is appreciating deeply how far they were able to carry us.

Speaker 1

这是在给Transformer唱挽歌吗?

Is that a eulogy for the transformer?

Speaker 1

这话是什么意思?

What does that mean?

Speaker 0

非常感谢你邀请我们,索尼娅。

Thank you very much for inviting us here, Sonya.

Speaker 0

感觉我最近接受采访,大部分时间都在解释自己的推文,解释我到底想表达什么。

I feel like a lot of my interviews these days is explaining my tweets and what did I what did I mean.

Speaker 0

但所谓‘理解Transformer’,就是搞清楚它擅长什么。

But Appreciating transformer means, like, understanding what it does well.

Speaker 0

这样你就不会去解决它已经解决得很好的问题了。

So you are not solving the problems that it is solving well.

Speaker 0

你得把注意力放在它的弱点上。

You have to focus on its on its weaknesses.

Speaker 0

你得理解它的优点和缺点,现在很多人在架构方面的工作,都只是想让Transformer更便宜、更高效。

You have to you have to understand good parts and bad parts, and it's very easy in a lot of the work what people are doing in architectures is trying to make transformers cheaper and trying to make transformer more efficient.

Speaker 0

我很少看到有人思考怎么让Transformer更强大、更有表现力。

I I very rarely see people thinking about how do we make transformers more powerful, trying to do more expressive.

Speaker 0

但是,看到它的弱点和看到它的优点,其实几乎是同一回事。

But but, like, seeing someone weak parts and seeing someone strong parts are almost almost almost the same thing.

Speaker 0

只是对Transformer的形态有了更深入的理解。

It's just just understanding the shape of transformer a little bit more.

Speaker 0

嗯,我觉得我们现在就处在这个阶段。

Well, I think right now we are in this stage.

Speaker 0

我们已经非常擅长训练非常大的模型了。

We got really, really good at training really, really big models.

Speaker 0

我们掌握了两种算法。

We mastered two algorithms.

Speaker 0

我们掌握了大规模预训练,也掌握了大规模强化学习。

We mastered pre training at a large scale, and we mastered reinforcement learning at a large scale.

Speaker 0

我经常问自己,机器学习的下一个突破是什么。

And I'm asking myself a lot what is next in machine learning.

Speaker 0

我认为目前,制约更好模型和更智能系统的瓶颈,正是架构本身。

And I think at this moment, what the bottleneck is to better models and to smarter systems is the architecture itself.

Speaker 0

现在是时候重新审视我们过去六年一直在走的那条路了——不断给两个基本操作(混合专家模型和注意力机制)增加参数。

It is this moment to revisit the train we've been riding for the last six years of trying to add more and more parameters to essentially two of the same operations, which is MOE and and attention.

Speaker 0

当我思考这个问题时,比如我们现在处于什么位置、在做什么,我经常想到的是 Codex 和 Cloud Code 为我们带来的改变。

And when I am when I'm thinking about it, like, what's what like, where we are today and what we are doing, I am thinking a lot about about, like, what Codex and what Cloud Code are doing for us.

Speaker 0

我真的很感激这些系统,以及我们在这六年规模化过程中构建的编码、工作流自动化和产品体系。

And I'm really, really appreciative of those systems and of the coding and of the workflow automation and of the systems of the products that we have today that we essentially have built over those those six years of scale.

Speaker 0

我认为这是思考的第一步。

And I think I think this is this is the first step of thinking.

Speaker 0

如果我们想寻找替代方案,就需要先看清我们现在的位置、解决了哪些问题,才能开始思考下一阶段是什么、还有哪些问题没有解决。

Like, what is the if we wanna work on the replacement, we need to, like, see where we are, what problems we have solved to, like, start seeing what the next stage is, what problems we haven't solved yet.

Speaker 0

我们到底缺了些什么?

What what what kind of are we missing?

Speaker 0

每次我用Codex成功完成一个任务时,我也会开始想,为什么我当时没有更努力地去推动那件事呢?

And this is this is kind of whenever whenever I use Codex and I am successful at a task, I also start thinking, why didn't I why didn't I try to push that thing harder?

Speaker 0

每天来上班,我用Codex做很多事情,但我还是得来上班。

Whenever whenever I come to work, there are a lot of things I do with Codex, but I still come to work.

Speaker 0

我还是会让它帮我做一些事情。

I still ask it to do certain things for me.

Speaker 0

我总是在问自己,为什么那里还需要我?

And I'm always asking myself, why why am I even needed there?

Speaker 0

为什么核心自动化这个名字和概念,就是我们想要实现任务自动化。

Why is Core Automation is name and its concept is we wanna we wanna be automating tasks.

Speaker 0

为什么那些事情还没有被自动化?

And why why why are those things not yet automated?

Speaker 0

为什么Codex不能替我做所有事情?

Why why why is not Codex doing everything for me?

Speaker 0

这其实就是我们研究想要探索的方向。

And this is this is the question of, like, the research where we want to go.

Speaker 0

通过这项研究,我一直在思考我们需要什么样的模型、什么样的系统、什么样的特性——那些我们今天还不具备的东西,这就是我最近经常在想的问题。

And with that research, I'm trying to think what kind of models, what kind of what kind of systems do we need, what kind of qualities do we need, what that that that we don't we don't have today, and that's that's what I'm thinking a lot these days.

Speaker 2

而你提出的这个前提——架构才是问题所在——我觉得是个反主流的观点。

And you have this starting premise of the architecture is the issue, which I think is a contrarian point of view.

Speaker 2

那是什么让你得出这个结论的呢?

So what what led you to that point of view?

Speaker 2

你看到了什么,让你觉得架构才是问题的根源?

What did you see that made you think the architecture was the issue?

Speaker 0

从根本上说,这就是问题所在。

It's fundamentally what is the issue.

Speaker 0

这其实又回到了之前那个推论。

It's it's it, like, comes back from the from from the previous implication.

Speaker 0

我认为问题在于,模型是在实验室里训练的,却要在现实世界中部署。

What what I think is the issue is that the models are being trained in the lab and are being deployed in the in the real world.

Speaker 2

那就是……

That is that that that

Speaker 0

根本的根本矛盾所在。

is the fundamental fundamental tension that is that is there.

Speaker 0

而且,我个人的经历也让我有点失望。

And, like, a bit of a bit of my disappointment can comes from my my my personal story.

Speaker 0

当初我们在OpenAI开始研究并推进强化学习规模化的时候,我基本上就相信,强化学习的规模化是通往AGI道路上必不可少的一步,从我一开始在OpenAI工作起就这么认为。

Whenever we were starting the research and progress on scaling up reinforcement learning at OpenAI, I basically believe that scaling up reinforcement learning is a necessary stepping stone on a path to AGI since since since I started, like, working working at OpenAI.

Speaker 0

我一直是个强化学习的极端拥护者。

And I was always reinforcement learning maximalist.

Speaker 0

我一直坚信这是我们需要专注的方向。

I was always believed this is what we need to focus on.

Speaker 0

这是我们必须做的事情。

This is what we need to do.

Speaker 0

我看到大语言模型从GPT-3到GPT-4不断被扩展到越来越高的水平,但我们在强化学习上投入的却依然很少。

I've seen LLMs being scaled up to for to to higher and higher levels for GPT three to GPT four, and we're still doing very little RL.

Speaker 0

我内心一直有个信念,觉得一旦我们开始规模化强化学习,就能解决一切问题。

And I had this this internal belief that the moment we start scaling up RL, we'll we'll we'll solve everything.

Speaker 0

我们就能解决所有难题。

We'll we'll we'll be able to solve solve all the problems.

Speaker 0

后来我们终于开始规模化强化学习了。

And we eventually started solve scaling up RL.

Speaker 0

我当时就在那里。

I was I was just in there.

Speaker 0

我身处其中。

I was I was in the center of it.

Speaker 0

我当时想,就是现在了。

I was thinking here we are.

Speaker 0

如果你在2024年问杰瑞,我们什么时候能实现通用人工智能?

If you ask Jerry in 2024, when do we get AGI?

Speaker 0

我会说,2025年就是那一年。

I would say 2025 will be will be that year.

Speaker 0

这就是我们解决一切问题的地方。

This is where we solve everything.

Speaker 0

然后我看到我们一个接一个地训练模型。

And I saw us training model after model.

Speaker 0

这个模型变得越来越好。

This model was getting better and better.

Speaker 0

所有的基准测试分数都在上升。

All the benchmark scores were going up.

Speaker 0

那当时我们是不是也解决了所有现实世界的问题?

And did we also solve all the real world tasks at that moment?

Speaker 0

可惜,可惜并没有。

Unfortunately, unfortunately not.

Speaker 0

我们还有工作要做。

We we we still have work.

Speaker 0

我意识到这里有一个细微的区别:我们用来评估模型的所有基准测试,本质上和我们训练模型时用的东西是一样的。

And I realized there was this bit of distinction as all the benchmarks that we are evaluating our models, they were essentially the same thing as we were training the models on.

Speaker 0

所有的评估和训练任务就像是同一枚硬币的两面,但现实世界的分布和任务要混乱得多、模糊得多,也大不相同。

Like all the evals and training side tasks are the same sides of the coin, But the real world distribution and real world task is much messier, much murkier, much more much more different.

Speaker 0

我们的训练数据并没有真正复现现实世界的使用场景。

Our our training data didn't really replicate the real world use cases.

Speaker 0

尽管我们基本上把所有任务都优化到了极致,但如果你去问任何一个训练模型的人,嘿,你们的主要问题是什么?

And despite us basically maximizing all the task, if you see ask anyone training models, hey, what is one of your main issues?

Speaker 0

我没有足够难的任务。

I don't have hard enough tasks.

Speaker 0

我不是没有东西可以训练模型,但我们仍然没有覆盖现实世界的全部分布。

I don't I don't have what to what to train our model on, yet we are still not covering the the entirety of the of the real world distribution.

Speaker 0

由此,我的结论是,我们需要让模型在测试时也能学习。

From that, my conclusion is we need to have models that learn at test time.

Speaker 0

我们需要让模型与用户一起,在他们的数据、他们的现实任务、现实世界的分布中学习。

We need to have models that learn with users on their data, their real world task, on the real world distribution.

Speaker 0

那么,当被问到为什么我们今天还没有做到这一点时?

And there when you are asked why why why why don't we have that today?

Speaker 0

为什么Transformer模型不能在任何地方学习呢?

Why are transformers not not learning any anywhere?

Speaker 0

实际上,在测试阶段我们有两种学习方式。

And there are essentially two types of learning that we could be doing at test time.

Speaker 0

一种是Transformer的上下文学习,它基本上没有灾难性遗忘的问题。

We could be doing in context learning essentially of transformers, which is it it it doesn't have fundamental problems of catastrophic forgetting.

Speaker 0

它没有这个毛病。

It doesn't have that issue.

Speaker 0

而且数据效率很高,这点很不错。

It is pretty data efficient, so that that is great.

Speaker 0

但它的扩展性不太好。

But it's not very scalable.

Speaker 0

我们能用的量是有限的。

We only can have so much of it.

Speaker 0

它受到限制,而且从机制上讲,构建上下文时你到底在做什么也有更多限制,不过我们也许可以之后再讨论这个。

It is limited and has some more even more of mechanical limitations of what actually are you doing when you build context, but maybe we can come back to it later.

Speaker 0

但我们现在有上下文学习,这种方式非常有限,能处理的数据量也很少。比如我用Codex的时候,大概用了二十分钟左右,

But we have in context learning which is very limited and very small amount of data whenever I'm using Codex roughly after around twenty minutes of usage.

Speaker 0

我就得压缩一下,然后把它移走,其实能处理的数据量并不多。

I need to I need to compact it and move and move it afterwards, which is not that much, not that much data.

Speaker 0

如果我们只能学二十分钟的内容,那确实不算多。

If we have all all we can learn is for for twenty minutes, it's not that much.

Speaker 0

第二种方法是微调。

And the second thing is fine tuning.

Speaker 0

我们可以尝试持续微调模型,但这样就会出现灾难性遗忘的问题。

We could try to continuously fine tune our models, but then those have the issues of catastrophic forgetting.

Speaker 0

而且数据效率非常低,这两个问题都不太好解决。

We have issues of very low data efficiency, and neither of those are very solvable.

Speaker 0

这两个问题都不太容易找到解决办法,很多人一直在尝试,如果真那么容易解决的话,早就有人解决了。

Neither of those are very easy to to find ways people have been trying if there was were easy to solve some already solve it.

Speaker 0

所以我个人认为,我们需要找到一种算法,能够进行元学习,并且可以在架构层面表达出来,让它能够代表学习的过程是什么样的。

So my personal belief is we need to find an algorithm that we can we can meta learn, as we can express on the architectural layer that can represent how does how does learning look like.

Speaker 0

学习到底是怎么样的,才能适应更长时间跨度呢?

How does learning look like that can work on much, much longer horizons?

Speaker 1

你觉得这个架构会像Transformer那样吗?

Do you expect the architecture will look transformer like?

Speaker 1

因为据我从高层那里了解,OpenAI一直在尝试扩展强化学习,但直到Transformer出现,才似乎有了一个可扩展的世界模型基础,让强化学习得以规模化。

Because my my my understanding from the from the chief seats is that, you know, OpenAI had been trying to scale up reinforcement learning for a long time, and it wasn't until the transformer came about that it seemed like there was an even kinda scalable prior on the world upon which to even scale RL.

Speaker 1

那你打算怎么思考扩展这个新范式呢?

And so how do you even go about trying to think about scaling up this this new regime?

Speaker 0

对。

Yeah.

Speaker 0

这是个好问题。

It's a it's a great question.

Speaker 0

我觉得这两件事是同时发生的。

I think those two things happened at the same time.

Speaker 0

但要说有什么变化,主要还是经济层面的原因,因为从技术上讲,LSTM也是可以扩展的。

But if anything that that happened there was was mostly about about economics because technically you can scale up LSTMs.

Speaker 0

只是没人敢往那个方向走,而且它们的扩展性差得多。

Just no one no one really really dared to go in that direction and they did scale much much more poorly.

Speaker 0

在那篇关于扩展规律的论文里,他们对比了LSTM和Transformer的扩展效果。

They're they're they're scaling in a scaling loss paper, there is presented a comparison of LSTMs and transformers.

Speaker 0

对。

Yeah.

Speaker 0

从根本上说,Transformer的扩展性更好。

And fundamentally, the scaling of transformers was better.

Speaker 0

如果当初没有发明Transformer,我们可能还在扩展LSTM,也能搞出一些模型。

There is a world where we never invented transformers, and we will be scaling LSTMs, and we'll having some models.

Speaker 0

但因为训练成本高得多,产品效果也差得多,用户体验会很糟糕,可能没人愿意花那么多钱去训练那些巨型LSTM,因为市场回报根本看不到。

But because they would be much more expensive to train and much less impressive as a product, we would have would have just as worse experience and maybe no one would be able to convince people to spend as many dollars training those gigantic LSTMs because we wouldn't get a market return.

Speaker 0

Transformer最了不起的地方——这也是为什么我们得深深感激它——在于它的经济价值。

The the majestic thing about transformer, which goes back to, like, why why why do we have to appreciate transformers so deeply is that transformers are economically valuable.

Speaker 0

它的训练成本低于它带来的收入,这就是机器学习的魔力所在。

The them the cost of training them is lower than the revenue that they that they generate, which is magic of machine learning.

Speaker 0

这本身并不能保证什么。

It's not guaranteed by itself.

Speaker 0

但对于LSTM来说,可能就不会是这样,这种情况是有可能发生的。

But for for LSTMs, it probably wouldn't be that way, which which which may happen.

Speaker 0

不过,从很多方面来看,大多数架构都是可以扩展的。

But you can in many ways, can scale most of the architectures.

Speaker 0

我觉得,以前人们不搞规模化,很大程度上是因为OpenAI之前的研究人员对规模化很抵触。

I think I think a lot of reasons why people didn't scale things before was because researchers before OpenAI had a lot of reluctance to scaling.

Speaker 0

规模化常常被视为不科学,而算法研究的方向是,我们如何变得越来越高效,如何在相同的计算预算下,得到越来越好的结果。

It was often seen as unscientific, and research in algorithm was was providing how do we become more and more efficient, how do we, for the same compute budget, get better and better result.

Speaker 0

而OpenAI当时做了一个有点反主流的赌注,他们说,嘿,我们不在乎算法是不是越来越高效。

And it a bit of a contrarian bet by OpenAI at that moment to try to say, hey, we don't care about better and better algorithms.

Speaker 0

我们在乎的是算法能不能更好地扩展。

We care about more and more scalable algorithms.

Speaker 0

我们如何投入更多的计算资源,获得更好的结果,为此OpenAI在很长一段时间里,反复受到社区里很多人的批评。

And how we pour more and more compute and get better results, which OpenAI was criticized repeatedly by many people in the community for a long time.

Speaker 0

但多亏了这一点,我们才有了今天这些模型。

But thanks to that, we have we have the models that we that we have today.

Speaker 0

而且我认为有很多架构是可以被扩展的。

And I think there are tons of architectures that can be scaled up.

Speaker 0

我是Core Automation团队的一员,我们的信念是,很多架构研究在太小的规模上进行了太长时间。

And I am part of the Core Automation's mission, and our our belief is that a lot of architectural research happened at too small scale for too long time.

Speaker 0

很多人都在说,嘿。

A lot of people are trying to say, hey.

Speaker 0

我们先在小数据集、小计算量的条件下测试架构,等它证明了自己之后,再去看它能不能扩展。

Let's let's try to first try our architecture on a on a on a small dataset on a small in a small computer regime and then see where it scales only after you prove itself.

Speaker 0

但比如说,做强化学习的时候,你知道要想得到任何有意义的结果,需要一定量的计算资源才能看到模型的能力。

But for example, when you do work on reinforcement learning, you know that to get to any interesting results, need certain level of compute to even see the capabilities in the model.

Speaker 0

强化学习需要一定的计算基础才能开始发挥作用。

Reinforcement learning needs a baseline of of of ability to only to only start working.

Speaker 0

所以从我的角度来看,可能有很多架构都需要一个计算量的基线,才能开始做出任何有趣、有用的事情。

So so where I am coming from, probably there are many architectures that need a baseline of compute to even start doing anything anything interesting, anything useful.

Speaker 2

那我能问一个可能有点敏感的问题吗?

Can I ask you then maybe a touchy question?

Speaker 0

请说。

Please do.

Speaker 0

如果你需要

If you need

Speaker 2

一个计算基线,这听起来像是大研究实验室里才适合做的工作。

a baseline of compute, that sounds like a job that would be well served inside of a big research lab.

Speaker 2

那为什么要自己开公司来做这个呢?

Why start a company to go do this?

Speaker 0

这是个很好的问题,我觉得在很多方面,这很可能是个时机问题。现在市场处在一个非常特殊的位置,那些最大、最成功的实验室,不管是巧合还是命运使然,正处在有史以来最激烈的市场竞争中,这让他们不太愿意尝试不同的路径或替代方案。

It's a it's a it's a great question, and it's I think in in many ways, it's likely a timing thing timing issue market is right now in a in a very specific place where the biggest and the most successful labs by coincidence or by fate are probably in the most competitive market fights ever right now, which makes them not very keen on trying different paths, trying alternatives.

Speaker 0

如果Transformer能盈利,而且你可以投入更多精力和资源去扩展它,以便在下一个季度胜出,那很难把大量注意力和精力放在一个可能更好、或者可能在一两年内重新定义这个领域的东西上。

If transformer is profitable and if you can spend more efforts and more resources scaling transformer to win in the next quarter, it's very hard to put at least a lot of attention and a lot of energy to work on something that will that will maybe better or maybe or maybe will will redefine the field in a year or two.

Speaker 0

所以我认为那些最大的实验室——我基本上都跟他们聊过——对尝试Transformer的替代方案并没有太大兴趣。

So so I I think the big biggest labs, and I talked to basically all of them, don't don't have that much interest in trying the alternatives to to transformer.

Speaker 0

而那些不是最大的实验室,都在拼命模仿最成功的实验室的做法,每个人都在训练同样的编程代理。

And the labs that are not the biggest are doing whatever they can to do what the what the what the most successful labs are doing, and everyone is trying to train the same the same coding agent.

Speaker 0

你看看上周发布的产品,每个人都在推出编程代理。

If you look at the last week's releases, everyone everyone is is trying to release a coding agent right now.

Speaker 0

我觉得我们需要不同的路径和不同的方法。

And and I think we need different paths and different and different approaches here.

Speaker 0

所以,这就是我们在生态系统中想要填补的空白。

So so that's what the the niche in the ecosystem we are trying to trying to fill in.

Speaker 1

罗翰,变压器发明的时候你就在谷歌大脑工作吧?

And Rohan, you were at were at Brain when the transformer was invented.

Speaker 1

你同意杰瑞对变压器的评价吗?

Do do you agree with Jerry's eulogy for the transformer?

Speaker 3

是的。

Yes.

Speaker 3

从某种意义上说,当阿西什、纳瓦和其他人首次提出变压器时,我同时也在做在线蒸馏的研究,我们在同一个内部研究会议上展示了成果。

In some sense, like, once the first when the transformers, Ashish, Nava, and others came up with it, I had worked on my work on online distillation around the same time we presented it at the same internal research conference.

Speaker 3

当时在公司内部并没有引起太大轰动,只有少数人真正理解了它。

It wasn't a big deal internally, there was only a few people who actually got it.

Speaker 3

很多人觉得,哦,这不过是又一篇论文罢了。

A lot of people were like, oh, it's yeah, it's another work.

Speaker 3

而且大家还在找各种方法,同时它最初的研究也聚焦在一个很实际的问题上,那就是翻译。

And people were finding ways to and it was also very focused on, at least the original work, very focused on a real problem, which was translation.

Speaker 3

所以他们解决了翻译任务中LSTM的瓶颈问题。

So they solved, like, the beta LSTM on translation.

Speaker 3

后来OpenAI接手了——我是说,在谷歌内部,确实有诺姆和其他几个人对扩展语言模型很感兴趣。

And it took OpenAI I mean, internally at Google, there was definitely, like Noam and a few others, definitely interested in scaling language models.

Speaker 3

我觉得直到GPT-2和GPT-3出现,我们才看到Transformer的优势真正发挥出来。

I think it is until GPT-two and GPT-three that we saw the benefit of transformers working quite well.

Speaker 3

至少在我看来,架构的本质就是如何分配计算资源。

At least the way I think about architecture is how do we spend computation?

Speaker 3

而Transformer是一种非常高效的计算分配方式。

And transformer is one way, very efficient way to spend computation.

Speaker 3

但现在看整个行业,我们大部分算力都花在推理阶段,也就是生成token上。

But now that I look at the industry, a lot of our computation is inference time and spending it on tokens.

Speaker 3

我想问个问题:如果我想优化架构,是不是应该同时考虑预训练和强化学习?

Let me ask this question, like if I want to optimize for a better architecture, want to look at both pre training and RL together.

Speaker 3

我希望找到一种架构,能比现在的思维链逐token生成更高效地利用算力。

And I would like to find architectures that spend computation much better than current chain of thought token generation.

Speaker 3

更全面地看,我觉得预训练相当于构建了一个有特定上下文长度的Transformer,而强化学习介入后会发现,这样还不够。

In at a like, to give a much better overview, I think of, like, pre training as built the transformer with certain context length, and RL comes in and it's like, well, that's not sufficient.

Speaker 3

我需要更多算力。

I need more computation.

Speaker 3

那就通过每次加一个token来实现。

Let me do it via adding one token at a time.

Speaker 3

从推理的角度看,这效率很低。

This is quite inefficient from inference perspective.

Speaker 3

你是一次只生成一个token。

You're doing one token at a time.

Speaker 3

所以大部分解决方案都在寻找更好的推测解码方法。

So most of the solutions have been finding to do better ways of speculative decoding.

Speaker 3

这就像是在给问题贴创可贴——我们选了一种一次只能生成一个token的方式。

So it's like a band aid to a problem that we've picked something that can only generate one token at a time.

Speaker 3

也就是自回归解码。

So auto recursive decoding.

Speaker 3

Transformer在计算资源分配上确实存在问题。

There is problems with the transformer in terms of how do we spend the computation.

Speaker 3

很长一段时间里,我觉得业界主流都在训练超大规模密集模型,大概花了两年到三年时间才把架构优化到我们现在习以为常的程度——比如稀疏性和混合专家模型,以及如何高效训练它们,这些对很多人来说当初并不明显。

For the longest time, I think most of the world was training very large dense models and it took like the industry like roughly two to three years to get to refine the architecture to what we now take for granted was not obvious to a lot of people, sparsity and mixtures of experts, and getting good training efficiencies with them.

Speaker 3

对吧?

Right?

Speaker 3

那么问题来了,Transformer到底哪里不对劲?

So then you can ask, like, what's wrong with the transformer?

Speaker 3

嗯,如果计算深度不够,我们该怎么提升计算深度呢?

Well, it's if the computational depth is poor, how do we increase computational depth?

Speaker 3

提出这个问题,就能打开大约20个新方向,让我们思考如何修改机制来融入它。

And just posing that question opens up, like, 20 new directions on how we can modify the mechanism to incorporate it.

Speaker 3

所以我觉得,做这样的工作需要时间。

So I see, like, to do work like this, it takes time.

Speaker 3

而且通常来说,过去的基础研究要花五到六年才能落地到工业界,这很大程度上取决于组织是否认识到它的重要性。

And usually, like, fundamental research in the past have taken, like, five, six years to land into industry, and it's largely from organizational, knowing that it is important.

Speaker 3

这就是一场赌注。

This is the bet.

Speaker 3

就像Jerry内心坚信强化学习是必要的,但谷歌绝对没有这种信念。

Like, just like Jerry had the inner belief that RL is needed, absolutely do not have that belief at Google.

Speaker 3

我当时是个预训练最大化主义者,预训练了最大的

I was a pretraining maximalist, pretrained a biggest

Speaker 1

很合适。

are a good fit.

Speaker 0

对吧?

Right?

Speaker 0

事情就是这样。

Things are.

Speaker 0

对吧?

Right?

Speaker 3

所以那种内心的信念。

And then so that inner belief.

Speaker 3

其次,你的架构需要在硬件上高效运行。

And second is you need your architecture to run efficiently on hardware.

Speaker 3

对。

Mhmm.

Speaker 3

理论上最优的架构对谁都没用。

A theoretically optimal architecture is not useful to anyone.

Speaker 3

它只有在实践中才有意义。

It is something when it comes into practice.

Speaker 3

所以你需要从研究起步,到把它产品化,编写内核和所有东西,完成整个端到端的流程。

So you need the research inception to getting it productionized and getting kernels and everything written, the end to end loop.

Speaker 3

目前只有少数地方有整合团队在做这件事。

And there's only few places right now which have integrated teams doing that.

Speaker 3

而且我认为我们团队的建设方式是把专家聚在一起,而不是分散在不同的部门,这样我们就能加速推进,让每个人都能从全局角度看待问题。

And I think we have built a team in a way that puts the experts together, not in different silos that we are accelerating on having everybody look at the problem holistically from end to end.

Speaker 3

所以我对这一点非常乐观。

So that's where I'm quite bullish.

Speaker 3

这也是我在这里的原因。

That's why I'm here.

Speaker 3

目前的机制相当糟糕,如果放任不管,我担心我们可能需要更长的时间才能取代Transformer。

The current mechanisms are quite poor, and it will if if you leave it to the world, I am afraid that it'll take us like a much longer time horizon before we replace the transformer.

Speaker 3

而且我觉得很多人已经在抱怨token成本太高了。

And I think a lot of folks are already complaining a lot on token costs.

Speaker 3

看起来好像我们并没有在抱怨。

And that seems like as some We're not complaining.

Speaker 3

我的意思是,从某种角度来说,是的。

I mean, in terms of like yeah.

Speaker 3

没错。

Exactly.

Speaker 3

我来自谷歌那种思维方式,我们得服务几十亿人。

I come from the Google mindset where we had to, like, serve billions of people.

Speaker 3

所以,找到更高效的架构,能符合延迟和可服务令牌数量的要求。

So, like, finding more efficient architectures that fit have like a deadline on latency and the number of tokens that you can serve.

Speaker 3

所以当我看到这个,世界上能用上前沿技术的人非常少,必须有人或某个团队来加速改进,我们正在努力做这件事。

So like when I look at that, like the amount of like the world that can use like frontier tech is very little and someone or some group has to like, accelerate and make this better, and we are taking that shot at doing that.

Speaker 3

当前技术只是简单扩大规模,仍然只适用于一部分人。

The current technology just scaled up is still only relevant to, like, a subset of humans.

Speaker 3

对。

Yeah.

Speaker 3

这就是我们押注的方向。

And this is the bet we're making.

Speaker 2

我听到你提到的一个问题是,变压器的计算深度不够好。

So one of the things I heard you say was the problem with transformers is the computational depth is poor.

Speaker 2

对。

Yeah.

Speaker 2

如果这是问题的关键,那请告诉我们,

If that's the crux of the issue, tell us what does

Speaker 0

这是什么意思?

that mean?

Speaker 0

为什么会这样?

Why is that the case?

Speaker 2

你怎么解决?

How do you fix it?

Speaker 3

我可以给你一个见解。

I can give you, like, one insight.

Speaker 3

我们训练的大多数Transformer模型其实都很浅。

Like, most transformers that we train are quite shallow.

Speaker 3

最多也就100层深。

It's at most like a 100 layers deep.

Speaker 3

深度之所以叫深度学习,是因为你想要更深的表征。

Depth is like it's called deep learning because you wanted deeper representations.

Speaker 3

关于增加深度,有人做过实验,但没人真正证明我们能学到极深的表征。

There has been experiments on going into depth, but no one has actually shown, us learning extremely deep representations.

Speaker 3

思维链推理和用强化学习让模型自己进行思维链,是增加计算深度的一种方式,因为每增加一个词元,就相当于多了一条路径。

Chain of thought reasoning and RL to do chain of thought by model itself is one way to increase computational depth because every token you add, you add like one more pathway.

Speaker 3

这样一来,就能突破预训练架构给你设定的那个瓶颈。

And there has been so then you can get out of like this bottleneck that the pre trained architecture has set you up on.

Speaker 3

你原本只能处理层数乘以序列长度那么多。

You can only do layer number of layers times sequence length.

Speaker 3

现在你可以增加序列长度,结果会强很多。

Now you can increase the sequence length and you get much stronger results.

Speaker 3

你可以做推理时的规模扩展。

You can do inference time scaling.

Speaker 3

但推理时规模扩展的问题是,模型现在需要生成更多词元才能得到更好的结果,而且一次只能生成一个词元。

Now the issue with inference time scaling is that models now have to produce more tokens to get better results, and that's very one token at a time.

Speaker 3

从这里可以看出,我们可以直接解决很多这些问题,这也是我们正在研究的一个方向,对吧,就是让这个过程更高效。

And from this, you can see, like, you can directly address many of these things, and this is like a subset of work that we are looking at, right, making this much more efficient.

Speaker 2

你对基于Transformer的架构有什么预测?

What's your forecast for the transformer based architecture?

Speaker 2

如果它不是最终形态,它能带我们走多远?

If it's not the end state, how far can it get us?

Speaker 2

我们什么时候会看到它开始达到瓶颈?

When do we start to see it topping out?

Speaker 0

我觉得这一切都归结于我们训练Transformer的目的,以及我们能拿它们做什么。

I think it all it all comes back to what we are what we are training transformers for and what we can what we can do with them.

Speaker 0

我们做预训练,这非常擅长把互联网上的所有知识提炼到Transformer里。

We're doing pretraining, which is very good at distilling all the knowledge from the Internet into transformers.

Speaker 0

然后我们可以通过强化学习来训练它们,基本上就是把我们想要的所有工作流程都嵌入到Transformer里。

And then we can RL them through, which is we basically can bake all the workflows that we want into a transformer.

Speaker 0

所以Transformer的极限在于,我们已经把人类的所有知识、关系、以及它们如何协同工作、如何组合,都放进了模型里。

So what what what we're transformer is, like, capped out is we have all the knowledge of of of humanity in the model together with the relationships and how do they how do they work together, how how they can be combined.

Speaker 0

基本上,只要有训练数据的任务,我们都可以把它放进模型里。

And, basically, any task that we have training data for, we can we can put into the model.

Speaker 0

这可能会是一个巨大的模型,用大量的算力去训练全世界所有的数据。

And this could be gigantic model train with a lot of compute on all the on all the data in the world.

Speaker 0

然后,如果我们停止训练那个模型,会发生什么?

And then if we ever stop training that model, what would what would happen?

Speaker 0

我觉得,关于Transformer,有一个问题很值得经常问一问。

Like, the the question worth asking often, I'm thinking about transformer.

Speaker 0

如果OpenAI和Anthropic停止训练新模型,我们就用现在这个Transformer,说这就是最终版本了,那会怎么样?

What would happen if OpenAI and Entropic stopped training new models and we got we got the transformer we have today and say this is this is it.

Speaker 2

那就是……

This is this is this is

Speaker 0

我们现有的最好的模型。

the best the best model we have.

Speaker 0

几个月过去,一年、两年、很多年过去,这个模型会变得越来越没用。

Months pass, year year year year's pass, and the model is getting less and less useful.

Speaker 0

也许实验室真的记录了地球上每个人的行为、任务和环境,然后把它们都放进模型里,放进学习环境里。

Maybe the lab really, like, recorded of every human on earth what they were doing and what their what their tasks were and their environments and put them put them in the model, put them in the in the learning environment.

Speaker 0

但如果这些情况发生了变化,那又会怎样呢?

But then the but then then then what happens if the if anything of that changes?

Speaker 0

如果世界上出现了新事件,这些新事件之间有了新关系,出现了新类型的任务、新的代码库、新的工具,那么Transformer的很多实用性和价值都来自于训练数据中已有的东西。

If there are new events in the world, if those new events have new relationships between them, if there are there are new types of tasks, if there are new code bases, new tools to use, transformers are getting a lot of their usefulness and all value through the things that are valuable have to be present in training.

Speaker 0

而当这些新东西不在训练数据里时,它们就表现不佳。

And when they are not, they suffer.

Speaker 0

它们有一定的适应能力,但适应范围不大,也不够灵活。

There's some ability to adapt, but it's not very not very big and not very not very flexible.

Speaker 0

所以在我看来,这就是Transformer能力的上限,从很多方面来说,我认为它只是我们使用的一个工具。

So in my mind, this is this is kind of the level where the where the transformers top, which in many ways what I think is a is a tool to use for us.

Speaker 0

如果我们知道有人了解Transformer的局限性,他们就可以调度这个模型。

If we if we if we kind of know if there's a human who knows the limitations of a transformer, they can they can schedule that model.

Speaker 0

他们可以写一个提示,说明你想要完成的任务是什么。

They can they can write a prompt of what is what is it the task that you want.

Speaker 0

对。

Mhmm.

Speaker 0

通过我们正在进行的训练,你可以在这方面做得非常成功。

And by doing the training we are doing, you can you can, like, get very successful at that.

Speaker 0

模型失败的任何任务,你都可以通过添加训练数据来弥补,然后模型就能成功完成。

And any task the model fails, you get added through training data, and the model and the model can can succeed.

Speaker 0

但这个循环必须由实验室为你训练模型来完成。

But that that loop is has to go for the lab training training the model for you.

Speaker 0

如果模型本质上需要在实验室里训练,你觉得这有多大程度上是目标,还是说你想以某种方式更新模型,而不必每次都回到实验室?

And if the model that that fundamentally needs to be trained in the lab, like, how much do you think of it that this is this is the goal, or or or you would want to be able to update the model somehow, not having to to go back there?

Speaker 1

你读过Rich Sutton和David Silver的那篇论文《经验时代》吗?

Have you read the Rich Sutton and David Silver have this paper, the the age of experience.

Speaker 1

你读过吗?

Have you read it?

Speaker 1

我很好奇你有多大程度上同意,或者有没有不同的看法。

I'm curious how much you agree or if you have any different opinions.

Speaker 1

你的观点在哪些地方不同呢?

Where do your opinions diverge?

Speaker 0

强化学习并不是什么特别新的方法,也不是什么特别新鲜的事。

Reinforcement learning is not a particularly new approach, particularly particularly new thing to do.

Speaker 0

所以从某种意义上说,经验时代其实一直都在,人们也一直在批评预训练,因为预训练很明显是另一种看待模型的方式,就是我们有静态数据。

So in some way in some way, age of experience, I think I think always has been there, and people have been criticizing a bit pretraining because pretraining very clearly is is the other way of of looking at the models, which is like we have static data.

Speaker 0

那些数据大部分是别人生成的。

That data is mostly generated by others.

Speaker 0

虽然我个人觉得,现在的预训练很大程度上是在把其他模型的知识蒸馏到新模型里,因为互联网上的大部分 token 都来自 AI,但预训练显然就是行为克隆、模仿、压缩互联网数据。

Although I I have this personal view that pretraining today is largely distilling other models, all their models into the new model because most of the tokens in the Internet are are coming from from from AI, but there there's clearly pretraining, which is which is behavioral cloning, which is mimicry, which is which is compression of of of of Internet data.

Speaker 0

但强化学习并不是人们没想过或者没做过的事。

But reinforcement learning is not something that people haven't been thinking and people haven't doing.

Speaker 0

强化学习以前用来解决一些问题,后来用来下围棋、玩星际争霸、打 DOTA,现在又用来解决编程问题。

Reinforcement learning was used to solve back in the day, then it used to solve Go, StarCraft, DOTA, to solving programming right now.

Speaker 0

每次归根结底都是模型自己生成经验,然后从这些经验中学习。

And every every time it comes down to model writing its own experience and learning learning from that experience.

Speaker 0

但有一点很清楚,我觉得有趣、也让人困惑的是,强化学习并不是从经验中学习的唯一方式。

But it is very clear and what I think is interesting and what I think is still is still perplexing to people that reinforcement learning is not really the only way to learn from experience.

Speaker 0

而且未来还会有更多,我可以说,更多算法层面的创新,本质上就是关于我们如何从经验中学习,因为强化学习只是其中一种方法。

And there there will be more, and there will be there will be a little bit more of I think you you can call it algorithmic, but essentially innovation of how we learn from experience just because just because reinforcement learning is only one way to do it.

Speaker 0

它只是一个数学公式。

It's a mathematical formulation.

Speaker 0

特别是现在我们在使用它时,它非常依赖那些并行展开来降低方差,以及比较模型在不同平行世界中的表现,但这并不是我们人类学习经验的方式。

And especially right now how we are using it, it really likes those parallel rollouts for variance reduction and for for comparing how the model does in in in parallel versions of the world, which is not not how we do, not how we learn from experience.

Speaker 0

我们从经验中学习要高效得多,也丰富得多。

We learn from our experience much more efficiently and much more.

Speaker 0

我们会以多种多样的方式利用这些经验。

We use we use those in many in many, many ways.

Speaker 0

有时候我会试着跟别人解释,大脑是怎么运作的,我们是怎么学习的。

At some moment, I've been trying to explain to people, like, what what brain does, how how we learn.

Speaker 0

大脑里并不是只有一种学习算法。

It's not that there's one learning algorithm in a brain.

Speaker 0

我觉得其实有好几种,它们会协同工作。

I think there are multiple actually, and they work together.

Speaker 0

但比如说我踢足球的时候,那看起来就非常接近强化学习。

But if I play football, for example, it looks very, very closely to reinforcement learning.

Speaker 0

我反复踢球,每次稍微调整一下,看看是不是大致达到了我想要的效果,然后就会产生某种自我强化。

I kick a ball a lot of times, and every time I adjust it a little bit and I see if it roughly matches what I what I wanted and either there there is some self reinforcement happening.

Speaker 0

而当我学数学的时候,那完全是另一回事。

When I when I when I learn mathematics, it's very different type of thing.

Speaker 0

就像阅读一些难懂的概念,在脑子里反复琢磨,直到突然想通,直到把它们联系起来。

It's it's like reading about hard concepts and thinking about them very deeply inside my head until until things click and until until I have them connected.

Speaker 0

这两种方式在某种程度上都是从经验中学习。

And both of those in some way are learning from experience.

Speaker 0

只是它们非常不同。

They are just very different.

Speaker 0

所以总结一下我对从经验中学习的看法,那就是我们其实已经在这方面做了很久了。

So so summarizing my thinking of the learning from experience is that we've been doing it for a while.

Speaker 0

我们可能比以往任何时候都投入更多的计算资源来从经验中学习,但强化学习并不是从经验中学习的终点。

We probably are spending the most compute than ever on learning from experience, but reinforcement learning is is not the end of learning from experience.

Speaker 0

未来几年,研究人员会提出更好的方法,让我们在更丰富的场景中利用这些数据。

And there will be there will there will be better approaches that will researchers will be coming up in the coming years on how to how to use that data in in a richer richer settings.

Speaker 1

有意思。

Interesting.

Speaker 1

Rohan,我很好奇。

Rohan, I'm curious.

Speaker 1

既然你的很多工作都围绕优化和效率,那么我们要怎样才能让学习算法在计算和数据效率上实现数量级的提升呢?

Since a lot of your work has been around optimization and efficiency, how do we get to orders of magnitude more efficient, I guess more compute efficient and more data efficient learning algorithm?

Speaker 3

这得从测量开始。

It had to start with measurement.

Speaker 3

我认为目前我们定义的预训练,本质上就是压缩。

I think pre training, as we define it, right now is about compression.

Speaker 3

我们看困惑度,然后衡量如何降低它,结果发现扩展规模、增加参数数量、投入更多计算资源是有效的方法,而且每次按对数尺度增加计算量,这些指标就会获得一点点提升。

We look at perplexity and then measure, how do we decrease the perplexity and then we find that scaling and increasing parameter count and putting more compute, is the way and every time we increase, compute in log scale, we get this epsilon more improvement in these metrics.

Speaker 3

我觉得,这对于建立先验知识来说还行,但看待问题的方式不对。

This is, I think, this is fine for building the prior, but I think this is the wrong way to look at the problem.

Speaker 3

我们应该从整体来看。

We should be looking at the end to end.

Speaker 3

我们训练这些模型到底是为了什么?

What are we training these models for?

Speaker 3

要看最终的结果。

Look at the outcome.

Speaker 3

比如说,我训练好这个模型,然后交给Jerry。

Like, for example, I train this model and give it to Jerry.

Speaker 3

Jerry一用强化学习,我辛辛苦苦建立的那些困惑度指标就全毁了。

Jerry will do RL and destroy all the perplexity metrics that I have created.

Speaker 3

对吧?

Right?

Speaker 3

所以,这算是我们目前能想到的最好的解决办法了。

Like so then it's sort of like it was the best way we had so far to attempt to solve the problem.

Speaker 3

而且我觉得,各大实验室和其他团队在创造智能方面做得非常出色,这些智能非常有价值,也让我的工作变得特别有趣。

And I think the labs and everyone else have done a great job in producing intelligence that's super valuable and makes my work so much fun.

Speaker 3

但这只是达到那个目标的启动过程。

But it was the bootstrap process to get there.

Speaker 3

我们必须把预训练和强化学习结合起来,这才是能带来一个数量级提升的地方。

We have to combine pre training and RL together, And that's, like, where one order of magnitude improvement would come from.

Speaker 3

这本质上是一种训练流程。

And that's like a training procedure.

Speaker 3

你也可以说它是一种学习算法。

You can say it's a learning algorithm.

Speaker 3

说到优化,我的故事是从2016年在谷歌做逻辑回归优化开始的,当时被这个问题深深吸引,然后参与了一些求解器的开发,就是我们以前叫SIBL的东西,那是谷歌在神经网络兴起之前使用的大规模线性求解器,后来被神经网络取代了。

In terms of optimization, my story is I started optimization at Google for logistic regression back in 2016, got nerd sniped by it, worked on some solvers for what we used to call SIBL, which was the large scale linear solver that was used at Google before neural network took off and then replaced this.

Speaker 3

然后我问自己,我想在神经网络领域做什么?

Then I asked myself, what do I wanna work on with neural network?

Speaker 3

答案很明确,我想理解训练算法,并让它变得更好。

And it was quite clear, like, I wanna understand the training algorithm and make it better.

Speaker 3

然后有一天,维尼特·古普塔突然出现在我办公桌前。

And then someone, Vineet Gupta, just showed up one day at my desk.

Speaker 3

他说,听说你特别擅长写优化方法。

It's like, I heard you're really good at writing optimization methods.

Speaker 3

我们有个想法,就是在白板上推演出来的,后来变成了Shampoo算法,你能帮我们实现并规模化,确保它在神经网络训练中能大规模运行吗?

We have this idea that, you know, like, worked out on a whiteboard and what turned out to be the Shampoo algorithm, can you help us implement scale, make sure it works at large scale for neural network training?

Speaker 3

所以在我做这个项目的时候,我一直感谢我的经理,他从头到尾都支持我,直到我2024年离职。

So when I was working on this, I thanked my manager, who has supported it throughout that until my end of my tenure, 2024.

Speaker 3

但总的来说,这个领域的大多数人并不怎么看好这个想法。

But largely, the community and most of the other people were not as excited by this idea.

Speaker 3

而对我来说,这是最激动人心的事,因为我觉得,我是在投入计算资源,让训练变得更好。

And for me, this was the most exciting thing because I was like, I'm putting in computation and making training better.

Speaker 3

这是我必须搞明白的事情。

This is the thing I have to figure out.

Speaker 3

我会花多少时间就花多少时间,直到把它做成。

I will spend as much time I would take to do it.

Speaker 3

然后大家就开始猜测,哎,上限在哪里呢?

And then people were making this assumption, oh, why like, what's the upper bond?

Speaker 3

其实你还可以继续用Adam。

You could still use Adam.

Speaker 3

这也没问题。

That's fine.

Speaker 3

就是说,你完全可以把时间花在其他地方,而不是优化上。

Like, why are we you could spend all the time on everything else, not optimization.

Speaker 3

但从某种意义上说,优化就像——你有一个模型,你在优化它,你想让它变得更好。

But in some sense, optimization is like like, you have a model, you're optimizing it, you wanna optimize it better.

Speaker 3

现在联系到我们之前讨论的架构问题,实际上,我们在架构方面做了很多工作,就是为了让这些指标能够训练起来。

Now connected to some of the stuff that we talked about architecture, what has happened is that a lot of the work that we've done in architecture is to make these metrics train.

Speaker 3

从某种意义上说,这就像硬币的两面,优化和架构是相辅相成的。

And in some sense, it's like two sides of this coin, and optimization and architecture go together.

Speaker 3

你可以用更强的优化器,训练一个更难优化的模型,从而获得更好的性能。

You could have a stronger optimizer, train a much more harder to optimize model and get better performance.

展开剩余字幕(还有 207 条)
Speaker 3

或者你可以用弱一点的优化器,在更容易优化的模型上,也能得到不错的效果。

Or you can use a weaker optimizer on easier to optimize models and get decent performance.

Speaker 3

所以这种权衡无处不在。

So there are these trade offs that appear all over.

Speaker 3

对我来说,我花了很多时间在这个上面。

And for me, I spend a lot of time working on it.

Speaker 3

我觉得我们在 Gemini 1.5 Flash 上用了它,然后社区就开始对它越来越感兴趣了。

I think we used it for Gemini 1.5 Flash, and then, like, the community started getting, like, more interested in it.

Speaker 3

后来还发表了那篇关于肥皂的论文。

There was the soap paper published.

Speaker 3

我们有一整套相关的文献,什么洗发水、肥皂,全是洗澡时会用到的东西。

We have, like, an entire literature of, like, shampoo, soap, all, like, bath time, the things that he would use.

Speaker 3

然后很明显,那大概比之前的方法提升了大约两倍。

And then it was quite clear, like so that was, like, maybe a two x improvement over what was happening.

Speaker 3

但即便如此,如果你看看洗发水,它实际的效果还是相当弱的。

But even then, if you look at shampoo, it's quite weak in what it's doing.

Speaker 3

它并没有利用训练时所有可用的信息。

It's not using all the information that's available to you when you train.

Speaker 3

随着你在训练中利用越来越多的信息,你就能获得更好的改进。

And as you use more and more information as part of training, you can get better improvement.

Speaker 3

从某种意义上说,你的优化算法决定了你会探索出什么样的架构。

And in some sense, like your optimization algorithm defines what architectures you will discover.

Speaker 3

比如,我有一些同事。

Like, I have colleagues.

Speaker 3

这在学术界并不太流行。

It's not very popular in the literature.

Speaker 3

大概全世界只有四个人关心这类想法,比如残差连接这种对训练神经网络极其有用的概念。

It's only like maybe, like, four people in the world care about it, kind of ideas that are extremely interesting, like residual connections have been extremely useful for training neural networks.

Speaker 3

有些人现在已经不再使用残差连接,而是学会了更深层的表示,但他们需要更好的优化方法。

There are folks who've now gotten rid of them and learned deeper representations, but they needed a better optimization method.

Speaker 3

所以对我来说,优化方法和你问的那个问题,本质上就是:我们怎么才能达到那个目标?

So like for me, optimization methods and the question you asked is just like, how do we get there?

Speaker 3

它和架构结合在一起,从端到端的角度思考问题,这才是计算效率高的关键所在。

It's it's combined with architecture and thinking about the problem end to end is where a lot of the computational efficiency is in.

Speaker 3

对。

Yeah.

Speaker 3

而且我也觉得强化学习在计算资源的使用上效率不高。

And I also see RL as spending a lot of compute not as efficiently.

Speaker 3

所以,如果你投入计算资源,因为反馈很少,而且需要解码很长的思维链才能把一点点信息传进网络,这看起来效率很低,很容易就能提升几个数量级。

And so, like, if you could spend it because you don't get much feedback and you're spending a lot more compute because you have to decode all this long chain of thought to get this one bit of information into the network seems quite inefficient and an easy target to get orders of magnitude on top of.

Speaker 3

我可以整天聊优化这个话题。

I can go on talking about optimization all day.

Speaker 1

我很喜欢。

I love it.

Speaker 0

Rohan 已经

Rohan already has

Speaker 1

你觉得我们有没有可能达到或超越生物学习的效率?

Do you think we'll ever approach or surpass biological learning efficiency?

Speaker 3

我不这么认为,因为我觉得可能需要改变——刚才那句话说得有点绝对了。

I do not think so because I think we would need to change maybe like that was a strong statement.

Speaker 3

至少以我们现有的硬件来看,可能性非常小。

At least with the hardware we have, it seems pretty unlikely.

Speaker 3

我们生物系统,就像杰夫·辛顿说的,是模型计算。

It our biological like, we have something, as Jeff Hendon says, model computation.

Speaker 3

也就是说,我们在成长过程中构建自己的电路,构建自己的学习算法,然后死亡,一切就消失了。

So we build our own circuit as we grow up and we build our own learning algorithm with the hardware and then we die and then we're gone.

Speaker 3

神经网络则完全不同。

Neural networks are quite different.

Speaker 3

硬件保持不变,神经网络也保持不变,但学习效率非常低,需要大量网络和并行计算才能传递少量信息。

The hardware stays, the neural network stays, but it's learning very inefficiently and you need a lot more of them and a lot of parallelism to get small amounts of information through.

Speaker 3

所以,除非我们设计出更像人类运作方式的硬件,比如更模拟化的,找到处理模拟电路的方法,然后解决如何修正、如何传递信息的问题。

So until I think we design hardware to be much more like how humans operate, maybe more analog, figure out how to deal with analog circuits, and then figure out how to do it at a correction, figure out how to get information through it.

Speaker 3

否则会困难得多。

It'll be much harder.

Speaker 3

我觉得我们挺安全的。

We I think we are safe.

Speaker 1

安全。

Safe.

Speaker 1

这个说法挺有意思的。

That's an interesting way to put it.

Speaker 1

预训练和强化学习应该端到端优化,这个想法听起来确实很明确,甚至有点显而易见。

The idea that pre training and RL should be optimized end to end seems like such a, you know, clear, maybe obvious statement.

Speaker 1

你觉得那些实验室意识到这一点了吗?

Do do you think do you think the labs realize this?

Speaker 1

是不是对他们来说,要摆脱组织架构和流程的束缚,让这两者融合起来,其实很难?

And and is it just hard for them to, you know, get rid of org charts and process to be able to make that come together?

Speaker 1

或者说,是什么阻碍了实验室把这两者统一起来?

Or what stops the labs from being able to unify the two?

Speaker 3

我不认为这有那么显而易见,因为这完全是一个不同的优化问题。

I don't think it's as obvious because it's a completely, again, different optimization problem.

Speaker 3

你有先验知识,做 rollout 时方差更大,而预训练则是大批量处理,单位时间内能投入更多并行计算或算力。

You have a prior, you're doing rollouts, you have higher variance, you're going and then pre training is much large batch, like more parallelism or compute for the unit of time that you can spend.

Speaker 3

所以,对大多数人来说,把这两种训练流程结合起来并不是显而易见的事,除非你再多想想:为什么简单的组合行不通?

So it is not an obvious thing for folks to combine these two training procedures until you think a bit more like, why is it that the naive combination doesn't work?

Speaker 3

这是第一点。

So that's one.

Speaker 3

第二点是,如果我去问问这些实验室里最顶尖的研究员,他们会说,哦,这有道理。

The second one is if I poll like some of the best researchers in these labs, they would say, oh, this makes sense.

Speaker 3

我们可能应该探索一下,但这大概不会排在他们最优先的清单里,因为他们得为下一个周期训练模型,就像杰里说的,既然 token 没有粘性,公司现在是不是都在争发布周期?

We should probably explore it, but it would be probably not in their top bucket because they have to train a model for the next cycle before it's like as as Jerry said, like, are companies now competing for release cycles because tokens are not sticky.

Speaker 3

所以在很多这样的实验室里,在它们当前的环境下,做长期研究,哪怕是六个月的长期研究,都变得非常困难。

So it's much harder to do long slight, like, even long term research of six months in many of these labs in the environment they are in.

Speaker 1

所以,Core Automation 的核心前提似乎是,你是在实验室刚开始的时候起步的,我知道山姆一直在提 AI 科学家。

So it seems like the core premises for Core Automation is, you know, you're starting, you're starting at the lab at a time when, I know Sam's been talking about the AI scientists.

Speaker 1

我觉得达里奥也一直在提 AI 科学家。

I think Dario's been talking about the AI scientists.

Speaker 1

看起来你们作为研究员的工作本质上已经发生了根本性的变化。

It seems like your job as researchers has actually fundamentally changed.

Speaker 1

而你们正好在这个时代创立了公司。

And you get to start the company native to that era.

Speaker 1

因此,你们可能能够比其他人做更多的实验。

And as a result, you're maybe gonna be able to run a lot more experiments than otherwise might be possible.

Speaker 1

你觉得研究工作能实现多大程度的自动化?

How automatable do you think the research job is?

Speaker 1

你们在建设实验室时,是如何朝着——我相信你们的目标之一就是成为最自主的实验室——这个方向努力的?

And how are you guys approaching building your lab to be as I believe your mission one of your missions is to be the most autonomous lab there is?

Speaker 0

最自动化的实验室。

Most automated lab Automated.

Speaker 0

全球最自动化的实验室。

Lab in the in the world.

Speaker 0

首先,我认为Core Automation所理解的自动化,本质上是让每个人都能拥有最大程度的自主权。

And to to start with, I I think the automation the version of automation by Core Automation is about giving each human maximum level of agency in some way.

Speaker 0

我们并不是真的想把人类排除在流程之外,虽然那是一种自动化的方式,但我们的目标是让人类能在有限的时间里做更多的事情。

It is we we're not trying to really get humans out of the loop, which is, like, one version to automate, but it is about give humans ability to do the most with with their their amount of time.

Speaker 0

对。

Mhmm.

Speaker 0

当你走路的时候,你能走一定的距离。

Whenever whenever you are walking, you can get some distance.

Speaker 0

当你有了自行车,你能走更远的距离。

Whenever you get a bike, you can go go walk a larger distance.

Speaker 0

当你有了汽车,你能走非常非常远的距离。

Whenever you are a car, you can can go much, much, much, much larger.

Speaker 0

当人类刚开始农耕时,他们用手耕作,只能种一小块地。

When whenever whenever humans started farming, they had farm by hand and will work on a small plot of land.

Speaker 0

当你有了机器,你就能种一大片地。

When you have a machine, you work on a much, much larger plot of land.

Speaker 0

就我个人而言,我非常喜欢现在的编程助手,也很高兴看到它们的发展。

Personally, I am I'm both really great fan of the of the current coding agents and and and very happy.

Speaker 0

从某种程度上说,这正是我多年来一直在做的事情——既做编码研究,也在OpenAI内部参与各种版本的AI科学家项目。

It's in some way, it is what I've been working for many years, both doing coding research and working on various versions of of AI scientists inside inside of OpenAI.

Speaker 0

最后我意识到,创办一家公司来实现这个愿景是最好的方式之一,因为今天做研究的方式已经完全不同了,单个研究者能做的事情比以前多得多。

And in the end, I realized starting a company to realize that vision is is one of best ways to realize it because the way you can do research today is very, very different because like single researcher can do much more.

Speaker 0

最终,迭代的速度、研究的速度、你快速推进想法的速度,以及你从想法中获得数据的速度,都变得非常非常不同。

In the end, the speed of iteration, the speed of research, speed of how quickly you can move through ideas and how quickly you can get data on your ideas is something something very, very different.

Speaker 0

你可以尝试调整旧有的结构,比如团队工作流程、数据收集方式,或者像你说的那样,我们可以尝试从头开始构建,为每个研究者提供最大化的支持,让他们能够更快地迭代自己的想法。

And you can try to move the old structures around it, the the teams workflows, how how data is gathered, or we can try to build, like like like you said, you can you can try to build build natively for it, for processes that that, like, maximally empower each researcher and allow them to just to just iterate on their on their idea much, much quicker.

Speaker 0

我们现在就在这里,试图重建整个深度学习堆栈,思考如何以不同的方式执行几乎每一个操作,看看有哪些不同的选择。

We are we are here, and we are trying to to to rebuild the full deep learning stack and try to think how we can do almost each operation differently, what are what are various options.

Speaker 0

如果我们每天至少能完成其中一项实验,那相比之前的工作,迭代速度就已经相当不错了。

And if we can execute at least even one of those experiments a day, that's already a pretty good iteration speed versus anything that was that was done before.

Speaker 0

其实并没有什么根本性的物理定律说这做不到。

And there isn't really like any fundamental, like, laws of physics reason why not.

Speaker 0

也许有一天,我们每天能完成十项这样的实验。

And maybe one day we get to 10 of those a day.

Speaker 0

也许有一天我们一天能完成一百次实验。

Maybe one day we get to one hundred dose a day.

Speaker 0

从根本上说,对于搜索和优化过程,我们应该能够找到在更好的深度学习环境中有效的方法。

And fundamentally for that, like search process optimization process, we should be able to just find things that work in a better deep learning setting.

Speaker 0

然后就去执行它。

And and, like, go do it.

Speaker 0

我们想做的,其实几乎是我们所有人都在做的事情。

What we what we are trying to do is, like, within, like, almost all of us.

Speaker 0

我们是一个专注于构建智能体和自动化的团队。

We are we are we are a team that is very agent build and automation build.

Speaker 0

我们正在尝试做一个实验,看看我们能把这些东西推到什么程度,以及一个试图用小型团队尽可能多做事儿的组织,能走多远。

We are we're we're trying to do an experiment, like, how far how far we can we can push those things and how far how how much an organization that tries to do as much as we can with a small team, how far how far we can get with that.

Speaker 2

我们什么时候才能知道已经实现了通用人工智能?

When will we know that we've reached AGI?

Speaker 0

曾经有一段时间,我常说这很大程度上取决于每个人的内心,取决于他们怎么定义通用人工智能。

At some moment, I used to say it's it's very much in everyone's heart, whatever whatever they consider AGI.

Speaker 0

OpenAI说,AGI是能在经济价值工作上超越所有人类的系统,但这又回到了我之前说的。

OpenAI says the system that can outperform all humans in economically valuable work, but it goes to my my my previous statement.

Speaker 0

如果OpenAI停止训练模型,那会怎么样?

What if what if OpenAI stops training models?

Speaker 0

对。

Yeah.

Speaker 0

那系统还能继续工作吗?

Would that still keep working?

Speaker 0

自动化水平会保持不变,还是会逐渐退化?

That still keep the automation level the same, or would that drift?

Speaker 0

对我来说,AGI是一个能自我改进、完全不需要人类参与的模型。

And for me, AGI is a model that can improve itself without human in the loop in any way.

Speaker 0

我认为那才是真正能讨论AGI的时刻,因为从某种角度来说,这是前一个定义的一个子集——改进AI模型本身就是人类能做的工作。

That's I think the moment where we can meaningfully talk about AGI because that is in some way, it is a sub definition of the previous one because improving AI model is job that humans can do.

Speaker 0

这确实是经济价值很高的工作,而且毫无疑问是这样。

It is economically valuable work, and it definitely definitely is the case.

Speaker 0

但到目前为止,把人类从模型循环中移除,实际上一直都非常非常困难。

But removing humans from from from loops with models has been actually notoriously notoriously difficult so far.

Speaker 0

我们离这个目标还差得很远。

We haven't come anywhere close to it.

Speaker 0

对我来说,很难找到任何任务,能让大语言模型真正把人类从循环中排除出去。

It's very, very hard for me to find any task where LLMs were able to, like, get get humans out in the loop.

Speaker 0

现在人类和大语言模型混合的模式确实非常成功,但如果没有人类参与,大语言模型的表现就差远了。

We are we are the the the human LLM hybrid is is really, really successful right now, but LLMs without humans, not so much.

Speaker 0

完全不行。

Not at all.

Speaker 0

我在2024年和2025年初看到的情况是,目前这条路径根本走不通。

And what I have seen there in 2024 and in early twenty twenty five is that the current, like, path doesn't doesn't get us there.

Speaker 0

我觉得我们需要一些非常非常深入的研究,可能是这家公司或者其他公司,来尝试解锁如何让我们的模型在测试时更深入地学习和适应,比现在要深入得多。

And I think we need we need some pretty pretty serious research on, like, this company or some other to to try to unlock how do we how do we make our malls learn and and adapt at a test time on a deeper level than they've been so far.

Speaker 1

我觉得我们整个对话都在暗示这一点,但这就像那五个盲人摸象的故事一样。

I feel like we've alluded to this throughout the conversation, but it's kind of been one of these, you know, five blinded blindfolded people trying to find the elephant things.

Speaker 1

你愿意分享的Core Auto宏大计划是什么?

What is the grand master plan for Core Auto that you're willing to share?

Speaker 3

我可以分享我们六个月的路线图。

I can share our six month roadmap.

Speaker 3

从某种意义上说,构建架构不仅仅取决于架构本身有多好。

In some sense, building architectures, as I said, it's not just how good the architectures.

Speaker 3

还要看它运行得是否顺畅,以及我们能否让用户——包括我们自己实验室的人——用上它。

Does it run well and can we get users, including ourselves, as part of the lab to use it?

Speaker 3

对吧?

Right?

Speaker 3

所以直接来说,我们现在能做很多事情,但最难、也是我们想自动化解决的,是内核生成。

So then that's directly, like, we can do many things now, but the thing that is gonna be difficult and think and we want automate away is kernel generation.

Speaker 3

我们有一批硬件GPU和黑洞芯片,需要用来训练和运行推理。

So we would we have a set of hardware GPUs, black holes that we have to train and run inference on.

Speaker 3

我们会构建最好的模型,来大幅缩短从产生一个能消除架构瓶颈的绝妙想法,到让它在GPU上以最高算力运行的时间。

We will build the best model that we can to basically reduce the time from having a very cool idea that can make these bottlenecks go away in the architecture to having them run at the highest tflops on GPUs.

Speaker 3

从某种意义上说,现在的编码助手加上人类确实能走很远,但举个例子,我们和GPU模式一起举办的QR内核竞赛就说明了这一点。

And in some sense, like current coding agents plus humans can go a long way, but like an example of this is our QR kernel competition that we hosted with GPU mode.

Speaker 3

这个竞赛是为了运行一种非常古老的线性代数运算——QR分解。

It's for running this very old linear algebra operation QR.

Speaker 3

它用于优化,比如Shampoo系列工作就用到了它,还有很多其他地方也在用。

It's used for optimization, like Shampoo Line of Work uses it, many other places uses it.

Speaker 3

而你想在B200节点上高效地运行它。

And you want to run this efficiently on B200 node.

Speaker 3

如果使用Cosolver来处理我们关心的那些形状,能获得一些效率提升。

If you use Cosolver for the shapes that we care about, you get some efficiency.

Speaker 3

然后,人类加上一些搜索循环,可以让你达到大约七倍的加速。

And then a human plus some search loop can get you like something like seven x.

Speaker 3

但这需要非常高水平的专家,全世界大概只有三个人,花大约十万美元在这些编码助手身上,用四周时间才能得到一个快60倍的解决方案。

But it requires the high taste human, like there's maybe three people in the world to spend about a $100,000 on these coding agents over a span of four weeks to get to a solution that's 60 x faster.

Speaker 3

所以现在的这些模型离实现那个60倍加速的内核还差得很远,这确实是一个真正的瓶颈。

So these models today are nowhere close to getting that 60 x faster kernel and does there is a real bottleneck.

Speaker 3

那只是一个单一的问题。

Now that was a single problem.

Speaker 3

它大概涉及三个不同的操作:在这个面板上操作,做矩阵乘法,再折叠回去,然后重复这个过程。

It has, like, perhaps three different operators work on this panel, do this matrix multiply, fold it back in, and do this repeatedly.

Speaker 3

这就是矩阵的QR分解的样子。

That's what the skewer factorization of a matrix would look like.

Speaker 3

如果你把这个问题交给Entropic模型、OpenAI模型或Gemini,它们根本解决不了。

And if you give this problem to Entropic models, OpenAI models, Gemini, it just wouldn't solve it.

Speaker 3

我们的模型离解决这个问题还差得远呢。

It just it's not our models are not even close to solving this problem.

Speaker 3

所以对我们来说,这是我们一直在讨论的事情,也是我们正在接近的目标——因为那是我们实现更高效架构的内部循环。

So for us, it's like something that we've talked about, something that we are getting close to as sort of, like, getting to that point because that's our inner loop to having more efficient architectures.

Speaker 3

对。

Mhmm.

Speaker 1

为什么是内核?

Why kernels?

Speaker 1

是不是因为,要最大化每单位算力的智能产出,就需要

Is it just because, like, maximize intelligence per flop of compute, you need

Speaker 3

生成内核?

to generate kernels?

Speaker 3

从某种程度上说,我做过三个项目。

In some sense, I've had, like, three projects.

Speaker 3

其中两个已经在行业里落地了。

Two of them have kind of landed in the industry.

Speaker 3

第一个是二阶方法。

So first is second order methods.

Speaker 3

内核是个瓶颈,因为你得把它跑好。

Kernels was a bottleneck because you have to run it well.

Speaker 3

如果你在谷歌这样的地方,你不能花十倍的算力去换两倍的收益。

If you were at a place like Google, you cannot spend 10 x amount of compute and get a two x win.

Speaker 3

所以我只能花大概20%的预算,去拿到两倍的收益。

So I could only spend maybe a budget of 20% and get the two x win.

Speaker 3

大家都很满意。

Everyone's happy.

Speaker 3

我不做交易。

I don't, like, trade.

Speaker 3

所以,我觉得这就是市场。

So, like, I think the that's the market.

Speaker 3

对吧?

Right?

Speaker 3

你投入的比……对。

You spend less than Yeah.

Speaker 3

你得到了。

You get.

Speaker 3

所以内核就成了瓶颈,因为大部分操作都是新的,没多少人研究过。

So kernels ended up being a bottleneck there because most of the operations were novel that we haven't gotten a lot of people to look at it.

Speaker 3

谷歌里大概只有两个人能写这个代码,拉斯穆斯和彼得·霍金斯,因为得写很深的XLA LLO代码才能搞定,他们花了两年时间才完成。

There's only, like, two humans at Google who could write it, Rasmus and Peter Hawkins, because it was deep XLA LLO code that you have to write to make this work, and then that took them two years to do.

Speaker 3

当时我和一个同事还有个想法,就是用额外的内存来替换Transformer里的部分参数,我们管它叫n-gram内存。

The other idea I had with one of my coworkers at that time was, like, replacing some of the parameters in a transformer with extra memory, and we called it n grammar, n gram memory.

Speaker 3

我们在2020年就开始搞这个了。

We worked on it in 2020.

Speaker 3

内部部署过几个版本,不是那种大型的,是小规模的。

It's a we had versions of it internally deployed, not the big version, but the smaller version.

Speaker 3

但那个项目里,我需要一种能在训练过程中加速稀疏数据收集和分散的东西。

But there, I needed, like, something that can accelerate sparse gathers and scatters as part of training.

Speaker 3

对。

Yeah.

Speaker 3

这需要硬件改动,还得让硬件能配合上。

It required a hardware change and a hardware making use of the hardware.

Speaker 3

最后没做成。

It never arrived.

Speaker 3

我跟TPU团队、我们这边,还有好多人开过好几次会。

I had conferences set up with the TPU team, us, and a bunch of others.

Speaker 3

疫情期间我们还在讨论,说这事儿肯定能成,结果一直没实现。

We were talking about it during COVID, like, oh, we're gonna have it happen, and it never arrived.

Speaker 3

我在Anthropic的时候也用过TPU。

I also was using TPUs at Anthropic.

Speaker 3

我离开的时候,才刚刚开始摸到一点门道。

While I was leaving, just barely started the surface of being able to do it.

Speaker 3

但与此同时,六个月前,DeepSeek写了他们的Ngram,这是一种改进版的内存扩展方案,展示了损失函数的缩放效果,确实,你不需要混合专家模型。

But at the same time, six months before that, DeepSeek wrote their Ngram, which is an improved version of adding more memory, showed scaling loss that, yeah, you don't need MOEs.

Speaker 3

你完全可以用这些Ngram嵌入来替代它。

You could actually replace it with these Ngram embeddings.

Speaker 3

对我来说,那感觉就是,对。

For me, that was like, Yeah.

Speaker 3

非常有意思。

Very interesting.

Speaker 3

这前后折腾了五年,我当时真是……

It was like a five year thing, and I was very

Speaker 1

所以,如果不写内核,大部分状态空间根本就没法探索。

happy was so for much of the state space to explore isn't even possible if you're not writing kernels.

Speaker 3

内核。

Kernels.

Speaker 3

而且你需要有人帮你写内核,或者自己搞定内核,才能达到最高性能。

And you need to be assisted in writing kernels or solve that kernel to have the highest performance.

Speaker 3

天花板很高,就像QR分解一样。

And the roofline is pretty high, so it's like the QR.

Speaker 3

如果用QSolver的QR分解,性能也就那样。

If I use QSolver's QR, I get some performance.

Speaker 3

但如果用竞争对手的QR分解,速度快了60倍。

If we use the competition miner's QR, you get 60x faster.

Speaker 3

这完全是另一个层次的竞争了。

And that is a completely different playing field.

Speaker 3

这样一来,就能解锁一整套全新的算法。

Now it opens up an entire new set of algorithms you can apply.

Speaker 3

在训练Transformer和优化器方面,QR在特征分解、三维四维特征分解以及许多其他事情中都非常基础。

And in terms of training transformers, training optimizers, QR is so fundamental in analyzing the eigen decompose, three d four eigen decomposition and many other things.

Speaker 3

所以我认为,如果你仔细想想,也只有少数人具备这种技能,而且他们往往分散在不同的地方。

So it is a thing that I think also, if you think about it, only few people have the skill set too, and they're very much not at the same place.

Speaker 3

就像这里一个人,那里一个人。

It's like one person here, one person there.

Speaker 3

如果模型能具备这些能力,那就太理想了。

And it it would be ideal if models had those abilities.

Speaker 0

对。

Yeah.

Speaker 0

也许我来稍微总结一下,从宏观角度谈谈我们想要什么。

Maybe I'll I'll summarize a little bit and talk from the high level of what we want.

Speaker 0

Core Automation 是一个实验室,旨在构建能够持续学习并从部署中学习的模型。

Core automation is a lab created to build models that continuously learn and learn learn from deployment.

Speaker 0

我们相信,正如我提到的,Transformer 无法进行持续学习。

We believe, as as as as I mentioned, that transformers are incapable of continual learning.

Speaker 0

根本没有办法把持续学习放到Transformer上。

There there's no way how to put continual learning on transformers.

Speaker 0

所以我们知道必须找到一种不同的架构。

So we know we have to find a different different architecture.

Speaker 0

某种程度上,我们的目标就是找到那种新架构,找到Transformer的替代品,并且我们想建立最自动化的实验室来实现这一点。

Some of in in a way, our quest is to find that that new architecture, find that transformer replacement, and we wanna build the most automated lab to do it.

Speaker 0

我们希望以最快的速度大规模构建实验,快速迭代,尝试大量新的架构思路,拥有强烈的先验知识来高效搜索架构空间,从而比任何人都更快地找到那个目标。

We wanna be able to build experiments at scale the quickest we can iterate on them, try a lot of new architectural ideas, have strong priors of what we want to do to search the space of architectures efficiently to find to go to that go to that place fastest than than anyone else.

Speaker 0

这就是我们想做的事情,我们在内核、大规模训练、尝试新架构思路上的所有工作,都是在探索那个空间。

That's what we what we want to do and all the work we are doing on kernels, on large scale training, on trying new architectural ideas is is exploring that space.

Speaker 0

所以你们要通过实验来找到更优的架构。

So you're gonna experiment your way into finding a superior architecture.

Speaker 0

那你怎么知道找到了呢?

How will you know when you've found it?

Speaker 0

你用什么标准来判断,这就是那个对的架构?

What are you looking for to say, This is the one?

Speaker 0

这个问题问得很好。

That's a great question.

Speaker 0

通常有两个角度。

There are there are always two angles.

Speaker 0

在我看来,根据我的经验,一个非常成功的研究会有一张图,展示出其他图没有显示的东西。

In in in my mind, in my experience, a very successful research had a plot that shows something that that other other plots don't show.

Speaker 0

有一条线稍微以不同的方式弯曲,然后你会说,这就是你想要的。

There there's a one line that is a little bit bendig in a in a different different way, and you're saying this this this is what you want.

Speaker 0

但至少以我的研究经验来看,那张图其实已经是在旅程的后期了,大多数时候你早就知道自己想要什么,也清楚自己在做什么。

But at least it is my experience with research always has been that plot is already quite late in a journey where most of the time you already know what you want and already know what you are up to.

Speaker 0

我有点开玩笑,但这是真的——我人生中所有最好的图,都是在梦里先看到的,然后才在现实中实现。

I am a bit a bit joking, but that's actually true that all the best plots in my life, have them in a dream before before actually they were real.

Speaker 0

我大概知道自己要找什么。

I kind of knew what I was looking for.

Speaker 0

问题只是它什么时候真正奏效,你明白我的意思吧。

Just the question is it's like when actually clicks, if you know what I mean.

Speaker 0

因为大多数时候,你大概知道自己要找什么,但就是找不到。

Because most of the time you kind of know what you are looking for, but you are you are not finding it.

Speaker 0

你试了一个方法,不行。

You you try one thing and it doesn't work.

Speaker 0

再试第二个,哦,还是不行。

Try second thing, oh, it doesn't it doesn't work.

Speaker 0

但最终,所有正确的部分会拼凑到一起,而大多数深度学习系统都非常复杂。

But eventually, the all the all the right pieces fall into it and most of the deep learning systems are very intricate.

Speaker 0

所以通常,你得连续做对五件事,系统才能开始运转。

So usually, you have to get five things right in a row for the for the thing to start working.

Speaker 0

然后,终于,你得到了一个看起来符合预期的图表,这时候你就明白了。

And then, eventually, you get the plot that looks like like like like you want, and then and then, you know.

Speaker 0

对。

So Mhmm.

Speaker 0

所以我觉得,我们真正在寻找的,是那些能够在这个时代学习的系统。

So I I think, like, what we are what we are looking for is systems that learn at this time.

Speaker 0

如果我们看到系统具有有意义的长期适应能力,就像我们开玩笑说的那样,但这其实是一个真实的目标——我们希望在日常工作中评估我们的系统。

And if we see meaningful long term adaptability of our of our systems and, like, we are we are we're joking, but it's it's it's a it's a real we wanna be evaluating our systems of our of our everyday work.

Speaker 0

它们在做核心自动化科学家的工作方面变得越来越好,是的。

They get better at at at doing the work of core automation scientists each Yeah.

Speaker 3

我们团队一起去度假,看看实验室那一周能不能产出更好的成果。

We, like, go on a vacation as a team and see if the lab produces something better for the week.

Speaker 3

给

Give the

Speaker 0

那你回来之后做什么?

Then what do you do when you get back?

Speaker 3

我们看看会怎样

We'll see what

Speaker 0

把假期延长两倍、四倍,直到我们永远放假。

Extend extend the vacation two times and four times until we are on permanent vacation.

Speaker 1

这真是一个完美的结尾。

That is a beautiful note to end on.

Speaker 1

Rohan,Jerry,非常感谢你们来参加我们的节目。

Rohan, Jerry, thank you so much for joining us.

Speaker 1

你们两位的工作对我们今天的发展起到了非常关键的推动作用。

You've both worked on really, really transformative work for where we are today.

Speaker 1

我非常期待看到你们开启这个新实验室的旅程,也很期待你们能取得什么样的成果。

And I'm so excited to see you starting a lab on this new journey, and very excited to see what you're able to come up with.

Speaker 1

谢谢你们带我们了解这些。

Thanks for running us.

Speaker 0

说点什么。

Something.

Speaker 0

能在这里和你们聊天真的很开心。

It's been great to be here and chat with you.

Speaker 0

谢谢。

Thank you.

关于 Bayt 播客

Bayt 提供中文+原文双语音频和字幕,帮助你打破语言障碍,轻松听懂全球优质播客。

继续浏览更多播客