Tesla AI Day 2021

2021 · 发布会与演讲 · Tesla · 3:03:20

↗TG↗FB

视频来自 YouTube,在中国大陆需要翻墙才能播放。

0:00 / 0:00

在 YouTube 打开 ↗

文字稿

英文来自YouTube 自动生成的英文字幕,包含所有说话人,没有标注是谁在说,可能有识别错误。中文是机器翻译,专名与术语按术语表统一,仍可能有误,以英文为准。点时间戳即可跳到视频的那一刻。

  1. 5:24

    所以……

    so

  2. 12:54

    我不是你要找的人,你搞错了。我几乎对各地的技术进展都了如指掌,我可以告诉你,根本没人造出过这种东西。

    i'm not the man you want you've made a mistake i'm in touch with technological advances pretty well everywhere and i can tell you that no one has produced anything like this

  3. 16:13

    所以……

    so

  4. 17:38

    噢。

    oh

  5. 17:51

    所以……

    so

  6. 18:20

    哇。

    wow

  7. 19:07

    武装……

    armed

  8. 19:17

    做……

    do

  9. 19:42

    我是……

    i'm

  10. 19:58

    嗯。

    um

  11. 20:40

    武装……

    armed

  12. 22:02

    所以……

    so

  13. 24:25

    所以……

    so

  14. 29:04

    所以,所以……

    so so

  15. 30:42

    所以……

    so

  16. 31:45

    所以,所以……

    so so

  17. 32:14

    所以……

    so

  18. 33:14

    所以……

    so

  19. 37:51

    我不是你要找的人,你搞……

    i'm not the man you want you've made a

  20. 38:16

    我几乎对各地的技术顾问都了如指掌,我可以告诉你,根本没人造出过这种东西。

    i'm in touch with mistake advisors pretty well everywhere and i can tell you that no one has produced anything like this

  21. 39:03

    所以……

    so

  22. 39:35

    所以……

    so

  23. 39:50

    所以……

    so

  24. 41:31

    所以……

    foreign so

  25. 42:56

    嗯。

    um

  26. 43:15

    所以……

    so

  27. 43:30

    所以……

    so

  28. 44:06

    你……

    you

  29. 44:25

    武装……

    armed

  30. 45:12

    嗯。

    um

  31. 45:50

    武装……

    armed

  32. 46:32

    做……

    do

  33. 47:09

    大家好,抱歉迟到了,感谢大家的到来。抱歉,刚才遇到了一些技术故障,这真需要点 AI 才能搞定。我们今天想展示的是,Tesla 绝不仅仅是一家电动车公司,我们在硬件、推理

    hello everyone uh sorry for the delay um thanks for coming and um sorry i had some technical difficulties really neat ai for this so uh what we want to show today is that tesla is much more than an electric car company that we have deep ai activity in hardware on the inference

  34. 47:33

    层面以及训练层面都有着深厚的 AI 积累。基本上,我认为我们在真实世界 AI 应用方面可以说是领跑者。看过 Full Self-Driving Beta 版的人都能体会到 Tesla 神经网络学习驾驶的速度。

    level on the training level and basically we i think we're i think arguably the leaders in real world ai as it applies to the real world um and those of you who have seen the full self-driving beta i can appreciate the rate at which the tesla neural net is learning to to drive and um so this

  35. 47:58

    这是 AI 的一个具体应用,但我认为未来还会有更多合理的落地应用,稍后的演讲中我们会详谈。不过总的来说,我们非常希望鼓励任何有兴趣在硬件或

    is a particular application of ai but i think there's there's more there are more applications uh down the road that will make sense and we'll talk about that later in the presentation but um yeah we basically want to encourage anyone who is interested in solving real-world ai problems at either the hardware or the

  36. 48:16

    软件层面解决真实世界 AI 问题的人加入 Tesla,或者考虑加入 Tesla。好,接下来让我们先请出安德烈(Andrej)。

    software level to join tesla or consider drawing tesla so let's see we'll start off with andre

  37. 48:30

    太棒了。

    great

  38. 48:44

    好的,大家好,欢迎各位。我叫安德烈,在 Tesla Autopilot 团队负责视觉团队。非常兴奋能来到这里开启这个环节,带大家深入了解 Autopilot 技术栈,并展示所有促成汽车实现自主驾驶的

    okay hi everyone um welcome my name is andre and um i am i lead the vision team here at tesla autopilot and i'm incredibly excited to be here uh to kick off this section giving you a technical deep dive into the autopilot stack and showing you all the under the hood components that go into making the car drive

  39. 49:02

    幕后组件。首先我们从视觉部分开始。在视觉部分中,我们要做的就是设计一个神经网络来处理原始信息,在我们这里就是安装在车身周围的 8 个摄像头,它们向我们传输图像,而我们需要

    all by itself so we're going to start off with the vision component here now in division component what we're trying to do is we're trying to design a neural network that processes the raw information which in our case is the eight cameras that are positioned around the vehicle and they send us images and we need

  40. 49:19

    将其实时处理成我们所谓的“矢量空间”(Vector Space)。这是驾驶所需一切的三维表征,包括车道线、边缘、路沿、交通标志、红绿灯、车辆的三维位置、朝向、深度、速度等等。这里我展示的是

    to process that in real time into what we call the vector space and this is a three-dimensional representation of everything you need for driving so this is the three-dimensional positions of lines edges curbs traffic signs traffic lights cars their positions orientations depth velocities and so on so here i'm showing

  41. 49:40

    一段视频……稍等,抱歉。这里我展示的是输入到技术栈的原始视频,然后神经网络将其处理成矢量空间,你们在车内仪表盘上看到的就是该矢量空间的一部分渲染。

    a video of actually hold on apologies so here i'm showing the video of the raw inputs that come into the stack and then neural processes that into the vector space and you are seeing parts of that vector space rendered in the instrument cluster on the car

  42. 50:10

    我觉得特别吸引人的一点是,我们实际上是在从零开始构建一个人工合成的动物。这辆车可以看作是一只动物,它四处移动,感知环境,并且自主而聪明地行动。所有这些组件都是我们自主从头研发的。

    now what i find kind of fascinating about this is that we are effectively building a synthetic animal from the ground up so the car can be thought of as an animal it moves around it senses the environment and uh you know acts autonomously and intelligently and we are building all the components from scratch in-house

  43. 50:26

    所以我们当然构建了车身的所有机械部件、充当神经系统的所有电气元件,以及针对我们需求而言的 Autopilot 大脑——具体到本章节,就是合成的视觉皮层。生物的视觉皮层结构其实相当复杂,

    so we are building of course all of the mechanical components of the body the nervous system which is all the electrical components and for our purposes the brain of the autopilot and specifically for this section the synthetic visual cortex now the biological visual cortex actually has quite intricate structure and

  44. 50:42

    有许多区域来组织大脑的信息流动。具体来说,在你们的视觉皮层中,光线射入视网膜,穿过外侧膝状体(LGN)一路到达视觉皮层的后部,穿过 V1、V2、V4 区域、下颞叶(IT),以及腹侧和背侧通路,

    a number of areas that organize the information flow of this brain and so in particular in our in your visual cortices the information hits the light hits the retina it goes through the lgn all the way to the back of your visual cortex goes through areas v1 v2 v4 the it the venture on the dorsal streams and the

  45. 51:01

    信息按照特定的布局进行组织。因此,当我们在为汽车设计视觉皮层时,也需要设计系统内部信息流动的神经网络架构。处理过程从一开始光线射入我们的人工视网膜开始,我们将使用

    information is organized in a certain layout and so when we are designing the visual cortex of the car we also want to design the neural network architecture of how the information flows in the system so the processing starts in the beginning when light hits our artificial retina and we are going to process this

  46. 51:19

    神经网络来处理这些信息。我将大致按时间顺序来组织这部分内容:首先介绍一些神经网络以及大约四年前我刚加入团队时它们的模样,以及它们随着时间是如何演进的。大约四年前,车辆大多是在

    information with neural networks now i'm going to roughly organize this section chronologically so starting off with some of the neural networks and what they looked like roughly four years ago when i joined the team and how they have developed over time so roughly um four years ago the car was mostly driving in a

  47. 51:36

    高速公路的单车道上前行,所以它需要保持车道,并与前车保持车距。当时,所有的处理都仅限于单帧图像层面,单张图像由神经网络进行分析,并生成矢量空间的一小部分,将其处理成

    single lane going forward on the highway and so it had to keep lane and it had to keep distance away from the car in front of us and at that time all of processing was only on individual image level so a single image has to be analyzed by a neural net and make little pieces of the vector space process that

  48. 51:51

    矢量空间的小碎片。这一处理过程的形式如下:我们输入 1280x960 的图像,这是以大约 36Hz 的频率流入的 12 位整数。接下来我们将用神经网络对其进行处理,实例化一个特征提取骨干网络(Backbone),在这个案例中我们使用的是残差神经网络(ResNet)。

    into little pieces of the vector space so this processing took the following shape we take a 1280 by 960 input and this is 12 bit integers streaming in at roughly 36 hertz now we're going to process that with the neural network so instantiate a feature extractor backbone in this case we use residual neural networks

  49. 52:09

    我们有一个 Stem 层以及若干串联的残差块。我们使用的具体 ResNet 类别是 RegNet,因为我们很喜欢……RegNet 为神经网络提供了极佳的设计空间,能让你非常漂亮地在延迟和准确率之间做出权衡。这些 RegNet

    so we have a stem and a number of residual blocks connected in series now the specific class of resnets that we use are regnets because we like this is like a very rec nets offer a very nice design space for neural networks because they allow you to very nicely trade off latency and uh accuracy now these reg

  50. 52:27

    输出给我们的是不同分辨率和不同尺度下的多种特征。具体来说,在这个特征层级的最底部,我们拥有极高分辨率但通道数非常少的信息;而一路往上到达顶部,我们在空间上的分辨率较低,但通道数

    nets give us as an output a number of features at different resolutions in different scales so in particular on the very bottom of this feature hierarchy we have very high resolution information with very low channel counts and all the way at the top we have low spatial low resolution especially but high channel

  51. 52:44

    很高。因此在底部,有大量神经元在细致审视图像的细节;而在顶部,神经元可以看到图像的绝大部分,并掌握大量的场景上下文。然后我们喜欢用特征金字塔网络(FPN)来处理它,在我们这里用的是

    counts so on the bottom we have a lot of neurons that are really scrutinizing the detail of the image and on the top we have neurons that can see most of the image and a lot of that context have a lot of that scene context we then like to process this with feature pyramid networks in our case we like to use

  52. 52:58

    BiFPN,它们能让多个尺度之间实现高效沟通并共享大量信息。例如,如果你是网络最底部的一个神经元,你正看着一个小区域,不确定这到底是不是一辆车,此时如果从顶层

    by fbns and they get the mult they get to multiple scales to talk to each other effectively and share a lot of information so for example if you're a neuron all the way down in the network and you're looking at a small patch and you're not sure this is a car or not it definitely helps to know from the top

  53. 53:12

    神经元得知“嘿,你其实位于这条高速公路的灭点上”,这绝对大有帮助,能帮你消除歧义,确认这大概率是一辆车。经过 BiFPN 和跨尺度特征融合后,我们接着接入特定任务的输出头(Task-specific Heads)。比如做目标检测时,我们有一个类似于 YOLO 的单阶段目标检测器,

    players that hey you are actually in the vanishing point of this highway and so that helps you disambiguate that this is probably a car after a buy fbn and a feature fusion across scales we then go into task specific heads so for example if you are doing object detection we have a one stage yolo like object detector

  54. 53:29

    在这里我们初始化一个栅格,每个位置都有一个二进制位来告诉你那里是否有车。此外,如果存在车辆,这里还有一系列你可能感兴趣的其他属性,比如 X、Y、宽度、高度偏移量,或者任何其他属性,例如这是什么类型的车

    here where we initialize a raster and there's a binary bit per position telling you whether or not there's a car there and then in addition to that if there is here's a bunch of other attributes you might be interested in so the x y with height offset or any of the other attributes like what type of a car is

  55. 53:43

    等等。单就检测而言就是这样。但很快我们就发现,我们不想只做车辆检测,我们想完成大量任务,比如交通信号灯的识别与检测、车道线预测等等。因此我们很快就收敛到了这样一种架构

    this and so on so this is for the detection by itself now very quickly we discovered that we don't just want to detect cars we want to do a large number of tasks so for example we want to do traffic light recognition and detection a lane prediction and so on so very quickly we conversion this kind of architectural

  56. 54:00

    布局:拥有一个通用的共享骨干网络,然后分叉出若干个任务头。因此我们称其为 HydraNet(九头蛇网络),这些就是九头蛇的头。这种架构布局带来了很多好处:第一,得益于特征共享,我们可以在车辆实测时

    layout where there's a common shared backbone and then branches off into a number of heads so we call these uh therefore hydronets and these are the heads of the hydra now this architectural layout has a number of benefits so number one because of the feature sharing we can amortize the forward pass inference in the

  57. 54:20

    分摊前向传播的推理计算,运行起来极为高效,因为如果每个任务都配一个骨干网络,车里就会堆砌过多的骨干网络;第二,它解耦了所有任务,我们可以单独孤立地处理任何一个任务,例如我们可以升级任何一个

    car at test time and so this is very efficient to run because if we had to have a backbone for every single task that would be a lot of backbones in the car number two this decouples all of the tasks so we can individually work on every one task in isolation and for example we can we can upgrade any of the

  58. 54:36

    数据集,或者修改某个任务头的架构等等,完全不会影响其他任何任务,这样我们就不必重新验证所有其他任务,那可是相当耗时的;第三,由于这里的特征瓶颈,我们非常频繁地将这些

    data sets or change some of the architecture of the head and so on and you are not impacting any of the other tasks and so we don't have to revalidate all the other tasks which can be expensive and number three because there's this bottleneck here and features what we do fairly often is that we actually cache these

  59. 54:51

    特征缓存到磁盘上,当我们进行微调工作流时,只需从缓存的特征往上进行微调,仅微调各个任务头。因此在我们的训练工作流中,大多数情况下我们隔一段时间做一次端到端联合训练,然后将多尺度特征层面的特征缓存

    features to disk and when we are doing these fine tuning uh workflows we only fine-tune from from the cached features up and only find you in the heads so most often in terms of our training workflows we will do an end-to-end training run once in a while where we train everything jointly then we cache the features

  60. 55:08

    下来,接着基于它微调一段时间,然后再做一次端到端训练,以此类推。这就是我们大概几年前从其中一个 HydraNet 中获得的预测效果。再次说明,我们当时是在处理单帧图像,看,我们正在……

    at the multiscale feature level and then we fine-tune off of that for a while and then end-to-end train once again and so on so here's the kinds of predictions that we were obtaining i would say several years ago now uh from one of these hydronitis so again we are processing individual images there we go we are

  61. 55:28

    仅仅处理单张图像,并且针对这些图像进行大量的预测。例如,在这里你可以看到对停车标志、停止线、车道线、边缘、车辆、红绿灯、路缘,以及车辆是否处于停泊状态,还有所有静态物体的预测,

    processing just individual image and we're making a large number of predictions about these images so for example here you can see predictions of the stop signs uh the stop lines uh the lines the edges the cars uh the traffic lights uh the curbs here uh whether or not the car is sparked uh all of the static objects

  62. 55:44

    比如垃圾桶、路锥等等,这里的一切都出自网络,在这个案例中出自 HydraNet。这一切固然很好,但随着我们向 FSD 迈进,我们很快发现这还远远不够。最先开始出现瓶颈的地方,是我们着手研发 Smart Summon 的时候。在这里,

    like trash cans cones and so on and everything here is coming out of the net here in this case out of the hydra net so that was all fine and great but as we worked towards fsd we quickly found that this is not enough so where this first started to break was when we started to work on smart summon here i

  63. 56:01

    我展示的仅仅是路缘检测任务的部分预测结果,而且我现在把每一个摄像头的预测都展示了出来。我们希望能绕着停车场穿行,去找到召唤车辆的人。现在的难点在于,你不能直接基于图像空间的预测来驾驶,你实际上需要

    am showing some of the predictions of only the curb detection task and i'm showing it now for every one of the cameras so we'd like to wind our way around the parking lot to find the person who is summoning the car now the problem is that you can't just directly drive on image space predictions you actually need

  64. 56:15

    将它们投射出来,在自身周围构建出某种矢量空间。因此,我们尝试用 C++ 来做这件事,并开发了我们当时所谓的占用跟踪器(occupancy tracker)。在这里我们看到,来自图像的路缘检测正在跨越不同的相机画面、相机边界以及随着时间被拼接起来。不过,

    to cast them out and form some kind of a vector space around you so we attempted to do this using c plus and developed what we call the occupancy tracker at the time so here we see that the curb detections from the images are being stitched up across camera scenes camera boundaries and over time now there are

  65. 56:35

    我认为这种架构存在两个主要问题。第一,我们很快发现,调校占用跟踪器及其所有的超参数极其复杂。你绝不会想在 C++ 中手动显式地去做这些,你希望把它放进神经网络里,并进行端到端的训练。

    two pro two major problems i would say with the setup number one we very quickly discovered that tuning the occupancy tracker and all of its hyper parameters was extremely complicated you don't want to do this explicitly by hand in c plus you want this to be inside the neural network and train that end to end

  66. 56:49

    第二,我们很快发现图像空间并不是正确的输出空间。你不想在图像空间中做预测,你真正想要的是直接在矢量空间中进行预测。这里有一种直观展示该问题的方式。在第一行中,我展示了对路缘和

    number two we very quickly discovered that the image space is not the correct output space uh you don't want to make predictions in image space you really want to make it directly in the vector space so here's a way of illustrating the issue so here i'm showing on the first row the predictions of our curves and

  67. 57:04

    车道线的预测,分别以红线和蓝线标出。它们在图像中看起来非常完美,但一旦你将它们投射到矢量空间中,情况就开始变得非常糟糕,我们根本无法基于这样的结果来驾驶。所以你看,矢量空间中的预测相当糟糕,而其根本原因在于,

    our lines in red and blue and they look great in the image but once you cast them out into the vector space things start to look really terrible and we are not going to be able to drive on this so you see how the predictions are quite bad in vector space and the reason for this fundamentally is because you

  68. 57:22

    你必须在每个像素上都有极其精确的深度,才能真正完成这种投影。因此你可以想象,要在图像的每一个微小像素上都把深度预测得如此精准,门槛有多高。此外,如果存在任何遮挡区域,而你想对该区域进行预测,你也是

    need to have an extremely accurate depth per pixel in order to actually do this projection and so you can imagine just how high of the bar it is to predict that depth so accurately in these tiny in every single pixel of the image and also if there's any occluded area where you'd like to make predictions you will

  69. 57:37

    做不到的,因为在这种情况下,遮挡区域根本就不是图像空间的概念。顺便说一句,我们很快意识到的另一个问题也出现在目标检测上:如果你只按单个相机进行预测,有时就会遇到像这样一辆车实际上横跨八个相机中的五个的情况。

    not be able to because it's not an image space concept in that case so we very quickly real of the other problems with this by the way is also for object detection if you are only making predictions per camera then sometimes you will encounter cases like this where a single car actually spans five of the eight cameras

  70. 57:58

    因此,如果你做的是单相机预测,那么没有任何单个相机能看到整辆车,显然你就无法很好地预测出整辆车,而且融合这些测量值将会异常困难。所以我们有了这样一个直觉:我们想做的

    and so if you are making individual predictions then no single camera since sees all of the car and so obviously you're not going to be able to do a very good job of predicting that whole car and it's going to be incredibly difficult to fuse these measurements so we have this intuition that what we'd like to do

  71. 58:12

    恰恰相反,我们希望获取所有的图像,同时输入到一个统一的神经网络中,并直接在矢量空间中输出。这说起来很容易,实际做起来要困难得多。但大致上,我们希望以这种方式来布局神经网络:先用一个主干网络处理每一张图像,

    instead is we'd like to take all of the images and simultaneously feed them into a single neural net and directly output in vector space now this is very easily said much more difficult to actually achieve but roughly we want to lay out a neural net in this way where we process every single image with a backbone

  72. 58:29

    然后我们希望能以某种方式融合它们,将这些特征从图像空间特征重新表征为某种矢量空间特征,然后再进入解码头。那么,这里存在两个问题。第一个问题是:你究竟如何构建完成这种变换的

    and then we want to somehow fuse them and we want to re-represent it the the features from image space features to directly some kind of vector space features and then go into the decoding of the head now um so there are two problems with this problem number one how do you actually create the neural network components

  73. 58:48

    神经网络组件?而且你必须让它是可微的,这样才能实现端到端训练。第二个问题是:如果你希望神经网络输出矢量空间的预测,你就需要基于矢量空间的数据集,仅标注图像之类的并不能解决问题,你需要矢量空间标签。

    that do this transformation and you have to make it differentiable so that end-to-end training is possible and number two uh the if you want vector space predictions from your neural net you need vector specif based data sets so just labeling images and so on is not going to get you there you need vector space labels

  74. 59:05

    在稍后的演讲中,我们将更多地探讨第二个问题。现在我想先专注于神经网络的架构,因此我将深入探讨第一个问题。大致的问题是这样的,对吧?我们试图获得鸟瞰图(BEV)预测,而不是图像空间的预测。举例来说,

    we're going to talk a lot more about problem number two later in the talk for now i want to focus on the neural network architectures so i'm going to deep dive into problem number one so here's the rough problem right we're trying to have this bird's eye view prediction instead of image space predictions so for

  75. 59:20

    让我们关注输出空间中黄色的单个像素,这个像素试图判断:作为示例,我究竟是不是路缘的一部分?那么现在,图像空间中对这种预测的支撑应该来自哪里呢?我们大致知道摄像头的安装位置及其外参

    example let's focus on a single pixel in the output space in yellow and this pixel is trying to decide am i part of a curb or not as an example and now where should the support for this kind of a prediction come from in the image space well we know roughly how the cameras are positioned and their extrinsics

  76. 59:36

    和内参,所以我们可以大致将这个点投影回相机图像中,而判断这是否为路缘的证据可能就来自图像中的这部分区域。问题在于,这种投影实际上极难做到准确,因为它是路面状况的函数。路面

    and intrinsics so we can roughly project this point into the camera images and you know the evidence for whether or not this is a curve may come from somewhere here in the images the problem is that this projection is really hard to actually get correct because it is a function of the road surface the road surface

  77. 59:50

    可能向上倾斜或向下倾斜,或者还可能存在其他依赖于数据的问题,例如可能有一辆车造成了遮挡。因此,如果有一辆车遮挡了这个视口、遮挡了图像的这部分,那么实际上你可能需要关注图像的另一部分,而不是它投影所在的那个部分。

    could be sloping up or sloping down or also there could be other data dependent issues for example there could be occlusion due to a car so if there's a car occluding this this viewport this this part of the image then actually you may want to pay attention to a different part of the image not the part where

  78. 1:00:05

    正因为这是依赖于具体数据的,所以很难为该组件设计一个固定的变换。为了解决这个问题,我们使用 Transformer 来表征这个空间。这个 Transformer 使用了多头自注意力机制和由其构成的模块。在这种情况下,我们其实哪怕只用

    it projects and so because this is data dependent it's really hard to have a fixed transformation for this component so in order to solve this issue we use a transformer to represent this space and this transformer uses multi-headed self-attention and blocks off it in this case actually we can get away with even a

  79. 1:00:24

    单个模块,就能完成大量的此类工作。它的实际运行机制是:首先初始化一个与你期望的输出空间大小一致的光栅,并在输出空间中用正弦和余弦的位置编码来平铺它;然后通过一个 MLP 将它们编码为一组查询向量(query vectors);接着,所有的

    single block doing a lot of this work and effectively what this does is you initialize a raster of the size of the output space that you would like and you tile it with positional encodings with size and coses in the output space and then these get encoded with an mlp into a set of query vectors and then all of

  80. 1:00:41

    图像及其特征也会生成它们自己的键(keys)和值(values),随后这些查询、键和值被送入多头自注意力机制中。所以实际上发生的是,每一个图像片段都在其键中广播自己的身份以及所属物体,比如“嘿,我大概在这个位置,我是立柱的一部分,

    the images and their features also emit their own keys and values and then the queries keys and values feed into the multi-headed self-attention and so effectively what's happening is that every single image piece is broadcasting in its key what it is what is it a part of so hey i'm part of a pillar in roughly

  81. 1:00:57

    我看到了这类东西”,这些都包含在键中;而每一个查询大致表达的是:“嘿,我是输出空间中位于这个位置的一个像素,我正在寻找这种类型的特征。”随后,键与查询进行乘法交互,进而相应地提取出值。

    this location and i'm seeing this kind of stuff and that's in the key and then every query is something along the lines of hey i'm a pixel in the output space at this position and i'm looking for features of this type then the keys and the queries interact multiplicatively and then the values get pulled accordingly

  82. 1:01:13

    这样一来就重新表征了该空间,我们发现这种变换方式非常有效。因此,如果你把所有的工程实现都做对了——同样,这说起来容易做起来难——如果你把所有工程细节都处理好……在继续之前其实还有一个问题,我不太清楚幻灯片怎么了。

    and so this re-represents the space and we find this to be very effective for this transformation so if you do all of the engineering correctly this again is very easily said difficult to do you do all of the engineering correctly um there's one more there's no problem actually before i'm not sure what's up with

  83. 1:01:31

    还有一件事,在试图让它运转起来时,你必须对这里的一些细节格外小心。具体来说,我们所有的车辆摄像头都会有微小且各不相同的歪斜。因此,如果你在做这种从图像空间到输出空间的变换,你真的必须非常清楚

    the slides so one more thing you have to be careful with some of the details here when you are trying to get this to work so in particular all of our cars uh are slightly cockeyed in a slightly different way and so if you're doing this transformation from image space to the output space you really need to know

  84. 1:01:45

    你的相机标定参数是什么,而且你必须以某种方式将其输入到神经网络中。你当然可以直接把所有图像的相机标定参数拼接起来,然后通过一个 MLP 传进去,但实际上我们发现,如果能通过一种特殊的畸变矫正变换(rectification transform),将所有图像转换成

    what your camera calibration is and you need to feed that in somehow into the neural net and so you could definitely just like concatenate the camera calibrations of all of the images and somehow feed them in with an mlp but actually we found that we can do much better by transforming all of the images into a

  85. 1:02:00

    虚拟的合成相机图像,效果会好得多。它看起来就是这个样子的:我们在图像校正层之上直接插入了一个新层,它是相机标定参数的函数,它将所有的图像平移转换到一个统一的虚拟相机中。举例来说,如果你把很多朝向后方的侧方后视相机的图像

    synthetic virtual camera using a special rectification transform so this is what that would look like we insert a new layer right above the image rectification layer it's a function of camera calibration and it translates all of the images into a virtual common camera so if you were to average up a lot of repeater

  86. 1:02:18

    平均叠加在一起,如果不做这个处理,你看到的就是一片模糊;但在做完畸变矫正变换之后,你会看到后视镜变得非常清晰。一旦完成了这一步,性能就会得到相当大的提升。这里展示了一些结果:在左边,

    images for example which faced at the back you would without doing this you would get a kind of a blur but after doing the rectification transformation you see that the back mirror gets really crisp so once you do this uh this improves the performance quite a bit so here are some of the results so on the left

  87. 1:02:37

    我们看到的是之前的效果;而在右边,我们看到直接由神经网络输出的预测有了显著的改进。这是一个直接在矢量空间进行预测的多相机网络,你可以看到这基本上是天壤之别,现在你真的可以基于此来驾驶了。这花费了一些时间

    we are seeing what we had before and on the right we're now seeing significantly improved predictions coming directly out of the neural net this is a multi-camera network predicting directly in vector space and you can see that it's basically night and day uh you can actually drive on this and uh this took some time

  88. 1:02:52

    和工程投入,凝聚了 AI 团队令人难以置信的努力,才最终让它跑通、部署并高效运行在车端。这也极大地改进了我们的大部分目标检测。例如,在这个视频中,我用橙色展示单相机的预测,用蓝色展示多相机的预测。基本上,如果

    and some engineering and incredible work from the ai team to actually get this to work and deploy and make it efficient in the car this also improved a lot of our object detection so for example here in this video i'm showing single camera predictions in orange and multi-camera predictions in blue and basically if

  89. 1:03:11

    你只能看到车辆极其微小的一小截,单相机是无法预测这些车辆的,所以你的检测效果不会很好,它们的位置也会不准确;但是多相机网络就不存在这个问题。这里是另一个来自更常规场景的视频,我们可以看到,当这些

    you if you can't predict these cars if you are only seeing a tiny sliver of a car so your detections are not going to be very good and their positions are not going to be good but a multi-camera network does not have an issue here's another video from a more nominal sort of situation and we see that as these

  90. 1:03:25

    车辆在狭小空间内跨越相机边界时,预测中会出现大量的抖动和突跳,基本上整个方案在此处都显得很不合理,尤其是对于像这样的大型车辆。我们可以看到,多相机网络在这类预测上的挣扎明显少得多。好的,

    cars in this tight space cross camera boundaries there's a lot of jank that enters into the predictions and basically the whole setup just doesn't make sense especially for very large vehicles like this one and we can see that the multi-camera networks struggle significantly less with these kinds of predictions okay so

  91. 1:03:41

    到了这一步,我们有了多相机网络,它们能直接在矢量空间中给出预测,但我们在每一个时间瞬间上仍然是完全独立运行的。于是我们很快发现,我们想要做出的大量预测实际上需要视频时序上下文,我们

    at this point we have multi-camera networks and they're giving predictions directly in vector space but we are still operating at every single instant in time completely independently so very quickly we discovered that there's a large number of predictions we want to make that actually require the video context and we

  92. 1:03:55

    需要设法将其输入到网络中。具体来说:这辆车是停着的还是没停?它在移动吗?它移动得有多快?尽管它被暂时遮挡了,它还在那里吗?或者比如,如果我试图预测前方的道路几何形状,了解我在 50 米前看到的标志或道路标线

    need to somehow figure out how to feed this into the net so in particular is this car parked or not is it moving how fast is it moving is it still there even though it's temporarily occluded or for example if i'm trying to predict the road geometry ahead it's very helpful to know of the signs or the road markings

  93. 1:04:10

    就会非常有帮助。因此,我们尝试研发并将视频模块插入到我们的神经网络架构中,而这也是我们最终收敛出的解决方案之一。我们拥有和之前一样的多尺度特征,而我们现在要插入的是一个特征队列模块(feature queue module),它

    that i saw 50 meters ago so we try to develop we try to insert video modules into our neural network architecture and this is kind of one of the solutions that we've converged on so we have the multi-scale features as we had them from before and what we are going to now insert is a feature queue module that is

  94. 1:04:26

    将随时间缓存其中的部分特征;然后是一个视频模块,它将在时序上融合这些信息;接着我们继续进入负责解码的各个任务头。现在我将逐一深入讲解这两个模块。此外,请注意在这里我们还输入了运动学数据(kinematics),

    going to cache some of these features over time and then a video module that is going to fuse this information temporally and then we're going to continue into the heads that do the decoding now i'm going to go into both of these blocks one by one also in addition notice here that we are also feeding in the kinematics

  95. 1:04:43

    这基本上就是速度和加速度,用来告诉我们车辆是如何运动的。因此,我们不仅要持续跟踪所有摄像头所看到的内容,还要跟踪车辆自身的行驶轨迹。这就是特征队列及其大致的布局:我们基本上是将

    this is basically the velocity and the acceleration that's telling us about how the car is moving so not only are not only are we going to keep track of what we're seeing from all the cameras but also how the car has traveled so here's the feature queue and the rough layout of it we are basically concatenating

  96. 1:04:58

    这些随时间推移的特征、关于车辆如何运动的运动学数据以及位置编码拼接在一起,拼接编码后存储在一个特征队列中,供后续的视频模块使用。这里同样有一些细节需要处理得当,特别是关于出队和

    these features um over time and the kinematics of how the car has moved and the positional encodings and that's being concatenated encoded and stored in a feature queue and that's going to be consumed by a video module now there's a few details here again to get right so in particular with respect to the pop and

  97. 1:05:14

    入队的机制:你什么时候入队、怎么入队,尤其是到底在何时入队。这是一张示意图,展示了这里面临的一些挑战:自车(ego car)从底部驶来,接近这里的这个交叉路口,随后横向车流开始从我们前方穿过,

    push mechanisms and when do you push and how and especially when do you push basically so here's a cartoon diagram illustrating some of the challenges here there's going to be the ego cars coming from the bottom and coming up to this intersection here and then traffic is going to start crossing in front of us and

  98. 1:05:31

    并且会开始暂时遮挡前方的一些车辆,然后我们将在路口停滞一段时间,等待轮到我们通行。这种情况每天都在发生,是对我们面临的部分挑战的卡通化示意。第一点,关于特征队列以及

    it's going to temporarily start occluding some of the cars ahead and then we're going to be stuck at this intersection for a while and just waiting our turn this is something that happens all the time and is a cartoon representation of some of the challenges here so number one with respect to the feature queue and

  99. 1:05:45

    我们何时希望将数据推入队列。显然,我们希望能有某种基于时间的队列,例如我们大约每隔 27 毫秒将特征存入队列一次。这样一来,如果一辆车被暂时遮挡,神经网络现在就有能力在时间维度上去查看和参考记忆,

    when we want to push into a queue obviously we'd like to have some kind of a time-based queue where for example we enter the features into the queue say every 27 milliseconds and so if a car gets temporarily occluded then the neural network now has the power to be able to look and reference the memory in time

  100. 1:06:01

    并学会这种关联:“嘿,虽然这东西现在看起来被遮挡了,但我之前的特征里有它的记录,我依然可以利用它来进行检测。”这算是比较显而易见的一个;但在我们的场景中,我们发现另一个同样必不可少的是——举个例子,假设你

    and and learn the association that hey even though this thing looks occluded right now there's a record of it in my previous features and i can use this to still make a detection so that's kind of like the more obvious one but the one that we also discovered is necessary in our case is for example suppose you're

  101. 1:06:16

    正试图对路面和前方的道路几何结构进行预测,试图预测出“我正处于转弯车道,而我们旁边的车道是直行道”,那么了解地面标线和标志就至关重要,而它们有时出现在很久之前。因此,如果你只有

    trying to make predictions about the road surface and the road geometry ahead and you're trying to predict that i'm in a turning lane and the lane next to us is going straight then it's really necessary to know about the line markings and the signs and sometimes they occur a long time ago and so if you only have

  102. 1:06:34

    一个基于时间的队列,当你等红灯时,你可能会把这些特征忘掉。所以除了基于时间的队列,我们还设计了一个基于空间的队列:每当车辆行驶过一段固定的距离,我们就会压入一次特征。因此,其中的一些细节实际上影响巨大。在这个方案中,我们同时拥有基于时间

    a time-based queue you may forget the features while you're waiting at your red light so in addition to a time-based q we also have a space-based view so we push every time the car travels a certain fixed distance so some of these details actually can matter quite a bit and so in this case we have a time based

  103. 1:06:49

    和基于空间的队列来缓存我们的特征,并将其传递到视频模块中。至于视频模块,我们调研了多种在时间维度上融合这些信息的可能性:我们尝试了 3D 卷积、Transformer,以及旨在提升效率的轴向 Transformer(axial transformers),

    key and a space base key to cache our features and that continues into the video module now for the video module we looked at a number of possibilities of how to fuse this information temporally so we looked at three-dimensional convolutions transformers axial transformers in an effort to try to make them more efficient

  104. 1:07:05

    还有各种不同形态的循环神经网络(RNN)。但我们同样非常喜欢并且想花些时间介绍的一个方案,是空间循环神经网络视频模块(spatial recurrent neural network video module)。我们在这里的做法是,鉴于问题的结构特性——我们是在二维路面上行驶——我们可以

    recurrent neural networks over a large number of flavors but the one that we actually like quite a bit as well and i want to spend some time on is a spatial recurrent neural network video module and so what we're doing here is because of the structure of the problem we're driving on two-dimensional surfaces we can

  105. 1:07:21

    将隐藏状态直接组织成一个二维网格点阵;随着车辆行驶,我们只更新靠近车辆以及车辆具有良好视野的部分。因此,在车辆行驶过程中,我们利用运动学数据将车辆的位置积分到隐藏特征网格中,

    actually organize the hidden state into a two-dimensional lattice and then as the car is driving around we update only the parts that are near the car and where the car has visibility so as the car is driving around we are using the kinematics to integrate the position of the car in the hidden features grid and

  106. 1:07:38

    并且只在我们附近的、具备视野的点上更新 RNN。这就是它运行效果的一个示例:这里我将向大家展示车辆在路上行驶的过程,我们正在观察这个 RNN 的隐藏状态,这些是隐藏状态中的不同通道。你们可以

    we are only updating the rnn at the points where where we have uh that are nearby us sort of so here's an example of what that looks like here what i'm going to show you is the car driving around and we're looking at the hidden state of this rnn and these are different channels in the hidden state so you can

  107. 1:08:02

    看到,在对这个神经网络进行优化和训练之后,一些通道正在持续追踪道路的不同维度,比如道路中心线、边缘线、车道线、路面等等。这里是另一个很酷的视频:这里展示的是在多次穿过不同路口时,

    see that this is after optimization and training this neural net you can see that some of the channels are keeping track of different aspects of the road like for example the centers of the road the edges the lines the road surface and so on here's another cool video of this so this is looking at the mean of

  108. 1:08:17

    隐藏状态中前 10 个通道的均值。我基本上只是想让大家看到,循环神经网络在持续跟踪任意时刻发生的情况时展现出的精彩动态。你可以想象,我们现在赋予了神经网络

    the first 10 channels in the hidden state for different traversals of different intersections and all i want you to see basically is that there's cool activity as the recurrent neural network is keeping track of what's happening at any point in time and you can imagine that we've now given the power to the neural

  109. 1:08:32

    对这块记忆进行选择性读写的能力。举例来说,如果正旁边有一辆车遮挡了部分道路,那么网络现在有能力不对那些位置进行写入;但当车辆驶离、我们拥有了极佳的视野时,循环神经网络

    network to actually selectively read and write to this memory so for example if there's a car right next to us and is occluding some parts of the road then now the network has a has the ability to not write to those locations but when the car goes away and we have a really good view then the recurring neural

  110. 1:08:46

    就可以判断:“好的,我们视野非常清晰,我们绝对要把该空间区域内的信息写进去。”这里展示了几项预测效果:我们在用红色预测道路边界,用蓝色预测交叉路口区域,还有道路中心线等等。为了保持可视化的整洁,我们只展示了

    net can say okay we have very clear visibility we definitely want to write information about what's in that part of space here's a few predictions that show what this looks like so here we are making predictions about the road boundaries in red intersection areas in blue road centers and so on so we're only showing

  111. 1:09:05

    其中的几项预测。是的,这正是由空间 RNN 完成的。这里展示的仅仅是单次行驶的一小段剪辑,但你可以想象可能会有多次行程穿行于此,基本上多辆车、多个行程片段可以协同工作,

    a few of the predictions here just to keep the visualization clean um and yeah this is this is done by the spatial rnn and this is only showing a single clip a single traversal but you can imagine there could be multiple trips through here and basically number of cars a number of clips could be collaborating to

  112. 1:09:22

    来共同构建出这张地图,本质上就是一张高精地图(HD map)——只不过它不是存在于离散实体物品的空间中,而是存在于循环神经网络的特征空间中,这非常酷,我以前从未见过。视频网络还大幅提升了我们的目标检测能力。在这个例子中,我想向大家展示一个

    build this map basically and effectively an hd map except it's not in a space of explicit items it's in a space of features of a recurrent neural network which is kind of cool i haven't seen that before the video networks also improved our object detection quite a bit so in this example i want to show you a

  113. 1:09:40

    场景:那边有两辆车,其中一辆车开过去短暂地遮挡了它们。来看看当这些车辆在我们前方驶过时,单帧预测和视频预测发生了什么。是的,这非常符合逻辑。快速梳理一下过程:当两辆车都在

    case where there are two cars over there and one car is going to drive by and occlude them briefly so look at what's happening with the single frame and the video predictions as the cars pass in front of us yeah so that makes a lot of sense so a quick playthrough through what's happening when both of them are

  114. 1:10:01

    视野内时,两种预测大致相当,由于来自不同相机,你会看到多个橙色检测框;当它们被遮挡时,单帧网络丢失了检测目标,但视频模块记住了它,我们可以持续维持对这些车辆的跟踪;而当它们只是部分被遮挡时,单

    in view the predictions are roughly equivalent and you are seeing multiple orange boxes because they're coming from different cameras when they are occluded the single frame networks drop the detection but the video module remembers it and we can persist the cars and then when they are only partially occluded the single

  115. 1:10:19

    帧网络被迫对其所见进行盲猜并强行给出预测,结果给出了非常糟糕的预测;但视频模块知道这只是部分可见,它掌握着上下文信息,知道这部分现在不是很容易看清,因而不会真正受其干扰。

    frame network is forced to make its best guess about what it's seeing and it's forced to make a prediction and it makes a really terrible prediction but the video module knows that there's only a partial that you know it has the information and knows that this is not a very easily visible part right now and doesn't

  116. 1:10:35

    我们还看到在深度估计能力上的显著提升,当然尤其是速度估计。这里我展示的是我们推行‘移除毫米波雷达’期间的一段视频,其中绿线代表毫米波雷达测得的深度和速度,而我们当时正试图仅凭视频网络本身来追平甚至超越该信号。

    actually take that into account we also saw significant improvements in our ability to estimate depth and of course especially velocity so here i'm showing a clip from our remove the radar push where we are seeing the radar depth and velocity in green and we were trying to match or even surpass of course the signal

  117. 1:10:52

    大家在这里看到的是,橙色代表单帧网络的表现,蓝色再次代表视频模块的表现。你可以看到,视频模块的深度估计质量要高得多;至于速度,橙色信号方面,单帧网络显然是无法直接输出速度的,

    just from video networks alone and what you're seeing here is in orange we are seeing a single frame performance and in blue we are seeing again video modules and so you see that the quality of depth is much higher and for velocity the orange signal of course you can't get velocity out of a single frame network

  118. 1:11:09

    所以我们只是对深度求导来获得速度;而视频模块的输出实际上与毫米波雷达的信号基本重合。因此我们发现,这种方案对我们来说极为有效。把所有这些整合在一起,这就是我们目前的整体架构概貌:在最底层输入原始图像,

    so we use uh we just differentiate depth to get that but the video module actually is basically right on top of the radar signal and so we found that this worked extremely well for us so here's putting everything together this is what our architectural roughly looks like today so we have raw images feeding on the

  119. 1:11:27

    它们穿过畸变矫正层以修正相机标定偏差,并将所有内容转换到一个通用的虚拟相机中;我们将它们输入到 RegNet 残差网络中,将其处理为不同尺度的若干特征;我们通过 BiFPN 融合多尺度信息;接着穿过 Transformer 模块,

    bottom they go through rectification layer to correct for camera calibration and put everything into a common uh virtual camera we pass them through regnets residual networks to process them into a number of features at different scales we fuse the multi-scale information with by fbn this goes through transformer module

  120. 1:11:44

    将其重新表征为输出空间中的矢量空间特征;随后送入基于时间或空间的特征队列,由空间 RNN 等视频模块进行处理;最后继续进入 HydraNet 的分支结构,通过主干和各个任务头来完成所有不同的任务。这就是整套架构。

    to re-represent it into the vector space in the output space this feeds into a feature queue in time or space that gets processed by a video module like the spatial rnn and then continues into the branching structure of the hydra net with trunks and heads for all the different tasks and so that's the architecture

  121. 1:12:00

    大致就是它现在的样子。在右边,大家可以看到它的一些预测结果,以俯视的向量空间和图像两种方式进行了可视化。所以毫无疑问,相比大约三四年前那种非常简单的单图像基础网络,这种架构确实复杂得多了,而且还在继续

    roughly what it looks like today and on the right you are seeing some of its predictions uh sort of visualize both in a top-down vector space and also in images so definitely uh this architecture has definitely complexified from just a very simple image based single network about three or four years ago and continues

  122. 1:12:15

    演进,确实非常令人赞叹。不过目前仍有改进的空间,团队也正在积极推进。例如大家会注意到,按神经网络的标准来看,我们对时间和空间的融合是相当靠后的。所以我们或许可以更早地进行时空融合,比如在底部做代价

    to evolve um it's definitely quite impressive now there's still opportunities for improvements that the team is actively working on for example you'll notice that our fusion of time and space is fairly late in neural network terms so maybe we can actually do earlier fusion of space or time and do for example cost

  123. 1:12:30

    体(cost volume)或类似光流的网络;再比如,我们的输出是密集的光栅(dense raster),而在车端对这类密集光栅进行后处理其实开销相当大。当然,我们有着非常严格的时延要求,所以这种方式并不理想。实际上我们正在探索各种方法,

    volumes or optical flow-like networks on the bottom or for example our outputs are dense rasters and it's actually pretty expensive to post-process some of these dense rasters in the car and of course we are under very strict latency requirements so this is not ideal we actually are looking into all kinds of ways

  124. 1:12:45

    希望能仅预测道路的稀疏结构,比如逐点预测,或者采用其他不需要繁重后处理的方式。但基本上,这就是获得高质量向量空间的方法。接下来,我相信阿肖克(Ashok)会向大家介绍我们如何在此基础上进行规划与控制。

    of predicting just the sparse structure of the road maybe like you know point by point or in some other fashion that is that doesn't require expensive post-processing but this basically is how you achieve a very nice vector space and now i believe ashok is going to talk about how we can run playing control on top

  125. 1:13:02

    谢谢安德烈(Andrej)。大家好,我叫阿肖克(Ashok),负责规划与控制、自动标注以及仿真团队。正如安德烈刚才提到的,视觉网络接收密集的视频数据,然后将其压缩为 3D 向量空间。而规划器的角色,

    of it thank you andre hi everyone my name is ashok i lead the planning and controls auto labeling and simulation teams so like on dimension the visual networks take dense video data and then compress it down into a 3d vector space the role

  126. 1:13:26

    就是消费这个向量空间,引导车辆到达目的地,同时最大化车辆的安全性、舒适度与通行效率。早在 2019 年,我们的规划器就已经是相当出色的驾驶员了:它能保持在车道内行驶,根据需要变道,并驶出高速公路。但在城市中

    of the planner now is to consume this vector space and get the car to the destination while maximizing the safety comfort and the efficiency of the car even back in 2019 our planet was pretty capable driver it was able to stay in the lanes make lane changes as necessary and take exits off the highway but cdc

  127. 1:13:42

    驾驶要复杂得多:很少有结构规范的车道线,车辆行驶更为随意,而且车辆还得应对各种路沿、横穿的车辆以及做出各种奇特举动的行人。规划的核心难题是什么?第一,动作空间是高度非凸的;第二,

    driving is much more complicated radley there are structured lane lines um vehicles do much more free from driving then the car has to respond to all of curtains and crossing vehicles and pedestrians doing funny things what is the key problem in planning number one the action space is very non-convex and number

  128. 1:14:07

    它是高维的。所谓非凸,是指可能存在多种各自不错的可行解,但要获得全局一致的解却非常棘手,因此规划很容易陷入局部极小值。其次,之所以存在高维性,是因为

    two it is high dimensional what i mean by non-convex is there can be multiple possible solutions that can be independently good but getting a globally consistent solution is pretty tricky so there can be pockets of local minima that the planning can get stuck into and secondly uh the high dimensionality comes because

  129. 1:14:27

    车辆需要规划未来 10 到 15 秒的轨迹,并且需要在整个时间窗口内计算出位置、速度和加速度,在运行时需要输出大量参数。离散搜索方法非常擅长解决非凸问题,因为它们是离散的,不会陷入

    the car needs to plan for the next 10 to 15 seconds and needs to produce the position velocities and acceleration uh or this entire window this is a lot of parameters to produce at runtime discrete search methods are really great at solving non-context problems because they are discrete they can they don't get stuck

  130. 1:14:44

    局部极小值;相反,连续函数优化很容易陷入局部极小值,从而得出不尽如人意的糟糕解。而在高维问题上,离散搜索的表现就很差了:正因为它具有离散性,无法利用任何梯度信息,所以必须逐个去探索每个

    in local minima whereas continuous function optimization can easily get stuck in local minima and produce poor solutions that are not great on the other end for high dimensional problems discrete search sucks because of the it is discrete it does not use any graded information so literally has to go and explore each

  131. 1:15:02

    点才能评估其优劣;而连续优化则可以利用基于梯度的方法,极快地收敛到一个好结果。我们针对这一规划难题的解决方案是进行分层拆解:首先使用粗搜索方法化解非凸性,生成一个凸走廊(convex corridor);然后利用连续

    point to know how good it is whereas continuous optimization use gradient-based methods to very quickly go to a good solution our solution to this printer problem is to break it down hierarchically first use a code search method to crunch down the uh non-convexity and come up with a convex corridor and then use continuous

  132. 1:15:21

    优化技术生成最终的平滑轨迹。我们来看一个搜索过程的具体例子:在这里,我们试图进行变道。在这个场景中,车辆需要连续完成两次变道才能在前方左转。为此,车辆会搜索不同的机动动作。

    optimization techniques to make the final smooth trajectory let's see an example of how the search operates so here we're trying to do a lane change in this case the car needs to do two back to back lane changes to make the left turn up ahead for this the car searches over uh different maneuvers um

  133. 1:15:46

    它搜索的第一个动作是在距离很近的地方变道,但车辆会猛烈刹车,因此非常不舒适;它尝试的下一个动作变道稍微晚了一些,所以它先加速,超到了其他车前方,最终完成了变道,但此时它面临着

    so the the first one it searches is a lane change that's close by but the car breaks pretty harshly so it's pretty uncomfortable the next maneuver it tries does the lane change bit late so it speeds up goes beyond the other car goes in front of the other cars and find it at the lane change but now it risks

  134. 1:16:03

    错过左转的风险。我们在极短的时间内进行了数千次这样的搜索,因为这些全都是基于物理的模型,非常容易仿真。最终我们会得到一组候选轨迹,并根据安全性、舒适度和能否从容完成转弯等最优性条件,挑选出最佳方案。

    missing the left turn we do thousands of such searches in a very short time span because these are all physics-based models these features are very easy to simulate and in the end we have a set of candidates and we finally choose one based on the optimality conditions of safety comfort and easily making the turn

  135. 1:16:23

    现在车辆选择了这条路径。大家可以看到,当车辆实际执行这条轨迹时,与我们规划的非常吻合。右侧的青色曲线是车辆的实际速度,下方白色的线条则是先前的规划。因此我们能够提前规划 10 秒,

    so now the car has chosen this path and you can see that as the car executes this trajectory it pretty much matches what we had planned the cyan plot on the right side here and that one is the actual velocity of the car and the white line be underneath it is was the plan so we are able to plan for 10 seconds

  136. 1:16:41

    并且事后回看时吻合得非常好,这是一次非常成功的规划。在与其他交通参与者一同行驶时,非常重要的一点是不仅要规划我们自己的路线,还必须联合大家一起规划,以优化整个场景的交通流。为了实现这一点,我们所做的实际上是

    here and able to match that when you see in hindsight so this is a well-made plan when driving alongside other agents it's important to not just plan for ourselves but instead we have to plan for everyone jointly and optimize for the overall scenes traffic flow in order to do this what we do is we literally run

  137. 1:17:01

    为场景中的每一个相关物体都运行一遍 Autopilot 规划器。这里有一个展示其必要性的例子,这是一个自动规划走廊的演示,大家可以先看一下视频。

    the autopilot planner on every single relevant object in the scene here's an example of why that's necessary this is an auto corridor i'll let you watch the video for a second

  138. 1:17:25

    是的,刚才正是 Autopilot 在行驶走廊中绕行停放的车辆、锥桶和立柱。这里是同一场景的 3D 视图。此时对向来车驶来,Autopilot 稍微减速,但随后意识到我们无法给对方让行,因为我们身侧没有空间,而对向车辆却可以

    yeah that was autopilot driving an auto corridor going around parked cars cones and poles uh here there's a 3d view of the same thing the oncoming car arrives now and autopilot slows down a little bit but then realizes that we cannot yield to them because we don't have any space to our side but the other car can

  139. 1:17:40

    给我们让行。因此 Autopilot 并没有盲目刹车,而是推断出那辆车的车速足够慢,可以靠边并应当给我们让行,因为我们无处可让,随后它果断向前推进。接着第二辆对向来车驶来,这辆车的速度更快,正如我刚才所说,

    heal to us instead so instead of just blindly breaking here all of our reasons about that car uh has low enough velocity that they can pull over and should yield to us because we cannot yield to them and assertively makes progress a second oncoming car arrives now this vehicle has higher velocity and like i said

  140. 1:18:00

    我们实际上也为那个物体运行了 Autopilot 规划器。在这种情况下,我们为它运行规划器,该物体的规划路径是绕过它那一侧停放的车辆,在越过那些停放车辆后,再回到道路右侧。既然我们无法洞悉

    earlier we literally run the autopilot planner for the other object so in this case we run the printer for them that object's plan now goes around their part their site's parked cars and then after they pass the parkours goes back to the right side of the road for them since we don't know what's in the mind of

  141. 1:18:15

    驾驶员脑中所想,实际上我们为这辆车预测了多种可能的未来轨迹。这里一种预测显示为红色,另一种显示为绿色。绿色方案是它给我们让行;但由于该物体的速度和加速度相当高,我们认为这个人不会给我们让行,而是

    the driver we actually have multiple possible features for this car here one feature is shown in red the other one is shown as green the green one is a plan that yields to us but since this object's velocity and acceleration are pretty high we don't think that this person is going to yield to us and they are

  142. 1:18:29

    真的会绕过这些停靠的车辆。于是 Autopilot 判定:好吧,我这边有空位,那个人肯定要冲过来,所以我要靠边避让。在 Autopilot 靠边避让的过程中,我们根据对方的偏航角速度和加速度,发现那辆车最终选择给我们让行,于是 Autopilot 立即

    actually going to go around these sparked cars so autopilot decides that okay i have space here uh this person is definitely going to come so i'm going to pull over so as autopilot is pulling over we notice that that car has chosen to yield to us based on their yaw rate and their acceleration and autopilot immediately

  143. 1:18:46

    改变策略,继续向前行驶。这就是为什么我们必须为所有交通参与者做规划,否则我们根本无法预判这个人会绕过其他停放车辆并返回其原车道。如果不这样做,Autopilot 就会过于胆怯,无法成为一台实用的自动驾驶汽车。因此,

    changes his mind and continues to make progress this is why we need to plan for everyone because otherwise we wouldn't know that this person is going to go around the other park cars and come back to their site if you didn't do this autopilot would be too timid and it would not be a practical self-driving car so

  144. 1:19:03

    刚才我们看到了搜索以及对其他人的规划如何构建出凸走廊。最后,我们进行连续优化,生成规划器所需执行的最终轨迹。这里的灰色区域就是凸走廊,我们用航向角和加速度对样条线进行初始化,并以轨迹的弧长

    now we saw how the search and planning for other people set up convicts valley uh finally we do a continuous optimization to produce the final trajectory that the planet uh needs to take here the grave uh thing is the convex corridor and we initialize the spline in heading and acceleration parameterized over the arc

  145. 1:19:20

    作为参数化基准。大家可以看到,连续优化会不断进行微调,以降低各项代价。例如其中的一些代价包括与障碍物的距离、通行时间以及舒适度。关于舒适度,大家可以看到右侧的侧向加速度曲线呈现出良好的梯形,

    length of the plan and you can see that the countermeasuration continuously makes fine-grained changes to reduce all of its cost some of the costs for example are distance from obstacles traversal time and comfort for comfort you can see that the lateral acceleration plots on the right have nice trapezoidal shapes uh

  146. 1:19:38

    画面马上就出来了,对,右侧这条绿色的曲线呈现出非常平滑的梯形。如果你记录人类驾驶的轨迹,差不多也就是这样,侧向颠簸(lateral jerk)也降到了最低。总结一下,我们对自身以及场景中的其他所有人都进行了搜索,构建出凸

    it's going to come up yeah here on the right side the green plot um that's a nice trapezoidal shape and if you record on a human trajectory this is pretty much how it looked like the lateral jerk is also minimized so in summary we do a search for both us and everyone else in the scene uh we set up a context

  147. 1:19:54

    走廊,然后优化出平滑的路径,两者结合就能实现如上所示的非常漂亮的操控。不过在其他地方驾驶可能会有些不同,比如在我长大的地方,交通要无序得多:汽车和行人互相抢道、急刹、按喇叭,完全是个疯狂的世界。我们可以尝试

    corridor and then optimize for a smooth path together these can do some really neat things like shown above but driving looks a bit different in other places like where i grew up from um it's very much more unstructured cars and pedestrians cutting each other arch braking honking um it's a crazy world um we can try

  148. 1:20:17

    扩展这些方法,但要想在运行时高效解决这类问题将会极其困难。相反,我们希望借助基于学习的方法来高效解决它们。我想向大家展示为什么确实应该这样做。为此,我们要把这个复杂的难题简化成一个相对简单的小型泊车

    to scale up these methods uh but it's going to be really difficult to efficiently solve this at runtime what we instead want to do is use learning based methods to efficiently solve them um and i want to show why this is true um so we're going to go from this complicated problem to a much simpler toy parking

  149. 1:20:32

    问题,但它依然能阐明核心所在。这是一个停车场,本车显示为蓝色,需要停进这里的绿色车位中。因此它需要绕开路沿、停放的车辆以及此处橙色标出的锥桶。我们先用一个简单的基线方案:A*,这是一种使用

    problem but still illustrates the core of the issue here this is a parking lot the ego car is in blue and needs to park in the green parking spot here so it needs to go around the curbs the park cars and the cones shown in orange here let's do this simple bass line it's a star the standard algorithm that uses

  150. 1:20:50

    网格状态空间搜索的标准算法,这里的启发式函数是到目标的欧几里得距离。大家可以看到,它直接朝目标冲去,但很快就陷入了局部极小值,随后从那里回溯,重新搜索另一条试图绕过这辆停放车辆的路径。最终

    a ladder space search um and and the heuristic here is a distance uh the euclidean distance to the goal so you can see that it directly shoots towards the goal but very quickly gets trapped in a local minima and it backtracks from there and then searches a different path to try to go around this parkour eventually

  151. 1:21:08

    它确实取得了进展并到达了目标,但为此耗费了 40 万个节点。显然,这是一个非常糟糕的启发式函数,我们希望能做得更好。如果我们为它加入一条导航路线,让车辆在靠近目标的同时沿着导航路线行驶,结果会是这样:导航

    it makes progress and gets to the goal but ends up using 400 000 nodes for making this obviously this is a terrible heuristic we want to do better than this so if you added a navigation route to it and has the car to follow the navigation route while being close to the goal this is what happens the navigation

  152. 1:21:27

    路线立刻起到了帮助,但当它遇到锥桶或其他障碍物时,基本上又重复了刚才的操作:回溯,然后搜索一整条全新的路径。粗暴的搜索完全不知道这些障碍物的存在,只能硬着头皮走过去检查是否会碰撞,如果会

    route helps immediately uh but still when it enter encounters uh cones or other obstacles it basically that's the same thing as before backtracks and then searches that whole new path and the support search has no idea that these obstacles exist it literally has to go there check if it's in collision and if it's

  153. 1:21:44

    碰撞就倒退。导航启发式虽然有帮助,但依然耗费了 2.2 万个节点。我们可以设计越来越多的此类启发式函数来帮助搜索提速,但要设计出一个全局最优的启发式函数既繁琐又困难。即使你设计了一个利用与锥桶距离来指导

    in collision back up the navigation heuristic helped but still this took 22 000 notes we can design more and more of these heuristics to help the search make go faster and faster but it's really tedious and hard to design a globally optimal heuristic even if you had a distance function from the cones that guided

  154. 1:22:04

    搜索的距离函数,它也仅仅对单个锥桶有效,而我们真正需要的是一个全局价值函数。因此,我们希望改用神经网络来为我们提供这种启发式信息。视觉网络生成向量空间,汽车在其中移动,这

    the search this would not this would not be this would only be effective for the single cone but what we need is a global global value function so instead of what we want to use is neural networks to give this heuristic for us the visual networks produces vector space and we have cars moving around in it this

  155. 1:22:19

    基本上就像是一款雅达利(Atari)游戏,而且还是多人版。因此我们可以使用 MuZero、AlphaZero 等曾用于攻克围棋和其他雅达利游戏的技术来解决同一个问题。我们目前正在研发能够输出状态和动作分布的神经网络,随后可以将其接入

    basically looks like a atari game and it's a multiplayer version uh so we can use techniques such as mu0 alpha zero et cetera that was used to solve go and other authority games to solve the same problem so we're working on neural networks that can produce state and action distributions that can then be plugged

  156. 1:22:35

    结合了各种代价函数的蒙特卡洛树搜索(MCTS)中。部分代价函数可以是显式代价函数,比如距离、碰撞、舒适度、通行时间等;但它们也可以来源于实际人工接管驾驶事件中的干预。我们针对这个简单的泊车问题训练了这样一个网络。同样的场景,

    into multicolored research with various cost functions some of the cost functions can be explicit cost functions like distance like collisions comfort traversal time etc but they can also be interventions from the actual manual driving events we train such a network for this simple parking problem so here again same problem

  157. 1:22:53

    我们来看看基于 MCTS 的搜索表现如何。

    let's see how mcts researched us

  158. 1:23:01

    大家在这里会注意到,规划器基本上一步到位地朝目标推进。请注意,这里甚至没有使用导航启发式,仅仅根据场景本身,规划器就能够径直朝目标前进。大家看到的其他所有分支都是可行选项,但它完全没有选择

    so here you notice that the planet is basically able to in one shot make progress towards the goal uh to notice that this is not even using a navigation heuristic just given the scene the planet is able to go directly towards the goal all the other options you're seeing are possible options it's not choosing any

  159. 1:23:17

    它们,而是直接选用了能径直带它驶向目标的那条。原因就在于神经网络能够理解场景的全局上下文,然后输出一个价值函数,有效地引导它走向全局极小值,而不是陷入任何局部极小值。所以这个过程只耗费了 288 个

    of them just using the option that directly takes it towards the goal the reason is that the neural network is able to absorb the global context of the scene and then produce a value function that effectively guides it towards the global minima as opposed to getting certain any local minima so this only takes 288

  160. 1:23:33

    节点,比使用欧氏距离启发式的 A* 算法减少了好几个数量级。这就是我们最终架构的大致轮廓:视觉系统将密集的视频数据压缩为向量空间,它将同时被显式规划器

    notes and several orders of magnitude less than what was done in the a star with the equilibrium distance heuristic so this is what a final architecture is going to look like the vision system is going to crush down the dense video data into a vector space uh it's going to be consumed by both an explicit planner

  161. 1:23:49

    和神经网络规划器消费。除此之外,网络规划器还可以利用网络的中间特征。两者结合生成轨迹分布,并且可以通过显式代价函数、人类干预以及其他模仿学习数据进行端到端优化。随后这会进入显式规划

    and a neural network planner in addition to this the network panel can also consume intermediate features of the network together this produces a trajectory distribution and it can be optimized end to end both with explicit cost functions and human intervention and other imitation data this then goes into explicit planning

  162. 1:24:06

    函数,执行对它而言容易处理的部分,并最终输出给汽车的转向和加速度控制指令。讲到这里,我们现在需要解释如何训练这些网络;而为了训练这些网络,我们需要庞大的数据集。接下来请安德烈简单讲讲人工标注。

    function that does whatever is easy for that and produces the final steering and acceleration commands for the car with that we need to now explain how we train these networks and for training these networks we need uh large data sets um and wait i'm ready to speak briefly about manual labeling

  163. 1:24:34

    好的,数据集这一环当然至关重要。到目前为止,我们只谈到了神经网络,但神经网络仅仅决定了性能的上限。这其中的许多神经网络都有数以亿计的参数,而这数亿个参数必须

    yeah so the data the story of data sets is critical of course so far we've talked only about neural networks but neural networks only establish an upper bound on your performance many of these neural networks uh they have hundreds of millions of parameters and these hundreds of millions of parameters they have to

  164. 1:24:48

    设置得当;如果参数配置糟糕,它就根本无法发挥作用。因此神经网络只是上限,你还需要庞大的数据集来真正训练出其内部正确的算法。刚才我特别提到,我们希望直接在向量空间中获取数据集,所以核心问题

    be set correctly if you have a bad setting of parameters it's not going to work so neural networks are just an upper bound you also need massive data sets to actually train the correct algorithms inside them now in particular i mentioned we want data sets directly in the vector space and so the really the question

  165. 1:25:03

    实际上就变成了:由于我们的网络有数以亿计的参数,你该如何积累数以百万计既干净又多样化的向量空间样本,从而有效地训练这些神经网络?这便涉及到了数据集的故事,以及它们如何配合

    becomes how can you accumulate because our networks have hundreds of millions of parameters how do you accumulate millions and millions of vector space examples that are clean and diverse to actually train these neural networks effectively now so there's a story of data sets and how they've evolved on the side of uh

  166. 1:25:20

    我们所取得的所有模型与技术进展同步演进。特别是在我大约四年前刚加入时,我们是与第三方合作来获取大部分数据集的。不幸的是,我们很快发现,在如此关键的任务上依靠第三方提供数据集是根本行不通

    all of the models and developments that we've achieved now in particular when i joined roughly four years ago we were working with a third party to obtain a lot of our data sets now unfortunately we found very quickly that working with a third party to get data sets for something this critical was just not going

  167. 1:25:35

    的。与第三方合作的时延极高,坦白讲质量也差强人意。本着 Tesla 全面垂直整合的精神,我们将所有标注工作全部收归自研。随着时间的推移,我们打造了一支拥有 1000 多人的数据标注团队,全都是与工程师

    to cut it the latency of working with a third party was extremely high and honestly the quality was not amazing and so in the spirit of full vertical integration at tesla we brought all of the labeling in-house and so over time we've grown more than one thousand person uh data labeling org that is full of professional

  168. 1:25:54

    紧密协作的专业标注人员。实际上他们就在美国本地,和这里的工程师在同一片区域办公,因此我们与他们的合作非常紧密。同时,我们也亲自从零为他们搭建了全套基础设施。我们有一支团队(大家稍后

    labelers who are working very closely with the engineers so actually they're here in the u.s and co-located with the engineers here in the area as well and so we work very closely with them and we also build um all of the infrastructure for them from scratch ourselves so we have a team we are going to meet later

  169. 1:26:09

    今天就会见到他们),专门负责开发和维护这整套数据标注基础设施。例如在这里,我展示了我们为所有标注工作流、相关人员以及各项任务所维护的时延、吞吐量和质量统计数据截图,以及标注数量

    today that develops and maintains all of this infrastructure for data labeling and so here for example i'm showing some of the screenshots of some of the latency throughput and quality statistics that we maintain about all of the labeling workflows and the individual people involved and all the tasks and how the numbers

  170. 1:26:24

    随时间增长的情况。我们发现这极其关键,也为此深感自豪。在最开始的大约三四年前,我们大部分的标注都是在图像空间中进行的。大家可以想象,要标注这样一张图像需要耗费相当多的时间,当时的情形

    of labels are growing over time so we found this to be quite critical and we're very proud of this now in the beginning roughly three or four years ago most of our labeling was in image space and so you can imagine that this is taking quite some time to annotate an image like this and this is what it looked

  171. 1:26:42

    大概就是这样:我们在一张张单独的图像上手动绘制多边形和折线。正如我提到的,我们需要数百万计的向量空间标注,这种方式根本行不通。因此我们很快进阶到了三维或四维标注,直接在向量空间中标注,

    like where we are sort of drawing polygons and polylines on top of on top of these single individual images as i mentioned we need millions of vector space labels so this is not going to cut it so very quickly we graduated to three-dimensional or four-dimensional labeling where we are directly labeling in vector space

  172. 1:27:00

    而不是在单张图像中操作。这里我展示的是一个片段,大家可以看到一个非常小范围的重建——稍后大家会看到更多重建场景——这是对车辆行驶地平面的小范围重建,以及此处重建出的少量点云。大家所

    not in individual images so here what i'm showing is a clip and you are seeing a very small reconstruction you're about to see a lot more reconstructions soon but it's very small reconstruction of the ground plane on which the car drove and a little bit of the point cloud here that was reconstructed and what you're

  173. 1:27:16

    看到的是,标注人员直接在向量空间中修改标注,然后我们再将这些修改重新投影回相机图像中。因此我们是直接在向量空间中进行标注,这大幅提升了我们各类标注的吞吐量,因为你只需在 3D 中标注一次,就能完成

    seeing here is that the labeler is uh changing the labels directly in vector space and then we are reprojecting those changes into camera images uh so we're labeling directly in vector space and this gave us a massive increase in throughput for a lot of our labels because you're labeled once in 3d and then you get

  174. 1:27:32

    重投影。但即便如此,我们意识到这依然是不够的。因为人和计算机各有所长、各有所短:人类极其擅长语义理解之类的事情,但计算机在几何重建、三角测量和目标追踪方面却非常出色。因此对我们而言,这越来越演变为一个

    to reproject but even this we realized was actually not going to cut it so because people and computers have different pros and cons so people are extremely good at things like semantics but computers are very good at geometry reconstruction triangulation tracking and so really for us it's much more becoming a story

  175. 1:27:53

    人机如何协作来共同创建这些向量空间数据集的故事。接下来我们将介绍自动标注,也就是我们为大规模标注这些片段所开发的一些基础设施。阿肖克,再次交给你了。虽然我们有大量的专业人工标注员,但训练

    of how do humans and computers collaborate to actually create these vector space data sets and so we're gonna not talk about auto labeling which is some of the infrastructure we've developed for labeling these clips at scale hi again so even though we have lots of human laborers the amount of training data

  176. 1:28:15

    这些网络所需的训练数据量远远超过了人工负荷。因此,我们大力投入建立了一个大规模的自动标注流水线。这里有一个我们如何标注单个片段的例子:一个片段是一个包含密集传感器数据的实体,比如视频、IMU 数据、GPS 里程计等,时长通常在 45 秒到 1 分钟左右。这些片段可以由

    needed for training with networks significantly outnumbers them so we try to invest in a massive auto labeling pipeline here's an example of how we label a single clip a clip is a entity that has dense sensor data like videos imu data gps odometry etc this can be 45 second to a minute long these can be uploaded

  177. 1:28:33

    我们自己的工程测试车或客户的车辆上传。我们收集这些片段后发送至服务器,在离线环境下运行大量的神经网络,生成分割掩码、深度、特征点匹配等中间结果。随后,这些结果会经过大量的机器人学算法处理,生成一套最终的

    by our own engineering cars or from customer cars we collect these clips and then send them to our servers where we run a lot of neural networks offline to produce intermediate results like segmentation masks depth point matching etc this then goes through a lot of robotics and a algorithm to produce a final set of

  178. 1:28:50

    可用于训练网络的标注数据。我们要标注的首要任务之一就是路面。通常我们可以使用样条曲线或网格来表示路面,但由于拓扑结构的限制,它们是不可微的,因而无法顺利生成此类结果。因此,我们借鉴了

    labels that can be used to train the networks one of the first tasks we want to label is the road surface typically we can use splines or meshes to represent the road surface but those are because of the topology restrictions are not differentiable and not amenable to producing this so what we do instead is in the

  179. 1:29:08

    去年非常流行的神经辐射场(NeRF)的研究思路,采用隐式表示来表征路面。在这里,我们查询地面上的 XY 点坐标,并让网络预测地表高度以及各种语义信息,如路沿、车道边界、

    style of neural radiance fields work from last year which is quite popular so we use an implicit representation to represent the road surface here we are querying xy points on the ground and asking for the network to predict the height of the ground surface along with various semantics such as curves lane boundaries

  180. 1:29:26

    路面、可行驶空间等。这样,给定单个 XY,我们就能得到对应的 Z,合在一起就构成了一个 3D 点,并且可以重新投影到所有的相机视角中。我们进行了数百万次这样的查询并获得了海量的点,这些点被重新投影到所有的相机视角中。右上角展示的正是其中一个

    road surface rival space etc so given a single xy we get a z together these make a 3d point and they can be reprojected into all the camera views so we make millions of such queries and get lots of points these points are reprojected into all the camera views in we are showing on the top right here one such

  181. 1:29:45

    重投影了所有这些点的相机图像。现在我们可以将这个重投影的点与分割的图像空间预测进行对比,并在空间和时间上针对所有相机视角进行联合优化,从而生成出色的重建结果。这就是效果示例,这里是

    camera image with all these points reprojected now we can compare this point reprojected point with the image space prediction of the segmentations and jointly optimizing this or all the camera views was across space and time produced an excellent reconstruction here's an example of how that looks like so here this is

  182. 1:30:06

    一个优化后的路面,它重投影到了车身搭载的 8 个相机上,并且贯穿所有时间段。大家可以看到它在空间和时间上是多么一致。因此,单辆车驶过某个地点,利用这种技术就可以扫描出轨迹周围的一小块区域,但我们不必局限于此。

    an optimized road surface that reproduction to the eight cameras that the car has and across all of time and you can see how it's consistent across both space and time so a single car driving through some location can sweep out some patch around the trajectory using this technique but we don't have to stop there

  183. 1:30:27

    所以在这里,我们收集了同一地点来自可能不同车辆的不同片段,每辆车都扫描了道路的一部分。酷的是我们可以将它们全部汇集到一个庞大的联合优化中。在这里,这 16 次不同的行驶记录被整合起来,利用路沿等各种特征进行对齐,

    so here we collect collected different clips from the same location from different cars maybe and each of them sweeps out some part of the road cool thing is we can bring them all together into a single giant optimization so here these 16 different trips are organized using aligned using various features such as roadages

  184. 1:30:47

    车道线等等。它们之间都应该彼此吻合,并且也要与它们所有的图像空间观测结果相吻合。合在一起,这就提供了一种高效的路面标注方法,不仅标注了车辆行驶过的地方,还标注了它未曾行驶过的其他位置。再次强调,这样做的目的不仅仅是为了构建

    lane lines all of them should agree with each other and also agree with all of their image space observations together this is this produces an effective way to label the road surface not just where the car drove but also in other locations that it hasn't driven it again the point of this is not to just build

  185. 1:31:02

    高精地图或类似的东西,它仅仅是为了给穿过这些路口的片段进行标注,所以只要标注与采集它们的视频保持一致,我们就不需要永远维护它们。在此基础上,人工还可以选择介入并清理任何噪声或补充元数据,使其

    hd maps or anything like that it's only to label the clips through these intersections so we don't have to maintain them forever as long as the labels are consistent with the videos that they were collected at optionally then humans can come on top of this and clean up any noise or additional metadata to make it

  186. 1:31:18

    更加丰富。我们不必仅止步于路面,我们还可以任意重建 3D 静态障碍物。嗯,这是用我们的相机重建出的 3D 点云。这里的主要创新点在于点云的密度。通常这些点需要纹理才能在帧与

    even richer we don't have to stop at just the road surface we can also arbitrarily reconstruct 3d static obstacles um here this is a reconstructed 3d point cloud from our cameras the main innovation here is the density of the point cloud typically these points require texture to form associations from one frame to

  187. 1:31:40

    帧之间建立关联,但在这里,即使在路面或墙壁等缺乏纹理的表面上,我们也能够生成这些点。这对于标注我们在现实世界场景中看到的任意障碍物非常有用。在服务器上离线完成所有这些工作的另一个很酷的优势是,我们拥有

    the next frame but here we are able to produce these points even on textual surfaces like the road surface or walls and this is really useful to annotate arbitrary obstacles that we can see on the scene in the world one more cool advantage of doing all of this on server on the servers offline is that we have

  188. 1:31:59

    后见之明的好处。这是一个极其有用的小技巧,因为比如在车端,网络需要给出速度时,它只能利用历史信息去猜测速度是多少;但在这里,我们既可以看历史,也可以看未来,基本上就是开卷作弊,从而得到正确的答案,

    the benefit of hindsight this is a super useful hack because uh say in the car then the network needs to produce the velocity it just has to use the historical information and guess what the velocity is but here we can look at both the history but also the future and basically cheat and get the correct answer

  189. 1:32:18

    也就是速度、加速度等运动学参数。另一个优势是我们会有不同的追踪轨迹,但我们能把它们拼接在一起,即使隔着遮挡,因为我们知道未来,我们有未来的轨迹,我们可以匹配并关联它们。所以在这里你可以看到马路对面的行人

    uh of the kinematics like velocity acceleration etc one more advantage is that we can have different tracks but we can switch them together that even through occlusions because we know the future we have future tracks we can match them and then associate them so here you can see the pedestrians on the other side

  190. 1:32:32

    即使多次被这些车辆遮挡,也依然被持续追踪。这对规划器来说极其重要,因为规划器需要知道,如果它曾经看到过某个人,即使那个人随后被遮挡了,它也仍然需要将他们考虑在内。所以这是一个巨大的优势。把所有东西综合起来,我们就能生成这些

    of the road are persisted even through multiple occlusions by these cars this is really important for the planner because the planner needs to know if it's if it saw someone it still needs to account for them even then they are occluded so this is a massive advantage combining everything together we can produce these

  191. 1:32:51

    惊人的数据集,它标注了所有的道路纹理、静态物体以及所有的移动物体,即使存在遮挡也是如此,并能生成出色的运动学标注。你们可以看到车辆如何平顺地转弯并生成非常平滑的标注,或者行人被稳定追踪,停放的车辆显然速度为零,

    amazing data sets that annotate all of the road texture or the static objects and all of the moving objects even through occlusions producing excellent kinematic labels all you can see how the cards turn smoothly produce really smooth labels or the pedestrians are consistently tracked the park cars uh obviously zero velocity

  192. 1:33:11

    所以我们也能知道它们处于停泊状态。这对我们来说意义重大。这是同一个东西的另一个示例,你可以看到所有内容是多么一致。我们希望生成一百万个这样的标注片段,并用这样庞大的数据集来训练我们的视频多相机网络,从而彻底攻克这一难题。我们希望在车端也能获得

    so we can also know that they are parked so this is huge for us this is one more example of the same thing you can see how everything is consistent we want to produce a million such uh labeled clips and train our video multicam video networks with such large data set and really crush this problem we want to get

  193. 1:33:31

    与我们在这里看到的完全一致的视图。我们最初是在“移除雷达”项目中对这一点展开探索的。我们在极短的时间内去掉了它,我想是在三个月以内。在网络的早期阶段,我们注意到例如在低能见度条件下,网络

    the same view that's consistent that we're seeing here in the car we started our first exploration of this with the remove the data project uh we removed it in a very top a short time span i think within three months in the early days of the network we noticed for example in low security conditions the network

  194. 1:33:48

    的表现会变差,这是可以理解的,因为显然这辆卡车刚刚扬了我们一身雪,确实很难看清。但我们仍然应该记住有这辆车停在前方,然而早期我们的网络由于缺乏这种条件下的数据而做不到这一点。所以我们所做的就是让车队去生成

    can suffer understandably because obviously this truck just dumped a bunch of snow on us and it's really hard to see but we should still remember that this car was in front of us but our networks early on did not do this because of the lack of data in such conditions so what we did we added the fleet to produce

  195. 1:34:06

    大量类似的片段,车队也确实响应了。它生成了……有在播放吗?是的,它生成了大量的视频片段,里面都是各种东西从其他车辆上掉落下来的场景。我们把这些输入到我们的自动标注流水线中,它在一周内就标注了一万个片段。如果让人工来标注这里的每一个片段,

    lots of similar clips and the fleet responded it did so it produces um is it play yeah it produces lots of video clips where shit's falling out of all other vehicles and we send this through our auto living pipeline that was able to label 10k clips in within a week this would have taken several months with humans

  196. 1:34:30

    本需要耗费好几个月。因此我们针对 200 种不同的工况都进行了这样的操作,从而能够非常迅速地创建大型数据集,我们也是借此得以去掉了雷达。一旦我们用这些数据训练网络,你就能看到它完全起作用了,它能保持目标曾经在那里的记忆,并且

    labeling every single clip here so we did this for 200 of different conditions and we were able to very quickly create large data sets and that's how we were able to remove this so once we train the networks with this data you can see that it's totally working and keeps the memory that the subject was there and

  197. 1:34:49

    提供这些信息。最后,我们其实还想在移除雷达的数据集中加入一辆 Cybertruck。大家能猜出我们是从哪里拿到这个片段的吗?我给大家一点时间。有人猜出来了,没错,没错,它是渲染出来的,是我们的仿真。起初连我也很难分辨出来,而且如果允许我自己夸一句的话,它

    provides this so finally we wanted to actually get a cyber truck into a data set for the remote radar can you all guess where we got this clip from i'll give you a moment someone said it yes yes it's rendered it's our simulation it was hard for me to tell initially and i if i may if i may say so myself it

  198. 1:35:11

    看起来很棒,看起来非常逼真。嗯,所以除了自动标注之外,我们还大量投入使用仿真来标注我们的数据。这是和前面相同的场景,但来自不同的相机视角。我想指出几点,例如地面并不是平整的沥青,

    looks pretty it looks very pretty um so yeah in addition to auto labeling we also invest heavily in using simulation for labeling our data so this is the same scene as seen before but from a different camera angle so a few things that i wanted to point out for example the ground surface it's not a plane asphalt

  199. 1:35:34

    上面有很多车印、裂缝和沥青接缝,表面还有一些修补痕迹。车辆的行驶很逼真,卡车是铰接式的,甚至还会压过路肩来个大转弯。其他车辆的表现很聪明,它们避让碰撞、绕过车辆,并且刹车也很平顺、实际表现很平稳,

    there are lots of cars and cracks and tower seams there's some patchwork done on top of it vehicles move realistically the truck is articulated uh even goes over the curb and makes a wide turn um the other cars behave smartly they avoid collisions go around cars uh and also smooth and actual great smooth uh brake

  200. 1:35:53

    加速也非常平顺。这里顶部带有标志的车是 Autopilot,实际上正是 Autopilot 在开那辆车,它正在进行非保护性左转。由于这是仿真,它是从矢量空间开始构建的,所以拥有完美的真值标注。这里我们展示了生成的几种标注,包括带有

    and accelerate smoothly the car here with the logo on the top is autopilot actually auto part is driving that car and it's making unproductive left hand and since it's a simulation it starts from the vector space so it has perfect labels here we show a few of the labels that we produce these are vehicle cuboids with

  201. 1:36:12

    运动学参数的车辆 3D 边界框、深度、表面法线、语义分割。但 Andrej 下周随时可以提出一个他想要的新任务,我们就能非常迅速地生成它,因为我们已经有了矢量空间,我们编写代码就能非常迅速地生成这些标注。那么仿真在什么时候有用呢?第一,在数据很难

    kinematics depth surface normals segmentation but andre can name a new task that he wants next week and we can very quickly produce this because we already have a vector space and we can write the code to produce these labels very very quickly so when does simulation help it helps number one when the data is difficult

  202. 1:36:32

    获取的时候。尽管我们的车队规模庞大,但有些离奇的场景仍然很难采集到,比如这对情侣带着他们的狗在高速公路上奔跑,而周围全都是疾驰的汽车。我想说这是一个相当罕见的场景,但仍然有可能发生,并且当它发生时,Autopilot 仍然需要能够应对。第二,当数据很难

    to source as large as our fleet is it can still be hard to get some crazy scenes like this couple and their dog running on the highway while there are other high-speed cars around this is a pretty rare scene i'd say but still can happen and autopilot still needs to handle it when it happens when data is difficult

  203. 1:36:51

    标注的时候。嗯,有成百上千的行人在过马路,这可能是某个市中心人们穿过街道。人工标注这段视频需要花费好几个小时,甚至对自动标注算法来说,想要把关联关系处理正确也是极其困难的,可能会算出糟糕的速度。

    to label um there are hundreds of pedestrians crossing the road this could be a mountain downtown people crossing the road it's going to take several hours for humans to label this clip and even for automatic labeling algorithms this is really hard to get the association right and it can produce like bad velocities

  204. 1:37:05

    但在仿真中,这是轻而易举的,因为物体本来就在那里,你只需要输出边界框和速度即可。最后,当我们引入闭环行为时,即车辆必须面对特定情境,或者数据取决于车辆的动作,这几乎是唯一能够

    but in simulation this is trivial because you already have the objects you just have to spit out the cuboids and the velocities and also finally when we introduce closed loop behavior where the cars needs to be in a determining situation or the data depends on the actions this is pretty much the only way to get

  205. 1:37:20

    可靠获取数据的方法。所有这些都很棒,但要实现这一点需要什么呢?第一,精确的传感器仿真。再次强调,仿真的目的不仅仅是生成好看的画面,它必须能够生成车载相机和其他传感器真正会看到的内容。这里我们正在逐步对比不同的曝光设置,

    it reliably all this is great what's needed to make this happen number one accurate sensor simulation again the point of the simulation is not to just produce pretty pictures it needs to produce what the camera in the car would see and other sensors would see so here we are stepping through different exposure settings

  206. 1:37:41

    左边是真实相机,右边是仿真。我们基本上能够做到与真实相机的表现完全一致。为了做到这一点,我们必须在传感器仿真中对相机的许多属性进行建模,从传感器噪声、运动模糊、光学畸变,甚至大灯的透射,

    of the real camera on the left side and the simulation on the right side we're able to pretty much match what the real cameras do in order to do this we had to model a lot of the properties of the camera in our sensor simulation um starting from sensor noise motion blur optical distortions even headlight transmissions

  207. 1:38:02

    乃至于像挡风玻璃的衍射图样等等。我们不仅将这用于 Autopilot 软件,还用它来做出硬件层面的决策,比如镜头设计、相机设计、传感器位置,甚至大灯的透射特性。第二,我们需要以逼真的方式渲染视觉效果,绝不能出现

    uh even like diffraction patterns of the windshield etcetera we don't use this just for the autopilot software we also use it to make hardware decisions such as lens design camera design sensor placement even headlight transmission properties second we need to render the visuals uh in a realistic manner you cannot have

  208. 1:38:24

    游戏行业所说的锯齿。这些走样瑕疵会一眼让人看出这是仿真,我们不希望有这些,所以我们费了很大功夫来实现出色的空域-时域抗锯齿。我们还在研发神经渲染技术,让画面变得更加真实。

    what in the game industry called jaggies these are aliasing artifacts that are dead giveaway that this is simulation we don't want them so we go through a lot of paints to produce a nice special temple a special temporal anti-aliasing we also are working on neural rendering techniques to make this even more realistic

  209. 1:38:47

    对,此外我们还使用光线追踪来产生逼真的光照和全局光照。好了,我想这是最后一辆警车了。显然我们不能只拥有四五辆车,因为网络由于掌握了尺寸会很容易过拟合,所以我们需要逼真的资产,比如

    yeah in addition we also use ray tracing to produce realistic lighting and global illumination okay that's the last of the cop cars i think we obviously cannot have uh really just four or five cars because the network will easily overfit because it knows the sizes um so we need to have realistic assets like the

  210. 1:39:04

    这里的这只驼鹿。我们的库中有数千种资产,它们可以穿不同的衣服,并且确实能够逼真地移动,这真的很酷。我们还对许多不同的地点进行了建图和制作,以搭建这些仿真环境。我们实际上已经建造了 2000 英里的道路,这

    moose on the road here um we have thousands of assets in our library and they can wear different shirts and actually can move realistically so this is really cool we also have a lot of different locations mapped and created uh to create these uh sim environments we have actually 2000 miles of uh road built and this

  211. 1:39:23

    几乎相当于横跨美国东西海岸的公路长度,我认为这非常酷。此外,我们还构建了高效的工具,单个美术师在一天内就能再多建好几英里。但这仅仅是冰山一角,实际上我们用于训练的大多数数据

    is almost the length of the roadway from the east coast the west coast of the united states which i think is pretty cool in addition we have built efficient tooling to build several miles more on a single day on a for a single artist but this is just tip of the iceberg actually most of the data that we use

  212. 1:39:40

    都是使用算法程序化生成的,而不是由美术师来制作这些仿真场景。这些全都是程序化生成的道路,带有许多参数,比如曲率、各异的树木、锥桶、线杆,以及以不同速度行驶的车辆,它们的交互为网络产生了源源不断的数据流。

    to train is created procedurally using algorithms as opposed to artists making these simulation scenarios so these are all procedurally created roads with lots of parameters such as curvature various varying trees cones poles cars with different velocities and the interaction produce an endless stream of data for the network

  213. 1:40:00

    但是这些数据中有很多可能是乏味的,因为网络可能已经能正确处理了。所以我们所做的是还利用基于机器学习的技术来扰动网络,看看它在哪些地方会出错,并在网络出错的地方生成更多的数据。这是在闭环中努力使网络

    but a lot of this data can be boring because the network might already get it correct so what we do is we use also ml based techniques to basically put up the network to see where it's failing at and create more data around the failure points of the network so this is in closed loop trying to make the network

  214. 1:40:13

    的性能变得更好。我们还不满足于此,实际上我们希望在仿真中重现 Autopilot 发生过的任何失误,以便我们从此能让 Autopilot 保持在相同的标准之上。在左边大家看到的是从车端采集的真实片段,然后它会经过我们的

    performance be better we don't want to stop there so actually we want to create recreate any failures that happens to the autopilot in simulation so that we can hold autopilot to the same bar from then on so here on the left side you are seeing a real clip that was collected from a car it then goes through our

  215. 1:40:34

    自动标注流水线,生成包含所有运动物体在内的场景 3D 重建。将其与原始的视觉信息相结合,我们就能以合成方式重现相同的场景,并完全基于它创建一个仿真案例。然后,当我们在其中对 Autopilot 进行重放时,Autopilot 可以做出全新的动作,

    auto labeling pipeline to produce a 3d reconstruction of the scene along with all the moving objects with this combined with the original visual information we recreate the same scene synthetically and create a simulation scenario entirely out of it so and then when we replay autopilot on it autopilot can do entirely

  216. 1:40:51

    我们也能从最初的失误中构建出全新的世界和全新的结果。这太不可思议了,因为我们真的不希望 Autopilot 出现失误,而一旦它失误了,我们就要抓住它并让它达到这个标准。不仅如此,我们实际上还可以采用前面提到的相同方法,并更进一步,

    new things and we can form new worlds new outcomes from the original failure this is amazing because we really don't want autopilot to fail and when it fails we want to capture it and keep it to that bar not just that we can actually take the same approach that we said earlier and take it one step further we

  217. 1:41:12

    我们可以使用神经渲染技术让它看起来更加逼真。我们拿来原始的视频片段,据此创建一个合成仿真,然后在其上应用神经渲染技术,就生成了眼前这个画面。在我看来这太令人惊艳了,因为这非常逼真,看起来

    can use neural rendering techniques to make it look even more realistic so we take the original original video clip we create a synthetic uh simulation from it and then apply neural rendering techniques on top of it and it produces this which looks amazing in my opinion because this one is very realistic and looks

  218. 1:41:28

    几乎就像是用真实相机拍摄的一样。大家看到的是昨晚刚出的成果,因为太酷了,所以我们想展示给大家。但是,是的,我对仿真能取得的成果感到非常兴奋。但这还不是全部,因为车端训练的网络已经在使用仿真数据了。我们使用了 3 亿张图像和将近 5 亿个

    almost like it was captured by the actual cameras they saw results from last night because it was cool and we wanted to present it but yeah yeah i'm very excited for what sim can achieve but this is not all because network's trained in the car already used simulation data we used 300 million images with almost half

  219. 1:41:47

    标签,我们希望彻底攻克接下来的几个月里将要面对的所有任务。接下来,我想邀请米兰(Milan)上台,来解释我们如何扩展这些业务规模,真正建立一个标签工厂并吐出数以百万计的标签。好的,谢谢阿肖克(Ashok)。

    a billion labels and we want to crush down all the tasks that are going to come up for uh the next several months with that i invite milan to see uh to explain how we scale these operations and really build a label factory and spit out millions of labels all right thanks ashok

  220. 1:42:11

    大家好,我是米兰,负责车载神经网络的集成,以及大部分神经网络训练和评估基础设施。今晚我想先让大家了解一下,驱动这种数据生成工厂需要多么庞大的算力规模。

    hey everyone i'm milan i'm responsible for the integration of our neural networks in the car and for most of our neural network training and evaluation infrastructure and so tonight i'd just like to start by giving you some perspective into the amount of compute that's needed to power this type of data generation factory

  221. 1:42:28

    具体而言,就在几个月前我们团队为了让 Autopilot 摆脱对雷达传感器的依赖而全力冲刺的背景下,我们在 250 万个片段中生成了超过 100 亿个标签。为此,我们不得不将庞大的离线神经网络和仿真

    and so in the specific context of the push we went through as a team here a few months ago to get rid of the dependency on the radar sensor for the pilot we generated over 10 billion labels across two and a half million clips and so to do that we had to scale our huge offline neural networks and our simulation

  222. 1:42:47

    引擎扩展到数千块 GPU 和接近 20,000 个 CPU 核心上。除此以外,我们还在仿真引擎的回路中接入了 2,000 多台真实的 Autopilot 全自动驾驶计算机,而那仅仅是我们最小的计算集群。接下来我想让大家了解一下,把我们的神经网络

    engine across thousands of gpus and just a little bit shy of 20 000 cpu cars on top of that we also included over 2000 actual autopilot full self-driving computers in the loop with our simulation engine and that's our smallest compute cluster so i'd like to give you some idea of what it takes to take our neural

  223. 1:43:10

    部署到车端需要付出什么。我们在车端主要面临的两大限制是延迟和帧率,它们对安全性至关重要,同时也关系到能否对周围环境的加速度和速度做出准确的估计。因此,问题的核心实际上在于我们在组内

    networks and move them in the car and so the the two main constraints that we're working on there here are mostly latency and frame rate which are very important for safety but also to get proper estimates of acceleration and velocity of our surroundings and so the meat of the problem really is around uh the ai compiler

  224. 1:43:33

    编写和扩展的 AI 编译器,它主要负责把 PyTorch 模型的计算操作映射到一组专用且经过加速的硬件上。我们在一边这样做的同时,还要找出一套针对吞吐量进行优化的调度方案,同时应对极度严苛的 SRAM 限制。顺便

    that we write and extend here within the group that essentially maps the compute operations for my apart torch model to a set of dedicated and accelerated uh pieces of hardware and we do that while figuring out a schedule that's optimized for throat put while working on their severe sram constraints and so by the

  225. 1:43:54

    提一句,我们不仅仅是在一个引擎上这样做,而是在 Autopilot 计算机的两个引擎上同时进行。在 Tesla,我们使用这些引擎的方式是,在任何特定时刻,实际上只有一个引擎会向车辆输出控制指令,而另一个引擎则用作算力的扩展,但这两个角色

    way we're not doing that just on one engine but on across two engines on the autopilot computer and the way we use those engines here at tesla is such that at any given time only one of them will actually output control commands to the vehicle while the other one is used as an extension of compute but those roles

  226. 1:44:09

    无论在硬件还是软件层面上都是可互换的。那么,作为一个团队,我们如何在这类 AI 开发周期中快速迭代呢?首先,过去几年里我们大幅扩展了对软件神经网络进行评估的能力,如今针对团队提交的任何代码更改,我们每周都会运行超过一百万次评估,

    are interchangeable both at the hardware and software level so how do we interact quickly together as a group through these ai development cycles well first we have been scaling our capacity to evaluate our software neural network dramatically over the past few years and today we're running over a million evaluations

  227. 1:44:28

    这些评估运行在 3,000 多台真实的 FSD 计算机上,它们在一个专用集群中互联。在此基础之上,我们一直在开发非常酷的调试工具。这里展示的就是我们工具之一的视频,它正在

    per week on any code change that the team is producing and those evaluations runs on over three thousand actual footstar driving computers that are hooked up together in a dedicated uh cluster and so on top of this we've been developing really cool uh debugging tools and so here is a video of one of our tools which

  228. 1:44:48

    帮助开发者在神经网络开发过程中进行迭代,并在对视频片段进行实时回放时,实时对比同一神经网络模型不同版本之间的输出。最后但同样重要的一点是,在过去几年里,我们大幅扩展了神经网络训练的算力规模,

    is uh helping developers uh iterate through the development of neural networks and comparing live the outputs from different revisions of a same neural network model as reiterating life through a video clips and so last but not least uh we've been scaling our neural network training compute dramatically over the past

  229. 1:45:08

    如今我们拥有接近 10,000 块 GPU。单从 GPU 数量的角度让大家感受一下,这已经超过了全球公开排名前五的超级计算机。但这还远远不够,所以我想邀请甘内什(Ganesh)上来谈谈接下来的规划。

    few years and today we're barely shy of 10 000 gpus which just to give you some sense in terms of number of gpu is more than the top five publicly known supercomputers in the world but that's not enough and so i'd like to invite ganesh to talk about the next steps

  230. 1:45:34

    谢谢米兰。

    thank you milan

  231. 1:45:40

    我叫甘内什,负责 Dojo 项目。我很荣幸代表致力于该项目的跨学科 Tesla 团队来介绍它。正如大家从米兰那里所看到的,对于神经网络训练的速度和容量存在着永无止境的需求。埃隆(Elon)提前预见到了这一点,几年前

    my name is ganesh and i lead project dojo it's an honor to present this project on behalf of the multidisciplinary tesla team that is working on this project as you saw from milan there's an insatiable demand for speed as well as capacity for neural network training and elon prefetched this and a few years

  232. 1:46:04

    他要求我们设计一台超高速的训练计算机,这就是我们启动 Dojo 项目的由来。我们的目标是实现最顶尖的 AI 训练性能,支持 Andrej 团队梦想中的所有这些更大、更复杂的模型,同时还要做到兼顾能效和成本效益。所以我们思考了该如何

    back he asked us to design a super fast training computer and that's how we started project dojo our goal is to achieve best ai training performance and support all these larger more complex models that andres team is dreaming of and be power efficient and cost effective at the same time so we thought about how

  233. 1:46:28

    构建它,并提出了一种分布式计算架构。毕竟,目前所有的训练计算机在某种形式上都是分布式计算机。它们在这个计算单元盒子里配备了计算元件,通过某种网络连接起来,在这个案例中是一个二维网络,但它也可以是任何

    to build this and we came up with a distributed compute architecture after all all the training computers out there are distributed computers in one form or the other they have compute elements in the box out here connected with some kind of network in this case it's a two-dimensional network but it could be any

  234. 1:46:48

    不同的网络。CPU、GPU、加速器,它们都有计算单元、少量内存和网络。但这其中的一个普遍趋势是:扩展算力很容易,扩展带宽非常困难,而降低延迟则极其困难。大家将会看到我们的设计方案是如何迎合这一点的,

    different network cpu gpu accelerators all of them have compute little memory and network but one thing which is common trend amongst this is it's easy to scale the compute it's very difficult to scale up bandwidth and extremely difficult to reduce latencies and you'll see how our design point catered to that

  235. 1:47:13

    我们的理念是如何解决传统限制的这些方面的。对于 Dojo,我们设想了一个庞大的计算平面,上面布满了非常稳健的计算元件,由大容量内存池作为后盾,并以极高带宽、低延迟的网络结构在 2D Mesh 格式下相互连接。在这一基础上,

    how our philosophy addressed these aspects of traditional limits for dojo we envisioned a large compute plane filled with very robust compute elements backed with large pool of memory and interconnected with very high bandwidth and low latency fabric and in a 2d mesh format and on to this

  236. 1:47:37

    面对极端规模,大型神经网络将被切分和映射,以提取不同的并行性——模型并行、计算图并行、数据并行。然后我们的神经编译器将利用空间和时间局部性,从而将通信足迹减少到局部区域,并减少全局通信。

    for extreme scale big neural networks will be partitioned and mapped to extract different parallelism model graph data parallelism and then in neural compiler of ours will exploit spatial and temporal locality such that it can reduce communication footprint to local zones and reduce global communication

  237. 1:48:01

    如果我们做到了这一点,我们的带宽利用率就可以随着我们在此所需的计算平面持续扩展。我们希望自顶向下贯穿整个软硬件栈来攻关这个问题,消除这些层级中的任何瓶颈。让我们以由内向外的方式开启这段旅程,

    and if we do that our bandwidth utilization can keep scaling with the plane of compute that we desire out here we wanted to attack this all the way top to the bottom of the stack and remove any bottlenecks at any of these levels and let's start this journey in an inside out fashion

  238. 1:48:26

    首先从芯片讲起。正如我所描述的,芯片包含计算元件,我们最小的实体或尺度被称为训练节点,而这个节点的选择对于确保无缝扩展非常重要。如果节点做得太小,运行速度会很快,但同步开销和软件开销将占据主导;

    starting with the chip as i described chips have compute elements our smallest entity or scale is called a training node and the choice of this node is very important to ensure seamless scaling if you go too small it will run fast but the overheads of synchronization will end software will dominate

  239. 1:48:50

    如果选得太大,在实际硬件中的实现会非常复杂,最终会遭遇内存瓶颈问题。因为我们希望将延迟和带宽作为我们的首要优化目标,所以来看看我们是如何做到的。我们所做的是选取了一个信号在极高时钟周期内

    if you pick it too big it will have complexities in implementation in the real hardware and ultimately run into memory bottleneck issues because we wanted to address we wanted to address latency and bandwidth as our primary optimization point let's see how we went about doing this what we did was we picked the farthest

  240. 1:49:13

    能传输的最远距离,在这个案例中是 2GHz 以上,然后我们围绕它画了一个框。这就是信号在极高频率下一个周期内能够走过的最小延迟距离。然后我们把这个框里塞满了连线,达到极限。这就是你能获得的最大带宽

    distance a signal could traverse in a very clock very high clock cycle in this case two gigahertz plus and we drew a box around it this is the smallest latency that a signal can traverse one cycle at a very high frequency and then we filled up the box with wires to the brink this is the highest bandwidth you

  241. 1:49:35

    能为这个模块提供的最高带宽。接着,我们在底部加入了机器学习计算单元,然后是大容量的 SRAM 资源池,最后但同样重要的是一个用于控制的可编程核心。这就构成了我们高性能的训练节点。具体来说,这是一个针对矩阵乘法单元和矢量 SIMD 进行了优化的 64 位超标量 CPU。

    can feed the box with and then we added machine learning compute underneath and then a large pool of sram and last but not the least a programmable core to control and this gave us our high performance training node what this is is a 64-bit superscalar cpu optimized around matrix multiply units and vector cmd

  242. 1:50:00

    它支持 FP32、Bfloat16 以及一种名为 CFP8(可配置 FP8)的新格式。它的背后由 1.25 MB 带 ECC 保护的高速 SRAM,以及我们设计的低延迟、高带宽互连结构提供支持。这可能是我们最小的可扩展实体,但它蕴含着巨大的

    it supports floating point 32 b float 16 and a new format cfp8 configurable fp8 and it is backed by one and a quarter megabyte of fast ecc protected sram and the low latency high bandwidth fabric that we designed this might be our smallest entity of scale but it packs a big

  243. 1:50:24

    能量,在我们最小的可扩展实体中拥有超过 1 TFLOPS 的算力。我们来看看它的架构。在座的计算机架构师可能会认出来,只要你一看到它就会发现,这是一个性能相当强悍的架构。它是一个超标量顺序执行 CPU,拥有 4 宽度的标量和 2 宽度的……呃……

    punch more than one teraflop of compute in our smallest entity of scale so let's look at the architecture of this the computer architects out here may recognize this this is a pretty capable architecture as soon as you see this it is a super scalar in order cpu with four wide vector and two wide vect two wide uh

  244. 1:50:48

    4 宽度的标量和 2 宽度的矢量流水线。我们称其为顺序执行,虽然矢量和标量流水线可以乱序执行,但对于追求严谨的人来说,我们仍然称它为顺序执行。它还具备 4 路超线程,这提高了利用率,因为我们可以同时进行计算和数据传输,而且

    four wide scaler and two wide vector pipes we call it in order although the vector and the scalar pipes can go out of order but for the purest out there we still call it in order and it also has four-way multi-threading this increases utilization because we could do compute and data transfers simultaneously and

  245. 1:51:08

    我们的定制 ISA(指令集架构)完全针对机器学习工作负载进行了优化。它具备诸如转置(transpose)、收集(gather)、链路遍历(link traversals)、广播(broadcast)等特性,仅举几例。甚至在物理层面,我们也将其做得极具模块化,以便我们可以在任意方向上拼接这些训练节点,

    our custom isa which is the instruction set architecture is fully optimized for machine learning workloads it has features like transpose gather link traversals broadcast just to name a few and even in the physical realm we made it extremely modular such that we could start averting these training nodes in any direction

  246. 1:51:32

    并开始构建我们所设想的计算平面。当我们将 354 个这样的训练节点拼接在一起时,就得到了我们的计算阵列。它能够提供数 Teraflops 的机器学习算力,当然还有将它们互连的高带宽结构。在

    and start forming the compute plane that we envisioned when we click together 354 of these training nodes we get our compute array it's capable of delivering teraflops of machine learning compute and of course the high bandwidth fabric that interconnects these and around

  247. 1:51:56

    这个计算阵列的外围,我们布置了 576 个高速低功耗 SerDes,使我们能够让这款芯片拥有极高的 I/O 带宽。为了让大家有个对比的概念,这是目前最先进的网络交换芯片带宽的

    this compute array we surrounded it with high speed low power services 576 of them to to enable us to have extreme i o bandwidth coming out of this chip just to give you a comparison point this is more than two times the bandwidth coming out of the state-of-the-art networking switch chips

  248. 1:52:21

    两倍以上,而网络交换芯片向来被视为 I/O 带宽的黄金标准。如果我们把所有这些整合在一起,就得到了一款专为训练优化的芯片——我们的 D1 芯片。该芯片采用 7 纳米工艺制造,在仅有 645

    which are out there today and network switch chips are supposed to be the gold standards for i o bandwidth if we put all of it together we get training optimized chip our d1 chip this chip is manufactured in seven nanometer technology it packs 50 billion transistors in a miserly 645

  249. 1:52:45

    平方毫米的面积内集成了 500 亿个晶体管。你会注意到一点:这里 100% 的面积都用于机器学习训练和带宽。没有暗硅(dark silicon),没有历史遗留兼容负担,这是一台纯粹的机器学习机器。而这就是

    millimeter square one thing you'll notice 100 of the area out here is going towards machine learning training and bandwidth there is no dark silicon there is no legacy support this is a pure machine learning machine and this is

  250. 1:53:09

    采用倒装芯片 BGA(flip chip BGA)封装的 D1 芯片。这完全由 Tesla 团队自主内部设计,从架构设计一直到流片(GDS out)和封装。这款芯片拥有 GPU 级别的算力、CPU 级别的灵活性,以及两倍于

    the d1 chip in a flip chip bga package this was entirely designed by tesla team internally all the way from the architecture to gds out and package this chip is like a gpu level compute with a cpu level flexibility and twice

  251. 1:53:34

    网络芯片级别的 I/O 带宽。如果把现有顶尖机器学习芯片(包括一些初创公司的产品)的 I/O 带宽放在纵轴上,计算算力(TFLOPS)放在横轴上作图,你就能很容易看出为什么我们的设计方案能全面领先。既然我们有了这个

    the network chip level i o bandwidth if i were to plot the i o bandwidth on the vertical scale versus teraflops of compute that is available in the state-of-the-art machine learning chips are there including some of the startups you can easily see why our design point excels beyond power now that we had this

  252. 1:53:58

    底层的物理构建基块,那该如何围绕它设计系统呢?我们来看看。由于 D1 芯片之间无需任何桥接芯片即可无缝连接,我们便开始将它们拼在一起。我们把

    fundamental physical building block how to design the system around it let's see since d1 chips can seamlessly connect without any glue to each other we just started putting them together we just put

  253. 1:54:24

    50 万个训练节点组合在一起,构成了我们的计算平面。这是由 1500 颗 D1 芯片无缝互联而成的。接着,我们在两端加上 Dojo 接口处理器,这是连接数据中心常见主机的桥接节点。

    500 000 training nodes together to form our compute plane this is 1500 d1 chips seamlessly connected to each other and then we add dojo interface process processors on each end this is the host bridge to typical hosts in the data centers

  254. 1:54:49

    它一侧通过 PCIe Gen4 连接,另一侧通过高带宽结构连接到我们的计算平面。接口处理器不仅充当主机桥接,还为计算平面提供高带宽 DRAM 共享内存。此外,接口处理器还允许我们拥有更高基数(higher radix)的网络连接。

    it's connected with pci gen4 on one side with a high bandwidth fabric to our compute plane the interface processors provide not only the host bridge but high bandwidth dram shared memory for the compute plane in addition the interface processors can also allow us to have a higher radix network connection

  255. 1:55:14

    为了实现这个计算平面,我们不得不提出一种将这些芯片集成在一起的全新方式,这就是我们所谓的训练瓦片(Training Tile)。这是我们系统的扩展单元。这是一项突破性的集成技术,将 25 个已知良好的 D1 裸片集成在扇出型

    in order to achieve this compute plane we had to come up with a new way of integrating these chips together and this is what we call as a training tile this is the unit of scale for our system this is a groundbreaking integration of 25 known good d1 dies onto a fan

  256. 1:55:38

    晶圆工艺上,紧密集成以保持它们之间的带宽,实现了最大带宽的保留。此外,我们还开发了一种连接器,一种高带宽、高密度的连接器,它能保持从这个训练瓦片输出的带宽。这个瓦片能为我们提供 9 PFLOPS

    out wafer process tightly integrated such that it preserves the bandwidth between them the maximum bandwidth is preserved there and in addition we generated a connector a high bandwidth high density connector that preserves the bandwidth coming out of this training tile and this style gives us nine beta

  257. 1:56:02

    的算力,并伴随着巨大的 I/O 带宽。这或许是芯片行业中最大的有机 MCM(多芯片模块)。设计它并不容易,以前根本不存在现成的工具,所有工具都崩溃了,连我们的计算集群都吃不消。

    flaps of compute with a massive i o bandwidth coming out of it this perhaps is the biggest organic mcm in the chip industry multi-chip module it was not easy to design this there were no tools that existed all the tools were croaking even our compute cluster couldn't handle it

  258. 1:56:26

    我们的工程师必须想出不同的方法来解决这个问题,他们创造了新的方法来让这成为现实。既然我们有了具备高带宽 I/O 的计算平面瓦片,就必须为其供电。在这里,我们想出了垂直供电的新方法。我们打造了

    we had to our engineers came up with different ways of solving this they created new methods to make this a reality now that we had our compute plane tile with high bandwidth ios we had to feed it with power and here we came up with a new way of feeding power vertically we created

  259. 1:56:51

    一个定制的稳压器模块(VRM),可以直接回流焊到这个扇出型晶圆上。所以我们在这里所做的是:既有芯片封装,又将 PCB 级别的回流焊技术引入到了扇出型晶圆技术中。这已经是非常高密度的集成了,

    a custom voltage regulator module that could be reflowed directly directly onto this fan out wafer so what did we did out here is we got chip package and we brought pcb level technology of reflow on fan art wafer technology this is a lot of integration already out here

  260. 1:57:15

    但我们并未止步于此。我们将电气、散热和机械部件全部整合在这里,构成了我们的训练瓦片,完全集成,接入 52 伏直流输入。这是前所未有的,是一项令人惊叹的工程杰作。

    but we didn't stop here we integrated the entire electrical thermal and mechanical pieces out here to form our training tile fully integrated interfacing with a 52 volt dc input it's unprecedented this is an amazing piece of engineering

  261. 1:57:41

    我们的计算平面与供电和散热完全正交(解耦),这使得高带宽计算平面成为可能。

    our compute plane is completely orthogonal to power supply and cooling that makes high bandwidth compute planes possible

  262. 1:57:59

    它就是一个 9 PFLOPS 的训练瓦片。这成了我们系统的扩展单元,而且这是真实的实物。

    what it is is a nine petaflop training tile this becomes our unit of scale for our system and this is real

  263. 1:58:26

    真不敢相信我手上正拿着 9 PFLOPS 的算力。

    i can't believe i'm holding nine petaflops out here

  264. 1:58:39

    事实上,上周我们拿到了第一个功能完备的训练瓦片,在一个散热能力有限的测试台上,我们成功运行了一些网络。有人告诉我,Andrej 在看到我们运行他的作品之前都不相信我们能跑网络。看,这是 minGPT 正在

    and in fact last week we got our first functional training tile and on a limited limited cooling benchtop setup we got some networks running and i was told andre doesn't believe that we could run networks till we could run one of his creations this is min gpt2 running

  265. 1:59:03

    Dojo 上运行,这下你信了吧?

    on dojo do you believe it

  266. 1:59:12

    接下来,如何用它构建计算集群?到目前为止,你一定意识到我们的模块化能力非常强大。我们只需要把一些瓦片拼在一起。我们把瓦片组合起来,一个托盘里放置 2×3 个瓦片就构成了我们的训练矩阵,而两个托盘

    next up how to form a compute cluster out of it by now you must have realized our modularity story is pretty strong we just put together some tiles we just styled together tiles a two by three tile in a tray makes our training matrix and two trays

  267. 1:59:36

    放入一个机柜就能提供 100 PFLOPS 的算力。我们停下脚步了吗?没有,我们只是无缝集成,打破了机柜的物理隔阂,将这些瓦片全程无缝互联,同时保持带宽。这里没有任何带宽分流,没有任何带宽

    in a cabinet give 100 petaflops of compute did we stop here no we just integrated seamlessly we broke the cabinet walls we integrated these styles seamlessly all the way through preserving the bandwidth there is no bandwidth divert out here there is no bandwidth

  268. 2:00:01

    截断,所有的瓦片都以相同的带宽无缝相连。凭借这一点,我们拥有了 ExaPOD。这是在 10 个机柜中实现的 1 ExaFLOPS 算力,相当于超过

    clips all the tiles are seamlessly connected with the same bandwidth and with this we have an exopod this is one extra flop of compute in 10 cabinets it's more than a

  269. 2:00:25

    100 万个训练节点。正如大家所见,我们在那个训练节点上倾注了细致入微的关注,而这里有 100 万个节点,具备一致的带宽。不仅是硬件,软件层面对确保可扩展性也至关重要,而且并非每项任务都需要

    million training nodes that you saw we paid meticulous attention to that training node and there are one million nodes out here with uniform bandwidth not just the hardware the software aspects are so important to ensure scaling and not every job requires a

  270. 2:00:49

    一个庞大的集群,所以我们从一开始就做好了规划。我们的计算平面可以被细分、分区为名为 Dojo 处理单元(DPU)的单元。一个 DPU 由一个或多个 D1 芯片组成,它还包含我们的接口

    huge cluster so we plan for it right from the get go our compute plane can be subdivided can be partitioned into units called dojo processing unit a dpu consists of one or more d1 chips it also has our interface

  271. 2:01:13

    处理器以及一个或多个主机。这可以根据在其上运行的任何算法、任何网络的需求进行纵向或横向扩展。用户需要做什么呢?他们只需对自己的脚本做极小的改动,这得益于我们强大的编译器套件。

    processor and one or more hosts and this can be scaled up or down as per the needs of any algorithm any network running on it what does the user have to do they have to change their scripts minimally and this is because of our strong compiler suite

  272. 2:01:37

    它负责细粒度并行化,以及将神经网络极其高效地映射到我们计算平面上的问题。我们的编译器采用多种技术来挖掘并行性。它不仅可以通过数据、模型、

    it takes care of fine-grained parallelism and mapping the pro problems of mapping the neural networks very efficiently onto our compute plane our compiler is uses multiple techniques to extract parallelism it can transform the networks to achieve not only fine-grained parallelism using data model

  273. 2:02:02

    图并行等技术对网络进行转换以实现细粒度并行,还可以进行优化以减少内存占用。由于我们互联结构的高带宽特性,这里实现的一件事是:模型并行扩展到了前所未有的水平,以往它仅限于芯片边界之内,

    graph parallelism techniques it also can do optimizations to reduce memory footprints one thing because of our high bandwidth nature of the fabric is enabled out here is model parallelism could not have been extended to the same level as what we can it was limited to chip boundaries

  274. 2:02:26

    现在得益于高带宽,我们可以将其扩展到训练瓦片及更高层级。因此,大模型可以在这里以极小的批次大小高效映射,并挖掘出高利用率和全新水平的性能。此外,我们的编译器能够处理高级动态控制流,例如循环、

    now we can because of our high bandwidth we can extend it to training tiles and beyond thus large networks can be efficiently mapped here at low batch sizes and extract utilization and new levels of performance in addition our compiler is capable of handling high level dynamic control flows like loops

  275. 2:02:50

    if-then-else 条件分支等。而我们的编译器引擎只是我们整个软件套件的一部分。该软件栈包含一个针对 PyTorch 的扩展,以确保 ML 研究人员所习惯的用户级接口不变;我们的编译器还会实时动态生成代码,以便重用于

    if then else etc and our compiler engine is just part of our entire software suite the stack consists of a extension to pytarch that ensures the same user-level interfaces that ml scientists are used to and our compiler generates code on the fly such that it could be reused for

  276. 2:03:14

    后续的执行。它配备了一个 LLVM 后端来为硬件生成二进制文件,这确保了我们可以针对硬件生成高度优化的代码,而无需依赖哪怕一行手写算子(kernel)。我们的驱动栈负责处理大家在前面几张幻灯片中看到的

    subsequent execution it has a llvm backend that generates the binary for the hardware and this ensures we can create optimized code for the hardware without relying on even single line of handwritten kernel our driver stack takes care of the multi-host multi-partitioning that you saw

  277. 2:03:39

    多主机、多分区的管理。此外,我们的软件栈中还配备了性能分析器(profiler)和调试器。综上所述,我们通过这种纵向整合,打破了传统的扩展壁垒,从而在软硬件整个技术栈中

    a few slides back and then we also have profilers and debuggers in our software stack so with all this we integrated in a vertical fashion we broke the traditional barriers to scaling and that's how we got modularity up and down the

  278. 2:04:03

    都实现了模块化,以带来全新水平的性能。总而言之,它将会是:在相同成本下提供 4 倍性能、能效比(每瓦性能)提升 1.3 倍、占用空间缩小 5 倍的最快 AI 训练计算机。这就是 Dojo 计算机。

    stack to add to new levels of performance to sum it all this is what it will be it will be a fastest ai training computer for x the performance at the same cost 1.3 x better performance per watt that is energy saving and 5x smaller footprint this will be dojo computer

  279. 2:04:38

    我们还没完。我们很快就会组装第一批机柜,而且我们已经有了完整的下一代规划。我们正在考虑从芯片到系统的各个层面实现 10 倍的提升。我们将再次踏上这段征程,目前正在为所有这些

    we are not done we are assembling our first cabinets pretty soon and we have a whole next generation plan already we are thinking about 10x more with different aspects that we can do all the way from silicon to the system again we will have this journey again we're recruiting heavily for all of these

  280. 2:05:02

    领域大量招兵买马。非常感谢大家。

    areas thank you very much

  281. 2:05:14

    接下来,埃隆(Elon)将为我们介绍在车辆车队之外,我们的人工智能还将走向何方。

    and next up elon will update us on what's beyond our vehicle feet fleet for ai

  282. 2:05:29

    哦。

    oh

  283. 2:06:07

    那么。

    so

  284. 2:06:31

    哦。

    oh

  285. 2:06:51

    谢谢大家。显然,刚才那个和 Dojo 不同,那不是真的。不过 Dojo 是真的,Tesla Bot 也会是真的。但基本上,如果你想想我们现在在汽车上所做的事情,可以说 Tesla 可以算作全球最大的机器人公司,

    thank you now unlike unlike dojo obviously that was not real uh so doj is real uh the tesla bot will be real um but basically if you think about what we're doing right now with the cars tesla is arguably the world's biggest robotics company

  286. 2:07:15

    因为我们的汽车就像是装了轮子的半感知机器人。有了全自动驾驶(FSD)计算机——本质上是车上的推理引擎,它显然会不断进化——再加上 Dojo 和所有用于认知世界、理解如何穿行世界的神经网络,把这些

    because our cars are like semi-sentient robots on wheels and with the full self-driving computer essentially the the inference engine on the car which will keep evolving obviously and uh dojo and all the neural nets recognizing the world understanding how to navigate through the world uh it it kind of makes sense to put

  287. 2:07:39

    放到人形机体上可以说是顺理成章的。我们在传感器、电池和执行器方面也非常擅长。所以我们认为,大概在明年的某个时候,我们会拥有一个原型,外形基本就像这样。它的设计初衷是

    that onto a humanoid form they're also quite good at sensors and batteries and actuators so we think we'll probably have a prototype sometime next year that basically looks like this and it's intended to be

  288. 2:08:03

    保持友好,并且穿行在专为人类建造的世界中,消除危险、重复和无聊的任务。我们对其进行了设定,使其在机械层面、在物理层面上,你是能跑得过它、而且极有可能

    friendly of course and uh navigate through a world uh built for humans and uh eliminate dangerous repetitive and boring tasks um we're setting it such that it is um at a mechanical level at a physical level you can run away from it and and most likely

  289. 2:08:27

    制服它的。所以希望这种情况永远不会发生,但世事难料。它会是一个……嗯,大概每小时 5 英里,你跑得比它快就没事。所以……

    overpower it so hopefully that doesn't ever happen but um you never know so it's uh it'll be a you know a light a light yeah five miles an hour you can get run faster than that'd be fine um so

  290. 2:08:51

    是的,它身高大概 5 英尺 8 英寸左右,头部位置有一个屏幕用来显示有用信息。但在其他方面,它基本上内置了 Autopilot 系统。它配备了摄像头,有 8 个摄像头,以及

    yes it's a round uh 5.8 um has sort of a screen where the head is for useful information um but as otherwise basically got the autopilot system in it so it's got cameras got eight cameras and

  291. 2:09:14

    FSD 计算机,并且利用了我们在汽车上使用的所有相同工具。我认为制造一个有用的人形机器人真正困难的地方在于:它能否在没有经过专门针对性训练的情况下在世界中穿行?我指的是没有显式的逐行指令。你是否能

    full-size driving computer and making use of all of the same tools that we use in the car so um i mean things i think that are really hard about uh having a useful humanoid robot is cannot navigate through the world without being explicitly trained i mean without explicit like uh line-by-line instructions um can you

  292. 2:09:36

    和它说话并对它说:‘请把那个螺栓拿起来,用那个扳手把它固定到车上。’它应该能够做到这一点。它应该能够像‘请去商店帮我买以下杂货’,诸如此类的事情。是的,我认为我们能做到这一点。

    can you talk to it and say you know please uh pick up that bolt and uh attach it to the car with that wrench and it should be able to do that um it should be able to you know please you know please go to the store and get me the following groceries um that kind of thing so yeah i think we can do that um

  293. 2:10:03

    是的,我认为这将具有非常深远的影响。因为如果你想一想经济的本质是什么,它的底层基石就是劳动力。那么,当不再存在劳动力短缺时会发生什么呢?这就是为什么从长远来看,我认为需要推行全民基本收入。

    and yeah this i think will be quite quite profound because if you say like what is the economy it is uh at the foundation it is labor so what happens when there is uh you know no shortage of labor um that's why i think long-term that there will need to be universal basic income yeah

  294. 2:10:29

    但现在还不行,因为这个机器人还不能工作,我们只需要一点时间。所以……不过我认为,从本质上讲,未来的体力劳动将成为一种选择。如果你想做就可以做,但你不是非做不可。这显然对经济有着深远的影响,因为鉴于

    but but not right now because this robot doesn't work so we just didn't need a minute so um yeah but i think essentially in the future physical work will be a choice if you want to do it you can but you won't need to do it and yeah i think it obviously has profound implications for the economy because given that

  295. 2:10:51

    经济的基础层是劳动力——资本和资本设备不过是凝聚的劳动力——那么经济真的存在任何极限吗?也许没有。所以,欢迎加入我们的团队,共同打造这一切。好了,我想请大家回到台上,如果大家愿意的话,可以

    the economy at its foundational level is labor i mean capital is capital equipment it's just distilled labor then is there any actual limit to the economy maybe not so yeah join our team and help build this all right so i think we'll we'll have everyone come back on the stage and you guys can

  296. 2:11:15

    提问,是的。

    ask questions if you'd like yeah

  297. 2:11:37

    你。

    you

  298. 2:11:57

    好了,可以了。太好了,你们又把我请上台了。我只是想去看看从台前拍摄的镜头角度,而不是侧面的。

    all right there we go all right cool you guys brought me back on i just like stage try to get the camera angle from there but not from the side

  299. 2:12:16

    好的,太棒了。我们可能会把灯光重新调亮。好的,太好了。我们很乐意回答大家关于软件、硬件方面以及未来发展方向的任何问题。尽管问吧。因为现在的灯光像审讯灯一样,我们其实看不太清台下。啊,这下好多了。

    all right cool so we'll probably turn the lights back on and uh yeah great um so we're having to answer any questions you have about anything on the software hardware side where things are going and yeah fire away um we have because the lights are like interrogation lights so we actually cannot see ah there we go

  300. 2:12:40

    太棒了,好的,太酷了。

    great all right cool

  301. 2:12:57

    我可以直接……好的,这就行了。首先,非常感谢所有演讲者,能看到所有这些内容真是太酷了。我只是从宏观层面感到好奇——这个问题任何想回答的人都可以接——在多大程度上你们有兴趣发表或开源你们所做的任何东西,

    i can just okay there we go first off i mean thanks to all the presenters that was just super cool to see everything i'm just curious at a high level and this is kind of a question for really anyone who wants to take it um to what extent are you interested in publishing or open sourcing anything that you do

  302. 2:13:13

    面向未来?

    for the future

  303. 2:13:27

    嗯,我的意思是,从根本上说,打造这个系统的成本极其高昂,所以必须有人为此买单。如果是完全开源的话,我不知道该怎么去承担这笔费用,除非人们愿意免费工作。

    um well i mean it is fundamentally extremely expensive to create uh the system so uh somehow that has to be paid for i'm not sure how to pay for it if it's fully open sourced um yeah unless people want to work for free

  304. 2:13:50

    不过我应该说,如果其他汽车公司想要获得许可并将其用在他们的车里,那会很酷,这并不打算仅局限于 Tesla 汽车。这是针对 Dojo 超级计算机的,所以你们是否解决了扩展到这么多节点的编译器问题?或者说如果解决了的话,

    but but i should say that uh this is if other car companies want to license it and use it in their cars that would be cool this is not intended to be just limited to tesla cars is for the dojo supercomputer so did you solve the compiler problem of scaling to these many nodes or is or if it is solved

  305. 2:14:14

    它是仅适用于 Dojo 吗?因为我正在做深度学习加速器的研究,从研究项目的角度来看,即使在单个芯片内实现正确的扩展性或分布式处理都极其困难。所以我只是很好奇。不好意思,请把麦克风给比尔(Bill)。

    is it only applicable to dojo because i'm doing research in deep learning accelerators and getting the correct scalability or the distribution even in one ship is extremely difficult from the research projects perspective so i was just curious excuse me mike for bill

  306. 2:14:38

    我们解决这个问题了吗?还没有。我们有信心解决这个问题吗?是的。我们现在已经在原型硬件上演示了神经网络,我们也有性能模型展示了这种扩展性。正如你所说的,难点在于我们如何保持局部性,如果我们能做足够的模型并行、足够的数据并行,来让

    you have we solved the problem not yet are we confident we will solve the problem yes we have demonstrated networks on prototype hardware now we have models performance models showing the scaling the difficulty is as you said how do we keep the localities if we can do enough model parallel enough data parallel to keep

  307. 2:14:59

    大多数数据保持在本地,我们就可以继续扩展。我们必须把参数放进工作集,也就是我们现有的 SRAM 中,并通过流水线流动。这里有很多机会。抱歉,随着我们进一步扩展到更多的处理器节点,拥有更多本地内存、权衡内存与带宽,我们可以做更多的事情,但是

    most of the things local we just keep scaling we have to fit the parameters in our working set in our sram that we have and we flow through the pipe there's plenty of opportunities sorry as we get further scale for further processor nodes have more local memory memory trade also bandwidth we can do more things but

  308. 2:15:21

    正如我们现在所看到的,针对 Tesla 目前拥有的应用,我们看到了一条明确的路径。我们的模块化设计意味着我们可以用它构建出不同的比例、不同的配置。我的意思是,这是我们针对内部应用所做出的选择。当然。

    as we see it now the applications that tesla has we see a clear path and our our modularity story means we can have different ratios different aspects created out of it i mean this is something that we chose for our applications internally sure

  309. 2:15:45

    关于局部性的部分,鉴于训练是一种弱扩展应用,即使你拥有所有这些算力和高带宽互连,它也可能无法给你带来那样的性能,因为你是在不同位置的有限内存上进行计算。所以我就非常好奇,

    the locality portion of it given that training is such a soft scaling application uh even though you have all this compute and have a high bandwidth high bandwidth interconnect it it could not give you that performance because you are doing computations on limited memory at different locations so i was that's very curious

  310. 2:16:06

    当你说它已经解决时,因为我正好抓住这个机会,很想了解更多,鉴于你们能开源多少。对,对,我想事实胜于雄辩。我们应该在明年让 Dojo 投入运行,而且我想我们显然会用它来进行视频训练。

    to me when you said it solved because i i just jumped onto the opportunity and would love to know more given that how much you can open source yeah yeah i guess the proof's in the pudding um so we should have dojo operational next year um and um i think we'll we'll obviously use it for uh training video training

  311. 2:16:29

    从根本上说,这主要是……最初的主要应用是我们拥有海量的视频,以及我们如何尽可能高效地用海量视频进行训练,同时也缩短时间。比如你要针对某项任务进行训练,总体而言创新就是

    it's i mean fundamentally this is about like um the the primary application initially is we've got vast amounts of video and how we train vast amounts of video uh as efficiently as possible and uh also shorten the amount of time like if you're trying to train train to a task um like just in general innovation is

  312. 2:16:53

    迭代多少次,以及每次迭代之间的平均进展是多少。所以,如果你能减少每次迭代之间的时间,改进的速度就会好得多。有时训练一个模型需要几天,而变成只需要几个小时,那意义重大。但这里的试金石

    um how many iterations and what is the average progress between each iteration and so if if you can reduce the time between iterations uh the rate of improvement is is much better so um you know if it takes like sometimes a couple days for a model to train versus a couple hours that's a big deal but the the asset

  313. 2:17:14

    是,而且我对 Dojo 团队说过:如果软件团队想要关掉 GPU 集群,那它就成功了;但如果他们还想留着 GPU 集群,那它就没有成功。就是这样。

    test here and um you know what i've told the dojo team is like it's it's successful if the uh software team wants to turn off the gpu cluster but if they want to keep the gpp cluster on it's not successful so yeah

  314. 2:17:38

    嗨,就在这边。我很喜欢这个展示,感谢你们邀请我们过来,所有的内容都很棒,尤其是演示中的仿真部分。我想知道,它看起来非常非常逼真,是否有计划将仿真以某种方式扩展到公司的其他部门?嗨,我是伊恩·格洛(Ian Glow),我负责管理

    hi right over here i love the presentation thank you for getting us out here loved everything especially the simulation part of the presentation i was wondering uh it looked very very very uh realistic are there any plans to maybe expand simulation to other parts of the company in any way hi i'm ian glow uh i manage

  315. 2:18:00

    Autopilot 仿真团队。随着我们在通往完全自动驾驶的道路上前行,我们将不得不模拟车辆越来越多的部分。目前我们在模拟车辆动力学,但我们还需要 BMS(电池管理系统),需要 MCU,需要将车辆的每一个部件都集成进来,而这实际上

    the autopilot simulation team so as we go down the path to full self driving we're gonna have to simulate more and more of the vehicle currently we're simulating vehicle dynamics but we're going to need bms we're going to need the mcu we're going to need every single part of the vehicle integrated and that actually

  316. 2:18:16

    让 Autopilot 仿真器在 Autopilot 之外的领域也非常有用。所以我想,或者说我们最终想要把它扩展成一个通用的仿真平台,但我认为在此之前,我们将启动大量针对 Optimus 的支持工作。然后再往后一点,我们有一些大致的

    makes the autopilot simulator really useful for places outside of autopilot so i want to expand or we want to expand eventually to being a universal simulation platform but i think before that we're going to be spinning up a lot of optimist support and then a little bit further down the line that we have some rough

  317. 2:18:32

    想法,关于如何可能将仿真基础设施以及我们构建的一些很酷的东西交到公司外部人员的手中。Optimus 是 Tesla Bot 的代号。哎呀,

    ideas on potentially how to get uh the simulation infrastructure and some of the cool things we've built into the hands of people outside of the company optimus is the code name for the tesla bot oops

  318. 2:18:49

    擎天柱(Optimus Prime)。嗨,我是阿里·贾哈尼安(Ali Jahanian),感谢你们精彩的展示并将所有这些酷炫的东西汇集在一起。一段时间以来我一直在想,汽车本身就已经是一个机器人了,那为什么不做一个人形机器人呢?我很高兴

    optimus uprine hi this is ali jahanian thank you for the great presentation and putting all of these cool things together yeah for a while i have been thinking that uh the car is already a robot so why not a humanity robot and i'm so happy

  319. 2:19:13

    今天你们提到要造这样的东西。特别是我认为这能为整合多模态提供机会,例如我们知道,在你们展示的示例中有一只狗和一些行人一起跑动,

    that today you mentioned that you are going to build such thing especially i think that this can uh give opportunity for rays of uh putting multi modality together for instance we know that in the example that you are showed that there was a dog and with some passengers or running together

  320. 2:19:38

    语言和符号处理确实可以帮助对其进行可视化。所以我想知道是否能多听听关于这种模态融合的内容,包括语言和视觉,因为我一直在使用比如 mini-GPT 之类的模型,还有安德烈(Andrej)发布的那些。

    the language and symbolic processing can really help for visualizing that so i was wondering if i could hear a little more about this type of putting modalities together including language and vision because i have been working with for instance mini gpt's and andre put out there

  321. 2:20:02

    是的,我没有听到太多关于进入车辆或至少进入仿真的其他模态的信息。你们有什么可以告诉我们的吗?嗯,驾驶从根本上说基本上几乎完全是视觉神经网络,就像我们基本上是在生物

    and yeah i had i didn't hear much about other modalities that's going into the car or at least in the simulation is is there any comment that you could tell us well driving is fundamentally uh basically almost entirely vision neural nets uh like we're basically it's running on a biological

  322. 2:20:26

    视觉神经网络上运行一样,而我们在这里做的是硅基摄像机神经网络。另外确实有一定量的音频,你需要听到是否有应急车辆,或者与车里的人交谈;如果有人

    vision neural net and what we're doing here is a silicon camera neural net um so and there are there's there is some amount of uh audio uh you know you want to hear uh if um there's like emergency vehicles or uh you know uh i guess converse with the people in the car um you know if somebody's

  323. 2:20:50

    对着车大喊大叫,车需要理解那是什么。这些都是实现完全自动驾驶所必需的。好的,谢谢。

    yelling something at the at the car that car needs to understand what that is um so you know all things that are necessary for it to be fully autonomous yeah thank you

  324. 2:21:11

    嗨,谢谢你们展示的这些出色成果。我的问题是提给团队的:因为展示的数据似乎主要来自美国,FSD 计算机也是在这些数据上训练的,但是随着它推广到拥有各自道路系统的不同国家,

    hi uh thank you for all the great work that you've shown uh my question is for the team uh because the data that was shown was seems to be predominantly from the united states that the the fsd computer is being trained on but as it is being as it gets rolled out to different countries which have their own road

  325. 2:21:28

    以及随之而来的各种挑战,你们认为它将如何扩展?比如我假设从头做起并不是一个非常可行的方案,那么它是如何迁移到不同国家的?嗯,其实我们确实在使用可能来自大约 50 个不同国家的数据进行训练,但我们必须

    systems and challenges that come with it how do you think that it's going to scale like like i'm assuming like the ground up is not a very viable solution so how does it transfer to different countries uh well there is we actually do train on using data from probably like 50 different countries um but we have

  326. 2:21:49

    在推进完全自动驾驶的过程中选择一个国家,既然我们身处这里,我们就选择了美国。然后我们收到很多疑问,比如为什么连加拿大都不先做?因为加拿大的道路有点不同,差异足够大。所以在尝试解决一个

    to pick you know in as we're trying to advance full self driving we need to pick one country and since we're located here we pick the us um and then we get a lot of questions like why not even canada like well because the roads are a little different in canada different enough um and so when trying to solve a

  327. 2:22:08

    难题时,你会想:“好吧,我们现在先不要增加额外的复杂性,先针对美国解决它,然后再推及世界其他地区。”但我们确实使用了来自世界各地的视频。是的,我认为我们正在构建的很多东西很大程度上与国家无关。

    hard problem uh you want to uh say like okay what's the let's not add additional complexity right now uh let's just solve it for the us and then we'll extrapolate to the rest of the world but we do use video from all around the world yeah i think a lot of a lot of what we are building is very country agnostic

  328. 2:22:26

    从根本上说,所有计算机视觉组件等等并不太关心特定国家的特征。不同国家都有道路、路肩和车辆,我们正在构建的一切在这方面都相当通用。是的,最重要的核心原则就是不要碰撞,

    fundamentally all the computer vision components and so on don't care too much about country specific uh sort of features every you know different countries have roads and they have curbs and they have cars and everything we're building is fairly general for that yeah and there's the the prime directive is don't crash

  329. 2:22:43

    对吧,这在每个国家都适用。是的,这是核心原则。即使是现在,这辆车在避免碰撞方面已经做得很好了。所以基本上,无论它是什么,都不要撞上去。即使是一架迫降在高速公路上的 UFO,也不要撞上去,你不需要先识别出它是什么才

    right and that's true for every country yes this is the prime directive um and um even right now the car is pretty good at not crashing um and so just basically um whatever it is don't hit it even if it's a ufo that crash landed uh on the highway and still don't hit it you should not need to recognize it in

  330. 2:23:07

    能做到不撞上去。所以这非常重要。

    order to not hit it so that's very important

  331. 2:23:20

    我想问的是,当你们进行光度处理多视图几何时,你们看到的误差有多大?是一毫米、一厘米吗?如果这不算机密的话。不好意思,问题是:合成生成的几何……当然,合成生成的几何

    and i want to ask that when you do the photometric process multiview geometry how much of an error do you see is it like one millimeter one centimeter so i'm just if it's not confidential sorry question what is the what's it what's the difference between the synthetic sure what is the difference between the synthetically

  332. 2:23:44

    与实际几何之间的差异是什么?是的,通常在几厘米以内,三到四厘米,那是标准差。是否会融合不同种类的模态来降低这个误差?我们主要是努力寻找可扩展的标注方法,在某些情况下我们会使用其他传感器来

    created geometry to the actual geometry yeah it's usually within a couple centimeters three or four centimeters that's the standard deviation merge with different kind of modalities to bring down that error we primarily try to find scalable ways to label um in some occasions we use other sensors to

  333. 2:24:08

    帮助提供基准,但对于这个系统,我们主要使用摄像机。好的,谢谢。是的,我的意思是我们希望车辆的定位精度能达到厘米级,大约在这个量级。显然这取决于距离,比如近处物体的精度可以远高于

    help benchmark but we primarily use cameras for this system okay thanks yeah i i mean i think we want to aim for the car to be positioned uh accurately to the the sort of centimeter level um you know something on that order obviously it will depend on distance like close by things can be much more accurate than

  334. 2:24:27

    远处物体,而且远处的物体也没那么重要,因为车辆不需要对很远的东西做出决策,而当它靠近时,就会变得越来越精确。没错。问题很多,谢谢大家。我的问题与 AI 和制造有关。距离我们上次听到

    farther away things because and they would matter less because the car doesn't have to make decisions much farther away and as it comes close it will become more and more accurate exactly a lot of questions thanks everybody my question has to do with sort of ai and manufacturing it's been a while since we've heard

  335. 2:24:45

    “外星无畏舰”概念已经有一段时间了。你们身后的人形机器人,是否脱胎于“产能地狱”的时间线,并且表明人在这个过程中被低估了?嗯,有时候我说的一些话会被推向极端。在 Tesla 的系统中有一些部分

    about the alien dreadnought concept is the humanoid that's behind you guys is that kind of brought out of the production health timeline and saying that humans are underrated in that process um well sometimes like some you know something that i say is uh taken to too much of an extreme there there are parts of the

  336. 2:25:08

    几乎是完全自动化的,也有一些部分几乎完全是人力的。如果你走过整个生产系统,你会看到非常广泛的分布,从完全自动化到几乎完全人力,就像我刚才说的。但绝大多数、大部分已经是

    tesla system that are almost completely automated and then there are some parts that are almost completely manual and if you were to walk through the whole production system you would see a very wide range from yeah like i said fully automatic to almost completely manual but the vast majority it's most of it is is

  337. 2:25:28

    自动化了。然后随着一些设计架构的改变,比如采用大型铝合金高压压铸部件,我们可以将整车后部三分之一作为一个单一部件进行铸造,现在我们要把前部三分之一也作为一个单一部件来铸造。

    already uh automated um so and then with the some of the design architecture changes like going to large aluminum high pressure die cast components we can take the entire rear third of the car and cast it as a single piece and now we're going to do that the front third of the car is a single piece

  338. 2:25:53

    这样车身车间的大小缩减了大约 60% 到 70%。不过,这个机器人并不是具体由制造需求催生的,只是我们显然正在制造制造一个实用人形机器人所需的那些部件。

    so the the body line um drops by like 60 to 70 percent in size um but yeah the the robot is not is not prompted by specifically by manufacturing needs it's it's just that we're just obviously making the pieces that are needed for a useful humanoid robot

  339. 2:26:19

    所以我想我们大概应该制造它,如果我们不造,别人也会造。所以我想我们应该去制造它,并确保它是安全的。

    so i guess we probably should make it and if we don't someone else would well and so i guess we should make it and make sure it's safe

  340. 2:26:32

    我还应该说,大规模量产极其困难,而且被低估了,而我们在这方面已经做得很不错了。这对于人形机器人也很重要,比如你如何让这个人形机器人不会极其昂贵。嗨,感谢你们的演讲,我的问题是关于

    i should say like also manufacturing volume manufacturing is extremely difficult um and underrated and we've gotten pretty good at that it's also important for that humanoid robot like how do you make the human robot not be super expensive and hi uh thank you for the present presentation and my question will be about

  341. 2:26:56

    Dojo 的扩展性。具体来说,在散热和供电方面,你们如何扩展计算节点?因为你能散发的热量是有限的,能引入到集群机架的电量也是有限的,你们打算如何扩展

    skilling of dojo and uh in particular how do you scale the compute nodes in terms of thermal thermals and power delivery because there is only so much heat that you can dispense and only so much power that you can bring to like cluster rack and how do you want to scale

  342. 2:27:20

    它,又打算如何在多个数据中心中扩展它?好的。

    it and how do you point to scale it in multiple data centers sure

  343. 2:27:33

    嗨,我是比尔,Dojo 的工程师之一。从散热和电力的角度来看,我们把它设计得非常模块化。所以你在计算晶圆块(compute tile)上看到的,将能够为整个晶圆块散热。一旦我们将它连接上,它的顶部和底部都是液冷的,不需要

    hi i'm bill i one of the dojo engineers the um so from a thermal standpoint and power standpoint we've designed it very modular so what you saw on the compute tile that will that will cool the entire tile so we we once we hook it up to it is liquid cooled on both the top and the bottom side um it doesn't need

  344. 2:27:55

    任何其他东西。所以当我们谈到将它们拼合在一起时,只要连上电源、接通冷却系统,它就具备完全的供电和完全的散热,而这一切体积不到一立方英尺。是的,Tesla 在电力电子和冷却方面拥有大量的专业知识,因此我们借鉴了

    anything else and so when we talk about clicking these together once we click it to power and we once we click it to um cooling it will be fully powered and fully cooled and all of that is less than a cubic foot yeah so tesla has a lot of expertise in power electronics and in uh in cooling so we took uh

  345. 2:28:19

    车辆动力总成的电力电子专业知识,以及我们为电力电子和车辆开发的先进冷却技术,并将它们应用到了超级计算机上。因为正如你所指出的,排热极其重要,它确实完全受到热量的限制。所以,很有趣的是,

    the power electronics expertise from the vehicle powertrain and the sort of the advanced cooling that we developed for the power electronics and for the vehicle and applied that to the super computer because as you point out uh getting heat out is extremely important just really heat limited so um yeah so it's funny that

  346. 2:28:42

    在计算核心层面,它的工作电压不到一伏特,电压非常低,但电流非常大,因此发热量极大。I²R 才是真正让你吃尽苦头的地方。嗨,我的问题类似,也是关于扩展性的问题。使用明显更快

    like at the compute level it's operating at less than a volt which is a very low voltage there's a lot of amps so therefore a lot of heat i squared r is what really bites you on the ass um hi uh my question's also similarly a question of scaling um so it seems like a natural consequence of using you know

  347. 2:29:06

    的训练硬件,似乎自然而然带来的结果是:要么你们会在更多的数据上训练模型,要么会训练复杂得多的模型,而这在车端进行推理运行时的成本可能会显著增加。我想知道,是否有计划也将 Dojo

    significantly faster training hardware is that you'd be either training models over a lot more data or you'd be training a lot more complex models which would be potentially significantly more expensive to run at inference time on the cars uh i guess i was wondering like if there was a plan to like also um apply dojo

  348. 2:29:25

    应用在自动驾驶汽车上?如果是这样,你们预见到那里会有额外的挑战吗?我可以说一下。正如你所看到的,安德烈的模型并不仅仅针对汽车,还有自动标注模型,有其他超出汽车应用范围但会输入到

    as something that you'd be uh using like on the self-driving cars and if so like you know do you foresee additional challenges there i can so as you could see like android's models are not just for cars like there are auto labeling models there are other models that are like beyond car application but they feed into

  349. 2:29:48

    汽车软件栈的模型。所以 Dojo 也会用于所有这些模型,而不仅仅是汽车训练中的推理部分。对,Dojo 的首个应用将是消耗视频数据进行训练,然后模型会在车上的推理引擎中运行。但我认为这是一个重要的检验,

    the car stack so so dojo will be used for all of those too not just the car inference part of the training yeah i mean the dojo's first application will be consuming video data for training for that would then be run in the inverse inference engine on the car but uh and that i think is an important uh test

  350. 2:30:13

    看看它是否真的好,或者它是否真的比 GPU 集群更好。但在此之外,它基本上是一台通用的神经网络训练计算机,但它针对神经网络进行了高度优化。你知道,CPU 和 GPU 并不是为了……它们并不是

    to see if it actually is good or but is it actually better than gpu cluster or not um so but then beyond that it's basically a general a generalized neural net training computer but it's very much optimized to be a neural net so you know cpus and gpus uh they're they're they're not made to be um they're not they're

  351. 2:30:36

    专门为训练神经网络而设计的。我们已经能够让 GPU 在训练神经网络方面变得非常高效,但那从来都不是它们最初的设计意图。基本上 GPU 仍然是在以仿真模式运行神经网络训练。而对于 Dojo,我们的想法是:

    not designed specifically for training neural nets um we've been able to make gpus especially very efficient for portraying neural nets but that's not that was never their design intent so it's it's bc gpus are still essentially running it uh neural net training in emulation mode so um with with dojo we're saying like

  352. 2:30:57

    “好吧,我们直接把整套东西做成专用集成电路(ASIC),让这个东西只为一个目的而生,那就是神经网络训练。”一般来说,任何针对特定目的设计的系统都会优于针对通用目的设计的系统。嘿,我这里有个问题。嗨,你们描述了

    okay let's just let's just asic the whole thing let's just have this thing that's it's built for one purpose and that is neural net training and just generally any system that is designed for a specific purpose will be better than one that is designed for a general purpose hey i had a question here hi um so you described

  353. 2:31:19

    两个独立的系统,一个是视觉,然后是规划与控制。Dojo 是否允许你们训练跨越这一边界的网络?第二点是,如果你们能够训练这样的网络,你们在 FSD 系统的车载计算能力上是否足以在严格的延迟限制下运行它?

    two separate systems one was for vision therefore planner and control um does dojo love you train networks that cross that boundary and second thing is if you were able to train such networks would you have the onboard compute capability in the fst system to be able to run that in in under your tight latency constraints

  354. 2:31:36

    谢谢。是的,我认为我们应该能够在 Dojo 或任何 GPU 上训练规划网络,这实际上与平台无关。我认为,如果我们把这整个系统做成端到端的,它会比解码大量这些中间状态更加高效。所以如果你把

    thanks yeah i think we should be able to train uh planner networks on dojo or any gpus it's really invariant to the platform um and i think uh if anything once we make this entire thing end to end it'll be more efficient than decoding a lot of these intermediate states so you should be able to run faster if you

  355. 2:31:54

    整个系统做成端到端的神经网络,应该能够运行得更快。我们可以避免大量中间状态的解码,只解码驾驶汽车所必需的关键信息。是的,当然,端到端是许多网络开发背后的指导原则,随着时间的推移,在整个技术栈中,神经网络

    make the entire thing uh into in your neural networks we can avoid a lot of decoding of the intermediate states and only decode essential things required for driving the car yep certainly and to endness and as the guiding principle behind a lot of the network developments and over time in the stack neural networks

  356. 2:32:09

    承担了越来越丰富的功能。所以我们希望一切都能端到端地训练,因为我们看到这样效果最好,但我们正在逐步构建它。目前那里的接口是向量空间,我们在规划器中消耗它,但从根本上说,没有什么能阻止你直接提取

    have taken on more and more functionality and so we want everything to be trained end-to-end because we see that that works best but we are building it incrementally so right now the interface there is vector space and we are consuming it in the planner but nothing really fundamentally prevents you from actually taking

  357. 2:32:24

    特征并最终进行端到端微调。所以我认为这绝对是未来的方向。是的,真正的探索在于:我们需要在网络模块中放入哪些合适的架构,使其适应任务?就像之前描述的,我们可以放置空间 RNN 来帮助解决感知

    features and eventually fine-tuning end-to-end uh so i think that's definitely where this is headed yeah and the discovery really is like what are the right architectures that we need to place in network blocks to make it amenable to the task so like on a describe we can place spatial rnns to help with the uh perception

  358. 2:32:40

    问题,而现在它就是神经网络。同样,对于规划,我们需要将搜索和优化融入到规划网络架构中。一旦我们做到这一点,你应该就能够非常快速地进行规划,类似于 C++ 算法。

    problem uh and now it's just neutral network so similarly for planning we need to bake in search and optimization into the planning into the network architecture and once we do that you should be able to do planning very quickly uh similar to c plus plus algorithms

  359. 2:32:58

    好的,我想我的问题和他问的非常相似。在计算机视觉和传统规划周围似乎有大量的神经网络,你们使用模型预测控制来非常快速地解决凸优化问题。我想知道是否存在一种计算架构更适合

    okay okay i think i had a question very similar to what he was asking about it seems like a lot of neural nets around computer vision and kind of traditional planning you had model predictive control in solving convex optimization problems very quickly and i'd wonder if there's a compute architecture that's more suited

  360. 2:33:18

    非常快速地进行凸优化或模型预测控制解决方案?是的,百分之百。如果你想融入——就像我之前说的——如果你想融入这些执行模型预测控制的架构,只是用神经网络替换其中的一些模块,或者如果我们了解其物理机制,我们就可以

    for convex optimization or the model predictive control uh solutions very quickly yeah 100 if you want to bake in like i said earlier if you want to bake in these architectures that do say model protein control but just like replace some of the blocks with neural networks or if we know the physics of it we can

  361. 2:33:34

    也可以在神经网络的前向传播中使用基于物理的模型,因此我们将走向一个混合系统,将神经网络模块与基于物理的模块放在一起,之后还会加入更多网络,所以这将是一个混合栈。对于我们擅长的事情,我们就明确用物理模型来实现;

    also use physics-based models part of the neural network's forward pass itself so we are going to go towards a hybrid system where we will have neural network blocks placed together with a physics-based blocks and more networks later so it'll be a hybrid stack and what we know to do well we place with explicitly

  362. 2:33:53

    而神经网络擅长的事情,我们就用网络来优化它。因此融入这种架构后会有更好的端到端技术栈。我的意思是,只要有环视视频神经网络来理解周围发生的事情,并且能把这些环视视频转换到向量空间,

    and what the networks are created we'll use the networks to optimize this uh so better end-to-end stack with this architecture baked in i i mean i do think that so as long as you've got like um surround video uh neural nets for understanding what's going on and can uh convert those surround video into vector space

  363. 2:34:16

    那么你基本上就拥有了一个电子游戏。如果你玩过《侠盗猎车手》(Grand Theft Auto)之类的游戏,你可以让汽车在里面四处开、行人在周围走,而不会发生碰撞。所以控制和规划其实不一定非得用神经网络,但最终可能用神经网络会更好。

    then you basically have a video game um and if you know if you it's like if you're in grand theft auto whatever you can you can make the cars drive around and pedestrians walk around without crashing so um you can do you don't have to have a neural net for control and planning um but it's probably ultimately better

  364. 2:34:37

    所以……但我认为你大概可以做到——事实上我确信你可以做到比人类安全得多,主要用 C++ 做控制和规划,用神经网络做感知视觉。你好,我的问题是:我们看到其他公司使用强化

    um so but i think you can probably get to in fact i'm sure you can get to much safer than human with control and planning primarily in c plus plus with perception vision in neural nets hi my question is we've seen other companies for example use reinforcement

  365. 2:35:02

    学习和机器学习来优化数据中心的功耗以及各种其他内部流程。我的问题是,Tesla 是否在其制造设计或其他工程流程中使用了机器学习?

    learning and machine learning to optimize power consumption and data centers and all kinds of other internal processes my question is are is tesla using machine learning within its manufacturing design or other engineering processes

  366. 2:35:19

    我其实是不鼓励使用机器学习的,因为这真的很难。除非你基本上……除非你非用机器学习不可,否则不要用它。当有人说“我们想用机器学习来解决这个任务”时,这通常是个危险信号,我就会觉得这听起来像……呃,所以……

    i i discourage use of machine learning because it's really difficult unless you basically unless you have to use machine learning don't do it it's usually a red flag when somebody says we want to use machine learning to solve this test i'm like that sounds like um so uh

  367. 2:35:43

    99.9% 的情况下你都不需要它。所以,是的,这有点像是你在非用不可的时候才会去求助于机器学习,但我发现它并不是件方便、容易的事。这是一件超级困难的事情。如果你有了一个能听懂正常指令的人形机器人,情况可能会改变,

    99.9 percent of time you do not need it um so yeah but so it's kind of like a you you reach for machine learning when you when you need to not but it's i've not found it to be a convenient easy thing to do um it's a super hard thing to do that may change if you've got a humanoid robot that can you know

  368. 2:36:07

    但是,是的,通常在工厂里要尽量减少机器学习的使用。嗨,从你们模拟器的视频来看,它似乎结合了图形学和神经方法。我很好奇你们的模拟器底层使用了一套什么样的技术,

    understand normal instructions um but yeah generally minimize use of machine learning in the factory hi um based on your videos from the simulator uh it looked like a combination of graphical and neural approaches i'm curious what the set of underlying techniques uh that are used

  369. 2:36:31

    特别是神经渲染方面的技术,能否分享一下?好的,在技术栈的最底层,使用的只是传统的游戏技术,仅仅是实时光栅化,非常类似于你在 GTA 中看到的那样。在此之上,我们正在做实时光线追踪,而那些结果

    for your simulator and specifically for neural rendering if you can share yeah so we're doing uh at the bottom of the stack it's just traditional game techniques uh just rasterization real time uh you know very similar to what you'd seen like gta on top of that we're doing real-time ray tracing and then those results

  370. 2:36:55

    真的是新鲜出炉的。我们在底部加了那个小星号,说明那是昨晚才弄出来的。我们正在进入神经渲染领域,尝试很多不同的东西。我们希望达到这样一种境界:神经渲染成为锦上添花的那一步,推动它达到

    were really hot off the press um i mean we had that little asterisk at the bottom that that was from last night we're going into the neural rendering space we're trying out a bunch of different things we want to get to the point where the neural rendering is the the cherry on the top that pushes it to the point

  371. 2:37:10

    让模型永远无法在我们的模拟器上过拟合的程度。目前我们正在做类似于逼真度增强的事情。最近有一篇关于增强逼真度的论文,但我们能做的远比论文里的多,因为我们拥有多得多的标注数据和多得多的算力,

    where the models will never be able to overfit on our simulator currently we're doing things similar to photorealism enhancement there's a paper a recent paper photo enhancing photo realism enhancement but we can do a lot more than what they could do in that paper because we have way more labeled data way more compute

  372. 2:37:29

    而且对环境有更多的控制权,还有很多人可以帮助我们使其实现实时运行。但我们会尽一切努力,争取达到在必要时可以完全仅靠模拟器来训练一切的程度;不过我们永远不必这么做,因为我们

    and also much we have a lot more control over environments and we also have a lot of people who can help us make this run at real time um but we're going to try whatever we can do to get to the point where we can train everything just with the simulator uh if we had to but we will never have to because we

  373. 2:37:46

    拥有其他任何人都无法比拟的海量现实世界数据。它只是用来填补现实世界中的微小空白。是的,我的意思是模拟器在面对这些罕见极端情况时非常有用,比如事故发生前的紧急避让。具有讽刺意味的是,我们的车越擅长避免

    have so much real world data that no one else has it's just to fill in the little gaps in the real world yeah i mean the simulator is very helpful when there's like these rare cases like like um you know like collision avoidance right before an accident um and then ironically that the better our cars become at avoiding

  374. 2:38:08

    事故,发生的事故就越少,这样我们的训练集就会变小,所以我们必须在模拟中让它们撞车。比如:尽量减少对行人和车内人员的潜在伤害;距离还有 5 米,车速是每秒 20 米,采取什么动作可以最大限度减少

    accidents the fewer accidents there are so then our training set is small so then we have to make them crash in the simulation so it's like okay minimize potential injury to uh pedestrians and people in the car you have five meters you're traveling at you know 20 meters per second um take what actions would minimize

  375. 2:38:32

    受伤的概率?我们可以在模拟中运行这个。

    probability of injury we can run that in some

  376. 2:38:42

    有些车在高速公路上逆行,这种事情偶尔会发生,但并不常见。关于您提到的人形机器人背景,我想知道你们是否已经决定从哪些用例开始入手,以及在这种背景下要使其切实可行面临哪些重大挑战?嗯,我认为对于人形机器人,对于

    cars driving down the wrong side of the highway that kind of thing happens occasionally but not that often um for your humanoid contacts i'm wondering if you've decided on what use cases you're gonna start with and what the grand challenges um are in that context to make this viable well i think for the humanoid for

  377. 2:39:03

    Tesla Bot——Optimus 来说,它基本上会从处理无聊、重复和危险的工作开始。基本上就是人们最不愿意做的工作。

    the tesla bot um optimus it's basically going to start with just dealing with work that is boring repetitive and dangerous basically what is the work that people would least like to do

  378. 2:39:27

    嗨,问一个关于你们模拟的简短问题。显然它们现在还不完美,那么你们是否使用了某种领域自适应技术来基本上弥合模拟数据与实际现实世界数据之间的差距?因为我认为仅仅部署完全

    um hi um so quick question about your simulations um obviously they're not perfect right now so are you using any sort of domain adaptation techniques to basically bridge the gap between your simulated data and your actual real-world data because i imagine it's kind of dangerous to just deploy models which are solely

  379. 2:39:48

    基于模拟数据训练的模型是挺危险的。所以在你们的流水线中,是否有某种显式的领域自适应或类似技术在起作用?目前,我们是直接从模拟器生成视频,包含运动学和所有细节的完整片段,然后直接用它们进行训练,但这

    trained on simulated data so maybe some sort of explicit domain adaptation or something is that going on anywhere in your pipeline so currently uh i mean we're producing the videos straight out of the simulator uh the the full clips of kinematics and everything and then we're just immediately training on them but it's

  380. 2:40:06

    并不是整个数据集,只是一个很小的针对性片段,并且我们只基于现实世界的视频进行评估。我们非常注意确保不要过拟合;如果必须开始做更复杂花哨的事情,我们会去做,但目前在模拟器上过拟合并不是个问题。

    not the entire data set it's just a small targeted segment and we only are evaluating based on real world video um we're paying a lot of attention to make sure we don't ever fit uh and if we have to start doing fancier things we will but currently it's we're not having an issue with it overfitting on the simulator

  381. 2:40:22

    随着我们扩大数据规模,这可能会成为问题,而这正是我们希望利用神经渲染来弥合差距、将边界推得更远的地方。我们已经做了一些尝试,比如使用车内相同的网络,但重新训练它来分辨模拟与现实,以此来指导我们的美术决策,这实际上

    we will as we scale up the data um and that's what we're hoping to use neural rendering to bridge that gap to push that even further out um we've already done things where we're using like the same networks in the car but retrain it to detect sim versus rail to drive our art decisions um and that's actually

  382. 2:40:38

    也有助于防止其中一些问题的发生。是的,我只想强调一下,绝大多数数据集都是来自实际道路上车辆采集的真实视频。没有什么比现实更古怪、或者包含更多的极端边缘情况(corner cases)了。现实环境真的非常离奇,但如果我们发现了几个极其

    helped um prevent some of these things as well yeah just to emphasize that overwhelmingly the data set is the real video from the cars on the actual roads uh nothing's weirder or uh or has more corner cases than reality um it's gets really strange out there but but then if if we find say a few examples of something

  383. 2:41:00

    古怪的例子——我们确实见过一些非常奇特的画面——那么为了有效地训练它,我们就会想创建模拟,比如创建一千个模拟场景作为我们看到的那个怪异画面的变体,以此填补一些重要的空白,让系统变得更好。实际上,

    very odd and there's some very some for some very odd pictures we've seen then in order to train it effectively we want to create simulations uh say a thousand simulations that are that are variants of that quirky thing that we saw the foot to fill in the some important gaps and and make the system better and really

  384. 2:41:23

    所有这些随着时间的推移,都是为了降低发生碰撞或受伤的概率。这被称为“追寻 9 的征途”(march of nines),就像你如何达到 99.999999% 的安全性,每增加一个 9,难度就会呈数量级增加。

    all of this is about over time just reducing the probability of of a crash or an injury and it's called the march of nines like how do you get to 99.999999 uh safe you know and it yeah each nine is an order of magnitude difficulty increase

  385. 2:41:47

    非常感谢这场演讲。我对 Tesla Bot 很感兴趣,具体来说,我想知道您认为人形外观特别适合哪些具体应用?其次,鉴于它的人形外观,在产品路线图上有考虑过情感或陪伴功能吗?

    uh thanks so much for the presentation i was curious about the tesla bot um specifically i'm wondering if there are any specific applications that you think the humanoid form factor lends itself to and then secondary um because of its human form factor is emotion or companionship at all thought about on the product roadmap

  386. 2:42:10

    哪怕是一点点?

    at all

  387. 2:42:17

    嗯,我们当然希望它不要出现在反乌托邦科幻电影里。不过在现阶段,我们是在想:也许这个机器人可以……我们尽量务实一点:它能做人们不想做的那些无聊、危险、重复的工作吗?

    um well we certainly hope this does not feature in a dystopian sci-fi movie but uh you know like really at this point we're saying like maybe this robot can just we're trying we're trying to be as literal as possible can it do um boring dangerous repetitive jobs that people don't want to do

  388. 2:42:41

    一旦你能让它做到这一点,也许你也可以让它做其他事情,但那才是我们真正想要实现的核心。所以它也可以成为你的伙伴,我是说买一个让它做你的朋友之类的,我确信人们会想出一些非常有创意的用法。

    and uh you know once you can have it do that then maybe you can do other things too but that's the that's the thing that we really great to have so it could be your buddy too i mean buy one and have it be or your friend and whatever i'm sure that people think of some very creative uses

  389. 2:43:08

    所以……首先感谢这场极其精彩的演讲。我的问题是关于 AI 方面的。我们看到的一点是,在某些语言建模 AI 中,模型规模扩展对其能力和所能做的事情产生了令人难以置信的影响。所以我想知道

    so uh so um so firstly thanks for the the really incredible presentation um my question is on the ai side um so one thing we've been seeing is that with some of these language modeling ais we've seen that scaling has just had incredible impacts in their capabilities and what they're able to do so i was wondering

  390. 2:43:30

    你们在自己的神经网络和应用中,是否也看到了类似的规模扩展效应?绝对的。通常来说更大的网络表现更好,前提是你也有足够的数据来训练它,这也是我们亲眼所见的情况。当然在车端,我们必须考虑到延迟问题,

    whether you're seeing similar kinds of effects of scaling in in your neural networks in your applications absolutely a bigger network typically we see it performs better provided you have the data to also train it with and this is also what we see for ourselves definitely in the car we have some latency consideration

  391. 2:43:47

    所以在那方面我们必须发挥创造力,才能实际部署大得多的网络。但正如我们提到的,我们不仅仅是为了车端部署而训练神经网络,我们还有这些自动标注流水线,可以使用任意尺寸的模型。事实上我们训练了许多

    to be mindful of and so there we have to get creative to actually deploy much much larger networks but as we mentioned we don't only train neural networks for what goes in the car we have these um auto labeling pipelines that can utilize models of arbitrary size so in fact we've traded a number of models that

  392. 2:44:02

    无法部署的模型,它们大得多,效果也好得多,因为我们希望自动标注达到更高的准确率。所以我们在这方面做了很多工作,并且明确看到了这种趋势。是的,自动标注是整个体系中极其重要的部分。

    are not deployable that are significantly larger and work much better because we want 100 like we want much higher accuracy for the auto labeling and so we've done a lot of that and there we definitely see this trend yeah the order labeling is uh an extremely important important part of this whole whole situation

  393. 2:44:21

    没有自动标注,我认为我们将无法解决自动驾驶问题。这是一种有趣的知识蒸馏形式,你利用这些极其庞大的模型加上问题的结构来进行这种重建,然后将其蒸馏到部署在车上的神经网络中,但

    without the order labeling i think we would not be able to solve the self-driving problem it's kind of a funny form of distillation where you're using these very massive models plus the structure of the problem to do this reconstruction and then you distill that into neural networks that you deploy to the car but

  394. 2:44:36

    我们基本上拥有许多神经网络和大量任务,它们从来就不是为了装进车里而设计的。是的,而且随着时间的推移,你会获得新的帧信息,因此你真的希望算力分布在所有信息上,而不是只盯着单单一帧,霸占

    we basically have a lot of neural networks and a lot of tasks that are never intended to go into the car yeah and also as time goes on that you get new frames of information so you really want to make sure your computer is distributed across all the information as opposed to just taking a single frame and hogging

  395. 2:44:50

    算力处理比如 200 毫秒。实际上不断有更新的帧进入,所以你希望利用所有的信息,而不是仅仅使用那一帧。我认为我们看到的一点是,车辆的预测能力非常惊人,可以说是好得令人难以置信,在预测方面真的开始超越人类了,

    on it for say 200 milliseconds you actually have newer frames coming in so you want to like use all of the information and not just use that one frame i think one of the things we're seeing is that the car's predictive ability is um is quite is eerily good um it's really getting better than human in terms of predicting

  396. 2:45:10

    比如预测这条视线之外的道路会是什么样子,比如转弯处后面的路,它能以极高的精度预测道路走向;还有预测行人和骑行者,即使他们躲在某处,只看到自行车的一角,或者透过

    like you say like what predict what this road will look like out when it's out of sight like it's around the bend and it predicts the road with very high accuracy and you know predict pedestrians or cyclists wherever behind you know where to just see a little corner of the bicycle and a little bit through through

  397. 2:45:31

    公交车的车窗看到一点点,它预测事物的能力将远超人类,真的远远超越。对,我们经常看到这种情况:有些东西并不可见,但神经网络脑补出的内容却非常合理,有时甚至好得令人不可思议,以至于你

    the windows of the bus and its ability to predict things is going to be much better than humans like really way way beyond right yeah we see this often where we have something that is not visible but the neural network is making up stuff that actually is very sensible sometimes it's eerily good and you have to

  398. 2:45:47

    会忍不住怀疑这是否在训练集里。实际上在极限情况下,你可以想象神经网络有足够的参数,有可能记住整个地球,所以在极限状态下它真的能给你正确答案,这有点像把高精地图融入到了神经网络的权重中。

    like you're wondering this is in the training set and actually actually in the limit you can imagine the neural net has enough parameters to potentially remember earth so in the limit it could actually give you the correct answer and it's kind of like an hd map back baked into the weights of the neural net

  399. 2:46:08

    我有一个关于 Tesla Bot 设计的问题,具体来说,保持这种人形外观有多重要?制造拥有五根手指且符合重量限制的手可能极具挑战性,你可能必须采用线驱,而这又会引发各种问题……

    i have a question about the design of the tesla bot specifically in order uh how important is it to maintain that humanoid form to build hands with five fingers uh that also respects the weight limits could be quite challenging you might have to use cable driven and then that also causes all kinds of issues um i

  400. 2:46:31

    这只是第一版机器人,我们拭目以待。它需要能够做人类做的事情,成为一个通用的通用型人形机器人。我的意思是,你完全可以给它做两根手指加一个大拇指之类的,

    mean this is just going to be bought version one and we'll see so the it's it needs to be able to do things that that people do um and uh you know be a generalized you know humanoid robot um i mean you could make you potentially have it give it like you know two fingers and a thumb or something like that

  401. 2:46:55

    不过目前我们会给它五根手指,看看效果如何。应该会挺顺利的。它不需要具备极其惊人的握力,但需要能够使用工具,并且能提个包什么的。好的,非常感谢这场演讲。

    um you know for now we'll we'll give it five fingers and and see see if that works out okay it probably will it doesn't need to be like uh you know have like incredible grip strength but it needs to be able to work with tools so and you know carry a bag that kind of thing all right thanks a lot for the presentation

  402. 2:47:18

    我的一位老教授告诉我,他非常不喜欢他的 Tesla 的一点是,Autopilot 的用户体验并没有真正让人们对系统产生足够信心,尤其是当物体在旋转、分类结果在闪烁跳变时。我想知道,即使你们拥有优秀的自动驾驶系统,你们

    so an old professor of mine told me that um the thing he disliked a lot about his tesla was that the autopilot ux didn't really inspire much confidence in the system especially when like objects are spinning classifications are flickering i was wondering like even if you have a good self-driving system how are you

  403. 2:47:35

    打算如何去说服 Tesla 车主、其他道路使用者以及广大公众,相信你们的系统是安全可靠的?嗯,我认为那是以前的车了,以前车模确实会自转,但现在不再旋转了。如果你看过 FSD Beta 的视频,现在的表现非常

    working on convincing tesla owners other road users or other road users and just the general public that your system is safe and reliable well i think that's that's the cars a while back cars used to spend they don't they don't spin anymore not in the if you've seen the fsd beta videos they they're they're pretty

  404. 2:47:56

    扎实稳定,而且会越来越扎实。是的,随着加入越来越多数据并训练这些多摄像头网络——这些模型实际上才推出了几个月,就已经相当不错了,而且还在不断改进。这还不是最终成品,我们能够清楚地看到它将如何走向

    solid um and they will be getting more solid yeah as him add more and more data and train these multi-camera networks like these are pretty decent actually just like few months old and it's really improving it's not a done product uh and that we've never minds we can clearly see how this is just going to be like

  405. 2:48:11

    完美,在向量空间中做到完美,因为这理所应当——所有的信息都在视频里,只要有大量的数据和良好的架构,它就应该能够呈现出来。这只是时间线上的一个中间节点,毫无疑问它显然正朝着远胜人类的方向发展。

    perfect but perfect for space because why not uh all the information is that in the videos it should produce a given lots of data and good architectures um and this is just an intermediate point in the timeline i mean it's clearly headed to way better than human without question

  406. 2:48:33

    轮到我了。嗨,我想知道您能否谈谈这款机器人的中短期经济效益?我想我理解替代体力劳动的长期愿景,但我也认为重复、危险和无聊的工作往往报酬不是很高,所以我不太明白如何

    my turn oh hi here um i was wondering if you could talk a little bit about the short to medium-term economics of the bot i guess i understand the long-term vision of replacing physical labor but i also think repetitive dangerous and boring tasks tend to not be so highly compensated and so i just don't see how to

  407. 2:48:55

    复制那种模式——先从超跑起步,然后再打入低端市场——在人形机器人上该如何做到这一点?好吧,我想你只能拭目以待了。

    reproduce uh you know start with a supercar and then break into like the lower end of the market how do you do that for a robot humanoid well i guess you'll just have to see

  408. 2:49:16

    你好,我想知道汽车 AI 如何平衡乘客安全与行人安全的优先级,以及在决定如何将其融入 AI 时有着怎样的思考过程?我的意思是,我们必须认识到的是,从计算机的角度来看,所有事物的移动都是极其缓慢的。

    hello hi um i was curious to know how the car ai prioritizes occupant safety versus pedestrian safety and what thought process goes into like deciding how to make this into the ai well i mean we the the thing to appreciate is that from the computer standpoint everything is moving slowly

  409. 2:49:41

    对人类来说运动飞快的事情,对计算机来说并不快。所以我认为在现实中这某种程度上是一个伪命题,并不是说它绝不会发生,但会非常罕见。如果你换个角度想,比如渲染

    so uh think you know to a human uh things are moving fast to the computer they are not moving fast so i think this is in reality somewhat of a false dichotomy not that it will never happen but it will be very rare um you know if you think it was like you know going the other direction like rendering you know

  410. 2:50:02

    类似《赛博朋克》或任何先进电子游戏中的画面,使用全光线追踪、神经网络增强图形,以每秒 60 帧完美渲染——一个人甚至要花多长时间才能渲染出一帧且不出任何错误?这可能需要一个月的时间,

    with full ray tracing uh neural net enhanced graphics on something like cyberpunk or in any you know advanced video game you know doing 60 frames a second uh perfectly rendered like how long would it take a person to even render one frame and without any mistakes can be done i mean it would take like a month

  411. 2:50:27

    仅仅为了渲染电子游戏里一秒钟 60 帧中的一帧。计算机很快,而人类很慢。

    just to just render one one frame out of 60 in a second in a video game it's uh computers are fast and humans are slow

  412. 2:50:43

    举个例子,在火箭方面,你是无法靠手动操控把火箭开进轨道的。我们实际上连过一个手柄,想看看是否有人能手动把火箭操纵入轨,但你需要大约 6 到 7 赫兹的反应频率,人类根本做不到,即使现在这频率也算很低了,

    i mean for example uh on on the rocket side the you you cannot steer the rocket to orbit um we actually hooked up a joystick to see if anyone could steal the rocket orbit but you need uh to react at roughly six seven hertz uh people can't do it not even now that's pretty low you know

  413. 2:51:08

    我们谈论的更多是 30 赫兹之类的情况。嗨,这边。对于 Hardware 3,有很多推测认为随着网络变大,它正在达到所能提供的能力极限。扩展计算模式提供了多少余量?在什么节点上会需要 Hardware 4,如果

    we're talking more like even for like 30 hertz type of thing hi um with the over here uh with hardware 3 there's been lots of speculation that with larger nets it's hitting the limits of what it can provide how much headroom has the extended compute modes provided at what point would hardware 4 be required if at

  414. 2:51:31

    真的需要的话?嗯,我有信心 Hardware 3 或 Full Self-Driving 计算机 1 代能够实现完全自动驾驶,其安全水平远高于人类,大概至少比人类好两到三倍。然后显然未来会有 Hardware 4 或完全自动驾驶

    all well i'm confident that hardware 3 or the full stop driving computer 1 will be able to achieve full self driving at a safety level much greater than a human probably i don't know at least two or three hundred percent better than a human um then obviously there will be a future hardware for or full self-driving

  415. 2:51:54

    计算机 2 代,我们可能会在 Cybertruck 上引入它,大概在一两年之后。那款硬件的能力大约是现在的 4 倍左右。但这其实只是像:我们能否为了论证的目的,把它从比人类安全 300% 提升到安全 1000%?

    computer too which we'll probably introduce with the cybertruck um so maybe in about a year or so uh that is probably well that'll be about four times more capable roughly um but it's really just going to be like can we take it from say for argument's sake 300 safer than a person to a thousand percent

  416. 2:52:18

    就像道路上的人驾驶水平各不相同,但我们仍然允许人们开车一样,你不需要成为世界上最好的司机才能上路。所以正如我们所见……好的,还有什么新问题吗?好吧,

    safer um you know just like there are people on the road who with with varying driving abilities but we still let people drive it you don't have to be the world's best driver to be on the road so as we see so yeah guess what's new all um right are

  417. 2:52:42

    你们完全不担心吗?因为车上没有任何深度传感器,人们可能会尝试对抗性攻击,比如打印出来的照片之类的,试图欺骗 RGB 神经网络。是的,就像搞出类似歪心狼(Wile E. Coyote)那套把戏,比如在墙上画个隧道,然后‘哎呀’。

    you worried at all since you don't have any depth sensors on the car that people might try like adversarial attacks like printed out photos or something to try to trick the rgb neural network yeah like what pull some like wiley cody stuff you know like paint the tunnel on the on the wall it's like oops

  418. 2:53:06

    我们其实没怎么见过这种情况。当然,如果是现在,大概如果你穿了一件印有停车标志(Stop sign)的 T 恤——我其实正好有一件印着停车标志的 T 恤——然后你在车前晃一下,车确实会停下来。

    um we haven't really seen much of that um i mean for sure like like right now if you pr most likely if you had like a a t-shirt with a t-shirt with like a stop sign on it which i actually have a t-shirt with a stop sign on it and and then you like flash the car it will it will stop

  419. 2:53:31

    我验证过这一点。但显然随着我们看到这些对抗性攻击,我们就可以训练车辆去识别‘那其实是一个人穿着印有停车标志的 T 恤,所以它大概不是真的停车标志’。

    i i proved that um but we can obviously as we see these uh adversarial attacks then we can we train uh the cars to uh you know notice that well it's actually a person wearing a t-shirt the stop sign on it so it's probably not a real stop sign

  420. 2:53:54

    嗨,我的问题是关于预测和规划的。我很好奇你们是如何将不确定性整合到规划算法中的?你们基本上只是假设……你刚才提到你们会为道路上的所有其他车辆运行 Autopilot,你们是否假设它们都会

    hi uh my question is about um the prediction and the planning i'm curious how do you incorporate uncertainty into your uh you know planning algorithms do you just basically assume you know you mentioned that you run the um the autopilot for all the other cars on the road do you assume that they're all going to

  421. 2:54:14

    遵守这些规则,还是你们也考虑到了他们可能是糟糕驾驶员的可能性?比如……是的,我们确实考虑了多模态的未来预测,我们并不是只选一种可能,而是会考虑到这个人实际上能做出很多动作,并且我们利用实际的物理学和运动学来确保他们不会

    follow those rules or are you accounting for the possibility that well they might be bad drivers for example yeah we do account for multi-modal futures it's not that we just choose one we account for this person can actually do many things and we use that actual physics and kinematics to make sure that they're not

  422. 2:54:32

    在我们行动之前做出干扰我们的举动。所以如果有任何不确定性,我们都会保持保守,然后给他们让行。当然这也有个限度,因为如果你太保守,那可能就不切实际了,所以在某些时候我们必须果断,而且即便如此,我们也会确保

    doing a thing that would interfere with us before we act um so if there's any uncertainty we are conservative and then would yield to them of course there's a limit to this because if you're too conservative then it's probably not practical so at some point we have to assert and we even then we make sure that

  423. 2:54:47

    对方能够给我们让行并做出明智的反应。我还想说,比如在我们把某些功能引入车队之前,我们会让它在影子模式下运行,这样我们就能看到,比如这个神经网络在这种特定情况下会做出什么反应,

    the other person can yield to us and act sensibly i should say like um like before we introduce something into the fleet we will run it in shadow mode and so and we'll see what what would this neural net for example have done in this particular situation um

  424. 2:55:11

    因为这样一来,实际上就是人类驾驶员在训练它、训练这个网络。所以如果神经网络本该进行控制,比如本想往右偏,但人类驾驶员实际上往左打了方向,就会发现:“咦,这里有差异,为什么会有这个差异呢?”是的,其次,所有人类驾驶员本质上都在训练

    because and then effectively the drivers uh are training it training the net so if the neural net would have uh controlled and you know and say veered right but the person actually went left it's like oh there's a difference why was there that difference yeah and secondly all the human drivers are essentially training

  425. 2:55:31

    神经网络什么是正确的行动路线——前提是那次驾驶没有以撞车告终,那种情况下就不算了。是的,其次,我们对不确定性有各种估计指标,比如闪烁检测,当我们观察到这一点时,比方说我们看不清某个东西,我们实际上会让车慢下来,

    the neural net uh as to what is the correct course of action assuming it doesn't then end up in a crash you know doesn't count in that case yeah and secondly we have various estimates of uncertainty like flickr and when we observe this we actually uh say we are not able to see something we actually slow down

  426. 2:55:48

    再次确保安全,并在采取行动前获取更多信息。是的,我们不想盲目莽撞地冲向未知事物,我们只进入自己了解的区域。不过,是的,理想情况下车辆应该做到:知道得越少,车速就越慢,

    the car to be again safe and get more information before acting uh yeah we don't want to be brazen and just go into something that we don't know about we only go into places where we know about yeah but um yeah it should be like aspirationally that the car should be the less it knows the sl you know the slower

  427. 2:56:06

    走得就越慢。对,虽然在某些时刻还不完全是这样,但现在是的,车速应该与置信度成正比。

    it goes yeah which is not true at some point but now yeah yeah we've yeah should we speed proportionate to confidence

  428. 2:56:22

    感谢您的演讲。我很好奇,我非常赞赏 FSD 正在不断进步的事实,但如果让您在今天展示的整个 AI 技术栈中挑选一个组件进行改进,无论是仿真、数据收集、规划、控制等等,在您看来,哪一个对

    thanks for the presentation so i am curious appreciate the fact that the fsd is improving but if you have the ability to improve one component along the ai stack to present it today whether it is simulation data collections planning control et cetera which one in your opinion is going to have the biggest impact for

  429. 2:56:43

    完全自动驾驶系统的性能产生的影响最大?

    the performance of the full self driving system

  430. 2:56:51

    这其实是这多个点构成的曲线下面积,只要你改进任何一项,它都应该能增加这个面积。我的意思是,短期内可以说是我们需要所有的网络都采用环视视频;所以我们仍然有一些遗留问题,这显然是个非常短期的过程,我们正在快速修复它,但目前

    it's really the area under the curve of this like multiple points and if you improve anything uh it should improve the area i mean in the short term it's arguably we need all of the nets to be um surround video uh and so we still have some legacy this is a very short term obviously we're fixing it fast but there's

  431. 2:57:11

    仍然有一些网络没有使用环视视频,我认为理想状态是全部使用环视视频。是的,我觉得通往成功的拼图已经有很多就位了,我们只是需要更多优秀的人才来帮我们把它做成。是的,这才是真正的瓶颈,我想说

    there's still some nets that are not using surround video um and i think ideally that all use surround video yeah very yeah i think a lot of puzzle pieces are there for success we just need more strong people to also just help us make it work yeah that is the actual box so that is the actual bottleneck i would

  432. 2:57:28

    这确实也是我们举办这次活动的原因之一。安德烈(Andrej)说得完全没错,要把它做成功,还有极其繁重的工作要做,这就是为什么我们需要有才华的人加入进来解决这个问题。

    say i'm really one of the reasons that we are putting on this event exactly what well said andre that um there's just a tremendous amount of work to do to make make it work so that's why we need um talented people to join in and solve the problem

  433. 2:57:49

    非常感谢这场精彩的演讲,我的很多疑问都得到了解答。但我还有一个问题:设想一下,现在你们拥有海量的数据,甚至是多余的数据,你们是如何考虑神经网络中存在的遗忘问题的?你们是如何考量这些方面的?另外还有一个,你们是否在考虑

    uh thank you for the great presentation lots of my questions answered but one thing is uh when imagine that now you have a large amount of data even unnecessary how do you consider that like there's a forgetting problem in neural networks like how are you considering those aspects and also another one are you considering

  434. 2:58:13

    在线学习或持续学习,以便每个驾驶员都能拥有属于自己的自动驾驶软件版本?我想我知道你指的是哪些文献,那并不是我们所遇到的问题,而且我们并没有做太多的持续学习。我们训练系统一次,微调几次,

    online learning or continuous learning so that maybe each driver can have their version of uh self-driving software i think i think i know the literature that you're referring to that's not some of the problems that we've seen and we haven't done too much continuous learning we train the system once we find in a few

  435. 2:58:33

    然后部署到车端。我们需要的是一个稳定的、经过我们广泛评估的东西,当我们认为没问题了,才会放进车里。所以我们不会做太多的现场实时学习或持续学习,也没有面临遗忘问题。不过将来会有一些设置供你选择,比如

    times that sort of goes into the car we need something stable that we can evaluate extensively and then we think that that's good and that goes into cars so we don't do too much learning on spot or continuous learning and don't face the forgetting problem uh but there will be settings that you can say like if

  436. 2:58:48

    你是不是通常喜欢保守驾驶,或者你想开快点还是开慢点,就像“我赶飞机要迟到了,你能开快点吗”这种基本类似于你对 Uber 司机给出的那种指令:“我要赶不上航班了,请快一点”,

    you do do you want are you typically a conservative driver or do you want to drive fast or slow you know it's like i'm late for my i'm late for the airport uh could you go faster than you know basically the kind of instructions you'd give to your uber driver it's like i'm late for the flight please hurry um

  437. 2:59:03

    或者是“慢慢开”,或者随你喜欢什么风格。

    or take it easy or you know whatever your style is

  438. 2:59:12

    那我们再回答几个问题,然后今天就结束了。好的,随着我们的模型能力越来越强,我想你们也正在把这些模型部署到现实世界中,我觉得有一种可能是 AI 会变得更加偏离人类的意愿,所以我想

    so let's take a few more questions here so and then we'll call it a day all right so as our models have become more and more capable and i guess you're deploying these models into the real world um one thing i guess that's possible is for ai to become more i guess misaligned with what humans desire so i guess

  439. 2:59:31

    随着你们部署越来越多的机器人,这是你们所担心的问题吗?还是说你们觉得到时候再解决这个问题?是的,我认为我们确实应该对 AI 保持警惕。你知道,我们在这里尝试做的属于窄领域弱 AI,非常狭窄,只是让车

    is that something that you guys are worried about as you guys deploy more and more robots um or do you guys like we'll solve that problem when we get there yeah i think that we should be worried about ai um you know like what we're trying to do here is i say narrow ai uh pretty narrow like just make the car

  440. 2:59:52

    开得比人类更好,然后让人形机器人能够做一些基础的事情。到了你开始拥有超人类智慧的那个节点,那我就说不准了,一切皆有可能。不过那是……那大概率会发生,

    drive better than a human um and then have the humanoid robot be able to do basic stuff um uh you know so um at the point at which you sort of start get uh superhuman intelligence uh yeah i don't know all bets are off um but you know and that's that's that's you know that'll

  441. 3:00:16

    但我们在 Tesla 努力要做的是创造出人们喜爱、且明确无害的有益 AI,这就是我们努力的目标。好的,也许再来一个问题。嗨,我的问题是关于摄像头传感器的。在演讲一开始,你提到了构建

    that'll probably happen but but what we're trying to do here at tesla is make useful ai that people love and and is unequivocally good that's our you know try to aim for that okay maybe one more question hi uh my question is about the camera sensor in the beginning of the talk you had mentioned about building

  442. 3:00:40

    一个人工合成动物。如果你仔细想想,摄像头对人眼来说只是非常拙劣的近似,人眼做的事情远比拍摄一连串连续帧要多得多。你们有没有研究过,比如现在有像事件相机这类的摄像头,你们有关注过它们吗?或者你们是否在考虑更灵活的

    a synthetic animal and if you think about it a camera is a very poor approximation of a human eye and a human eye does a lot more than take a sequence of frames have you looked into like there are like these days are like cameras like event cameras have you looked into them or are you looking into a more flexible

  443. 3:00:59

    相机设计,比如自己造摄像头?在 Hardware 4 上,我们将采用下一代摄像头,但我不得不说,当前的摄像头——我们还没达到现有摄像头的极限。所以我坚信,依靠目前的摄像头和目前的计算硬件,我们就能实现安全性远高于

    camera design or building your own camera for example well with hardware four we will we will have a next generation camera uh but i have to say that the the current cameras we have not reached the limit of the current cameras uh so um and i'm confident we can achieve full self-driving with much higher safety than

  444. 3:01:21

    人类的完全自动驾驶。但你知道,如果我们能比人类安全 1000% 而不仅仅是 300%,岂不是更好?所以我们会看到在各个层面上持续演进,并追求这个目标。我认为未来人们回首往事时会说:“哇,真不敢相信当年我们还得自己开这些车。”

    humans with the current cameras and current compute hardware um but you know are we good to be a thousand percent better rather than 300 better so we'll see continued evolution on on our levels and pursue that goal and i think in the future people will look back and say wow i can't believe we had to drive these cars

  445. 3:01:44

    自动驾驶汽车就会变得像自动运行的电梯一样普通。以前的电梯都是配有电梯操作员的,有个人守在那里,用巨大的继电器开关来操作电梯,然后他们时不时会感到疲倦,或者出现失误,

    ourselves you know it'll like self-driving cars will just be just a normal like self-driving elevators you know uh elevators used to have elevator operators and uh there's someone there with like you know big big relay switch operating the elevator and then every now and then they'd get tired or you know some make

  446. 3:02:03

    把人切成两半。所以现在我们让电梯实现了自动化,你走进去按下按钮,哪怕是在 100 层的摩天大楼里也完全不用担心,只要走进去按个按钮,电梯就会带你去你想去的地方。但过去所有的

    a mistake and share somebody in half so um so now we uh you know we made elevators automatic and you just go and you press the button and you can be in a 100 story skyscraper and don't really worry about it just go and press a button and the elevator takes you where you want to go but it used to be that all

  447. 3:02:21

    电梯都是手动操作的。汽车也会是一模一样的道理,所有的汽车都将是自动驾驶的,而且显然都是电动的。当然,依然还会保留一些燃油车和一些手动挡车,就像现在依然有人骑马一样。好了,非常感谢大家的到来,希望大家喜欢

    elevators were operated manually manually it'll be the same thing like for cars all cars will be automatic and then um and electric obviously um so there will still be some gasoline cars and some manual cars just like there are still some horses so um all right well thanks everyone for coming and i hope you enjoyed

  448. 3:02:43

    这场展示,也感谢大家提出的精彩问题。

    a presentation and thank you for the great questions

  449. 3:03:12

    谢谢。

    you

视频清单取自 Elon Musk Archive;文字稿由墓碑科技依据视频字幕整理和翻译。本档案为非官方整理,与 SpaceX 无关联。