Speaker Notes

John Schulman on dead ends, scaling RL, and building research institutions

John Schulman shares insights on scaling reinforcement learning, the evolution of post-training techniques, and effective management strategies for building high-performing AI research institutions.

Cursor · 51:26 · YouTube ↗

Interview · 1 host + 1 guest  Advanced · concepts and scaling strategy

Highlights

8 clips · 14 min of 51 min
    • With full hindsight and modern post-training techniques, a small team could build a GPT-3.5 level model using very few compute resources.
    • Clever fine-tuning data construction can effectively multiply available compute and shrink the model size needed for chat capabilities.
    • Project Universe aimed to build a general RL agent by training on a massive data set of computer and video game environments.
    • The idea was fundamentally sound but failed at the time due to missing architectural prerequisites and unwieldy training infrastructure.
    • Hands-on managers work best for goal-oriented execution with less experienced teams requiring detailed technical feedback.
    • Hands-off managers suit exploratory research with senior individual contributors who need autonomy and a sounding board.
    • Value functions fail to provide significant variance reduction in current RL settings like RLHF and verifiable short-horizon tasks.
    • Despite current limitations, value functions are expected to make a comeback as model tasks evolve.
    • Co-training generator models and reasoning verifiers creates a virtuous self-improvement cycle.
    • Multi-player game setups provide natural curricula and automatic opposition scaling because opponents improve alongside the model.
    • Co-training generators and verifiers creates a virtuous cycle of self-improvement.
    • Multi-agent games provide automatic curricula since opponents improve alongside you.
    • Two-player zero-sum games have theoretical CS foundations that help incentivize solving hard problems.
    • While full-spec AI code generation works for standard software, research requires a deep understanding of every line.
    • Top researchers maintain nuts-and-bolts comprehension rather than delegating implementation entirely to models.
    • The explosion of ML practitioners has raised the barrier to entry and shifted advantages toward strong software engineers.
    • Mature codebases and scaling infrastructure mean researchers spend more time integrating with existing tools than writing from scratch.
    • Tinker offers low-level fine-tuning primitives as a managed API service for post-training algorithms.
    • It removes the friction of managing distributed GPU systems, much like sampling APIs abstract away inference hosting.

Questions this video answers

7 · every answer cites the moment it was said
01 How could early OpenAI have speedrushed building ChatGPT with less compute? 2 sources · 1:20

By leveraging modern post-training techniques and clever fine-tuning data set construction, a smaller model could achieve high effectiveness. With full hindsight, a small talented team might have accomplished this around 2018 or 2019 using just a few GPU boxes.

02 When should a research manager be hands-on versus hands-off? 2 sources · 11:14

A hands-off approach works well for exploratory research with experienced individual contributors who can discover things independently. Conversely, a hands-on approach with more technical oversight is better suited for goal-oriented execution or teams with less experienced people.

03 Why aren't value functions popular in reinforcement learning right now? 2 sources · 17:02

Value functions currently do not provide significant variance reduction on the specific short-horizon tasks researchers are running RL on, such as RLHF and verifiable rewards. While they are useful for variance reduction in other settings, their lack of impact on current tasks makes them less popular.

04 How can co-training generators and verifiers improve model reasoning? 2 sources · 24:41

Co-training generators and verifiers creates a virtuous self-improvement cycle where the model gets better at reasoning as it evaluates itself. Additionally, multi-agent games and zero-sum setups provide automatic curriculums and incentives to solve very hard problems using computationally cheap processes.

05 How do you use AI models in your daily research process? 2 sources · 27:37

John uses AI models heavily for coding, literature searches, and getting initial feedback on his writing. When he has a vague idea, he writes a paragraph or two and has the model flesh it out, which dramatically accelerates finding relevant literature and open-source libraries.

06 How do engineering timeline biases affect our predictions of AGI? 2 sources · 45:41

Engineers and researchers consistently exhibit a systematic bias to underestimate project timelines by a factor of two or three. Applying this heuristic suggests that AGI will likely arrive somewhat further out than standard predictions indicate, similar to how self-driving car timelines expanded.

