跳到主内容
@wquguru
精选88Latent Space(RSS)技巧与观点

Google John Platt谈AI for

🔬 An Oscar, Two Asteroids, and the Algorithm in Your sklearn: John Platt on AI for Science

原文
发到 X
推荐理由

深度访谈揭示了AI for Science的具体工程范式(ERA框架)与避坑指南,对从事自动化科研或科学计算的同学极具参考价值。

How often do you get to talk to a guest who has both an Academy Award and who invented textbook machine learning algorithms? John Platt has an Oscar, two textbook algorithms, two named asteroids, and an Erdos-Bacon number of 6. This was easily the most fun bio of all the guests we’ve read to date. And the result was an epic and fun chat covering Google’s Empirical Research Assistance (ERA), how AI can help battle climate change, and tons of great stories about the co-evolution of science and AI.

你多久能遇到一位既获得过奥斯卡奖,又发明了教科书级机器学习算法的嘉宾?约翰·普拉特(John Platt)拥有奥斯卡奖杯、两本教科书级的算法著作、两颗以他命名的小行星,以及6的爱多斯-培根数(Erdos-Bacon number)。这绝对是我们迄今为止读到过的所有嘉宾中最有趣的一位。结果是一场史诗般且充满乐趣的对话,涵盖了谷歌的经验研究辅助系统(ERA)、人工智能如何帮助应对气候变化,以及大量关于科学与人工智能协同进化的精彩故事。

John’s colleague Dave Bacon likes to tease John that his career has been defined by being twenty years early to the next big thing. This may be convolutional neural networks (some credit him with coining the term), fusion research, quantum computing. John and Google have been working on solving some of humanity’s hardest problems with AI and computation for well over a decade now. Recently John and his team set their sights on using AI to solve any scientific problem that can be written down as a score.

约翰的同事戴夫·培根(Dave Bacon)喜欢调侃说,约翰的职业生涯总是比下一个重大机遇早二十年到来。这可能是指卷积神经网络(有人归功于他创造了这个词)、聚变研究或量子计算。约翰和谷歌团队已经利用人工智能和计算技术解决人类最棘手的问题超过十年了。最近,约翰和他的团队将目光转向利用人工智能来解决任何可以表述为“评分”的科学问题。

Google’s Empirical Research Assistance (ERA)

谷歌的经验研究辅助系统(ERA)

John’s team has taken on many hard scientific problems over the years. In solving these, they noticed a pattern, many scientific problems can be reduced to what John calls a “scoreable task”. Once you have the score function, the goal is to find some code that maximizes the score. The hard part is in formulating the score, but once you have the score finding the maximizer can still be quite a lot of effort.

多年来,约翰的团队承担了许多艰难的科学问题。在解决这些问题的过程中,他们发现了一个规律:许多科学问题可以简化为约翰所称的“可评分任务”。一旦有了评分函数,目标就是找到能够最大化该分数的代码。难点在于构建评分函数,但即使有了评分函数,寻找最大值的过程仍然需要耗费大量精力。

John’s team set out to automate solutions to this general problem. This came out of the idea of an “auto-Kaggle” AI, which can solve any Kaggle problem you can throw at it. Kaggle is owned by Google, so all the data was ready and easily available to them!

约翰的团队着手自动化解决这一通用问题。这一想法源于“自动Kaggle”AI的概念,即一种能够解决你抛给它的任何Kaggle问题的AI。Kaggle由谷歌拥有,因此所有数据都已就绪并易于获取!

The result is Google’s Empirical Research Assistance or ERA (paper, github, blog).1 ERA is surprisingly simple conceptually. Gemini (or your LLM of choice) keeps a running tree of past experiments (notebooks) and where they’re going. It’s a close cousin of Monte Carlo Tree Search: at each iteration the Upper Confidence Bound rule picks which notebooks are most promising to mutate. This is optimistic, not greedy, so sometimes even the fifth-best notebook gets chosen. Gemini then proposes mutations for each one, about ten at a time. The history of each branch is shared, so different leaves can learn from each other.

成果是谷歌的经验研究辅助系统,即ERA(论文、github、博客)。¹ ERA在概念上出奇地简单。Gemini(或你选择的LLM)会持续维护一个过去实验(笔记本)及其发展方向的运行树。它与蒙特卡洛树搜索(Monte Carlo Tree Search)是近亲:在每次迭代中,上限置信度规则(Upper Confidence Bound rule)会选择最有潜力进行变异的笔记本。这种策略是乐观而非贪婪的,因此有时甚至排名第五的笔记本也会被选中。随后,Gemini会为每个笔记本提出变异建议,每次大约十个。每个分支的历史记录都是共享的,因此不同的叶子节点可以相互学习。

