Practical AI
Practical AI

Open Source Self-Driving with Comma AI

Autonomous driving is not just a big tech or closed-source game, it's becoming accessible through open innovation and real-world deployment. Dan and Chris sit down with Harald Schäfer, CTO at Comma AI, to explore how OpenPilot is bringing self-driving to everyday vehicles using open source AI.

Featured Speakers

Harold Schaefer Guest

Topics Discussed

Episode Summary

Executive Summary: Comma AI CTO Harold Schaefer describes OpenPilot, an open-source system that adds supervised driving assistance to supported cars. Its end-to-end driving policy is trained using a learned video simulator that generates realistic, action-responsive scenarios and teaches recovery from mistakes. Schaefer argues for shipping useful incremental products while pursuing broader robotics, and identifies controls, reinforcement learning, and continual learning as major unsolved challenges.

Main Topics: OpenPilot architecture and end-to-end learning: A windshield-mounted device processes camera and sensor inputs; a neural-network policy outputs acceleration and road curvature, while car-specific CAN interfaces translate commands to supported vehicles. The policy learns from human driving data and simulated recovery situations rather than relying on a pipeline of separately hand-coded scene detectors. Learned simulation and the world model: Comma uses a machine-learning video world model as a simulator. It must produce realistic, diverse scenes and accurately reflect control inputs, enabling training that exposes the driving policy to deviations and supervises how to recover. Incremental products and real-world adoption: The company aims to make progress toward autonomous driving while shipping useful intermediate capabilities. OpenPilot is used for highway assistance, with the team seeking smoother and more reliable city behaviors such as stopping at red lights. Compute constraints and hardware plans: Thermal limits constrain the compute available in the windshield-mounted device. Comma is exploring an external GPU to support larger models; Schaefer says larger models can improve recognition in nuanced situations, though improvements may be incremental. Open-source ecosystem and software design: OpenPilot’s open-source vehicle interface allows community contributions to support more car models. Schaefer also favors user control over devices and describes Python as the default for development where performance and safety requirements permit, with C used in some constrained components. Unsolved robotics challenges and broader applications: Schaefer identifies low-level controls, reinforcement learning, and continual learning as unresolved challenges. The company has experimented with indoor navigation, while its longer-term ambition is to develop learning systems that can generalize across different robotic actions.

Key Arguments: End-to-end learning can reduce the human effort needed to turn driving data into capable behavior: the policy maps raw video directly to driving actions rather than depending entirely on hand-built perception and planning stages. Imitation learning alone is insufficient for robust driving because it does not adequately teach recovery from mistakes. Simulation can introduce deviations and provide examples of how to return to a safe trajectory. A useful learned simulator must do more than create photorealistic video: its generated scenes must respond accurately to actions such as steering inputs, or the policy could learn from misleading scenarios. Shipping intermediate capabilities is preferable to an all-or-nothing approach: products can help users and fund continued development before fully autonomous driving is achieved. Open sourcing the system supports community contributions, especially for integrating additional vehicle models, and aligns with the principle that device owners should know and control the software running on their hardware. Robust robotic control likely requires advances beyond imitation learning. Schaefer says reinforcement learning and continual adaptation remain inadequate for handling vehicle dynamics, changing traction, and other live conditions.

Data Points: Schaefer's tenure at Comma AI: 9 years - He says he has worked on the company and OpenPilot for nine years. OpenPilot users' highway miles driven by the system: Over 50% - Schaefer says more than half of miles driven by users with the system are driven by OpenPilot rather than the human. Tesla FSD engagement: Over 90% - Schaefer offers this as a comparison, saying engagement can exceed 90% if users choose. Driving data used for training: Hundreds of millions of human-driving examples - Schaefer describes sampling this data to teach the policy how people drive in different situations. Comma device compute relative to an FSD computer: Less than 1/100 - Schaefer estimates the current product uses under one hundredth of an FSD computer's compute. Model-size test and green-light recognition: A 10x larger model recognized green lights in nuanced situations about twice as often - Schaefer describes early test results and says an external GPU could enable still larger models. Potential external-GPU compute increase: Up to 100x in the limit - Schaefer characterizes the possible increase over the current device as a prospective capability, not an achieved result.

Pivotal Quotes: "We want to make progress and at the meantime, be able to ship useful features." — Harold Schaefer: He explains the rationale for developing and releasing useful intermediate products while working toward autonomous driving. "It has to look photorealistic, it has to be. Obviously, as diverse as the real world, and then has to respond accurate to inputs." — Harold Schaefer: He summarizes the key requirements for a learned driving simulator. "I just want simple robotics projects, products that make your life easier in ways that it's tedious and that aren't owned by a big corporation." — Harold Schaefer: He describes his broader vision for practical, user-controlled robotics.

Implications: Learned, action-responsive simulation could make robotics training more scalable, but safe deployment still depends on solving control, reinforcement-learning, and continual-adaptation problems. Open-source systems offer an alternative path focused on incremental utility and user control.

🔓 Sign Up for Unlimited Episode Search

About Practical AI

View all episodes from Practical AI