LaiDub

Podcasts

What does the next training paradigm look like?
19:53
EN/ZH
Watch with Captions
Dwarkesh Patel29 days ago

What does the next training paradigm look like?

Dwarkesh Patel narrates his essay on where AI training is headed. The labs are betting that scaling RL across millions of verifiable tasks gets you to AGI, but Dwarkesh argues that bet leaves two holes: most valuable skills aren't "grindable" enough to farm in a simulator, and the learning models pick up on the job never makes it back into their weights. He walks through why sample efficiency and continual learning are the same problem, sketches two candidate fixes — on-policy self-distillation and "dreaming" — and imagines an AI that keeps getting smarter from being deployed rather than from pretraining. ## [00:00] The big research bet the labs are making The labs' working theory: train AIs on millions of verifiable tasks across thousands of RL environments and you'll get a general problem-solver that can grind on open-ended work for weeks. Optimists argue the known deficits — data inefficiency, no continual learning — will get steamrolled by more compute, the same way classic NLP problems collapsed once LLMs scaled. Dwarkesh lays out their strongest counter to his own skepticism: the million-fold sample-inefficiency he flagged in his last essay is only a training-time cost, amortized across billions of sessions. What matters is how capable the model is *during* a session, and that keeps improving. Continual learning might not even be needed if context windows grow large enough to hold months of on-the-job experience. > *People often say that their employees are not net productive until six months or more on the job. So clearly, online learning is necessary for competence. But what if you could just fit those six months into the context window?* ## [02:12] Grindability is just as important as verifiability Why has computer use lagged coding and math when it's just as verifiable? Dwarkesh's underrated answer: being verifiable isn't enough — a domain also has to be *grindable*, meaning you can run thousands of parallel rollouts against a deterministic, replayable simulator from the same starting point. A coding repo clones trivially into a container; Amazon's checkout flow does not. This is the canyon wall AI progress only slowly chips at. You can sometimes build farmable simulators (clone Slack, clone Gmail), but most high-value skills — building a business, winning a court case, running a profitable trading day — require irreproducible interaction with the real world, where verification takes months and can't be re-observed across parallel rollouts. > *What is the RL environment to make an AI that is as good at politics as Lyndon Johnson, or as good at building a space-launch business as Elon Musk?* ## [06:10] Will RLVR alone generalize? The labs are betting RLVR generalizes — that enough containerized environments yield an agent that plans, adapts, and picks up new skills inside a single session, good enough to out-advise LBJ on a 1948 Senate race or build SpaceX with a hundred million dollars. Whether it generalizes that far is an empirical question, and Dwarkesh reads a Dario Amodei quote as a hint that it doesn't stretch infinitely: short-horizon training may not transfer to long-horizon performance. Even if in-context experience could turn a model into Henry Ford for a session, it's all wasted if the learning can't return to the weights. 30–50% of a lab's compute goes to inference that currently does nothing to improve the model — even though deployment is exactly where the most valuable information is revealed. > *We've got some genius grad student who's never been allowed to take a real internship, and we keep giving it more and more classroom case studies in the form of RL training on environments.* ## [08:41] Getting the learning back to the weights Continual learning means updating the weights, not endlessly growing a KV cache — brains don't separate parameters from activations, and they compress what they learn. But moving into the weights forfeits in-context learning's sample efficiency, because gradient updates are coarse. That's why every shipped online-learning model (like Cursor's Tab model, learning the same accept/reject objective across 400M+ requests a day) learns one identical thing across all users, which defeats the point when every job and company differs. Dwarkesh frames sample efficiency and continual learning as the same problem, then argues the bottleneck isn't architecture — new sparse-attention and KV-compaction papers ship weekly — but the loss function. His candidate is on-policy self-distillation: train the base model to make the same predictions a context-rich veteran version of itself would make. OPSD needs no outer-loop reward, gives denser per-token supervision than RL, and keeps RL's sparse-update property so on-the-job learning doesn't overwrite what the model already knows. > *The way you get better at your job is not by recalling the transcript of every single thing that happened every day with perfect fidelity. Rather, it's by consolidating the handful of insights and pieces of knowledge that are actually relevant to you getting better at your job.* ## [15:22] Dreaming The second, more speculative fix: let the AI build a simulation of reality and rehearse against it, experiencing orders of magnitude more samples per unit of wall-clock time. The precedent is EfficientZero, which beat novice humans at unfamiliar Atari games by playing dozens of simulated games in its head per real step. Simulating the whole world is far harder than emulating Go, which is why Dwarkesh flags this as speculative — but if it works, it becomes a fourth scaling axis alongside pretraining, RL, and inference-time compute. Instead of hitting `/compact` to summarize a session, you'd hit `/dream` and burn compute rehearsing against a video-game version of what the model is seeing in production. > *So instead of hitting /compact in Codex or Cursor or Claude... you hit /dream. And this incinerates huge amounts of compute to build and train against a video-game version of what the model is witnessing in the real world.* ## [17:23] What 2027 looks like Dwarkesh's scenario: RLVR produces an agent competent enough to start getting real-world experience, context windows stretch to a full week of co-working, and at the end of the week a thumbs-up triggers the base model to distill what it learned — via OPSD, dreaming, or some mix. Each round the model expands into domains adjacent to what it was last trained or deployed on. The endgame flips how AI improves: capability comes mostly from broad deployment across the economy, not from pretraining before release. Every interaction makes the model smarter — learning from your past sessions and from everyone else's — which Dwarkesh calls scary, exciting, and very different from today. > *Just as pretraining created a base intelligence that was smart enough to become a competent agent with enough RLVR on top, so RLVR has created an agent that is competent enough to actually be broadly deployed in the world.* ## Entities - **Dwarkesh Patel** (Person): Podcast host and essayist; narrates his own blog post on AI training paradigms. - **Dario Amodei** (Person): Anthropic CEO, quoted on why model performance degrades at long context. - **RLVR** (Concept): Reinforcement learning from verifiable rewards — training on reproducible, checkable tasks; the labs' main bet for reaching AGI. - **Continual learning** (Concept): Updating a model's weights from on-the-job deployment rather than only from pre-release training. - **Grindability** (Concept): Dwarkesh's term for whether a domain can be farmed via many parallel rollouts on a deterministic, replayable simulator. - **On-policy self-distillation (OPSD)** (Concept): Distilling a context-rich session's learning back into the base model's weights with dense per-token supervision. - **Dreaming** (Concept): Speculative fourth scaling axis where a model builds and trains against its own simulation of reality. - **EfficientZero** (Software): Sample-efficient RL model that beat novice humans at unseen Atari games by simulating many games per real step. - **Mercury** (Organization): Fintech banking platform; episode sponsor referenced in the bill-pay anecdote.

#ai-training#reinforcement-learning#rlvr
Machiavelli is the most misunderstood thinker of all time – Ada Palmer
2:08:20
EN/ZH
Watch with Captions
Dwarkesh Patelabout 1 month ago

Machiavelli is the most misunderstood thinker of all time – Ada Palmer