07 What is Tinker and who is it built for? 2 sources · 47:58

Tinker is a low-level fine-tuning API that provides a small set of primitives for training and sampling without requiring users to manage GPUs or distributed systems. It is currently designed for sophisticated ML practitioners who want to write custom post-training algorithms, though higher-level tooling is planned over time.

Section-by-section summary

11 parts

Speedrushing historical model development with modern data recipes

With full hindsight, a small team could have reproduced GPT-3.5 capabilities much earlier using modest hardware and advanced post-training data sets. Clever fine-tuning drastically reduces the compute required to make smaller models perform well. Future iterations might see single-file demo models executing entire training pipelines rapidly.

Early OpenAI operated as an academic collective with high failure rates

Early OpenAI combined rag-tag exploratory research groups with ambitious large-scale engineering projects inspired by DeepMind's success. Many prominent projects, like the Universe multi-environment RL platform, were ahead of their time and failed due to immature infrastructure. These early stumbles built the organizational muscle and engineering capacity required for future breakthroughs.

Matching research management style to team experience and goals

Research management styles vary between deeply hands-on technical oversight and hands-off autonomy. Hands-on management works best for structured execution with junior staff, while exploratory research with veterans thrives under decentralized freedom. These models must adapt as the field and organizational maturity evolve.

Balancing catch-up mode with exploratory research cultures

Different research labs foster distinct environments suited for specific problems, transitioning from peaceful exploratory periods to intense state-of-the-art replication. Companies in catch-up mode risk losing the ability to generate novel exploratory culture unless they deliberately cultivate it early. Maintaining diverse parallel research threads helps prevent institutional stagnation.

Value functions, continual learning, and multi-agent training dynamics

Value functions currently offer little variance reduction in modern RL settings like RLHF, though they may return in future paradigms. Continual learning benefits from combining in-context methods for short horizons with parameter updates like LoRA for long-term capacity. Furthermore, co-training verifiers and setting up multi-agent game environments provide natural curricula and self-improvement loops.

Generalization and time horizons in models versus humans

Models struggle with long-term self-correction and multi-step reasoning compared to humans, who are optimized by evolution over decades. Co-training verifiers and generators or using multi-agent games can provide automatic curricula and help bridge this gap.

Research advice and understanding every line of code

Core research principles like keeping a lab notebook remain valid, but LLMs now make it easier to query notes and literature. Unlike generic software engineering, research requires understanding every line of code rather than blindly trusting LLM generation.

Internal lab coordination versus academic publishing

Internal industry labs achieve higher accuracy in drawing scientific conclusions due to real-world grounding, but external academic papers often have more thorough write-ups and baseline comparisons. The field benefits from being driven by objective problems and real-world goals.

Changing demographics and engineering skills in ML research

The influx of researchers has shifted the field from eccentric practitioners to conventionally-minded professionals with higher bars for entry. Because the field is more mature and relies on scaling and existing codebases, software engineering skills have become increasingly critical.

Estimating AGI timelines and engineering bias

Engineers and researchers consistently underestimate project timelines by a factor of two or three, suggesting AGI might be further out than optimistic predictions imply. However, this is counterbalanced by recursive self-improvement loops where AI accelerates its own development.

Tinker as a low-level fine-tuning service

Tinker provides low-level training and sampling primitives as a service, abstracting away complex GPU and distributed systems management. It allows researchers to easily implement custom post-training algorithms without spinning up their own infrastructure.

0:00 / 51:26
k play/pause · f fullscreen · m mute
n next · p previous clip · t highlights/full
< > slower/faster · / search what was said
  • Universe1× · first 6:01

    An early OpenAI project designed to create lots of different RL environments to build a general reinforcement learning agent.

  • LoRA2× · first 18:29

    A parameter fine-tuning method that can stack on top of context management for handling memory and knowledge capacity.

  • Tinker5× · first 47:55

    A low-level fine-tuning API offering primitives for training and sampling.

  • Sim to real1× · first 42:52

    Training models in simulated environments before generalizing to the real world.