← Back to list
Lex Fridman PodcastPodcast29 Aug 2021Source: lexfridman.comHost: Lex Fridman

#215 – Wojciech Zaremba: OpenAI Codex, GPT-3, Robotics, and the Future of AI

In plain words

This interview features OpenAI co-founder Wojciech Zaremba discussing the future of AI. He sees deep learning as searching a vast 'program space' and GPT-3 as a sophisticated 'text completion' tool. Zaremba is bullish on Codex and GitHub Copilot, which let people code using natural language, lowering the barrier to programming. He also suggests consciousness might relate to 'compression,' with self-awareness being the compressor compressing itself.

AI SummaryAI-generated · may contain errors · verify against the original

At a Glance

This episode features OpenAI co-founder Wojciech Zaremba, who leads the language and code generation team (GPT-3, Codex, GitHub Copilot) and previously led robotics research. The interview centers on the nature of AI, the boundaries of language models, the future of programming, and philosophical discussions on consciousness and human experience. Zaremba presents a core thesis: deep learning works because neural networks provide a "searchable program space," and stochastic gradient descent (SGD) is an efficient search algorithm within this space. This view redefines neural network training from "optimizing parameters" to "searching in program space."

Deep Learning: Searching in Program Space

Zaremba argues that the essence of deep learning is not simple function fitting, but rather a search within a vast "program space." He points out that neural networks can represent various programs, while deep networks enable multi-step computation. Stochastic gradient descent (SGD) is the search algorithm in this space, capable of amplifying those "programs" that tend to yield correct answers from a sea of possible programs. Citing Christopher Olah's work, he notes that neural networks can internally identify independent functional modules, such as "wheel detectors," which can be separated and combined like functions in traditional programs.

> "Neural networks can represent some programs... deep learning provides the way to represent space of programs, which is searchable and it's searchable with stochastic gradient descent."

Zaremba further integrates this framework with the "three levers of AI" theory: computation, algorithms, and data are multiplicative factors. Although the growth in computation currently contributes the most to performance gains, algorithmic innovations (e.g., Transformer, Dropout) and data (e.g., the entire internet) are equally critical. He specifically notes that the human brain has roughly 100 trillion parameters, while current models remain relatively small and are far less sample-efficient than humans (requiring 1,000 times more data), but algorithmic progress holds great promise for drastically reducing sample complexity.

GPT-3 and Codex: From Language Understanding to Program Synthesis

Zaremba summarizes GPT-3's core capability as "text completion" and believes this simple task can generalize into remarkable intelligence. By merely predicting the next word, the model learns translation, conversation, and even basic programming skills. He acknowledges the model's limitations, such as "going off track" in long text generation and, due to a lack of training on its own errors, being unable to self-correct through real-world feedback like humans.

Codex and GitHub Copilot represent another leap in the programming paradigm. Zaremba views the history of programming languages (from punch cards to assembly, C, and then Python) as a process of continuously lowering the barrier to entry, enabling more people to create technology. Codex is a continuation of this trend, allowing users to interact with computers using natural language, thereby empowering non-technical individuals like biologists and artists with programming capabilities.

> "Codex is yet another step toward bringing computers closer to humans, such that you communicate with a computer with your own language rather than with a specialized language."

Zaremba also highlights a unique advantage of program synthesis over language generation: programs can be executed and tested. This means automated unit tests can verify the correctness of generated code, creating a more reliable feedback loop that pure language models lack. He believes this offers immense potential for AI self-improvement.

Consciousness, Compression, and "Meta-Compression"

Zaremba proposes a bold hypothesis: consciousness may be related to "compression," and self-consciousness is "meta-compression"—the compression of the compressor by itself. He argues that the core task of AI models like GPT is to predict the next word, which, in information theory, is equivalent to compressing text. The process of compression is the process of learning a model of reality. When a compressor becomes complex enough, it may begin to compress itself to predict more efficiently, a process that could potentially give rise to self-awareness or subjective experience.