“It’s almost like having a hyper-eager grad student who doesn’t sleep.”

“这几乎就像拥有一个不知疲倦、极度积极的研究生。”

Evolutionary algorithms have been around since the 70s, but this works because Gemini actually knows where to look! What’s even more interesting is that there was a step change between Gemini 2.0 and 2.5, and this went from just not working to working great.

进化算法自 70 年代以来就已存在,但这次之所以奏效,是因为 Gemini 真正知道该去哪里寻找!更有趣的是,在 Gemini 2.0 和 2.5 之间出现了一个质的飞跃,从完全不起作用变成了效果极佳。

ERA is so powerful that John and his team solved many outstanding problems with it, resulting in at least ten papers. Some of these were climate change related, which we talk about in the next section.

ERA 如此强大,以至于 John 和他的团队用它解决了许多悬而未决的问题,至少产出了十篇论文。其中一些与气候变化有关,我们将在下一节中讨论。

So, we had to ask: if you have an optimization god how do you avoid fooling yourself? John’s answer is that ERA provides predictive models. It’s up to the scientist to make sure they’re truly descriptive. Some of this just involves good old-fashioned careful machine learning science. “It’s a power tool. It can slice your fingers off.” This led to some fun discussion about Kaggle competitions, and the fun ways people can overfit to datasets without meaningfully solving the problem you actually care about: Google’s contrail-detection competition was won by entrants who noticed a half-pixel error in the labels (is the origin at the corner of the pixel or the center?) and this turned out to be a part of the winning special sauce. Great for winning $15,000, not so helpful if you actually want to solve contrails.

因此,我们不得不问:如果你拥有一个优化之神,如何避免自欺欺人?John 的回答是,ERA 提供预测模型。确保这些模型真正具有描述性,是科学家的责任。其中一些工作只是涉及传统且谨慎的机器学习科学。“它是一个强力工具,可能会把你的手指切掉。”这引发了一些关于 Kaggle 竞赛的有趣讨论,以及人们可以以各种有趣的方式对数据集过拟合,而没有真正解决你真正关心的问题:Google 的凝结尾迹检测竞赛由参赛者获胜,他们注意到标签中存在半像素误差(原点是在像素的角落还是中心?),而这竟然成了获胜秘诀的一部分。赢得 15,000 美元很棒,但如果真的想解决凝结尾迹问题,这就没什么帮助了。

“People themselves will act like these LLMs and try to reward hack. It goes back to Goodhart’s law: any metric that becomes a target is no longer good as a metric.”

“人们自己会表现得像这些大语言模型一样,并试图进行奖励黑客攻击。这回到了古德哈特定律:任何成为目标的指标,就不再是一个好的指标。”

His advice for where to start instead?

他建议从哪里开始呢?

“Always just fit linear regression. Just do it. Just do it. Just do it. Or SVM.”

“总是先拟合线性回归。就这么做。就这么做。就这么做。或者支持向量机(SVM)。”

Tackling Climate Change with AI

利用人工智能应对气候变化

John and his team have worked extensively to mitigate the effects of climate change. We talked about several of their initiatives.

John 和他的团队为减轻气候变化的影响做了大量工作。我们讨论了他们的几个倡议。

Perhaps the most interesting result we talked about was reducing the effects of condensation trails (contrails) from airplanes. Those little streaks you see running behind planes somehow account for 1% of all human-induced global warming?!? Some of these trails of ice crystals can hang out for days. These crystals are black in the infrared, acting like a thermal blanket that traps heat day and night.

也许我们讨论过的最有趣的结果是减少飞机凝结尾迹(contrails)的影响。那些你在飞机后面看到的细小条纹, somehow 占所有人为全球变暖的 1%???一些冰晶尾迹可以持续数天。这些晶体在红外波段呈黑色,像热毯一样在白天和夜晚捕获热量。

It’s easy to understand what’s happening here, a region of atmosphere becomes “ice supersaturated”,2 and a tiny bit of exhaust seeds water vapor that instantly crystallizes. The scale here is astounding, with a single gram of exhaust resulting in ten kilograms of ice crystals.

这里发生的事情很容易理解:大气区域变得“过饱和”,少量的废气作为种子使水蒸气瞬间结晶。这里的规模令人震惊,一克废气就能产生十公斤的冰晶。

The solution to all of this is quite simple, in principle! We know what parts of the atmosphere are most likely for the trails to form. Just have the planes drop a flight level or two. Problem solved, right? Well, the hard part is accounting for how much warming was prevented. This is a counterfactual problem, parts of which stumped John’s team for over two years. They had a working model for the heat-trapping half, but not for the reflected sunlight. ERA was able to find a simple model with some confounders they hadn’t considered. Cracked it!

