How Tesla FSD Works: The AI Behind It
Cameras only, forty-eight neural networks, and a chip Tesla built itself. Plus what Waymo does differently.
Transcript
A full build of Tesla's self-driving neural networks is forty-eight separate networks. They take seventy thousand GPU hours to train, and they spit out a thousand predictions every single timestep.
A thousand predictions per moment? Predicting what, exactly?
Where everything is and where it's going. That's really the job. Driving is one question asked ten times a second: what's around me, and what's it about to do?
Okay. And Tesla does that with cameras only, right? No lasers.
Cameras only, yes. Multiple cameras with overlapping coverage for a full three-sixty view. Tesla's own description is that per-camera networks do object detection and depth estimation, then a birds-eye-view network fuses all the video into one top-down map.
Top-down like a video game minimap.
That's the FSD visualisation on your screen. But what you see is a fraction of it. Every object carries hidden properties: distance, direction, speed, width, planned path.
How does a flat camera image know how far away something is? That's the bit I've never understood.
Two ways. One is monocular depth estimation, a network trained to guess distance from a single image, the way you can tell a car is far off from how small it looks.
And the other?
Time. Tesla calls it temporal indexing. The system doesn't look at one frame, it looks at sequences, so it tracks how things move and can hold onto an object even when it's briefly hidden.
Object permanence. Like a toddler finally learning the ball still exists behind the sofa.
Roughly. And there's a split in the system that I like. Tesla's patent divides the world into vulnerable road users and everything else.
Meaning pedestrians?
Pedestrians, cyclists, baby carriages, skateboarders, animals. Anything that can get hurt. Cars, cones and debris go in the other branch, and the vulnerable branch gets priority.
So it's deliberately paranoid about people. I'd want that.
Now, why is it fast. All that has to run inside the car, in milliseconds, so Tesla built its own chip.
I assumed they just bought big Nvidia things.
They designed the FSD chip themselves. Six billion transistors, two neural network accelerators on each one, each doing about thirty-seven trillion operations a second at under forty watts per chip.
Forty watts is a lightbulb. That seems implausibly low.
It's the trick of specialising. Convolutions are ninety-eight percent of what the software runs on that chip, so they optimised almost purely for that. The engineering analysis I read called it one of the highest power efficiencies in any shipping chip.
Okay, but why does efficiency matter so much? It's a car, it's got a huge battery.
Latency. They process one image at a time rather than batching, specifically because waiting is dangerous. And the whole computer is dual redundant, two chips, two power supplies, overlapping camera fields.
Two brains in case one dies. Fine.
Which brings us to Waymo, because they made the opposite bet. Lidar, radar and cameras, fused together.
Lidar being the spinning laser thing.
It paints a 3D point cloud, out to three hundred metres, in any lighting. Waymo says that's how it spots a pedestrian on a moonless street a block away, and it cites AAA testing showing camera-and-radar systems often fail to protect pedestrians in the dark.
So cameras are just worse? Why would Tesla do it?
Cost and scale, and cameras do things lidar can't, like read the colour of a traffic light or a temporary sign. Waymo's own argument isn't lidar over cameras, it's sensor fusion, each sensor covering another's weakness.
Hm. Is there data on who's actually safer?
Partially. On Tesla's robotaxi pilot in Austin, NHTSA filings showed four crashes in about two hundred and fifty thousand miles, roughly one every sixty-two thousand. Waymo had one every ninety-eight thousand or so across a hundred and twenty-five million driverless miles.
Those are wildly different sample sizes though.
They are, and reporting notes one more Tesla incident would move their number a lot. Also Texas requires a human safety monitor in each Tesla robotaxi; Waymo runs with nobody inside.
So where do these systems actually fail? Perception, I'd guess. Not seeing the thing.
That's the common belief, and it's not the top one. A US Department of Transportation study of California disengagement reports found prediction was the biggest category, about twenty-four percent. Perception was seventeen.
So it sees the cyclist fine, it just guesses wrong about what they'll do.
Then planning, twenty-one percent. Try this: it's night, raining, and a scooter is approaching from the side. Which part of the stack is under most strain?
Perception first, because night wrecks detection, and research showed nighttime scores collapsing, didn't it? But then prediction, because a scooter is a vulnerable road user doing something unpredictable.
Right, and on that dataset nighttime roughly halved 3D detection accuracy. Bad input makes every guess downstream worse.
So the whole chain is only as good as the first link.
Pretty much. Cameras and networks build a 3D world, temporal indexing gives it memory, a custom chip runs it fast, and the hard part isn't seeing, it's predicting. Watch your screen next time a Tesla visualisation flickers on a pedestrian.
I'll be staring at that minimap now, which is probably the opposite of safe driving.
Sources
Katy and Theo researched this episode from these sources.
- AI & Robotics | Tesla
- The Waymo Driver Handbook: Teaching an autonomous vehicle how to perceive and understand the world around it
- Inside Tesla’s Neural Processor In The FSD Chip – WikiChip Fuse
- Understanding Safety Challenges of Vehicles Equipped with Automated Driving Systems (ADS) – Analysis of ADS Disengagements
- A Survey on Autonomous Driving Datasets: Statistics, Annotation Quality, and a Future Outlook
- Tesla robotaxis are logging higher crash rates than Waymo | Automotive World
- Inside Tesla’s FSD: Patent Explains How FSD Works - Not a Tesla App
- Pete Bannon, Ganesh Venkataramanan, Debjit
- Tesla releases detailed safety report after Waymo co-CEO called for more data | TechCrunch