00:12 AI 的能力落差与自动化困境
Almeida 认为,AI 一方面在部分基准和复杂任务上表现惊人,另一方面却难以可靠处理会计等看似简单的实际工作。尽管他喜欢聊天机器人和编码智能体,也相信 AI 具有变革性,但现实世界的变化仍不如宣传所暗示的那样广泛;这种能力参差不齐的现象需要合理解释。
AI Engineer · 23:19
I'm Diego Almeida and this talk is I love you so jevving much. Glass Animals reference, we're not just weird. Like I said, I'm Diego Almeida. I'm known as the Jev guy, sometimes Jevvy Pinkman. Also co-created ChatGPT, RLHF, and InstructGPT, but I assume that for the crowd today, y'all know who I am, at least mostly. i have like a bunch of aie specific stuff i want to get to, but i like going into my favorite topics in ai. first one is what the fuck is actually going on and where is all the automation? if you've heard me say this before, i'm sorry, but it's such an important thing to beat into the field because people still do not get it and i need to yell this until everyone really understands what the fuck is going on. And if you're an AI, you should have a really good answer about why AI can do so many awesome things and yet still be so useless for a bunch of other ones. my relationship to ChatGPT is somewhat unique. one of the few people who hates on ChatGPT who made it. i don't hate ChatGPT, to be clear. i love using agents. i love using coding agents. i love chatbots. they're just quite limited. and in particular, i think it's a little tragic how much they've bifurcated the field into overpromise, underdeliver. really, really terrible stuff for the world, in my opinion. And I like to talk about like the two cults in AI and how we can resolve the cognitive dissonance that everyone I think should be having unless they have a very good answer. There's cult one, which is you know the cult of like EAs. They look at all the benchmarks and they say like not only are LMs surpassing human level on basically every benchmark, they have been for two years. We've been announcing AGI three months away for two years now. Yeah, even since like the O3 days. Do people remember that? No one even cares about that model anymore and. It was that was like peak internal to OpenAI agi hype. And on the other hand, you look at the non benchmarks and you look at the reality and you see the rest of the world, especially if you guys go outside and leave san francisco, a lot of the world is like really unchanged despite ai being so fucking cool. And i think ai is transformative. It's a rare point of view to actually think ai is cool and transformative and all. So. like underwhelming the world right now. and the tricky part is this is the same field and we are all seeing the same facts. so what gives? you know, why is ai jagged, so to speak? like why can it be so good at some things and so not good at other things? and what is the occam's razor explanation for that? i will be blasting through my slides fast. i'm sorry, maybe i could slow down for people taking pictures. but i'm noticing that. this is going to go fast, is all i'm saying. so i think that we as a field should have an occam's razor explanation for why are there some things that are just not just good, they're unbelievably good, superhuman, like millennium prize problems in math. but on the other hand, they're not just bad, they're so useless, they can't even be used to touch accounting. that sounds way easier than millennium prize problems in math, right? i could do the latter, i definitely could not do the former, and i was a mathlete. so what gives here? what is the reason for this? and i normally love this as an interactive thing, but i will instead just tell you my answer. sorry for the power dynamic.
我是 Diego Almeida,这场演讲叫《我他 Jev 的太爱你了》。 这是在致敬 Glass Animals,我们不只是怪而已。 刚才说过,我是 Diego Almeida。 大家叫我 Jev 哥,有时也叫我 Jevvy Pinkman。 我还共同创建了 ChatGPT、RLHF 和 InstructGPT,不过我想今天在座的各位至少大致知道我是谁。 我有一大堆跟 AIE 相关的内容想讲,不过我喜欢先聊聊 AI 领域里我最感兴趣的话题。 第一个话题是:他妈的到底发生了什么,自动化都去哪儿了? 如果你以前听我说过这些,抱歉,但这件事太重要了,必须反复向整个领域灌输,因为大家还是不明白。我得一直大声嚷嚷,直到每个人都真正理解他妈的到底发生了什么。 如果你是个 AI,你应该能很好地解释为什么 AI 能做这么多了不起的事,却在许多其他事情上依然毫无用处。 我和 ChatGPT 的关系有点特别。 我是少数几个参与创造了 ChatGPT 却又批评它的人之一。 说清楚,我并不讨厌 ChatGPT。 我喜欢使用智能体。 我喜欢使用编程智能体。 我喜欢聊天机器人。 只是它们的能力相当有限。 尤其是,我觉得有点悲哀的是,它们让这个领域陷入了承诺过高、兑现不足的两极分化。 在我看来,这对世界来说真的、真的非常糟糕。 我喜欢谈谈 AI 领域的两大派系,以及我们如何解决其中的认知失调;我认为,除非有很好的解释,否则每个人都应该感到这种矛盾。 第一派是,你们知道的,有效利他主义者那一派。 他们看着所有基准测试,说语言模型不仅在几乎每项测试中都超过了人类水平,而且两年前就已经做到了。 两年来,我们一直在宣布AGI三个月后就会到来。 对,甚至从O3那个时候就开始了。 还有人记得吗? 现在都没人关心那个模型了,而且…… 那大概是OpenAI内部对AGI的狂热达到顶峰的时候。 但另一方面,你看看基准测试之外的情况,看看现实和世界上的其他地方,尤其是当你们走出去、离开旧金山,就会发现尽管AI他妈的这么酷,世界上的很多地方其实并没有什么变化。 我认为AI具有变革性。 真正认为AI很酷、具有变革性,却又觉得它目前让世界不太满意,这是一种少见的观点。 所以…… 它现在让世界不太满意。 而棘手的地方在于,这都是同一个领域,我们看到的事实也都一样。 那到底是怎么回事? 你知道,为什么可以说AI的能力参差不齐? 为什么它在某些事情上能这么出色,在另一些事情上却这么差? 按照奥卡姆剃刀原则,对此最简洁的解释是什么? 我会很快地讲完这些幻灯片。 抱歉,也许我应该为拍照的朋友放慢一点。 不过我意识到…… 我的意思是,接下来会讲得很快。 所以我认为,我们这个领域应该用奥卡姆剃刀给出一个解释:为什么有些事情,AI做得不只是好,而是好得令人难以置信,超越了人类,比如数学中的千禧年大奖难题。 但另一方面,有些事情它们做得不只是差,而是差到毫无用处,甚至都不能拿来碰会计工作。 听起来会计工作比数学中的千禧年大奖难题容易多了,对吧? 后者我能做,前者我肯定做不了,尽管我以前还是数学竞赛选手。 那这到底是怎么回事? 原因是什么? 我通常很喜欢把这个问题拿来互动讨论,但这次我就直接告诉你们我的答案。 抱歉,这就是权力不对等啊。
everything on the left side is intrinsically a human in the loop task. like deep research, i could not do better than deep research. the models are so fucking good at that. but if gun to my head, or gun to your head, you had to pick between me and deep research, and the answer had to be correct, not well written, you'd probably pick me every time. And that's the distinction between like optimizing for automation, which tends to be a lot easier and a lot simpler, yet machine AI keeps failing at this. Every year there's like an infamous failure of AI failing to even automate drive-thrus. And that should be kind of shocking to people. And my claim is actually for these tasks, pleasing a human is nothing to do with doing the task. What you want to do is basically be an abstraction away. You want the decision to be made and then you want to get back into doing automation. And code is the language of automation, therefore you need to integrate with code. this is a lot, but i will summarize it again. i get the irony that, you know, i co-created rlhf, and i do believe rlhf is part of the problem. and rlhf in particular is why all ai today does require a human in the loop with an asterisk, unless the task is like very trivially verifiable and can run on its own, but still requires a human in the loop to verify it afterwards. it is because we literally put it in. that is what the hf is in rlhf. and my claim is that there's a better way. You know, my summary of the state is one hundred percent of LMs today are optimized for assistance. You might talk about RLVR, but the RLVR models are very bad to interact with if they've not been RLHF'd. The result is LMs become too good to be true at assistance. They are just so fucking good, like you should never pick me over ChatGPT for your ChatGPT queries. But for actually doing like, you know, run in the background cognitive work, you should not trust LMs at all because they have not been optimized for that, which is why they're so bad at the tasks of automation. And I would also guess that automation is a lot more valuable than assistance. because you can do way cooler, deeper. i'm going to get into this later, but i think there's going to be so much stuff that we can do. and we are just scratching the surface of that right now. and that's the tragic thing about ai, the state of ai for me.
左边所有这些事情,本质上都是需要人参与其中的任务。 比如深度研究,我做得不可能比深度研究更好。 这些模型他妈的太擅长这个了。 但如果枪指着我的头,或者指着你的头,你必须在我和深度研究之间选一个,而且答案必须正确,而不只是写得好,你大概每次都会选我。 这就是它和以自动化为优化目标之间的区别。自动化往往容易得多、简单得多,但人工智能却一直在这方面失败。 每年都有类似的臭名昭著的失败案例:AI连汽车穿梭餐厅点餐都没法实现自动化。 这应该会让人感到有点震惊。 我的观点是,对于这些任务,取悦人类和完成任务其实毫无关系。 你想做的,基本上是把决策抽象出来。 你希望决策一旦做出,就回到自动化流程中。 而代码是自动化的语言,因此你需要与代码集成。 信息量有点大,不过我会再总结一遍。 我知道这很讽刺,你知道,我是RLHF的共同创造者,而我确实认为RLHF是问题的一部分。 尤其是RLHF,正是如今所有AI都需要人类参与其中的原因,不过这话要打个星号:除非任务极其容易验证,能够自行运行,但事后仍需要人来验证。 这是因为我们确实把人类参与放进了流程里。 这就是RLHF里的HF所指的意思。 而我认为,有一种更好的方法。 你知道,我对现状的总结是:如今百分之百的语言模型都针对提供辅助进行了优化。 你可能会提到RLVR,但如果RLVR模型没有经过RLHF处理,和它们交互的体验就会很差。 结果就是,语言模型在提供辅助方面好得令人难以置信。 它们就是他妈的太厉害了,比如,你要查询ChatGPT时,绝不应该选我而不是ChatGPT。 但如果真要让它们做那种在后台运行的认知工作,你完全不该信任语言模型,因为它们并没有为此进行优化,这也是它们在自动化任务上表现如此糟糕的原因。 我还猜测,自动化的价值远高于辅助。 因为你可以做酷得多、深入得多的事情。 我稍后会讲到这一点,但我认为我们将能做的事情会多得不可胜数。 而我们现在才刚刚触及其中的皮毛。 这就是AI,或者说AI的现状,在我看来令人遗憾的地方。
let's talk about the jevolution. i can't tell if this is appropriate, but it's too late. oh god, don't take pictures of this one. cool. oh, i'm getting a thumbs up. yeah, excellent. so instead of doing rlhf, we just have to do something else. we need to think from first principles. how do we optimize for machine native ai? you guys hopefully know the interface of Jev, and that is what we are doing. more important than optimizing for its interface, we are rethinking how ai should be done, because this is what we did again for rlhf. for sutton's bitter lesson, i'm going to loosely paraphrase to make my point easier to say, is that scaling and compute matters more than algorithms. this is why people become like scaling pill gavronis. and i would argue that there's an even bitterer lesson than that, which is data always matters more than compute. we are learning that quite a bit in the field now, but it has been obvious since the beginning of time. i'll tell you when, this is the one you should be photographing. i would argue that the bitterest lesson is doing the right task. and doing the right task is like a weird thing to think about, especially for ml people, because they like algorithms. they want number goes down or up or whichever is good direction. they don't want to think about the real world. but this is always how you make gigantic gains in performance. this is how the big breakthroughs happen. 100% of the time, it comes from this. and this is true for classical rl games. this is why sutton had his bitter lesson. It which is data is derived by compute when you're doing rollouts. Like there's this why would you need off-policy data when playing chess or something like that? And doing the right task is defined by the rules. So actually when you're doing RL, you don't even need to think about the right task. For pre-training, we actually as a field had to do a lot of thinking about the right task. I don't know if people remember the BERT days with um masked language modeling, but it took a while and it was very unclear to figure out that next token prediction was super fucking cool, not because it was better at masked language modeling, you know, the objectives on their own aren't special. It's about what you can do with them afterwards. And it turns out next token prediction is incredible at generating strings. which is what these pre-trained models were so good at. so no level of masked language modeling, even if you had today's compute and algorithms, would make it as interesting as gpt-3 was, because it was just doing a different task. and data, you know, the internet is obviously a giant bottleneck. now we're like, you know, burning books or whatever in order to get more data. but data obviously matters a lot more than compute, and people keep like rediscovering this and figuring this out. It's extra true for making LLMs useful. Um, before RLHF even existed, the data for RLHF didn't exist. And you could, uh, like it was night and day. I'll just show you the next slide. This is the probably the relevant part. This is what, this was the work in the RLHF paper. And the high level was that even with the dumbest algorithms in the world, even with a GPT-2 sized model, you got something like GPT-9 level performance, like real GPT-9, not today's like fake GPT numbers. Like, uh, the numbers used to mean like a 100x scaling in effective compute for pre-training, and they've given up on that because it just can't scale anymore. And still, even with that, it would take something like GPT-7 to 9 to match GPT-2, the model from like 2018 or whatever it was, at the task of instruction following. that is kind of wild because you think big lms are so important for this, and they are, but that is not the most important thing compared to even the gigantic jump of doing the right task. and spoilers, this is what we did for Jev, right? like, we made this gigantic leap in the field that no one realized could be coming because we were optimizing for a task and very few people think about the right task. this is why jev has the jevnessiqua. that's a really smart pun, i think. a little bit of a pity laugh, but thank you.
我们来谈谈“jevolution”。 我不知道这是否合适,但已经太迟了。 哦,天哪,别给这张拍照。 好。 哦,有人给我竖了个大拇指。 对,非常好。 所以,我们不做RLHF,而是得做点别的。 我们需要从第一性原理出发思考。 我们如何为机器原生AI进行优化? 希望你们了解Jev的接口,这正是我们正在做的。 比起优化它的接口,更重要的是,我们正在重新思考AI应该怎么做,因为我们在RLHF上也是这么做的。 关于萨顿的“苦涩的教训”,为了更容易表达我的观点,我会大致转述一下:规模和算力比算法更重要。 这就是为什么人们会变成像Gavronis那样的规模扩展信徒。 而我认为,还有一个比这更苦涩的教训:数据永远比算力更重要。 我们现在正在这个领域越来越深刻地认识到这一点,但它从一开始就显而易见。 我告诉你们,这一页才是你们应该拍下来的。 我认为,最苦涩的教训是要做对的任务。 思考做对的任务是件有点奇怪的事,尤其对机器学习从业者来说,因为他们喜欢算法。 他们希望数字下降或上升,朝着好的方向变化就行。 他们不想思考现实世界。 但这才是取得巨大性能提升的根本途径。 重大突破就是这么发生的。 百分之百都是由此而来。 经典强化学习游戏也是如此。 这就是萨顿得出他那个“苦涩的教训”的原因。 也就是说,数据是在进行 rollout 时通过计算生成的。 比如说,下国际象棋之类的时候,为什么需要离策略数据呢? 而正确的任务是由规则定义的。 所以实际上,做强化学习时,你甚至不需要考虑什么是正确的任务。 对于预训练,我们整个领域实际上都不得不花很多心思思考什么才是正确的任务。 我不知道还有没有人记得 BERT 时代的掩码语言建模,但我们花了很长时间才弄明白下一词元预测他妈的有多酷,而且当时这一点非常不明显。这并不是因为它在掩码语言建模上表现更好,单看这些目标函数本身,它们并没有什么特别之处。 关键在于你之后能用它们做什么。 结果证明,下一词元预测在生成字符串方面表现惊人。 这正是这些预训练模型极其擅长的事情。 所以无论掩码语言建模做到什么程度,即便有今天的算力和算法,也不会像 GPT-3 那样有意思,因为它做的根本是另一项任务。 至于数据,你知道,互联网显然是一个巨大的瓶颈。 现在我们为了获取更多数据,都快把书烧了之类的。 但数据显然比算力重要得多,而人们一直在不断地重新发现并认识到这一点。 要让大语言模型变得有用,这一点就更加重要了。 嗯,在 RLHF 出现之前,用于 RLHF 的数据也不存在。 而且你可以,呃,差别简直是天壤之别。 我直接给你们看下一张幻灯片。 这大概是相关的部分。 这就是 RLHF 论文中的工作。 大体上说,即使用世界上最笨的算法,即使用 GPT-2 大小的模型,你也能得到接近 GPT-9 水平的表现——是真正的 GPT-9,不是如今这种虚假的 GPT 编号。 就是说,呃,这些数字以前意味着预训练有效算力扩大了大约100倍,但他们已经放弃了这一点,因为实在没法继续扩大了。 即便如此,在遵循指令这项任务上,恐怕还是要到GPT-7到GPT-9左右,才能追上GPT-2,也就是大概2018年还是什么时候的那个模型。 这还挺不可思议的,因为你会觉得大型语言模型对此非常重要,确实如此,但跟选对任务带来的巨大飞跃相比,这甚至不是最重要的。 先剧透一下,这正是我们为Jev所做的,对吧? 我们在这个领域实现了一次巨大的飞跃,没人意识到这可能发生,因为我们针对一项任务进行优化,而很少有人会去思考什么才是正确的任务。 这就是为什么Jev有那种jevnessiqua。 我觉得这是个很聪明的双关。 这笑声有点像是在捧场,不过还是谢谢。
you get what you optimize for. i'm looking for a better word than reliable, so if you guys have suggestions, let me know. but there's this reliability of intelligence that's really missing in llms. i often call it, you get... einstein 95% of the time, but mr. bean 5% of the time. and if you can't tell which is which, how the fuck are you going to automate anything? and instead of focusing on sometimes occasional smarts that you can then verify, what if you focused on extreme, extreme, narrow, focused reliability so you can get that smarts every time? and this doesn't show up on benchmarks. it is the reason why people love jev. and this is also, i realize in hindsight, we obviously didn't. prepare for a ChatGPT moment for developers, but it happened because people in the ai space just over promise, under deliver so fucking much that having a model that actually doesn't do that was a surprise. and it is not the speed cost or even interface. this is something that, you know, my team tells me i shouldn't be telling people so that we can have a long term advantage and i just care too much. like it's reliable intelligence, make sick models, please, even if we, you know, if it doesn't involve our models.
你优化什么,就会得到什么。 我想找一个比“可靠”更好的词,如果你们有什么建议,就告诉我。 但大语言模型确实缺少一种智能上的可靠性。 我经常说,你得到的是……95%的时候是爱因斯坦,但5%的时候是憨豆 先生。 如果你分不清哪个是哪个,那他妈怎么实现任何自动化? 与其关注偶尔出现、事后可以验证的聪明表现,不如专注于极其、极其狭窄而集中的可靠性,这样每次都能得到那种聪明的表现,怎么样? 而这一点不会在基准测试中体现出来。 这就是人们喜欢Jev的原因。 而且现在回头看,我意识到,我们显然并没有 为开发者迎来一个ChatGPT式时刻做好准备,但它还是发生了,因为AI领域的人他妈太喜欢夸大承诺、交付不足,以至于一个真正不这样做的模型反而让人感到意外。 而且关键不是速度、成本,甚至也不是界面。 这件事你们知道,我的团队跟我说不该告诉别人,这样我们才能保持长期优势,但我实在太在意了。 我是说,这可是可靠的智能,尽管去做超棒的模型吧,拜托了,即使,你知道,即使用的不是我们的模型。
we see that jev is like a foundation for smart software. i'm going to skip all over this, but i think software is going to be so fucking back. i think the narrative of sas apocalypse is obviously not going to happen, but i think that even calling it a sasapalooza is like an understatement, and i'll get into that a bit. and you guys ideally are the perfect crowd for this. i'm so excited for this part because that's the part that's new to me. i want to make a distinction between smart software and just-in-time software. the crazy part is ai is so transformative, and yet somehow, despite ai being so awesome, software has essentially unchanged in the last decade, except being cheaper to write. isn't that weird? isn't it weird that the best we can do in software is having a chatbot to the side that sometimes interacts with the software but cannot take expensive decisions for you? that is kind of like a weird thing if ai was really that transformative. and i think the problem is we're focusing too much on coding agents and not enough about putting the intelligence into the inner loop, which i'm going to get more into a bit. and people are jeffing. there's been tons of successes. we don't need to flex this. there's so many cool things. but my aie secret is going to be that the field isn't jeffing hard enough. and this is what swick said that i can make a call to action for you guys that's unique. and hopefully i have enough time for this. i think the world still has llm stockholm syndrome. we are still thinking from a really llm-pilled place, which is, i think, tragic. i love the software saying the tools you use change the way you think. and i think that it's changed the way we think way too much. and we're not really rethinking software like i think the field needs. i think we could just be doing so much more. hopefully, i can try to do my best for my remaining time to convince you guys of that.
我们认为 jev 就是智能软件的基础。 这些我就统统跳过了,但我认为软件要他妈强势回归了。 我认为 SaaS 末日论显然不会成真,但我觉得就算把它叫作 SaaS 狂欢盛典都还不够,我待会儿会稍微讲讲。 而你们正是听这些内容的理想受众。 我对这一部分特别兴奋,因为这是对我来说全新的部分。 我想区分一下智能软件和即时生成的软件。 不可思议的是,AI 带来了如此巨大的变革,然而尽管 AI 这么厉害,软件在过去十年里基本没什么变化,只是编写成本更低了。 这不奇怪吗? 我们在软件方面能做到的最好成果,就是在旁边放一个聊天机器人,它有时能与软件交互,却无法替你做需要大量计算的决策,这难道不奇怪吗? 如果 AI 真的有那么强的变革力,这就有点奇怪了。 我认为问题在于,我们过于关注编码智能体,却没有足够关注把智能放进内循环里,我待会儿会进一步展开。 而人们正在 jeffing。 已经有很多成功案例了。 我们不需要在这方面炫耀。 有那么多很酷的东西。 但我在 AIE 要分享的秘密是:整个领域 jeffing 的力度还不够。 Swick 说过,我可以借此向大家发出一个独特的行动号召。 希望我有足够的时间讲这个。 我觉得整个世界仍然患有大语言模型斯德哥尔摩综合征。 我们的思维仍然深受大语言模型的影响,我觉得这很可悲。 我很喜欢软件领域的一句话:你使用的工具会改变你的思维方式。 我觉得它对我们思维方式的改变已经过头了。 而我们并没有真正重新思考软件,尽管我认为这个领域需要我们这么做。 我觉得我们其实可以做的事情多得多。 希望在剩下的时间里,我能尽力让大家相信这一点。
So let's jive to the future. I, an analogy I love, uh, bear with me, is about LEDs. Before there was the blue LED, there was red and green LEDs. These were really limited in capability, and they were used for like simple indicators and, you know, like clocks and stuff like that. And when the blue LED was made, discovered, I actually don't really know how things outside of computer science work. Um, but when it existed, I guess, um, it enabled not just like 50% more use cases, which is what you'd expect about like changing colors from two to three, it enabled so many more. Like now LEDs could be used for white light. It could be used for like the displays that we all use right now, and it created a revolution in lighting. and it's unfathomable how much bigger the capabilities of leds were, just adding a new primitive that composes together with old primitives. you can see where i'm going here, maybe. and i think it's a similar story for software. software is so fucking incredible. ignore ai for the last half decade. but software has done so many insanely cool things. we've done a lot of stuff. you know, like, do i... love using sas, not really, but does it solve problems? absolutely. and it's incredible how much we've done with three fundamental logic gates. you know, like we are doing this with like simple binary operations that can do things like greater than, less than, equal. it's kind of nuts how much software has been built from such simple primitives. and my claim is that what we are doing with ai now, when we're making our intelligence machine native, This is kind of conceptually adding a fourth semantic logic gate. What if we can program with common sense, with intention, with human understanding? Like, do we still need regexes with like crazy things? Or can we just say like we want a Gmail email address or a real looking one? There's so much that we can do that we are going to need to push the front, you know, push the frontiers of cheap, smart, fast in order to get it done. But I think that there's going to be like so many things here. And I think just like the blue LED, it's going to be way bigger than just increasing the representational ability of software by 33% because it's adding effectively another kind of sort of logic gate. And this sci fi is the stuff that I think will be impossible to predict, just like who could predict. How powerful the internet would have been because it requires it's like much more grassroots and decentralized and it requires people to be empowered to do insane stuff. I call this software research. That's not a joke, but I think that there's going to be like an explosion of what software can do and we will want people to be exploring those boundaries of software, not necessarily because it's valuable, but because they can, because we have like new frontiers to explore and this is what the early internet was like. should all of those websites existed? probably not, but it was very cool, and we found a lot of awesome stuff from that, and i think we have another opportunity for that, so we should not just keep living in this little fish tank that we are the victims of OpenAI and anthropic on whatever they ship, and we just have to be like LLM wrappers. so i'm going to pitch software research as a direction here.
那么,让我们一起迈向未来。 我很喜欢的一个类比,呃,请耐心听我说,是关于LED的。 在蓝色LED出现之前,已经有红色和绿色LED了。 它们的功能非常有限,只能用作简单的指示灯,还有时钟之类的东西。 然后蓝色LED被制造出来,或者说被发现了,我其实不太清楚计算机科学以外的东西是怎么回事。 嗯,但当它出现之后,我想,嗯,它带来的使用场景不只是增加了50%——从两种颜色变成三种,你可能会这么预期——而是增加了多得多。 比如,LED现在可以用来发出白光。 它还可以用于我们现在都在使用的显示屏,并且引发了一场照明革命。 仅仅是加入了一个能与旧有基础元素组合的新基础元素,LED的能力就得到了难以想象的巨大提升。 你们可能已经看出我想说什么了。 我认为软件的发展也是类似的故事。 软件真他妈的不可思议。 先把过去五年的人工智能放在一边。 但软件已经创造了无数酷得不可思议的东西。 我们已经做了很多事情。 你知道,比如说,我喜欢用 SAS 吗?不太喜欢,但它能解决问题吗? 绝对能。 而且,仅凭三种基本逻辑门,我们就做成了这么多事情,真是不可思议。 你知道,我们靠的是简单的二进制运算,能做大于、小于、等于这样的判断。 这么多软件都是用如此简单的基本构件搭建出来的,简直有点疯狂。 而我认为,我们现在用 AI 所做的事情,也就是让智能成为机器的原生能力,在概念上相当于增加了第四种语义逻辑门。 如果我们能用常识、意图和人类的理解力来编程,会怎么样? 比如,我们还需要那些复杂得离谱的正则表达式吗? 还是说,我们只要说我们想要一个 Gmail 邮箱地址,或者一个看起来像真的地址就行? 我们能做的事情太多了,而为了做到这些,我们需要不断拓展低成本、智能和速度的边界。 但我认为,这里面会有非常多的可能性。 而且我觉得,就像蓝色 LED 一样,它的意义远不止把软件的表达能力提高 33%,因为它实际上增加了另一类逻辑门。 而这些科幻般的可能性,我认为将无法预测,就像谁能预测到 互联网会有多强大?因为它更加草根和去中心化,需要让人们有能力去做那些疯狂的事情。 我把这称为软件研究。 这不是开玩笑,我认为软件的能力将迎来爆发式增长,我们希望人们去探索软件能力的边界,不一定是因为有价值,而是因为他们能做到,因为我们有新的领域可以探索,而早期互联网就是这样的。 那些网站都应该存在吗? 可能不应该,但那非常酷,我们也从中发现了很多很棒的东西。我认为我们又有了这样的机会,所以我们不应该继续困在这个小鱼缸里,任由 OpenAI 和 Anthropic 发布什么就受什么摆布,只能做大语言模型的包装层。 所以,我想在这里提议把软件研究作为一个方向。
the theme is going to be real software engineering, not just vibe coding. it's going to be the kind of stuff that everyone has known if you've been a software engineer. decomposition, breaking tasks down. we need to think about stages, ideally ones that can be verified so we have real encapsulation. and we need to actually do state management instead of assuming everything is global state within a kv cache. and the theme is just going to be like real fucking engineering by people who care a lot about the end result. it doesn't have to be valuable. ideally, it's sick as fuck. and we should be pushing the limits. i'm going to go into a couple of my favorite ideas, and i want to figure out how to encourage these in the world. so this is my first step at this. i'm just going to talk about it. we have raised a bunch of money, so i would like to figure out how to fund this, but we don't have the operations help to do that. but here are just some ideas out there. i think agents are... They're very cool, but like they're des- they're so inflexible in their design because of the tyranny of the KV cache. I don't have the time for this if this timer is to be believed, but believe me that there's so much that people have tried to do but failed at because it ends up becoming inefficient because it fights against the KV cache. But I think there's a lot more to do. Why is memory O of N, right? Like why can't we have all of our history of coding agents always included in every new call? That is how continual learning works, right? And we have the memory available, it's just that we don't have the smarts to map reduce over the memory to find out like what you should what you should remember or what you shouldn't. Um, I think there's many ways to do log N or even better lookups. Why, when you're making many agents at once, why can't they not share state? Why do they need to rediscover the same patterns of the code base over and over and over again? And why can't non-naive routing in sub-agents work? Like even naive routing doesn't work. But like, why can't we do these things and why does like the, you know, the big labs keep going back and forth on whether or not sub-agents work? Um, I think that like from an engineering perspective, there's elegance to it, but they fight against the KV cache. And I think that if we design agents around that, we could do so much more.
主题将是真正的软件工程,而不只是凭感觉写代码。 这些东西只要做过软件工程师,大家都很熟悉。 比如分解,把任务拆开。 我们需要考虑各个阶段,最好是可以验证的阶段,这样才能实现真正的封装。 我们需要真正做好状态管理,而不是假设一切都是 KV 缓存里的全局状态。 主题就是由那些非常在乎最终成果的人来搞真正他妈的工程。 它不一定非得有价值。 最好是酷到爆。 我们应该不断突破极限。 我会介绍几个我最喜欢的想法,我想弄清楚怎样才能在现实中推动这些想法。 所以这是我迈出的第一步。 我先谈谈这些想法。 我们筹到了不少钱,所以我想弄清楚怎么为这些项目提供资金,但我们没有运营方面的人手来做这件事。 不过,这里先提出一些想法。 我觉得智能体……它们很酷,但由于 KV 缓存的限制,它们的设计非常缺乏灵活性。 如果这个计时器没错的话,我没时间细讲,但相信我,人们尝试过很多事情却失败了,因为这些做法与 KV 缓存相冲突,最终效率变得很低。 但我认为还有很多事情可以做。 为什么内存复杂度是 O(N),对吧? 为什么我们不能在每次新调用中都包含编程智能体的全部历史记录呢? 持续学习就是这么运作的,对吧? 我们有可用的记忆,只是还不够聪明,无法对记忆进行 MapReduce,从而找出哪些该记住、哪些不该记住。 嗯,我认为有很多方法可以实现 log N 甚至更高效的查找。 为什么同时创建多个智能体时,它们不能共享状态? 为什么它们需要一遍又一遍地重新发现代码库中相同的模式? 为什么子智能体中不能使用非朴素的路由方式? 就连朴素路由都行不通。 但是,为什么我们做不到这些?为什么那些大型实验室对于子智能体是否有效这个问题一直摇摆不定? 嗯,我认为从工程角度看,这种方式很优雅,但它与 KV 缓存相冲突。 我认为如果我们围绕这一点设计智能体,就能做到更多。
this one's probably the most vague of my directions, but i feel very strongly about it. the world is full of principal-agent problems. this is when you have, like, you know, ulterior motives between, this is not a coding agent, but like any agent. the classic example is citizens versus elected officials. and i don't want to make a too political claim here, but like, there's misalignment in all levels of society. and this results in, like, waste, fraud, bad things, and... it results in, for a society that wants fairness, you need to overemphasize the letter over the spirit, which then results in loopholes and pay-to-win dynamics in the world. and i think the root of that problem is we can't encode the spirit. just like with software, we're constrained to encoding bits instead of what we actually meant in that situation. and i think so many organizations, society could be transformed by really encoding the spirit all over the place. obviously, real-time intelligence security. can we prevent the OpenAI hugging face sandbox, blah, blah, blah? why couldn't they prevent it? it is not because they didn't have the intelligence. i would argue it's a lot easier to figure out they're doing a naughty thing than to actually do the naughty thing. it is because it was not fast, cheap, and reliable enough to actually run real-time. and what happens when every corporation has their own real-time security that's actually smart? how cool would that fucking be? i can't talk about generative uis because people are going to be talking about it afterwards. i don't want to steal their thunder, but it's cool as shit, trust me. like semantic dependent typing, why can't we have like a type system that actually is semantic, right? like why can't we like declare what local properties we want so we don't have to read a chain of dependencies deep down? these all should be possible. and imagine if you could like run a jev-like model in your lint checker to check if it's all type safe and it could uphold semantic properties. it would be so fucking cool. there was a great twitter video on like a voice interface. in general, i think new interfaces are so exciting. this is to me the return of like this is going to show by agent software, like do what i mean. This used to be like a popular thing, but it never really worked because you it was it was too many hard-coded rules to really figure out what I mean.
这可能是我提出的方向里最模糊的一个,但我对此有很强烈的信念。 世界上到处都是委托—代理问题。 就是各方之间存在一些隐秘动机;这里说的不是编程智能体,而是任何代理人。 经典例子就是公民与民选官员之间的关系。 我不想在这里发表过于政治化的言论,但社会各个层面都存在目标不一致的情况。 这会导致浪费、欺诈等不好的事情……而且对于一个追求公平的社会来说,这会让人们不得不过度强调条文而非精神,进而在世界上造成漏洞和花钱就能赢的局面。 我认为问题的根源在于,我们无法将精神编码。 就像软件一样,我们只能编码比特,而不能编码我们在特定情境下真正想表达的意思。 我认为,如果能在各个地方真正地将精神编码,就能改变众多组织和整个社会。 显然,还有实时智能安全。 我们能防止 OpenAI 的 Hugging Face 沙箱事件,诸如此类的事吗? 他们为什么没能防止这件事? 并不是因为他们不够聪明。 我认为,发现他们在干坏事,要比真的去干坏事容易得多。 原因是它的速度、成本和可靠性都还不足以让它真正实时运行。 如果每家公司都有自己的、真正智能的实时安全系统,会怎么样? 那他妈得多酷啊? 我不能讲生成式用户界面,因为后面还会有人讲这个。 我不想抢他们的风头,但相信我,这玩意儿酷毙了。 比如语义依赖类型,为什么我们不能有一个真正具有语义的类型系统呢? 为什么我们不能直接声明想要的局部属性,这样就不用一路往下读依赖链了呢? 这些都应该是可能实现的。 想象一下,如果你能在代码检查器里运行一个类似 JEV 的模型,检查是否完全类型安全,还能保证语义属性。 那他妈的得多酷啊。 推特上有个很棒的视频,讲的是一种语音界面。 总的来说,我觉得新型交互界面非常令人兴奋。 对我来说,这意味着类似“按我的意思做”这种概念的回归,而智能体软件会展现这一点。 这曾经很流行,但从来没有真正奏效,因为要弄清楚我的意思,需要太多硬编码的规则。
Um, the stopping slop, uh, obviously a big theme of here, but like we definitely believe this. This is my props. I have to ma- we have a stop Gen AI baseball bat for TypeSafe. It is very, very awesome. I want to talk about the root of slop. Um, the the root of slop is that AI is unreliable. Therefore, you as a company or you as, you know, like someone who's doing stuff, it can't be used for decisions that cost you stuff. but it's actually totally fine to push the costs into other people, which is horrible, you know, externalized costs. and then this is what ends up becoming slop. you know, if people actually read the stuff and filter it and like care about the quality, it becomes not slop. but now the world is full of this because there's an asymmetric advantage for people who are like bad actors and don't give a shit. so i think that we can save the world from at least inbound hell among many other things. and that would be very cool. and even something i think is super sick is cursed software. like, why? if you guys have ever seen the subreddit, bad ui battles, it is so fucking cool, even though they make horrible interfaces like this whole game of like, would you like to delete your account becomes, you know, a random thing. and i actually think doing things because we can is what software engineering is about. because who knows, maybe 1% of these ideas actually lead to something super awesome. And I think like really cultivating even bad ideas is kind of what being like this, you know, playful hacker is all about. And generally just automating everything. This is what the follow-up, this is this is a slop image, but uh sorry logo's a little bit wrong, but don't stare at that, that's a little weird. Um, this is what a lot of the follow-up talks are going to be about. Thank you. Um, and if you're a software engineer, you almost certainly think in the world of bits. If you know anything about software and you've interacted with software, you know that there are things software can do and software cannot do because that is just only obvious, right? Like there's some things that you know you need to do because that is not compatible with software. But what if those constraints were no longer true? Maybe not today, but maybe in like six months or a year, what couldn't we automate? And that's kind of where I want to leave this whole thing because I think there is very likely to be a future where it's not a question of whether or not we can automate something, it's going to be a question of like how much work is it. Which is how it is right now for the stuff that can be automated. And that would be cool as shit. So hell yeah, thank you. i'm super over time, but thank you to the early believers. you know, we had no idea so many people would resonate with this. we thought we were the insane ones, but it turns out like we were actually the majority of the world who realized ai could be so much more. thank you to like the people who are like really realistic about reliability. everyone knows i hate benchmarks and a lot of other people are really screaming out like benchmarks fucking suck. they're actually... they hurt the people who do not have time for anything other than benchmarks most. it's tragic. and for the people who are pushing the limits of software, like, fuck yes. and we want to be there with you helping you all do that. the dreamers and the people who don't want to be limited by everything that has happened so far, we want to really fight for you. and we want this to be as reliable as a fourth logic gate. and that is a very high bar. and we have like a lot of work to do. So thank you, thank you.
嗯,阻止低质内容显然是这里的一大主题,但我们确实相信这一点。 这就是我的道具。 我得……我们有一根为 TypeSafe 准备的“停止生成式 AI”棒球棒。 它真的非常、非常酷。 我想谈谈垃圾内容的根源。 呃,垃圾内容的根源在于 AI 不可靠。 因此,无论你是一家公司,还是一个在做事的人,你都不能用它来做那些会让自己付出代价的决定。 但把成本转嫁给别人却完全可行,这很可怕,你知道,就是成本外部化。 而这最终就变成了垃圾内容。 如果人们真的阅读这些东西、加以筛选,并且关心质量,它就不会是垃圾内容。 但现在世界上充斥着这些东西,因为那些恶意行事、毫不在乎的人拥有不对称的优势。 所以我认为,除了很多其他事情,我们至少可以让世界摆脱接收垃圾信息的地狱。 那会非常酷。 还有一件我觉得特别酷的事,就是诅咒软件。 比如说,为什么? 如果你们看过 Reddit 上的 Bad UI Battles 板块,就会知道它他妈的有多酷,尽管他们做的界面很糟糕,比如把“是否要删除你的账户”变成一个完全随机的游戏。 而且我真的认为,因为我们能做到就去做,这就是软件工程的真谛。 因为谁知道呢,也许这些想法里有 1% 最终能成就特别棒的东西。 我认为,认真培育想法,哪怕是坏主意,也是成为这种充满玩心的黑客的真谛。 总的来说,就是把一切都自动化。 这是后续……这是一张 AI 生成的垃圾图片,不过,呃,抱歉,标志有点不对,但别盯着看,那有点怪。 呃,后面很多演讲都会围绕这个展开。 谢谢。 嗯,如果你是软件工程师,你几乎肯定是用比特世界的方式思考的。 如果你懂一点软件,也接触过软件,你就知道有些事情软件能做,有些事情软件做不了,因为这显而易见,对吧? 比如有些事情你知道必须自己做,因为软件没法处理。 但如果这些限制不再存在呢? 也许不是今天,但也许六个月或一年后,还有什么是我们不能自动化的? 我想用这个问题来结束整场分享,因为我认为未来很可能不再是我们能不能把某件事自动化的问题,而是需要花多少功夫的问题。 对于现在能实现自动化的事情,情况就是这样。 那他妈的就太酷了。 所以,太棒了,谢谢大家。 我严重超时了,但还是要感谢最初相信我们的人。 你知道,我们没想到会有这么多人对此产生共鸣。 我们以为自己才是疯子,结果发现,意识到AI能做得更多的人,其实占了世界上大多数。 也感谢那些对可靠性持务实态度的人。 大家都知道我讨厌基准测试,也有很多人一直在大声疾呼:基准测试他妈的烂透了。 它们其实……伤害最深的是那些除了看基准测试,根本没时间做其他评估的人。 这很悲哀。 还有那些不断突破软件极限的人,真的,太他妈棒了。 我们希望和你们并肩作战,帮助大家做到这一点。 对于那些梦想家,以及不想被过去的一切所束缚的人,我们真的想为你们而奋斗。 我们希望它能像第四个逻辑门一样可靠。 而这是一个非常高的标准。 我们还有很多工作要做。 所以,谢谢大家,谢谢。
Diogo Almeida 从 AI 基准成绩亮眼、现实自动化却进展有限的反差出发,认为当前模型主要针对人类辅助而非可靠自主执行进行优化,RLHF 也强化了这一倾向。他提出,选择正确的训练任务和追求窄范围内的持续可靠性,比单纯扩大算力更重要,并以 Jev 为机器原生 AI 的尝试。他进一步把可靠智能比作软件的“第四种语义逻辑门”,探讨任务分解、智能体记忆、共享状态、语义类型和实时安全等工程方向,呼吁开发者探索超越聊天界面的软件可能性。
Almeida 认为,AI 一方面在部分基准和复杂任务上表现惊人,另一方面却难以可靠处理会计等看似简单的实际工作。尽管他喜欢聊天机器人和编码智能体,也相信 AI 具有变革性,但现实世界的变化仍不如宣传所暗示的那样广泛;这种能力参差不齐的现象需要合理解释。
深度研究等任务可以由人检查和利用结果,而自动化需要后台决策持续正确并与代码集成。Almeida 认为,RLHF 将人类反馈引入优化目标,使模型擅长帮助和取悦人,却没有针对自主认知工作进行充分优化;即使任务容易验证,往往仍需要事后人工检查。
Almeida 将 Jev 定位为机器原生 AI 的尝试,并主张训练任务的选择比算力和算法更关键。他以预训练为例,对比掩码语言建模与更适合生成字符串的下一词元预测;又以 RLHF 为例,认为针对指令遵循收集数据和优化任务,可带来比单纯扩大预训练规模更大的收益。他称 Jev 也采用了重新选择优化任务的思路。
Almeida 用“95% 的时间是爱因斯坦,5% 的时间是憨豆先生”比喻模型表现:如果无法区分何时出错,就难以安全自动化。他主张优先追求窄而集中的任务上持续可靠,而非偶尔展现高能力、再依靠人工验证;他认为这种可靠性不一定能从基准测试中体现。
Almeida 区分智能软件与临时生成的软件:AI 虽然降低了写代码的成本,软件本身却仍常以侧边聊天机器人为主要智能入口。他认为业界过度关注编码智能体,应该把可靠智能放进软件的运行内环,让应用本身能够作出有用的决策。
蓝色 LED 与已有红、绿 LED 组合后,不只是增加一种颜色,还促成了白光照明和显示等用途。Almeida 以此类比机器原生智能:它可能像概念上的第四种语义逻辑门,让软件处理常识、意图和人的理解,例如用语义判断替代部分复杂正则表达式。他呼吁像早期互联网开发者一样探索新能力,而不是只做现有大模型的包装。
可靠的智能软件需要把任务拆成可验证的阶段,并显式管理状态,而不是把所有状态都放在 KV 缓存中。Almeida 认为 KV 缓存限制了智能体设计,提出探索更高效的记忆检索、跨智能体共享状态和子智能体路由,避免每个智能体反复发现代码库中的相同模式。
Almeida 认为,仅能编码规则字面内容而难以表达其精神,会加剧组织中的漏洞和委托代理问题。他设想足够快速、廉价且可靠的智能可用于实时安全检查;语义类型系统和类似 lint 的工具则可能检查开发者声明的局部语义属性,减少沿依赖链人工追查的负担。这些仍是他提出的探索方向。
Almeida 认为,不可靠 AI 难以承担有代价的决策,却能大量生成把筛选成本转嫁给他人的低质内容;人工阅读和质量过滤有助于减少这种内容。他也鼓励开发者以玩耍心态尝试奇特甚至糟糕的软件创意,探索过去无法自动化的任务,同时承认达到像逻辑门一样可靠的标准仍有大量工作要做。
05:12 擅长人类辅助不等于能够可靠地自主完成后台工作。
06:39 Almeida 认为,选择正确的训练任务比单纯增加算力更重要。
09:43 无法识别偶发错误的高能力模型,难以成为可靠自动化的基础。
11:26 智能软件需要将可靠智能融入运行内环,而不只是用 AI 生成代码。
15:36 可验证的任务分解和显式状态管理是智能体工程的重要方向。
22:44 达到如逻辑门般可靠的智能仍是一个有待实现的高标准。