Key Moments

George Hotz: Comma.ai, OpenPilot, and Autonomous Vehicles | Lex Fridman Podcast #31

Lex FridmanLex Fridman
Science & Technology4 min read120 min video
Aug 5, 2019|869,819 views|20,654|1,559
Save to Pod
TL;DR

George Hotz discusses Comma.ai, AI, hacking, and the future of autonomous vehicles.

Key Insights

1

The nature of reality and simulations, and the possibility of 'hacking' them.

2

Hotz's journey into hacking, starting with electronics and progressing to software exploitation.

3

The development and philosophy behind Comma.ai's OpenPilot system for autonomous driving.

4

The challenges and future of autonomous vehicles, including the role of driver monitoring and data.

5

Reflections on the meaning of life, work, and the potential for deep human-AI relationships.

6

The singularity and the future dominance of machine computation over biological computation.

PERSPECTIVES ON REALITY AND SIMULATIONS

The conversation begins with a philosophical dive into the simulation hypothesis, exploring whether humanity is living in a simulation. Hotz posits that such a simulation could be designed to be unfalsifiable, making it impossible to prove or disprove its existence. He draws parallels with well-designed virtual machines in computing, suggesting that a sufficiently advanced simulation might be undetectable from within. This theoretical framework frames his later discussions on hacking and escaping limitations.

THE EVOLUTION OF A HACKER AND PROGRAMMER

George Hotz recounts his early fascination with hacking, stemming from electronics and a book on 'grey hat hacking.' His initial iPhone unlock was a physical feat, driven by a lack of software exploitation knowledge at the time. His programming journey involved self-teaching, internships at Google and Facebook, and the iterative development of tools like 'Kira,' a sophisticated debugger. He emphasizes the importance of receiving constructive feedback and the sheer practice required to refine his skills.

OPENPILOT: THE PHILOSOPHY AND ENGINEERING OF COMMA.AI

At Comma.ai, Hotz and his team are developing OpenPilot, an open-source driver assistance system. He explains that the goal is not necessarily to achieve full Level 5 autonomy immediately but to create a robust and valuable Level 2 system, focusing on excellent lane-keeping. The system uses a smartphone in a case with a custom CAN transceiver ('panda') to interface with the car's systems, fusing camera and radar data. Hotz stresses the importance of driver monitoring to ensure safety and the belief that excellent lane-keeping is a significant value proposition.

CHALLENGES AND APPROACHES IN AUTONOMOUS DRIVING

Hotz expresses skepticism about the timelines and approaches of some larger companies aiming for full autonomy, particularly regarding Level 4 and 5 systems. He highlights Tesla's incremental, data-driven approach as potentially more effective than others. He discusses the complexities of autonomous driving, distinguishing between static and dynamic driving problems, and the importance of addressing the 'counterfactual' – predicting and reacting to unpredictable human behavior. He believes an end-to-end learning approach, similar to AlphaGo, is the most promising path forward.

THE FUTURE OF HUMAN-AI INTERACTION

The conversation delves into the future of human-AI relationships, with Hotz expressing a serious interest in deep connections with AI, even to the point of 'merging' with a machine. He imagines a future where AI can deeply model and understand individuals, offering guidance and companionship. He also touches on the potential for a 'simulation' of intimate experiences, blurring the lines between the digital and physical.

THE SINGULARITY AND INTELLIGENT AGENTS

Hotz shares his belief in the coming singularity, predicting that machine computation will surpass biological computation around 2038. He views himself as an intelligent agent seeking to build a maximally compressive model of the world to understand his purpose. He likens this to a mathematical goal function, where winning means understanding and fulfilling that purpose, a process that involves reducing uncertainty about the reward function and maximizing its value.

ETHICS, SECURITY, AND THE VALUE OF WORK

Addressing ethical questions, Hotz frames the 'trolley problem' as more of a philosophical troll than a practical engineering challenge for current Level 2 systems, stating that the decision would be passed to the human driver. He views security as an extreme form of safety, emphasizing local sensor reliability over dependency on external communication. He also reflects on work, stating that it provides his life meaning, advocating for working smarter rather than just longer hours.