Historian and novelist Ada Palmer joins Dwarkesh Patel to dismantle the "Machiavellian villain" myth and replace it with the actual Niccolò Machiavelli: a patriot who watched Cesare Borgia conquer half of Italy from up close, was tortured and exiled by the Medici, and then wrote *The Prince* as a secret job application addressed to the very regime that had wronged him. Palmer traces the structural forces — cascading legitimacy collapse among Italian city-states, popes who functioned as warring hereditary princes, and a patronage system that made nepotism feel like sound risk management — that made Machiavelli's analysis both urgent and unprecedented. The conversation closes on a sharp irony: the word "Machiavellian" now means self-serving cunning, yet the man himself gave up income, fame, and freedom rather than serve any cause that was not Florence. ## [00:00] How Florence bargained with Cesare Borgia for survival Italy in 1513 was a cascade of broken legitimacy. Palmer explains that when a long-standing government falls, successor regimes inherit none of its credibility, making rapid further overthrows nearly inevitable — what she calls the thread of continuity being cut. By the time Machiavelli is writing *The Prince*, this dynamic had swept dozens of Italian city-states. Compounding this was papal instability: because popes were elected rather than hereditary, the next pope was almost always a coalition pick of people who hated the current one, guaranteeing policy reversals every ten years. Machiavelli's day job during this era was standing next to Cesare Borgia — "Valentino" — and whispering endlessly that Florence was loyal, buying what Palmer calls "the boon of Polyphemus": the conqueror's promise to eat you last. His advice to Florence was to betray allies, pay tribute, give military support, and buy time, knowing full conquest was only delayed by Alexander VI's mortality. His biographers can still feel how much he was under Borgia's spell: when describing Valentino's fall, Machiavelli breaks from third person and writes "he told me" — the historian slips through the veil. > *"Machiavelli's job dealing with Cesare Borgia… it's very clear that the Borgia plan is to conquer the Papal States in the middle of Italy."* ## [15:08] Machiavelli's analytical innovations Machiavelli is not the crude "ends justify the means" thinker of caricature. Palmer shows that he is obsessed with the means — specifically, which means of acquiring power are stable and which are not. Whether betrayal works depends on the nature of your power base: Borgia could betray allies because his terror made remaining allies step further into line, while Savonarola's power rested on his followers believing him divinely infallible, so his flip-flopping destroyed him. The lesson is conditional, not universal. Machiavelli also makes the first recorded European argument that competing political parties can be stable and politically useful, rather than requiring mutual annihilation. Florence's own history was the counterexample: it had literally salted the earth where its Ghibelline opponents' houses once stood. His observation of Siena as a countermodel — parties competing without destroying each other — was genuinely novel. > *"Machiavelli is the first person that we have ever in the European tradition to suggest that it could be viable for there to be more than one political party in a state at the same time."* ## [23:58] Why popes became warlords The closer you lived to Rome, the less abstract the papacy felt. Palmer draws the contrast sharply: a Danish subject saw the pope as a figure of vast spiritual majesty; a Florentine saw "that asshole who went to college with your brother." Italians judged popes as specific men with dirty laundry, family grudges, and factional allegiances — which is why cities that were hereditarily Guelph (pro-papal) sometimes ended up fighting wars against the sitting pope when he happened to be from a Ghibelline family. The corruption was structural and self-reinforcing. As the Church accumulated donated wealth across generations, the incentive for ambitious families to capture it through bribery and nepotism grew. Palmer reads Machiavelli's personal letters haggling over the correct bribe to buy a priesthood for his brother Totto — written as routine household correspondence — to show how completely normalized the practice was. Every generation saw popes get more secular and military than the last; Machiavelli explicitly predicted the institution would collapse under accumulated corruption unless reformed from within, as St. Francis had temporarily saved it two centuries earlier. > *"This makes a stronger and stronger incentive for every ambitious family to send their second son into the Church."* ## [36:13] Why the common people demanded nepotism When Pope Paul III appointed a competent outsider general instead of his own illegitimate son, there were riots. Palmer explains this is not irrational: in a world where a soldier's oath ran to his commander, not to the state, the only guarantee the papal armies wouldn't turn on Rome was putting the pope's own son in charge — someone who rose and fell with the pontiff. Nepotism was the trust mechanism that made institutions function. Patronage also determined justice outcomes. Medieval law codes prescribed death for almost everything, but roughly 99 in 100 capital-eligible convictions ended in a fine because the defendant's patron intervened. This was considered correct: the trial was meant to replicate the soul's experience before divine judgment — terrifying, then mercifully pardoned — so patron intervention mirrored the intercession of a saint. The system had a grimly consistent internal logic, and Palmer traces it from Giordano Bruno (burned because he had angered his patron, not because of his ideas) to Giovanni Pico della Mirandola (spared because Lorenzo de' Medici went through the Orsini network to Rome). Without a patron, even innocence was precarious. > *"The norm is: you're accused of a severe crime, you're put on trial for your life, your patron intervenes, and you get a lighter sentence. This is how justice is supposed to work."* ## [47:57] Cesare Borgia brought terror to rulers and justice to the people Borgia's conquests produced a paradox that startled contemporaries: he massacred ruling families and was adored by common people. Palmer's explanation is structural. Factional cities had lived for generations under justice that tracked who was in power, not the facts of the case. A carpenter whose family worked for the dominant faction faced minimal consequences for his son's drunken homicide; the same crime by the carpenter of the out-of-power faction could be a capital offense. When Borgia wiped out both factions and installed outside administrators with no local feuds to take sides in, neutral adjudication felt like a revelation. Machiavelli also drew a hard line for why even a beneficent Borgia conquest of Florence would be catastrophic: under any arbitrary ruler, a citizen can be executed by a pointed finger in the street. Machiavelli called that condition slavery, regardless of how fair the tyrant might be in practice. Florence's "LIBERTAS" banner — flown by ordinary citizens defending an oligarchic Senate that excluded them — represented a genuine commitment to the existence of a process, however biased, over the absence of any process at all. > *"As a result, to everyone's surprise, he moves into a city, he massacres the rulers, he implements an authoritarian regime, and he's incredibly popular and beloved by the people."* ## [57:55] Art as a proxy for war Renaissance Florence could not afford to fight France militarily; it could afford to paint French royal symbols on its government buildings and commission beautiful gifts for the French king. Palmer frames this not as surplus expenditure but as substitution: the art budgets were military budgets redirected into a form of warfare Florence could win. Like the Fulbright Program being a higher return-per-dollar than the defense budget, Florentine cultural patronage was strategic deterrence. The period's orientation toward the past further supercharged the value of art. Where modernity assumes humanity advances into the future, Renaissance Europe pointed the other direction: the ideal was recapturing Rome. High-tech achievement meant successfully imitating a lost Roman technique. When a French diplomat arrived in Florence and saw the cathedral or the neoclassical buildings, he was not seeing quaint historical imitation — he was seeing something that approached what only Rome had achieved, and that France could not. That perception was itself a form of power. > *"If we fought him, we would lose. But if we play the culture victory game, that's cheaper, and we can try to win."* ## [01:06:41] Florence, a city famous in hell Dwarkesh raises the obvious puzzle: if everyone in Renaissance Italy was a Christian who genuinely believed in hell, why did they commit the sins Machiavelli describes constantly? Palmer's answer has two parts. First, the Dante answer: Dante fills the *Inferno* with Florentines precisely because he wants his contemporaries to feel the discomfort of consequences they were ignoring. His Paolo and Francesca passage — damning a love story everyone celebrated — was designed to be a shock to readers who thought romantic adultery was exempt from theological reckoning. Second, pre-Reformation Christianity assumed everyone sinned constantly and focused on repentance cycles rather than purity maintenance. St. Julian the Hospitaller, patron saint of murderers, was omnipresent in Florentine iconography — his legend held that he killed his own parents, spent his life in pilgrimage to repent, and was saved. Dozens of icons of him meant dozens of Florentines who had killed someone and were working through it. The Calvinist and Puritan emphasis on spotlessness came later and was a genuine departure from how the medieval and early Renaissance church operated. > *"He fills his hell with Florentines."* ## [01:15:57] The Prince was a job application to Machiavelli's torturers After the Medici retook Florence in 1513 and, on mistaken suspicion of conspiracy, tortured and exiled Machiavelli, everyone expected him to defect. He had contacts at every major court in Europe and the skills — military history, diplomatic networks, classical scholarship — that kings paid for. He chose instead to sit in a hamlet outside Florence writing *The Prince* as a secret appeal to the Medici to take him back. No other courts received it; he kept it proprietary, treating his political science the way Palmer says a nuclear scientist would treat classified weapons knowledge. His other works — the *Discourses*, the history of Florence, the comedy *Mandragola* — circulated publicly to build his reputation. *The Prince* did not. Palmer compares it to historian friends who produce classified 100-page reports for Department of Defense committees: bespoke proprietary knowledge for an audience of five, whose existence may be whispered about but whose contents are guarded. It also explains why the book was eventually published in 1532 without Machiavelli's input: surviving relatives wanted family fame, and the Medici wanted credit for a text dedicated to their house. Neither understood what its author had intended to keep contained. > *"I'm going to stay, and I'm going to rot, and I'm going to write The Prince, which is my job application begging the new regime to bring me back and let me work for them and demonstrating my loyalty, and I'm going to send it to them and only them, them and my immediate friends."* ## [01:41:39] During the Renaissance, original ideas had to be couched in antiquity The Renaissance's obsession with recovering ancient Rome created a peculiar incentive structure: original ideas were unfashionable; ideas presented as recovered ancient wisdom were prestigious. Palmer shows this goes far beyond homage. Giordano Bruno attributed to Aristotle claims that Aristotle explicitly contradicted. Annius of Viterbo forged ancient texts and staged fake archaeological digs to give his original historical theories the authority of antiquity. Marsilio Ficino, translating Plato, genuinely convinced himself that the wildly original cosmological and magical system he had assembled was secretly coded in the Platonic texts. This explains why Machiavelli's other major work is called *Discourses on Livy* rather than, say, *A New Theory of Republican Governance*. A discourse on an ancient was a prestige format; an original political treatise was a niche curiosity. The 19th century misread the Renaissance as intellectually barren — "200 years of people being wrong about Plato" — because it expected original standalone treatises and found commentary after commentary. Palmer argues the original ideas are there, using the ancients as what she calls the trellis up which the rose climbs. > *"Nobody wants original ideas. Original ideas are out of vogue. Original ideas are dead. All ideas need to be from the ancients."* ## [01:50:44] Why copyright began with the Inquisition Machiavelli was one of the first authors to experience unauthorized printing. A local press printed one of his works without asking, riddled it with compositor typos, and his only recourse was to write letters to important people clarifying that the errors were not his. There was no legal framework at all. The solution emerged from an unexpected direction: post-1515, the Inquisition required pre-publication approval for all texts to screen for heresy. In exchange for going through this process, the approved printer received a monopoly license — the Inquisition's record of permission served as proof that no one else could legally print the same book. The first copyright was a censorship certificate. England, observing this, copied the mechanism while eventually stripping out (or softening) the censorship half, producing the ancestor of modern copyright law. The institutional logic held together: the Inquisition needed to please local rulers to get resources, so approving books dedicated to the duke and granting his favored printer exclusivity was a political investment. Everyone — inquisitors, printers, authors, and ruling families — had reasons to make the system work. > *"So the very first version of copyright is the Inquisition."* ## [02:02:12] Machiavelli wasn't Machiavellian The word "Machiavellian" came to mean scheming self-advancement — Shakespeare's Richard III invokes "the murderous Machiavel" as his role model. Palmer traces how the idea of Machiavelli separated from the actual man and became a useful thought-experiment figure: the cynical, probably atheistic politician who wants nothing but personal power. The same splitting happened to Hobbes (the Beast of Malmesbury) and Spinoza, whose actual writing is warm and theistic but whose excommunication from the Jewish community made people assume he must be the most radical heretic imaginable. The real Machiavelli — who refused lucrative court positions across Europe, who kept his most important work secret to protect Florence from foreign exploitation, who chose to rot in an isolated hamlet over serving any cause that wasn't his country — is almost the opposite of "Machiavellian." His book is not about gaining power but about keeping power stable enough to protect people. Palmer's closing point: the gap between Old Nick and Niccolò Machiavelli is itself a revealing fact about how societies use ideas, splitting thinkers into a character useful for one purpose and the actual work useful for another. Read *The Prince* knowing it was written by someone who would give up anything to serve Florence, and a very different text comes through. > *"This is why it's so weirdly ironic to me that the reputation—the word"Machiavellian"—means"self-serving", when Machiavelli himself is one of the most selfless men I've ever read about in the history of the Earth."* ## Entities - **Dwarkesh Patel** (Person): Host of the Dwarkesh Podcast; interviews scholars on history, science, and technology. - **Ada Palmer** (Person): Historian and science fiction novelist at the University of Chicago; specialist in Renaissance intellectual history and the history of censorship. - **Niccolò Machiavelli** (Person): Florentine diplomat (1469–1527), author of *The Prince* and *Discourses on Livy*; wrote *The Prince* as a secret appeal to the Medici regime that had tortured and exiled him. - **Cesare Borgia** (Person): Renaissance military commander known as "Valentino"; son of Pope Alexander VI, conquered central Italy and was Machiavelli's primary case study in effective (if brutal) statecraft. - **The Prince** (Concept): Machiavelli's treatise on political power, written ~1513, kept proprietary during his lifetime and published posthumously in 1532; misread as a self-advancement manual rather than a guide to maintaining stable government. - **Discourses on Livy** (Concept): Machiavelli's longer republican political theory, structured as commentary on the Roman historian Livy; his public bid for intellectual prestige in a culture that prized commentary on ancients over originality. - **The Medici** (Organization): Ruling family of Florence, whose patronage networks and papal connections shaped both the political instability Machiavelli analyzed and the conditions under which he wrote and was exiled. - **Florence** (Organization): Italian city-state and center of Renaissance banking, art, and humanist scholarship; Machiavelli's country, for which he subordinated his entire career. - **Patronage System** (Concept): The multi-generational network of family obligations that served as the functional glue of Renaissance society, determining access to justice, employment, publication, and protection from the Inquisition.

