Home Lex Fridman Notes
Lex Fridman · 2022-10-29 · 3h 28m

Andrej Karpathy: Tesla AI, Self-Driving, Optimus, Aliens, and AGI | Lex Fridman Podcast #333

Andrej Karpathy on Tesla's vision-only self-driving, Optimus, the Transformer, aliens, simulation theory, and the path to AGI.

Andrej Karpathy: Tesla AI, Self-Driving, Optimus, Aliens, and AGI | Lex Fridman Podcast #333
The guest

Andrej Karpathy — Former director of AI at Tesla and a founding member of OpenAI, previously a researcher at Stanford. One of the most influential figures in deep learning, known for his teaching (CS231n) and hands-on explanations of neural networks.

The gist

Karpathy ranges from cosmic speculation to nuts-and-bolts engineering. He argues life is probably common in the universe but interstellar travel and detection are extremely hard, and entertains the idea that physics itself may have exploitable bugs that a future super-AI could hack. He dives deep on why the Transformer is a uniquely powerful, optimizable, hardware-efficient general-purpose computer, and on his 'software 2.0' thesis that neural net weights are replacing handwritten code. Drawing on five years at Tesla, he defends vision-only self-driving (dropping radar/lidar/ultrasonics) as a fight against organizational entropy, and explains the data engine that perfects training sets with humans in the loop. He closes on AGI, consciousness as an emergent modeling insight, his personal productivity habits, and the meaning of life as buying enough time to answer the universe's deeper questions.

Big reveals

  • Karpathy says the more he studies origin of life, the more he believes technological civilizations should be common, making the Fermi Paradox about our inability to detect, not the rarity of life.
  • Floats that physics may have 'exploits' a future AI could trigger, like a buffer overflow or infinite-energy glitch found by an RL agent.
  • Defends Tesla removing radar and all ultrasonic sensors for vision-only, arguing extra sensors are a liability that bloats the org and the data engine.
  • Predicts other self-driving companies currently using lidar will eventually drop it.
  • Explains he left Tesla because he'd drifted into a managerial/executive role and wanted to return to hands-on technical work and AGI.
  • Admits he doesn't love The Godfather and basically dislikes most movies made before ~1995.
  • Suspects AGI can be reached purely from internet data without ever entering the physical world, which he finds concerning because it could happen faster.
  • Names nuclear weapons as his number one concern for society, above AGI, saying we may be 'a few tweets away' from catastrophe.

Things worth remembering

  • Calls the Transformer a 'general purpose differentiable computer' that is simultaneously expressive, optimizable, and hardware-efficient.
  • Describes a Transformer as roughly 20 lines of code where residual connections let it learn short algorithms first, then extend them during training.
  • Notes the 2016 Transformer is essentially unchanged today aside from reshuffling layer norms to a pre-norm formulation.
  • Grew Tesla's data-annotation team from zero to about a thousand people.
  • Shares his 'sublinear scaling of difficulty' rule: a 10x harder problem is often only 2-3x harder to execute because it forces a better approach.
  • A self-described night owl who used to sleep at 3am in his PhD, valuing the quiet early-morning hours for deep focus.
  • Does 18:6 intermittent fasting (eats noon to 6pm) and eats mostly 'plant-forward'; has done multi-day water fasts and says hunger vanishes around day three.
  • Advises beginners to focus on quantity of hours (the 10,000-hours idea) and to only compare yourself to your past self, not to others.
  • Was surprised OpenAI's Whisper transcription works so much better than Siri and other systems despite being a fairly standard Transformer.
  • Closes with Samuel Karlin's line: 'The purpose of models is not to fit the data but to sharpen the questions.'

Recommended in this episode

Books, products and media the guest or host genuinely endorsed here — with the buy link.

Affiliate link — we may earn a commission at no extra cost to you.

RecommendedProduct

GitHub Copilot

GitHub

“he's copilot I love it and it's free for me but I would pay for it yeah I think it's very good” — Andrej Karpathy 02:25:48
Find it on Amazon
RecommendedProduct

Visual Studio Code

Microsoft

“I think the current answer is vs code currently I believe that's the best IDE it's got a huge amount of extensions” — Andrej Karpathy 02:25:17
Find it on Amazon
RecommendedBook

The Vital Question

Nick Lane

“I think in biology as an example the vital question is a good one anything by McLean really” — Andrej Karpathy 03:09:31
Find it on Amazon
RecommendedBook

Life Ascending

Nick Lane

“life ascending I would say is like a bit more potentially representative as like a summary of a lot of the things he's been talking about” — Andrej Karpathy 03:09:31
Find it on Amazon
RecommendedBook

The Selfish Gene

Richard Dawkins

“I was very impacted by the selfish Gene I thought that was a really good book that helped me understand altruism” — Andrej Karpathy 03:09:31
Find it on Amazon
RecommendedBook

The Cell (Molecular Biology of the Cell)

Bruce Alberts et al. (inferred)

“I like textbooks I like the cell I think the cell was pretty cool” — Andrej Karpathy 03:12:07
Find it on Amazon
RecommendedMedia

Interstellar

Christopher Nolan (inferred)

“movies that I've seen five plus times but I'm ready and willing to keep watching Interstellar Gladiator contact Goodwill Hunting The Matrix” — Andrej Karpathy 02:59:00
Find it on Amazon
RecommendedMedia

Good Will Hunting

Gus Van Sant (inferred)

“I really like this torture genius sort of character who's like grappling with whether or not he has any responsibility ... it's just a beautiful movie” — Andrej Karpathy 02:59:32
Find it on Amazon
RecommendedMedia

The Matrix

The Wachowskis (inferred)

“there's so many properties that make it like beautiful and interesting ... it was just like innovating in so many ways” — Andrej Karpathy 02:59:32
Find it on Amazon
RecommendedMedia

Terminator 2: Judgment Day

James Cameron (inferred)

“Lord of the Rings that's self-explanatory Terminator 2 which is interesting you we watch that a lot ... I like Terminator 2 a little bit more” — Andrej Karpathy 03:00:35
Find it on Amazon
RecommendedMedia

Gladiator

Ridley Scott (inferred)

“movies that I've seen five plus times but I'm ready and willing to keep watching Interstellar Gladiator contact Goodwill Hunting” — Andrej Karpathy 02:59:00
Find it on Amazon
RecommendedMedia

Contact

Robert Zemeckis (inferred)

“movies that I've seen five plus times but I'm ready and willing to keep watching Interstellar Gladiator contact Goodwill Hunting” — Andrej Karpathy 02:59:00
Find it on Amazon
RecommendedMedia

The Lord of the Rings (trilogy)

Peter Jackson (inferred)

“Goodwill Hunting The Matrix Lord of the Rings all three Avatar Fifth Element” — Andrej Karpathy 02:59:00
Find it on Amazon
RecommendedMedia

Avatar

James Cameron (inferred)

“The Matrix Lord of the Rings all three Avatar Fifth Element so on goes on Terminator two” — Andrej Karpathy 02:59:00
Find it on Amazon
RecommendedMedia

The Fifth Element

Luc Besson (inferred)

“Lord of the Rings all three Avatar Fifth Element so on goes on Terminator two Mean Girls” — Andrej Karpathy 02:59:00
Find it on Amazon
RecommendedMedia

Mean Girls

Mark Waters (inferred)

“Terminator two Mean Girls I'm not gonna ask about that mean girls is great” — Lex Fridman 02:59:00
Find it on Amazon
RecommendedMedia

Anchorman

Adam McKay (inferred)

“or like Anchorman that has no that's the increment it's so good I don't understand” — Andrej Karpathy 01:49:24
Find it on Amazon