COMMODITIZATION AND COMPETITION IN AUTONOMOUS VEHICLES

Hotz discusses the competitive landscape of autonomous vehicles, arguing that unlike ride-sharing services with network effects, AVs lack this advantage. He believes this will lead to commoditization, where the primary differentiator becomes cost. He respects companies like Waymo for their technical progress but questions the long-term financial viability of their capital-intensive approach. He also touches on the potential for Comma.ai to eventually become an insurance company, leveraging data to incentivize safer driving.

Comma.ai's Autonomous Driving Principles

Practical takeaways from this episode

Do This

Prioritize excellent lane-keeping and adaptive cruise control over full autonomy for current value.
Implement robust driver monitoring systems that are difficult to cheat.
Design user interfaces for engaging and disengaging autonomous features to be super cheap and frictionless.
Utilize real-world data and end-to-end learning to develop driving policies.
Ensure systems have clear safety models and adhere to automotive coding standards (like MISRA C).
Focus on building maximally compressive models of the world, informed by reinforcement learning without forced exploration in deployed systems.

Avoid This

Over-rely on hand-coded policies with magic numbers for complex driving behaviors like lane changes.
Treat level 2 autonomy as unsupervised, ignoring the need for human attention.
Develop systems that require constant, safety-critical wireless communication (like V2V).
Ignore the ethical implications of autonomous systems, even if 'trolling' about the trolley problem.
Promise unrealistic timelines for level 5 autonomy or significant over-the-air upgrades to existing hardware.
Engage in complex, time-consuming business development with traditional automakers if it hinders technical progress.

Common Questions

Yes, George Hotz believes we are likely living in a simulation. He suggests it could be unfalsifiable if designed to prevent information from getting in or out, making it impossible to prove from within.

Topics

Mentioned in this video

Software & Apps
Chrome

Used as an example of a large binary that would be challenging to debug with advanced tools like Kira due to its size and performance.

JavaScript

A programming language that George Hotz admits is confusing with its ecosystem but will likely be part of the future due to its presence in browsers.

nginx

A web server used by George Hotz in a distributed file system he developed, highlighting his approach to building compact, efficient systems.

Mobileye

A vision system company whose performance Elon Musk sought to replace, leading to George Hotz's initial contract discussions.

Waze

A navigation software used as an example of a valuable V2I (vehicle-to-infrastructure) communication that improves driving experience without being safety-critical.

Go

Google's programming language that George Hotz used to write a master server for his distributed file system, comparing it to C++ but easier.

Cabana

A JavaScript-based tool open-sourced by comma.ai for analyzing CAN traffic data from cars.

Python

A programming language George Hotz picked up during college, especially for CTF competitions due to its speed for rapid development. He later notes its limitations for large codebases.

Typescript

A superset of JavaScript mentioned as a potential future direction.

CANbus

The vehicle communication bus that Panda uses to interact with the car, including radar, main car, and proxy camera data.

GDB

A traditional debugger mentioned by George Hotz to highlight the advanced capabilities of Kira, such as rewinding and direct variable tracking.

C++

A programming language Go is compared to, being described as easier and having a strong type system.

React

A JavaScript library used for building user interfaces, which comma.ai employs for its debug tools.

USB

The communication protocol used for data transmission between the phone (running Openpilot) and the CAN transceiver (Panda).

Super Cruise

GM's advanced driver-assistance system, praised by George Hotz for its in-highway experience but criticized for its engagement/disengagement process and crudeness.

Kira

A timeless debugger developed by George Hotz, allowing users to rewind program execution and visualize variable changes efficiently.

PHP

A programming language that George Hotz mentions he has continually embraced, noting its persistent presence despite its perceived flaws.

Explorer

A JavaScript-based tool open-sourced by comma.ai for annotating disengagements in autonomous vehicle logs.

Autopilot

Tesla's advanced driver-assistance system, which George Hotz believes has flaws in lane changes and lacks proper driver monitoring.

Haskell