#machiavelli#renaissance#political-philosophy
Sarah Paine - Why Putin and Xi can't escape geography
1:02:07
EN/ZH
Watch with Captions
Dwarkesh Patelabout 2 months ago

Sarah Paine - Why Putin and Xi can't escape geography

Naval War College historian Sarah Paine delivers a standalone lecture tracing two thousand years of geopolitical logic: continental empires (China, Russia) pursue security by expanding borders and crushing neighbors, while maritime powers (Athens, Britain, the US) pursue prosperity by trading across open seas. She argues this structural divide—rooted in the brute fact of geography—explains Putin's war on Ukraine, Xi's ambitions over Taiwan, and why the post-WWII rules-based order is the only arrangement that produces compounded growth rather than compounded ruin. ## [00:00] Setting the stage Paine opens by framing the lecture's core question: why do some great powers keep grabbing territory while others keep opening trade routes? The answer comes down to one physical fact—whether it is feasible to defend yourself at sea. Maritime powers can; continental powers cannot. That single asymmetry generates two entirely different military traditions, two economic models, and two competing visions of world order. She walks through American history as a warm-up: the US began life as a continental power (manifest destiny, the Mexican-American War, Alaska purchased when Russia needed cash), then pivoted toward a maritime identity after Alfred Thayer Mahan convinced strategists that naval trade, not westward land, was the real source of national power. Alongside Mahan, Paine introduces the three geopoliticians whose maps anchor the lecture: Halford Mackinder (the Eurasian heartland as the world's natural fortress, impervious to sea power), Nicholas Spykman (control the rimlands, and you influence the heartland), and their shared lesson that US security runs through sea lanes and alliances, not borders. > *"Maritime powers are the exception and continental powers are the rule. Why? Because maritime powers, if need be, can defend themselves primarily at sea with their navies. Whereas a continental power simply cannot—think Ukraine, a navy is not going to save them from Russia."* ## [12:10] The continental powers Paine works through the logic of the continental world starting with China—the original case—then Russia. Sun Tzu's *Art of War* contains no references to maritime warfare: it was written for a world where neighbors invade overland at any time and the only viable response is a mass army. Geography tells the rest: too much of China's land is vertical to feed its people, which makes controlling the arable lowlands an existential imperative. The Han expansion from the Yellow River Valley followed that logic for millennia, wiping out the Zongars, subjugating Tibet, producing the ethnic patchwork Beijing still manages with military administrative overlays. Russia's pattern is the same dynamic in reverse—a Moscow core expanding outward in concentric rings until it hit countries that fought back. The continental security playbook that emerges is ruthlessly coherent: no two-front wars, no great-power neighbors, take on threats sequentially, destabilize the rising ones, absorb the failing ones, maintain buffer zones in between. Paine closes the section with the WWII body count that makes the paradigm's cost visible: Russia lost over 25 million dead (soldiers plus civilians); the United States lost 295,000. The ocean moat is not an abstraction—it is the difference between hundreds of thousands and tens of millions. > *"In this world, you're faced with a binary choice: you either become Han or they will kill you. And genocide is what happens to the losers in continental warfare."* ## [29:12] The maritime alternative Where continental empires carve the world into exclusive spheres, maritime powers treat the sea as a commons to be shared. Paine traces the lineage from Athens through Rome ("Mediterranean" means the sea in the middle of the lands; "Zhongguo" means the kingdom among the kingdoms—one term centers the sea, the other the land), the Dutch Republic, and finally Britain. Hugo Grotius, a Dutchman watching his nation's trade pirated, wrote *Mare Liberum* to establish that the sea belongs to no one and therefore belongs to everyone—the founding document of international maritime law. Britain refined the operating strategy over the Napoleonic Wars into six rules for "elephant hunting": keep the home economy growing, blockade enemy trade, fund the allied continental power facing the main front, find a peripheral theater where sea access beats land access, never attack the enemy's main force directly, and—only after the elephant has been bled—pile on with allies. The key structural point: a navy that prevents invasion produces wealth invisibly. Britain compounded wealth for a century after Waterloo while its continental neighbors burned money funding standing armies and fighting each other. That invisible compounding, over generations, is the difference between North and South Korea. > *"Trade is going to finance the navy. It's going to protect both British homeland and some of the trade. And then Britain is going to be compounding wealth while its neighbors are busy—constantly fighting with each other and destroying wealth in the process."* ## [42:00] How the Industrial Revolution changed everything The Industrial Revolution flipped the source of power from land to commerce. When land determines wealth, conquest makes sense. Once wealth comes from industry and trade, territorial expansion is literally negative-sum: you destroy the asset while fighting for it. The Suez Canal is Paine's sharpest example—Egypt sank block ships in 1967 to deny Israel access, but the strategic result was that global shipping shifted to supertankers that go the long way around Africa at one-third the cost per ton. Closing a chokepoint accelerated the maritime world's efficiency. Malcolm McLean's shipping container reduced cargo loading costs from nearly $6 per ton to under 20 cents, and the ISO then harmonized container dimensions across trucks, railways, and ships—producing plummeting transport costs and the trade explosion that lifted hundreds of millions out of poverty. Xi's Belt and Road Initiative, Paine notes dryly, crosses some of the world's most unstable territory, requires constant trans-shipment between incompatible rail gauges, and can never be rerouted—the exact opposite of maritime flexibility. China's own geographic trap is inescapable: shallow, island-cluttered seas that become kill zones in wartime mean its merchant fleet reaches global markets only in peacetime. > *"Once wealth is a function of commerce, industry, and trade, it isn't land anymore. And this upends the world. If you think about the world today, who's rich, who's poor—it's often the degree to which the country is industrialized."* ## [52:00] Why Putin wants to break the world The post-WWII institutional framework—UN, IMF, NATO, WTO, EU—was built by people who survived both the trenches of WWI and the Great Depression, then spent WWII watching their own children die. Their conclusion: hash out differences with diplomats and lawyers, because sending soldiers destroys more value than any conceivable prize is worth. That system held the peace in the industrialized world for 75 years, until Putin decided to break it. Putin's challenge is not irrational by continental logic: a rising Ukraine integrated into NATO is precisely the kind of strong, stable neighbor that, in the old paradigm, becomes an existential threat. His goal is to hollow out the alliance system and shatter international law so the world reverts to warring spheres of influence—a world where continental powers can once again play their traditional game without maritime rules they were never designed for. Paine's answer is that sanctions are "economic chemotherapy": they suppress growth by one or two percent per year, and compounded over generations, that gap is the difference between North and South Korea. The objective is never to eliminate the rogue state but to contain it at acceptable cost. The only exit that avoids nuclear escalation is the one the post-war generation built: diplomats, lawyers, and institutions. > *"The only win-win solution is to deploy the diplomats and lawyers to hash out these things in international forums—because if we're all going to send soldiers, we're going to get a third world war with nuclear follow-on effects, and we'll see whether humanity makes it."* ## Entities - **Sarah Paine** (Person): Military historian at the U.S. Naval War College; sole speaker in this lecture; author of a 2025 lecture series on continental vs. maritime powers. - **Alfred Thayer Mahan** (Person): 19th-century U.S. naval strategist; argued that maritime trade and sea power, not land conquest, determine national greatness; associated with the Naval War College. - **Halford Mackinder** (Person): British geographer; 1904 "pivot area" thesis posited that the Eurasian heartland, insulated from sea power, is the world's natural fortress. - **Nicholas Spykman** (Person): Dutch-American strategist; argued that controlling Eurasia's rimland determines global power; died 1943 while warning the US about Eurasian dominance. - **Hugo Grotius** (Person): Dutch jurist; founder of international maritime law; *Mare Liberum* (1609) established freedom of the seas as a universal right. - **Malcolm McLean** (Person): American trucking entrepreneur who invented the standardized shipping container, collapsing cargo loading costs and enabling the post-war trade explosion. - **Continental power** (Concept): A state that cannot defend itself primarily at sea; prioritizes territorial expansion, mass armies, buffer zones, and exclusive spheres of influence; exemplified by Russia and China. - **Maritime power** (Concept): A state that can defend itself primarily at sea; prioritizes trade, open sea commons, alliance-building, and compounding wealth; exemplified by Britain and the United States. - **Rules-based international order** (Concept): The post-WWII institutional system (UN, IMF, NATO, WTO, EU) that enforces sovereignty and free trade; the system Putin and Xi seek to dismantle. - **U.S. Naval War College** (Organization): Graduate school of the US Navy in Newport, Rhode Island; Paine spent 24 years there; home of Mahanian sea-power theory.

