Thanks for having me here. I'm speaking here on behalf of the awesome Tesla AI team. A lot of this is just their work. To start with the mission of Tesla: we want to build amazing abundance, and we want to achieve this through the creation of general-purpose robots. And this is what we mean by that: we want to produce these general robot systems that can take any high-dimensional input and then produce actions that are extremely good in the sense that they can work on safety-critical systems without any critical failure. And this can manifest in different forms of robots. We have Optimus, our humanoid robot in development, and this is a generation 2.5 system. On the left, you can see the Tesla self-driving system. This is an autonomous robotaxi service that's operating in several cities. On the bottom right, you can also see Visual Optimus, which is sort of a visual embodiment of Optimus doing tasks just like how a human using a computer would do tasks—that is, taking video screen and then producing mouse and keyboard actions. All of this is built on the same stack.
Today, I'll dive more deep into the self-driving system. We have the Tesla robotaxi service available publicly in three cities. These are unsupervised vehicles; there's no one inside them. Here's an example video clip from our car operating in Houston, where it's properly yielding to the school bus with its stop flashes on. It waits for the kids to be dropped off and then proceeds when it's safe to do so afterwards. Again, this is already a public-facing service. People who are in the cities can hail rides; it is not some engineering development. In addition, we have also shipped supervised self-driving, where the driver is still in the loop of the driving task, and more than 1.3 million customers have this across the entire world. We have had this for several years in North America—in the US, Canada, etc. Recently, we got approval to ship in Europe. We were able to demonstrate the safety of the system to the European regulatory agency, and that's why they gave approval for us, starting to roll out in the Netherlands, Estonia, Lithuania, and a lot more countries in Europe are pending regulatory approval. We also have this working in China, Australia, etc. Basically, the goal of the team is to deliver global self-driving: affordable, scalable, safe, comfortable, global self-driving. That is the singular goal of the team.
These are some example videos that will sort of demonstrate the system's performance. This is a video from the Netherlands, where we recently got approval, and the system is driving by itself. The drivers are just monitoring the situation, and you can see that the vehicle needs to cross these narrow bridges with poor visibility. Here, in this case, the bicycle does pop up from an occlusion; the car safely handles it and drives so naturally, so human-like, that it's extremely comfortable inside the car. While you think the Netherlands has a lot of bicyclists and European roads are pretty narrow, it's really our Chinese customers that put us to the test here. They test in the most insane situations, and yet you can see that the system performs extremely well. I just watch these videos for fun. You know, like in this case, there's a dead end where you can fall off a cliff. A bunch of goats here want to cross the road, so the car backs up and gives them way. They can drive in dense fog on mountain roads. Again, it has the correct speed—it doesn't speed too much, doesn't go too slow, the right amount for the amount of fog that's in the scene.
And then here, again, it's a narrow road, there's an oncoming car, there's no space to go. The vehicle is smart enough to understand that it needs to back up. So, it starts backing up on these tricky mountain roads, and then it keeps backing up for quite a while. I'm going to play the entire video. It's trying to find some space where two vehicles can pass each other. Eventually, it finds a spot and then squeezes past them and proceeds. This is another tricky situation. It's staring at a giant cliff with no barrier, and the car properly stops, knows that it can't make this turn, backs up, and then takes the correct action. All of this is purely on camera videos—no lidar, radar, ultrasonic sensors, HD maps, none of that classical self-driving stack. Everything is vision-based, large neural network vision approach. What this manifests as is increased safety for customers. You can see this demonstrated here. This is over 10 billion miles of driving, so it's extremely statistically significant. You can see that driving on Teslas with FSD enabled is 2x safer than driving a Tesla with all the active safety features but without FSD enabled. So, it's the same population; this is differences whether they had FSD on or FSD off. You can see a clear 2x difference. If you had a vehicle without any active safety, it's more like a 4x to 5x improvement over driving. Again, this is not just on highways; it's both on highway and off highway because the self-driving system can handle all of driving. It's not just a highway drive assist or something like that; it just handles the driving for you. You don't have to drive. Basically, what this means is that if you have a Tesla, you should definitely use FSD. It is the right thing for your health and safety. If you don't have a Tesla, you should definitely buy a Tesla and use FSD. It's good for the company, but that's not why I'm saying this.
So, yeah. How does all this work? Pretty simple if you look at it from 10,000 feet. You throw in all the high-dimensional sensor data like camera videos, the maps and the navigation that you would use, the vehicle state and the robot state, audio, whatever. You just throw all of this sensor data into one giant pot, and you tell the neural network to produce the correct action at the end. All of this runs on Tesla's custom inference chips; we call them AI4. These are what are on the cars and the robots. There are two of them: each vehicle has a motherboard with two of these AI4 chips, and they have a copy of the neural network on each of them. They're built with full redundancy, so they have redundancy in the sensor data, redundancy in the power supplies, in the communication rails—everything is fully redundant. In case the hardware fails in long-tail situations, the other SOC can take over and safely drive the car. That sort of extreme hardware protection is required for guaranteeing safety even in long-tail situations.
It all sounds great. Then why isn't everyone doing it, right? Even now, most of the self-driving industry is betting heavily on lidars, HD maps, and so on. I believe it's because fundamentally doing the end-to-end system is much more difficult. Even though the architecture looks very elegant and simple, building it is extremely difficult. Here are some reasons why we should do it nonetheless. One is that in a modular system, it's very easy for the developers to produce some initial results, but it's very hard to scale it because coding what the humans want is actually not trivial. You might think that they just want smooth driving, but if you just implement some kind of jerk limit or something, that would not come across as natural because sometimes you want more jerk, sometimes you want less jerk, and it's extremely context-dependent. And then the interface between planning, perception, prediction, etc., are extremely brittle and they can be very lossy, and you can't put on an interface that guarantees that all the necessary information for the correct decision is being passed. Overall, having such a neural network system is extremely friendly to your latency. It can easily absorb long-tail data like a sponge, and it's very easy to scale. Looking back, I suspect that this will be the correct architecture for self-driving cars and robotics in general.
Here's an example of why that is the case. If you're writing these rules for self-driving, you might say, 'Okay, you should not drive into the oncoming lane.' But in this case, for example, there's a puddle in your lane and you have extreme visibility, so you should be able to go into the oncoming lane. Just making these judgment calls and value trade-offs in an explicit system is extremely difficult. People joke that the trolley problem is actually not real, it's only some academic problem, but the inverse is actually true: self-driving and robotics is filled with a lot of teeny-tiny trolley problems, and you're constantly making these value judgments between what is the least worst thing to do. Here's another example of this perception-prediction-planning breakdown. Here on the left side, a bunch of chickens want to cross the road. The car recognizes it and waits for the chickens to cross the road. You could have proceeded here, but it notices that this is actually a chicken, waits for it to cross the road, and then autonomously proceeds after that. Whereas on the right side, there's a bunch of geese that don't want to move. They're just hanging out in the puddle there, and there's no one inside the car. It notices that these geese are waiting, backs up on its own, and then goes around them. This kind of subtle intention is, again, hard to put down an interface for between the prediction and the planning systems, and that is why we want it to be end-to-end.
Again, if it's so great, why isn't everyone doing it? A bunch of challenges. I suspect perhaps this is why. One is, first of all, the system is extremely high-dimensional, and you want to be learning this mapping of roughly 2 billion tokens down to two output tokens. This is roughly the math where you have multiple cameras to get 360-degree vision around the vehicle, and each of them has high frame rate, high resolution, and you want somewhat long context to know what the right thing to do is. We have a bunch of other sensor data; it can easily amount to more than 2 billion tokens if you naively use a video or something like that. The problem is not even the architecture. How do you currently learn the mapping from this extremely high-dimensional input? It's like nine orders of magnitude reduction to go from 2 billion tokens to two tokens, and you want to learn the right causal mapping. It's a trivial problem if you just want to take two random bytes and spit it out, but that's not what we want to do. We want to be correct about these two output tokens, and that's where the challenge is. Fortunately for Tesla, we have basically the Niagara Falls of data. You can have as much data as you want, and it's mostly limited by storage space. So, we still got to be slightly careful about what data we pick and choose. We don't want to be adding the billionth and one highway driving clip because it's super boring and then people can sleep on the desk. That's why we have these sophisticated trigger mechanisms. A lot of thought and effort goes into harvesting the right data from the entire fleet. If you look carefully, there's a lot of golden nuggets that you can assemble over time and form a giant database of these kind of rare cases. This is a montage of a bunch of these rare cases, which are like a tiny drop in the bucket of these rare cases.
These can't be staged because they are extremely rare in state space. It's not just one actor cutting in or something like that; it's a combination of multiple actors that in the end produce such a result. You've got to mine this from the natural distribution of the entire fleet, and these are extremely rare. For self-driving, you want to be robust against these long-tail failures. If you have a lot of this data, it does manifest as extreme generalization. This is an example of that. Here, the self-driving software is driving the car, the lead car spins out and hits a barrier, and it's self-driving the entire time, handling the situation safely. But that's just not the impressive part. The impressive part actually is if we pause it and demonstrate its proactive safety. On the right side here, this is the vehicle that's crashing into the barrier. This is sort of its planned velocity: if it goes straight, it means that it's planning to continue maintaining the same speed. And then shortly here, it starts to brake. In the previous frames, it was going at the same speed, and now it's starting to brake. If you look at the video, this is an extremely proactive state. The vehicle hasn't even spun out yet, it hasn't hit the barrier; if anything, it looks like the vehicle is moving out of this lane. Yet the system is smart enough to know that something is off because, for a lane-changing vehicle, this is perhaps too much yaw rate. It understands that the situation could escalate into a safety-critical situation in the future and does proactive, the right thing. It pulls out the energy from the ego vehicle and puts it in a much better state to deal with any consequences. If the vehicle didn't happen to crash, no harm, no foul: you had a gentle slowdown, and then you can pick up speed back again just naturally, as a human would drive. This form of extreme generalization, we think, only happens through a lot of data of people handling these long-tail situations in a very proactive manner. If you just did RL for collision avoidance, you're going to have jerky, reactive safety; that won't be a pleasant experience. Another example of this is this unsupervised vehicle fleet in Austin, where a bunch of bikers are having fun, and self-driving is properly keeping distance to them, and then it happens that one of the bikers just falls off. There's again no one inside the car. It safely handles the situation, goes around them, and smoothly continues the trip, and the people are okay. This is the sort of generalization that you want to see.
And then I said it's end-to-end. You might wonder, 'Okay, it's great that it works in situations. How do you validate that it continues to work? How do you guarantee that it can continue to work in new or novel situations?' Just because it's end-to-end does not mean that there's no other outputs. The fact that it's end-to-end just means that the gradients flow from one end to the other end. But you can still have a lot of other tasks that sort of help you validate your stack, understand its reasoning and thought, and its accuracy at predicting different things while having an end-to-end system. So the system in the end looks like this, where you have the same high-dimensional input, but can produce a bunch of other outputs in addition to the action that help you develop and debug the system. You can have different forms of this kind of output. This is one example where Gaussian splatting is taking over traditional 3D modeling. Now that we have 3D understanding, you can have a typical Gaussian splatting that just takes in a bunch of camera videos and produces these Gaussians. But while they look nice from the source views, from novel views they break down. Whereas Tesla has this generative Gaussian splatting where we can generate the entire scene as a whole. You can see that this is extremely geometrically accurate, has very good generalization much beyond what we need, it's extremely fast, and it's done in a feed-forward manner. All of this is happening purely from just the in-car videos. You can see at the top row the camera videos from the car, and then the bottom is sort of the 3D reconstruction from the same neural network that produces this. If you're, for example, trying to park here, this level of 3D understanding would help you debug the system overall. It's extremely precise—you can get centimeter-level accuracy here—and that's how you can check if the actions that it takes would lead to good outcomes or not. In addition to 3D spatial reasoning, you can also have natural language reasoning for navigation here. It's reading a bunch of text on the signs that say you should not proceed forward and then you should turn left, and sort of reasons back and forth and can even have grounded pointing to, 'Okay, this is the sign, that's what the sign says.' All of this can be at test time helping the model make more accurate decisions.
Finally, evaluation, which I think is the hardest problem in self-driving: to guarantee that while you are improving the entire system, you're not regressing anything else. You don't want to be playing a game of whack-a-mole, and even if you are, then you want to know which moles are popping up everywhere so that you can try to push on them simultaneously. This is an extremely difficult problem. A lot of engineering talent and resources goes into this problem. Fortunately, I think video generation models and overall generative models are extremely promising for this problem. What we're building at Tesla is this world simulation neural network, and it's the same dataset that we can use to train the policy on. You can just invert the inputs and outputs. Given that the driving model took in high-dimensional video and other sensors and produces low-dimensional actions, the simulation model takes in low-dimensional actions along with previous states and produces high-dimensional state output. Luckily, you can use the same dataset to train this stuff. Once you train this, you just put them together, but they go around in this loop where the world simulation neural network produces the future state, and then that goes into the driving neural network that produces the action, and then they go around and sort of roll out what could have happened in the scene.
Here's our video generation. All the pixels that you see here are synthetically created by our own system, and these are producing multiple cameras simultaneously. You can see that they are extremely multi-view consistent. The vehicles that are passing on the left side are across different cameras all the same sort of shape and texture. It's not just geometry that's accurate, but their motion also is plausible, and everything looks very realistic and natural. Once you have such a system, you can use it to evaluate newer driving models. On the left side here, there's a person walking with their dog. That's a bit hard to see; perhaps the original driving software got a bit close to this person, and then we want to evaluate our newer driving software. On the left side here, it reproduces the original issue: that this is a bit too close to the pedestrian for comfort, and then the person intervened in the car. On the right side, you would see that the new driving policy is going around the person, and with this technology, you can validate that the newer model does the correct thing. In addition to just taking existing failures, you can also inject novel failures that are not seen in the entire fleet. Here on the left side looks like a nominal driving scene on the highway—nothing too crazy there. You can take the scene and modify it to make the car cut across our path. You can synthetically create these novel states close to the manifold of data support that you have. First of all, you get extremely rare cases from the entire fleet, and once you have the database, you can further perturb them to synthetically create even more difficult states from there to thoroughly test the system. We do all of this to validate our stack.
And this is not just for the self-driving software. As I mentioned before, we want to have a single software stack strategy to solve all of robots, and the same thing also works for our humanoid robots. All of these pictures that you see here are synthetically created videos of the robot navigating the Tesla factory. You can also have it be controllable. You can take some video where the bot or the human went straight, and now you can take different actions like turning right, going straight, turning left, etc. You can synthetically create these situations and use the same evaluation method to evaluate the humanoid robots as well. So, yeah. What's next? Tesla is working on these vehicles called Cybercabs. These are two-seater vehicles built purely for the purpose of fully autonomous driving. There is no steering wheel, no brake or accelerator pedals in the car; it's meant for full autonomy. The reason for it being a two-seater is that if you look at the overall trips in the US, perhaps in the entire world, 80 to 90% of all trips are single-passenger vehicles. It would be extremely energy-inefficient to haul a giant four-seater or six-seater vehicle to move a single person. And since 80 to 90% of the transport is for one person, we built the Cybercab to solve for that purpose. It's going to be built at extremely large scale. It's going to use the same autonomy stack as the other consumer vehicles. We can use the same data, the same strategies to validate this. And it's going to be widespread, providing affordable, safe, comfortable, point-to-point transport for everybody. It's going to be so affordable that it's going to be less expensive than public transport at scale. This is what the team is super rallied to work on. All the other robots together are going to build the amazing abundance that we want to achieve. If you're a student or a researcher, this is an exciting time to join the team. There's still a lot of challenges to solve the long-term problems. It's extremely interesting, and the stack is quite modern, I would say, and you'd be working at the frontier of problems. That's my talk. Thank you.