00:00 从潜在扩散到 Black Forest Labs
Andreas Blattmann 与同事在德国海德堡开展扩散研究,潜在扩散算法经扩展后促成 Stable Diffusion。Dustin Podell 原本是软件开发者,受 Stable Diffusion 发布及开源社区启发,辞职进入 Stability AI,从工程岗位出发,通过拆解模型、阅读论文和利用闲置计算资源实验逐步转向研究。BFL 团队同时汇集了学术研究者和开源社区开发者。
Latent Space · 98:23
Happy to bring to you our episode with black forest labs. Our guest today, Andreas Blattmann. He also goes by andy who is co-inventor of latent diffusion. The technique that eventually got skilled up by stable diffusion and stability ai and they eventually split with a bunch of the chorus stability ai image gen folks to form black forest labs and dustin podell who i also met with ange at one of the stories that we tell and who worked his way up from just being a regular engineer, a freelance like web developer person. Into a model and research lead at stability ai. And now black forest labs creator of sdxl control, laura post-training lead on sd3 flux, ultra flux 1 and FLUX Kontext. And we go into all of these details. As you may know, sometimes we're very honored to have an extended history with some of our guests and this is one of them. You might have heard in our Anjney Midha episode. where we talked about introducing each other at one of the neuripses and meeting black forest labs for the first time. and this is right after stable diffusion. but what you may not have heard, and we only tell this story in this episode, is how latent space itself was started because of stable diffusion, directly crediting the launch for me, basically quitting my job to go all in on ai. based on what we saw. and today's guest, dustin, also had that experience, and so did vibhu. and so we have a very, very strong tie with the team that basically led up to black forest labs. and now we're also interested in what's next for them. like they have created some of the best open and closed weights models for image generation and video generation. i think especially FLUX Kontext, if you're not aware of image editing models, i do think that this is, in the limit, one of the things to fully replace canva and photoshop and a bunch of other workflows and editors that you might use in a normal creative workflow. it is not going to replace the top end of the market, but for regular, normal, everyday edits, why would you not want anything else other than to query your model and ask it to do image editing for you? we do this, obviously, with this kind of video editing. it's all clanker done, and i do review it, and they're also moving into robotics. and so this ties in with a mini-series of model labs that have been pursuing this direction, building world models from image gen, like with runway, as well as video models and now robotics models. and so i think a lot of things rhyme in a lot of our recent episodes, like even the artificial analysis episode that we're going to release soon. they're also going to robotics. and it seems pretty obvious that when you see a whole bunch of smart people who are at the frontier, all leaning one direction, that you're probably six to 12 months out from some kind of really big breakthrough. this has been a consistent theme over my last four years of podcasting. it's not going to change now. so look out for it. that's the most obvious call out i can make. but there's also a lot of interesting lore for people interested in the general diffusion space. we're going to do a little bit more over time. i'm thinking about. in AIE LA where we talk about the generative media field and the creative arts and how uh that complicated relationship is evolving um and I think maturing to be honest. And finally for those long-time listeners uh we are starting to open up to advertisers people that we really admire and respect and want to showcase what they're working on. Um the first one was with Superbase which I think a lot of you enjoyed. And the second one today is brought to you by Deepgram and you'll hear more from us at the midpoint of the episode.
很高兴为大家带来我们与 Black Forest Labs 的这期节目。 今天的嘉宾是 Andreas Blattmann。 他也叫 Andy,是潜在扩散技术的共同发明者。 这项技术后来被 Stable Diffusion 和 Stability AI 扩大了规模,之后他们和 Stability AI 的一批核心图像生成团队成员分道扬镳,成立了 Black Forest Labs。还有 Dustin Podell,我也曾在我们讲述的一个故事中和 Ange 一起见过他。他从一名普通工程师、一名自由职业的网页开发人员,一步步成长起来。 成为 Stability AI 的模型和研究负责人。 如今他在 Black Forest Labs 工作,是 SDXL Control 和 LoRA 的创建者,也是 SD3、Flux、Ultra Flux 1 和 FLUX Kontext 的后训练负责人。 我们会详细聊到所有这些内容。 正如大家可能知道的,有时候我们非常荣幸能与一些嘉宾有长期的交集,而这就是其中一期。 你可能在我们那期 Anjney Midha 节目中听说过。 我们聊到了在某次 NeurIPS 上相互介绍,以及第一次见到 Black Forest Labs 团队。 那是在 Stable Diffusion 发布之后不久。 但你可能没听过的是——这个故事我们只在本期节目中讲述——Latent Space 本身是如何因 Stable Diffusion 而创立的。基本上正是它的发布,直接促使我辞职,全身心投入 AI。 这一切都是基于我们当时所看到的。 今天的嘉宾 Dustin 也有过同样的经历,Vibhu 也是。 所以,我们与后来组建 Black Forest Labs 的团队有着非常、非常深厚的渊源。 而现在,我们也很想知道他们接下来会做什么。 他们创造了一些最优秀的图像生成和视频生成开放权重及封闭权重模型。 我觉得尤其是 FLUX Kontext,如果你不了解图像编辑模型,我确实认为,这类工具最终有可能彻底取代 Canva、Photoshop,以及你在日常创意工作流程中可能使用的许多其他工具和编辑器。 它不会取代市场最顶端的工具,但对于普通的日常编辑,你为什么还会想用别的方式,而不是直接向模型提出请求,让它帮你编辑图像呢? 显然,我们在这类视频剪辑中就是这么做的。 这都是 Clanker 做的,我也确实会审查,而且他们也在进军机器人领域。 这也与我们关于一系列沿着这个方向探索的模型实验室的迷你系列相关:它们从图像生成构建世界模型,比如 Runway,也包括视频模型,如今还有机器人模型。 所以我觉得我们最近很多期节目都有不少相通之处,比如我们即将发布的 Artificial Analysis 那一期。 他们也在进军机器人领域。 而且很明显,当你看到一大群处于前沿的聪明人都朝着同一个方向努力时,距离某种真正重大的突破大概也就六到十二个月了。 在我过去四年做播客的过程中,这一直是一个反复出现的主题。 现在也不会改变。 所以请留意这一点。 这是我能提出的最明显的判断。 不过,对于对整个扩散模型领域感兴趣的人来说,还有很多有趣的业内故事。 随着时间推移,我们会在这方面多做一些内容。 我在考虑。 在 AIE LA,我们会讨论生成式媒体领域和创意艺术,以及这种复杂的关系正在如何演变。嗯,老实说,我觉得它正在趋于成熟。 最后,对于长期收听的听众,呃,我们开始向广告商开放合作,他们都是我们非常钦佩和尊重的人,我们也想展示他们正在做的事情。 嗯,第一家是 Superbase,我想你们很多人都很喜欢。 今天的第二家赞助商是 Deepgram,在节目中段我们会详细介绍。
You should be showing a robot an action one time and then it should be able to do this. And this would be truly a superhuman intelligence.
你只需要给机器人演示一次动作,它就应该能够做到。 而这将是真正的超人智能。
like that's the ability that we couldn't essentially leverage the value of what the models could be as well. So mistakes of not being able to actually capture the value of.
比如说,正是因为缺少这种能力,我们也无法充分发挥这些模型本可能具有的价值。 所以,错误就在于没能真正获取这些价值。
the models themselves. We raised all in all 450 million dollars in funding so far. Oh my god. Currently the last that was published in uh December was 100 million in revenue. BFL was not founded to be an image generation lab. Video modeling is actually the central means to understanding how our world basically works.
模型本身。 到目前为止,我们总共筹集了4.5亿美元的资金。 天哪。 目前,去年12月公布的最新营收是1亿美元。 BFL成立时并不是为了成为一家图像生成实验室。 视频建模其实是理解我们这个世界基本运作方式的核心手段。
This is maybe like six hours of training, four hours of training. It was it was a very very short training run. And all of a sudden like I saw what felt like a clear generality coming out of it because it was...
这大概只训练了六个小时,或者四个小时。 那次训练时间非常非常短。 然后突然间,我感觉它展现出了一种明显的通用性,因为它……
Okay, finally our BFL pod. Welcome guys, Andreas and Dustin.
好了,我们终于录上BFL这期播客了。 欢迎你们,Andreas和Dustin。
Great to be here.
很高兴来到这里。
Thanks so much. Yeah, definitely thank you for having us. I know we've chatted about doing this for a long time.
非常感谢。 是的,非常感谢你邀请我们。 我知道我们聊了很久,说要一起录这期节目。
Yes. So we've had Ange on a couple times and that's where I met you at Vienna. I think one of the ICMLs or...
是的。 我们请Ange来过几次,我也是在维也纳认识你的。 我记得是在某届ICML上,或者……
Was this like one of the like was it was the like drift top event or what was it?
那是在那个……是Drift Top活动吗,还是别的什么活动?
There was a year where there were two Viennas back to back.
有一年,维也纳连续举办了两场活动。
Yeah, yeah, yeah, yeah.
对,对,对,对。
That was first ICML and then it was ICML. I don't know how they do this thing.
那先是ICML,然后又是ICML。 我不知道他们怎么搞的。
Anyway, anyway, uh, and at the time you guys had were like just about to launch BFL, like we had a dinner and like you were like, oh, I'm thinking about what's next after stability and uh all that. So anyway, congrats. How do you like guys like to introduce yourself? Maybe we'll sort of get a crisp uh self intro up front.
总之,总之,呃,那时候你们好像正准备推出BFL。我们一起吃过晚饭,你当时还说,哦,我正在考虑离开Stability之后下一步做什么,诸如此类的。 总之,恭喜你们。 你们想怎么介绍自己? 也许我们可以先做个简洁的自我介绍。
So I'm Andy, I'm a co-founder of Black Forest Labs. Been developing diffusion models for. Oh wow, I think seven years now. Uh, met Robin and Patrick way, way back in the day. I think it's, yeah, seven years now since we met at Heidelberg. Uh, I'm from Germany originally. And there we started looking into, yeah, just diffusion modeling for images. Uh, we were all having a kind of a physics background, um, in some sense. And this, this paradigm of just like mapping this general physical phenomena of diffusion. to machine learning and generative modeling had a a kind of a philosophical kind of beauty to us. That's why we got into this. And then yeah, developed a lot of the I guess fundamental algorithms that are powering diffusion models today or image generation, video generation, and also action prediction today.
我是Andy,是Black Forest Labs的联合创始人。 我开发扩散模型已经…… 哦,哇,我想现在有七年了。 呃,我很早很早以前就认识了Robin和Patrick。 我想,是的,距离我们在海德堡相识已经七年了。 呃,我原本来自德国。 在那里,我们开始研究,嗯,就是用于图像的扩散建模。 呃,在某种程度上,我们都有物理学背景。 而这种范式,就是把扩散这一普遍的物理现象 应用到机器学习和生成式建模中,对我们来说有一种哲学上的美感。 这就是我们投身这一领域的原因。 然后,是的,我们开发了许多基础算法,如今它们支撑着扩散模型、图像生成、视频生成,以及动作预测。
I guess we'll talk about this later. We'll talk about it. Yeah, that was of a kind related to it's not immediately obvious to people image generation to action prediction. Yeah. But we can talk about that. Uh and then one thing I did want to comment is a lot of people don't know the relationship. Black Forest is a forest in Germany?
我想我们稍后会谈到这些。 我们会聊到这个的。 对,那和一个人们不太容易马上看出来的联系有关:从图像生成到动作预测。 对。 不过我们可以聊聊这个。 呃,还有一件我想说的事是,很多人不知道这其中的关联。 黑森林是德国的一片森林?
It's a mountain range actually. Ah. But um yeah it's a it's a region in Germany basically. And you named it after that. And funnily Robin and me we we first met during our PhD and then we figured out oh we we actually born I don't know 10 miles away from each other. Um and that was that was pretty fun and then eventually that led us also uh to come back to Germany. Beautiful. All of Europe looks like this.
其实它是一片山脉。 啊。 不过,嗯,对,基本上它是德国的一个地区。 你们就是以它命名的。 有趣的是,我和罗宾是在读博士期间认识的,后来我们发现,哦,我们的出生地其实只相隔大约10英里。 嗯,那挺有意思的,后来这也促使我们回到了德国。 真美。 整个欧洲看起来都这样。
You can see the lab right in the middle there.
你可以看到实验室就在正中间。
yeah. yeah. so you named it because you're from here.
对。 对。 所以你们这样命名,是因为你们来自这里。
exactly. we named it because actually we found this research lab. and back in the day, we could basically pick where we wanted to do it. no one said, okay, you have to come to, say, sf or whatever place. so we decided, okay, we want to be actually starting this at the place where we were born in freiburg, which is like at the foot of the black forest, basically, or a city in the black forest. And that's how it came and that's how uh then the company also started there.
没错。 我们这样命名是因为,实际上,我们创办了这家研究实验室。 以前我们基本上可以自己选择想在哪里做这件事。 没有人说,好,你们必须来旧金山或者别的什么地方。 所以我们决定,好,我们想在出生的地方弗赖堡真正开始做这件事。那里基本上就在黑森林脚下,或者说是一座位于黑森林里的城市。 事情就是这样发生的,然后公司也在那里成立了。
Yeah. Comvis also Heidelberg?
对。 Comvis 也是在海德堡吗?
Comvis was in Heidelberg exactly that's where we met we then later moved on to Munich that was all Which is the team that did latent diffusion? Through our PhD exactly and and that is when we developed this latent diffusion algorithm. Yeah. I really like your uh name by the way your podcast name Latent Space I I I I would actually be curious how that came together.
Comvis 当时在海德堡,没错,我们就是在那里认识的,后来又搬到了慕尼黑,那些都是——是开发潜在扩散的团队吗? 对,在我们读博士期间,我们就是那时开发了潜在扩散算法。 对。 顺便说一句,我真的很喜欢你们播客的名字,Latent Space。我其实很好奇这个名字是怎么来的。
I can talk I can talk about it but yeah go ahead.
我可以讲,我可以讲,不过你先说。
Um and exactly we developed then this latent diffusion algorithm at the university. and then based on this research project, we scale out the algorithm, which led to stable diffusion then effectively. and yeah, since then it's been a constant journey on a rocket ship, you could say, which is super, super fun to have. and we've met amazing people like dustin as well. yeah. who's one of the kind of oldest and like most, i think. relevant researchers that we have. but yeah, we'll learn more about that.
嗯,没错,我们当时在大学里开发了这个潜在扩散算法。 然后基于这个研究项目,我们将算法扩大了规模,最终催生了 Stable Diffusion。 对,从那以后,可以说我们一直像坐着火箭前进一样,这段经历非常、非常有趣。 我们也遇到了像达斯汀这样了不起的人。 对。 他算是我们这里资历最老、我认为也是最 重要的研究人员之一。 不过,我们之后会进一步了解这些。
we'll gas him up later. i think latent diffusion and just generally like vaes as well, and then for us, latent space, is this general idea. even our logo is actually a vae. and it's this idea that you can translate things into spaces and then explore things that are adjacent to what exists today. and then you can sort of retranslate back. and i thought that that was like such a cool insight for creativity and. Generation that i never really understood until i studied stable diffusion. Like the launch of stable diffusion changed my life. I started in space because of stable diffusion. I quit my job because the stable diffusion. Oh, because i was like, okay, everything i know about ai is wrong because i can run this on my laptop and like, if i was wrong about this, what else am i wrong about? So there's that. And then there's another relationship with terry pratchett, which i don't know if people have writer, right? Writer, he has this concept of l space, which is library space. Uh, where he has uh the orangutan that's like the librarian in Unseen University which is Wizard University. Uh, and it basically is a library with all possible books. So, if you have a library with all possible books, you can just theoretically go in there and find a book that is right for you. Uh, and that is Latent Space. Uh, so I originally saw it called L-Space. Uh, one of my readers donated Latent Space and then it became Latent Space. Amazing. Dustin, like, uh, yeah, what was your journey into diffusion and AI in general?
我们待会儿再好好夸夸他。 我觉得潜在扩散,以及更广义上的变分自编码器,也是如此。对我们来说,潜在空间就是这样一个概念。 甚至我们的标志其实也是一个变分自编码器。 这个概念就是,你可以把事物转换到某个空间里,然后探索与现有事物相邻的东西。 然后你可以再把它们转换回来。 我觉得这对创造力和……来说,是一个特别酷的洞见。 生成。在研究 Stable Diffusion 之前,我其实从未真正理解这一点。 Stable Diffusion 的发布改变了我的人生。 我是因为 Stable Diffusion 才开始进入这个领域的。 我也是因为 Stable Diffusion 辞掉工作的。 哦,因为我当时想,好吧,我对人工智能的所有认知都是错的,因为我居然能在笔记本电脑上运行这个。如果这件事我都错了,那我还有什么是错的? 所以是这样。 然后它还和特里·普拉切特有另一层联系,不知道大家是不是……作家,对吧? 作家。他提出了一个叫 L-Space 的概念,也就是图书馆空间。 呃,在他的作品里,有一只猩猩是无形大学的图书管理员,而无形大学是一所巫师大学。 呃,它基本上是一座藏有所有可能的书的图书馆。 所以,如果你有一座藏有所有可能的书的图书馆,理论上你就可以进去,找到一本适合你的书。 呃,这就是潜在空间。 呃,所以我最初想把它叫作 L-Space。 呃,我的一位读者把 Latent Space 这个名字捐给了我,后来它就叫 Latent Space 了。 太棒了。 Dustin,呃,你是怎么开始接触扩散模型以及人工智能的?
Yeah, yeah, so I, I came from a little bit of a different background than, than Andy and Robin and team. So I'm, I'm not from the German side, but I've still had a fantastic time working with these guys. And uh honestly it's funny you mentioned that you quit your job when Stable Diffusion came out because uh the original Stable Diffusion I was not working with these guys at and it was actually a cause for me to quit my job at the time so I um...
对,对,我的背景和Andy、Robin他们团队有点不一样。 我不是来自德国那边,但和他们一起工作还是非常愉快。 说实话,你提到Stable Diffusion发布时你辞了职,这还挺有意思的,因为最初的Stable Diffusion发布时,我还没有和他们一起工作,而它实际上也是我当时辞职的一个原因,所以我,呃……
You caused mass unemployment.
你造成了大规模失业。
I'm actually curious like the numbers of people that just like changed their life direction when Stable Diffusion dropped. I would actually be very curious to know kind of the branching effects from that but I don't know we can we can theorize on it.
我还真挺好奇,有多少人在Stable Diffusion发布后就改变了自己的人生方向。 我确实很想知道这件事引发了哪些连锁反应,不过我也不知道,我们可以猜测一下。
That's actually super interesting because here... In SF, in the Bay, it had this huge impact. Whereas in Germany, where we stayed back in the day, that day, people didn't really notice it because like, the people were so, so far away from tech. Like there are a couple of people obviously that are, that have been involved in the open source community also in Germany, but the majority of people didn't really notice uh that drop in summer 2022, which was really interesting. And then you see what happens here, like yeah, that that was to us that was really kind of super interesting. Yeah.
这确实特别有意思,因为在这里……在旧金山,在湾区,它产生了巨大的影响。 而当时我们所在的德国,人们其实没怎么注意到,因为大家离科技领域太遥远了。 当然,德国也有一些人参与了开源社区,但大多数人并没有真正注意到2022年夏天的那次发布,这一点很有意思。 然后你再看看这里发生了什么,对我们来说,这真的特别有意思。 对。
but anyways, so i guess to give a little background on me. so at bfl, i'm one of the founding researchers that joined in with the, we had a bit of a larger team that i'm sure we'll get into the history of kind of how that all came to be. but my background is not actually traditionally in, you know, the ml space whatsoever. i was traditionally a software researcher or a software developer for around 10 years or so. early in 20, you know, around the 2020s, i became very, very interested in just like open source ai. i saw like the. kind of the early work in gans and other, you know, in generative media. and i was tracking with it. i was experimenting with it a little on the side. it got me quite excited. i mean, and i remember following originally the latent diffusion work. i was actually, i was following that and quite excited about it. and then the one, you know, one of the things that kind of tipped me off to go, okay, maybe this is something a little bit, you know, a little bit more serious is actually a shout out to a. Midjourney V1. Wow. Um, back when that came out and I I remember thinking like, okay, this this is actually going in in a direction I I can see this being quite impactful. And then the one big moment, the big drop that really changed everything for me, as we talked about, was the Stable Diffusion release. And at the time I was working at a software studio down in Los Angeles. Stable Diffusion came out and basically that day I turned in my resignation and said.
总之,我想先简单介绍一下我的背景。 在BFL,我是加入的创始研究员之一,我们当时有一个规模稍大的团队,我相信我们之后会聊到这一切是怎么形成的。 但我的背景其实完全不是传统的机器学习领域。 我原本是软件研究员或者说软件开发人员,做了大约十年。 大概在2020年代初,我开始对开源人工智能非常非常感兴趣。 我看到了那些…… GAN以及其他生成媒体领域的一些早期工作。 我一直在关注这些进展。 我当时在业余时间稍微试了试。 这让我非常兴奋。 我是说,我记得自己最初一直在关注潜在扩散模型的研究。 实际上,我一直在关注它,也对此非常兴奋。 然后,你知道,有一件事让我意识到,或许这不只是小打小闹,值得认真对待。这里要特别提一下—— Midjourney V1。 哇。 嗯,当它刚推出的时候,我记得自己想,好,这真的在朝着一个方向发展,我能看出它会产生相当大的影响。 然后,真正改变了我一切的那个重大时刻,那次重大发布,就像我们聊过的,是 Stable Diffusion 的发布。 当时我在洛杉矶的一家软件工作室工作。 Stable Diffusion 发布后,基本上就在那天,我递交了辞呈,说:
okay. What was the what was the plan? Like what did...
好的。 当时的计划是什么? 就是说,你……
The the plan, so so the way the way that I saw it, the way that I like envisioned it at the time... i saw this thing that felt like, it literally felt like a magical thing that came out. and i viewed, okay, the people that are working on this must be like arcane wizards. and i need to do whatever i can to understand like what magic or what ruins or what things that they did to imbue in this to make this happen and let this go out to the world and have this impact. It wasn't like i was just totally disconnected at the time. I was in the stable diffusion discord. I actually had friends in there. I was kind of interacting with the community.
计划嘛,我当时的看法,我当时的设想是……我看到这个东西,真的觉得它就像某种魔法一样出现了。 我觉得,好吧,研究这个的人一定像是掌握神秘法术的巫师。 而我必须尽一切努力去弄明白,他们用了什么魔法、什么符文,或是做了些什么,才赋予它这样的能力,让它得以诞生、走向世界并产生这样的影响。 当时我也不是完全与这一切脱节。 我在 Stable Diffusion 的 Discord 社区里。 其实我在里面还有朋友。 我当时算是有在跟社区互动。
So when i was it viewed as basically open source mid-journey or like do people.
所以当时它基本上被视为开源版的Midjourney,还是说人们……
not make there was i mean i was in both. I remember there were a lot of kind of discussions around this like oh stable diffusion was it's having such a you know there was a lot of discussion and i remember the mid-journey discord and the stable diffusion discord around that time. around the the impacts it was having. I mean it's it's been a long time so I can't remember the exact nature of it. I don't want to speak on uh you know.
没有……我是说,我两个社区都在。 我记得当时有很多关于这个的讨论,比如说,哦,Stable Diffusion当时有着很大的……你知道,当时有很多讨论,我记得那时候的Midjourney Discord和Stable Diffusion Discord里都有。 讨论它所产生的影响。 我是说,已经过去很久了,所以我不记得具体是怎么回事了。 我不想妄谈,呃,你知道的。
Midjourney's doing fine.
Midjourney发展得挺好。
They're doing great. Um but for me it was more just like I was very interested in the fundamental technology and then the fact that I could now run this at home and then really the thing I saw was then just this community of developers actually like taking it home, developing on it. I was hacking away at it. I was meeting a bunch of other really really smart great people, some of which are actually at BFL now that have. have come along for the journey. That moment of just community interaction and and learning and developing and building together was really an impactful moment for me. Luckily, luckily enough for me, I was able to find a kind of a job opportunity to get myself into Stability at the time where uh, you know, this this was starting. And it it I didn't actually start working with these guys right away. It took me a while to kind of to kind of work my way up to that and and we can go into that history later if we want.
他们做得很棒。 嗯,但对我来说,更多的是我对底层技术非常感兴趣,而且我现在可以在家里运行它了。真正吸引我的是,我看到了一个开发者社区,大家把它拿回家,在此基础上进行开发。 我当时一直在埋头钻研它。 我认识了很多非常非常聪明、很棒的人,其中有些人现在就在BFL,他们…… 一路走到了今天。 那段在社区里交流、学习、开发和共同创造的时光,真的对我影响很大。 幸运的是,我找到了一份工作机会,得以加入Stability,当时这一切才刚刚开始。 而且我其实并不是一开始就跟这些人一起工作。 我花了一段时间才逐步走到那一步,如果愿意的话,我们之后可以聊聊这段经历。
Because Stability had a bunch of different uh teams, right? There was a Stable LM, Stable Music.
因为Stability有很多不同的团队,对吧? 有Stable LM、Stable Music。
there was HarmonAI, the audio team. It was it was like. i don't know. the way i would kind of describe it is like if you grabbed a bunch of discord was kind of the space that a lot of this happened at the time. i don't know.
还有音频团队HarmonAI。 那是,那就像是…… 我不知道。 我大概会这样描述:就像你把一堆……Discord算是当时很多事情发生的地方。 我不知道。
i don't know why the whole hand. it's like if a discord had a physical manifestation.
我不知道为什么要用整只手。 就像Discord有了一个实体形态。
it was a melting pot of very different people that came together, but just like interested in this emerging new technology that came, obviously. and that's also how we are like, this is one of the most exciting things about our team. yeah. our founding team is. it comes from very different backgrounds. like we have this hardcore academia research branch, and then we have people who were from the open source community, like dustin, who actually got a very different kind of trajectory into this space. but i think this is what makes our team so strong. we have these diverse backgrounds. And there's yeah, that's really a team. I think that that has this history. Also this kind of joint history together. Yeah, this is just amazing that.
它是一个大熔炉,把截然不同的人聚集在一起,而大家显然都是对这项新兴技术感兴趣。 而我们也是这样,这也是我们团队最令人兴奋的一点。 是的。 我们的创始团队…… 成员来自截然不同的背景。 比如,我们有硬核的学术研究团队,也有来自开源社区的人,比如Dustin,他进入这个领域的路径其实很不一样。 但我认为,正是这一点让我们的团队如此强大。 我们有着多元的背景。 而且,是的,这才是真正的团队。 我认为这个团队有着这样的历史。 也有这样一段共同的历史。 是的,这真的很了不起。
Yeah, and we can go into more of your other co-founders first. Yeah, i did one. So i was also in that space, right? Like literally, you know, very influenced with stable diffusion. I did the wrong thing. I basically went down the path of comfy ui where i build you wise for stable diffusion. you seem to have done the right thing where you went to research.
是的,我们可以先多聊聊你的其他联合创始人。 是的,我做了一个。 所以我当时也在那个领域,对吧? 可以说,我深受 Stable Diffusion 的影响。 我走错了路。 我基本上走上了 ComfyUI 那条路,为 Stable Diffusion 构建用户界面。 而你似乎做对了,走上了研究的道路。
well, it's funny you mentioned comfy because i used to work directly with, i mean, comfy joined simo depardieu.
嗯,你提到 Comfy 挺有意思的,因为我以前直接和他共事过,我是说,Comfy 加入了 Simo Depardieu。
yeah.
对。
he moved here. yeah, yeah, he's like my neighbor.
他搬到这里来了。 对,对,他算是我的邻居。
how does a, he's a researcher. how do you become a researcher?
怎么成为……他是一名研究员。 你是怎么成为研究员的?
i'm someone that's like, when i get interested in something, i am obsessive to the point of i cannot put it down until i pull it apart and figure out every aspect of it. and so to me, i'd already been experimenting with pulling the models apart, talking to a lot of different people in that open source space. so not just like developers, but other researchers. i mean, remember, talk about another discord, the, you know, the luther discord back then. at that time, i met a lot of people who i was just learning from. and i was reading a lot of papers and just trying to uptake and understand for myself. joining stability was also another major point for me. originally, i didn't join as a researcher. i joined as an engineer. but all of my free time i spent with. essentially any researchers i was able to make friends with, you know, shout out to dr. scott hawley there who worked on the audio team who mentored me quite a lot there. and at some point i was able to sneak my way onto the cluster there and got myself access to, you know, some idle compute. and i really just like, i treated it like i treated how i learned most things, which is just open source hacking, trying things, reading papers, trying to implement. different pieces of work and just seeing how, i don't know, how models trained, how they learned. and i mean, that was really it. like there was no magic to it other than just i was excited. i just wanted to learn about it. i wanted to tear it apart until i understood how it works.
我是那种一旦对某样东西感兴趣,就会痴迷到不把它拆解开、弄清楚它的每个方面就无法放下的人。 所以对我来说,我当时已经在尝试拆解模型,也和开源领域的很多不同的人交流过。 不只是开发者,还有其他研究人员。 说到另一个 Discord,记得当时的 Luther Discord 吧。 那时候我认识了很多人,我一直在向他们学习。 我还读了很多论文,努力吸收知识,靠自己弄明白。 加入 Stability 也是我的另一个重要转折点。 最初,我加入时并不是研究员。 我是以工程师的身份加入的。 但我把所有空闲时间都花在和……相处上。 基本上是我能结识的任何研究人员。你知道,特别感谢斯科特·霍利博士。 他在那里的音频团队工作,给了我很多指导。 后来有一段时间,我设法偷偷进入了那里的集群,获得了一些闲置算力的使用权限。 我基本上就是用学习大多数东西的方式来对待它:捣鼓开源代码、尝试各种东西、阅读论文,试着实现 不同的研究成果,看看模型是怎么训练、怎么学习的。 说真的,基本就是这样。 没什么神奇的,只是我对此很兴奋。 我就是想了解它。 我想把它拆开研究,直到弄明白它是怎么运作的。
i mean.
我的意思是,
this is open source at its best. yeah. i think that that's generally how you learn best, just trying all things.
这就是开源最美妙的地方。 是的。 我觉得通常最好的学习方式就是这样,什么都去尝试一下。
and he was also luther?
他也是 Eleuther 的?
yeah, yeah. affiliated, but not on the image end side. but back then, everything was like very hackable, right? yeah. the delta between open models was like. pretty drastic between all those closed and good, right? so people on language model side were doing post-training. that's where like a lot of the news guys started. in this, you know, you can look at early stable diffusion.
对,对。 有联系,但不是图像生成那边的。 但那时候,什么东西都很容易上手折腾,对吧? 是的。 开放模型之间的差距就像…… 那些封闭的模型和好的模型之间差别相当大,对吧? 所以语言模型领域的人当时在做后训练。 很多新来的人就是从那里开始的。 在这方面,你可以看看早期的 Stable Diffusion。
this looks so bad. and then like.
效果看起来太差了。 然后呢,
where we get to today, it's pretty crazy. but you both had pretty, you know, impactful roles. like you did sdxl, you did latent diffusion. we'll get through all the history, but. For people that haven't super followed the space, where are we today?
发展到今天,简直不可思议。 不过你们两位都发挥了相当重要的作用。 比如你做了 SDXL,你做了潜在扩散。 我们会讲完整个发展历程,不过, 对于没有密切关注这个领域的人来说,现在发展到什么阶段了?
Like what's the what's the state of things? I know Flux 3 video is out, Flux 3 action, we're now like 7B doing robotics. What's the latest in the space with you guys?
就是说,现在的情况怎么样? 我知道 Flux 3 视频模型已经推出了,还有 Flux 3 Action,现在还有一个 7B 模型在做机器人技术。 你们在这个领域有什么最新进展?
We started as an image generation lab when we started Black Forest Labs, right? As a kind of legacy of Stable Diffusion and the likes. Um, and that has been I think our our thing for the first year, but then. we realized, okay, you actually, image generation is nice, but this technology can unlock so much more. and that's when we slowly went into what we call visual intelligence, which is basically trying to get our intuitive intelligence that we people have when we say, when we catch a ball and just understand physics without actually knowing. how to mathematically describe it or something, or when we grab a bottle and just know exactly how to do this because we've done it 100,000, maybe not 100,000 times, i don't know, but a lot of times in our childhood, right? we want to be transforming that knowledge and that form of intelligence, which is very different from language model intelligence, into models and learning based on pixels. which means not only images, but also videos, and maybe also audio, say not pixels, but natural signals is maybe a better term, that really unlocks this. and that is what we realized, and we realized, hey, we have the algorithm to actually do this, which is diffusion or flow matching. and that is when we just said, okay, we need to extend from image generation. To basically all the natural representations which led to flux 3 basically, which is one model that learns multimodal from images videos audios also actions. We can talk about how this comes together later to really get this to keep it with daniel kahneman. I don't know if you read thinking faster slow, it's a cut system. One intelligence is not system 2 intelligence and you can maybe say maybe one models now maybe maybe language is system 2. But we're focused for now on system one, which is extremely important for everything that is intuitive and that requires real world interaction. That's why on a high level, it's also so good for robotics. So that's been the journey and now we're really focusing on that. And in the end, obviously, it's about combining both of these systems into this broad, very, very broad way of intelligence that humans also have.
我们创办 Black Forest Labs 时,起初是一家图像生成实验室,对吧? 某种程度上继承了 Stable Diffusion 等项目的积累。 嗯,我想这就是我们第一年的主要方向,但后来, 我们意识到,图像生成固然不错,但这项技术其实能释放出更大的潜力。 于是我们逐渐进入了所谓的视觉智能领域,基本上就是试图让模型获得人类的直觉智能,比如我们接球时能理解物理规律,却并不真的知道 如何用数学来描述它,或者我们拿起一个瓶子时,知道该怎么做,因为我们在童年已经做过十万次,也许没那么多次,我不知道,但确实做过很多次,对吧? 我们希望把这种知识和智能形式——它与语言模型的智能截然不同——转化为基于像素的模型和学习。 这不仅包括图像,还包括视频,也许还包括音频。所以不叫像素,叫自然信号或许更恰当,这才是真正的突破口。 我们意识到了这一点,也意识到,嘿,我们有真正实现它的算法,也就是扩散或流匹配。 于是我们说,好,我们需要从图像生成拓展出去。 基本上拓展到所有自然表征,这也催生了Flux 3:一个从图像、视频、音频乃至动作中进行多模态学习的模型。 我们之后可以聊聊这些是如何结合起来的。说到这一点,我们可以借用丹尼尔·卡尼曼的理论。 不知道你有没有读过《思考,快与慢》,它提出了一套系统。 系统一的智能不是系统二的智能。你或许可以说,现在的语言模型,或者说语言,属于系统二。 但我们目前专注于系统一,它对于一切直觉性的事情和需要与真实世界互动的事情都极其重要。 这也是为什么从宏观上看,它对机器人技术非常有用。 这就是我们的发展历程,而现在我们正专注于此。 最终,显然是要将这两个系统结合起来,形成一种非常、非常广泛的智能,就像人类拥有的智能一样。
I want to go into sort of history and all these things, but just to also recap for the people at the front. You're already making a significant money as a generative media company, right? Um, I don't know what the the numbers are and maybe you can sort of recap there.
我想聊聊历史和这些事情,但也想先给前面的人简单回顾一下。 作为一家生成式媒体公司,你们已经赚了不少钱,对吧? 嗯,我不知道具体数字是多少,也许你可以简单介绍一下。
I think you raised like you raised.
我记得你们筹到了,你们筹到了……
ridiculous amount of money. Yeah.
多得惊人的资金。 是的。
Yeah, we raised I think uh all all in all 450 million uh dollars in funding so far. Um, yeah.
是的,我想我们到目前为止总共筹集了4.5亿美元的资金。 嗯,是的。
So that's way more than, you know, way more than stability. Uh, any revenue milestones that you've that you've announced?
所以这远远不只是稳定性,你知道,远远不止。 呃,你们有没有公布过什么营收里程碑?
currently the last that was published in december was 100 million revenue. we crossed that since.
目前最近一次公布是在十二月,营收为1亿美元。 之后我们已经超过了这个数字。
i can tell you that. clearly have crossed that. it's 450. yeah, exactly. so, you know, yeah. anyway, i'm just saying like you did not have to pivot.
这点我可以告诉你。 显然已经超过了。 是4.5亿。 对,没错。 所以,你知道,对。 总之,我只是说,你们本来不必转型。
and to be clear, we're not pivoting. we're just extending. like this model is really straight on everything. it's always been the plan. and obviously to create artworks, you also need this visual kind of intelligence to create a video that we see here. you need to know that how physics play out. i need to know that the model needs to understand, this is actually interesting, but the model needs to understand that the arm of this, say this capybara or whatever it is, is not just falling away, that it has to follow some law that is described by physics. it's just not describing the law itself, it's just describing the output. in a similar way that we humans don't understand physics, but we understand that. If I let a ball fall.
说清楚一点,我们并没有转型。 我们只是在拓展。 这个模式在各方面都很直接。 这一直就是计划的一部分。 显然,要创作艺术作品,你也需要这种视觉智能,才能制作出我们在这里看到的视频。 你需要知道物理规律是如何起作用的。 我需要知道,模型需要理解——这其实很有意思——模型需要理解,比方说这只水豚或者不管它是什么的胳膊,不会直接掉下来,而是必须遵循某种物理定律。 它只是不描述定律本身,而是描述结果。 类似于我们人类不理解物理学,但我们明白这一点。 如果我让一个球落下。
it just falls down, right? Yeah. Well, I think there's there's different concepts of a world model and obviously that's something that uh we can get into where can you learn, this is sort of the bitter lesson version where you just learn on a bunch of input sources, or you have to actually physically structure the 3D model and and kind of learn from that.
它就会掉下来,对吧? 对。 嗯,我觉得世界模型有不同的概念,显然这是我们可以深入探讨的:你能不能通过学习来获得它?这有点像“苦涩的教训”那个版本,就是从大量输入源中学习;还是说你必须实际构建一个3D模型,然后从中学习。
No, no 3D model at all. Just learning on based on natural data. We also we have a bit of triangulation because. like from our eyes, right? we have two eyes and that gives us a kind of slight understanding of 3d perception. but effectively to a very large extent, even if you would like close one eye, we could still kind of learn a lot about the world. that is what these models are basically learning. like you just learn from natural data, 2d video data that obviously has a lot of 3d understanding because if you want to generate a pan around an object, you need to be hallucinating how it looks from behind. and if i look at you, i have a pretty good understanding of how your back looks basically. yeah, because i've just seen it before, right? so this gives you an implicit 3d understanding, but it's really trained on kind of 2d videos.
不,完全不需要3D模型。 就是基于自然数据学习。 我们也有一点三角定位能力,因为…… 比如说通过我们的眼睛,对吧? 我们有两只眼睛,这让我们对三维感知有一点理解。 但实际上,在很大程度上,即使你闭上一只眼睛,我们仍然能对世界了解很多。 这些模型基本上就是在学习这个。 就是说,你只需要从自然数据、二维视频数据中学习,而这些数据显然包含大量对三维的理解,因为如果你想生成一段环绕物体拍摄的视频,就需要想象出它从背后看是什么样子。 而且如果我看着你,我基本上能相当清楚地知道你的背面是什么样子。 对,因为我以前见过,对吧? 所以这让你获得了一种隐含的三维理解,但它实际上是用二维视频训练出来的。
yeah, i'm trying to steelman the counter argument, the opposite argument, right? like this is like the gary marcus, like, oh, let's don't learn anything. or i forget who are the famous critics of this kind of stuff. but basically, it's like, it's like, i have never lived. i as a model, i only see on inputs. i've never, i don't have personal experience. you can model my back because you are also a human, and you can model other humans. but maybe this analogy isn't exactly correct because obviously i'm sympathetic to your side of the story. but i think that is how people criticize this approach to world modeling, which is that, yes, you can approximate closer and closer and closer, but you'll never quite get something core to the existence of the thing because you never modeled the thing. you modeled the most likely sort of...
对,我在试着把反方,也就是相反的观点,尽可能有力地表达出来,对吧? 比如,这就像加里·马库斯那种,“哦,我们什么也学不到”。 或者我忘了还有哪些著名的人在批评这类东西。 但基本上就是说,我从来没有真正生活过。 我作为一个模型,只能看到输入。 我从来没有……我没有亲身经历。 你可以对我的背部建模,因为你也是人,也能对其他人建模。 不过这个类比可能不完全准确,因为显然我认同你的观点。 但我觉得人们就是这样批评这种世界建模方法的:没错,你可以越来越接近,但你永远无法真正捕捉到事物存在的某种核心,因为你从未对事物本身建模。 你建模的是最有可能的那种……
constraints around the thing. yeah, i mean, i think to some degree you could argue that we operate under the same principle, right? like you can say like that we are, you know, okay, we have this embodiment and we're constantly like taking in data and like obviously we regularly update. but in some principle, like we're still just taking in these like filtered signals from the world. i mean, there's all sorts of wacky things with how our eyes process and we have to, you know, part of our brain kind of has to hallucinate some of the info because we have the blind spot in the center. and other aspects of this. but fundamentally, like, i don't think there's that much of a difference between, you know, how we, like, we're out here taking in this natural data and building this model of the world that we're able to act on versus, like, these models also learning from, obviously, the signals are different that they're, you know, okay, they're turned into pixels or, you know, into waveforms and processed through this other mean. but, like, the information is still there for the model to take in and build this, like, representation of the world that then... you can essentially operate with. Yeah.
围绕事物的约束条件。 对,我觉得从某种程度上说,我们也遵循同样的原理,对吧? 比如说,我们有这个身体,不断接收数据,显然我们也会定期更新。 但从某种意义上说,我们仍然只是在接收来自世界的这些经过过滤的信号。 我是说,我们的眼睛处理信息的方式有各种奇怪之处,而且你知道,我们的大脑有一部分必须靠幻觉补全一些信息,因为我们的中心有盲点。 还有其他类似的方面。 但从根本上说,我不觉得这两者有多大区别:我们在这个世界里接收自然数据,建立一个能指导我们行动的世界模型;而这些模型也在学习,虽然它们接收的信号显然不同,会被转换成像素或波形,再通过另一种方式处理。 但信息仍然在那里,模型可以接收它,并建立起这样一种对世界的表征,然后基本上就可以用它来行动。 对。
I was actually arguing this with Lukas Bayer. He's also, he's with Meta now, I think, formerly Google and OpenAI. He's in Zurich, which is pretty close to Freiburg, and he's coming over from time to time. We were debating this on human learning. Like he was. he was saying, okay, we actually don't need interaction, which would be kind of the, i think, what i would say is important for learning like higher forms of intelligence. it's like, first, it's observation. that's also how we humans learn. when we're babies, right, we just lie around first and we observe things. and from that alone, we learn so much. this is what you can actually exactly map to what, how we're currently training these models. they just observe a lot of. 2d videos, audio, and then they learn from it. and i think next step would also be getting closing the loop to actually interaction with the world because that's also how i think that that's very important in how we learn basically around the world. we can then tap and we see, oh, there's a correlation between i knock on wood and there's a sound that has shit, right? i can just like manipulate the world then and to understand it better. that's how i think. how humans are mainly learning, at least how I personally learned. And he was actually saying he thinks the majority is observation, which I found very interesting because that would, if that would be true, then we just need to do what we're currently doing more and that could basically unlock an insane amount of intelligence basically.
我其实和Lukas Bayer争论过这个问题。 他现在好像在Meta,之前在Google和OpenAI工作过。 他在苏黎世,离弗赖堡很近,他时不时会过来。 我们当时在讨论人类学习的问题。 他当时是…… 他说,其实我们不需要互动,而我认为互动对于习得更高形式的智能很重要。 他的意思是,首先是观察。 这也是我们人类学习的方式。 我们还是婴儿的时候,对吧,一开始只是躺着,观察周围的事物。 光靠这一点,我们就能学到很多。 这其实完全可以对应到我们目前训练这些模型的方式。 它们只是观察大量的 二维视频、音频,然后从中学习。 我觉得下一步还应该让它们真正与世界互动,形成闭环,因为我认为这也是我们认识周围世界的过程中非常重要的一环。 然后我们可以敲一敲,发现,哦,敲木头和发出声音之间存在关联,对吧? 然后我就可以通过操纵世界来更好地理解它。 我觉得这就是 人类主要的学习方式,至少我个人是这么学的。 而他实际上说,他认为大部分学习来自观察。我觉得这很有意思,因为如果这是真的,那我们只需要把目前正在做的事情做得更多,基本上就能解锁极其强大的智能。
I wonder how much of this is like emergence with good priors, right? We've seen adding new modalities to say language models, you don't get like the full benefit of, you know, doubling your performance since you've added vision to a language model. But if you have good priors, um, you know, is there light benefit? Is there big benefit? It's it's interesting to see. I think there's a lot of technical stuff that'll be interesting to walk through, like Gaussian splatting was a big thing. World Labs did a lot of 3D data. Where are the trade-offs between video generation output versus what else? But I think something fun for listeners of the podcast would be the history. You worked on, you know, very early Stable Diffusion, SDXL, Latent Diffusion even before that. Video Diffusion as well. Video Diffusion. Basically there's a lot of buzzwords here. Um, you know, LCM, LoRA, flow matching.
我很好奇,这在多大程度上是有了良好的先验知识之后产生的涌现,对吧? 我们看到,比如给语言模型添加新的模态,并不会得到全部预期收益;给语言模型加上视觉,性能并不会翻倍。 但如果有良好的先验知识,嗯,你知道,收益会比较小吗? 还是收益会很大? 这很值得探究。 我觉得有很多技术方面的东西值得细聊,比如高斯溅射就是一项重要技术。 World Labs 在三维数据方面做了很多工作。 在视频生成输出和其他方式之间,需要做哪些权衡? 不过我觉得,播客听众可能会觉得这段历史很有意思。 你参与过非常早期的 Stable Diffusion、SDXL,甚至更早之前的 Latent Diffusion。 还有 Video Diffusion。 Video Diffusion。 基本上这里有很多热门术语。 嗯,比如 LCM、LoRA、流匹配。
old prompting. Can you teach us everything? Yeah. I.
还有老式提示词。 你能把这些都教给我们吗? 可以。 我……
mean.
我的意思是……
what's interesting, like how big are these scaling laws?
有意思的是,比如这些缩放定律的规模有多大?
I seriously, so I've actually built like a tech tree. Like I wanted to build this game where it's like a. Civilization. But the tech tree is ai like key ai papers. So the spend research points and get it. And so like these are the textures, right? Like first, it's gans then, you know, dot dot like the end of fusion happened but you know, like there's a lot of core points beyond that. I'd play that game. Yeah. Okay. Anyway, just to pitch the game. It's like you role play as a neil lab and you have to spend like. Gpus or researchers and then you have to collect data and like there's all these like little things you can research.
说真的,我其实构建了一棵技术树。 我想做一个游戏,有点像…… 《文明》。 但技术树是 AI,也就是关键的 AI 论文。 然后花费研究点数来解锁它们。 所以这些就是技术树,对吧? 比如最开始是 GAN,然后,你知道,诸如此类,后来出现了扩散模型,但除此之外还有很多核心节点。 我会玩这个游戏。 是啊。 好。 总之,先介绍一下这款游戏。 就是你扮演一家AI实验室,然后得花资源去搞…… GPU或者研究人员,然后还得收集数据,还有各种各样的小东西可以研究。
Yeah i come on whip it up. Let's see.
是啊,来吧,赶紧做出来。 我想想。
I think game balance is really hard because i had a guy's plate. I have built it. Oh fantastic. But there's like game balance is really hard. It's actually like a agi hard problem. I feel like because you know, once you find a way to win, they just always win that and it's not. interesting as a game. You need multiple ways to win and like you need high risk ways to you probably lose but maybe you win.
我觉得游戏平衡真的很难,因为我让一个人玩过。 我已经做出来了。 哦,太棒了。 不过游戏平衡真的很难。 这其实是个和通用人工智能一样难的问题。 我觉得是这样,因为一旦玩家找到一种获胜的方法,他们就会一直用那种方法赢,这样作为游戏就不…… 有意思了。 你需要多种获胜方式,还需要一些高风险的方式,可能大概率会输,但也有可能赢。
Yeah, yeah. Yeah. Yeah. Multiple paths, classic problem in CS by the way.
对,对。 是啊。 是啊。 多条路径,顺便说一句,这是计算机科学里的经典问题。
So I think I think one thing that if you was interested in, I'm interested in teaching our audience like like what are the key points that like if you're uh if you've heard a lot of terms like what are the key things that have really impacted the fields and you know a lot of you have you've lived through a lot of this.
所以我想,如果你感兴趣的话,我想让我们的听众了解一些关键点:比如,如果你听过很多术语,究竟有哪些关键的东西真正影响了这个领域?而且你亲身经历了其中很多事情。
I'd also say this is a great way for people that want to get into the space, good interview questions if you're hiring as well like you should know most of these things. I think there's some points where there's like spicy, you know, different paths that's popped up. So auto regressive image gen versus diffusion. Two backbones or yeah, glass. So all these things, what are the key things people should know? You know, I'll leave it, I'll leave it pretty blank.
我还想说,这对想进入这个领域的人来说是个很好的途径;如果你在招聘,这些也是不错的面试问题,因为大多数内容你都应该了解。 我觉得有些地方挺有争议,也出现了不同的发展路线。 比如自回归图像生成和扩散模型。 两种骨干架构,或者说,是的,玻璃。 那么关于这些,人们应该了解哪些关键内容? 我就先不设太多限制了。
I mean, first would be SDXL maybe. Yeah, man. Talking about SDXL a bit.
我想第一个也许是 SDXL。 对,兄弟。 聊聊 SDXL。
It's gonna say what were the, what were the things we did in SDXL? The refiner. Oh, no, please.
本来想问,我们在 SDXL 里做了些什么? 精炼器。 哦,不,拜托。
not the refiner. Wait, why that reaction?
别提精炼器。 等等,为什么反应这么大?
so sdxl was a big piece of work in trying to make the models feel good to use for the first time, if i was to kind of like lay anything out. not to say like stable diffusion 1, 2 weren't, you know, i mean, they were very exciting. they were very fun to use. but to anyone that was like in the space at the time between the period of sd, you know, sd1 to sdxl, we saw a ton of work out in the open source community working on. how do we fine-tune these models? how do we make these models, you know, more aesthetic? how do we make these models into like, you know, multi, you know, if i remember, it's like the original stable diffusions were only able to do square images. and so sdxl was the first work of trying to actually release like a found, like the base foundation model, kind of with a lot of these general improvements implicit in the model. so sdxl involved, you know, the first time we did large scale multi aspect training, there was a. And you know, at the time, uh, this was before, uh, packing. There was like an efficient way we could do essentially bucket style training. So training, you know, on all sorts of different resolutions of, of images and, you know, at large scale. This was the first time we did multiple actual training stages. So taking it from pre-training, actually developing like post-training sets. So there was a lot of data work that was done in SDXL. I'm trying to think like all the other aspects. And then, uh, I'll, I'll give a kind of like a little bit of a backstory on the refiner and maybe, maybe some things that, uh, didn't quite make it in. So here, here was the whole process of the final release model. is essentially sdxl fundamentally works similar to the original stable diffusions. it was a latent diffusion model, took in text, it had, you know, you had a noisy latent, took the context of the text, actually generated the, you know, generated the imagery in latent space, and then a va decoded it. and then from there, the refiner was actually another full diffusion model that the whole point of it was to take essentially what was not a rough image, but sdxl wasn't the best at what we would call high frequency detail, which is this like the fine detail, like skin texture, texture of grass, texture of... yeah, upscaler. it wasn't an upscaler because it didn't actually change the resolution, but it, yeah, upscaled in terms of the, in terms of, it refined it. the reason i thought it was janky is because i worked, i, not just me, the whole team that worked on this was fantastic. i don't want to take all the credit at all because there were, there were a lot of fantastic people that worked on this. we did a lot of work to try to push the detail quality of the model while trying to keep this like generality. and we just didn't quite get there. and so then there was this like sidetrack of work of like, okay, what are other methods to do this? and this is where the refiner came into being with actually the refiner was actually a model that was it was what was supposed to. so this is a little bit of the secret lore is there was a version of stxl that was never released. it was a different architecture. it didn't quite work as well, but it was trained pretty far along, even to like the post-training stages. the refiner was that model. it is a full diffusion model. you completely forgot about that. yeah, yeah. it did. like the refiner was a full diffusion model. and the one thing about that model is it had a little bit of better performance on these high frequency details. it just had very poor structure. and so this whole idea came of like, what if we... essentially like different model, different job. different model, different job. we took it, we did a lot of work to really push the, you know, the work on how well it could actually refine this high frequency detail. and then we made this, this essentially this pipeline. yeah, which is the excel part. which then became, okay, this together is like a more performative model, you know, or a more performative system altogether. and then that was what we ended up releasing here.
如果要概括一下,SDXL 的一大工作就是首次尝试让模型真正好用起来。 不是说 Stable Diffusion 1 和 2 不好,你知道,我是说,它们当时也非常令人兴奋。 用起来也很有趣。 但对当时在这个领域的人来说,在 SD1 到 SDXL 的这段时间里,我们看到开源社区做了大量工作,研究…… 我们该如何微调这些模型? 我们该如何让这些模型生成的内容更美观? 我们怎么让这些模型变得,比如说,你知道,支持多种……如果我没记错的话,最初的 Stable Diffusion 只能生成正方形图像。 所以 SDXL 是我们首次尝试发布这样一个基础模型,将许多这类通用改进融入模型本身。 所以 SDXL 涉及了我们第一次进行大规模多宽高比训练,当时有一个…… 你知道,那时候,呃,还没有打包技术。 我们有一种高效的方法,基本上可以进行分桶式训练。 也就是用各种不同分辨率的图像进行大规模训练。 这是我们第一次真正采用多个训练阶段。 也就是从预训练开始,再实际开发后训练数据集。 所以 SDXL 做了大量数据方面的工作。 我在想还有哪些方面。 然后,呃,我会稍微讲讲精修模型的背景,还有一些可能最终没能加入的东西。 那么,这就是最终发布模型的整个流程。 基本上,SDXL 的工作原理与最初的 Stable Diffusion 类似。 它是一个潜在扩散模型,接收文本输入,同时有一个带噪声的潜在表示,利用文本的上下文,在潜在空间中生成图像,然后由 VAE 将其解码。 接下来,精修模型实际上是另一个完整的扩散模型,它的作用是处理已经生成的图像;那并不是一张粗糙的图像,但 SDXL 不太擅长生成我们所说的高频细节,也就是皮肤纹理、草的纹理之类的精细细节,还有……对,放大器。 它并不是放大器,因为它实际上没有改变分辨率,但从某种意义上说,它提升了图像——它把图像精修了。 我觉得它有点别扭的原因是,因为我参与了……不只是我,整个参与这项工作的团队都非常出色。 我完全不想独占功劳,因为有很多出色的人参与了这项工作。 我们做了大量工作,试图提高模型的细节质量,同时保持它的通用性。 但最终还是差了一点。 所以后来工作中就有了这么一个支线:好吧,还有什么别的方法能做到这件事? 而这就是细化器诞生的契机。其实细化器原本是一个模型,本来是要…… 这里有一点不为人知的内幕:曾经有一个从未发布的 STXL 版本。 它采用了不同的架构。 效果没有那么好,但训练已经进行到很后期,甚至到了后训练阶段。 细化器就是那个模型。 它是一个完整的扩散模型。 你完全忘了这件事。 对,对。 确实如此。 就是说,细化器是一个完整的扩散模型。 那个模型有一点是,它在这些高频细节上的表现稍微好一些。 只是它的结构表现非常差。 于是就有了这么个想法:如果我们……基本上就是不同的模型,做不同的工作。 不同的模型,做不同的工作。 我们拿来这个模型,做了大量工作,尽力提升它细化这些高频细节的能力。 然后我们做出了这个,基本上就是这么一条处理流水线。 对,也就是 Excel 的部分。 然后就变成了:好吧,把这些组合起来,就像是一个性能更好的模型,或者说整体上是一个性能更好的系统。 而这就是我们最终在这里发布的东西。
which is actually interesting. it was one of the early pioneering works of like actually. that looked into, okay, what kind of properties learned in which part of the trajectory of this diffusion kind of trajectory, right? because you have these structural things that are learned closer to the noise, if you come closer to the noise. and then you have the fine, high resolution, high frequency stuff that comes further down and is closer to kind of the clean image, basically. and like today, there's a bunch of different books that actually analyze this, but you do actually, you. you kind of, you generate from low frequency to high frequency if you go from like noise to clean image, right? along this trajectory. but that was not really known. like it was informally maybe a bit known by then. and this was, it was one of the first works to basically exploit this. yep. and say, okay, i actually, i dissect this kind of trajectory and i have two kind of experts, one for the structure and the next for the texture, basically. yeah. and right now we have modulation, which is like, condition on the time step to actually account for that as well and stuff like that in the architecture. but that was really the first, one of the first works to really make this distinction. and as you see, it worked.
这其实很有意思。 它是早期的开创性研究之一,实际上…… 它研究的是,好,在这种扩散轨迹的哪个部分会学到什么样的属性,对吧? 因为那些结构性的东西是在更接近噪声的地方学到的,也就是当你靠近噪声的时候。 然后那些精细的、高分辨率的、高频的东西会在后面的阶段出现,基本上更接近干净图像。 如今有很多不同的书都分析过这个问题,但你确实,你…… 如果你从噪声走向干净图像,生成过程大致是从低频到高频的,对吧? 沿着这条轨迹。 但当时这并不为人所知。 那时也许已经有了一些非正式的认识。 而这基本上是最早利用这一点的研究之一。 是的。 它说,好,我把这条轨迹拆开,用两个专家模型,一个负责结构,另一个负责纹理,基本上就是这样。 对。 现在我们有了调制机制,比如以时间步为条件,在架构中考虑到这一点,还有类似的方法。 但那确实是最早明确作出这种区分的研究之一。 而且你也看到了,它奏效了。
right? yeah, it did work quite well. i guess the reason i still hold frustration because at the time i wanted this one model to be so good at everything. and i felt.
对吧? 是的,效果确实相当不错。 我想我至今仍感到沮丧,是因为当时我希望这一个模型能在所有方面都做得很好。 然后我觉得。
is it a cop out?
这算是在走捷径吗?
yeah. yeah, maybe it was like a little bit of a cop out. now, nowadays, i take a bit of a different view because, i mean, we see systems and models. do incredible work together, but at the time I remember feeling and I still just have this like kind of old frustration, you know, just just just from back then.
是啊。 是啊,也许这多少有点像是在走捷径。 不过现在,我的看法有些不同了,因为,我们能看到系统和模型 一起完成了不可思议的工作。但我记得当时的感受,直到现在,我心里还是有那么一点由来已久的挫败感,你知道,就是从那时留下来的。
Well, which is also very fair. Yeah. Yeah, because you should always go with the simplest solution that works. And if if you then have a kind of a you need to understand like at.
嗯,这也完全可以理解。 是啊。 是啊,因为你总应该选择能奏效的最简单的解决方案。 而如果,如果你有一种……你需要弄清楚,
which point do I need a machine learning approach.
什么时候才需要用机器学习的方法。
Yeah, it's just like when it comes to scaling, whatever the simplest solution is that works, you should go with kind of a bit of Occam's razor uh as well in in statistics basically.
是的,尤其是在扩大规模时,不管最简单的可行方案是什么,你都应该选择它。基本上在统计学里也有点像奥卡姆剃刀原则。
Yeah. So you know Runway was also kind of doing their Gen 1 and Gen 2 and uh Anastasia is on on this pod also said admitted that Gen 2 was. Uh.
是的。 所以,你知道,Runway当时也在做他们的Gen 1和Gen 2,而Anastasia在这档播客里也说过,承认Gen 2是…… 呃。
pipeline like... No, that's okay. Yeah, yeah. No, like, like if it works, it works.
一条流水线,像是……不,没关系。 对,对。 不,我是说,只要管用就行。
They just didn't admit it, whereas yours was public so you had to admit it. Yeah.
他们只是不承认,而你们的是公开的,所以你们不得不承认。 是的。
I think if you go back to the time too, like people, I don't, people coming into the space today haven't seen 200, 500 steps of diffusion, right? Like as you say, like you have a background and then minutes later you have little fine details coming in. Uh, it was also very tinkerable, right? This came out as what, like a 3B works on 8 gigs of RAM. So as much as you could bit less and do the general approach... if you're not a lab and you're just doing this at home, you have like one or two gpus, you're going to do pipeline stuff, right? it's like, that's how you can see the differences right there.
我觉得如果回到当时,人们——我不知道,如今进入这个领域的人没见过扩散过程跑200步、500步的样子,对吧? 就像你说的,先出现一个背景,然后几分钟后才慢慢出现细节。 呃,它也非常方便动手折腾,对吧? 它发布的时候是什么情况来着,一个30亿参数的模型就能在8GB内存上运行。 所以即便你可以稍微少用一些算力,采用一般的方法……如果你不是实验室,只是在家里做这个,手头只有一两张GPU,你就得用流水线之类的方式,对吧? 就是这样,你在这里就能看出区别。
yeah, yeah.
对,对。
so video?
那视频呢?
i've been working on video for quite a, actually already before stable diffusion, i was working on video generation for nvidia. had a paper there, align your latents where we... basically mapped the, it was actually in parallel to stable diffusion. we basically mapped this latent diffusion algorithm to video, which was the natural next thing to do. it was very exciting to kind of then advance things forward. and you can imagine the kind of compression reasoning behind why stable diffusion was so efficient compared to other models in the time. also holds for video where you actually have this temporal dimension that you can also compress, right? so that made a ton of sense. worked on this for first one video. and then when we basically joined stability, we basically after, i think after sdxl, we worked on this stable video diffusion, which basically first applied this latent diffusion approach to video asset. but importantly, this work was a lot about investigating the effects of data filtering, which... as we felt, or as i personally felt back in the day, we're like in research, and they still are, very much underappreciated. like data is just like, when we think about what these models are doing, effectively, we're estimating a probability distribution, and the data set is what gives rise to this probability distribution, right? and if you have the perfect algorithm, the best algorithm in the world that just learns anything you want, but your data is very bad and you have like on average blurry videos or images and like not a lot of motion in the videos. your model will learn that no matter how good your algorithm is. so what comes out of the model will actually be very bad and like not nice. so the data is one of the most important levers that you have as one who wants to train these models. and in the entire research field, there was never much. talked about data because a lot of people from the research community, they just worked on benchmarks and like tweak the algorithms. but if you talk about frontier models, obviously, we know that by now that data is extremely important, right? and that is what we wanted to be really like sharing a bit, like sharing more context on. so we investigated how much data like, and then you have this tradeoff. i want to be training on a lot of data. quantity versus quality. exactly. where's the sweet spot? that was what we investigated there.
我做视频已经有相当一段时间了,实际上,在Stable Diffusion之前,我就在为英伟达做视频生成。 我在那里发表过一篇论文,叫《Align Your Latents》,我们……基本上是把这个映射过去,实际上它是和Stable Diffusion并行进行的。 我们基本上把这种潜空间扩散算法应用到了视频上,这是自然而然的下一步。 随后能把这项工作继续推进,是非常令人兴奋的。 你可以想象一下,Stable Diffusion相比当时其他模型如此高效,背后基于压缩的原理是什么。 这一点也适用于视频,因为视频实际上还有一个同样可以压缩的时间维度,对吧? 所以这非常合理。 起初,我在一个视频项目中研究了这个。 然后我们加入Stability之后,我想是在SDXL之后,开发了Stable Video Diffusion,基本上是首次将这种潜空间扩散方法应用于视频素材。 但重要的是,这项工作很大程度上是在研究数据筛选的影响。当时我们觉得,或者说我个人觉得,在研究领域里,这一点远远没有得到应有的重视,现在依然如此。 数据就是这样:想想这些模型在做什么,实际上我们是在估计一个概率分布,而数据集正是这个概率分布的来源,对吧? 如果你有一个完美的算法,世界上最好的算法,能够学习你想要的任何东西,但你的数据很糟糕,比如视频或图像整体比较模糊,视频里的运动也不多。 无论你的算法有多好,模型都会学到这一点。 所以模型输出的结果实际上会很糟糕,不太理想。 因此,对于想要训练这些模型的人来说,数据是手中最重要的调节手段之一。 而在整个研究领域,人们一直不怎么 讨论数据,因为研究界的很多人只是研究基准测试,并对算法做些微调。 但如果谈到前沿模型,显然,我们现在已经知道数据极其重要,对吧? 这正是我们想多分享一点背景信息的地方。 所以我们研究了数据量的问题,而这又涉及一种权衡。 我想用大量数据进行训练。 数量与质量的权衡。 没错。 最佳平衡点在哪里? 这就是我们在那部分研究的问题。
and then also, is there a chart we should pull up?
另外,我们是不是该调出一张图表?
coming, coming. we can actually take it. the most exciting experiment that we did was not the data one. but actually, if you go down a bit, we then, and it comes back to what we discussed earlier, we then showed that just pre-training on plain 2d videos allows you to fine-tune an explicit 3d model extremely fast from it. so if you go to the last paragraph here of the paper. here we go. these are these 3d views here of the model. so what we actually did is we took this video model that we trained, and then we had, i think, 1k fine-tuning steps on 3d data, and we got a 3d model out of it. and that comes back to the question, okay, what do you actually need to kind of understand the world in 3d, right? only 1k steps of fine-tuning that shows that this video model, although only trained on plain video, actually have this insane amount of 3d understanding. and you just... took a bit of a focus to get a 3d model out of it. and that is really like, that was one of the early experiments where we saw, okay, this is actually kind of, you can get world understanding through training on plain video. and like from a research perspective, this was like, i think the most interesting experiment in this paper.
马上,马上。 其实我们可以看这个。 我们做的最令人兴奋的实验并不是数据实验。 实际上,如果你往下翻一点,这又回到了我们之前讨论的话题:我们证明了,仅用普通的二维视频进行预训练,就可以在此基础上极快地微调出一个显式三维模型。 所以,如果你翻到论文这里的最后一段。 找到了。 这些是模型的3D视图。 我们实际做的是,把训练好的视频模型拿来,然后用3D数据进行大概1,000步微调,最终得到了一个3D模型。 这又回到了那个问题:要理解3D世界,到底需要什么? 只用1,000步微调就能做到,这说明这个视频模型虽然只用普通视频训练,却实际上具备极其强大的3D理解能力。 你只需要稍微针对性地调整一下,就能从中得到一个3D模型。 这确实是我们早期的一个实验,让我们看到,通过普通视频训练,实际上可以获得对世界的理解。 而且从研究的角度来看,我觉得这是这篇论文里最有趣的实验。
also pretty short paper. there's like a section here where you even explain the pipeline, right? there's like three, four stages, pre-training, some post-training. Uh, yeah, stage one image pre-training, video post, uh, video pre-training, video fine-tuning, and then 1,000 steps you can also make it 3D, right? Crazy. Uh, at the time, I don't remember what I did, but there was basically this temporal consistency problem where if you just stretch out diffusion and try to stitch frames, it wouldn't work. So, a very old hackathon project where I, I forget the method we even used, but we fixed this temporal consistency to like scale it out to 15, 20 seconds. It took forever, but it was a very hacky solution because you could do this in an afternoon, right? So...
论文也挺短的。 这里还有一节专门解释整个流程,对吧? 大概有三四个阶段:预训练,还有一些后训练。 呃,对,第一阶段是图像预训练,然后是视频后……呃,视频预训练、视频微调,再做1,000步就能让它具备3D能力,对吧? 太疯狂了。 呃,当时我不记得自己做了什么,但基本上存在一个时间一致性问题:如果只是把扩散过程延长并尝试拼接帧,是行不通的。 所以在一个很久以前的黑客马拉松项目中,我连我们用的是什么方法都忘了,但我们解决了这个时间一致性问题,把时长扩展到了十五、二十秒左右。 那花了很长时间,但那是个非常取巧的解决方案,因为这种办法一个下午就能做出来,对吧? 所以……
but yeah, critically, you need this kind of learning over spatial, temporal kind of, over the temporal dimension. and then if you just stitch together kind of a very fast fusion model, you don't, you have this flickering, even if you fix the seed and you do a shit ton of hacks, but you realize you need to, like in currently, today everyone is using transformers. so in the transformers, you need the attention over the temporal dimension as well to kind of learn from that, right? and understand what is actually. What how does consistent motion look like basically?
不过关键是,你需要进行这种跨空间、时间的学习,尤其是沿时间维度的学习。 如果你只是把一个非常快的融合模型的结果拼接起来,就会出现闪烁,即使固定随机种子、用了大量取巧手段也一样。但你会意识到,你需要……就像现在,大家都在用Transformer。 所以在Transformer中,你也需要让注意力覆盖时间维度,才能从中学习,对吧? 并理解实际到底是什么。 基本上,连贯的运动是什么样的?
And as far as I understand, we asked this of the on the Grok Imagen part as well, uh there's no compression in the video side that is useful, right? You just have frame, frame, frame, frame, frame. Exactly. It's the simplest version.
据我了解,我们在讨论 Grok Imagen 的部分也问过这个问题,呃,视频这边没有什么有用的压缩方式,对吧? 你只有一帧、一帧、一帧、一帧、一帧。 没错。 这是最简单的形式。
But it's I mean well well if if you then look at the MP4 codec, you you have very smart compression but that is lossy obviously, yeah and and you need to kind of you need to connect the frames in a way and like like extract what what what how how. how kind of consistent motion looks like basically. yeah.
但我的意思是,嗯,如果你看 MP4 编解码器,它的压缩方式非常智能,但显然是有损的,是的,而且你需要以某种方式把帧连接起来,然后提取出,到底是怎么、怎么…… 基本上,就是连贯的运动是什么样的。 是的。
i don't think any video model exposes this, but kind of how far you look back in the temporal attention, because sometimes you do need longer, or it needs to be more adaptive maybe. for example, if something gets occluded and then comes out again, you want them to be the same. but what if, how long is it occluded?
我觉得没有哪个视频模型会公开这一点,不过就是时间注意力能回看多久,因为有时候确实需要回看更长的时间,或者也许需要更具适应性。 比如,如果某个东西被遮挡了,然后又出现,你会希望它前后是同一个东西。 但问题是,它被遮挡了多久呢?
i mean, principally that depends on the problem you want to be solving, right? if you want to be creating a kind of a... a long memory model that that that can can create your virtual worlds then you obviously need to find a way to look back very very very long. That's super memory hungry. And that that is that is just uh I think also one of the most exciting research problems uh to work on these days long context is just uh extremely important right.
我的意思是,原则上这取决于你想解决什么问题,对吧? 如果你想创建一种能够生成虚拟世界的长记忆模型,那显然需要找到一种方法,能够回看非常非常非常久远的内容。 这会消耗大量内存。 而这,我觉得也是如今最令人兴奋的研究问题之一,长上下文实在是极其重要,对吧?
I don't know if there's more there before we cut over to Black uh Black Forest Labs. Uh anything else in the Stable world?
在我们转到 Black,呃,Black Forest Labs 之前,不知道这方面还有没有什么要说的。 呃,Stable 世界里还有别的什么吗?
Uh as I mean there's SD3. Yeah SD3. And that was the last paper that you did before you left. Yeah yeah SD3 was a I felt like a pretty big paper.
呃,我是说,还有 SD3。 对,SD3。 那是你离开之前做的最后一篇论文。 对,对,我觉得 SD3 是一篇相当重要的论文。
That that was a was a I think one. culmination of our work of instability.
那是,那是,我觉得是我们 关于不稳定性研究的一个集大成之作。
i would say. yeah, absolutely. we...
我会这么说。 对,完全是。 我们……
this is your graduation thesis.
这是你的毕业论文。
if you want, yes. no, this paper was really about understanding more, in which part of this trajectory from data to noise does the model actually learn what properties and where do we have to spend most of our computation that we put in training? to maximize the performance of the model. Yeah. So before and obviously that was also the transition from classic diffusion to flow matching was a slightly different uh paradigm basically. We call it rectified flow. Exactly.
如果你愿意这么说的话,是的。 不,这篇论文真正要探究的是,在从数据到噪声的这条轨迹中,模型究竟在哪些部分学到了哪些特性,以及我们应该把训练中投入的大部分计算资源用在哪里, 才能最大限度地提升模型性能。 对。 所以之前,而且显然,那也是从经典扩散模型向流匹配的转变,基本上是一种略有不同的范式。 我们称之为整流流。 没错。
Um this was also the first time we used like diffusion transformers, right?
嗯,这也是我们第一次使用扩散 Transformer,对吧?
With the the the Yeah, yeah, yeah. And then and then and then we took it a bit further, yeah. So lots of changes like going from a convolutional architecture to a transformer architecture, changing the probabilistic model from from a. diffusion to basically flow matching, which is way simpler mathematically, which is super.
用那个、那个、那个——对,对,对。 然后,然后,然后我们又更进一步,对。 所以有很多变化,比如从卷积架构转向 Transformer 架构,把概率模型从 扩散模型改成了基本上的流匹配,这在数学上要简单得多,特别
super nice. i think you should actually define some of those terms for people that haven't heard. so latent diffusion, you know, flow matching. how did you come up with the concept of these things, right?
特别好。 我觉得你应该给没听说过的人解释一下其中一些术语。 比如潜在扩散,还有流匹配。 你们是怎么想到这些概念的?
well.
嗯。
he didn't come up with flow matching. exactly. we didn't come up with flow matching. we just saw this algorithm as something that is in a way more general because it can, like for diffusion, you always need. one of your two distributions between which you're basically translating needs to be a standard normal. that does not hold for flow matching anymore. and instead of approaching this kind of problem to transform one probability distribution into the other, seeing it as a solution of a stochastic differential equation, you're actually seeing it as a solution. of an ordinary differential equation, which simplifies everything completely, like mathematically completely, and makes also fast sampling much more feasible, you could say. because what we always do, obviously, is when we have trained the model, we want to be making as many steps, as little steps as possible, to basically sample as fast as possible, right? some people would say it's actually a special case of diffusion flow matching. others might say, okay, it's actually a generalization of flow matching, of diffusion, the flow matching algorithm. because you go from, you can translate between two distributions, no matter how they are shaped, and you don't need this kind of standard normal, basically, to be one of them. but yeah, in general, it can be seen as, again, a model that learns basically to a vector field that translates between two distributions. and once the model has learned that vector field, you can just integrate it numerically, which is then as easy as solving a ode by means of an euler forward step, basically. so it's very similar in many respects. but it was just like, i would say, mathematically easier, more general from the kinds of probability distributions that it can translate between. that's why we basically went with it. and maybe as a third part of that, it's also easier to derive a fast model from those flow matching models, basically.
流匹配不是他发明的。 没错。 流匹配不是我们发明的。 我们只是觉得这个算法在某种程度上更通用,因为对于扩散,你总是需要…… 你要在两个分布之间进行转换,其中一个必须是标准正态分布。 但流匹配不再有这个限制。 而且,对于将一个概率分布转换成另一个概率分布这类问题,你不是把它看作随机微分方程的解,而是把它看作…… 常微分方程的解。这让一切都简化了,从数学上说完全简化了,也可以说让快速采样更加可行。 因为模型训练好之后,我们显然总是希望用尽可能少的步骤,尽可能快地完成采样,对吧? 有些人会说,扩散其实是流匹配的一种特例。 另一些人可能会说,流匹配算法实际上是对扩散的推广。 因为你可以在两个分布之间进行转换,不管它们是什么形状,而且基本上不需要其中一个是标准正态分布。 不过总的来说,它也可以被看作一个模型,基本上就是学习一个在两个分布之间进行转换的向量场。 模型学会这个向量场后,你就可以直接对它进行数值积分,基本上就像用前向欧拉步求解常微分方程一样简单。 所以在很多方面,它们非常相似。 但我会说,它在数学上更简单,而且从它能进行转换的概率分布类型来看,也更加通用。 所以我们基本上就选择了它。 还有第三点,基本上,从这些流匹配模型中推导出快速模型也更容易。
it was much simpler and more scalable. it was much, much easier to work with and then had this nice performance benefit as well. so i don't know, the diffusion space got quite complicated.
它简单得多,扩展性也更好。 它用起来容易得多得多,而且还带来了不错的性能提升。 所以我也不知道,扩散模型这个领域变得相当复杂。
are we satisfied that there's no loss? is it lossy in acceptable ways?
我们能确定没有损失吗? 还是说有损失,但在可接受的范围内?
Lossy, you mean... No.
有损失,你是指……没有。
lossy compared to full diffusion. No. Or... Yeah, okay. Yeah, yeah. So that is good. It's a strict improvement.
相比完整的扩散过程有损失。 没有。 或者……嗯,好吧。 对,对。 那就好。 这是严格意义上的改进。
Exactly. It's it's great.
没错。 这,这很棒。
It it is an improvement, definitely. Yeah, I mean it's it's effectively just drawing a line between like, you know, noise to data really. It's it's it's like it it it it kind of took this like there was this complex space on like how do you map between these two uh the you know these like these two distributions as Andy was saying. Yeah. And it it simplified it down to like the.
这确实是一种改进。 对,我的意思是,它实际上就是在噪声和数据之间画一条线。 它,它就像是,原本存在一个复杂的空间,涉及如何在这两个,呃,就是像安迪说的这两个分布之间进行映射。 对。 然后它把问题简化成了……
simplest of just drawing a line. It's just like because you're trying to do a shortcut like what if it's a bumpy distribution? Yeah, yeah.
最简单的形式,就是画一条线。 因为你想走捷径,可如果分布是凹凸不平的呢? 对,对。
So that's the that's the thing. And like the most important part of the paper or one of the most important like on the on the on the. properistic modeling side was actually looking at the trajectory from noise to image and which parts really matter and which don't. because if you just like, we train this in kind of steps, right? we always on this part from data to noise, we only always train on one kind of step and then we approximate this direction in flow matching with a model. and if you just sample those steps in between data and noise uniformly, you might actually be spending a lot of time optimizing for things that actually don't matter. so one central part of the paper was where should we spend our compute? which parts of this trajectory from data to noise carry the information that's most important? because this is where you should spend the bulk of your compute at training, right? and oversampling these parts during training and then undersampling other parts that are less important.
所以这就是问题所在。 论文最重要的部分,或者说最重要的部分之一,在…… 概率建模方面,实际上是研究从噪声到图像的轨迹,以及哪些部分真正重要,哪些不重要。 因为我们训练时是分步骤进行的,对吧? 在从数据到噪声的这个过程中,我们每次只针对某一个步骤进行训练,然后用模型来近似流匹配中的这个方向。 如果你只是均匀地采样数据和噪声之间的那些步骤,就可能会花很多时间优化实际上并不重要的东西。 所以论文的一个核心问题是,我们应该把算力花在哪里? 从数据到噪声的这条轨迹中,哪些部分承载着最重要的信息? 因为这才是训练时应该投入大部分算力的地方,对吧? 训练时对这些部分进行过采样,而对其他不那么重要的部分进行欠采样。
it's effectively like a further, like a much further... better exploration of part of what we talked about with sdxl, which was like the refiner. we spent time like training the refiner on the end of the trajectory to learn these high frequency details. and this was like more of an exploration of the entire space of where like you should spend time to make the most like general good model to learn the data.
这实际上是对我们谈论 SDXL 时提到的一部分内容,也就是精修器,进行更深入、更充分的探索。 我们花时间在轨迹的末端训练精修器,让它学习这些高频细节。 而这次更像是探索整个空间,看看应该把时间花在哪里,才能得到一个整体上最好的、用于学习数据的模型。
yeah. amazing. one thing i did pick up with sd3 was text in images, which you guys showed off a lot. there was a time when images could just straight up not do text. And then they did more and more text and then now it's like, you know, here's here's uh here's our our nice typography. And I feel like was can we attribute that to the diffusion transformer or.
对。 太棒了。 我确实注意到 SD3 的一点是图像中的文字,你们展示了很多这方面的效果。 曾经有一段时间,图像生成模型根本没法生成文字。 后来它们能生成越来越多的文字,而现在已经可以说,你看,这是我们漂亮的字体排版。 我觉得,这能归功于扩散 Transformer 吗?还是说……
I I don't know if I could say it was the diffusion transformer. I mean I I think it really was just better model. It was better modeling and better data. Like it it was fundamentally like as much as I as much as I want to like as much as like I don't know you always want to attribute some fancy thing it really was just that it it could model the world better. It's a data thing.
我不知道能不能说是扩散 Transformer 的功劳。 我是说,我觉得其实只是模型变得更好了。 是建模更好了,数据也更好了。 从根本上说,尽管我们总想把它归功于某种高深的东西,但其实只是因为它能更好地对世界进行建模了。 这是数据的问题。
It's also like what what you're you always need like for everything that that that you train on you need a caption right? If your caption doesn't describe the text that is uh visualized somewhere. Your model will not learn it, right? So, um, that's also something that that is often... Sometimes we spend a lot of time talking about the nitty-gritty details of some algorithm. In the end, it's again, uh, the bitter lesson, right?
而且,你训练用的每一样东西都需要有一段描述,对吧? 如果你的描述没有提到图像中某处显示的文字…… 你的模型就学不到它,对吧? 所以,这也是一个经常被忽略的问题……有时我们花很多时间讨论某种算法的各种细枝末节。 但归根结底,这又是那个惨痛的教训,对吧?
It's just simple, scalable is is almost always the most effective. I would say always the most effective. Yeah.
简单、可扩展的方法几乎总是最有效的。 我会说它总是最有效的。 是的。
But you can obviously scale in a smart way and still if if if you if you spend tons of compute, you should be spending it as efficiently as possible and only where it matters. And that is also at the heart of this this paper basically, right?
但你显然可以用聪明的方式进行扩展;如果你要投入大量算力,就应该尽可能高效地使用,而且只用在重要的地方。 这基本上也是这篇论文的核心,对吧?
I think prompting also got a lot easier at this time. Um, we used to have the 4K... Prompt expanders. Yeah. 4K, R-scale, Ultra, AK, yes, yes, yes.
我觉得在这个时期,编写提示词也变得容易多了。 嗯,我们以前有 4K……提示词扩展器。 嗯。 4K、R-scale、Ultra、AK,对,对,对。
Who was the Greg guy?
那个叫格雷格的人是谁来着?
The poor artist that gets... yeah. And now you...
那个被……的可怜艺术家,对。 然后现在你……
Oh, Greg Rutkowski, yes. I wonder how he's doing. I hope he's doing well. I hope he's doing well.
哦,格雷格·鲁特科夫斯基,对。 不知道他现在怎么样了。 希望他过得好。 希望他过得好。
Yeah. Yeah.
嗯。 嗯。
And also, you know, for context, this is when DALL-E 3, Midjourney, Ideogram V1, nothing was open. So anything that you would see of this quality was either old Stable Diffusion or pretty much a closed, closed, closed tool, yeah.
另外,交代一下背景,当时有 DALL-E 3、Midjourney、Ideogram V1,但没有一个是开放的。 所以你看到的任何这种质量的作品,要么来自旧版 Stable Diffusion,要么基本上就是用完全、完全、完全封闭的工具做的,对。
Then you had to make the big break to Black Forest. Uh, what was that whole period like, right? Like, basically you had to leave and start a lab from scratch.
然后你不得不做出重大转变,去了 Black Forest。 呃,那整段时期是什么样的? 基本上,你得离开原来的地方,从零开始建立一个实验室。
I think it was probably one of the most exciting times we all had because when you're in stealth, you're just like your small team. We were 13 13 people. I think. Yeah. When you started, we first went to france had a fun little week and in the i was in france in a chalet. Spent the entire week just hacking hanging out. Dustin figured out some really cool. staff to make our models way more consistent. i remember that. that was so fun. it was a magical week. that really was our kind of founding offsite. that is when we started training flux one, which three months later resulted in this nice company launch, basically with a model that i think blew pretty much everyone away, at least blew us also away. oh, yeah. like commercially, what this directly unlocked, like only having... kind of incorporated the company for three months and then releasing this model and it was like, yeah, just like was received very well, right? that was amazing. so that was a lot of fun.
我觉得那可能是我们所有人经历过的最令人兴奋的时期之一,因为在隐身开发时,就只有你们这个小团队。 我们有13个人,13个人。 我想是。 对。 你加入的时候,我们先去了法国,愉快地待了一个星期。我当时在法国的一间小木屋里。 整个星期就是写代码、一起玩。 Dustin 想出了一些非常酷的 办法,让我们的模型稳定多了。 我记得那次。 那次太有意思了。 那是神奇的一周。 那确实算是我们的创业团建。 我们就是那时开始训练 Flux One 的,三个月后,公司顺利推出了这个模型。我觉得它惊艳了几乎所有人,至少我们自己也被惊艳到了。 哦,对。 从商业角度来说,这直接带来了什么?你们公司才成立了大概三个月,就发布了这个模型,而且反响非常好,对吧? 那真是太棒了。 所以那段时间很有意思。
did you know that when you started this, i mean, you had to get all the clusters together, like all the data, you had to start from scratch.
你开始做这件事的时候知道吗?我是说,你得把所有集群和数据都准备好,一切都得从头开始。
we had to start from scratch, yes, but we knew what to do, basically. yeah, obviously. we had a lot of experience.
是的,我们必须从头开始,但基本上知道该怎么做。 对,那当然。 我们有很多经验。
but like, did you have a, you just did sd3. did you have a hypothesis that you were exploring of what you would do differently?
不过,你们刚做完 SD3, 当时有没有什么正在探索的假设,比如这次要怎么做得不一样?
we've obviously gathered a lot of knowledge in these entire times, even before stability as well, right? and that all culminated. and then we also had a team that just was in one place, basically, that was very focused, which had never been the case before because... Like it there's just like if you if you're working from from very different parts of one company also as Dustin said Dustin was actually not in our team before. Yeah. And then like we basically had had a super nice team together, spent a lot of time together discussing how we would actually design the the the kind of learning process of this model, which was at this offsite and then we just kicked off and that resulted basically in this.
显然,我们在这整个过程中积累了很多知识,甚至在加入 Stability 之前就已经积累了很多,对吧? 而这一切最终汇聚在了一起。 然后我们还有一支团队,基本上都在同一个地方,非常专注,这以前从来没有过。因为……如果你们分别在公司里差异很大的部门工作,而且正如Dustin说的,Dustin之前其实不在我们团队。 是的。 然后我们基本上组建了一支特别棒的团队,在那次外出活动中花了很多时间一起讨论,究竟该如何设计这个模型的学习过程,接着就开始动手,最终基本上成就了现在的成果。
Was it like discussions of what is Flux 1 or was it broader where do things go in a few years? How much of this vision was like...
你们讨论的是Flux 1是什么样的,还是更广泛地讨论未来几年事情会如何发展? 这个愿景有多少是……
Well I I guess I can jump in and say like. I mean one of the reasons the company was started, I I I will say there were some frustrations of time at Stability, you know. We saw from from our side our side we saw the impact that our models had made out in the world. We saw not just the impact from like the open source world but also we saw companies that were started and run and and and quite successfully used our models out in the world. Like we knew there was a lot of draw and a lot of potential in what our models could do and unfortunately I I think we also felt that uh at Stability that we couldn't. essentially leverage the value of what the models could be as well. so not only did we have the belief in like our team's ability to actually do the research and perform and build these models and get them out in the world, but this would be our shot to kind of correct those inefficiencies or mistakes of not being able to actually capture the value of the models themselves. and so that was also a big part of the belief of why we thought we could, you know, go forward. because we, i mean, we have this record of doing this and making this impact. and we figured that could continue on and we could actually make this. You know, successful company out of it, which now, I mean, I think it's, I think it's gone pretty, I think it was a good thesis. Yeah, I think it was a good thesis.
嗯,我想我可以插一句。 我是说,公司创立的原因之一,我得说,是我们在Stability工作时有一些挫折感,你知道的。 从我们的角度来看,我们看到了自己的模型在世界上产生的影响。 我们看到的不只是对开源世界的影响,还看到有些公司因此成立并运营,而且在实际业务中相当成功地使用了我们的模型。 我们知道自己的模型有很大的吸引力和潜力,但遗憾的是,我想我们也觉得,在Stability我们无法…… 真正发挥这些模型本可以拥有的价值。 所以我们不仅相信团队有能力真正做好研究、构建这些模型并将其推向世界,还认为这是一个机会,可以纠正那些未能真正获取模型自身价值的低效之处或错误。 这也是我们相信自己能够继续向前迈进的重要原因。 因为,我们有过做到这些并产生影响的先例。 我们觉得这可以继续下去,而且我们真的可以把它…… 你知道,做成一家成功的公司。现在,我觉得进展挺好的,我觉得这个判断是对的。 是的,我觉得这个判断是对的。
As I've said before. Yeah. We've been talking about how we can generate images and video and improve the perceptual understanding of models, but what about voice? And that's the subject of today's ad. Uh, we've been working with Deepgram for a while for on the AIE side, and they recently acquired Pipecat, which has also been a big sponsor of AIE. So. Deepgram is becoming one of the critical pieces of voice infrastructure for all agents. So this episode is sponsored by deepgram. If you're building a voice agent, you needed to keep up with how people actually talk. That means understanding words in context and keeping latency low enough for a conversation to flow. That's what Deepgram speech models and real-time infrastructure are built for one in 5,000 organizations uses speech to text text to speech and voice agent apis in production. The focus is accuracy, low latency and cost efficiency so you can build and run voice experiences at scale. You can use the cloud APIs or deploy it yourself, including on-premises. And there's an offer on Flux text-to-speech, spend a dollar, get a dollar in credits, up to five hundred dollars. To sign up for free or find out more, go to deepgram. com slash contextiseverything. Deepgram, context is everything. Thanks to Deepgram for bringing us this episode, and now we'll go back to the interview. Well, I I and like what use cases were you seeing? Like I said, I think a lot of people went straight to like Hollywood. Like we, you know, that's our goal. Or like uh Imad used to say, we will make Game of Thrones season eight again.
就像我之前说过的。 是的。 我们一直在讨论如何生成图像和视频,以及如何提升模型的感知理解能力,但语音呢? 这就是今天广告的主题。 呃,我们在 AIE 这边与 Deepgram 合作了一段时间,他们最近收购了 Pipecat,后者也是 AIE 的重要赞助商。 所以, Deepgram 正在成为所有智能体语音基础设施的关键组成部分之一。 本期节目由 Deepgram 赞助。 如果你正在构建语音智能体,就需要让它跟得上人们实际说话的方式。 这意味着要结合上下文理解词语,并将延迟控制在足够低的水平,让对话流畅进行。 Deepgram 的语音模型和实时基础设施就是为此而打造的。每 5,000 家机构中就有一家在生产环境中使用其语音转文字、文字转语音和语音智能体 API。 重点是准确性、低延迟和成本效益,让你能够大规模构建和运行语音体验。 你可以使用云端 API,也可以自行部署,包括本地部署。 Flux 文字转语音服务还有一项优惠:每消费一美元,即可获得一美元的额度,最高五百美元。 要免费注册或了解更多信息,请访问 deepgram. com/contextiseverything。 Deepgram,上下文就是一切。 感谢 Deepgram 赞助本期节目,现在让我们回到采访。 嗯,我、我想问,你们当时看到了哪些应用场景? 就像我说的,我觉得很多人直接就想到了好莱坞。 比如,我们,你知道,那是我们的目标。 或者像 Imad 以前说的,我们要重拍《权力的游戏》第八季。
I mean, I I'm trying to remember this, I can't I don't know if I'll be able to remember the name of this company, but this this might have even been before SDXL. Um, but it was a company that for like a week or two, it went viral where anyone could take like a picture of themselves and then it like created it. Yeah. Uh, the older version or so. The older version and it used like the old DreamBooth style fine-tuning, which was extremely inefficient and then uh, but it would it like blew up. Like everyone was using this, everyone was excited about it. The models could make so many things and we saw that there was a lot of potential in how everyone wanted to use it and you know, we we saw where the models were going to, you know, at the time they couldn't do typography, we knew obviously, okay, typography is going to be important and we we eventually got there with SD3 and and then so on, so. it wasn't just one use case. it was, we saw that this was like a general technology that had a lot of potential and that was going to continue to grow and have potential in the future, which now is expanding into, you know, the physical world a lot more.
我是说,我正努力回想这件事,我不知道还能不能记起那家公司的名字,但这甚至可能是在 SDXL 出现之前。 嗯,有一家公司在一两个星期里火遍了网络,任何人都可以上传一张自己的照片,然后它就会生成出来。 对。 呃,生成年老后的样子之类的。 年老后的样子,它用的是旧式 DreamBooth 风格的微调,效率极低,但它还是一下子爆火了。 所有人都在用,大家都很兴奋。 这些模型能创造出很多东西,我们看到大家都想使用它,所以它有很大的潜力。我们也看到了模型的发展方向,你知道,当时它们还做不了文字排版,但我们显然知道,文字排版会很重要,最终我们在 SD3 上实现了这一点,之后又不断发展,所以…… 这不只是一个应用场景。 我们看到这是一项通用技术,潜力巨大,而且会持续发展,在未来也有很大潜力。现在它正越来越多地拓展到物理世界。
but yeah. this was actually already the potential we saw that. yeah, yeah, absolutely. BFL was not founded to be an image generation lab. it was more of a kind of a matter of the flux model being so good that we then capitalized on it as well because it gave us a kickstart. but when we pitched the company to investors for the seed series, it was clear we want to be working on video because we see that as a, i think we shared this on a podcast actually back in 2023 already when we were still at stability. we were saying, okay, this like video modeling is actually the central means to understanding how our world basically works because. again, what i shared earlier, right? essentially, we humans are also first observing the world, then starting to interact with it. and by that, we learn so much. so that was always the thesis. and then obviously, we had to kind of take this detour, which was very successful, i would say, to image generation. and then you always like face the kind of the issue of, okay, where do i spend my time on? that's unfortunately a thing we cannot get across that the day only has 24 hours, unfortunately. But eventually I think Flux 3 is really like where we saw this going for a long time and what we wanted to be doing for a long time. And that's why we're so excited about like having the model out there, being able to create videos, being able to create images, being able to create audio, being able to act as a robot brain to actually kind of work in real manufacturing workflows. And there's there's a lot of stuff coming this year still that we we have to announce on on on on the physical AI side. But really like as Dustin said, our goal was always to create the most general technology. and we see this happening currently, which is why we're so, yeah, so excited, basically.
不过,是的。 这其实就是我们当时已经看到的潜力。 对,对,完全正确。 BFL 成立之初并不是为了做图像生成实验室。 更确切地说,是因为 FLUX 模型太出色了,我们也借此抓住了机会,因为它让我们有了一个良好的开端。 但我们在种子轮向投资者推介公司时,就已经明确表示我们想做视频,因为我们认为……我想其实早在2023年,我们还在 Stability 的时候,就已经在一个播客里分享过这一点。 我们当时说,视频建模实际上是理解我们的世界如何运作的核心手段,因为…… 还是我之前说的,对吧? 从根本上说,我们人类也是先观察世界,然后开始与之互动。 通过这个过程,我们学到了很多。 所以这一直是我们的核心理念。 然后很显然,我们不得不绕个弯,转向图像生成。我会说,这个转向非常成功。 然后你总会面临这样一个问题:好吧,我应该把时间花在哪里? 遗憾的是,有件事我们无法改变:一天只有24小时。 但归根结底,我认为 Flux 3 正是我们很久以来预见的发展方向,也是我们一直想做的事情。 这就是为什么我们对推出这个模型感到如此兴奋:它能够生成视频、图像和音频,还能充当机器人的大脑,真正应用于实际的制造工作流程。 今年我们还有很多实体 AI 方面的事情要宣布。 但确实,正如 Dustin 所说,我们的目标一直是创造最通用的技术。 而我们现在正看到这一切发生,所以我们才这么兴奋,基本上就是这样。
yeah, i mean, i think you guys also took the right path to stay focused, right? like, i'm not mistaken, flux 1 launched with xai. it was their mid-gen model. good partnership. that's right. before they had their own. but, like, you know, that's a good way to solve, do we build distribution ourselves? even to the latest flux 3 max is post-trained with fal. they do a lot of inference distillation. they're good at that, right? So it's interesting. But it seems like you're expanding now towards uh you have what's the latest one with robotics? Um Flux Reaction?
是啊,我觉得你们也选对了保持专注的路线,对吧? 如果我没记错的话,Flux 1 是和 xAI 一起推出的。 它是他们的中间一代模型。 很好的合作。 没错。 那是在他们有自己的模型之前。 不过,这也是解决一个问题的好办法:我们要不要自己建立分发渠道? 甚至最新的 Flux 3 Max 也是和 fal 一起进行后训练的。 他们做了很多推理蒸馏。 他们很擅长这个,对吧? 所以这很有意思。 不过看起来你们现在正在拓展到,呃,机器人领域最新的那个是什么来着? 嗯,Flux Reaction?
Yeah Flux Reaction.
对,Flux Reaction。
Before we get there, there's one more I want to cover which is image editing in Kontext. Sure. Yeah. Uh we have a K.
在聊到那个之前,我还想讲一个话题,就是 Kontext 里的图像编辑。 好啊。 对。 呃,我们有一个 K。
Uh also really nice uh history right here on the website.
呃,网站上这里还有一段非常不错的发展历程。
Yeah. I I I was actually like that is it's it's weird we're now at the stage of company that like things just happen and I I'm like oh we have this. Um but I was I was kind of sad Flux one wasn't on there to view but it's like the original one but yeah but it's it's fine. It's uh Pro was good.
对。 我、我、我当时其实觉得,就是说,我们公司现在发展到这个阶段,事情就这么自然地发生了,然后我会想,哦,我们还有这个,感觉挺奇妙的。 嗯,不过我有点遗憾,那里没法查看 Flux one,虽然它是最初的版本,不过也没关系。 呃,Pro 也不错。
Even just the visuals here, like maybe someone will clip it of original Stable Diffusion to XL.
光是这里的画面,从最初的 Stable Diffusion 到 XL,也许有人会把这段剪出来。
to all the papers that are all the SOTA. You see the progression, right?
再到所有那些达到 SOTA 水平的论文。 你能看到这个进步过程,对吧?
Yeah, yeah. But one thing that I do want to cover at some point, I no longer personally see the progression, right? You show me state-of-the-art image video models, a lot of Chinese labs are putting them out, it's hard to eval. I know people care, I've talked to Sumit at BFL about, okay, no, actually people in the industry aggressively A/B test industry, there's there's a lot that people care about on evals, but there's also a level of it all looks very realistic to me.
对,对。 不过有一点我确实想找个时候聊聊:我个人现在已经看不出这种进步了,对吧? 你给我看最先进的图像和视频模型,很多中国实验室都在推出这样的模型,但很难评估。 我知道人们很在意这个,我和 BFL 的 Sumit 聊过,才知道业内人士其实会非常积极地进行 A/B 测试,大家对评估有很多在意的方面,但另一方面,在我看来这些东西都非常逼真。
Um, the rest is prompting skill issues.
嗯,剩下的就是提示词技巧的问题了。
I think there's a, yeah, I think there's a lot of little nitpicks, like there were hands, there's still issues in text sometimes.
我觉得,是的,还有很多小毛病可以挑,比如以前的手,现在文字有时仍然会出问题。
There's still hands issues? No, there were hands issues.
手部还是有问题吗? 不,之前手部有问题。
There's issues in perception and layout, like I'm redesigning my living room.
感知和布局方面有问题,比如我正在重新设计我的客厅。
it's horrible. Controllability is the thing. I think controllability is the the thing we need to solve like large scale. There's so many ways you can control these models. And maybe that that is a good seg into into uh... Contextual... context as well because that that was a pain point that we saw for a lot of time people were training so many Loras for just to get this character consistency into models right.
效果糟透了。 可控性才是关键。 我认为可控性是我们需要大规模解决的问题。 控制这些模型的方法有很多。 或许这正好可以引到 Kontext……也就是上下文,因为我们很长一段时间都看到一个痛点:人们训练了那么多 LoRA,只是为了让模型保持角色一致性,对吧?
I shout out to Replicate back then with you know all the Loras and stuff.
要特别提一下当时的 Replicate,你知道,他们做了那么多 LoRA 之类的东西。
Oh yeah yeah. And then we had this uh amazing pitch of Dustin it was also in Northside also in France I think.
哦,对对。 然后 Dustin 提出了一个很棒的想法,也是在 Northside,我记得也是在法国。
It was it was another cabin right like a lot of things happen in cabins. offsite. We should go to a cabin. We really like yeah.
那是另一间小木屋,对吧?好像很多事都发生在小木屋里。 团队外出活动。 我们应该去一趟小木屋。 我们真的很喜欢,是啊。
You should do more. Yeah yeah. And and then we had this pitch of Dustin who actually kind of saw this potential and okay I need to I need to get this like context I I I need to be able to prompt not only with text but also with. images for image editing and that up yeah.
你们应该多办几次。 对对。 然后 Dustin 提出了这个想法,他其实看到了这种潜力,觉得,好,我需要这个上下文,我需要能用来提示的不只是文字,还要有…… 用于图像编辑的图片,等等,对。
Yeah, yeah, no, I mean I so I did this like I I originally...
对,对,不,我的意思是,我做了这个,我最初……
That's me pre-hype as well. I've heard the story that Flux Context was like you and one or two other people.
那也是我还没开始炒热气氛时的样子。 我听说 Flux Context 当时基本上是你和另外一两个人做出来的。
Yeah, so it was for for a long time it was basically my side project and then I stole one of our one of our data guys a little bit into it and said I'm I'm come we're we're we're building this thing. So for me like so so yeah as Andy was saying it originally started as a pitch of mine at some uh some cabin in France that uh I did essentially like a I I I like to do these presentations every you know every offsite or every time we get together. where i try to look at like the state of the field and where i think the field is going and kind of where like what is something we're not doing or something where these models have a potential to do something novel and useful that, you know, maybe we're not looking at right now or maybe isn't solved. and so i actually did a presentation on, i know this is like the most overloaded word in the world at this point, but i was like, oh, it's the omni, the omni model presentation at that point because, um, there was a lot of research work out there at the time on, you know, other editing models. if we remember back to, i think there was the old prompt to prompt. and then there's a, why can i not remember the name of this? the pitch was essentially these models are clearly learning like these deep relationships about the world. and this is going to keep coming up. it's about these relationships. and to me, you know, like the relationship of like, okay, this coke can is sitting on top of a table. this bottle is sitting here. and you prompt the model and you go, okay, i want. a photo of a dog wearing a hat. and it needs to know, okay, the hat is on top of the dog. it needs to have this general understanding. and my kind of theory in mind at the time was that since the model already has all of this like spatial knowledge, if we essentially build the right data and train the model, like train an already pre-trained model the right way, we should be able to evoke essentially like general image editing with very, very little training. capturing these already like pre-built relationships of when things are there, when they're not there, and how these like relationships, these spatial relationships inside of an image work. and then essentially what it became is like a three to form, i don't remember the timeline, of me here over in our sf office with the one data guy, stoll, building out. Essentially just early test training data sets and and I remember the moment I saw that this was like clearly working quite well when we made this effectively tiny data set of just very like high quality labeled it was essentially describing like simple relationships in an image and that was really it. Uh like it wasn't a way that you would prompt a a modern like edit instruct model it was just literally describing these relationships and I trained the model for like I mean it was maybe like six hours of training four hours of training it was it was very very short training run and all of a sudden like I saw. what felt like a clear generality coming out of it because it was, i think it was like a photography data set. it was just like photos of stuff. but even just from that, i was seeing like, i can put a logo on a shirt. i can put like, i can do, and it wasn't good. it was just like the model was clearly learning to attend between these two concepts and use these pre-trained relationships. and then i took that to our next offsite, showed results, and then it became this essentially more company-wide project for about, you know, a couple months where we really put. effort in, brought people in, you know, really improved essentially. it was mostly a data set project. like i'll say it was mostly a data set project.
对,很长一段时间里,它基本上就是我的一个副项目,后来我从我们团队里借调了一位数据人员,跟他说,我们要一起把这个东西做出来。 对我来说,就像 Andy 说的,它最初是我在法国某个小木屋里提出的一个想法。我基本上做了一场演示,我喜欢每次团队外出活动或者大家聚在一起的时候都做这样的演示。 我会试着看看这个领域的现状,以及我认为它的发展方向,再想想有哪些事情是我们还没做的,或者这些模型有潜力在哪些方面做出新颖又有用的东西,也许是我们目前还没关注到的,或者尚未解决的问题。 所以我当时确实做了一场演示,我知道这个词现在已经被用得太泛了,但我当时叫它“全能模型”演示,因为那时已经有很多关于其他编辑模型的研究。 如果回想一下,我记得以前有个 Prompt-to-Prompt。 然后还有一个,为什么我想不起它的名字了? 我的想法基本上是,这些模型显然正在学习关于世界的深层关系。 而且这一点会不断被提及。 关键就在于这些关系。 在我看来,比如说,一罐可乐放在桌子上,这就是一种关系。 这个瓶子放在这里。 然后你给模型输入提示词,说,好,我想要 一张戴着帽子的狗的照片。 它就需要知道,帽子是在狗的头上。 它需要具备这种基本的理解能力。 我当时的理论是,既然模型已经具备了所有这些空间知识,如果我们构建出合适的数据并以正确的方式训练模型,也就是以正确的方式训练一个已经预训练过的模型,我们应该能够通过非常少的训练,激发出通用图像编辑能力。 捕捉这些已经建立起来的关系,比如物体何时存在、何时不存在,以及图像内部这些空间关系是如何运作的。 后来基本上就变成了一个三到四……我不记得具体的时间了,我和那位数据人员 Stoll 在我们旧金山办公室里把它构建出来。 基本上就是早期的测试训练数据集。我记得,当我们制作了一个实际上很小的数据集后,我发现它明显效果很好。数据集里全是非常高质量的标注,基本上只是在描述图像中的简单关系,仅此而已。 呃,那不是你给现代图像编辑指令模型写提示词的方式,而是真的只是在描述这些关系。我训练了模型,大概训练了六个小时,或者四个小时,训练过程非常非常短,然后突然我看到了。 我觉得它展现出了明显的泛化能力,因为那好像是一个摄影数据集。 里面只是各种东西的照片。 但即使只靠这个,我就发现我能把一个标志放到衬衫上。 我能放上去,我能做到,不过效果并不好。 只是模型显然正在学习关注这两个概念之间的关系,并利用预训练得到的关系。 然后我把它带到了我们下一次的外部聚会上,展示了结果。之后,大约有几个月的时间,它基本上变成了一个公司范围的项目,我们确实投入了。 精力,找来了更多人,基本上让它有了很大的改进。 这主要是一个数据集项目。 我会说,它主要是一个数据集项目。
and then in the end, a bit of distillation.
最后还做了一点蒸馏。
and then there was a lot of very nice distillation work by axel that was done to speed it up. then we essentially were able to put this model out into the world. and i was quite proud of.
然后Axel做了很多出色的蒸馏工作,来提高它的速度。 接着我们基本上就能把这个模型推向世界了。 我对此非常自豪。
yeah. that was the first kind of model to really do this character consistent editing, right, in like high speed. Again, accessible to so many people.
是的。 这是第一批真正能够高速完成这种角色一致性编辑的模型之一,对吧? 而且,同样,有很多人都能使用它。
For most people, it's very common to generate something chat with it. Change it before this image generation took quite a while and you need to recreate the image.
对大多数人来说,生成一些东西,然后通过对话来修改它,是很常见的。 在这之前,图像生成需要相当长的时间,而且你必须重新生成图像。
You couldn't change the parents getting the same character.
你没法更换父代同时还得到同一个角色。
You wouldn't be the same. You need to mask something that you don't like.
你就不会是同一个了。 你需要把不喜欢的部分遮罩起来。
So then fill in the i just i wanted to get away from the slot machine. Essentially everyone had to do the slot machine prompt and prompt and prompt and prompt and it was very clear that like. Iterative editing was like a much more effective way to do this. No.
所以接着填进去,我只是想摆脱那种老虎机式的操作。 基本上每个人都得像玩老虎机一样,不停地输入提示词,反复尝试,而很明显, 迭代编辑是完成这件事效率高得多的方式。 不是。
so so my my crappy comfy UI was that. It just swapped out like 10 different versions.
所以,所以我那个破烂的 ComfyUI 就是这样的。 它只是换出了大概十个不同的版本。
Yeah, yeah. My favorite part, I still swap out like I'm changing my living room, generate four, generate six, redoing something. Just make 10 iterations.
对,对。 我最喜欢的部分是,我还是会不断替换,比如我在改变客厅的布置,生成四个、生成六个,重新做某个东西。 直接做十次迭代。
and and then yeah, and eventually that one's good enough.
然后,然后是的,最终总有一个够好。
My favorite is that you pray to RNGesus. Uh, because it's a random number. Uh, basically, you know, to me, this concept of what is a foundation model is something like this where it's like. Okay, you know all these little workflows that you guys do to like do that and do that and do that and they all these different tools, we're gonna replace that with one model. Yeah.
我最喜欢的是你向 RNGesus 祈祷。 呃,因为那是个随机数。 呃,基本上,你知道,对我来说,基础模型这个概念大概是这样的。 好吧,你们为了做这个、做那个而使用的所有这些小工作流,还有所有这些不同的工具,我们要用一个模型来取代它们。 对。
And that's actually what we are building towards, right? And that was where Flux...
而这其实正是我们正在努力实现的,对吧? 而那就是 Flux……
This was a very clear aha moment for me. I don't know the, I never tried prompt to prompt, but I think to me the closest this has come to Flux context is Qwen Image, which like the Qwen folks are doing really good, like they had a Photoshop layer model.
这对我来说是一个非常明确的恍然大悟的时刻。 我不知道,我从没试过 Prompt-to-Prompt,但我觉得目前最接近 Flux Kontext 的是 Qwen Image。Qwen 那帮人做得真的很不错,比如他们之前有一个 Photoshop 图层模型。
Yeah. It was... Yeah, yeah, no, no, I mean they're doing... doing pretty cool stuff over there, yeah.
对。 那是……对,对,不,不,我是说他们在那边做的东西……确实挺酷的,对。
It's interesting how much of this just comes back to there was a lot of good data.
有意思的是,这么多事情归根结底都是因为有大量优质数据。
Yeah, I mean it was... it was targeted good data for... was it a good concept? I don't know what... how to even describe this here, but yeah.
对,我的意思是,那是……针对特定目标的优质数据,是为了……那算是个好概念吗? 我不知道……该怎么描述这个,不过是的。
I think one thing that I'm surprised by is... so, you know, comment on stability one more time. Stable Japan, right? Japan had this like whole law of like we will protect you if you train on copyright. Yeah.
有一件事让我挺惊讶的……就是,你知道的,再聊一次 Stability。 Stable Japan,对吧? 日本当时有一整套法律,大意是说,如果你用受版权保护的内容训练模型,我们会保护你。 对。
yeah. Open anything up as a country.
对。 以国家的名义开放一切。
And I was like, ooh, Stable Japan, like it's interesting. Nothing happened.
我当时就想,哦,Stable Japan,挺有意思的。 结果什么都没发生。
I always wanted to visit that office. I was sad I never did actually.
我一直想去参观一下那个办公室。 很遗憾我最终没能去成。
I think uh on your Omni point as well, it was an interesting time. There were the two others. Gemini is obviously the latest Omni. Uh ImageBind, which I didn't realize is 2023 from Meta, they threw in one embedding space. Heat maps and depth. That's a big one. Which you know, I'm like, oh, very early, but like it's cool. I I think this work has progressed. There's definitely newer newer work on it.
我觉得,呃,关于你提到的 Omni,那也是一段有意思的时期。 还有另外两个。 Gemini 显然是最新的 Omni。 呃,ImageBind,我之前没意识到它是 Meta 在 2023 年推出的,他们把这些放进了同一个嵌入空间。 热图和深度。 这很重要。 你知道,我当时觉得,哦,还很早期,但挺酷的。 我觉得这项工作已经有了进展。 这方面肯定有更新的研究。
but like IMU. Yeah, so like but you can you can you know, this is just another color. Right? It's RGB, A, and whatever that is. Yeah, yeah, yeah. Right? So like how many colors are there?
但比如说 IMU。 对,所以你可以,你知道,这只是另一种颜色。 对吧? 就是 RGB、A,还有那个不管是什么的东西。 对,对,对。 对吧? 所以到底有多少种颜色?
Oh, the fun thing, this was also all all in, all out. So you can go text to heat map if you want. You can go IMU to depth.
哦,有意思的是,这也是所有模态都可以输入,也都可以输出。 所以如果你想,可以从文本转换成热图。 也可以从 IMU 转换成深度。
So big market for that.
所以这方面市场很大。
But interestingly, no no video out, which is I think the the kind of the the central thing that that we need to to to to understand basically the world better, right? This this is I think what what's as Ed said, what has always been at the core of what we were were doing.
但有意思的是,没有视频输出,而我认为视频基本上是我们更好地理解世界所需要的核心东西,对吧? 我认为,正如 Ed 所说,这一直是我们所做工作的核心。
Yeah.
对。
Okay, well before we leave the the sort of data discuss or IP discussion, Is there a particular kind of data that is uh everyone in the industry knows is like valuable? Uh if people if if I have a data vendor listening, how do they sell to you? What what how do they approach you?
好,在结束数据或者知识产权方面的讨论之前,有没有哪种数据是业内公认有价值的? 呃,如果有数据供应商在听,他们该怎么向你推销? 他们该怎么找你接洽?
It depends heavily on what you what type of problem you want to be solving. That's just super important. If I if I train a uh a robot, I obviously need a lot of egocentric data. I think that's not a secret, right? Because that that is just how this thing will be will be... Egocentric or?
这很大程度上取决于你想解决什么类型的问题。 这非常重要。 如果我要训练机器人,显然需要大量第一人称视角的数据。 我想这不是什么秘密,对吧? 因为这东西就是要以这种方式……第一人称视角,还是?
Yeah. I mean there's also a benefit for you guys, right? On the language model side, there's a lot of people doing RL environments. Is there a parallel that people should come to?
对。 我的意思是,这对你们也有好处,对吧? 在语言模型领域,很多人都在做强化学习环境。 有没有类似的方向值得大家考虑?
I'm trying to get you vendors, yeah. It's like, get you vendors. Oh, we have so many data vendors actually that are that are... Too many? Yeah, yeah.
我是在帮你找供应商呢。 就是帮你找供应商。 哦,其实我们有很多数据供应商……太多了? 对,对。
It's a lot of them. Oh, okay. What what what is good versus bad?
数量很多。 哦,好吧。 那什么样的算好,什么样的算差?
It again depends on which stage of the training you are, um, and what your effective goal is. I think there's a there's a trade-off between, we had this already, right? Scale of the data versus, um, versus the quality. And that is what you have to for every training run, like large-scale pre-training run you do again, you have to kind of find find that sweet spot out because. depending on the architecture you might be using, that might look very different again. and that is one of the central pre-training experiments, like, or pre-scaling experiments that you need to do. you need to do a ladder, basically, to understand at scale how much data, or to predict at scale how much data do i actually need and how should the quality look like. so where is the sweet spot between like these two dimensions of data quantity? Versus data quality.
这同样取决于你处在训练的哪个阶段,以及你的实际目标是什么。 我觉得这里存在一种权衡,我们之前已经讨论过了,对吧? 数据规模与,呃,质量之间的权衡。 每次训练,比如每次进行大规模预训练时,你都得找到那个最佳平衡点,因为…… 取决于你使用的架构,这个平衡点可能会大不相同。 这是你需要做的核心预训练实验之一,或者说,是规模化之前需要做的实验之一。 基本上,你需要做一系列阶梯式实验,来了解或者预测大规模训练时究竟需要多少数据,以及数据质量应该达到什么水平。 那么,在数据数量这两个维度之间,最佳平衡点在哪里? 也就是数据数量与数据质量之间。
Any other major jumps that we want to call out. So flux one context was a big one flux 2 flux tools action. We talked a bit about any other.
还有哪些重大的进展值得特别提一下? Flux 1 Kontext 是一个重要进展,还有 Flux 2、Flux Tools、Action。 我们稍微聊过一些,还有别的吗?
I mean, i think the three sizes that's very important and in terms of like, you know, the dev models and initial chanel chanel.
我是说,我觉得三种尺寸非常重要,还有 Dev 模型以及最初的 Schnell,Schnell。
Yeah. What is now? Now it means fast and german.
对。 那现在呢? 现在,它在德语里是“快”的意思。
I think you probably covered that in a book list. But yeah, i think that like is you have open source, you have to close. source and you you have the range of performance. I think that makes sense.
我想你可能在书单里提到过这一点。 不过是的,我觉得你们既有开源,也有闭源。 而且涵盖了不同的性能范围。 我觉得这样很合理。
Yeah, I mean, yeah, I mean I guess if like anything to track on is like okay, well the one like thing that made me quite sad that we didn't quite get in with Flux Context is that it was only single image edit because I mean I saw it was very clear that there was like a huge need for for multi-image, like people you know want to be able to put in many many different images and and relate them. References. References is a better word here, yeah.
对,我是说,如果还有什么值得继续聊的,那就是有一件事让我挺遗憾:我们在 Flux Kontext 中没能实现它,那就是它只能编辑单张图像。因为我很明显地看到,大家对多图像功能有巨大的需求:人们希望能够输入很多不同的图像,并把它们关联起来。 参考素材。 这里用“参考素材”这个词更准确,对。
Many many different references. Which I think Grok is like king right now.
很多很多不同的参考素材。 我觉得 Grok 现在在这方面堪称王者。
Or I I I don't know the state of it.
或者说,我、我、我也不知道它现在的情况。
I know I know Midjourney does quite a bit on style books where you can build up references.
我知道,我知道 Midjourney 在风格库方面做了不少,你可以在里面积累参考素材。
Yeah, I mean they they've always been very good at like the style style reference, but this is more just like general like like Flux Context would only take one image and so it was just you could only iterate with that.
对,我是说,他们一直很擅长风格参考,不过这里说的更宽泛一些。比如 Flux Context 只能接收一张图片,所以你只能基于那张图迭代。
So you have a bad photo of one person, that's all you have. But you could have three different photos of the same person.
所以如果你只有一个人的一张糟糕照片,那你就只能用这张。 但你也可能有同一个人的三张不同照片。
But it was actually general enough, I remember it was it was actually quite funny, people were like doing workflows where they were stitching a bunch of like images into one image to like emulate it. but then with flux 2, we finally were able to spend the time to kind of build out the data and actually do this larger scale training for handling. i think it was 10 reference images at the time. so essentially building up much more context to work with then. yeah.
不过它其实已经足够通用了,我记得当时挺有意思的,有人会把一堆图片拼成一张图,用这种工作流程来模拟多图输入。 但到了 Flux 2,我们终于能够花时间构建数据,并进行更大规模的训练来处理这个问题。 我记得当时是 10 张参考图片。 所以基本上就是积累更多可供使用的上下文。 对。
which is again, also a lot of a, to a large extent of data, a data problem that you just need the data. yeah.
说到底,这在很大程度上也是个数据问题,你就是需要数据。 对。
as many references as you have. yeah. is there a practical limit? so, you know, let's say the industry standard is like 10 characters. 18 characters, that's it, right?
有多少参考素材就用多少。 对。 实际应用中有上限吗? 比如说,行业标准是 10 个角色。 18个角色,就这些,对吧?
Yeah, I don't need a hundred. Obviously you can show crazy numbers on how many on how many characters you or like like images you can get into one image or also video, but there there are like that is agent work then to to to get me 100 references.
对,我不需要一百个。 显然,你可以展示很惊人的数字,比如一张图片里能放多少个角色或参考图,视频也一样。但给我找来100个参考素材,那就是智能体要做的工作了。
Which is the easy thing, right?
那是容易的部分,对吧?
It's agent work. But then I need to check it, like I I then I have to review 100 images if that is actually what I it's actually also a hard creativity problem, like how should I where should I put these kind of 100 images, right? So I think without like like over-indexing on the number, everything that goes up like like over over 10 10 references is also hard to follow for a human, I think. Like if if you say, okay, we want to be creating a. a video, right? i obviously can put in 50 people there. but if you look at the most important movies, how many central characters do we have? like five.
那是智能体的工作。 但接着我就得检查,我得审看100张图片,确认它们是不是我想要的。这其实也是个很难的创意问题:我该怎么安排、把这100张图片放在哪里,对吧? 所以我觉得,不必太纠结于数量,一旦参考素材超过10个,人也很难跟得上。 比如说,我们想要创作一…… 一段视频,对吧? 我当然可以在里面放50个人。 但看看那些最重要的电影,有多少个核心角色呢? 大概五个。
six maximum. unless you're avengers.
最多六个。 除非你拍的是《复仇者联盟》。
exactly. that is then also at some point approaching the kind of limit of what we humans can actually kind of process in a two-minute clip or something.
没错。 再多的话,也就逐渐接近我们人类在两分钟短片之类的内容中实际能处理的信息量极限了。
this also gets way, like, coming back to the, i know you mentioned the evals earlier, building evals for larger, like, contextual models becomes a much bigger process. Like even for, like we we ended up releasing a uh an open eval set for um I think it was Context Bench, which was built off the internal bench that we used to evaluate context. And then as you scale up how many references...
回到刚才的话题,我知道你之前提到了评测,为上下文更长的模型构建评测,整个过程会复杂得多。 比如说,我们最后发布了一个开放评测集,我记得叫Context Bench,它是基于我们内部用来评估上下文能力的基准构建的。 然后随着参考素材的数量增加……
Oh, I haven't seen this.
哦,我还没见过这个。
Okay. Yeah, yeah, please please pull up Context. This was a lot of work, but it'll kind of it was actually quite fun to put this together.
好的。 对,对,请把 Context 调出来。 这花了不少功夫,不过把它做出来其实还挺有趣的。
Make the cat very fat.
把猫弄得非常胖。
Yeah, I mean it was we literally I remember sitting in the back room of our SF office with like a few of the other guys, like me and Tim were uh were laughing. Tim Dohrn is another one of the great great guys at OpenAI.
对,我是说,我记得当时我们几个人坐在旧金山办公室的后屋里,我和 Tim 都笑了。 Tim Dohrn 是 OpenAI 的另一位非常非常棒的同事。
I feel like so like do you just like take some edibles and just go like...
我觉得,所以你们是不是吃了点大麻软糖,然后就……
I mean we just we're sitting there late we're sitting there late at night literally just typing in the like we're just pulling images and typing in the stupidest things. I mean it works, right? Yeah, that that like it but it's like real like I don't know so because...
我是说,我们就是深夜坐在那里,找来一些图片,然后输入最蠢的东西。 我是说,这确实有效,对吧? 对,那……但这是真的,我也不知道,所以因为……
And in the end you always you need to kind of... make one step to make it a kind of...
最后你总是需要再做一步,让它成为一种……
And we want to cover... what is what is ground truth? Yeah.
我们还想谈谈……什么是真值? 对。
you need to make sure that we have a ground truth somewhere. Yeah. No, this is just a benchmark basically, it's just inputs. Right, but where's the... How do you evaluate the output? Where's the eval? I mean, that is the interesting thing, right? You just ask people, this is a public bench to give everyone like...
你需要确保我们在某处有一个真值。 对。 不是,这基本上只是一个基准测试,只有输入。 对,但那……你怎么评估输出呢? 评估在哪里? 我是说,这正是有意思的地方,对吧? 你只需要问大家,这是一个公开的基准测试,让每个人都能……
I see. This is the eval.
明白了。 这是评测集。
Yeah, yeah. No, this is the eval and then you you have two models that you want to compare, right?
对,对。 不是,这是评测集,然后你有两个想要比较的模型,对吧?
Yeah, yeah, exactly. Yeah.
对,对,正是这样。 对。
yeah. So it's not a validation set in that sense.
对。 所以从这个意义上说,它不是验证集。
it's just a eval set. This is just Dustin sitting in a room.
它只是一个评测集。 这就是 Dustin 坐在房间里想出来的。
This is just a room of... genuinely like 80% of this is that. Like it it's um...
这就是一个房间里的……说真的,这里面有80%都是这么来的。 就是,它,嗯……
Also heavily influenced by our, I think by our Italy offsite.
我觉得也深受我们那次意大利团队活动的影响。
Yeah, why don't you do like a Mad Libs like, like a combinatorial explosion type thing that is more structured than just random inspiration.
对,你为什么不做点像 Mad Libs 填词游戏那样的东西,比如那种组合爆炸式的东西,结构比单靠随机灵感更严谨?
So, so, so, I mean, now we're doing, we definitely do more stuff like this, I will say. So one of the things is there were, I mean, there were certain things we had to like filter out for the public set on here because it's just there were some very dumb things in the internal thing, you know, in the internal set, but um... i don't know. i spend a lot of time. i like to see how people actually use our models. okay. and i'm someone that actually really likes to use our models. i think it's very, very important that you test and play, like really just play. i'll say play with your models. like memes. like memes. like, yeah, like use it for what people actually want to use it for. like i came, like i said, i came from discord open source communities on this. you see people doing the stupidest things, but it's like this is people having fun with it. and it's so a lot of this set, you know, besides trying to cover a bunch of actual use cases. uh like production use cases which which which are very important, I also want to make sure it's just like the models are fun to use, you know?
所以,所以,所以,我是说,我们现在确实做了更多这样的事情,这一点我可以说。 其中一个问题是,我是说,我们不得不从这里的公开集中筛掉某些东西,因为内部的东西里,你知道,内部集里有些东西实在太蠢了,不过,嗯……我也不知道。 我花了很多时间。 我喜欢观察人们实际上是怎么使用我们的模型的。 好的。 而且我自己也是个非常喜欢使用我们模型的人。 我觉得测试和玩一玩非常非常重要,就是真的去玩。 我会说,玩一玩你的模型。 比如做梗图。 比如做梗图。 对,就是把它用在大家真正想用它做的事情上。 就像我说的,我是从 Discord 上相关的开源社区走过来的。 你会看到人们做一些特别傻的事情,但这就是大家在用它找乐子。 所以,这套评估中有很多内容,你知道,除了尝试涵盖大量实际用例之外, 呃,比如生产环境中的用例,这些当然非常重要,我还想确保这些模型用起来很有趣,你懂吗?
And so yeah. Good good vibe eval vibe bench.
所以,是的。 好的,好的,氛围评估,氛围基准测试。
Exactly. Yeah yeah. What I think is like I I I underappreciated three years ago which was like yes this is memes, yes this is like a Midjourney whatever subscription, but like it actually becomes very real work. Yeah, exactly. Absolutely like because they've done it for fun, then they're like, oh I can do this at And.
没错。 对,对。 我觉得三年前我低估了一点:没错,这些是梗图,没错,这可能只是个 Midjourney 之类的订阅服务,但它实际上会变成真正的工作。 对,没错。 完全是这样,因为他们一开始只是为了好玩,后来就会想,哦,我可以在 And 做这个。
effectively also like when you when you automatically eval these these models like you there's a bunch of obviously human evals that everyone is doing in the field, but every evaluation will have their blind spots. And you you you should be combining as many independently as possible to get a picture that is as good as possible of like how the model is performing. But that doesn't like remove the burden from you to kind of or it's not a burden, it's actually super fun to then sample the model yourself and like try to understand where are the strengths, where are the weaknesses. Like this is this is a core part of developing a model is actually constantly sampling when developing it and checking hey is it is it where I would expect it to be.
实际上,当你自动评估这些模型时,显然业内所有人也都在做各种人工评估,但每种评估都有盲点。 你应该尽可能多地结合各种独立评估,尽可能全面地了解模型的表现。 但这并不能免除你自己去做的责任,或者说这也不是负担,其实特别有趣:你可以亲自对模型进行采样,试着了解它的优势和弱点在哪里。 这就是开发模型的核心环节:在开发过程中不断采样并检查,看看它的表现是否达到了你的预期。
right? At some level it's like what you guys care about too, right? Like these are your use cases. It's a good way for if you want something to get better, like make a little benchmark and see how things perform.
对吧? 某种程度上,这也是你们关心的事,对吧? 这些就是你们的使用场景。 如果你想让某样东西变得更好,一个好办法就是做个小型基准测试,看看表现如何。
No, absolutely. I think it's very important that the people building the models actually like. like want to use the model. Like I think this is very important.
没错,完全同意。 我认为,构建模型的人真正想…… 想使用这个模型,是非常重要的。 我觉得这非常重要。
There's a big distinction in this and like the microphone brand trying to, you know, use it for product photos. A very niche use case that they can min max on compared to remove.
这和一家麦克风品牌想用它来制作产品照片,有很大的区别。 那是一个非常小众的使用场景,他们可以针对它进行极致优化,相比之下,Remove……
Very general. Yeah. Yeah, I think one thing I do doubt or question is that it was a very well known Midjourney's loop, which is the it's Discord, everyone sees like other people prompting, you get the four options, you choose the four, that is feedback for your next model. How come you didn't do any of that?
用途非常广泛。 对。 对,我有一点疑惑:Midjourney的反馈循环非常有名,它用Discord,大家都能看到别人输入的提示词,你会得到四个选项,再从中选择,这就为下一个模型提供了反馈。 你们为什么没有做这些?
We didn't do it publicly at scale.
我们没有公开大规模地做这件事。
So every one of it valuable to do.
所以这些都是值得做的。
it can be valuable, but i think only up to a certain extent that if you then like cross certain limits, the signal that you get is pretty pretty like early days. We saw these insane potential right of this, this tuning say of major news models like v5 or something crazy. But if your base model just reaches a certain certain kind of level of. strengths, it's actually you you don't get these super good examples anymore where you can clearly see the model improving from this and this is also a lot of noise. So there are there are a lot of other ways how you can.
这可能有价值,但我认为价值有一定限度。一旦跨过某些界限,你得到的信号就相当……就像早期阶段那样。 我们看到了这种微调的巨大潜力,比如对Midjourney的V5之类的模型进行微调,效果惊人。 但如果你的基础模型本身达到了一定的…… 能力水平,实际上你就不再能得到那些特别好的样本,让你清楚地看到模型因此得到改进,而且其中也有很多噪声。 所以,你还可以用很多其他方法来做。
actually I had this debate as well with someone where back then it was very useful because prompt adherence wasn't great, right? Uh it's pretty judgmental on which one follows the prompt better when neither of them do it great, right? So you have a lot of preference tuning towards there's very high signal and okay the people prefer this. Now back to my point a lot earlier like. if i take the top five models and tell them to remove a bed, it's all going to look the same to me. the preference, there's not that much signal, right? they're all filling it in pretty good because there's like, they understand this task very well. so that side of the eval for me is kind of gone. it all looks fine.
其实我也曾和人讨论过这个问题。那时候这很有用,因为模型对提示词的遵循能力不太好,对吧? 呃,当两个结果都没怎么遵循提示词时,判断哪一个遵循得更好就比较主观,对吧? 所以你会进行大量偏好调优,因为这里的信号很强:好,人们更喜欢这个。 现在回到我之前提到的那个观点。 如果我让排名前五的模型移除一张床,对我来说,结果看起来都会一样。 在偏好方面,能得到的信号就没那么多了,对吧? 它们填补得都相当不错,因为它们非常理解这个任务。 所以对我来说,评估的那一部分基本上已经不存在了。 看起来都不错。
but i was going to jump and say that was actually one of my favorite parts of moving into context is finally it wasn't just like, i don't know, it was finally just like, okay, did it actually just do the task? and i really enjoyed getting to these like very kind of clear concrete tasks.
不过我正想插一句,这其实是我最喜欢转向 Context 的原因之一:终于不再只是那种,我也不知道怎么说,终于可以直接问,好,它到底完成任务了吗? 我真的很喜欢能够处理这些非常明确、具体的任务。
one more part of the tech tree and then we want to go into robotics in action. auto regressive image gen. it seems like a big trend with both gemini and ChatGPT doing it. like, is that as big an impact in your mind as it is in ours? you know what i mean? like, it seemed like a very big change because then you could conversationally edit. it is the next obvious step. from context, uh, flux context, where instead of editing with an image and text prompt, you're conversationally working with a model.
再聊技术树上的一个部分,然后我们想谈谈机器人实际应用。 自回归图像生成。 Gemini 和 ChatGPT 都在做,看来这是一个大趋势。 你觉得它的影响和我们认为的一样大吗? 你明白我的意思吧? 这似乎是一个很大的变化,因为有了它,你就可以通过对话进行编辑。 这显然是下一步。 从 Context,呃,Flux Context 出发,不再是用图像和文本提示词来编辑,而是通过对话与模型协作。
that i would say is not a feature of autoregressive models only. it's just based on the data you train on it. and like you can get language capabilities into a diffusion model as well, right? yes. which we know is working. and i said in long term, this is where we believe this will also go into and where we're working towards to also get more modalities in, including this language part, right? so it's not a question of the algorithm there. it's just a question of like what you focus on, basically. i think both approaches are extremely exciting and have a lot of strengths and a lot of like shortcomings. i would say auto-regressive models are way more data efficient. you can train them way better in data because every like. for diffusion models, you have this trajectory from data to noise, right? and every training example you're training on is effectively, because you have this continuous path from data to noise in between, is giving you rise to infinitely many training examples. because you can pick every possible spot to denoise from this trajectory between data and noise for one example. obviously, the model would overfit if you would only train on this one example. Theoretically, it's just like one training example is giving or one data point is giving rise to infinitely many training examples. Whereas autoregressive models can just train on all the tokens in parallel basically and get the maximum gradient from each training example. That's the training side. So there I would say autoregressive models are more data efficient. However, at the sampling at sampling time, autoregressive models have to don't get across that. They have to autoregressively create one token after the other because they're iterative in this. like data direction, right? and diffusion models, you can just go down and distill 50 steps down to four. and by that, you can speed that up so much, which is on the autoregressive side, just not possible because you have to autoregressively generate token after token after token. so these are just two...
我想说,这并不是自回归模型独有的特性。 这只取决于你用来训练它的数据。 而且你也可以让扩散模型具备语言能力,对吧? 对。 我们知道这行得通。 我说过,从长远来看,我们相信这也是未来的发展方向,我们正在朝这个方向努力,让它能够处理更多模态,包括语言这一部分,对吧? 所以这不是算法的问题。 基本上只是你选择把重点放在哪里的问题。 我认为这两种方法都非常令人兴奋,都有很多优点,也有不少缺点。 我认为自回归模型的数据效率要高得多。 利用数据训练它们的效果要好得多,因为每个…… 对于扩散模型,你有一条从数据到噪声的轨迹,对吧? 你训练所用的每个训练样本,实际上因为数据和噪声之间存在这条连续路径,都能产生无穷多个训练样本。 因为对于一个样本,你可以选择数据和噪声之间这条轨迹上的任意位置作为去噪的起点。 当然,如果你只用这一个样本训练,模型就会过拟合。 理论上,一个训练样本,或者说一个数据点,就能产生无穷多个训练样本。 而自回归模型基本上可以对所有 token 并行训练,并从每个训练样本中获得最大的梯度。 这是训练方面。 所以在这方面,我认为自回归模型的数据效率更高。 然而,在采样时,自回归模型却无法做到这一点。 它们必须自回归地一个接一个生成词元,因为它们在这个过程中是迭代式的。 比如在数据方向上,对吧? 而扩散模型可以直接把50个步骤蒸馏到4个。 这样就能大幅加快速度,而在自回归模型这边,这是不可能的,因为你必须一个接一个地自回归生成词元。 所以这只是两个……
wait, you make it sound like it's just worse then.
等等,照你这么说,自回归模型不是更差吗?
so autoregressive generation is in that respect, it has a limitation? but on the other side, if fusion has in the terms of data efficiency or training, there's also limitation. so we actually, i think it's, i like both approaches. we've also been working on autoregressive models like long, long, long back. and both is super exciting, i would say.
所以自回归生成在这方面有局限? 但另一方面,扩散模型在数据效率或训练方面也有局限。 所以其实,我觉得我两种方法都喜欢。 我们也在很久、很久、很久以前就开始研究自回归模型了。 我会说,这两种方法都非常令人兴奋。
so on data efficiency, auto-aggressive wins out, though? yeah. okay. so scale. i guess one of the other big things that you see having talked to people that worked on both like ChatGPT and midgen is. how you can add in the loop RL like agentically so models can do agentically you know generate something reason on it edit the image and continue that workflow. They can do that. And this is but this is separate than pipelining in diffusion generation right? It's all the one same model doing it where as you train that in on a data level you know you can scale that. Um I guess is there a counter to this in diffusion or?
不过在数据效率方面,自回归模型更胜一筹? 是的。 好的。 那么,说到规模。 我想,在和参与过ChatGPT和Midjourney的人交流后,你会看到的另一件大事是, 如何把强化学习加入循环,让模型以智能体的方式生成内容、进行推理、编辑图像,并继续这个工作流程。 它们可以做到这一点。 但这和在扩散生成中使用流水线是两回事,对吧? 这些都是由同一个模型完成的,而当你在数据层面训练它时,就可以扩大规模。 嗯,我想问,扩散模型在这方面有应对方法吗?
There's no inherent limitation to that you couldn't have a model that is diffusion based do the exact same process that can do all of these aspects.
这不存在什么内在限制,完全可以让一个基于扩散的模型执行完全相同的流程,做到所有这些方面。
Yeah this is really like I had the wrong basically nano banana happen and I was like holy shit like. Auto regressive is the thing but you're saying it's not.
对,这真的让我觉得我之前基本上把 Nano Banana 搞错了,我当时就想,卧槽。 我以为关键是自回归,但你说并不是。
Am I wrong that isn't anything? No, no.
我是不是搞错了,那根本不是什么东西吗? 不,不。
no, no, no. Was diffusion?
不,不,不。 是扩散模型吗?
I think it is diffusion based. I think the auto like it is. Oh, it was a 16 bit. And I don't have like insider knowledge here so I might be wrong but I'm pretty sure it's it has the language component to do like auto regressive but it is like I think it's what we'd call like a transfusion model. So like it's a you know it can essentially do both. But there's no yeah there's no inherent limitation that says you you have to do it one way or another. And it's not like we're... they're they're explorations.
我觉得它是基于扩散的。 我觉得那个自回归……好像是的。 哦,是 16 位的。 我并没有内部消息,所以可能会说错,但我很确定它有语言组件来进行自回归,不过我觉得它属于我们所说的 transfusion 模型。 所以,你知道,它基本上两种都能做。 但确实没有什么内在限制规定你必须用某一种方式。 而且也不是说我们……这些都是探索。
Yeah, yeah, yeah. What I'm getting is that it's not it's not settled consensus and I thought it was that auto there was a wave of people shifting from diffusion to autoregression for image generation.
对,对,对。 我明白了,这还没有形成定论,但我原以为已经有了:曾经有一波人从扩散模型转向用自回归来生成图像。
I think there's a lot of there there's a lot of exciting research on that end right now going on. Like I I will say there there's some very impressive work out there. Obviously we've seen models work extremely well on that front. The same is going on for for flow matching is also improving. Like I I would say the debate is not settled yet. Like there there's still significant research on both fronts going on right now. And I think I think it's important to to watch both and be you know try both because I be. excited about the.
我觉得目前这方面正在开展很多令人兴奋的研究。 我得说,确实有一些非常出色的成果。 显然,我们已经看到一些模型在这方面表现得极其出色。 流匹配也是一样,也在不断改进。 我会说,这场争论还没有定论。 现在两个方向都仍有大量研究在进行。 我认为关注并尝试这两种方法都很重要,因为我…… 对这个感到兴奋。
you know, it's funny, the same is happening for robotics as well. we have, we have VLAs versus WAMs basically, which is super, super interesting as well.
你知道,有趣的是,机器人领域也在发生同样的事情。 基本上,我们有VLA和WAM两种路线,这也非常非常有意思。
yeah. the last other thing i guess is there's also the diffusion for text, right? so there's also some of that. so there's benefits. there's of course speed, right?
是的。 我想最后还有一点,就是文本扩散模型,对吧? 所以也有这方面的研究。 这也是有好处的。 当然有速度方面的优势,对吧?
you can see that already like with text, you see it clearly, right?
你已经能看到这一点了,在文本方面看得很清楚,对吧?
how long we got diffusion gem.
我们已经有了Diffusion Gem
ma that people can play around with too. will they ever reach parity? is it just a matter of investment in money and data or like. You know. I would say a lot of it is data. If it doesn't work, why doesn't it work? My simple answer is that we we reason left to right. We don't reason, you know, and diffuse into into vision.
ma,大家也可以试着玩玩。 它们最终能达到同等水平吗? 这只是资金和数据投入的问题,还是说…… 你知道。 我认为很大程度上是数据的问题。 如果行不通,为什么行不通? 我的简单回答是,我们是从左到右进行推理的。 我们不会一边推理,一边扩散成视觉图像。
At the same time you like, I don't know, we we with autoregressive models, I think a lot of people like to focus on the the the, you know, step by step of the of the tokens, but at the same time it also can parallelize. Like we we can't just take in a whole book at the same time as well, which those models can.
同时,你知道,我觉得谈到自回归模型,很多人喜欢关注词元一步一步生成的过程,但它也可以并行处理。 比如,我们也没法一下子读完整本书,而那些模型可以。
So there, yeah, yeah. And you can think in latents. Yeah, yeah. I totally get it. So that's, I mean, that is the valid question, like how come diffusion for text never took off? And you know, now it's like slowly slightly better, but like.
所以,是的,是的。 而且你可以在潜在空间中思考。 对,对。 我完全明白。 所以,我的意思是,这确实是个值得问的问题:为什么文本扩散模型一直没有流行起来? 而且你知道,现在它正慢慢变好了一点,但……
i think it's just like a matter of which approach was earlier and has been like becoming for language model.
我觉得这可能只是因为哪种方法出现得更早,以及它后来如何发展成语言模型的问题。
i think as your point, you said if it's more data efficient and the world has been doing a lot of scaling, there's a side there that doesn't mean that there aren't pockets where there's use cases that you can get really good things at a certain size. the example is like, yes, diffusion gemma is pretty good and it. meets a bar and can run really fast, right? if you want that, that's great.
我觉得正如你所说,如果它的数据效率更高,而大家一直在大规模扩展模型,这只是问题的一面;这并不意味着不存在一些应用场景,能让你在特定规模下取得非常好的效果。 比如,没错,Diffusion Gemma 相当不错,而且它…… 达到了某个标准,还能运行得非常快,对吧? 如果你需要这个,那就很棒。
yeah, i mean, on the auto-regressive language front, it's, i think it really comes down to, it was simple, it was scalable, it was there early, it was like a very, i mean, it's clearly been a very successful trajectory. a lot of time and money and research has gone into making that work. there's right now a lot of very exciting research on the diffusion front, you know, and i'd like to separate the notion there's, because there's, diffusion language is really two camps, and i think a lot of people tend to not realize this because there are discrete diffusion language models, which i almost don't, i don't like to call them diffusion models, really. and this is where like the diffusion gemma and like the mercury code, like mercury models live, which is more of this like masking style model where it jumps from a mask to a token, but it's still in the discrete space. versus now there's a big wave of research right now going on continuous diffusion language models which those are actually operating as like you know I don't want to say flow matching models but they're they're they're operating in this like essentially denoising space so so more like in the direction.
是的,我是说,在自回归语言模型方面,我觉得归根结底是因为它简单、可扩展、出现得早;它的发展轨迹显然非常成功。 为了让它发挥作用,人们投入了大量时间、资金和研究。 目前扩散领域有很多非常令人兴奋的研究,我想区分一下其中的概念,因为扩散语言模型实际上分为两大阵营,我觉得很多人往往没意识到这一点。其中有离散扩散语言模型,说实话,我几乎不愿意把它们称为扩散模型。 Diffusion Gemma 和 Mercury Code 之类的 Mercury 模型就属于这一类,它们更像是掩码式模型,从掩码跳到词元,但仍然处于离散空间中。 相比之下,现在还有一大波关于连续扩散语言模型的研究。这些模型实际上是在——我不想说是作为流匹配模型——但它们本质上是在去噪空间中运作,所以更接近那个方向。
This was used for audio if I'm not mistaken. The uh audio generation. Continuous diffusion. Continuous diffusion.
如果我没记错的话,这个是用于音频的。 呃,音频生成。 连续扩散。 连续扩散。
I mean continuous diffusion is used for it's for everything yeah. Visual modeling audio modeling.
我是说,连续扩散用于——它什么都能用,对。 视觉建模、音频建模。
My last fun question there is um do we have a good way to do like GRPO style RL on pure diffusion text models?
我最后一个有趣的问题是,嗯,我们有没有好的方法在纯扩散文本模型上做类似 GRPO 的强化学习?
Yeah we we're doing this actually. Okay okay. so for flux 3, we did this and it has had tremendous gains that it brought us.
有,我们实际上正在做这个。 好的,好的。 我们在 Flux 3 上做了这件事,它给我们带来了巨大的提升。
so flux action, this is coming to very, very recent launches and work that you're doing. how do you approach this? what is the feedback and impact so far?
说到 Flux Action,这就涉及你们最近发布的产品和正在做的工作了。 你们是怎么做的? 到目前为止,反馈和影响如何?
yeah, it's actually like how we approach it. basically, you pre-train on, again, videos, images, audio, everything together. and then you have this very general model that understands the world. and then actually you can... you can take a bit of action prediction data, basically you add kind of predictions in the state space of this robot, which is basically a kind of a parameterization of here is this robot arm, which every joint will be described by a translation and a rotation, six degrees of freedom basically. and then you predict that together with a video. and since the model can already reason about the video and what it needs to. create or to fulfill a certain task in video space, it's actually very simple to then add this new dimensionality or this this this new dimension, this state space, how we call it, and then basically predict that as well, given a chunk of earlier video, condition it on that, and an instruction, basically the model creates the next chunk of actions to basically fulfill um this action. And this this works extremely good. It's we can do it in the real world, like for real world robots, we can do it in simulation, like computer use is also kind of a mapping of that to the digital world and we can like we can make the model play games, right, and stuff like that. so this is all enabled by this single flux 3 model. and then you see also that it's extremely capable because we have this very general pre-training, which is not only limited to, say, classic robot data, but actually all kinds of data that gives a model just this inherent world understanding that you also see then in performance. and being a diffusion model is also pretty speedy, as we see here with these distilled versions, basically, right?
对,我们的做法其实是这样的。 基本上,同样是把视频、图像、音频等所有东西放在一起进行预训练。 然后你就有了一个理解世界的通用模型。 接着你可以……加入一些动作预测数据,基本上就是增加对机器人状态空间的预测。这其实是一种参数化表示:比如这里有一个机械臂,每个关节都用平移和旋转来描述,基本上就是六个自由度。 然后你把它和视频一起预测。 由于模型已经能够推理视频,以及为了 在视频空间中创作内容或完成某个任务需要做什么,所以再加入这个新的维度,也就是我们所说的状态空间,其实非常简单,然后基本上也对它进行预测。给定一段先前的视频,以其和一条指令作为条件,模型就会生成下一段动作,来完成这个动作。 而且这个效果非常好。 我们可以在现实世界中使用它,比如用于现实世界中的机器人;也可以在模拟环境中使用。像计算机操作,也算是把它映射到数字世界,我们还可以让模型玩游戏,对吧,诸如此类。 所以这些都是由这一个 flux 3 模型实现的。 你还可以看到它的能力非常强,因为我们进行了非常通用的预训练,不仅限于传统的机器人数据,还涵盖各种各样的数据,让模型具备了内在的世界理解能力,这一点也体现在它的表现上。 而且作为扩散模型,它的速度也相当快,就像我们在这些蒸馏版本中看到的那样,对吧?
Would you call this a world model or world action? Do you have a term you like to use?
你会把它称为世界模型,还是世界动作模型? 你有喜欢使用的术语吗?
This one is a world action model. I think the term world model I don't like to use.
这个是世界动作模型。 我不太喜欢用“世界模型”这个术语。
It's so overloaded. I'm the same boat with it. It feels like a homonym to me at this point.
它的含义太多了。 我也有同感。 现在它给我的感觉就像一个多义词。
Let's call this a visually intelligent model because it can do all these basic things.
我们把它称为视觉智能模型吧,因为它能完成所有这些基本任务。
right? I guess the distinction that I see in these models is you're not just predicting video or worlds, you're also predicting action states, right? So... One is what is happening in the world, what is the state, but also what is the next action to predict. So it's like sort of two outputs, right? So...
对吧? 我觉得这些模型的区别在于,你不只是预测视频或世界,还要预测动作状态,对吧? 所以……一方面是世界中正在发生什么、状态是什么,另一方面还要预测下一个动作。 所以算是有两个输出,对吧? 所以……
Is there a target frame rate uh that you target that is industry standard? Because you don't have to predict out that far. It's my plan, it's my idea.
你们有没有设定一个符合行业标准的目标帧率? 因为你不需要预测那么远的未来。 这是我的计划,是我的想法。
You mean in terms of the real-time factor? Like how how it's like 10 FPS I think um what the model currently runs.
你是指实时性方面吗? 比如,呃,我想模型目前运行的速度大概是每秒10帧。
Very small model. And you're projecting out... like one fps or five fps. sorry, one frame, five frames.
非常小的模型。 而你向未来预测……比如每秒一帧或每秒五帧。 抱歉,一帧、五帧。
whatever, right? i would have to look it up. i think it's a small chunk of frames, i would say, like in between nine and 21 frames that it then predicts again. and then the model is conditioned on the previous generations again and what the camera, when it runs on the robot, what the camera actually perceives, right? and then you basically predict this further. so it's a bit of a chunk. it's not running auto-regressively, so to say, in time, basically, but it's a chunk prediction.
反正就是这样,对吧? 我得查一下。 我想是一小段帧,大概是9到21帧,然后它再进行预测。 然后,模型再次以前面生成的内容为条件,而且当它在机器人上运行时,还会以摄像头实际感知到的内容为条件,对吧? 然后基本上就是继续往后预测。 所以它是按小段来处理的。 可以说,它基本上不是在时间上自回归运行,而是按段预测。
What I'm driving at is like this video prediction side that is very much for predicting the results of what you do, but so probably you need some kind of long-range planner existing outside of that model that will coordinate the actions that...
我想说的是,视频预测这一部分主要是用来预测你所做的事情会产生什么结果的,所以你可能需要某种存在于该模型之外的长期规划器,来协调那些行动……
I mean this is this is why we're discussing the language side earlier. Yeah.
我的意思是,这就是我们之前讨论语言方面的原因。 对。
Yeah. So as it runs right now what we see is that there's no plan like like high-level planner involved or something. This is just a model running on a on a on a loop. Yeah.
对。 所以就目前的运行方式来看,我们看到其中没有涉及计划,比如高层规划器之类的东西。 这只是一个循环运行的模型。 对。
Some of the interesting research here... This is what we did with uh Dyna Robotics. Yeah. Um Dyna has one, uh Runway has one. I guess talk about the fine-tuning side. So if I want to take your general model, fine-tune it for a new robot with a new task, not something super crazy, but you know... Something that's out of distribution, it hasn't seen, say it's my own home robotics. I can program in how to use a humanoid arm or whatever. Uh, what is that process like? How long does it take? How important is that in fine-tunability?
这里有一些有趣的研究……这是我们和 Dyna Robotics 合作做的。 对。 嗯,Dyna 有一个,呃,Runway 也有一个。 我想聊聊微调方面。 如果我想拿你们的通用模型,为一个新机器人和一项新任务进行微调,不是什么特别离谱的任务,但你知道……是模型分布之外、它没见过的东西,比如我自己的家用机器人。 我可以通过编程教它使用人形机械臂之类的东西。 呃,这个过程是怎样的? 需要多长时间? 这对微调能力有多重要?
Also again, like since this model is so general and and the pre-training was so nice, um, it it takes like compared basically you you need a bunch of hours. I think we showed one example, um, where we compared it with, um, I think it was Poly5, which was also uh open source, right? Yeah. It took eight times less data to basically train on it. We that was for an industry application, it was like four hours of data that we that we needed basically. To get to a success rate that was like good enough for this basic application.
还有,同样因为这个模型非常通用,而且预训练做得很好,嗯,基本上相比之下,你只需要几十小时的数据。 我记得我们展示过一个例子,嗯,我们把它和,嗯,我记得是 Poly5 做了比较,它也是开源的,对吧? 对。 基本上,训练所需的数据量减少到了八分之一。 那是一个工业应用,我们基本上只需要四小时的数据。 就能达到足以满足这个基本应用的成功率。
And is that thing you kind of want to help climb on right now?
那是你们现在想帮助推进的方向吗?
Or is that like we go back to the context thought? Yeah, we shouldn't be doing fine tuning. What we are targeting and what bill working on right now, extremely carefully and with a lot of focus in context, learning for this is you should be showing a robot in action one time. and then it should be able to do this. and this would be truly a superhuman intelligence. like if you look at how long it takes us as children to learn walking, to learn using our thumb correctly to grab this can, for instance, right? this is like weeks and even months of learning that it takes us to do this. our vision is that robotic, like an autonomous robot should be able to observe any action once and then be able to do it. that is what... would be a clearly superhuman kind of visual intelligence and that is what we want to be reaching.
还是说,我们要回到上下文学习的思路? 对,我们不应该做微调。 我们的目标,也是 Bill 目前非常认真、专注地研究的方向,是让机器人通过上下文学习:你只需要向机器人演示一次动作, 然后它就应该能够做到。 而这将是真正超越人类的智能。 比如说,看看我们小时候要花多长时间学会走路,学会正确使用拇指来抓住这个罐子,对吧? 我们要花好几个星期甚至几个月才能学会做这件事。 我们的愿景是,机器人,比如自主机器人,应该只观察一次动作就能学会做这个动作。 那将会是一种明显超越人类的视觉智能,也是我们想要达到的目标。
what is the standard now? how many demonstrations do we need?
现在的标准是什么? 我们需要演示多少次?
it's around like four hours of fine tuning you need at least.
至少需要大约四个小时的微调。
but even four hours is pretty good. i would say 202.
不过即使是四个小时也已经相当不错了。 我会说202……
7 will be the year where we will.
7年将是我们……
crack the challenge. mid-journey is an interesting one in here too, right? so is this like, i want to go from manufacturing to say maybe medical stuff like filling. pill capsules, like specifically like different niches for example, is that where.
攻克这个难题的一年。 这里的中期训练也很有意思,对吧? 那是不是说,比如我想从制造业转向医疗领域,比如填充…… 药用胶囊,具体转向不同的细分领域,例如,是这样吗?
I mean the model the model is trained quite generally so even even the mid-train like before fine-tuning it might be able to handle many of the like even this version might be able to handle many of the tasks you throw at it. The fine-tuning is really just nailing, you know, in the robotics world you want to you want to act you want a certain level of accuracy you expect out of it.
我的意思是,这个模型的训练本身就相当通用,所以即使在中期训练阶段,也就是微调之前,它可能就已经能处理很多任务了,即使是这个版本,也可能能处理你交给它的许多任务。 微调其实就是为了把任务做好,你知道,在机器人领域,你希望它执行动作时达到一定的精确度。
Exactly, this is just a standard plain large-scale mid-training and then we move on to this fine-tuning stage where we add the high quality robotics data in. And then we get this this this further bump. But you see that already to to a somewhat good extent on mid-training the model can actually do these tasks.
没错,这只是标准的普通大规模中期训练,然后我们进入微调阶段,加入高质量的机器人数据。 然后性能会进一步提升。 但你可以看到,在中期训练阶段,模型实际上就已经能在一定程度上较好地完成这些任务了。
I guess the other interesting thing is it's a 7B, right? Is that mostly just constrained from these things are deployed?
我觉得另一个有趣的地方是,它是一个7B模型,对吧? 这主要是受这些东西部署方式的限制吗?
Exactly. You want to be having you want to be having a model that is as small as possible because you need to be able to act first on device if you want to be. adding this to a manufactury, basically, and then also in real time.
没错。 你希望模型尽可能小,因为你需要能够先在设备上运行,如果你想…… 把它用到工厂里,而且还要实时运行的话。
and this is on the backbone of flux 3? yes. and do we, so it's like the image and audio.
这是以Flux 3为骨干模型的吗? 是的。 那我们,所以图像和音频,
all that stuff? all, like, this is derived from this one model, basically. we have this multimodal model. yeah. that is really important to understand. this has been trained on a huge corpus of images, videos, audio. and from that, we can derive everything that we basically released this summer, which was... Flux 3 Video, Flux 3 Video Edit, Flux 3 Action, Flux 3 Image, Flux 3 Image Client. We also derived an upscaler from it. We have a super nice 4K uh video upscaler which is I think super fast also, can only recommend, it's pretty good. And this is all powered by this one model and this this shows how training these very general models actually compounds then over time because you can derive all these applications from them.
所有这些东西? 基本上,这些全都是从这一个模型衍生出来的。 我们有这个多模态模型。 嗯。 理解这一点非常重要。 它是在海量图像、视频和音频数据上训练出来的。 我们今年夏天发布的所有东西基本上都可以从它衍生出来,包括……Flux 3 Video、Flux 3 Video Edit、Flux 3 Action、Flux 3 Image、Flux 3 Image Client。 我们还从中衍生出了一个超分辨率模型。 我们有一个非常棒的4K视频超分辨率模型,我觉得速度也很快,强烈推荐,真的不错。 这一切都是由这一个模型驱动的,这也说明了训练这种通用性很强的模型,其价值实际上会随着时间不断累积,因为你可以从中衍生出所有这些应用。
right? Is there a difference between a video upscaler and an image upscaler?
对吧? 视频超分辨率模型和图像超分辨率模型有什么区别吗?
Is it just... A video upscaler, we we talked about the temporal consistency. Obviously if you would have a the same upscaler that would have like like no temporal understanding, then you would have this flickering again, this... especially in the high frequencies, you then realize, like, you don't see this too much when you look at two images side by side. you don't see that much. but if you switch between the images, that's one of the basic tasks that everyone who's looking at a lot of images does. just opening two images in two tabs and then switching left, right. you see every single difference. and that would just amount to kind of flickering in the temporal space if you wouldn't have this temporal component in the video upscaler. and that's what makes it different from an image upscaler.
这只是……一个视频超分辨率工具吗?我们之前谈过时间一致性。 显然,如果同样的超分辨率工具完全不理解时间关系,就会再次出现闪烁,尤其是在高频细节中。你会发现,把两张图并排看的时候,不太容易看出这些差异。 看不出多少差别。 但如果你在两张图之间切换——这是所有经常看大量图片的人都会做的基本操作之一—— 只要在两个标签页里打开两张图,然后左右切换, 就能看到每一个细微差异。 如果视频超分辨率工具没有这个时间维度上的处理,这些差异就会在时间上表现为闪烁。 这也是它与图像超分辨率工具的区别。
any notes on real robot evals and how to scale this? like, i see, you know, sponge and bowl three times. and at some level, like, if you look at our dynapod, there are literally people just one-off testing robots because you have to test in real scale. but like, come on. two out of three runs on sponge and bowl. just restart, do it again. you can be three out of three, right?
关于真实机器人评测以及如何扩大评测规模,有什么想法吗? 比如,我看到海绵和碗这个任务出现了三次。 而且从某种程度上说,如果你看看我们的 Dynapod,确实有人在一次次单独测试机器人,因为你必须在真实尺度下进行测试。 但拜托。 海绵和碗这个任务三次运行成功了两次。 重新开始,再做一次。 这样就能三次成功三次了,对吧?
It's it's a hard problem. I think one one one uh thing that's constantly being worked on is just closing the sim-to-real gap and this will get better and better and better over time. But to be honest, evals, no matter where you do it, it's a painful thing. It's also painful when you when you look at the content creation evals. Like ask three different groups of voters what a good image looks like and you would get you you you will get three different answers.
这是个难题。 我认为大家一直在努力做的一件事,就是缩小仿真与现实之间的差距,随着时间推移,这会变得越来越好。 但说实话,不管在哪里做评测,都是件痛苦的事。 看看内容创作的评测,也同样痛苦。 比如,问三组不同的投票者什么样的图像算好,你就会得到三种不同的答案。
You'll have wars over it. Yeah. We we have wars over it internally. We have wars over this.
你们会为此争得不可开交。 对。 我们内部也会为此争得不可开交。 我们会为这件事争论不休。
But that's evals are just for generative modeling, evals are just hard. Yeah. Yeah.
不过评估就是这样,对于生成式建模来说,评估就是很难。 对。 对。
Is this already like how developed is the commercial side?
现在商业化方面发展到什么程度了?
We will have.
我们会有
more things coming.
更多东西推出。
I cannot tell too much but there will be soon first BFL, BFL powered robots in production live basically. 2027 will be the year of robotics.
我不能透露太多,但很快就会有首批由BFL驱动的机器人投入生产,正式运行。 2027年将是机器人之年。
Oh absolutely. Okay, say more on predictions. Where do we go from this in 2027?
哦,绝对是。 好,再多说说你的预测。 到了2027年,我们会发展到什么阶段?
How how fast do things pick up?
发展会以多快的速度加快?
Single shot learning. Yeah, in context learning is a is a big is a big thing we'll see first. We'll see first commercial applications of these things in real manufactories. That's that's why it's actually good that we have this German base because there's a ton of uh industry data. and obviously lots of potential for partnerships. people are really hungry for robotics, i would also say. so there's a good bunch of synergies that we want to be using to actually make 2027 the year of robotics.
单样本学习。 对,上下文学习是我们首先会看到的一项重大进展。 我们会看到这些技术首次在真正的工厂中得到商业应用。 这就是为什么我们把基地设在德国其实很有利,因为这里有大量的工业数据。 而且显然有很多合作的潜力。 我还想说,人们对机器人技术真的非常渴望。 所以有不少协同机会,我们希望加以利用,真正让2027年成为机器人之年。
i'm very excited about it. the research on this is also moving very quickly. so i suspect that robotics will improve very quickly. yeah.
我对此非常兴奋。 这方面的研究也在飞速发展。 所以我预计机器人技术会进步得非常快。 是的。
what about the side of like robotics is very physical manufacturing constraints? You can scale up tech, you can scale up models, but that's it's pretty hard to affect, right? So predictions 2027, where where where where are we realistically on robotics? Can I buy something off the shelf that can single shot learn like?
那机器人技术受到的实体制造约束怎么办? 你可以扩大技术规模,也可以扩大模型规模,但制造方面就很难改变,对吧? 那么预测一下,到了2027年,机器人技术实际会发展到什么程度? 我能买到现成的、可以进行单次学习的机器人吗?
I suspect like later 2027, like people will be able to get some some quite interesting robotics in their house. I mean, I whether it's, you know, is it going to be able to do like fine motor tasks and all this? I I don't know. But I suspect like, and again, this is just entirely predictive. I've I've no baseline for this, but I I I suspect next year. there might be some interesting, like, you know, at least niche for like the tech side of people like us, not like, you know, the average person would be picking this up, but some interesting, potentially useful robotics in your house.
我预计到2027年晚些时候,人们可能就能在家里用上一些相当有意思的机器人。 我的意思是,它们能不能完成精细动作之类的任务? 我不知道。 但我猜,而且再说一遍,这完全只是预测。 我没有什么依据,但我猜明年…… 可能会出现一些有意思的、也许有用的家用机器人,至少对我们这样的科技爱好者这一小众群体来说是如此,而不是说普通人都会买。
and for manufacturing, i think 2027 will be a year because manufacturing is like more restricted, right? then kind of it isn't that long tail less like, say, autonomous driving and stuff like that, right? or like. Consumer robotics we we can just like do any you would ideally like to do this thing to do anything you want but for manufacturing I think there's a very good chance that we will see like a lot of applications actually being unlocked by robotics in 2026. Very much so. And that's what we are also working towards basically.
至于制造业,我认为2027年会有所突破,因为制造业的环境更受限制,对吧? 所以它不像自动驾驶之类的领域那样有那么多长尾问题,对吧? 或者说…… 消费级机器人方面,我们,我们可以做各种事情,理想情况下你会希望它能做任何你想做的事。但在制造业方面,我认为很有可能在2026年看到机器人技术真正解锁大量应用。 确实如此。 这基本上也是我们正在努力的方向。
Very much so.
确实如此。
Awesome. I mean exciting it seems like very fun place you guys have robot labs image video model.
太棒了。 我是说,真令人兴奋。你们那儿似乎很有意思,有机器人实验室,还有图像和视频模型。
Building the future. You're just missing the flying car.
正在构建未来。 你们就差飞行汽车了。
You mentioned Germany a lot but you also have a pretty big SF office. I actually didn't know there was a big European side. There's a substantial SF presence.
你经常提到德国,但你们在旧金山也有一个相当大的办公室。 我其实不知道你们在欧洲还有这么大的业务。 我们在旧金山也有相当大的团队。
Yeah it's called Black Forest Labs.
是啊,毕竟叫黑森林实验室。
Yeah. And this will like inviting everyone to come over to our place uh. 410 Townsend Street, uh, super, super nice. Yeah, coming to the home of... And we, we, we're not a European company, not, like, we're a company with roots both in Europe and the US. Absolutely. And we're acting globally, basically.
是啊。 也借此邀请大家来我们这里,呃。 汤森德街410号,呃,那里特别特别棒。 对,来到我们的所在地……而且我们,我们,我们不是一家欧洲公司,不是那样,我们是一家根植于欧洲和美国两地的公司。 没错。 我们基本上是在全球开展业务。
That's fun. We got you on because you're visiting in town and we're like.
真有意思。 我们请你来,是因为你正好来城里,我们就想……
okay, we should have you on. Yes. Yeah.
好,我们应该请你来节目上。 是的。 对。
How can people help you? Yeah. Hiring? Yeah. Looking for...
大家能怎么帮你们? 对。 招聘? 对。 在寻找……
I think just, just, uh, supporting us in marketing, talking about our models, um, helping us also here, I think, in the US, getting, getting our name out, out... in the community, we're well known. yeah. i think for like in the broader society, not that much. there's the big players, right? that's also what we need to change in 2027, really kind of getting our name out because we have extremely strong technology. i think that that's what we saw. we have a long history of having built like the core pillars of like what everyone is using, basically. it's now also time to get our name out to the kind of broader audience. yeah. but the tech community, i think we're well known. yeah.
我想就是,就是,呃,在营销方面支持我们,谈谈我们的模型,嗯,我想也帮我们在美国这边打响名气……在这个圈子里,我们已经很有名了。 对。 我觉得在更广泛的社会大众中,知名度就没那么高了。 还有那些大公司,对吧? 这也是我们需要在2027年改变的,真正把我们的名气打出去,因为我们的技术实力极强。 我觉得这是我们已经看到的。 我们由来已久地构建了大家基本上都在使用的核心支柱。 现在也该让更广泛的受众知道我们的名字了。 对。 不过我觉得在科技圈,我们还是很有名的。 对。
Apart from that, tell your mom about Flux.
除此之外,告诉你妈妈关于 Flux 的事。
So it's very interesting that the overall gen- obviously I'm a marketing guy and I help companies in marketing all the time. You guys are very different because generative media in general has a weird mixed reputation in the broader population, right? Like normally I would suggest, oh, have a TikTok or Instagram marketing campaign, but pretty much you'll be killed in just because they hate AI so much. Right? And so it's very interesting to find a niche where. This is isn't regarded as AI, it's just normal a thing you can do with tech. Mhm. But it's not AI. Yeah. Because I think the moment you say it's AI, the population will just Yeah. have pitchforks. Yeah, yeah. I don't know if you have any response or thoughts or explanations about that.
所以很有意思的是,整体的生成——显然我是个营销人,一直在帮公司做营销。 你们很不一样,因为生成式媒体总体上在大众中的口碑好坏参半,还挺奇怪的,对吧? 通常我会建议,哦,在 TikTok 或 Instagram 上搞个营销活动,但你们基本上会被骂惨,因为他们太讨厌 AI 了。 对吧? 所以能找到这样一个细分领域很有意思,在这个领域里, 这不被视为 AI,只是你用技术就能做到的一件普通事情。 嗯哼。 但它不是 AI。 对。 因为我觉得你一说这是 AI,大家就会——对。 拿着草叉来抗议。 对,对。 不知道你对此有什么回应、想法或者解释。
I think it's important to to just always also emphasize that we we we take this responsibly. We're like like not our models are not creating like avalanches of slop or something, right? They they they actually live in real use cases, uh, lots of like professional workflows and they just help. making the lives of like professional people who work with this way easier and just increasing productivity so much. it's photoshop. exactly. it's so crazy like how much more productive you are then. and that's really the kind of the goal of this on the content side. it's not about putting people out of work, not at all. it's just like making everyone's life so much easier.
我觉得重要的是,也要始终强调我们对此持负责任的态度。 我们的模型不会制造出铺天盖地的低质内容之类的东西,对吧? 它们确实应用在真实场景中,呃,比如很多专业工作流程里,确实能帮上忙。 让使用这些技术的专业人士的工作轻松得多,还能大幅提高生产力。 这就是 Photoshop。 没错。 效率能提高那么多,真的太惊人了。 而这确实就是我们在内容方面的目标。 这不是为了让人失业,完全不是。 只是为了让每个人的生活轻松得多。
yeah, i wouldn't say that. i'm just like, if i worked on your team, this is my gtm problem right now, which is like, how do we get people to... basically, you know, go viral in the same way that maybe WhisperFlow goes a little bit viral because they're like, oh yeah, I understand how to use this. It's not AI, it's just WhisperFlow. Yeah. Or it's like, it's like Granola, same thing. I think that that their the generative media hasn't had that crossover except for Nano Banana and then whenever ChatGPT had the image Studio Ghibli moment.
对,我不会这么说。 我只是在想,如果我在你的团队工作,这就是我眼下的GTM问题:我们怎样让人们……基本上,你知道,像WhisperFlow那样有点病毒式传播,因为人们会说,哦,对,我知道怎么用这个。 这不是AI,这只是WhisperFlow。 对。 或者像Granola,也是一样。 我觉得生成式媒体还没有实现那种破圈,除了Nano Banana,以及ChatGPT出现吉卜力风格图片热潮的时候。
Mm, yeah.
嗯,对。
yeah. Those kinds of like that is the crossover where it's like, oh, like this is a fun trend that I want to hop on.
对。 那类现象就是破圈了,让人觉得,哦,这是个有趣的潮流,我也想参与。
I think there were moments that hit well, like your point of the see yourself as you're older, like that had a huge moment. Like people would. look at themselves as their 80s and it's their family. there have been moments, but nothing is super...
我觉得有些时刻反响很好,比如你说的看自己老了之后的样子,那就曾经非常火。 比如人们会…… 看自己八十多岁时的样子,还有家人老去后的样子。 曾经有过这样的时刻,但没有什么特别……
i think one of the difficult pieces is it's actually very hard to predict one of these viral moments. like nano manana was their internal name, and then they just kept it because people just liked the name and it stuck. for context, actually, the one big use case that we saw a ton of usage on that we didn't necessarily expect was image restoration as well. so there was a ton of, i saw amazing, amazing examples of people... you know, taking old degraded family photos and then restoring them, colorizing them, fixing them up. but it was able to keep like a very, very high level of similarity to what the original would have been. and then, i don't know, that was actually one of my favorite moments that we've had of people showing like their family these kind of restored photos and the reactions from it. and i really, really enjoyed that like positive moment. but like i said, like we so often we can't predict like what the thing is going to be. you know, it's even with even with our old, you know, even back in the stable diffusion days, it was always surprising what the trend was, you know, online. like it just kind of they just kind of yeah, you just emerge.
我觉得难点之一是,其实很难预测这种病毒式传播的时刻。 比如Nano Manana是他们的内部名称,后来就保留了下来,因为人们喜欢这个名字,它就这么叫开了。 作为背景补充,其实我们看到使用量很大的一个应用场景,也是我们不一定预料到的,就是图像修复。 所以有很多,我看到了非常非常精彩的例子:人们把老旧、受损的家庭照片拿来修复、上色、整理好。 但它能够与原本的样子保持非常、非常高的相似度。 然后,怎么说呢,人们把这些修复过的照片拿给家人看,以及家人的反应,其实是我们经历过的最让我喜欢的时刻之一。 我真的非常、非常喜欢那种温馨的时刻。 但正如我所说,我们往往无法预测接下来会出现什么。 你知道,即使是在以前,早在Stable Diffusion时期,网上流行什么也总是让人意想不到。 它们就是那样,嗯,自然而然地出现了。
you can't plan them. i think once you have them, you need to kind of exploit them, obviously. yeah. and you should be always asking. what is the next big thing, the next capability that it has not been able, or like that models have not been able to do? what would that be? and then trying to bake this into your model. making bets, some of them will work, some others will not work. but this is just extremely important to kind of always have this mindset of, hey, what is the next thing we should be working on that will just bring a lot of joy or like... productivity increases to people.
你没法事先规划这些。 我认为一旦出现了,显然就需要好好利用它们。 对。 而且你应该始终问自己: 下一个重大突破是什么?模型目前还做不到的下一个能力是什么? 那会是什么呢? 然后尝试把它融入你的模型中。 做出一些押注,有些会成功,有些则不会。 但始终保持这种思维方式极其重要:嘿,接下来我们应该研究什么,才能给人们带来很多快乐,或者……提高生产力?
right? Well, that is the domain of research. You guys are doing amazing job. So thank you, Steve, for sharing your story. Uh, I hope more people come to know you as a team because they've they've seen a lot a lot of the model bugs, but uh, I I feel like this is also the first time I've seen I've heard the full story of BFL. Yeah.
对吧? 嗯,这就是研究的领域了。 你们做得非常出色。 所以谢谢你,Steve,分享你的故事。 呃,我希望更多人能了解你们这个团队,因为他们已经看到了很多模型的bug,但我觉得这也是我第一次听到BFL的完整故事。 嗯。
Yeah, no, thank you. Thank you so much for having me. Thank you so much. I mean, this was a it's fun to finally have gotten to do this.
嗯,不,谢谢你。 非常感谢你们邀请我。 非常感谢。 我是说,终于能做成这件事,真是很开心。
Yeah, yeah. I mean, it's a year in the making, but also, you know, I bought a bunch of uh micro ducks and I, you know, I'm looking forward to them running around.
嗯,嗯。 我是说,这筹备了一年,不过你知道,我还买了一堆呃迷你鸭,我很期待它们到处跑来跑去。
Do you have like I I want to get my hands on one. I feel like I missed the window of these being available.
你有吗?我我想弄一只。 我感觉我错过了能买到它们的时机。
You have connections.
你有门路。
I'm sure I can I'm sure I can. Whoever out there can get me a micro duck.
我肯定能,我肯定能。 外面谁能帮我弄一只迷你鸭。
get me a micro duck.
给我弄一只迷你鸭。
I'll get you a micro duck. Okay perfect.
我给你弄一只迷你鸭。 好,太好了。
I bought a bunch because I know I know it's going to be a hot gift for Christmas.
我买了一堆,因为我知道我知道它会成为圣诞节的热门礼物。
Yeah yeah yeah yeah. It's you know like uh.
对对对对。 这,你知道,就像,呃。
but but yeah you know robotics 2027 that's you know one year away like you know we'll we'll see we'll see where uh this all learns but I'm very optimistic about. This approach and I think you guys have explained it very well. Fantastic. Yeah. Amazing. Awesome. Thank you. Cool. Thanks so much. All right. Thank you.
不过不过,是啊,你知道,2027年的机器人技术,那也就还有一年,你知道,我们会看看,看看呃这一切会发展到什么程度,但我对 这种方法非常乐观,而且我觉得你们解释得非常好。 太棒了。 是啊。 太惊人了。 太赞了。 谢谢你。 酷。 非常感谢。 好的。 谢谢你。
Black Forest Labs 的 Andreas Blattmann 与 Dustin Podell 回顾了从潜在扩散、Stable Diffusion 到 FLUX 的研究与创业历程,并解释团队如何从图像生成走向视觉智能。他们讨论视频学习隐式三维信息、训练数据与去噪计算分配、FLUX Kontext 的编辑实验,以及自回归与扩散模型的取舍。访谈还涉及基于多模态预训练的机器人动作预测、真实环境评测难题和对 2027 年机器人发展的预测,为理解生成模型如何延伸到物理世界提供了研究者视角。
Andreas Blattmann 与同事在德国海德堡开展扩散研究,潜在扩散算法经扩展后促成 Stable Diffusion。Dustin Podell 原本是软件开发者,受 Stable Diffusion 发布及开源社区启发,辞职进入 Stability AI,从工程岗位出发,通过拆解模型、阅读论文和利用闲置计算资源实验逐步转向研究。BFL 团队同时汇集了学术研究者和开源社区开发者。
BFL 将视觉智能描述为从图像、视频、音频等自然信号中学习直觉式的物理与空间知识,并希望将其用于真实世界交互。Blattmann 认为二维视频可以让模型学到隐式三维结构,例如推测镜头绕到人物背后时未见过的视角;Podell 将这种学习与人类从感官信号构建世界表征作类比。Blattmann 也认为,仅靠观察之外,与环境交互可能是学习更高层智能的重要一步。
SDXL 将多宽高比训练、不同分辨率数据和预训练后的数据处理纳入基础模型。其 refiner 并非改变分辨率的放大器,而是另一个完整扩散模型:一个未发布架构擅长皮肤、草地等高频纹理,却不擅长整体结构,于是团队让基础模型生成结构,再由 refiner 补充细节。这一方案利用了去噪轨迹中结构通常较早形成、精细纹理较晚形成的区别。
视频扩散可利用时间维度压缩,但训练数据中的模糊或运动不足也会被模型学到,因此需要权衡数据质量与数量。Stable Video Diffusion 的一项实验发现,在二维视频预训练后,只需约 1000 步三维数据微调即可得到三维模型,研究者将此视为视频预训练包含空间知识的证据。逐帧拼接容易产生闪烁,视频模型还需跨时间建模;长时间遮挡后的对象一致性则使长上下文成为重要难题。
SD3 从卷积架构转向扩散 Transformer,并采用流匹配。嘉宾认为流匹配在数学形式上更简洁,能在更一般的分布之间学习变换,也有利于快速采样。训练时无需均匀抽取噪声到数据之间的所有步骤:应增加对信息更重要部分的采样,把计算集中在那里。图中文字能力的提升则被归因于更好的建模、数据及能够描述图中文字的标注,而非单一架构变化。
BFL 初创团队约有 13 人,首次在法国木屋集中讨论和实验,并启动 FLUX 1 训练;约三个月后,公司随模型发布。Podell 说,团队此前看到模型创造了大量价值,却认为 Stability AI 未能充分捕获这些价值,因此希望自行建立公司。Blattmann 补充,虽然图像生成带来了早期商业机会,但团队从融资之初就希望研究视频和更广泛的视觉智能。
Podell 假设预训练图像模型已经掌握空间关系,只需适当数据和少量训练便可激发通用编辑能力。早期小型照片数据集只标注简单关系,经过约四至六小时训练,模型便出现将标志放到衬衫等初步能力,尽管效果尚不完善。项目随后扩大为团队工作,重点改进数据并通过蒸馏提速;其目标是用可保持人物一致性的迭代编辑,替代反复碰运气重新生成。
训练数据的价值取决于任务、训练阶段和架构,团队需要实验确定数量与质量的平衡。Kontext 最初只能接收一张图,用户曾把多张图拼成一张来绕过限制;FLUX 2 通过数据和训练扩展到约 10 张参考图。BFL 也发布了基于内部测试集的 Kontext Bench;嘉宾认为自动评测和人工评测都有盲区,开发者仍应亲自使用模型,检查实际任务和趣味用例。
嘉宾认为对话式编辑并非自回归模型专属,扩散模型也可通过训练数据获得语言能力。Blattmann 判断自回归模型在训练数据利用上更高效,但生成时需逐 token 进行;扩散模型则可将较多去噪步骤蒸馏为较少步骤,加快采样。两种路线仍在发展,尚无定论。Podell 还区分了基于掩码的离散扩散语言模型与连续去噪空间中的语言模型。
FLUX 3 先在图像、视频和音频上预训练,再加入机器人动作数据,联合预测未来视频与关节状态,并根据指令和此前画面分块生成动作。Blattmann 称其当前机器人模型约以每秒 10 帧运行,预测帧数的具体范围仍需核实。一个工业应用示例使用约四小时数据达到该任务所需成功率,所需数据据称比比较对象少八倍;团队的长期目标是让机器人看一次示范便学会动作。
真实机器人测试成本高,少量演示不足以可靠衡量表现;缩小仿真与现实差距仍是持续研究的问题。Blattmann 预期上下文学习和制造业应用会在 2027 年取得进展,认为受限的工厂环境比开放的消费场景更容易部署。Podell 推测到 2027 年底,技术爱好者家中可能出现一些有用的机器人,但明确承认这一预测缺乏基准,也无法确定其精细操作能力。
主持人与嘉宾讨论生成媒体在公众中的争议,以及如何让用户认识实际用途。Podell 认为病毒式应用难以预先预测:Kontext 一个出乎意料的热门用途是修复、上色受损的家庭老照片,用户也会向家人展示修复结果。团队因此既关注专业工作流的生产力,也持续寻找能带来实际价值或乐趣的新能力。
36:29 二维视频预训练可以提供有助于三维建模的隐式空间信息,但这不等于证明模型已完整理解物理世界。
35:11 生成模型的表现不仅取决于算法,也受训练数据质量、数量和标注内容制约。
44:35 在去噪轨迹中优先训练信息更重要的部分,可以更有效地分配训练计算。
58:30 预训练模型已有的空间关系知识,可以通过针对性数据被用于通用图像编辑。
73:35 对话式图像编辑并不必然依赖自回归生成,扩散模型也可以通过训练获得相关能力。
75:02 嘉宾认为自回归模型在数据利用方面有优势,而扩散模型可通过减少去噪步骤加速生成,两条路线的优劣尚未定论。
85:27 多模态视觉预训练可以作为机器人动作预测的基础,但单次示范学习仍是团队目标而非已实现能力。
70:25 生成模型和机器人评测都存在盲区,需要结合多种评测方式和实际使用。