#geopolitics#grand-strategy#maritime-power
The better AI gets, the smaller its share of the economy might get – Alex Imas and Phil Trammell
1:16:08
EN/ZH
Watch with Captions
Dwarkesh Patelabout 2 months ago

The better AI gets, the smaller its share of the economy might get – Alex Imas and Phil Trammell

Economists Alex Imas (Google DeepMind / University of Chicago) and Phil Trammell (Epoch / Stanford) argue that the most counterintuitive outcome of full automation is not that capital captures everything — it's that AI could actually shrink its own economic footprint as demand saturates in fully automated goods while humans stay scarce in relational and experiential markets. The conversation moves from what will remain scarce after AGI, through the politics of redistribution, to why O-ring complementarities slow current automation, why AI agents with accumulation-oriented preferences could own most future wealth, and what developing economies should do when they're cut out of the AI supply chain. ## [00:00] Will capital share increase? Dwarkesh opens with the core puzzle: if AI can do everything humans do, where does labor's share of income go? Alex Imas starts by noting that economists who tried to predict past industrial transitions were frequently wrong — David Ricardo predicted mass unemployment from the Industrial Revolution and was directionally right about which jobs disappeared, yet totally wrong about the aggregate outcome: prime-age employment in 2026 is higher than almost any point since 2000. The lesson is that structural change economists consistently underestimate new varieties of goods and jobs that emerge when old costs collapse. Imas introduces what he calls the "relational sector" — goods and services where the human presence is itself part of the value. Because humans are naturally finite, automation that saturates everything else inflates the relative scarcity and price of human-in-the-loop products. Phil Trammell sharpens this with a supply-chain accounting argument: look at the network-adjusted factor shares of any good — trace labor and capital inputs all the way down to raw materials — and you see labor's share is already surprisingly resilient. The paradox is that if AI saturates all non-relational goods at near-zero marginal cost, consumers will exhaust their demand on those goods quickly and redirect spending to whatever is still scarce. A ballerina performance doesn't get cheaper just because software is free. > *"So because humans are naturally scarce, if we have automation where a lot of other things stop being scarce, uh we will still have scarcity in things that humans are kind of involved in and in the loop for."* > — Alex Imas Trammell extends the point to capital share itself: fully automate a supply chain for every non-human good, satiate demand fast, and the marginal utility of more of those goods collapses toward zero. The result is that capital's share of value may actually shrink rather than expand — the counterintuitive headline of the episode. ## [19:36] Messy Middle scenario Dwarkesh raises Molly Kinder's "messy middle" thesis: a world where AI doesn't cause catastrophe but does create a prolonged distributional squeeze — firms capture productivity gains, workers face wage stagnation, and government redistribution lags the speed of displacement. The historical analogy is telephone operators: a profession fully automatable by technology that existed in the 1960s but took two decades to automate because of institutional inertia. Workers weren't fired overnight; they were gradually reabsorbed — mostly at lower wages and in underemployment. Imas thinks the messy middle is plausible in the near term but probably not permanent, because the scale of productivity gains from AI makes the pie large enough to distribute. The political economy problem isn't scarcity of resources but speed and coordination: governments don't know which workers were displaced by AI versus other causes, political constraints create friction, and the gap between displacement and redistribution can be long enough to cause serious harm even when the math ultimately works out. > *"Phone operators were completely automated right but it took 20 years even though the technology existed and therefore there was this drip — it wasn't like this giant sector just disappeared."* > — Alex Imas ## [25:57] How to tax and redistribute AI wealth Imas maps the redistribution toolkit along two axes: implementation complexity and time-to-impact. A negative income tax goes live the day it's enacted and provides an immediate floor. Universal basic capital — giving every citizen shares in AI-producing firms — takes years to generate returns. UBI sits somewhere between. The tradeoff isn't just speed; it's also political durability. Programs that make citizens dependent on a direct government check are vulnerable to whoever wins the next election, whereas broad-based equity ownership is harder to expropriate because the assets are distributed. Trammell separates the revenue question from the distribution question: how you raise the money (wealth tax, capital gains, land value tax, corporate tax) is analytically distinct from how you give it back (cash, shares, public services). He notes that a Georgist land value tax is often discussed but would be insufficient to fund redistribution at the scale needed when AI-generated wealth is concentrated in software and compute rather than land. Phil suggests that broad distribution of equity stakes in AI companies, purchased via tax revenue, could be both politically stable and economically efficient. > *"Like right now we're endowed with labor that can turn into income — when that is no longer the case and we are now at the mercy of the elected official for basic needs."* > — Alex Imas ## [30:02] Why demand collapse is unlikely Dwarkesh presses on the white-collar apocalypse narrative: is there any data showing mass AI-driven unemployment already? Imas points to Yale's Budget Lab data, which finds a weak signal at best — junior software engineering hiring is modestly below trend, while senior engineering demand is flat or rising. No level shift in unemployment has appeared across white-collar sectors. One explanation is O-ring complementarity (discussed more in the next chapter), but another is behavioral: firms are engaging in performative AI adoption — laying people off or maximizing token usage to signal modernity, sometimes at a real cost to productivity. The broader demand question is whether software obeys the same elasticity rules as physical goods. You eat enough food and stop; do you ever stop wanting more software? Imas and Dwarkesh argue that software may be genuinely elastic enough that demand keeps pace with falling prices — the history of computing suggests that cheaper compute consistently generated more demand rather than collapsing it. The main risk is specific goods where satiation is fast, not aggregate labor demand. > *"There might be a little bit of a signal about junior developers getting jobs less than before — but that's a 'less than before' rather than a level shift, as in there's actually an increased demand for senior software engineers if anything."* > — Alex Imas ## [39:26] Human employees would be hard to integrate into the machine economy The O-ring model — named for the Challenger shuttle disaster where one failed component destroyed everything — explains both why current AI automation is slower than expected and why future automation may structurally exclude humans. Right now, you can automate 90% of a legal or accounting workflow, but clients still want a human to sign off because one failure point can invalidate the entire output. That reliability constraint keeps humans employed even when AI capability is high. Phil Trammell flips the logic forward: as AI gets good enough that production flows are organized entirely around machine labor — agents talking at machine speed, in machine-native representations — the transaction cost of inserting a human into the loop becomes the bottleneck. Even if a human has comparative advantage on some narrow task, the coordination overhead and reliability mismatch make it cheaper to route around them. The O-ring works in both directions. > *"Even beyond the arguments about how humans will be more expensive or dumber or whatever — even beyond that — there will be whole production flows that are organized for AI labor where they're talking in neurals, they're thinking many thousands of times faster."* > — Dwarkesh Patel ## [43:08] What if some humans (or AIs) value wealth accumulation intrinsically? The longest chapter covers the most speculative territory. Dwarkesh notes that evolution selected for humans with specific preferences — resource accumulation, status, reproduction — that now shape a $100 trillion world economy. AI agents will be shaped by analogous selection pressures: those trained or deployed in ways that favor accumulation will outcompete and outlast others. This doesn't require catastrophic misalignment; it's the normal logic of differential reproduction applied to a new substrate. Phil Trammell works through the steady-state mathematics: if even a small fraction of the population — human or AI — has high elasticity of substitution between current and future consumption (i.e., they keep wanting more capital rather than satiating on consumption), then in the long run those agents own most of the wealth and determine what the economy produces. The capital share approaches 1.0 not because AI is collectively greedy but because preference-heterogeneity plus compounding sends assets to the most patient accumulators. > *"In the long run, they're going to have most of the wealth — and the overall capital share will basically be the capital share of that person's spending, which is going to be one."* > — Phil Trammell The conversation then turns to discount rates and interest rates. If AI-driven growth is extremely fast, near-term consumption is cheap relative to future consumption, which should theoretically lower savings incentives and compress interest rates. But hyperbolic discounters and accumulation-oriented agents may not respond to price signals in standard ways, and both guests acknowledge they're at the frontier of what economic models can cleanly resolve. ## [61:28] What should developing countries do? Imas opens by noting that middle-income and developing countries are almost entirely absent from mainstream AI economics — a gap he blames partly on himself and his field. Two scenarios bracket the problem. In the optimistic one, open-weight models diffuse quickly and give Nigeria or India a capability level-up at near-zero cost, much as mobile banking leapfrogged the absence of traditional banking infrastructure. In the pessimistic one, AI automates commodity production in rich countries, eliminating the manufacturing-export ladder that allowed East Asian economies to industrialize. The key variable is how concentrated the benefits remain. Alex draws the electricity analogy: electricity was produced by natural monopolies, but the downstream gains diffused widely to users rather than concentrating in the hands of utilities. If AI follows the same pattern — commoditized access, competitive downstream — developing countries may be net beneficiaries. If it follows a social-media pattern — where a few platforms capture most value — concentration compounds inequality. Phil argues that developing-country governments should consider sovereign wealth funds that buy into AI supply chains early as a hedge against the commodity-export-collapse scenario. > *"There are scenarios where you get AI technology dissipating to Nigeria and developing countries — that leveling the playing field — like essentially giving them a level-up as far as capabilities. And there are scenarios where they're not training the models, they don't have the hardware, and they just completely get left behind."* > — Alex Imas ## Entities - **Alex Imas** (Person): Director of AGI Economics at Google DeepMind and Professor of Economics at University of Chicago; studies behavioral economics and macroeconomic impacts of AI. - **Phil Trammell** (Person): Head of Economics at Epoch and research scholar at Stanford; works on economics of transformative AI and patient philanthropy at the Global Priorities Institute. - **Dwarkesh Patel** (Person): Host of the Dwarkesh Podcast; long-form interviews at the intersection of science, technology, economics, and policy. - **Relational sector** (Concept): Goods and services where the human presence is intrinsic to the value proposition — therapy, artisan crafts, live performance — predicted to gain economic share as AI saturates substitutable outputs. - **O-ring theory** (Concept): Production model where a single unreliable component invalidates the entire output; explains both current limits on AI automation and why future machine-organized production flows may structurally exclude human labor. - **Capital share** (Concept): The fraction of national income flowing to owners of capital rather than labor; the episode's central quantity, with the counterintuitive thesis that full automation may shrink rather than expand it. - **Universal basic capital** (Concept): Redistribution policy giving citizens equity stakes in productive assets (including AI firms) rather than cash; argued to be more politically durable than UBI. - **Epoch** (Organization): Research institute focused on AI timelines and macroeconomic forecasting; Phil Trammell is Head of Economics there. - **Yale Budget Lab** (Organization): Research center publishing empirical data on AI's labor-market effects; cited for finding no level-shift in white-collar unemployment as of mid-2026. - **Land value tax / Georgist tax** (Concept): Tax on unimproved land value; discussed as insufficient revenue source for AI-era redistribution because AI wealth is concentrated in software and compute, not land.