> "Consciousness has to do with compression... self-consciousness has to do with compressor trying to compress itself... consciousness is metacompression."

He draws an analogy to Gödel's incompleteness theorems and the halting problem, suggesting that these "self-referential" structures in mathematics and computer science may be key to the emergence of consciousness. Zaremba also explores a mathematical model of "love," defining it as the "fusion of reward functions" between two individuals—helping the other optimize their own reward function, not one's own. This framework extends to understanding meditation and the "self": he believes the "Ego" is like a "prompt" for GPT, and meditation is the removal of this prompt to achieve a purer, more unbiased experience.

Challenges and Future Paths in Robotics

Zaremba identifies the core challenges in robotics as "data scarcity" and "the complexity of the physical world." Unlike the digital world (text, code), which has vast amounts of data, robots lack first-person perspective interaction data. His robotics team used "Domain Randomization" to train a single model in a simulated environment that could handle various physical parameters (e.g., friction, weight), successfully enabling a single robotic hand to solve a Rubik's Cube.

He suggests that if starting a robotics company today, the optimal path would be to first collect large amounts of human operation data via "teleoperation" and then train using supervised learning. In the long term, he believes we need to train powerful models that understand video as well as GPT understands text. These models would possess rich common sense, enabling them to drive robots to perform various tasks. He predicts the emergence of a robotics company with a market capitalization exceeding $1 trillion, whose core business is likely to be services rather than simple manufacturing.

Position Moves

Position Guest Sentiment Key Data
GPT-3 Bullish on its capabilities, but notes limitations Trained on the entire internet; can generate several coherent paragraphs, but "goes off track" with long texts
Codex / GitHub Copilot Very bullish, sees it as a programming paradigm revolution Can generate over 10 lines of code from comments or function headers; executability and testability are unique advantages
DALL-E Mentioned as an example of a generative model Generates images
CLIP Mentioned as an example of a discriminative model Provides image possibilities and judges the most likely one
Tesla Autopilot Acknowledges its "data engine" approach Improves the model through a cycle of deployment, collecting edge cases, human annotation, and re-deployment

Judgments Worth Remembering

1. Deep Learning is Program Space Search (Wojciech Zaremba): Neural networks provide a searchable program space, and stochastic gradient descent (SGD) is an efficient search algorithm within it. This perspective redefines the training process from parameter optimization to program discovery.

2. Consciousness is "Meta-Compression" (Wojciech Zaremba): Consciousness may be related to compression, and self-consciousness is the compression of the compressor by itself (meta-compression). This hypothesis links the "self-referential" structures in Gödel's incompleteness theorems and the halting problem to consciousness.

3. Love is the Fusion of Reward Functions (Wojciech Zaremba): Love means helping another person optimize their own reward function, not yours. This definition abstracts love from an emotional experience to a computational "goal alignment."

4. Codex is Another Lowering of the Programming Barrier (Wojciech Zaremba): From punch cards to Python, each lowering of the programming barrier has led to a technology explosion. Codex, through natural language programming, will empower a broader, non-technical audience.

5. The Key Advantage of Program Synthesis over Language Generation is Executability (Wojciech Zaremba): Unlike natural language, generated code can be executed and tested, providing AI with an automated feedback loop that is crucial for self-improvement.

6. The Shortcut in Robotics is "Teleoperation + Supervised Learning" (Wojciech Zaremba): Under current data-scarce conditions, the most effective robotics development path is to first collect data through human teleoperation and then train models with supervised learning, rather than relying entirely on reinforcement learning.

7. The "Ego" is GPT's "Prompt" (Wojciech Zaremba): Our story about "who we are" is like GPT's context prompt, determining our behavior patterns. Meditation is the removal of this prompt to achieve a purer, unbiased experience.

8. The "Three Levers of AI" are Multiplicative (Wojciech Zaremba): Computation, algorithms, and data are three levers driving AI progress, and their effect is multiplicative, not additive. Although computation currently contributes the most, algorithms and data still hold immense potential.

~10 min full read
Deep Analysis