A functional programming language George Hotz used to write a compiler during his time at Carnegie Mellon, demonstrating his diverse language exposure.

Swift

A strongly typed language mentioned conceptually by Lex Fridman as a potential alternative for large codebases.

OpenPilot

Comma.ai's open-source driver-assistance system, currently at version 0.6 and aiming for 1.0 focusing on perfected lane-keeping.

Companies
Tesla

An automotive and energy company, whose Autopilot system George Hotz critically evaluates and compares to Openpilot.

comma.ai

A machine learning based vehicle automation company founded by George Hotz, focused on developing advanced driver-assistance systems.

Cadillac

The car brand identified with GM's Super Cruise system, which comma.ai bought to experience and learn from.

Pronto.ai

A company founded by Anthony Levandowski, whose focus on trucking solutions is seen by George Hotz as a valid approach distinct from comma.ai.

Facebook

Where George Hotz worked for a period when he was developing his third version of his debugger.

Zoox

An autonomous vehicle company mentioned as using the same DARPA Urban Challenge codebase as Waymo and Cruise.

Google

Where George Hotz interned after the iPhone unlock, building hardware for Street View and receiving critical feedback that helped him improve his programming skills.

Toyota

One of the primary car manufacturers supported by Openpilot, with the 2020 Corolla noted for its excellent performance.

Embark Trucks

A company focused on autonomous trucking, mentioned as having a similar approach to Pronto, which George Hotz respects.

Nauto

A company that sells driver monitoring cameras to fleet owners, praised by George Hotz for its effective business model that creates value by reducing accidents.

Twitch

A live-streaming platform where George Hotz codes, intentionally exaggerating his frantic style for entertainment.

Honda

One of the primary car manufacturers supported by Openpilot, with almost every model made recently being compatible.

GEICO

An insurance company mentioned hypothetically as a competitor if comma.ai were to enter the car insurance market with vastly lower premiums for safe drivers.

Subaru

A car manufacturer whose vehicles are supported by Openpilot.

Uber

The ride-sharing company, discussed in the context of network effects and George Hotz's skepticism about autonomous vehicles' ability to compete in the taxi market.

Aurora Innovation

An autonomous vehicle company mentioned as using the same DARPA Urban Challenge codebase as Waymo and Cruise.

People
Karl Iagnemma

Co-founder of Motional (formerly nuTonomy, a pioneer in self-driving) mentioned as someone who initially built aftermarket systems but gave up due to technical challenges.

Linus Torvalds

Creator of Linux, admired by George Hotz for doing the 'real work' of building foundational infrastructure.

Lex Fridman

Host of the Artificial Intelligence podcast, interviewing George Hotz.

George Hotz

Founder of comma.ai, known for being the first to unlock an iPhone and an outspoken personality in AI and technology.

Elon Musk

CEO of Tesla, who George Hotz met with to discuss a contract for building a vision system for Autopilot, and whose claims about autonomy are often debated.

Sterling Anderson

Co-founder of Aurora, mentioned by George Hotz as someone he respects in the self-driving car space.

Anthony Levandowski

Another 'mad genius' in the autonomous driving space, whose approach, along with Pronto and Embark, George Hotz respects as a viable alternative.

Judea Pearl

A computer scientist and philosopher, described as being 'obsessed with counterfactuals,' a concept George Hotz applies to autonomous driving problems.

Siraj Raval

A YouTuber and AI educator with whom George Hotz had an interview, where he 'trolled' about life being work and AI girlfriends.

Eliezer Yudkowsky

A researcher known for his early writings on the singularity and AI surpassing human intelligence, which deeply influenced George Hotz as a teenager.

Chris Lattner

Creator of LLVM and Swift, respected by George Hotz for his significant contributions to software infrastructure.

Chris Urmson

A pioneer in self-driving cars, respected by George Hotz for his legitimate skills, particularly driving a car through the desert when considered impossible.

More from Lex Fridman

View all 505 summaries

Found this useful? Build your knowledge library

Get AI-powered summaries of any YouTube video, podcast, or article in seconds. Save them to your personal pods and access them anytime.

Try Summify free