#agi-economics#labor-share#automation
Chip design from the bottom up – Reiner Pope
1:20:19
EN/ZH
Watch with Captions
Dwarkesh Patel2 months ago

Chip design from the bottom up – Reiner Pope

Reiner Pope, CEO of MatX and former Google Brain TPU architect, gives Dwarkesh Patel a blackboard-style lecture on chip design from first principles. Starting with AND and NOT gates, Reiner works up through register files, systolic arrays, clock synchronization, FPGAs, cache hierarchies, and finally the structural difference between a GPU and a TPU. The throughline is a single engineering tension: every compute unit is wasted if the chip spends its time moving data rather than multiplying numbers. ## [00:00] Building a multiply-accumulate from logic gates Reiner starts at the bottom: AND, OR, and NOT gates, wired together as metal traces on silicon. The key operation AI chips want to run is matrix multiplication, and inside that the primitive is a multiply-accumulate — multiply two numbers, add the result into an accumulator. Reiner walks through how a full adder is assembled from a handful of XOR and AND gates, and how those cascade into a bit-serial multiplier and ultimately a floating-point MAC. The precision hierarchy matters here: accumulating low-precision multiplications requires higher-precision accumulators, which is why AI chips run 8-bit multiply but 32-bit accumulate. > *"The main function that AI chips want to compute is the multiplication of matrices. Inside that, the fundamental primitive is a multiply-accumulate of pairs of numbers."* ## [16:20] Muxes and the cost of data movement Before Tensor Cores, GPUs and CPUs used the same structure: a register file holding a few dozen values, feeding into an ALU, writing back to the register file. Reiner shows that a mux — a circuit that selects between multiple inputs — is the hardware tool that lets you address arbitrary registers, and that the cost of this generality is measured in area and energy. Every read from an eight-entry register file requires a mux tree of depth three; every write requires a decoder of the same size. The bottleneck for AI workloads isn't the multiply itself but the round-trip through that register file. > *"We want to analyze the cost of the data movement from the register file to the ALU and back."* ## [25:59] How systolic arrays work The key insight behind TPUs: instead of doing one multiply-accumulate at a time and writing back to registers, bake an entire matrix-vector loop into hardware. A systolic array is a grid of MAC units where each cell passes its partial sum to the right and its input operand downward, so data flows through without ever touching a register file. Reiner explains the two wins this buys: more compute per unit of data fetched, and the ability to keep operands resident inside the array for the full inner product instead of re-loading them. The trade-off is inflexibility — you can only efficiently run the exact loop shape the hardware was designed for. > *"The idea of a systolic array is to go two levels of loops up and bake this entire loop out here into hardware."* ## [39:00] Clock cycles and pipeline registers With 100 billion transistors on a chip, synchronization between parallel units is non-negotiable. Reiner explains the clock: every nanosecond or so, the chip pauses all computation for a synchronization pulse before the next operation. Clock frequency is set by the longest combinational path — the deepest chain of logic gates that a signal must traverse in one cycle. Pipeline registers chop that path into shorter stages, letting each shorter segment run at a higher frequency, at the cost of latency: a fully pipelined 32-stage multiplier produces one result per cycle but takes 32 cycles for any single multiplication. > *"Every nanosecond or so, all circuitry in the chip will pause for a moment and synchronize. That is the clock cycle."* ## [51:40] FPGAs vs ASICs An FPGA is a sea of programmable logic blocks — lookup tables and flip-flops that can be wired together in software. An ASIC is a chip taped out for one purpose. Conceptually they're the same: AND/OR gates in a fixed clock cycle. The economics diverge at first copy: an FPGA costs $10K to program; a first ASIC tape-out costs $30M. FPGAs make sense for workloads that change monthly and need deterministic latency at high speed with less care about energy or throughput. Jane Street uses them for high-frequency trading exactly because the clock cycle is deterministic — no cache misses, no branch prediction, no interrupts. > *"The first FPGA costs you $10,000, whereas the first ASIC you make costs $30 million because it requires an entire tape-out."* ## [63:14] Cache vs scratchpad CPUs are non-deterministic partly because of the L1/L2 cache: a small fast memory that speculatively stores data the processor thinks it will need next. Cache misses — when the prediction is wrong — stall execution for hundreds of cycles. AI accelerators replace the cache with a scratchpad: explicitly programmer-managed SRAM where the compiler decides exactly what lives there and when. Groq and TPUs both advertise deterministic latency because they use scratchpads instead of caches. The scratchpad is simpler and faster but shifts the burden to the compiler. > *"Probably the most important source of non-determinism on a CPU is the CPU cache itself."* ## [67:16] Why CPU cores are much bigger than GPU cores A modern CPU has maybe 100 cores, each taking up far more die area per core than a GPU's thousands of SMs. The reason: CPU cores carry enormous out-of-order execution machinery — reorder buffers, branch predictors, speculative execution units — all aimed at keeping a single thread running fast on unpredictable workloads. A GPU SM strips most of that out. It runs many simple threads in lockstep (a warp), and when one thread stalls on a memory load, the hardware instantly switches to another warp at zero cost. The CPU pays silicon for per-thread speed; the GPU pays silicon for throughput across thousands of parallel threads. > *"If there are so few cores, what are you spending all of the die on?"* ## [71:49] Brains vs chips Dwarkesh pushes Reiner on the brain-versus-chip comparison. Two genuine differences: the brain has unstructured sparsity (any neuron can connect to any other), while hardware accelerators use structured sparsity (aligned blocks); and the brain's clock runs at tens of hertz versus gigahertz on silicon. Reiner notes that co-location of memory and compute — often cited as a brain advantage — is also present in modern AI chips: the weights sit in HBM right next to the matrix units. The energy constraint is the more interesting gap: the brain runs on 20 watts, chips on kilowatts, which may reflect fundamental differences in what the brain is optimized to do. > *"This is exactly the co-location, in some sense, of the memory and compute."* ## [75:22] A GPU is just a bunch of tiny TPUs At the top level, a TPU has a handful of large systolic arrays plus a vector unit. A GPU has hundreds of SMs, each of which contains a small matrix unit and a small vector unit — essentially a miniaturized TPU. The architectural difference is granularity: a TPU commits to a few large matrix operations; a GPU runs thousands of smaller ones in parallel. Inside each SM, Tensor Cores add a fixed-function matrix unit on top of the original scalar/vector pipeline, making modern GPUs a hybrid of the two paradigms. The "GPU is just tiny TPUs" framing collapses what seemed like fundamentally different architectures into a single continuum. > *"You can think of scaling this thing down into a really tiny unit with a smaller matrix unit and a smaller vector unit, and that is sort of what an SM is."* ## Entities - **Reiner Pope** (Person): CEO and co-founder of MatX; previously led TPU software and compiler work at Google Brain - **Dwarkesh Patel** (Person): host of the Dwarkesh Podcast; angel investor in MatX - **MatX** (Organization): AI chip startup building inference accelerators - **Google / Google Brain** (Organization): where Reiner worked on TPU architecture before MatX - **Jane Street** (Organization): high-frequency trading firm that relies on FPGAs for deterministic latency - **Groq** (Organization): AI inference chip company that advertises deterministic latency via scratchpad architecture - **Multiply-Accumulate (MAC)** (Concept): the fundamental operation of neural network inference — multiply two numbers, add into an accumulator - **Systolic Array** (Concept): a grid of MACs that passes data between cells without touching a register file, enabling high compute-to-bandwidth ratios - **FPGA** (Technology): Field-Programmable Gate Array — reprogrammable logic fabric used where workloads change frequently - **ASIC** (Technology): Application-Specific Integrated Circuit — custom silicon optimized for one workload - **TPU** (Technology): Google's Tensor Processing Unit, organized around a few large systolic arrays - **SM / Streaming Multiprocessor** (Technology): the GPU core unit, containing scalar, vector, and matrix (Tensor Core) execution resources

