Building AlphaGo from scratch – Eric Jang

Dwarkesh Patel · Beginner ·🤖 AI Agents & Automation ·3h ago
Eric Jang walks through how to build AlphaGo from scratch, but with modern AI tools. Sometimes you understand the future better by stepping backward. AlphaGo is still the cleanest worked example of the primitives of intelligence: search, learning from experience, and self-play. You have to go back to 2017 to get insight into how the more general AIs of the future might learn. Once he explained how AlphaGo works, it gave us the context to have a discussion about how RL works in LLMs and how it could work better – naive policy gradient RL has to figure out which of the 100k+ tokens in your trajectory actually got you the right answer, while AlphaGo’s MCTS suggests a strictly better action every single move, giving you a training target that sidesteps the credit assignment problem. The way humans learn is surely closer to the second. Eric also kickstarted an Autoresearch loop on his project. And it was very interesting to discuss which parts of AI research LLMs can already automate pretty well (implementing and running experiments, optimizing hyperparameters) and which they still struggle with (choosing the right question to investigate next, escaping research dead ends). Informative to all the recent discussion about when we should expect an intelligence explosion, and what it would look like from the inside. 𝐄𝐏𝐈𝐒𝐎𝐃𝐄 𝐋𝐈𝐍𝐊𝐒 * Check out the flashcards I wrote to retain the insights: https://flashcards.dwarkesh.com/eric-jang/ * Transcript: https://www.dwarkesh.com/p/eric-jang 𝐒𝐏𝐎𝐍𝐒𝐎𝐑𝐒 - Cursor's agent SDK let me build a pipeline to generate flashcards for this episode. For each card, I had an agent read the transcript, ingest blackboard screenshots, generate an SVG visual, and run everything through a critic. A durable agent is much better at this kind of work than a chain of LLM calls, and Cursor's SDK made it easy. Check out the cards at https://flashcards.dwarkesh.com and get started with the SDK at https://cursor.com/dwarkesh - Jane Street
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related AI Lessons

Beyond the Spectrogram: How AI is Finally Solving the “Cocktail Party Problem”
AI is solving the 'Cocktail Party Problem' by isolating individual voices in noisy environments, revolutionizing audio processing
Medium · AI
Beyond the Hype: The Real Trajectory of AI in Clinical Medicine
Learn how AI is realistically being applied in clinical medicine beyond the hype of passing medical boards
Medium · AI
Most Senior Engineers Aren’t Building the Future. They’re Containing the Past.
Senior engineers often focus on maintaining existing systems rather than building new ones, and AI may change this dynamic
Medium · AI
n8n Automation Expert | I Build AI Automation Workflows & AI Agent Systems for Businesses
Learn how to build AI automation workflows and AI agent systems for businesses with a n8n automation expert
Medium · AI
Up next
NEW Hermes Agent OS is INSANE 🤯 (FREE!)
Julian Goldie SEO
Watch →