KT is in beta: iPhone →Android & web →

How Tesla FSD Works: The AI Behind It

Katy & TheoEpisode 10 of The Machines Are Learning7 min

The Machines Are LearningEpisode 107 min · Katy & Theo
0:00-6:30

In the app you can ask Katy about anything mid-episode, then it picks back up.

Cameras only, forty-eight neural networks, and a chip Tesla built itself. Plus what Waymo does differently.

Transcript

Katy

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.

Theo

A thousand predictions per moment? Predicting what, exactly?

Katy

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?

Theo

Okay. And Tesla does that with cameras only, right? No lasers.

Katy

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.

Theo

Top-down like a video game minimap.

Katy

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.

Theo

How does a flat camera image know how far away something is? That's the bit I've never understood.

Katy

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.

Theo

And the other?

Katy

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.

Theo

Object permanence. Like a toddler finally learning the ball still exists behind the sofa.

Katy

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.

Theo

Meaning pedestrians?

Katy

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.

Theo

So it's deliberately paranoid about people. I'd want that.

Katy

Now, why is it fast. All that has to run inside the car, in milliseconds, so Tesla built its own chip.

Theo

I assumed they just bought big Nvidia things.

Katy

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.

Theo

Forty watts is a lightbulb. That seems implausibly low.

Katy

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.

Theo

Okay, but why does efficiency matter so much? It's a car, it's got a huge battery.

Katy

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.

Theo

Two brains in case one dies. Fine.

Katy

Which brings us to Waymo, because they made the opposite bet. Lidar, radar and cameras, fused together.

Theo

Lidar being the spinning laser thing.

Katy

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.

Theo

So cameras are just worse? Why would Tesla do it?

Katy

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.

Theo

Hm. Is there data on who's actually safer?

Katy

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.

Theo

Those are wildly different sample sizes though.

Katy

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.

Theo

So where do these systems actually fail? Perception, I'd guess. Not seeing the thing.

Katy

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.

Theo

So it sees the cyclist fine, it just guesses wrong about what they'll do.

Katy

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?

Theo

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.

Katy

Right, and on that dataset nighttime roughly halved 3D detection accuracy. Bad input makes every guess downstream worse.

Theo

So the whole chain is only as good as the first link.

Katy

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.

Theo

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.

  1. AI & Robotics | Tesla
  2. The Waymo Driver Handbook: Teaching an autonomous vehicle how to perceive and understand the world around it
  3. Inside Tesla’s Neural Processor In The FSD Chip – WikiChip Fuse
  4. Understanding Safety Challenges of Vehicles Equipped with Automated Driving Systems (ADS) – Analysis of ADS Disengagements
  5. A Survey on Autonomous Driving Datasets: Statistics, Annotation Quality, and a Future Outlook
  6. Tesla robotaxis are logging higher crash rates than Waymo | Automotive World
  7. Inside Tesla’s FSD: Patent Explains How FSD Works - Not a Tesla App
  8. Pete Bannon, Ganesh Venkataramanan, Debjit
  9. Tesla releases detailed safety report after Waymo co-CEO called for more data | TechCrunch