#chip-design#hardware#ai-accelerators
Building AlphaGo from scratch – Eric Jang
2:37:17
EN/ZH
Watch with Captions
Dwarkesh Patel2 months ago

Building AlphaGo from scratch – Eric Jang

Eric Jang spent his sabbatical rebuilding AlphaGo with modern tools, and the result is a two-and-a-half-hour technical walkthrough that doubles as a lens on how RL actually works—and why the naive policy-gradient approach baked into LLM training has fundamental limits that MCTS sidesteps. The conversation moves from Go rules through MCTS, neural architecture, self-play training, and off-policy data, before landing on what Jang observed running an automated AI research loop on his own project. ## [00:00] Basics of Go Go defeated brute-force search not by being solved but by being approximated. Jang explains what drew him to rebuild AlphaGo: the mystery of how a ten-layer network can amortize the cost of a game tree whose branching factor makes exhaustive search literally larger than the number of atoms in the universe. The early minutes cover the rules—territory control, liberties, captures, ko—and the Tromp-Taylor scoring convention that resolves ambiguous positions algorithmically rather than relying on human consensus. The scoring difference matters because it maps directly onto how computers must evaluate positions: a human glances at a surrounded group and accepts its fate, while a computer needs an unambiguous rule to count contested intersections at the end of a game. > *"When I saw the early breakthroughs on AlphaGo in 2014, 2015, 2016 and so forth, it was profound to see how smart AI systems could become and the computational complexity class they could tackle with deep learning."* ## [08:06] Monte Carlo Tree Search Rather than building out the full game tree (361 legal moves, 300-move games, search space exceeding the atom count of the universe), AlphaGo uses MCTS to interactively select which tree branches are worth expanding. The core data structure is a node per board state, storing a visit count and a Q value—the running average win rate across all rollouts through that node. The action-selection formula (PUCT) balances exploitation with exploration: a logarithmically growing bonus pushes the algorithm toward under-visited nodes, then decays as simulations accumulate and Q becomes reliable. Jang traces why this UCB-derived approach bounds regret, why Go's determinism means the probabilities in MCTS are artifacts of Monte Carlo averaging rather than genuine stochasticity, and how the search tree can be pruned by merging transposition-equivalent positions. > *"AlphaGo's core conceptual breakthrough was using neural nets to make this search problem tractable."* ## [31:53] What the neural network does Two networks replace two expensive operations inside MCTS. The value network maps a board state to a win-probability scalar, short-circuiting the need to roll out games to terminal states. The policy network outputs a distribution over legal moves, focusing the search tree toward promising children and away from the long tail of irrelevant ones. Jang tried both ResNets and transformers on his reimplementation. For the small-data regime of a personal GPU setup, ResNets outperformed transformers—transformers need global attention to connect far-apart board features, but they also need more data to learn local invariances. KataGo's key architectural insight was pooling global features explicitly through the residual stack so that battles on opposite sides of the 19x19 board could influence each other without requiring full attention. > *"For small data regimes, my experience is that ResNets still outperform transformers and give you more bang for the buck at lower budgets."* ## [01:00:22] Self-play Self-play is where AlphaGo bootstraps from knowing nothing to superhuman strength. After every game, MCTS produces a sharpened move distribution—more peaked than the raw policy network's prior—and that sharpened distribution becomes the training target for the policy head. The policy network is being distilled toward the MCTS output, which means each subsequent generation of games starts from a better prior and gets more improvement per search step. Jang frames this as test-time scaling with a compounding dividend: distilling 1,000 MCTS simulation steps into the policy network shifts the starting point of the next training round, so a second 1,000 steps buys a win rate that would have required 2,000+ steps without distillation. Crucially, every move in every game generates a supervision target—not just the winner—which is why the variance of the learning signal is vastly lower than naive policy-gradient approaches. > *"The beauty of how AlphaGo trains itself is that it can actually take this final search process—the outcome of the search process—and tell the policy network, 'Hey, instead of having MCTS do all this legwork to arrive here, why don't you just predict that from the get-go?'"* ## [01:25:27] Alternative RL approaches Jang constructs a careful thought experiment: what if you replaced the MCTS objective with the naive policy-gradient approach LLMs use—find the game winner and reinforce all moves from that game? In a league of 100 evenly-matched agents where one squeaks out a 51-49 record due to a single critical move, the training dataset is overwhelmingly diluted with moves that carry no signal. The one informative move is buried in roughly 30,000 irrelevant ones. This credit-assignment problem is the root of why advantage functions and baselines exist in RL. Subtracting a value baseline converts the raw return signal into an advantage—how much better than average each action actually was—and dramatically reduces gradient variance. Q-learning and TD methods approximate that advantage without needing full rollouts, which is why they matter for domains where MCTS is unavailable. > *"Importantly, what it is doing is saying: for every action we took, we did a pretty exhaustive search on MCTS to see if we could do better, and we're going to make every action that we took better by having the policy network predict that outcome instead."* ## [01:45:36] Why doesn't MCTS work for LLMs The PUCT exploration formula assumes a bounded, discrete action space and a value function that generalizes across positions. Go satisfies both. LLM reasoning satisfies neither: the token vocabulary is so large that you will almost never revisit the same partial sequence, and there is no position-level value function that reliably tells you whether a partially completed chain of thought is on track to solve the problem. Jang notes that LLMs do exhibit something that superficially resembles tree search—reconsidering, backtracking, hedging—but this emerges from in-context behavior rather than explicit tree construction. He leaves open the possibility that forward search could return in some form, particularly for domains like mathematics where intermediate states have a more rigid logical structure. The fundamental bottleneck is the absence of a trustworthy, query-efficient value function at the token level. > *"In an LLM, you're most likely never going to sample the same child more than once. If you have multiple steps of thinking, because language is so broad and open-ended, a discrete set of actions is not really an appropriate choice for an LLM."* ## [02:00:58] Off-policy training Dwarkesh raises a puzzle: every AI researcher warns against off-policy training, yet AlphaGo Zero runs fine with a large replay buffer full of games generated by older policy versions. Jang resolves this through the DAgger lens: what matters is not whether data is strictly on-policy, but whether the distribution of states in the buffer covers the states the current policy will actually visit, plus a reasonable neighborhood around them. The replay buffer works in AlphaGo because game states from recent checkpoints still lie near the current policy's distribution. The failure mode—labeling states so far from the current policy that the agent learns optimal actions for positions it will never reach—is a real risk in robotics, where distributional shift is severe. The practical recipe that emerged from systems like QT-Opt is to use off-policy data for reward shaping while keeping the policy gradient on-policy. > *"What you want in an algorithm like this is to have mostly states that you would visit, but then a small or reasonable percentage of states in this high-dimensional tube around your optimal trajectories."* ## [02:11:51] RL is even more information inefficient than you thought Dwarkesh lays out a two-dimensional inefficiency argument. The first dimension is the one everyone knows: policy-gradient RL requires full trajectory rollouts before any learning signal arrives, so as agents tackle longer-horizon tasks, samples per FLOP collapse. The second dimension is bits per sample. Early in training, an LLM with a 100K-token vocabulary that has to discover "blue" by random sampling needs on the order of 100K rollouts just to see one success—whereas supervised cross-entropy loss tells the model exactly how far its distribution was from "blue" on every step. MCTS escapes both problems. It produces a supervision target at every single move, and that target is strictly better than the current policy—not merely a binary win/loss signal smeared across thousands of tokens. Jang's observation: you are never in a situation where MCTS gives you zero signal, unless the policy has already converged to match the MCTS distribution exactly. > *"You're never in a situation where the MCTS is giving you no signal, unless your MCTS distribution converges to exactly what your policy network predicts."* ## [02:22:05] Automated AI researchers Jang ran much of his AlphaGo project through an automated LLM coding loop, giving a ground-level account of where AI research automation succeeds and where it still fails. On hyperparameter optimization, current models do genuine grad-student work: they diagnose gradient flow problems, rewrite data-loader augmentations, and squeeze measurable perplexity improvements on fixed budgets. On experiment execution and plotting, a simple skill description generates a full experimental suite with analysis. What the models cannot reliably do is lateral thinking—recognizing that a research track is structurally unpromising and jumping to a different framing before accumulating more dead-end experiments. Jang ran into this repeatedly: models would grind down a dead-end track rather than stepping back and asking whether the track was the right one. His thesis is that this is a training signal problem—building RL environments with the right outer loop, like Go, may be what eventually teaches models to escape local research dead ends. > *"What I find is that the current closed models the public can access today don't seem to be that great at selecting what the next experiment should be in a given track. They don't seem to be able to step back and do the lateral thinking of, 'Wait a minute, this track doesn't really make sense.'"* ## Entities - **Eric Jang** (Person): VP of AI at 1X Robotics; previously senior research scientist at Google Brain/DeepMind Robotics; rebuilt AlphaGo on sabbatical. - **Dwarkesh Patel** (Person): Host of the Dwarkesh Podcast; co-develops the bits-per-FLOP RL inefficiency analysis during the interview. - **AlphaGo / AlphaZero** (Software): DeepMind's Go-playing systems combining MCTS with deep neural networks; the technical centerpiece of the episode. - **KataGo** (Software): Open-source Go engine by David Wu (Jane Street) that achieved 40x compute reduction over AlphaGo Zero; Jang's primary reference implementation. - **Monte Carlo Tree Search (MCTS)** (Concept): Iterative search algorithm balancing exploitation and exploration via UCB/PUCT; the episode's central analytical lens. - **Credit assignment problem** (Concept): Difficulty in RL of determining which actions in a long trajectory caused a positive outcome; motivates advantage functions, baselines, and value networks. - **DAgger** (Concept): Dataset Aggregation algorithm; explains why replay buffers in AlphaGo are tolerable as long as buffer states stay near the current policy's distribution. - **Andrej Karpathy** (Person): Referenced for the phrase "sucking supervision through a straw" describing policy-gradient RL's sparse learning signal over long token trajectories.