解决这一切的方案其实很简单!我们知道大气中哪些部分最有可能形成航迹。只需让飞机下降一两个飞行高度层即可。问题解决了,对吧?然而,难点在于如何量化被阻止的变暖量。这是一个反事实问题,约翰的团队花了两年多时间才攻克其中的一部分。他们有一个针对热量捕获部分的模型,但缺乏针对反射阳光的部分。ERA 找到了一个包含一些他们此前未考虑的混杂因素的简单模型。破解了!

Modeling climate generally is a hard problem. Climate is best thought of an attractor of many different possible weather outcomes.3 This makes it much harder to model.

对气候进行建模通常是一个难题。气候最好被视为众多不同天气结果的一个吸引子。3 这使得建模变得更加困难。

“Weather is where you are on the attractor, and climate is the statistics of the attractor. The problem with climate is that we’re altering it. The attractor itself is changing, it’s moving.”

"天气是你处于吸引子上的位置,而气候是吸引子的统计特征。气候的问题在于我们正在改变它。吸引子本身正在变化,它在移动。"

John and his team have worked on treating both the symptoms and the disease of climate change, with several other works in the area. Another fun example we briefly cover is FireSat, a way of using a constellation of satellites to rapidly identify fires before they grow too big to put out. For anyone living in California, you understand the problem. In dry years a small fire can result in hundreds of thousands of acres. If you could find this fire when it’s the size of a room, it could be put out. By the time it hits an acre we have a much harder problem.

约翰和他的团队致力于同时应对气候变化的症状和根源,在该领域还有其他几项工作。我们简要提到的另一个有趣例子是 FireSat,这是一种利用卫星星座在火灾变得难以扑灭之前快速识别火灾的方法。对于任何居住在加州的人来说,你理解这个问题。在干旱年份,一场小火可能导致数十万英亩的土地受灾。如果你能在火灾仅房间大小时就发现它,就能将其扑灭。等到火势达到一英亩时,我们就面临着一个更棘手的问题。

Where is this all going? Looking forward by looking back

这一切将走向何方?通过回顾过去展望未来

By now it should be clear John has an incredible and unique view over the intersection of science, computation, and AI. John talked about a class on physics of computation4 he took with Richard Feynman back in 1982. This was when quantum computing was an ill-defined concept with no theory or experimental backing. John recalls every Tuesday was a guest lecture, and every Thursday was Feynman explaining why the Tuesday guest was wrong. John also recalls doing science back when there was essentially no compute, a million operations per second was cutting edge.

到目前为止,显然约翰对科学、计算和人工智能交叉领域有着非凡且独特的见解。约翰谈到了他在 1982 年随理查德·费曼(Richard Feynman)学习的一门关于计算物理的课程4。当时量子计算还是一个定义模糊的概念,没有理论或实验支持。约翰回忆说,每周二都有客座讲座,每周四则是费曼解释为什么周二的客座嘉宾错了。约翰还回忆起在几乎没有计算能力的时代做科学研究的经历,当时每秒百万次操作已是尖端水平。

What is John’s recommendation: the most important skill is developing deep domain expertise. There’s no other way to develop taste than to tackle hard problems. One surprising part of this is that John recommends spending time doing things the old fashioned way. Play with tools, and just implement things yourself.

约翰的建议是什么:最重要的技能是培养深厚的领域专业知识。除了解决难题,没有其他方法可以培养品味。这一点令人惊讶的部分在于,约翰建议花时间用老式的方式做事。摆弄工具,并亲自实现各种功能。

“You could drive up the mountain, or you could hike up the mountain, and maybe it’s okay, even fun, to occasionally hike.”

“你可以开车上山,也可以徒步爬山,偶尔徒步也许没问题,甚至很有趣。”

Summing it up, John’s message to the audience is that there will still be a place for scientists, and that if anything it will just open up more opportunities for “the creative stuff, the rigorous stuff, the philosophy stuff.” But don’t forget to spend time doing the grunt work.

总结一下,约翰对观众的信息是:科学家仍将有一席之地,而且如果有什么变化的话,这将为“创造性的工作、严谨的工作、哲学性的工作”开辟更多机会。但别忘了花时间做那些基础性的苦活。

“There just seems to be this strong impetus in the world to optimize and squeeze everything out. But you do lose something when you hyper-optimize. It’s overfit.”

“世界上似乎有一种强烈的冲动,想要优化并榨取一切。但当你过度优化时,你会失去一些东西。那就是过拟合。”

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

关联信息,但可能不是同一事件