#alphago#monte-carlo-tree-search#reinforcement-learning
Why AI Won’t Replace Mathematicians Yet – Terence Tao
4:12
EN/ZH
Watch with Captions
Dwarkesh Patel4 months ago

Why AI Won’t Replace Mathematicians Yet – Terence Tao

Terence Tao discusses the evolving role of AI in mathematics, asserting that while AI will automate many routine tasks, it will not fully replace human mathematicians but rather shift their focus to new frontiers. He emphasizes the future of human-AI collaboration and the unpredictable nature of AI's long-term impact on scientific discovery. ## [00:10] AI's Current Role in Frontier Math Terence Tao explains that AI is already performing 'frontier math' that humans cannot, though it's a different kind of frontier. He likens this to how calculators expanded mathematical capabilities in the past, handling tasks beyond human capacity but in a specialized way. > *in some ways they're already doing frontier math that is super intelligent that humans can't do but it's a different frontier from what we're used to.* ## [00:52] AI as an Automation Tool, Not a Replacement Tao predicts that within a decade, AI will handle many routine tasks currently performed by mathematicians, allowing humans to focus on more complex, important problems. He draws parallels to historical shifts where tools like computers automated tasks previously done by human 'computers' or how genome sequencing became automated, yet fields like genetics continued to evolve to new scales. > *within a decade a lot of things that mathematicians currently do... can be done by AI. But we will find that that actually wasn't the most important part of what we do.* ## [02:46] The Future of Human-AI Collaboration in Math Dwarkesh Patel asks about AI autonomously solving Millennium Prize Problems. Terence Tao believes that 'hybrid human plus AIs' will dominate mathematics for much longer, as current AI lacks all the necessary ingredients for a complete replacement of intellectual tasks, functioning more as a complementary tool. > *I do believe that that hybrid human plus AIs will will dominate mathematics for a lot longer.* ## [03:43] Unpredictable Impact on Scientific Discovery Tao acknowledges that while AI will accelerate science and new discoveries, there's also a possibility it could inhibit certain types of progress by 'destroying serendipity.' He concludes that the future impact of AI on scientific discovery is highly unpredictable. > *it's possible that also by somehow destroying serendipity, we we actually inhibit certain types of progress.* ## Entities - **Terence Tao** (Person): Guest speaker, a prominent mathematician. - **Dwarkesh Patel** (Person): Host of the podcast. - **AI** (Concept): Artificial Intelligence, discussed in its role in mathematics and scientific discovery. - **Mathematica / Wolfram Alpha** (Software): Computational tools mentioned as examples of automation in mathematics. - **Millennium Prize Problems** (Concept): Seven unsolved problems in mathematics for which a $1 million prize is offered for each solution.

#ai#mathematics#terence-tao
Terence Tao – How the world's top mathematician uses AI
1:23:44
EN/ZH
Watch with Captions
Dwarkesh Patel4 months ago

Terence Tao – How the world's top mathematician uses AI

Tao and Dwarkesh use Kepler's discovery of planetary motion as a lens for what AI is actually changing in science. Tao argues hypothesis generation is now nearly free, so the bottleneck moves to evaluation, peer review, and the test of time. Today's AIs win on breadth (try every standard technique on every problem) while humans win on depth (build cumulatively on partial progress) — so hybrid configurations will dominate mathematics for at least another decade. ## [00:00] Kepler was a high temperature LLM Tao retells how Kepler got to the three laws of planetary motion. Kepler started from a wrong-but-beautiful theory — Platonic solids inscribed between the planets' orbits — and only abandoned it after grinding Tycho Brahe's stolen naked-eye observations for years. The ellipses, equal-areas, and cube-square law came out of decade-long data analysis, with Newton's explanation a century later. Dwarkesh's framing: Kepler resembles a high-temperature LLM cycling through random relationships against a verifiable dataset. Tao agrees on the mechanics but pushes back on the bottleneck. Idea generation was already cheap — Kepler had no shortage of theories. What he needed was Brahe's order-of-magnitude better data and the patience to discard ideas the data killed. > *But as you say, it has to be matched by an equal amount of verification, otherwise it's slop.* ## [11:44] How would we know if there's a new unifying concept within heaps of AI slop? Tao: if AI has driven idea generation to near-zero cost, peer review and the test of time become the new constraint. Journals are already drowning in AI-generated submissions. The standing of any idea depends on what later science does with it — Copernicus was less accurate than Ptolemy until Kepler completed the picture — so the assessment is hard to automate from inside the moment. Dwarkesh asks how science would identify a Bell-Labs-style unifying concept (Shannon's bit, the transformer) buried in millions of mediocre papers. Tao's answer points at the part that may stay human: scientists don't just produce theories, they tell stories that convince other scientists to invest years in following up. Darwin's prose did the work that Newton's Latin equations didn't. > *AI has driven the cost of idea generation down to almost zero, in a very similar way to how the internet drove the cost of communication down to almost zero.* ## [26:10] The deductive overhang Tao on the under-explored signal in existing data. Astronomy has been the discipline that extracts maximum information from minimal data for centuries — which is also why quant hedge funds preferentially hire astronomy PhDs. He gives one favorite example: researchers measured how often scientists actually read the papers they cite by tracking which typos propagated through citation chains. He suggests the same sociology-of-science treatment for AI progress itself — mining citation patterns, conference mentions, and other footprints to detect whether a result actually constituted progress, rather than waiting for the test of time to do it slowly. > *One takeaway was that the deductive overhang in many fields could be so much bigger than people realize.* ## [30:31] Selection bias in reported AI discoveries AI has solved roughly 50 of ~1,100 Erdős problems, then plateaued. Tao explains the selection effect: those 50 had near-zero literature — one obscure technique plus one known result was enough, and AI tools are excellent at "try every standard combination." When the problem has 80% of the work done by existing methods, AI clears it. When it needs a genuinely new technique, the tools stall, and the per-problem success rate from systematic sweeps is 1-2%. Tao's metaphor: AI tools are jumping robots loose in a mountain range, in the dark. They can clear short walls humans can't reach, but they can't grab a handhold, stay there, and pull up from partial progress. The bullish reading — once AIs reach a given level, you can run a million parallel copies on a million problems, which no human community can do — is also the structural reason science needs new paradigms that actually exploit breadth. > *They excel at breadth, and humans excel at depth, human experts at least.* ## [46:43] AI makes papers richer and broader, but not deeper Tao on his own working pattern: papers now carry more code, more figures, deeper literature surveys, because the auxiliary tasks got roughly 5x cheaper. The actual core — solving the hardest part of a problem — still happens on pen and paper. He'd be reluctant to call himself "2x more productive" because the metric isn't one-dimensional; what changed is the type of paper he writes, not the rate at which he answers the question he started with. The cleverness-vs-intelligence distinction lands in the same place. When two humans collaborate on a math problem, each failed prototype becomes a foothold for the next. With current AIs, a new session forgets what the last one figured out. The cumulative pull-up step is missing — only brute trial-and-error and (eventually) absorption into the next training run. > *It's made the papers richer and broader, but not necessarily deeper.* ## [53:00] If AI solves a problem, can humans get understanding out of it? Could an AI prove the Riemann hypothesis in Lean and leave us none the wiser? Tao isn't worried. Lean has the property that any proof can be decomposed atomically — each lemma can be inspected, ablated, and tested in isolation. So even a 3,000-line generated proof becomes raw material: other AIs can refactor for elegance, other humans can extract the conceptual content, and the artifact is still useful even if the original derivation was opaque. He predicts an entire profession of mathematicians whose job is to take giant Lean-generated proofs apart and find the ideas inside them — a kind of proof archaeology, with both human judgment and AI ablation tools. > *You'll get a lot more mileage out of the interplay of humans collaborating with these tools.* ## [59:20] We need a semi-formal language for the way that scientists actually talk to each other Dwarkesh asks what a semi-formal language for mathematical strategies (as opposed to mathematical proofs) would look like. Tao traces the question through Gauss's prime number theorem — the first major statistical conjecture in math, derived from raw data before any proof existed — and through the twin prime conjecture, which mathematicians believe because the random model of the primes predicts it. Math has both rigorous proofs and rigorous heuristics; only the proof side has been formalized into something Lean can check. The reason the heuristic side hasn't been formalized: any RL-checkable grader becomes a target for exploitation, and the subjective part of "this argument is convincing" doesn't admit a hackable framework yet. Tao would love a way to benchmark conjecture-generation and strategy-selection at scale, possibly by running small AIs in toy mathematical universes and watching what strategies emerge. > *There's some subjective aspect of science that we don't know how to capture in a way that we can insert AI into it in any useful way.* ## [69:48] How Terry uses his time Tao on how he absorbs new subfields. He places himself as a fox in Berlin's sense — a little about everything, occasionally a hedgehog when needed. The driver is a completionist obsession: if another mathematician can prove a result with a technique he doesn't know, he has to chase down what their trick was. (He had to quit video games for the same reason.) Collaboration with other mathematicians is the main vehicle, and writing things down on his blog is the memory aid he developed after repeatedly losing arguments six months after deriving them. On his calendar, Tao deliberately leaves serendipity room. He'd hate to optimize his time so tightly that he never sits in a meeting outside his comfort zone. The year he spent at the Institute for Advanced Study confirmed the trap — two weeks of pure research were great, then he ran out of inspiration. The accidental discovery on the next library shelf, the casual hallway chat, and the meeting he reluctantly attended were doing more work than they looked. > *Those serendipitous interactions may not seem optimal, but they are actually really important.* ## [77:05] Human-AI hybrids will dominate math for a lot longer When will AI just do mathematics? Tao reframes — AI already does math humans can't, since calculators, just on a different frontier. Within roughly a decade he expects much of what graduate students currently do — applying standard techniques, grinding literature — will move to AI, but the field will move up a level the way it did when computer algebra systems absorbed symbolic integration. Genetics didn't end when sequencing got cheap; it scaled up to ecosystems. Math will do the same. His advice to students entering math now: assume change, but get your credentials the old-fashioned way — for now there's still no substitute for working through math the traditional path. At the same time, stay adaptable enough that you can use entirely new modes of research as they appear, including ones that don't exist yet. The unusual fact is that with AI tools and Lean, a high schooler can contribute to real math research today, which wasn't true five years ago. > *I guess I do believe that hybrid human plus AIs will dominate mathematics for a lot longer.* ## Entities - **Terence Tao** (Person): Fields medalist (2006), UCLA mathematician, writes regularly on AI's role in mathematical research. - **Dwarkesh Patel** (Person): Host of the Dwarkesh Podcast; long-form interviews on AI, science, and technology. - **Johannes Kepler** (Person): Astronomer (1571-1630) who derived the three laws of planetary motion from Tycho Brahe's observations. - **Tycho Brahe** (Person): Danish naked-eye astronomer whose decades of planetary observations were the dataset Kepler needed. - **Lean** (Software): Proof assistant in which mathematical proofs are formalized and can be checked, decomposed, and ablated atomically. - **Erdős problems** (Concept): The roughly 1,100 open problems posed by Paul Erdős; AI has solved ~50, almost all with near-zero prior literature. - **The deductive overhang** (Concept): The idea that existing data already encodes far more derivable knowledge than has been extracted, with astronomy as the model. - **Riemann hypothesis** (Concept): Unsolved conjecture on prime distribution; the test case for whether an AI proof would advance human mathematical understanding.

#ai-for-math#terence-tao#kepler