<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Suraj Nandan</title>
    <description>The latest articles on DEV Community by Suraj Nandan (@suraj_nandan).</description>
    <link>https://dev.to/suraj_nandan</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3859390%2F61fb1878-a099-48c3-a66a-2efc6ed32a99.jpeg</url>
      <title>DEV Community: Suraj Nandan</title>
      <link>https://dev.to/suraj_nandan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/suraj_nandan"/>
    <language>en</language>
    <item>
      <title>Exchange Fees, Delays and Friction: The Toll of a Divided Monetary Map</title>
      <dc:creator>Suraj Nandan</dc:creator>
      <pubDate>Sun, 06 Dec 2026 03:30:00 +0000</pubDate>
      <link>https://dev.to/suraj_nandan/exchange-fees-delays-and-friction-the-toll-of-a-divided-monetary-map-1gip</link>
      <guid>https://dev.to/suraj_nandan/exchange-fees-delays-and-friction-the-toll-of-a-divided-monetary-map-1gip</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;This one’s the companion to the post the whole publication grows out of → &lt;strong&gt;&lt;a href="https://dev.to/suraj_nandan/why-does-every-nation-still-print-its-own-cash-2dek"&gt;Why Does Every Nation Still Print Its Own Cash?&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;We never really question it. Roughly 180 different currencies, give or take one per country. The dollar, the euro, the yen, the peso, the rand, the won. It feels as natural as the borders drawn on a map - just the way the world is.&lt;/p&gt;

&lt;p&gt;But stop for a second and ask a question almost nobody asks: what does it actually &lt;em&gt;cost&lt;/em&gt; to run a single planet on 180 separate, incompatible monies? Not philosophically. Literally. In dollars.&lt;/p&gt;

&lt;p&gt;Because heres the uncomfortable truth - every single time value crosses one of those ~180 borders, it pays a toll. A fee here, a spread there, days of delay, money frozen in transit. And those tolls, added up across the whole world, are one of the largest invisible taxes on earth. Nobody ever sends you the bill. So today, lets add it up.&lt;/p&gt;

&lt;p&gt;I’ll warn you now: once you see this number, you can’t unsee it. The friction you’ve spent your whole life treating as background noise turns out to be the whole story.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;First - the machine the division forces us to build&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Start with the sheer machinery a divided world requires. Because we have 180 currencies instead of one, we need a colossal global machine whose entire job is just... swapping between them. Its called the foreign exchange market, and its the biggest financial market that has ever existed.&lt;/p&gt;

&lt;p&gt;How big? Around &lt;strong&gt;$9.6 trillion changes currency every single day&lt;/strong&gt; - thats the latest figure from the Bank for International Settlements, the central bank of central banks. Every day. That one market dwarfs all the world’s stock markets combined. An ocean of money, sloshing back and forth, doing nothing more productive than turning one currency into another so that trade can happen at all.&lt;/p&gt;

&lt;p&gt;And every one of those swaps carries a spread - a small cut for whoever sits in the middle. On nine and a half trillion dollars a day, “small” cuts add up to staggering sums. Now, not all of that trading is real businesses paying real bills - a lot of it is finance trading with itself. But the point stands: an entire planetary industry exists, takes its cut, and employs whole cities of people, for one reason only. Money is divided.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Layer one - the cruelest fee falls on the poorest&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Now lets follow the bill down to the people who feel it most sharply. Every year, migrant workers send roughly &lt;strong&gt;$905 billion&lt;/strong&gt; back home to their families - money earned cleaning hospitals, building skyscrapers, picking fruit, caring for other people’s children, far from everyone they love.&lt;/p&gt;

&lt;p&gt;And the system takes a bite at the border. The global average cost to send $200 home is about &lt;strong&gt;6.4%&lt;/strong&gt; more than double what the United Nations says it should be. Send $200, and roughly $13 just... evaporates. Gone. For a worker counting every coin, $13 might be a meal, a schoolbook, a day’s wage.&lt;/p&gt;

&lt;p&gt;Spread that 6.4% across $905 billion a year and you’re skimming &lt;em&gt;tens of billions of dollars&lt;/em&gt; - much of it from the poorest, most vulnerable hands on the planet, the people who can least afford to lose a cent. Thats not a glitch in the system. Thats the price of value crossing a currency border, paid by the people least able to pay it. If you want a single reason to care about any of this, its that.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Layer two - business fees, and trillions frozen in transit&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Businesses pay too, just far less visibly. Payments between companies across borders run to somewhere around &lt;strong&gt;$150 to $180 trillion a year.&lt;/strong&gt; Even a fee that sounds like a rounding error - one tenth of one percent works out to roughly &lt;strong&gt;$145 billion a year&lt;/strong&gt; on the wholesale flows alone. For smaller, everyday business payments, the cut runs ten times higher than that.&lt;/p&gt;

&lt;p&gt;But the visible fee is the least of it. The real damage hides in two places: fat exchange-rate markups quietly baked in, and the big one - money &lt;em&gt;frozen in transit.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Because the old system is slow. A payment can crawl through a chain of banks for three to five days. And because each bank has to pre-fund accounts in every currency it deals in, somewhere between &lt;strong&gt;$400 billion and over a trillion dollars&lt;/strong&gt; sits frozen around the world at any given moment - money parked, idle, earning nothing, just sitting there to bridge the gaps between currencies. A company waiting four days for a $500,000 payment has half a million dollars it simply can’t use. Multiply that by every business on earth, every day.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Layer three - paying just to stand still&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Then theres the cost of the currencies refusing to sit still. When you earn in one money and owe in another, every little wobble between them can wipe out your profit margin overnight. So companies spend a fortune on “hedging” financial insurance against currency swings. Forwards, options, swaps; whole desks of people whose job is managing the risk that the euro moves against the dollar before payday.&lt;/p&gt;

&lt;p&gt;Billions a year, spent not to grow, not to build, not to hire - just to stand still &lt;em&gt;safely&lt;/em&gt; while the currencies lurch around underneath them. In a one-money world, that entire cost is simply zero.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Layer four - the upside-down transfer nobody sees&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Heres a cost almost no one notices, and its quietly brutal. To protect their own fragile currencies, poorer countries hoard the strong ones - overwhelmingly the dollar. Across the world, nations sit on something like &lt;strong&gt;$12 trillion&lt;/strong&gt; in foreign reserves, a huge chunk of it parked in low-yield assets of the wealthiest economies.&lt;/p&gt;

&lt;p&gt;Read what that actually means. The world’s poorer economies are lending money &lt;em&gt;cheaply&lt;/em&gt; to the richest one - while turning around and borrowing for themselves at far higher rates. Its a silent, enormous, upside-down river of wealth: flowing from those who have less, to the one that already has most. And it exists because, in a world of 180 separate monies, you need a giant pile of someone else’s currency just to feel safe in your own country.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Layer five - and sometimes the whole bill arrives in a week&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Sometimes the cost doesn’t trickle. It crashes down all at once. Because when you have 180 separate currencies, you have 180 separate things that can break and the fragile ones break with grim regularity.&lt;/p&gt;

&lt;p&gt;Argentina. Turkey. Lebanon. Sri Lanka. Over and over, the same story: a national currency cracks, and within days a family’s entire life savings money they earned honestly and saved carefully, doing everything right simply evaporates. Not because they gambled. Not because they made a mistake. Because the money they were &lt;em&gt;forced&lt;/em&gt; to hold, by the accident of where they were born, failed underneath them. There is no crueler line item on this whole invoice than that one.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Layer six - yes, even your holiday&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;And if all of this still feels far away - happening to migrant workers and corporations and distant economies, but not to you here’s the part that reaches into your own pocket. Every time you change money at an airport booth, or tap “yes” when a foreign card machine helpfully offers to charge you “in your own currency,” you quietly hand over somewhere between &lt;strong&gt;5 and 12%&lt;/strong&gt; in a marked-up rate. A small tax, paid by almost everyone, on almost every trip. You’ve probably paid it a dozen times without ever knowing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;So add the whole thing up&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Now stack the layers. The spreads on $9.6 trillion of daily currency trading. The remittance fees taken from the poorest. The business charges and the trillion dollars frozen in transit. The billions burned on hedging. The upside-down reserve drag. The currency crises that vaporize savings. The quiet skim on every holiday.&lt;/p&gt;

&lt;p&gt;Nobody ever totals this invoice, because its scattered across a thousand different places and a hundred different countries a little here, a little there, never gathered in one line. But add it up honestly and, conservatively, the gaps between our monies cost the world &lt;em&gt;hundreds of billions of dollars a year.&lt;/em&gt; Once you count the trapped capital, the reserve drag, and the wreckage of the crises, you are very plausibly into the &lt;em&gt;trillions.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Now the twist - none of this is the cost of money&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Heres the part that should genuinely make you sit up. Read it slowly, because its the whole point.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;None of this is the cost of money.&lt;/strong&gt; Money is just numbers in a ledger now. Moving it should be as instant and as nearly-free as sending a text message across the world. Every single thing on that invoice - every fee, every frozen dollar, every wiped-out life savings, every holiday skim is not the cost of money. Its the cost of money being &lt;em&gt;divided.&lt;/em&gt; The cost of running a connected planet on 180 disconnected systems, built for a slower century and held together with duct tape and delay.&lt;/p&gt;

&lt;p&gt;And we know it can be different because its already starting to change. The very same value that takes days and a fat cut through the old pipes now moves in &lt;em&gt;seconds, for a fraction of a percent,&lt;/em&gt; across the new digital rails: the stablecoins and tokenized systems we keep writing about here. The bill, it turns out, was never a law of physics. It was a design choice. An expensive, invisible, inherited one and the world is, slowly and quietly, starting to choose differently.&lt;/p&gt;

&lt;p&gt;So the next time someone shrugs and tells you a slow, fragmented, expensive financial world is just “how things are” youll know the number hiding behind that shrug. And youll understand exactly why the whole planet is, brick by brick, beginning to build its way out of it.&lt;/p&gt;

&lt;p&gt;That’s the thread running under everything at Naked Market: the friction you stopped noticing &lt;em&gt;is&lt;/em&gt; the story.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Keep going&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://dev.to/suraj_nandan/why-does-every-nation-still-print-its-own-cash-2dek"&gt;Why Does Every Nation Still Print Its Own Cash?&lt;/a&gt; — the bigger thesis this invoice belongs to.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/suraj_nandan/the-quiet-transfer-who-gets-richer-when-everything-costs-more-240i"&gt;The Quiet Transfer: Who Gets Richer When Everything Costs More&lt;/a&gt; — another hidden bill, and the people quietly collecting it.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/suraj_nandan/the-192-billion-secret-running-through-traditional-lending-3pk1"&gt;The $192 Billion Secret Running Through Traditional Lending&lt;/a&gt; — the new rails that erase most of these costs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Naked Market exists to close the gap between what’s actually happening in global finance and what eventually makes it to the headlines. If you want to see the hidden costs and the quiet rebuilds &lt;em&gt;before&lt;/em&gt; they become obvious - follow the Market Daily series and we’ll keep going.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;more soon.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>macrofinance</category>
      <category>hiddenincentives</category>
      <category>money</category>
      <category>futureofmoney</category>
    </item>
    <item>
      <title>A Planet-Wide Payment Unit: Fantasy or Trajectory?</title>
      <dc:creator>Suraj Nandan</dc:creator>
      <pubDate>Sat, 05 Dec 2026 13:30:00 +0000</pubDate>
      <link>https://dev.to/suraj_nandan/a-planet-wide-payment-unit-fantasy-or-trajectory-45o9</link>
      <guid>https://dev.to/suraj_nandan/a-planet-wide-payment-unit-fantasy-or-trajectory-45o9</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;This is the post the whole publication is built around. If you only read one, read this → and the shorter intro lives here: &lt;strong&gt;&lt;a href="https://dev.to/suraj_nandan/why-does-every-nation-still-print-its-own-cash-2dek"&gt;Why Does Every Nation Still Print Its Own Cash?&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Right now, you can video-call a stranger on the far side of the planet — free, instant, in crystal clarity. You can fire a photo to six countries at once and it lands before you’ve set your phone down.&lt;/p&gt;

&lt;p&gt;But try to send those people &lt;em&gt;money.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Suddenly it’s 1950 again. Forms. Fees. A three-to-five day wait. A currency conversion quietly skimming a slice off the top. Your money shuffles through a chain of banks like a letter being carried across borders by mule.&lt;/p&gt;

&lt;p&gt;We live in a world where information is already one connected, borderless thing and money is still chopped into roughly 180 separate national systems that barely speak to each other.&lt;/p&gt;

&lt;p&gt;Now, the easy thing to do here is what every breathless crypto account does: wave hands, shout “one world currency is coming,” and sell you something. That’s not what this is. This is the opposite. I want to walk you, slowly and on the evidence, through &lt;em&gt;why&lt;/em&gt; the planet’s money keeps drifting toward a single connected system - using history, the structural mechanics, and the actual papers being written by the most powerful financial institutions on earth.&lt;/p&gt;

&lt;p&gt;Because heres the thing almost nobody tells you: “One Earth, One Currency” is not a fringe fantasy. It’s one of the oldest serious ideas in economics. It was proposed at the birth of the modern financial system - by the most famous economist alive and voted down for reasons that had nothing to do with whether it would work. And it has come back, a little more real, after every crisis since. Let me show you.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Part I - The system you were born into is not permanent&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Start by zooming way out. Further than the news. Further than your lifetime.&lt;/p&gt;

&lt;p&gt;Most people walk around with a quiet assumption baked so deep they never examine it: that the money system is just... how things are. Permanent. Like gravity. It isn’t. The rules of global money have been ripped up and rewritten roughly every two generations and almost always in the wreckage of a crisis.&lt;/p&gt;

&lt;p&gt;For a stretch of the 1800s and early 1900s, the world ran on the gold standard - currencies were just names for fixed weights of gold. Then two World Wars and the Great Depression shattered it. In 1944, with the war still raging, 44 nations gathered at a hotel in Bretton Woods, New Hampshire, and built a new order from scratch: the US dollar pegged to gold, and every other currency pegged to the dollar. That system ran the planet for a generation until 1971, when the United States abruptly cut the dollar’s link to gold because it could no longer back all the dollars it had printed. Overnight, the entire world shifted to “fiat” money - money backed by nothing but government promise. The system we all live in now is barely fifty years old. It was an emergency improvisation.&lt;/p&gt;

&lt;p&gt;Sit with that for a second, because its the foundation of everything that follows. The money in your pocket isn’t the end of history. Its just the &lt;em&gt;current&lt;/em&gt; arrangement - the fourth or fifth major one and every previous arrangement felt just as permanent to the people living inside it, right up until the moment it wasn’t. The question was never “will the system change?” The system always changes. The only questions are &lt;em&gt;when&lt;/em&gt;, and &lt;em&gt;into what.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Part II - The road not taken in 1944&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Heres the part of the story that got quietly buried, and its the single most important thing in this whole essay.&lt;/p&gt;

&lt;p&gt;When the world rebuilt money at Bretton Woods in 1944, there were two plans on the table. One came from the American delegation, led by a Treasury official named Harry Dexter White. The other came from the leader of the British delegation - John Maynard Keynes, the most influential economist of the twentieth century.&lt;/p&gt;

&lt;p&gt;And Keynes proposed something radical. Not another national currency dressed up as king. He proposed a brand-new &lt;em&gt;supranational&lt;/em&gt; currency - he called it the &lt;strong&gt;“bancor”&lt;/strong&gt; issued by a global clearing union, through which all international trade between nations would be settled. A neutral world money, belonging to no single country. Eighty years ago, at the founding of the system we still live in, a single global currency wasn’t a crypto-bro tweet. It was the official proposal of the smartest economist in the room.&lt;/p&gt;

&lt;p&gt;It lost. Not because it was unworkable in theory, but because of raw power. The United States came out of World War II holding most of the world’s gold and nearly all of its productive capacity. America didn’t &lt;em&gt;need&lt;/em&gt; a neutral world currency - it preferred a world that ran on &lt;em&gt;its&lt;/em&gt; currency, the dollar. So White’s plan won, Keynes’s bancor was shelved, and the dollar took the throne it still sits on today.&lt;/p&gt;

&lt;p&gt;Heres the haunting footnote: the economist Brad DeLong later observed that on almost every point where Keynes was overruled by the Americans at Bretton Woods, events eventually proved Keynes right. Keep that in your back pocket. We’re going to come back to it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Part III - The flaw that was baked in from day one&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The moment the world chose to run on one nation’s currency instead of a neutral one, it inherited a contradiction that has never been solved. Its not an opinion or a conspiracy - its a structural trap so well-understood that economists gave it a name in 1959. Its called the &lt;strong&gt;Triffin dilemma&lt;/strong&gt;, after the Belgian-American economist Robert Triffin, who walked into the US Congress and calmly explained that the system was doomed.&lt;/p&gt;

&lt;p&gt;The trap goes like this. If the whole world uses your currency, the world needs an endless, growing supply of it - to trade, to save, to hold in reserve. To supply all those dollars, the issuing country (the US) has to pump them out by running permanent deficits, sending more dollars abroad than it takes back. But the more dollars you flood into the world, the more people start to quietly wonder whether each one is really worth what it claims to be. So you’re caught: supply enough money to run the world, and you slowly erode trust in it. Keep it scarce and trustworthy, and you starve the world of what it needs to function. You cannot do both. Ever.&lt;/p&gt;

&lt;p&gt;This is the deep reason the system keeps needing to reset. The flaw doesn’t go away. It just builds pressure quietly between crises, until something cracks. And every time it cracks, serious people look at the wreckage and reach for the same fix Keynes proposed - a neutral money that belongs to no one. Which brings us to the pattern that should genuinely change how you read the news.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Part IV - Crisis is the trigger. Watch 2008.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Heres how change in money actually arrives. Not on a schedule. Not by committee. It arrives when a crisis makes the old system unbearable and at that exact moment, the alternative thats been quietly waiting on the shelf gets pulled down and switched on.&lt;/p&gt;

&lt;p&gt;You don’t have to imagine this. You lived through the clearest example in modern history: 2008.&lt;/p&gt;

&lt;p&gt;When the global financial crisis hit, banks the world had been told were “too big to fail” collapsed or had to be rescued with enormous sums of public money. Trust in the entire centralized, bank-run system of money cratered. And in the middle of that wreckage, on the 31st of October 2008, weeks after Lehman Brothers fell, an anonymous figure calling themselves Satoshi Nakamoto quietly published a nine-page paper titled &lt;em&gt;Bitcoin: A Peer-to-Peer Electronic Cash System.&lt;/em&gt; A money with no bank, no government, no central authority, and a hard cap of 21 million coins that no one could ever inflate away.&lt;/p&gt;

&lt;p&gt;And just so nobody could miss &lt;em&gt;why&lt;/em&gt; it was built, when the network went live on the 3rd of January 2009, Satoshi embedded a single line of text into its very first block - the Genesis Block - forever. The line was a newspaper headline from that morning: &lt;em&gt;“The Times 03/Jan/2009 Chancellor on brink of second bailout for banks.”&lt;/em&gt; A permanent timestamp, and a permanent statement of purpose. Bitcoin was born as a direct answer to a financial system that had just failed ordinary people.&lt;/p&gt;

&lt;p&gt;Now, let me be honest, because thats the whole point of this place. Bitcoin didn’t spring fully formed from the crisis; the cryptographic ideas behind it had been brewing among a group of programmers for years. So the crisis wasn’t the &lt;em&gt;inventor.&lt;/em&gt; But it was unmistakably the &lt;em&gt;trigger&lt;/em&gt; - the moment that turned a fringe idea into something millions of people suddenly wanted, because the alternative had just blown up in front of them.&lt;/p&gt;

&lt;p&gt;And Bitcoin wasn’t even the only world-money idea 2008 dragged back into daylight. In March 2009, in the same wreckage, the governor of China’s central bank, Zhou Xiaochuan, published a remarkable essay. He named the Triffin dilemma, by name, as the root cause of the crisis. He called Keynes’s rejected bancor idea “farsighted.” And he openly proposed moving the world toward a &lt;em&gt;super-sovereign reserve currency&lt;/em&gt; - a neutral global money disconnected from any single nation - built on an existing, little-known IMF instrument called Special Drawing Rights. The central bank of the second-biggest economy on earth stood up after 2008 and essentially said: Keynes was right in 1944, lets finish what he started.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Part V - The same idea, getting more real every cycle&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;So lets count this honestly, because the pattern is almost eerie once you lay it out.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1944:&lt;/strong&gt; Keynes proposes the bancor - a neutral world currency. Rejected. &lt;strong&gt;1969:&lt;/strong&gt; in the strain of the old system, the IMF actually creates Special Drawing Rights - a reserve asset based on a basket of national currencies, the closest thing the world has ever had to a real bancor. It never scales up enough to matter. &lt;strong&gt;2009:&lt;/strong&gt; in the wreckage of the crisis, China formally revives the idea and points the world back at the SDR. And then &lt;strong&gt;2024&lt;/strong&gt; and this is the one that should make you sit up.&lt;/p&gt;

&lt;p&gt;In April 2024, the Bank for International Settlements - the “central bank of central banks,” the most institutionally powerful financial body on the planet published a working paper. Its authors were Agustín Carstens, the head of the BIS, and Nandan Nilekani, the man who built the digital identity and instant-payment systems that now move billions of transactions a month across India. The paper has a name: the &lt;strong&gt;“Finternet.”&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;And heres what it proposes, in their own framing: a future financial system made of “multiple financial ecosystems interconnected with each other - much like the internet.” Built on tokenization and what they call “unified ledgers,” where money, stocks, bonds, and property deeds all live as digital tokens on shared infrastructure, moving instantly across borders without the tangle of middlemen. They wrote, bluntly, that “large swathes of the financial system are stuck in the past” and laid out the blueprint to drag it forward.&lt;/p&gt;

&lt;p&gt;Read that again and notice what just happened. The neutral-world-money idea that started as Keynes’s rejected dream in 1944 is no longer a dream, or a manifesto, or a crypto pitch. Its a &lt;em&gt;technical blueprint&lt;/em&gt;, published by the institution that sits at the center of global central banking. The idea didn’t die across ninety years. It got more concrete with every cycle from a proposal, to a paper, to an IMF instrument, to an engineering spec. That is not noise. That is a direction.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Part VI - Why the direction was always one-way&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Step back from the history for a moment and look at money itself, across all of human time. Because the deepest reason to take this seriously isn’t any single paper - its that money has only ever evolved in &lt;em&gt;one direction.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;We started with barter, dragging goats to market. Then coins - lighter, countable. Then gold. Then paper notes that promised gold. Then paper that promised nothing. Then plastic cards. Then a tap of a phone. Look at that line. Every single step made money &lt;em&gt;lighter, faster, and able to travel further.&lt;/em&gt; Less friction, more reach. In thousands of years, that direction has not once reversed.&lt;/p&gt;

&lt;p&gt;So heres the obvious question almost no one asks: if you extend that line - lighter, faster, fewer borders, every step - where does it end? It ends in the same place every other technology of connection has ended. With the friction at &lt;em&gt;zero&lt;/em&gt;, and the borders gone. One connected system.&lt;/p&gt;

&lt;p&gt;And if &lt;em&gt;that&lt;/em&gt; sounds far-fetched, its only because you weren’t watching the last time it happened - to information.&lt;/p&gt;

&lt;p&gt;Thirty years ago, information was trapped. Different countries, different networks, different systems that couldn’t talk to one another. Then one shared standard - the internet - quietly stitched all those separate networks into a single global one. And suddenly information had no home country. It just moved. Everywhere, instantly, basically free. Money today is sitting &lt;em&gt;exactly&lt;/em&gt; where information sat back then: fragmented, national, slow at the edges. The same force is now coming for it. Thats not my metaphor, by the way - its the BIS’s. They called their blueprint the Finternet for a reason.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Part VII - The pieces are already being bolted together&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Heres where the history stops being history. Because the components of that connected system aren’t theoretical anymore. They’re being assembled right now, in public, at enormous scale and most people have no idea its happening.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The first piece arrived through the back door: stablecoins.&lt;/strong&gt; These are digital tokens pegged one-to-one to a real currency, almost always the US dollar think of them as dollars that live on the internet and move like a text message: instant, global, around the clock, for fractions of a cent. There are now around &lt;strong&gt;$320 billion&lt;/strong&gt; of them - up roughly 50% in a single year and heres the line that should stop you cold: they already move &lt;em&gt;more value on an average day than Visa and Mastercard combined.&lt;/em&gt; This isn’t a fringe experiment. The US passed a law in 2025 (the GENIUS Act) putting official rules around them. Over a thousand banks are plugging in. Visa and Mastercard now settle payments in them.&lt;/p&gt;

&lt;p&gt;And heres the part that ties straight back to everything we’ve written about inflation. Picture someone living in a country where the local money is melting - Argentina, say, or Nigeria. For them, a digital dollar on a phone isn’t a tech toy. Its an escape hatch - a way to hold something stable and send it anywhere, instantly, without begging a bank or a government for permission. Millions are already doing exactly that. Thats not a forecast. Thats this morning. This is “one currency” sneaking in not by treaty, but by ordinary people quietly choosing the money that actually works.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The second piece is the governments’ answer: CBDCs.&lt;/strong&gt; They watched private digital dollars start drifting across their borders and felt a chill because if your citizens save and spend in someone else’s digital money, you slowly lose control of your own. So they’re racing to build their own. Right now, &lt;strong&gt;134 countries&lt;/strong&gt; about 98% of the entire world economy are developing digital versions of their national money. China’s digital yuan has already moved something on the order of $2.3 trillion. India has a digital rupee. Europe is building a digital euro. The list runs into the dozens.&lt;/p&gt;

&lt;p&gt;And the genuinely important part: theyre starting to wire these national digital currencies &lt;em&gt;straight to each other&lt;/em&gt;, through cross-border projects that let central banks settle directly between themselves, skipping the dollar and the slow old international banking network entirely. (Notice the split: the US actually &lt;em&gt;banned&lt;/em&gt; a government digital dollar and bet on private stablecoins instead, while China and others build state-run ones. Two rival roads which matters enormously, and we’ll get to it.)&lt;/p&gt;

&lt;p&gt;Now hold the two pieces side by side - private dollar stablecoins on one side, interoperable government CBDCs on the other and notice they look like rivals but are paving the same highway. Both are wiring the planet with money that is digital, programmable, and borderless. Both are quietly dissolving the walls between national currencies.&lt;/p&gt;

&lt;p&gt;Which is why I think “One Earth, One Currency” was always a slightly wrong picture in people’s heads. It probably won’t be one coin that conquers all the others. It’ll be one connected &lt;em&gt;network&lt;/em&gt; - exactly the Finternet the BIS sketched with maybe many names still printed on the money, but a single system humming underneath. The walls don’t have to be abolished. They just have to become doors.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Part VIII - So when the next crisis comes&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Pull the threads together now, and you can see the whole shape of it.&lt;/p&gt;

&lt;p&gt;The system resets every couple of generations, almost always via crisis. Theres a structural flaw - the Triffin dilemma that guarantees the current dollar-centered arrangement keeps building pressure. The fix the world reaches for, every single time, is a neutral, connected money. That idea has gotten more concrete every cycle, from Keynes’s bancor to the BIS’s engineering blueprint. And for the first time in history, the actual technology to build it - digital, programmable, borderless rails already exists and is running at the scale of trillions.&lt;/p&gt;

&lt;p&gt;In other words: the alternative is no longer waiting on a drawing board. Its sitting on the shelf, built, tested, plugged in. Stablecoins. CBDCs. Unified ledgers. Tokenized everything. All of it live, all of it growing, all of it still treated as “experimental” for now.&lt;/p&gt;

&lt;p&gt;If history is any guide, what turns “experimental” into “the new system” is a shock big enough to make the old one unbearable. 2008 flipped the switch on Bitcoin and dragged the bancor back into daylight. The 2020 pandemic flipped the switch on digital money and sent every central bank on earth scrambling to build a CBDC. Whatever the next great crisis is - a sovereign debt blowup, a currency collapse, a war that weaponizes the old payment pipes one time too many - the pattern says it won’t invent a new system from nothing. It’ll reach for the one already sitting on the shelf, and switch it on.&lt;/p&gt;

&lt;p&gt;I want to be careful here, because careful is the whole brand. This is a &lt;em&gt;pattern&lt;/em&gt;, not a prophecy with a date on it. It could take ten years or forty. It will be messy, partial, and full of false starts. But the direction toward connected, digital, borderless money is not really in doubt anymore. The history points there. The structural flaw pushes there. The technology already arrived there. And the most powerful financial institutions on earth are publishing the blueprints there. You don’t need to believe a prophet. You just need to read what’s already on the table.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Part IX - Now the honest part: the resistance is enormous&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Anyone who sells you this as fast, clean, and inevitable-by-Tuesday is lying to you. So let me be just as rigorous about why it might &lt;em&gt;not&lt;/em&gt; happen smoothly because the counterforce is huge, and pretending otherwise would make me exactly the kind of hype-merchant this newsletter exists to cut through.&lt;/p&gt;

&lt;p&gt;A currency isn’t just money. Its sovereignty. Control over your money is control over your nation - your power to tax, to spend, to respond to a crisis, to defend yourself. No serious country hands that over without a fight. And the US dollar, for all the chatter about its decline, still flat-out dominates - global reserves, trade, debt, oil, the very pipes the system runs on.&lt;/p&gt;

&lt;p&gt;Look hard at the loudest challenger and the picture gets even more honest. The BRICS bloc - the group most motivated to break the dollar’s grip - talks constantly about an alternative. But even they quietly admit a single shared BRICS currency is a distant fantasy. What they’re actually building is interoperable cross-border &lt;em&gt;rails&lt;/em&gt; between their existing currencies, not one new coin. India has said outright it has no plan to replace the dollar. This is a tide, not a switch - it moves in years and decades, with powerful undertows dragging the other way the entire time.&lt;/p&gt;

&lt;p&gt;So no - I’m not telling you a world flag goes up on a single banknote next year. I’m telling you the walls between the world’s monies are thinning, measurably, every year, and that the structural and historical forces behind it are real, old, and documented. Slow and certain are not opposites.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Part X - The question that actually matters&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Which brings us to the part almost no headline will tell you and the part that should matter to you most. Because if money &lt;em&gt;is&lt;/em&gt; converging into one connected digital system, then the real fight was never “one currency or many.” The real fight comes down to a single question: &lt;strong&gt;who holds the keys?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Heres why that question has teeth. Digital money is &lt;em&gt;programmable&lt;/em&gt; money. And programmable money can be watched, frozen, taxed automatically, made to expire, or restricted to certain shops by whoever controls the system. This isn’t paranoia: China has already tested digital money that can only be spent before a certain date, or only at approved merchants. The very BIS blueprint that excites the technologists is the same one that alarms civil-liberties researchers, because a unified, programmable ledger is, by design, a place where every transaction can be seen and shaped. Whoever holds the keys to those rails would hold a power no emperor or bank in history ever had - the ability to see, and quietly steer, every payment on earth.&lt;/p&gt;

&lt;p&gt;So the stakes of One Earth, One Currency were never really about &lt;em&gt;whether&lt;/em&gt; its coming. They’re about &lt;em&gt;how&lt;/em&gt; it gets built. Open - like the internet, owned by no one and usable by everyone, where you hold your own keys? Or closed - a control panel for a handful of states and corporations, where the keys are held over you? That choice is being made right now, quietly, in laws and pilot programs almost no one outside this little world is reading. And remember Keynes: by the time most people look up and notice, the architecture will already be poured.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;The lens to take with you&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;So heres how to actually watch this unfold, instead of drowning in the daily noise of which currency ticked up and which ticked down.&lt;/p&gt;

&lt;p&gt;Stop counting the 180 currencies and arguing over which one “wins.” Watch the &lt;em&gt;walls&lt;/em&gt; between them and watch them quietly coming down, year after year, brick by brick, in every new stablecoin record, every CBDC pilot, every cross-border deal that skips the old pipes, every fresh paper out of the BIS.&lt;/p&gt;

&lt;p&gt;And as those walls fall, keep asking the one question that will actually matter: open, or controlled? Whose hands are on the keys?&lt;/p&gt;

&lt;p&gt;Because the future of money was never going to be a coin. Its a network - one the world has been trying to build since 1944, that a structural flaw keeps demanding, that a crisis will eventually finish, and that we are all about to live inside whether we understand it or not. The whole point of this place is to help you see it being built... while there’s still time to have an opinion about how.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sources &amp;amp; further reading&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Carstens, A. &amp;amp; Nilekani, N. (2024). &lt;em&gt;Finternet: the financial system for the future.&lt;/em&gt; BIS Working Papers No. 1178, Bank for International Settlements.&lt;/li&gt;
&lt;li&gt;Keynes, J. M. (1942–44). Proposals for an International Clearing Union and the “bancor,” presented at the Bretton Woods Conference (1944).&lt;/li&gt;
&lt;li&gt;Triffin, R. (1960). &lt;em&gt;Gold and the Dollar Crisis: The Future of Convertibility&lt;/em&gt; - the “Triffin dilemma” (US Congress testimony, 1959).&lt;/li&gt;
&lt;li&gt;Zhou Xiaochuan (2009). &lt;em&gt;Reform the International Monetary System.&lt;/em&gt; People’s Bank of China.&lt;/li&gt;
&lt;li&gt;Nakamoto, S. (2008). &lt;em&gt;Bitcoin: A Peer-to-Peer Electronic Cash System.&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;International Monetary Fund - Special Drawing Rights (SDR), created 1969.&lt;/li&gt;
&lt;li&gt;Atlantic Council - CBDC Tracker &amp;amp; Dollar Dominance Monitor (2026).&lt;/li&gt;
&lt;li&gt;US GENIUS Act (2025) - federal framework for dollar stablecoins.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Keep going&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://dev.to/suraj_nandan/the-192-billion-secret-running-through-traditional-lending-3pk1"&gt;The $192 Billion Secret Running Through Traditional Lending&lt;/a&gt; — the rails this new money is actually being built on.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/suraj_nandan/the-levers-behind-the-lever-what-the-fed-really-pulls-3375"&gt;The Levers Behind the Lever: What the Fed Really Pulls&lt;/a&gt; — meet the people who run the money, now racing to digitize it.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/suraj_nandan/why-does-every-nation-still-print-its-own-cash-2dek"&gt;Why Does Every Nation Still Print Its Own Cash?&lt;/a&gt; — the shorter intro to this whole thesis.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Naked Market exists to close the gap between what’s actually happening in global finance and what eventually makes it to the headlines. If you want to understand where money is heading and who’s quietly building the rails &lt;em&gt;before&lt;/em&gt; it becomes obvious, follow the Market Daily series and we’ll keep going.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;more soon.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>cryptocurrency</category>
      <category>finance</category>
      <category>economics</category>
      <category>casefiles</category>
    </item>
    <item>
      <title>The Quiet Transfer: Who Gets Richer When Everything Costs More</title>
      <dc:creator>Suraj Nandan</dc:creator>
      <pubDate>Sat, 05 Dec 2026 08:30:00 +0000</pubDate>
      <link>https://dev.to/suraj_nandan/the-quiet-transfer-who-gets-richer-when-everything-costs-more-240i</link>
      <guid>https://dev.to/suraj_nandan/the-quiet-transfer-who-gets-richer-when-everything-costs-more-240i</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;New here? Start with the post the whole publication grows out of → &lt;strong&gt;&lt;a href="https://dev.to/suraj_nandan/why-does-every-nation-still-print-its-own-cash-2dek"&gt;Why Does Every Nation Still Print Its Own Cash?&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Whenever prices climb, the conversation sounds the same. People are angry. Politicians point fingers. The news blames “the economy,” or greedy companies, or some far-off war.&lt;/p&gt;

&lt;p&gt;And almost everyone treats it like the weather. Like bad luck. Something that just... happens to all of us, more or less equally.&lt;/p&gt;

&lt;p&gt;But heres the question nobody stops to ask: if your money is losing its value where is that value actually &lt;em&gt;going?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Because it doesn’t evaporate. Inflation never destroys value. It &lt;em&gt;moves&lt;/em&gt; it - quietly, invisibly, out of one set of hands and into another. And for every single person made poorer when prices rise, someone, somewhere, is being made richer.&lt;/p&gt;

&lt;p&gt;So lets do the thing the headlines never do. Lets follow the money, and find out who’s really on the winning side.&lt;/p&gt;

&lt;p&gt;One idea before we start, because its the key to everything that follows: inflation is not neutral. It was never neutral. It is one of the largest, quietest transfers of wealth on the planet and the reason it survives, decade after decade, is that the people it quietly enriches are exactly the people with the power to keep it going. Stay with me. This’ll change how you read every price tag for the rest of your life.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Winner #1 - The biggest borrower who ever lived&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Start with the single biggest winner of all. Not a person. A government - almost any government.&lt;/p&gt;

&lt;p&gt;Heres why. Governments are the largest borrowers on earth, and they owe staggering, almost unimaginable amounts of money. As I write this, the United States alone owes more than &lt;strong&gt;$39 trillion&lt;/strong&gt; - a number climbing by roughly five billion dollars a day. And nearly every major country is carrying record debt of its own.&lt;/p&gt;

&lt;p&gt;Now ask what inflation does to a debt. If you owe a fixed amount, and money slowly loses its value... your debt gets &lt;em&gt;lighter.&lt;/em&gt; You borrowed in expensive money and you repay in cheap money. Inflation is, very quietly, the easiest method ever invented for a government to shrink what it owes without raising a single tax, passing a single law, or anyone really noticing.&lt;/p&gt;

&lt;p&gt;And it goes further than that. Inflation is itself a kind of tax - the cleverest one in existence. As prices and wages drift up, people get nudged into higher tax brackets and hand over more, even though they’re no richer in real terms. So the government collects more, spends more, &lt;em&gt;and&lt;/em&gt; shrinks its debt, all at the same time. The economist Milton Friedman put it perfectly decades ago: inflation is &lt;em&gt;“taxation without legislation.”&lt;/em&gt; A tax nobody voted for. Nobody signed. And almost nobody can see.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Winner #2 - Anyone who owes at a fixed rate&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That same trick isn’t reserved for governments. It works for ordinary people too as long as you happen to be on the right side of it.&lt;/p&gt;

&lt;p&gt;If you owe money at a fixed rate - a fixed-rate home loan is the classic example -inflation is quietly working &lt;em&gt;for&lt;/em&gt; you. The debt stays the same number, but every year that number means less in real terms, while your wages and the value of the thing you bought tend to drift upward around it. You end up repaying tomorrow’s loan with money worth less than the money you borrowed.&lt;/p&gt;

&lt;p&gt;Now flip it around. If you’re the saver - the careful one, who did the “responsible” thing and kept their money safe in cash - inflation is working against you with exactly the same force. Your pile of cash keeps its number and quietly loses its value. The borrower and the saver live through the identical inflation. It rewards one and punishes the other.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Winner #3 - The people who already own things&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Heres where it starts to feel genuinely unfair because this is the winner that quietly pries open the gap between the wealthy and everyone else.&lt;/p&gt;

&lt;p&gt;When money loses value, the things money buys tend to rise in price. Houses. Stocks. Land. Businesses. Gold. So if you already &lt;em&gt;own&lt;/em&gt; those things, inflation doesn’t hurt you - it inflates your net worth. Your assets float up on the very same tide thats sinking everyone’s cash.&lt;/p&gt;

&lt;p&gt;Picture two people who start in the same place. One owns a home and a basket of stocks. The other rents, and keeps their savings in the bank. Inflation arrives. The first person’s assets rise; the second person’s cash shrinks. Nothing else happened -inflation alone pushed them apart. One was standing on an escalator going up. The other, on a staircase going down.&lt;/p&gt;

&lt;p&gt;And you can watch this happening in real time, right now. Through 2025 and into 2026, as inflation flared back up partly from an oil shock after war broke out with Iran - investors stampeded into the one asset nobody can print: gold. It tore through every record in history, past &lt;strong&gt;$5,500 an ounce&lt;/strong&gt;, after climbing more than 60% in a single year. Thats not a coincidence. Thats what it looks like when people with money rush to protect it from a currency thats quietly losing value and the ones who already held gold got richer simply by standing still.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Winner #4 - Whoever touches the new money first&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This last winner is the most invisible of all and once you see it, you can’t un-see it. It even has a name. Economists call it the &lt;em&gt;Cantillon effect,&lt;/em&gt; after the man who first described it three centuries ago.&lt;/p&gt;

&lt;p&gt;Heres the idea. New money doesn’t reach everyone at the same instant. It enters the economy at specific points through big banks, financial markets, government spending, large corporations near the spigot. And whoever gets that fresh money &lt;em&gt;first&lt;/em&gt; gets to spend it while prices are still low. They buy assets, settle bills, place their bets all at yesterday’s prices. Only &lt;em&gt;later&lt;/em&gt;, once that money has rippled out through the system, do prices climb for everyone else.&lt;/p&gt;

&lt;p&gt;So by the time the new money finally trickles down to your wages and your bank account, the higher prices it created are already sitting there, waiting for you. The people closest to the tap drink first, and they drink clean. The rest of us are stuck at the far end of the pipe, catching a few drips - long after the water has already turned the prices up.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;So who actually pays?&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;By now you can probably name the losers yourself, because they’re just the mirror image of every winner above.&lt;/p&gt;

&lt;p&gt;Savers, whose cash quietly bleeds value. Lenders and pensioners, repaid in money worth less than they were promised. And above all, the people who live on a paycheck because wages are almost always the &lt;em&gt;last&lt;/em&gt; thing to rise, and they rarely rise enough.&lt;/p&gt;

&lt;p&gt;This isn’t abstract. In the year to early 2026, the average paycheck grew about 3.6%, while prices rose about 3.8%. Read that again. A “raise” that, after inflation, was actually a quiet pay cut. Tens of millions of people felt like they were working just as hard, earning more on paper... and slipping backwards anyway. Because they were.&lt;/p&gt;

&lt;p&gt;And heres the cruelest part of the whole thing. Inflation hits the people with the least, the hardest. If you’re wealthy, most of your money lives in assets that rise with inflation. If you’re not, most of your money sits in your bank account and your wallet and rushes straight back out on the things that inflate &lt;em&gt;fastest:&lt;/em&gt; food, rent, fuel, electricity. The rich hold the escalator. The poor hold the cash. Which is why inflation, for all the talk of it hurting “everyone equally,” is one of the most regressive forces in modern economics. A tax that falls heaviest on the people least able to carry it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Why it never really stops&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;So if inflation quietly punishes ordinary people and rewards the powerful - why does almost every country on earth deliberately aim for a little of it, every single year? (They do. The target is usually around 2%.)&lt;/p&gt;

&lt;p&gt;Now you know the answer. Because the winners - governments shrinking their debts, asset-owners watching their wealth swell, the institutions sitting closest to the money tap are precisely the people with the most influence over whether it continues. A steady drip of inflation is the most politically convenient thing imaginable: it quietly funds the state, lifts the wealth of the influential, and the pain lands on millions of ordinary people in a form diffuse enough that they blame “the economy,” or the supermarket, or a war - almost never the design itself.&lt;/p&gt;

&lt;p&gt;Thats not a conspiracy. Nobody needs to twirl a moustache in a back room. Its something simpler, and far more durable than a conspiracy: a set of incentives, all quietly pointing in the same direction.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;The framework - take this with you&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;So heres the mental model to keep. The next time prices rise and everyone around you is asking &lt;em&gt;“why is this happening?”&lt;/em&gt; ask a sharper question instead. Two of them, really:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who owes the most? And who owns the most?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Because those two questions point straight at the people quietly benefiting: the debtors whose debts are shrinking, and the owners whose assets are swelling. Follow the debt, follow the assets, and you’ll find the winners every time - long before the headlines ever name them.&lt;/p&gt;

&lt;p&gt;And then do the only sane thing with that knowledge: stop being a pure saver inside a system thats quietly designed to punish savers. You don’t have to stay at the far end of the pipe. Own things. Understand the game being played with the money in your pocket. Because the value leaving your wallet every year is going &lt;em&gt;somewhere&lt;/em&gt; and now, at least, you can finally see where.&lt;/p&gt;

&lt;p&gt;Thats the whole point of this place: to hand you the lens before everyone else gets one.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Keep going&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://dev.to/suraj_nandan/the-levers-behind-the-lever-what-the-fed-really-pulls-3375"&gt;The Levers Behind the Lever: What the Fed Really Pulls&lt;/a&gt; - meet the people holding the pump that makes all of this happen.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/suraj_nandan/the-192-billion-secret-running-through-traditional-lending-3pk1"&gt;The $192 Billion Secret Running Through Traditional Lending&lt;/a&gt; - where value quietly runs when people stop trusting the leaky bucket.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/suraj_nandan/why-does-every-nation-still-print-its-own-cash-2dek"&gt;Why Does Every Nation Still Print Its Own Cash?&lt;/a&gt; - the bigger story all of this belongs to.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Naked Market exists to close the gap between what’s actually happening in global finance and what eventually makes it to the headlines. If you want to understand where money is heading and who’s quietly benefiting &lt;em&gt;before&lt;/em&gt; it becomes obvious, follow the Market Daily series and we’ll keep going.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;more soon.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>investing</category>
      <category>hiddenincentives</category>
      <category>money</category>
      <category>inflation</category>
    </item>
    <item>
      <title>Rising Prices, Explained Before Your Coffee Cools</title>
      <dc:creator>Suraj Nandan</dc:creator>
      <pubDate>Sat, 05 Dec 2026 03:30:00 +0000</pubDate>
      <link>https://dev.to/suraj_nandan/rising-prices-explained-before-your-coffee-cools-4pl3</link>
      <guid>https://dev.to/suraj_nandan/rising-prices-explained-before-your-coffee-cools-4pl3</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;New here? Start with the post the whole publication grows out of → &lt;strong&gt;&lt;a href="https://dev.to/suraj_nandan/why-does-every-nation-still-print-its-own-cash-2dek"&gt;Why Does Every Nation Still Print Its Own Cash?&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Everyone argues about inflation. Almost nobody stops to explain what it actually &lt;em&gt;is.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;So here it is - the whole thing in about three minutes. No jargon. No graphs you need a degree to read. Just the real thing, in plain words.&lt;/p&gt;

&lt;p&gt;And we start by throwing out the definition you’ve been handed your whole life: that inflation means “prices going up.”&lt;/p&gt;

&lt;p&gt;It doesn’t. Not really. Thats the symptom. Not the thing itself.&lt;/p&gt;

&lt;p&gt;Look closely at this. Your morning coffee costs more than it did a few years ago. But the coffee hasn’t changed at all. Same beans. Same cup. Same everything. So if the coffee is identical, and the number on the menu went up... what actually changed?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Your money did.&lt;/strong&gt; It got smaller. It buys less of the exact same thing it bought before.&lt;/p&gt;

&lt;p&gt;And thats what inflation really is. Not the world becoming more expensive - your money quietly losing its value. We measure our whole lives in money, so we just assume the world is getting pricier. But a lot of the time, it’s the ruler thats shrinking.&lt;/p&gt;

&lt;p&gt;Ok, so why does the ruler shrink? Heres the entire answer in one sentence, and its almost insultingly simple:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Too much money, chasing too few goods.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Picture a tiny island. It has 10 apples and 10 coins. Naturally, an apple costs about one coin. Now imagine 10 more coins fall from the sky overnight — but there are still only 10 apples. Suddenly everyone’s waving twice as much money at the same ten apples, and the price drifts up to two coins each. Nothing about the apples changed. There’s just more money fighting over them.&lt;/p&gt;

&lt;p&gt;Which leads straight to the obvious question - where do all those extra coins come from?&lt;/p&gt;

&lt;p&gt;Mostly, they’re created. Central banks and governments can bring brand-new money into existence, more or less out of thin air. A little of this is normal, even healthy -economies grow, and they need a bit more money to run on. But too much, too fast, and you get the apple problem. Everywhere. All at once.&lt;/p&gt;

&lt;p&gt;And now the part almost nobody says out loud - the part that makes this whole thing worth understanding in the first place.&lt;/p&gt;

&lt;p&gt;Inflation is a tax. A silent one. One you never voted for.&lt;/p&gt;

&lt;p&gt;Every bit of money you’ve saved loses a little value every single year, whether you agreed to it or not. It isn’t stolen in some dramatic heist. It just... leaks. Quietly. And the value that leaks out of your pocket doesn’t vanish into nothing - it moves. Toward governments, whose enormous debts get lighter as money loses value. And toward whoever gets their hands on the freshly-made money &lt;em&gt;first.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Because heres the quiet trick of the whole thing: new money never reaches everyone at the same moment. The first hands to touch it - big banks, governments, people who already own assets get to spend it while prices are still low. By the time it finally trickles down to your wages and your savings account, prices have already risen to meet it. You get the same money, late, and worth less. You were just standing further back in the line and nobody ever told you there was a line.&lt;/p&gt;

&lt;p&gt;Alright. Enough of the bad news. Let me hand you something you can actually use - a tiny tool to keep in your back pocket forever.&lt;/p&gt;

&lt;p&gt;Take the number &lt;strong&gt;70, and divide it by the inflation rate.&lt;/strong&gt; Thats roughly how many years until your money is worth &lt;em&gt;half&lt;/em&gt; of what it is today. At 7%, your savings halve in about ten years. At 3.5%, about twenty. Which means cash, just sitting there doing nothing, isn’t the “safe” choice everyone assumes it is. It’s a slow, quiet, guaranteed leak.&lt;/p&gt;

&lt;p&gt;And none of this is rare, or far away, or somebody else’s problem. It’s happening everywhere, all the time - just at wildly different speeds. As I write this in 2026, inflation runs from barely over 1% in Japan, to around 3.8% in the US after a sudden oil shock, all the way up to roughly 32% in Argentina where money can shed half its worth in a matter of months, not decades. Same disease. Very different fevers.&lt;/p&gt;

&lt;p&gt;So the next time someone tells you “prices are going up,” you’ll quietly know the truer way to say it: &lt;em&gt;the money is going down.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;And once you can really see that - once you stop measuring your life with a ruler thats quietly shrinking in your hand - a much better question starts to form. Not “why is everything so expensive?” but: &lt;em&gt;“where can I actually keep my value, so it doesn’t just leak away?”&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;That question is the door. And almost everything we write here lives on the other side of it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Keep going&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://dev.to/suraj_nandan/the-levers-behind-the-lever-what-the-fed-really-pulls-3375"&gt;The Levers Behind the Lever: What the Fed Really Pulls&lt;/a&gt; - if inflation is your money shrinking, this is who’s holding the pump.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/suraj_nandan/the-192-billion-secret-running-through-traditional-lending-3pk1"&gt;The $192 Billion Secret Running Through Traditional Lending&lt;/a&gt; - where value quietly moves when people stop trusting the leaky bucket.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://dev.to/suraj_nandan/why-does-every-nation-still-print-its-own-cash-2dek"&gt;Why Does Every Nation Still Print Its Own Cash?&lt;/a&gt; - the bigger story all of this is part of.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Naked Market exists to close the gap between what’s actually happening in global finance and what eventually makes it to the headlines. If you want to understand where money is heading &lt;em&gt;before&lt;/em&gt; it becomes obvious, follow the Market Daily series and we’ll keep going.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;more soon.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>personalfinance</category>
      <category>macrofinance</category>
      <category>money</category>
      <category>inflation</category>
    </item>
    <item>
      <title>The Levers Behind the Lever: What the Fed Really Pulls</title>
      <dc:creator>Suraj Nandan</dc:creator>
      <pubDate>Fri, 04 Dec 2026 13:30:00 +0000</pubDate>
      <link>https://dev.to/suraj_nandan/the-levers-behind-the-lever-what-the-fed-really-pulls-3375</link>
      <guid>https://dev.to/suraj_nandan/the-levers-behind-the-lever-what-the-fed-really-pulls-3375</guid>
      <description>&lt;p&gt;New here? Start with the post the whole publication grows out of →&lt;a href="https://dev.to/suraj_nandan/why-does-every-nation-still-print-its-own-cash-2dek"&gt;Why Does Every Nation Still Print Its Own Cash?&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There’s a particular feeling I want to start with. You already know it - everyone on earth knows it.&lt;/p&gt;

&lt;p&gt;You walk into a shop you’ve been going to for years. You reach for the thing you always buy. The coffee. The bread. The cooking oil. Doesn’t matter what it is. And the price is... different. Higher. Again. Nobody sent you a memo. Nobody announced it on the news. The number just quietly moved while you weren’t looking.&lt;/p&gt;

&lt;p&gt;That feeling - that small, sinking sense that the money in your hand is worth a little less than it was last month thats inflation. Not the economist’s version with the charts and the decimal points. The human one. The one you actually live inside.&lt;/p&gt;

&lt;p&gt;And the story we all get told about who controls that feeling and how is, honestly, the children’s version of the truth.&lt;/p&gt;

&lt;p&gt;For most of my life I believed that version too. &lt;em&gt;Prices go up, the central bank raises interest rates, prices come back down, the end.&lt;/em&gt; Clean. Simple. And wrong in roughly the way a child’s drawing of a car is wrong sure, it has four wheels and a door, but you couldn’t build an actual engine from it.&lt;/p&gt;

&lt;p&gt;So let me show you the real engine. It took me an embarrassingly long time to understand — and the moment it finally clicked, I started reading every headline about inflation completely differently. I think it’ll do the same for you.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Part 1 - The story you’ve been told&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Here’s the version you already carry around, even if nobody ever sat you down and spelled it out.&lt;/p&gt;

&lt;p&gt;Prices start climbing too fast. So the central bank raises its main interest rate. Suddenly borrowing money - a home loan, a car loan, a loan to grow your business costs more. So people borrow less, and spend less. Companies hold back. Demand cools. And with less money chasing the same pile of goods, prices eventually stop running.&lt;/p&gt;

&lt;p&gt;Thats the loop everyone knows. Inflation up → rates up → spending down → inflation down. Almost everything the average person understands about &lt;strong&gt;how central banks control inflation&lt;/strong&gt; lives inside that one sentence.&lt;/p&gt;

&lt;p&gt;And look there’s a reason the interest rate gets all the attention. It’s one dramatic number, announced on a scheduled day, that markets react to in seconds. It’s clean. It’s quotable. It fits on a news ticker.&lt;/p&gt;

&lt;p&gt;Which is also exactly why most people react to the headline and completely miss the machine humming underneath it.&lt;/p&gt;

&lt;p&gt;Because here’s what that tidy little sentence leaves out: the interest rate is a &lt;em&gt;transmission tool.&lt;/em&gt; Its one knob. And its bolted onto a much larger control panel that almost nobody ever bothers to look at.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Part 2 - The levers behind the lever&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A central bank doesn’t have one tool. It has a whole toolkit. The interest rate is just the loudest thing in the drawer. Here are the three levers that actually move &lt;strong&gt;monetary policy and inflation&lt;/strong&gt;:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. The price of money.&lt;/strong&gt; This is the interest rate everyone watches. (Different countries give it different names - the federal funds rate, the base rate, the repo rate but its the same idea everywhere.) Make money expensive to borrow, and people borrow less of it. Simple. Loud. But still just one knob.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. The amount of money.&lt;/strong&gt; This is the lever almost nobody outside finance thinks about, and its arguably deeper than the rate. A central bank can pump money straight into the system or quietly suck it back out by buying and selling government bonds. It can also dictate how much cash banks are forced to lock away in reserve instead of lending out. The logic underneath is almost insultingly simple: more money sloshing around, chasing the same amount of stuff, &lt;em&gt;is&lt;/em&gt; inflation. The link between &lt;strong&gt;money supply and inflation&lt;/strong&gt; is the engine sitting under every rate decision you’ve ever read about.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. The big quiet one.&lt;/strong&gt; After the world shut down in 2020, central banks did something genuinely staggering they conjured trillions of units of brand-new money out of nothing and used it to buy bonds, flooding the financial system to keep economies breathing. Economists call it “quantitative easing.” Then, when all that money helped light the fuse on inflation, they ran the whole thing in reverse - &lt;strong&gt;quantitative tightening&lt;/strong&gt;, draining the money back out, month after month after month. Most people never saw a single headline about it. But that quiet lever did enormous, invisible work on prices while everyone on TV argued about the interest rate.&lt;/p&gt;

&lt;p&gt;So thats the mechanical toolkit. The price of money. The amount of money. The balance sheet. Three real levers every one of them bigger than most people ever notice.&lt;/p&gt;

&lt;p&gt;And not one of them is the most powerful tool a central bank owns.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Part 3 - The lever nobody talks about&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Here’s the part that genuinely rewired how I see all of this.&lt;/p&gt;

&lt;p&gt;Inflation is partly self-fulfilling. What people &lt;em&gt;believe&lt;/em&gt; prices are about to do, they help make come true.&lt;/p&gt;

&lt;p&gt;Walk through it slowly. Imagine you run a small shop, and you’re convinced your costs are going to jump next month. What do you do? You nudge your own prices up &lt;em&gt;today,&lt;/em&gt; to stay ahead of it. Now imagine you’re an employee, and you’re sure everything’s about to get more expensive. What do you do? You ask for a bigger raise &lt;em&gt;now.&lt;/em&gt; And both of those moves - the price nudge, the raise - push the cost of everything up, before any “real” inflation has even arrived. The expectation summons the outcome. It’s the same eerie logic as a bank run: enough people believing a thing will happen is the very thing that makes it happen.&lt;/p&gt;

&lt;p&gt;Which leads to the secret hiding under this entire subject. A central bank’s most valuable possession was never the money itself. It’s &lt;strong&gt;credibility.&lt;/strong&gt; The instant people truly believe a central bank will protect the value of their money, they stop bracing for higher prices and the job half does itself, without one extra move on any lever.&lt;/p&gt;

&lt;p&gt;This is the real reason central bankers talk so endlessly. All those careful speeches, all that “guidance,” every painstakingly-worded statement thats the belief lever being pulled. &lt;strong&gt;They’re trying to change your behaviour&lt;/strong&gt; &lt;strong&gt;&lt;em&gt;before&lt;/em&gt;&lt;/strong&gt; &lt;strong&gt;they ever have to touch a dial.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Two stories make this impossible to unsee.&lt;/p&gt;

&lt;p&gt;The first is a man named Paul Volcker. At the start of the 1980s he ran America’s central bank, and inflation there was running wild - around 14%, quietly eating people’s savings alive. Volcker didn’t just raise interest rates. He hauled them up to nearly 20% and, more importantly, he convinced an entire nation that he would &lt;em&gt;not stop, no matter how much pain it caused.&lt;/em&gt; And it caused a lot - it tipped the economy into a brutal recession. But that total, unshakeable credibility is what finally snapped inflation’s back, dragging it down toward 3 or 4% within a few years. He didn’t just use the lever. He made people &lt;em&gt;believe&lt;/em&gt; the lever.&lt;/p&gt;

&lt;p&gt;The second story is more recent, and you lived through it. After 2020, as prices started climbing all over the world, central bankers reached for a soothing word: “transitory.” Just a passing blip, they said. It’ll fade on its own. It did not fade. They lost the room. They had to quietly retire the word, sprint into the most aggressive rate hikes in decades, and then spend years trying to win back the trust they’d burned. Same tool -words. Opposite result. The only thing that changed was whether anyone believed them.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A central bank’s real product was never money. It’s belief. And belief, unlike a printing press, can’t be manufactured on demand.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;And here’s the genuinely frightening version of this - the one that keeps the people who run central banks awake at night.&lt;/p&gt;

&lt;p&gt;When the people of a country stop believing in their money &lt;em&gt;completely&lt;/em&gt; - not gradually, not a little, but all at once and all the way - the money doesn’t simply lose value. It dies. Germany in the 1920s, where people famously hauled wheelbarrows piled with banknotes just to buy a single loaf of bread. Zimbabwe, which once printed a hundred-trillion-dollar note that couldn’t buy a bus ticket. Argentina, living through versions of this on and off for decades. In every single case the printing presses ran faster than ever and the faster they ran, the more worthless the paper became. Because once the belief is gone, paper is just paper.&lt;/p&gt;

&lt;p&gt;That’s the thread running underneath everything we write here — and the whole reason behind our &lt;a href="https://dev.to/suraj_nandan/why-does-every-nation-still-print-its-own-cash-2dek"&gt;Why Does Every Nation Still Print Its Own Cash?&lt;/a&gt; argument. Money, in the end, is a story we all quietly agree to believe. A central bank’s real job was never printing it. It’s protecting the belief.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Part 4 - When none of it works&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Now for the part the textbooks quietly skip past. Sometimes a central bank pulls every lever it owns and inflation just... doesn’t care. There are three walls where the entire machine grinds to a halt.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Wall #1: When the problem isn’t demand.&lt;/strong&gt; Remember, raising rates works by cooling down &lt;em&gt;spending.&lt;/em&gt; But what happens when prices are rising for a completely different reason not because people are spending too much, but because there simply isn’t enough &lt;em&gt;stuff?&lt;/em&gt; A rate hike can’t drill oil out of the ground. It can’t unclog a blocked shipping port. It cannot end a war. When inflation comes from the supply side, the interest rate is just the wrong tool for the job - like trying to fix a flat tyre with a thermostat.&lt;/p&gt;

&lt;p&gt;And this isn’t theory. It’s happening as I write this, in 2026.&lt;/p&gt;

&lt;p&gt;Earlier this year, across much of the world, prices had finally cooled back toward something like normal. The demand levers were working. And then a war broke out with Iran, the global oil supply got squeezed, and energy prices erupted - petrol jumped by nearly a third in a single year. Within months, headline inflation in the US had leapt back up to 3.8%, the highest in nearly three years, with energy alone responsible for something like 40% of the jump. And it wasn’t just America when oil spikes, it spikes for everyone on the planet who drives a car, heats a home, or buys literally anything that has to be shipped somewhere. Which is all of us.&lt;/p&gt;

&lt;p&gt;Here’s the uncomfortable truth to sit with: a central bank can hold interest rates wherever it likes. It will not conjure a single extra barrel of oil into existence. Reaching for the demand lever to fix a supply shock just risks crushing the economy without touching the real cause. So the honest answer to “&lt;strong&gt;how do central banks fight inflation&lt;/strong&gt; like this?” is one they’d rather not say out loud: mostly, they can’t. They can only guard people’s belief and wait it out.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Wall #2: When the government is fighting them.&lt;/strong&gt; A central bank can be draining money out of the system with one hand, while the government floods it right back in with the other - borrowing and spending so aggressively that it overwhelms everything the central bank is trying to do. The two of them end up locked in a tug-of-war the public almost never sees, hauling the value of money in opposite directions over everyone’s heads.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Wall #3: The delay.&lt;/strong&gt; Whatever a central bank does today doesn’t fully land for somewhere between twelve and eighteen months. So they’re permanently driving a car forward while only able to see out the rear window reacting to where inflation &lt;em&gt;was,&lt;/em&gt; not where it is right now. This is why they so often overshoot and overcorrect. It isn’t stupidity. It’s that the feedback from today’s decision won’t arrive until long after they’ve already been forced to make the next one.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;The same tool, two opposite problems&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you want proof that it’s never really about the lever, look at two countries staring at the exact same toolkit and facing perfectly opposite problems.&lt;/p&gt;

&lt;p&gt;For roughly thirty years, Japan fought a battle most of the world would find bizarre: its inflation was too &lt;em&gt;low.&lt;/em&gt; Prices simply wouldn’t rise. The central bank cut interest rates to zero, then below zero, and printed money on a scale that would make your eyes water and &lt;em&gt;still&lt;/em&gt; couldn’t get prices to climb normally for decades. Why? The expectations loop, running in reverse. When people expect prices to fall, they put off buying (why buy today what’ll be cheaper next month?), which makes prices fall even further. Belief, working &lt;em&gt;against&lt;/em&gt; the central bank instead of for it.&lt;/p&gt;

&lt;p&gt;Meanwhile, the countries from a moment ago - the wheelbarrow ones - had the mirror-image nightmare: prices they couldn’t stop. Same handful of levers. Completely opposite diseases.&lt;/p&gt;

&lt;p&gt;And that’s the whole thesis in a single image. It is &lt;em&gt;never&lt;/em&gt; just about which lever gets pulled. It’s about what kind of inflation you’re actually facing and whether anyone still believes the people in charge.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;The framework - take this with you&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;So the next time a central bank makes a move and the headlines start shouting, dont react to the number. Run it through three questions instead:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Is this inflation coming from too much demand or too little supply?&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If it’s demand, raising rates can actually work. If it’s a shortage, a war, a broken supply chain - rates mostly can’t, and anyone promising a quick fix is selling you the headline version.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Which lever are they really pulling - the rate, the money supply, or just talk?&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Often the most important thing in the whole announcement isn’t the number. It’s the sentence. Read the words as carefully as you read the decimal.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Is the market reacting to the move or to the belief behind it?&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A trusted central bank can move the world with a whisper. A distrusted one can pull every lever at once and change nothing. Watch the belief, not just the basis points.&lt;/p&gt;

&lt;p&gt;Because in the end, controlling inflation has almost nothing to do with which lever gets pulled and almost everything to do with whether the world still believes the hand thats pulling it.&lt;/p&gt;

&lt;p&gt;So watch the credibility. Not just the number. Thats the whole game and now you can see it playing out in every headline, while most people are still staring at the one dial with the spotlight on it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Related reading&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://dev.to/suraj_nandan/the-192-billion-secret-running-through-traditional-lending-3pk1"&gt;The $192 Billion Secret Running Through Traditional Lending&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Naked Market exists to close the gap between what’s actually happening in global finance and what eventually makes it to the headlines. If you want to understand where money is heading &lt;em&gt;before&lt;/em&gt; it becomes obvious, follow the Market Daily series and we’ll keep going.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;em&gt;more soon&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>centralbanking</category>
      <category>finance</category>
      <category>monetarypolicy</category>
      <category>inflation</category>
    </item>
    <item>
      <title>The $192 Billion Secret Running Through Traditional Lending</title>
      <dc:creator>Suraj Nandan</dc:creator>
      <pubDate>Fri, 04 Dec 2026 08:30:00 +0000</pubDate>
      <link>https://dev.to/suraj_nandan/the-192-billion-secret-running-through-traditional-lending-3pk1</link>
      <guid>https://dev.to/suraj_nandan/the-192-billion-secret-running-through-traditional-lending-3pk1</guid>
      <description>&lt;p&gt;I want you to imagine something.&lt;/p&gt;

&lt;p&gt;You walk into your bank tomorrow. You ask them to send $11,482 USD to someone in Brazil. The person at the desk nods, types something in, and tells you it’ll take 3 to 5 business days. There’s a transfer fee. An exchange rate margin. Maybe an intermediary bank fee somewhere in the middle that nobody quite explains to you.&lt;/p&gt;

&lt;p&gt;You accept this. Because this is just... how money works. Right?&lt;/p&gt;

&lt;p&gt;Now. What if I told you that the same bank - your bank - is quietly, right now, moving billions of dollars through decentralised protocols that settle in &lt;em&gt;seconds&lt;/em&gt;. No intermediary. No 3-day wait. No mysterious fee vanishing into the system.&lt;/p&gt;

&lt;p&gt;They just don’t tell you about it. Because the interface you see - the app, the branch, the relationship manager that part stays the same. The plumbing underneath? Thats changing. Fast.&lt;/p&gt;

&lt;p&gt;Thats the story I want to tell you today.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Part 1 - What even is DeFi?&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Let’s start from the very beginning. Because I know the word “DeFi” makes a lot of people switch off - it sounds like crypto Twitter stuff, speculation, people losing money on meme coins at 3am.&lt;/p&gt;

&lt;p&gt;DeFi stands for &lt;strong&gt;Decentralised Finance&lt;/strong&gt;. And the simplest way I can explain it:&lt;/p&gt;

&lt;p&gt;Imagine you want a loan.&lt;/p&gt;

&lt;p&gt;In the &lt;strong&gt;traditional world&lt;/strong&gt;: you go to a bank. The bank looks at your income, your credit history, your assets, your relationship with them. A person or a team of people decides whether to trust you. They set an interest rate based on what they think the risk is. The whole thing takes days. The bank makes money on the difference between what they pay depositors and what they charge borrowers.&lt;/p&gt;

&lt;p&gt;In the &lt;strong&gt;DeFi world&lt;/strong&gt;: you connect a digital wallet to a protocol. You put up collateral. The protocol which is just code, running automatically checks the math. If the math works, the loan is approved. Instantly. No person involved. No credit check. No waiting. The code runs the same way for you as it does for a hedge fund in Singapore or a family office in London.&lt;/p&gt;

&lt;p&gt;The key thing to understand: DeFi doesn’t care who you are. Its just math. And thats simultaneously its biggest strength and its current limitation.&lt;/p&gt;

&lt;p&gt;The strength - no gatekeepers, no geography, no business hours, no arbitrary decisions made by someone having a bad morning.&lt;/p&gt;

&lt;p&gt;The limitation - the math requires collateral. You have to put something in to get something out. The protocol can’t trust you, because it doesn’t know you.&lt;/p&gt;

&lt;p&gt;But here’s where it gets interesting. Institutions figured out that “we don’t need to be trusted - we &lt;em&gt;have&lt;/em&gt; collateral.” And suddenly, DeFi became very, very useful to them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Part 2 - The number that should stop you&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;$192 billion.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Thats the total value locked - TVL, in the industry shorthand across decentralised protocols right now. In 2026.&lt;/p&gt;

&lt;p&gt;Sit with that for a second. Because its not $192 billion in speculation. Its $192 billion sitting inside smart contracts, doing real financial work. Lending. Borrowing. Generating yield. Providing liquidity to institutions that need it.&lt;/p&gt;

&lt;p&gt;Aave - one of the largest DeFi lending protocols in the world, now has a dedicated institutional product. Not a pilot. An actual product that institutional clients use. Lido, which handles something called “liquid staking” (a way to earn yield on crypto assets while keeping them accessible), serves institutional clients at scale. EigenLayer, which handles “restaking,” is being used by infrastructure providers that power institutional blockchain operations.&lt;/p&gt;

&lt;p&gt;These aren’t fringe experiments. These are quietly becoming the standard infrastructure of institutional fixed income. The asset managers and treasury desks just don’t put it in the press release.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Part 3 - JP Morgan, Citi, and what they’re not advertising&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Here’s the part that’s going to sound like I made it up. I didn’t.&lt;/p&gt;

&lt;p&gt;JP Morgan has a blockchain infrastructure called &lt;strong&gt;Onyx&lt;/strong&gt;. Through Onyx, they process billions of dollars in repo transactions - short-term collateralised loans between institutions on a blockchain. Not experimental. Not a pilot. Live. Operational. Billions of dollars, every day.&lt;/p&gt;

&lt;p&gt;Citi launched something called &lt;strong&gt;Citi Token Services&lt;/strong&gt;. What it does: 24/7 USD clearing. Real-time. Cross-border. If a bank or institutional client needs liquidity at 2am on a Sunday - money moves. Instantly. No correspondent bank delays. No cut-off times. Just code, running.&lt;/p&gt;

&lt;p&gt;This is the same Citi that was, not so long ago, defending the traditional correspondent banking model.&lt;/p&gt;

&lt;p&gt;Think of it like the walls of a house. You can completely redo all the electrical wiring, the plumbing, the insulation and from the outside the house looks exactly the same. The lights still turn on. The water still flows. You have no idea the infrastructure underneath has been rebuilt.&lt;/p&gt;

&lt;p&gt;Thats what’s happening to banking right now. The walls look the same. The pipes are being replaced, rail by rail, quietly, by the people who run the system.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“The separation between your wallet and your bank account is blurring. Most people have no idea it’s happening because the interface looks exactly the same.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Part 4 - The yield machine (the really clever part)&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Ok. This is where it gets genuinely interesting especially if you think about finance from a systems perspective.&lt;/p&gt;

&lt;p&gt;There’s a concept in DeFi called &lt;strong&gt;PT/YT - Principal Tokens and Yield Tokens&lt;/strong&gt;. I want to explain this with an analogy, because when I first came across it I genuinely needed someone to slow all the way down.&lt;/p&gt;

&lt;p&gt;Imagine you own a mango tree.&lt;/p&gt;

&lt;p&gt;The tree itself - the physical asset, the thing that will still be there next year and the year after - is your &lt;strong&gt;principal&lt;/strong&gt;. And every season, the tree produces mangoes. Thats your &lt;strong&gt;yield&lt;/strong&gt;. The income the asset generates.&lt;/p&gt;

&lt;p&gt;Normally, these two things are bundled together. You own the tree, you get the mangoes. Simple. But what if someone figured out a way to split them? What if you could sell next season’s mangoes today, at a fixed price while keeping the tree? Or buy next season’s mangoes at a discount, without ever owning the tree itself ?&lt;/p&gt;

&lt;p&gt;Thats what PT/YT does in DeFi. It &lt;em&gt;tokenises yield&lt;/em&gt;. It separates the principal (PT) from the yield (YT) and lets you trade them independently.&lt;/p&gt;

&lt;p&gt;Why does this matter to institutions? Because institutions love fixed-rate instruments. Bonds. Fixed deposits. Things where they know exactly what return they’re getting. DeFi historically gave variable rates which was fine for retail but unpredictable for anyone managing billions.&lt;/p&gt;

&lt;p&gt;PT/YT changes this. An institution can now buy the “principal token” of a DeFi position and effectively lock in a fixed rate of return. The uncertainty disappears. And suddenly DeFi starts to look a lot like a bond market just one that runs 24/7, settles instantly, and doesnt require a clearing house with a three-day settlement cycle.&lt;/p&gt;

&lt;p&gt;This is the bridge. This is what’s bringing institutional capital into DeFi at actual scale not the hype, not the speculation. The &lt;em&gt;yields&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Part 5 - CBDCs and the final wall&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Here’s the last piece of this puzzle, and its the one that ties everything together.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;98% of central banks&lt;/strong&gt; are currently exploring CBDCs - Central Bank Digital Currencies. Half of them are at advanced stages. More than 60 central banks are actively building a digital version of their national currency, designed to run on blockchain rails.&lt;/p&gt;

&lt;p&gt;Now. Here’s what most coverage of CBDCs misses.&lt;/p&gt;

&lt;p&gt;The interesting question isn’t “will CBDCs exist.” They will. The interesting question is: &lt;em&gt;what happens when a CBDC - a government-issued digital currency can natively interact with DeFi protocols?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Because once that happens, the wall between your bank account and a DeFi protocol isn’t a wall anymore. Its just a preference. A setting you toggle.&lt;/p&gt;

&lt;p&gt;In theory and increasingly in practice you could have your salary paid in a digital dollor CBDC. That digital dollor flows automatically into a DeFi lending protocol. That protocol earns yield. The yield flows back to you. Automatically. While you sleep. No bank involved in the middle taking the spread.&lt;/p&gt;

&lt;p&gt;The bank in this scenario becomes... what exactly? An interface. A brand. A relationship layer. The actual financial work - the lending, the yield, the settlement, all of that runs in the protocol layer underneath.&lt;/p&gt;

&lt;p&gt;This is what “DeFi goes invisible” means. Not that DeFi disappears. But that it becomes the infrastructure everything else runs on top of - the way the internet became the infrastructure that email and video and banking all run on, and most people have no idea what TCP/IP even is.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;The framework - take this with you&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Here’s the mental model I want you to leave with. Three layers of the new financial stack:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The key insight&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Most people only see Layer 3. They have no idea Layers 1 and 2 are being rebuilt underneath them. By the time Layer 3 catches up, by the time your banking app runs natively on top of Layers 1 and 2 - the transition will be complete. And most people will have had no idea it happened.&lt;/p&gt;

&lt;p&gt;The question is always the same: do you want to understand these shifts while they’re happening? Or find out about them after everyone else already has?&lt;/p&gt;

&lt;p&gt;Naked Market exists to decode the shift happening beneath global finance - from legacy systems to a blockchain-powered financial future. If you want to understand where money, markets, AI, and one-earth-one-currency systems are heading before the rest of the world catches on, follow the Market Daily series and we’ll keep going.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;-more soon.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Naked Market&lt;/p&gt;

</description>
      <category>finance</category>
      <category>crypto</category>
      <category>markets</category>
      <category>investing</category>
    </item>
    <item>
      <title>The History of AI, Part 14: AlexNet and the 2012 Turning Point</title>
      <dc:creator>Suraj Nandan</dc:creator>
      <pubDate>Fri, 04 Dec 2026 04:30:00 +0000</pubDate>
      <link>https://dev.to/suraj_nandan/the-history-of-ai-part-14-alexnet-and-the-2012-turning-point-204m</link>
      <guid>https://dev.to/suraj_nandan/the-history-of-ai-part-14-alexnet-and-the-2012-turning-point-204m</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The History of AI, Part 14 of 24.&lt;/strong&gt; Over thirteen chapters we've followed the dream of thinking machines through myths, logic, winters, booms, and the quiet rise of statistics. Part 12 assembled the ingredients. Now comes the moment they combine. In the autumn of 2012, one neural network, trained on two gaming graphics cards, upended a field overnight.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;On 30 September 2012, the organizers of the ImageNet Large Scale Visual Recognition Challenge posted the results of that year's competition. For anyone who followed computer vision closely, the leaderboard looked like a typo.&lt;/p&gt;

&lt;p&gt;For two years, the best systems in the world had been inching forward. The 2010 winner had made mistakes on about &lt;strong&gt;28 percent&lt;/strong&gt; of test images; the 2011 winner, about &lt;strong&gt;26 percent&lt;/strong&gt;. The runner-up in 2012 would score &lt;strong&gt;26.2 percent&lt;/strong&gt;, right on trend. Everything about the field said that the next improvement would be a point or two.&lt;/p&gt;

&lt;p&gt;But at the top of the table, in a different league, was an entry from the University of Toronto with an error rate of around &lt;strong&gt;15 to 16 percent&lt;/strong&gt;. It wasn't a point or two better. It was &lt;strong&gt;ten points better&lt;/strong&gt;, a reduction in errors of more than a third, achieved in a single leap.&lt;/p&gt;

&lt;p&gt;The entry was called &lt;strong&gt;SuperVision&lt;/strong&gt;. History remembers it as &lt;strong&gt;AlexNet&lt;/strong&gt;. This chapter is the story of that network, the people behind it, and the avalanche that followed.&lt;/p&gt;

&lt;h2&gt;
  
  
  The team
&lt;/h2&gt;

&lt;p&gt;AlexNet was built by three people.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Alex Krizhevsky&lt;/strong&gt; was a graduate student at the University of Toronto, a Ukrainian-born programmer of unusual talent. Krizhevsky had a knack for squeezing performance out of GPUs. In 2009 and 2010, while working on a smaller image dataset called CIFAR-10, he had written a highly optimized GPU implementation of convolutional neural network training, a piece of code later known as &lt;strong&gt;cuda-convnet&lt;/strong&gt;. This hard engineering work was the secret ingredient: it made it practical to train a big network on a lot of images.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Foh5h4b40obgbmu7dj5yx.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Foh5h4b40obgbmu7dj5yx.jpg" alt="Ilya Sutskever (right) at Stanford in 2014" width="755" height="635"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Ilya Sutskever (right) at Stanford in 2014. Image: Steve Jurvetson from Los Altos, USA, CC BY 2.0, via &lt;a href="https://commons.wikimedia.org/wiki/File:Naveen_Rao_and_Ilya_Sutskever_Stanford_2014.jpg" rel="noopener noreferrer"&gt;Wikimedia Commons&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ilya Sutskever&lt;/strong&gt;, born in Russia and raised in Israel and Canada, was a fellow PhD student of Hinton's with a reputation for conviction bordering on the fanatical. He is said to have been the one who pushed his colleagues to try ImageNet, arguing that if you made a neural network large enough and trained it with enough data, it would simply work. Others in the lab were less sure. (Sutskever would go on to co-found OpenAI in 2015, a story we'll pick up in Parts 19 and 21.)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Geoffrey Hinton&lt;/strong&gt;, their supervisor, was 64 at the time, a Cambridge-educated British-Canadian scientist who had been championing neural networks since the 1970s, including through the long periods when almost nobody else did. We met him in Part 9: co-author of the 1986 backpropagation paper, great-great-grandson of George Boole.&lt;/p&gt;

&lt;p&gt;The setup was modest by today's standards. Krizhevsky trained the network on &lt;strong&gt;two Nvidia GTX 580 graphics cards&lt;/strong&gt;, each with only 3 gigabytes of memory, in his bedroom at his parents' house, according to a story widely told about the project. The network was too big to fit on one card, so he split it across two. Training took &lt;strong&gt;five to six days&lt;/strong&gt;. Those gaming GPUs, which cost about $500 each, did the job that would have required a supercomputer a decade earlier.&lt;/p&gt;
&lt;h2&gt;
  
  
  What AlexNet actually was
&lt;/h2&gt;

&lt;p&gt;AlexNet wasn't a bolt from the blue conceptually. It was a &lt;strong&gt;convolutional neural network&lt;/strong&gt;, the kind Yann LeCun had pioneered at Bell Labs in the late 1980s (Part 9), and its structure would have been familiar to him. What was new was the &lt;strong&gt;scale&lt;/strong&gt; and a handful of crucial &lt;strong&gt;practical refinements&lt;/strong&gt;.&lt;/p&gt;
&lt;h3&gt;
  
  
  The architecture
&lt;/h3&gt;

&lt;p&gt;The network had &lt;strong&gt;eight learned layers&lt;/strong&gt;: five &lt;strong&gt;convolutional&lt;/strong&gt; layers followed by three &lt;strong&gt;fully connected&lt;/strong&gt; layers, ending in a 1,000-way output, one for each ImageNet category, whose values were converted into probabilities. In total, it had about &lt;strong&gt;60 million parameters&lt;/strong&gt; and &lt;strong&gt;650,000 neurons&lt;/strong&gt;. That was more than a hundred times larger than LeNet-5 of 1998.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fiupqoeb1sm6biy15gvjr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fiupqoeb1sm6biy15gvjr.png" alt="The typical structure of a convolutional neural network" width="800" height="246"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The typical structure of a convolutional neural network. Image: Aphex34, CC BY-SA 4.0, via &lt;a href="https://commons.wikimedia.org/wiki/File:Typical_cnn.png" rel="noopener noreferrer"&gt;Wikimedia Commons&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The convolutional layers did the seeing. The first layer slid 96 small filters (11 by 11 pixels) across the input image, detecting basic patterns: oriented edges, color blobs, textures. The second layer combined those into more complex patterns, such as corners and curves. By the fifth layer, units responded to object parts: a wheel, an eye, a patch of fur. Then the fully connected layers combined these parts into a decision about which object was in the image.&lt;/p&gt;

&lt;p&gt;You can see how the parameters are distributed with a few lines of arithmetic. The following code counts the parameters in each layer of the network (using the slightly slimmed single-tower variant found in popular software libraries, which has the same overall design):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;conv_params&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;k&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;c_in&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;c_out&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="nf"&gt;return &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;k&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;k&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;c_in&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;c_out&lt;/span&gt;          &lt;span class="c1"&gt;# weights + one bias per filter
&lt;/span&gt;
&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;fc_params&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;n_in&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;n_out&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;n_in&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;n_out&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;n_out&lt;/span&gt;

&lt;span class="n"&gt;layers&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;conv1 (11x11, 3-&amp;gt;64)&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;     &lt;span class="nf"&gt;conv_params&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;11&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;64&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;conv2 (5x5, 64-&amp;gt;192)&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;     &lt;span class="nf"&gt;conv_params&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;64&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;192&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;conv3 (3x3, 192-&amp;gt;384)&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;    &lt;span class="nf"&gt;conv_params&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;192&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;384&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;conv4 (3x3, 384-&amp;gt;256)&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;    &lt;span class="nf"&gt;conv_params&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;384&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;256&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;conv5 (3x3, 256-&amp;gt;256)&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;    &lt;span class="nf"&gt;conv_params&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;256&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;256&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;fc6 (9216-&amp;gt;4096)&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;         &lt;span class="nf"&gt;fc_params&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;256&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;6&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;4096&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;fc7 (4096-&amp;gt;4096)&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;         &lt;span class="nf"&gt;fc_params&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;4096&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;4096&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;fc8 (4096-&amp;gt;1000 classes)&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;fc_params&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;4096&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="n"&gt;total&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;layers&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;values&lt;/span&gt;&lt;span class="p"&gt;())&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;n&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;layers&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;items&lt;/span&gt;&lt;span class="p"&gt;():&lt;/span&gt;
    &lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="si"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;28&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt; &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="si"&gt;:&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt;  &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;100&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;n&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="n"&gt;total&lt;/span&gt;&lt;span class="si"&gt;:&lt;/span&gt;&lt;span class="mf"&gt;5.1&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt;%&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;TOTAL&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="si"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;28&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt; &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;total&lt;/span&gt;&lt;span class="si"&gt;:&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="mi"&gt;12&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run it and you'll see roughly &lt;strong&gt;61 million parameters&lt;/strong&gt;, with the three fully connected layers holding over 90 percent of them, while the convolutional layers (with their few parameters reused at every position in the image) do most of the computational work. That asymmetry, few parameters but heavy compute in the convolutional layers, many parameters but light compute in the dense layers, is a recurring theme in network design.&lt;/p&gt;

&lt;h3&gt;
  
  
  The ingredients that made it work
&lt;/h3&gt;

&lt;p&gt;AlexNet combined most of the tricks we met in Part 12:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;ReLU activations.&lt;/strong&gt; Instead of sigmoids, AlexNet used the rectified linear unit, &lt;code&gt;max(0, x)&lt;/code&gt;. The paper reported that a network with ReLUs reached a given training error several times faster than the same network with tanh units. Fast training was the difference between an experiment that finishes in a week and one that never finishes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GPU training.&lt;/strong&gt; Two GPUs, with the network split across them, and a clever scheme in which the cards communicated only at certain layers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dropout.&lt;/strong&gt; In the fully connected layers, half the units were randomly switched off during each training step, preventing the huge dense layers from simply memorizing the training set.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data augmentation.&lt;/strong&gt; The team artificially enlarged the training set, 1.2 million images, by randomly cropping, flipping horizontally, and slightly altering the colors of the training images, so the network never saw exactly the same image twice. This was a cheap and powerful defense against overfitting.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Overlapping pooling and local response normalization.&lt;/strong&gt; Two other design choices that helped a little (the latter was later abandoned as unnecessary).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Big data.&lt;/strong&gt; ImageNet's 1.2 million labeled images were exactly what such a large network needed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of these ideas was entirely new. The achievement was in &lt;strong&gt;assembling them all, getting them to work together, and scaling up&lt;/strong&gt;. It's a pattern worth remembering: breakthroughs in AI are often less about a single brilliant idea than about the &lt;em&gt;right combination at the right scale&lt;/em&gt;, executed with great engineering skill.&lt;/p&gt;

&lt;h2&gt;
  
  
  The reaction
&lt;/h2&gt;

&lt;p&gt;The results were presented at a workshop at the European Conference on Computer Vision in Florence in October 2012. The paper, "ImageNet Classification with Deep Convolutional Neural Networks," appeared at the NIPS (now NeurIPS) conference in December. In the years since, it has become one of the most cited papers in the history of computer science, with well over a hundred thousand citations.&lt;/p&gt;

&lt;p&gt;The reaction within the computer vision community was a mix of astonishment, excitement, and denial. Researchers who had spent their careers designing clever hand-built feature extractors, such as SIFT, HOG, and Fisher vectors, suddenly saw a "generic" learning machine with &lt;em&gt;no&lt;/em&gt; hand-designed features outperform all of their work by a huge margin. It was the vision-field equivalent of a rookie walking into a chess tournament and beating the grandmasters.&lt;/p&gt;

&lt;p&gt;Yann LeCun, who had been working on convolutional networks for twenty-five years, was in the audience in Florence. People who were present have described the session as a turning point: some skeptics asked whether the network might be exploiting some quirk of the dataset. But within months, the dominant opinion had flipped. Research groups around the world dropped what they were doing and began training deep convolutional networks. &lt;strong&gt;By the 2013 ImageNet challenge, almost every top entry used deep learning.&lt;/strong&gt; Within a few years, essentially all of computer vision did.&lt;/p&gt;

&lt;p&gt;The speed of the shift is staggering in retrospect. The field's central approach, built up over some forty years, was effectively replaced within about eighteen months.&lt;/p&gt;

&lt;h2&gt;
  
  
  The gold rush
&lt;/h2&gt;

&lt;p&gt;The AlexNet result triggered a scramble that reshaped the technology industry.&lt;/p&gt;

&lt;h3&gt;
  
  
  The auction
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftwuxfrxvsq0hhwgfp8ho.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftwuxfrxvsq0hhwgfp8ho.jpg" alt="Geoffrey Hinton at the 2024 Nobel Prize events" width="800" height="533"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Geoffrey Hinton at the 2024 Nobel Prize events. Image: Jennifer 8. Lee, CC BY-SA 4.0, via &lt;a href="https://commons.wikimedia.org/wiki/File:Geoffrey_Hinton_at_2024_Nobel_Prize_Conference_2.jpg" rel="noopener noreferrer"&gt;Wikimedia Commons&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In late 2012, Hinton, Krizhevsky, and Sutskever formed a tiny company called &lt;strong&gt;DNNresearch&lt;/strong&gt;, with no products and essentially no assets beyond themselves and their papers. Several tech giants wanted them. Hinton, who was working on a deadline, was reportedly flying to a conference at Lake Tahoe in December 2012 when the story of what happened next, as told in Cade Metz's book &lt;em&gt;Genius Makers&lt;/em&gt;, became legend: he decided to run an &lt;strong&gt;auction&lt;/strong&gt; for the company among &lt;strong&gt;Google, Microsoft, Baidu, and DeepMind&lt;/strong&gt;. The bidding rose in a hotel room at Harrah's casino, in million-dollar increments, until Hinton called a halt at &lt;strong&gt;$44 million&lt;/strong&gt;, selling to Google. The price, for a three-person company with no product, announced that &lt;strong&gt;AI talent had become one of the most valuable commodities on earth.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Hinton joined Google and divided his time between Toronto and Mountain View, until he resigned in 2023 to speak more freely about the risks of the technology he helped create (see Part 24).&lt;/p&gt;

&lt;h3&gt;
  
  
  The talent war
&lt;/h3&gt;

&lt;p&gt;What followed was a frenzy:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Google&lt;/strong&gt; bought the London start-up &lt;strong&gt;DeepMind&lt;/strong&gt; in January 2014 for a reported $500 million or more, for a team that had barely any product. (DeepMind's story is central to Parts 17 and 21.) It also created the &lt;strong&gt;Google Brain&lt;/strong&gt; group, which Andrew Ng, Jeff Dean, and Greg Corrado had started in 2011.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Facebook&lt;/strong&gt; created &lt;strong&gt;Facebook AI Research (FAIR)&lt;/strong&gt; in December 2013 and hired Yann LeCun to lead it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Baidu&lt;/strong&gt; hired Andrew Ng to lead a lab in Silicon Valley in 2014.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Microsoft, Amazon, Apple, IBM, and Nvidia&lt;/strong&gt; all expanded their research. Nvidia pivoted decisively, tuning its chips and software libraries (such as &lt;strong&gt;cuDNN&lt;/strong&gt;, released in 2014) specifically for neural network training. Its stock price would eventually climb into the trillions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Universities&lt;/strong&gt; found their top machine learning professors recruited by industry with salaries and compute budgets they couldn't match, a dynamic that continues to this day.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Academic conferences, which had been small, collegial gatherings (NIPS had only a few hundred attendees in the 2000s), ballooned. By the late 2010s they had tens of thousands of attendees and sold out within minutes.&lt;/p&gt;

&lt;h3&gt;
  
  
  The tools
&lt;/h3&gt;

&lt;p&gt;A wave of open-source software lowered the barrier to entry:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Theano&lt;/strong&gt; (Université de Montréal), &lt;strong&gt;Torch&lt;/strong&gt;, and &lt;strong&gt;Caffe&lt;/strong&gt; (Berkeley, 2013 to 2014) offered early frameworks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keras&lt;/strong&gt; (2015, by François Chollet) made building networks accessible to ordinary programmers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TensorFlow&lt;/strong&gt;, released by Google in November 2015, and &lt;strong&gt;PyTorch&lt;/strong&gt;, released by Facebook in 2016 to 2017, became the standard tools. PyTorch's flexible style won over researchers; today it is the dominant research framework.&lt;/li&gt;
&lt;li&gt;Google announced a custom chip, the &lt;strong&gt;Tensor Processing Unit (TPU)&lt;/strong&gt;, in 2016, designed specifically for neural network math.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Equally important was the culture of openness: researchers posted their papers on &lt;strong&gt;arXiv&lt;/strong&gt; immediately, released code, and shared pretrained models. The pace of progress accelerated because everyone could build on everyone else's work within days.&lt;/p&gt;

&lt;h2&gt;
  
  
  The cascade of improvements
&lt;/h2&gt;

&lt;p&gt;Once the world noticed that deep convolutional networks worked, they got better and better, at an astonishing pace. The ImageNet challenge itself became a scoreboard for the progress.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Year&lt;/th&gt;
&lt;th&gt;Winning system&lt;/th&gt;
&lt;th&gt;Top-5 error&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;2010&lt;/td&gt;
&lt;td&gt;Traditional features + SVM (NEC-UIUC)&lt;/td&gt;
&lt;td&gt;~28%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2011&lt;/td&gt;
&lt;td&gt;Traditional features (Xerox)&lt;/td&gt;
&lt;td&gt;~26%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;2012&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;AlexNet&lt;/strong&gt; (8 layers)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;~16%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2013&lt;/td&gt;
&lt;td&gt;ZFNet / Clarifai (tweaked AlexNet)&lt;/td&gt;
&lt;td&gt;~11.7%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2014&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;GoogLeNet&lt;/strong&gt; (22 layers) and VGG (19 layers)&lt;/td&gt;
&lt;td&gt;~6.7% / ~7.3%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2015&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;ResNet&lt;/strong&gt; (152 layers)&lt;/td&gt;
&lt;td&gt;~3.6%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2017&lt;/td&gt;
&lt;td&gt;SENet (final competition)&lt;/td&gt;
&lt;td&gt;~2.3%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;For comparison, the researcher Andrej Karpathy, then a Stanford PhD student, took on the task of classifying ImageNet images himself in 2014, spending days training himself on the categories, and reached a top-5 error of about &lt;strong&gt;5.1 percent&lt;/strong&gt;. In 2015, Microsoft's ResNet beat that human benchmark. Machines were now better than a dedicated person at this particular image classification task, a fact that made headlines worldwide. (There are many caveats, including that the labels themselves contain errors, and that a human can do things the network can't. But the milestone was real.)&lt;/p&gt;

&lt;h3&gt;
  
  
  Deeper and deeper: ResNet
&lt;/h3&gt;

&lt;p&gt;The trend of 2012 to 2015 was toward &lt;strong&gt;depth&lt;/strong&gt;: more layers meant better results, as long as you could train them. The vanishing gradient problem had not gone away. When researchers tried simply stacking more layers, accuracy at some point got &lt;em&gt;worse&lt;/em&gt;, even on the training data, a puzzling "degradation" phenomenon.&lt;/p&gt;

&lt;p&gt;The solution, from &lt;strong&gt;Kaiming He and colleagues&lt;/strong&gt; at Microsoft Research in 2015, was disarmingly simple: the &lt;strong&gt;residual connection&lt;/strong&gt;, or &lt;strong&gt;skip connection&lt;/strong&gt;. Instead of asking each block of layers to learn the desired output directly, ask it to learn only the &lt;em&gt;difference&lt;/em&gt;, the "residual," from its input, and add the input back in. In code, one extra addition: &lt;code&gt;output = input + block(input)&lt;/code&gt;. The shortcut gives the gradient a direct path backward through the network, so even a 152-layer network (and later networks with a thousand layers) trained smoothly. The &lt;strong&gt;ResNet&lt;/strong&gt; paper became, for a time, the most cited paper in modern AI. And the idea of residual connections has since become universal: the transformer architecture in Part 18 relies on it in every layer.&lt;/p&gt;

&lt;p&gt;Other practical advances arrived at the same time: &lt;strong&gt;batch normalization&lt;/strong&gt; (2015), which stabilized training by normalizing each layer's inputs, and &lt;strong&gt;Adam&lt;/strong&gt; (2014), an adaptive optimizer that made tuning easier. Training deep networks, once an arcane art, became routine.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why did it work, really?
&lt;/h2&gt;

&lt;p&gt;Let's pause on the question the field was now asking: &lt;em&gt;why&lt;/em&gt; did deep learning succeed where decades of other approaches hadn't? It's worth separating the real reasons from the myths.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Learned features beat engineered features.&lt;/strong&gt; The central lesson of AlexNet. Rather than a human deciding what to measure, the network discovered its own &lt;strong&gt;hierarchy of features&lt;/strong&gt;, from edges to textures to parts to objects. Matthew Zeiler and Rob Fergus's 2013 visualization work showed this vividly, revealing what each layer of a trained network responds to. The first layer looks like the oriented edge detectors found in the visual cortex of cats and monkeys (a fact discovered by neuroscientists David Hubel and Torsten Wiesel in the 1950s and 60s, work that inspired Fukushima's Neocognitron and ultimately LeCun's networks).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Scale.&lt;/strong&gt; Big models, big data, big compute, as predicted by the "Bitter Lesson" of Part 12. As researchers kept scaling up, performance kept improving, in a surprisingly smooth and predictable way (a pattern that will become central in Part 19).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Convolution is a great inductive bias for images.&lt;/strong&gt; Sharing the same filters across all positions, and building features out of local neighborhoods, builds in the right assumptions about how images work: objects look the same wherever they appear, and nearby pixels are related. This drastically reduces the number of parameters you need to learn and makes training with limited data feasible.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. End-to-end training.&lt;/strong&gt; The whole system, from pixels to answer, is trained at once, with every layer adjusting to serve the final goal. Previous systems were pipelines of separately designed stages, and errors compounded.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Engineering.&lt;/strong&gt; GPU kernels, careful initialization, and good tooling. The unglamorous work of making things run fast and stably mattered enormously.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Timing.&lt;/strong&gt; The ideas had mostly existed for 25 years. What changed was that the &lt;em&gt;conditions&lt;/em&gt; finally existed to make them work: data and compute. It's a humbling thought: some of the key theoretical pieces were in place in 1989, but the world needed another twenty years of hardware and the Internet to catch up. As the saying goes, a great idea at the wrong time is a bad idea.&lt;/p&gt;

&lt;h2&gt;
  
  
  Beyond classification: everything becomes a vision problem
&lt;/h2&gt;

&lt;p&gt;Once convolutional networks worked for classifying images, they spread to nearly every visual task, and to many non-visual ones.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Object detection.&lt;/strong&gt; Instead of naming one object in a picture, find and outline &lt;em&gt;all&lt;/em&gt; of them. R-CNN (2013), Fast and Faster R-CNN, and &lt;strong&gt;YOLO&lt;/strong&gt; ("You Only Look Once," 2015) brought real-time detection, useful for everything from security cameras to self-driving cars.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Segmentation.&lt;/strong&gt; Label every pixel. &lt;strong&gt;U-Net&lt;/strong&gt; (2015), designed for biomedical images, became a workhorse of medical imaging.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Face recognition.&lt;/strong&gt; Systems like DeepFace (Part 13) and Google's FaceNet reached human-level accuracy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Medical imaging.&lt;/strong&gt; In 2016, researchers at Google published in the &lt;em&gt;Journal of the American Medical Association&lt;/em&gt; a deep network that detected &lt;strong&gt;diabetic retinopathy&lt;/strong&gt;, a leading cause of blindness, from eye scans at a level comparable to ophthalmologists. In 2017, a Stanford team published in &lt;em&gt;Nature&lt;/em&gt; a network trained on about 130,000 images that classified skin lesions at a level comparable to board-certified dermatologists. These made headlines, and they also led to sober follow-up work on how such tools perform in real clinical settings.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Transfer learning.&lt;/strong&gt; A network trained on ImageNet turned out to be a great starting point for &lt;em&gt;other&lt;/em&gt; image tasks: you could take the pretrained network, replace the last layer, and &lt;strong&gt;fine-tune&lt;/strong&gt; it on a small dataset of your own, say, X-rays or satellite photos, with great results. This idea, &lt;strong&gt;pretraining on a large dataset then adapting to a specific task&lt;/strong&gt;, is a precursor of the entire foundation-model paradigm that dominates AI today.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Beyond images.&lt;/strong&gt; Convolutional networks were applied to audio (spectrograms), text, and even board games. The same principle, learn the features, spread everywhere.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The cracks: adversarial examples and brittleness
&lt;/h2&gt;

&lt;p&gt;The triumphant story has an important footnote, and it appeared almost immediately.&lt;/p&gt;

&lt;p&gt;In 2013, &lt;strong&gt;Christian Szegedy&lt;/strong&gt; and colleagues at Google published a paper called "Intriguing properties of neural networks," which contained a startling discovery. You can take an image that a network classifies correctly, add a tiny, carefully computed pattern of noise, imperceptible to the human eye, and make the network confidently output a &lt;em&gt;completely different&lt;/em&gt; answer. A picture of a panda, plus invisible noise, becomes a "gibbon" with 99 percent confidence. These are called &lt;strong&gt;adversarial examples&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The following year, Ian Goodfellow and colleagues explained a simple method for generating them and showed that they were not mere quirks but a fundamental feature of how these models work. Researchers later showed that you could print an "adversarial patch" (a funny-looking sticker) that made a classifier see a banana as a toaster, or put small stickers on a stop sign that made a vision system read it as a speed limit sign.&lt;/p&gt;

&lt;p&gt;What does this reveal? Deep networks perform spectacularly on average, on data that resembles what they were trained on, but they don't "see" the way people do. They pick up on statistical patterns, including &lt;strong&gt;textures&lt;/strong&gt; and other subtle cues, that humans ignore. A 2019 study by Robert Geirhos and colleagues showed that standard ImageNet networks rely heavily on texture rather than shape: show them a cat with the texture of an elephant's skin and they say "elephant."&lt;/p&gt;

&lt;p&gt;This fragility remains a live issue, and it connects to a theme we've seen from the very beginning of this series: &lt;strong&gt;performance on a benchmark is not the same as understanding.&lt;/strong&gt; The critics who had warned about this, from Descartes to Dreyfus to Searle, weren't entirely wrong. The field's response has been to develop robust training methods, bigger and more diverse datasets, and better evaluation, but the problem hasn't gone away. In 2018, the cognitive scientist &lt;strong&gt;Gary Marcus&lt;/strong&gt; published a widely discussed critique, "Deep Learning: A Critical Appraisal," listing limitations: dependence on large amounts of data, difficulty with abstraction and reasoning, brittleness, and opacity. Many of his points remain relevant even as models have advanced.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the AlexNet moment means for the story
&lt;/h2&gt;

&lt;p&gt;Take a step back and think about how this chapter fits into the larger arc.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Part 9:&lt;/strong&gt; Backpropagation made multi-layer networks trainable in principle (1986).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Part 10:&lt;/strong&gt; Statistical learning took over while neural nets were sidelined.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Part 12:&lt;/strong&gt; Data (ImageNet) and compute (GPUs) matured.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Part 14:&lt;/strong&gt; Everything combined, and the old approach of hand-engineering features collapsed in eighteen months.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A scientific community, accustomed to incremental progress, experienced something close to a &lt;strong&gt;paradigm shift&lt;/strong&gt; in the sense of philosopher Thomas Kuhn: a sudden change in the fundamental way the field worked. The approach that had been dismissed as dead for two decades turned out to be the future.&lt;/p&gt;

&lt;p&gt;For Hinton, LeCun, and Bengio, the vindication was complete. In 2018, the three shared the &lt;strong&gt;ACM Turing Award&lt;/strong&gt;, the "Nobel Prize of computing," for their work on deep neural networks. In 2024, Hinton shared the Nobel Prize in Physics, as we noted in Part 9. For the younger researchers, the lesson was that the old adage "if it's worth doing, it's worth doing at scale" had found its proof.&lt;/p&gt;

&lt;p&gt;But for the field as a whole, a deeper question loomed. Seeing, recognizing objects in pictures, was only one capability. What about &lt;em&gt;sequences&lt;/em&gt;: speech, language, music, time? What about &lt;em&gt;generating&lt;/em&gt; images instead of merely classifying them? What about &lt;em&gt;acting&lt;/em&gt; in an environment? The tools to answer these questions, recurrent networks, generative adversarial networks, and deep reinforcement learning, were all being developed in parallel, and each of them would deliver its own shock. The next four chapters follow those threads.&lt;/p&gt;

&lt;h2&gt;
  
  
  AlexNet by the numbers
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;8&lt;/strong&gt; learned layers (5 convolutional, 3 fully connected).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;About 60 million&lt;/strong&gt; parameters and &lt;strong&gt;650,000&lt;/strong&gt; neurons.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;1.2 million&lt;/strong&gt; training images, each shown to the network many times.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;About 90 passes&lt;/strong&gt; (epochs) through the training data.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;5 to 6 days&lt;/strong&gt; of training on &lt;strong&gt;two GTX 580 GPUs&lt;/strong&gt;, each with 3 GB of memory.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Top-5 error of roughly 16%&lt;/strong&gt; against &lt;strong&gt;26%&lt;/strong&gt; for the runner-up.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Over 100,000 citations&lt;/strong&gt; for the paper in the years since.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Compare that with today: the training compute of the largest modern models exceeds AlexNet's by a factor of many millions, yet the lineage is direct.&lt;/p&gt;

&lt;h2&gt;
  
  
  Timeline: 2012 to 2018
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;2012:&lt;/strong&gt; AlexNet; dropout; the Google "cat" paper.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2013:&lt;/strong&gt; Adversarial examples discovered; DNNresearch sold to Google; Facebook AI Research founded.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2014:&lt;/strong&gt; DeepMind acquired by Google; VGG and GoogLeNet; Adam optimizer; cuDNN.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2015:&lt;/strong&gt; ResNet beats the human benchmark; batch normalization; TensorFlow released.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2016:&lt;/strong&gt; PyTorch appears; Google announces TPUs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2017:&lt;/strong&gt; Final ImageNet challenge; the Transformer (Part 18).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2018:&lt;/strong&gt; Turing Award to Hinton, LeCun, and Bengio.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Quick glossary
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Convolutional layer:&lt;/strong&gt; a layer that slides small shared filters over its input.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pooling:&lt;/strong&gt; summarizing a small region (for example, by its maximum) to shrink data.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fully connected layer:&lt;/strong&gt; a layer in which every unit connects to every unit in the previous layer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Top-5 error:&lt;/strong&gt; how often the correct class isn't among the five highest-scoring guesses.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Transfer learning:&lt;/strong&gt; reusing a model trained on one task as the starting point for another.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Adversarial example:&lt;/strong&gt; an input altered, often imperceptibly, to make a model fail.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Residual connection:&lt;/strong&gt; a shortcut that adds a layer's input to its output.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Key takeaways
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;AlexNet&lt;/strong&gt; (Krizhevsky, Sutskever, Hinton) won the 2012 ImageNet challenge with a top-5 error of about &lt;strong&gt;16 percent&lt;/strong&gt;, versus &lt;strong&gt;26 percent&lt;/strong&gt; for the runner-up, a leap so large that it flipped computer vision to deep learning within about 18 months.&lt;/li&gt;
&lt;li&gt;It was a &lt;strong&gt;convolutional neural network&lt;/strong&gt; with &lt;strong&gt;8 layers and ~60 million parameters&lt;/strong&gt;, trained on &lt;strong&gt;two gaming GPUs&lt;/strong&gt;, using &lt;strong&gt;ReLU, dropout, data augmentation,&lt;/strong&gt; and &lt;strong&gt;ImageNet's 1.2 million images&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;The result triggered an &lt;strong&gt;industry gold rush&lt;/strong&gt;: Google paid &lt;strong&gt;$44 million&lt;/strong&gt; for Hinton's three-person company, bought DeepMind, and Facebook, Baidu, and others rushed to build AI labs. Nvidia, TensorFlow, and PyTorch grew alongside.&lt;/li&gt;
&lt;li&gt;ImageNet error fell from 28% (2010) to under 3% (2017), &lt;strong&gt;surpassing human-level&lt;/strong&gt; performance on the task by 2015, aided by innovations like &lt;strong&gt;ResNet's skip connections&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Transfer learning&lt;/strong&gt; turned pretrained networks into foundations for many tasks, including medical imaging.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Adversarial examples&lt;/strong&gt; and texture bias revealed that deep networks are &lt;strong&gt;brittle&lt;/strong&gt; and don't see like humans.&lt;/li&gt;
&lt;li&gt;2018 &lt;strong&gt;Turing Award&lt;/strong&gt; for Hinton, LeCun, and Bengio; 2024 &lt;strong&gt;Nobel Prize&lt;/strong&gt; for Hinton (with Hopfield).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it yourself
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Use a pretrained network.&lt;/strong&gt; In Python, with PyTorch or TensorFlow, load a pretrained ResNet or AlexNet and classify five photos of your own. Look at the top-5 predictions. When is it confidently wrong?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fine-tune it.&lt;/strong&gt; Take about 100 photos each of two things (your cat and your neighbor's cat, or two types of plants), replace the final layer of a pretrained network, and train only that layer. You've just done transfer learning.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Count the cost.&lt;/strong&gt; Modify the parameter counter above to model a network with twice as many filters in each convolutional layer. What happens to the total? Which layers dominate?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fool a network.&lt;/strong&gt; Search for "fast gradient sign method" tutorials and generate an adversarial example against a pretrained classifier. It takes about 10 lines of code. How small does the perturbation need to be?&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Next up
&lt;/h2&gt;

&lt;p&gt;In &lt;strong&gt;Part 15&lt;/strong&gt;, we open the hood on the three families of deep networks that dominated the mid-2010s: &lt;strong&gt;convolutional networks&lt;/strong&gt; (the seeing machines), &lt;strong&gt;recurrent networks&lt;/strong&gt;, and &lt;strong&gt;LSTMs&lt;/strong&gt; (the machines with memory that conquered speech, handwriting, and translation). We'll meet Sepp Hochreiter and Jürgen Schmidhuber, whose 1997 invention was quietly powering your phone long before most people had heard of it, and we'll see how neural networks learned to handle time.&lt;/p&gt;

&lt;p&gt;If you were in the field in 2012, I'd love to hear what the mood was like in the weeks after the result. Tell me in the comments, and follow the series for Part 15.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;See you in Part 15.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;☕ &lt;strong&gt;If this series helped you, you can support my writing on Ko-fi.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://ko-fi.com/surajnandan" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2z7dch5enfz2e5i2t2gj.png" alt="Support me on Ko-fi" width="286" height="73"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>history</category>
      <category>deeplearning</category>
      <category>machinelearning</category>
      <category>computervision</category>
    </item>
    <item>
      <title>Why Does Every Nation Still Print Its Own Cash?</title>
      <dc:creator>Suraj Nandan</dc:creator>
      <pubDate>Fri, 04 Dec 2026 03:30:00 +0000</pubDate>
      <link>https://dev.to/suraj_nandan/why-does-every-nation-still-print-its-own-cash-2dek</link>
      <guid>https://dev.to/suraj_nandan/why-does-every-nation-still-print-its-own-cash-2dek</guid>
      <description>&lt;p&gt;There’s a question I keep coming back to. A simple one, that nobody in mainstream finance ever seems to ask out loud.&lt;/p&gt;

&lt;p&gt;We have one planet. One global economy. One internet. One atmosphere that we’re all slowly destroying together.&lt;/p&gt;

&lt;p&gt;So why do we have 180 different currencies - all competing, all manipulated, all creating barriers between the people who make things and the people who need them?&lt;/p&gt;

&lt;p&gt;That question is the seed of everything Naked Market is about.&lt;/p&gt;

&lt;p&gt;This newsletter is not for everyone. I’m going to say that straight, because I respect your time.&lt;/p&gt;

&lt;p&gt;Naked Market is for people who are done reacting. Done following influencers who explain last week’s price move with 5 minutes of hindsight. Done feeling like global finance is a machine they’re somehow always on the wrong side of.&lt;/p&gt;

&lt;p&gt;You are probably someone who senses that there’s a bigger story underneath - the geopolitics, the incentive structures, the quiet infrastructure being built that will change how money actually works. You just haven’t found a place that explains it clearly, without hype, without selling you something.&lt;/p&gt;

&lt;p&gt;Thats what this is.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"These are people who want to understand how the world really works. Not the polished version sold in news segments."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Here’s the thing nobody wants to admit about modern financial media.&lt;/p&gt;

&lt;p&gt;Its designed structurally, commercially, algorithmically to keep you one step behind. Not maliciously. Just as a byproduct of how attention economics work. Fear travels faster than understanding. Panic gets more clicks than clarity. And so you get a constant feed of noise that explains what already happened, framed in a way that makes you anxious enough to keep watching.&lt;/p&gt;

&lt;p&gt;Meanwhile the actual signal the macro shift happening six months before the headline, the institutional positioning that moves before the news breaks, the structural technology change that rewires the whole system that stuff is either buried in expensive research reports, or quietly understood by people who have access to better information than you do.&lt;/p&gt;

&lt;p&gt;That information gap is what Naked Market is trying to close. Not by giving you hot tips. But by giving you the frameworks to see the structure so you stop being surprised by things that were actually predictable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;The big idea underneath everything&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Everything in this newsletter - every macro breakdown, every blockchain deep-dive, every piece on AI systems replacing human financial workflows - everything orbits one central idea.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One Earth. One Currency.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Not as a utopian fantasy. As a structural trajectory. The kind of thing that sounds radical today but, when you trace the actual lines of force in global finance the stablecoin infrastructure being built, the CBDC experiments running across 130+ countries, the tokenization of real-world assets, the settlement layer that blockchains are quietly becoming it starts to look less like idealism and more like inevitability.&lt;/p&gt;

&lt;p&gt;Think about what 180 currencies actually cost the world. Every time a manufacturer in India buys raw materials from Brazil, there’s currency conversion friction. Every time a worker in the Philippines sends money home, 5-7% disappears to intermediaries. Every time a small business in Nigeria tries to raise capital from a foreign investor, theres an entire layer of complexity that exists purely because we decided centuries ago that each nation should have its own monetary unit.&lt;/p&gt;

&lt;p&gt;None of that friction is natural. Its infrastructure. And infrastructure can be rebuilt.&lt;/p&gt;

&lt;p&gt;This is why blockchain, in Naked Market, is never just “crypto.” Its financial infrastructure. The settlement layer for a world that is slowly, reluctantly, then suddenly integrating its monetary system.&lt;/p&gt;

&lt;p&gt;And AI? AI is the operating system that runs on top of those rails. Not as a gimmick, but as the automation layer that makes a unified global financial system actually function at scale without armies of analysts and compliance teams in every jurisdiction.&lt;/p&gt;

&lt;p&gt;AI agents doing research. AI doing execution. AI doing risk management. AI filtering the signal from the noise. Not replacing human judgment but handling the mechanical work that currently employs millions of people, and handling it faster, cheaper, and without the emotional bias that loses most retail traders their capital.&lt;/p&gt;

&lt;p&gt;That transition from emotional, manual, fragmented finance to systematic, automated, unified finance is the biggest story of our generation. And its happening right now, mostly outside the view of mainstream media.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;What you’ll get every week&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Every issue of Naked Market is one of five things. Sometimes a combination.&lt;/p&gt;

&lt;p&gt;Think of each issue as a 5–10 minute read that rewires one small part of how you see the financial world. Not advice. Frameworks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;The transformation&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Why I'm doing this&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I didn’t build &lt;em&gt;Naked Market&lt;/em&gt; to become a media property. I built it because I kept having the same frustrating experience seeing genuinely smart, genuinely curious people around me drown in low-quality information designed to keep them reactive rather than capable.&lt;/p&gt;

&lt;p&gt;The philosophy behind everything here is simple: &lt;strong&gt;make people wealthy, not just rich.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;There’s a difference. Rich is an amount. Wealth is a capability. Wealth means understanding the system well enough to stop being a victim of it.&lt;/p&gt;

&lt;p&gt;Right now, the world is moving through one of the largest structural shifts in financial history. New rails are being built beneath us - blockchain infrastructure, AI systems, digital currencies, tokenized assets, and entirely new ways for value to move. Most people will only notice these changes after they’ve already reshaped the world around them.&lt;/p&gt;

&lt;p&gt;But we’re living in a moment where billions of people connected by the internet, participating in global markets, and entering a more digitally native economy have the chance to leapfrog old systems entirely. To move beyond slow, fragmented financial structures and into something more open, accessible, and intelligent.&lt;/p&gt;

&lt;p&gt;That only happens if enough people actually understand what these new rails look like.&lt;/p&gt;

&lt;p&gt;And that’s what this newsletter is trying to do one issue at a time.&lt;/p&gt;

&lt;p&gt;This version feels broader and more timeless, while still fitting the &lt;em&gt;Naked Market&lt;/em&gt; vision and keeping the “new rails” narrative you’re building.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Start here&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you're new, here are few pieces that will give you a feel for Naked Market's voice and what we're actually about.&lt;/p&gt;

&lt;p&gt;If you want to understand where money is going before it becomes obvious to everyone else you’re already in the right place.&lt;/p&gt;

&lt;p&gt;Stay curious. Stay rational. Question every narrative that feels too clean.&lt;/p&gt;

&lt;p&gt;2–4 issues per week. Signal over frequency. Always free to start&lt;/p&gt;

&lt;p&gt;&lt;em&gt;- glad you're here.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Naked Market&lt;/em&gt;&lt;/p&gt;

</description>
      <category>cryptocurrency</category>
      <category>oneearthonecurrency</category>
      <category>blockchain</category>
      <category>finance</category>
    </item>
    <item>
      <title>The History of AI, Part 13: Watson, Siri, and AI Enters Everyday Life</title>
      <dc:creator>Suraj Nandan</dc:creator>
      <pubDate>Wed, 02 Dec 2026 04:30:00 +0000</pubDate>
      <link>https://dev.to/suraj_nandan/the-history-of-ai-part-13-watson-siri-and-ai-enters-everyday-life-49b4</link>
      <guid>https://dev.to/suraj_nandan/the-history-of-ai-part-13-watson-siri-and-ai-enters-everyday-life-49b4</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The History of AI, Part 13 of 24.&lt;/strong&gt; Part 12 explained the ingredients of the deep learning revolution. Before the revolution hit, though, AI had already stepped out of the lab and into living rooms. This chapter covers the quiz show, the voice assistant, the self-driving desert race, and the sensor in your game console: the moments when ordinary people first met AI face to face.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;For most of the 2000s, if you asked an ordinary person what "artificial intelligence" meant, they'd probably describe a movie. &lt;em&gt;The Terminator&lt;/em&gt;. &lt;em&gt;2001: A Space Odyssey&lt;/em&gt;. &lt;em&gt;A.I.&lt;/em&gt;, Spielberg's 2001 film, was a box-office disappointment, and the word itself still carried the whiff of failure we met in Part 8.&lt;/p&gt;

&lt;p&gt;Then, in a few short years, everything changed. A computer defeated the two best players in the history of &lt;em&gt;Jeopardy!&lt;/em&gt; An assistant named Siri arrived in a pocket-sized phone. Cars drove themselves across a desert. A game console started tracking your body without a controller. And by the end of that stretch, a quiet new thing was in the air: &lt;strong&gt;AI worked&lt;/strong&gt;, in ways ordinary people could see and touch, and the word was beginning to regain its shine.&lt;/p&gt;

&lt;p&gt;This chapter tells those stories. It's also a story about &lt;strong&gt;how AI gets from the lab to the world&lt;/strong&gt;, and what usually goes wrong on the way.&lt;/p&gt;

&lt;h2&gt;
  
  
  The grand challenge: &lt;em&gt;Jeopardy!&lt;/em&gt;
&lt;/h2&gt;

&lt;h3&gt;
  
  
  The idea
&lt;/h3&gt;

&lt;p&gt;In 2004, according to the often-told story, an IBM research manager named &lt;strong&gt;Charles Lickel&lt;/strong&gt; was having dinner at a steakhouse in Fishkill, New York, when the restaurant went quiet. Everyone had turned to watch the TV above the bar: a software engineer named &lt;strong&gt;Ken Jennings&lt;/strong&gt; was in the middle of a record-breaking 74-game winning streak on the quiz show &lt;em&gt;Jeopardy!&lt;/em&gt; Lickel thought: &lt;em&gt;what if a computer could do that?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;IBM, after Deep Blue (Part 11), was looking for its next &lt;strong&gt;grand challenge&lt;/strong&gt;, a public demonstration of its research that would capture attention. A quiz show was a very different problem from chess. Chess is a closed world with precise rules. &lt;em&gt;Jeopardy!&lt;/em&gt; is an open world of puns, wordplay, obscure facts, and clues phrased as riddles, delivered in natural language: "This Dutch artist's ear-related incident is the most famous episode of his life." You must produce the answer, phrased as a question ("Who is Vincent van Gogh?"), in about three seconds, and you must decide whether to buzz in at all, since a wrong answer costs you money.&lt;/p&gt;

&lt;p&gt;Many of IBM's own researchers thought it was too hard. The state of the art in question answering at the time could answer maybe 15 percent of such questions correctly. Top human players answered over 90 percent of the ones they chose to attempt. The project, led by &lt;strong&gt;David Ferrucci&lt;/strong&gt; and a team of about two dozen researchers, began around 2006 and was named &lt;strong&gt;Watson&lt;/strong&gt;, after IBM's founder, Thomas J. Watson.&lt;/p&gt;

&lt;h3&gt;
  
  
  How Watson worked
&lt;/h3&gt;

&lt;p&gt;Watson is often described as if it were a thinking machine. It wasn't. It was a massive, carefully engineered system that combined many techniques from the previous chapters of this series. IBM called the architecture &lt;strong&gt;DeepQA&lt;/strong&gt; (for "deep question answering"), and its design philosophy was explicitly &lt;strong&gt;pragmatic&lt;/strong&gt;: use hundreds of different algorithms, let them each make a guess, and combine them.&lt;/p&gt;

&lt;p&gt;The pipeline went roughly like this:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Understand the clue.&lt;/strong&gt; Parse the natural-language clue to figure out what it's asking, what type of answer is expected (a person? a city? a date?), and which words are the key ones. This used decades of natural language processing: parsers, named-entity recognizers, and relation extractors.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Generate candidates.&lt;/strong&gt; Search Watson's enormous stored knowledge, about &lt;strong&gt;200 million pages&lt;/strong&gt; of text, including encyclopedias, dictionaries, news articles, and Wikipedia, plus some structured databases, for passages that might contain the answer. This produced hundreds of candidate answers per clue. (Importantly, Watson was &lt;strong&gt;not connected to the Internet&lt;/strong&gt; during the game.)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gather evidence.&lt;/strong&gt; For each candidate, run many different analyses: does the candidate match the expected answer type? Does the passage support it? Do the relationships in the clue (dates, places, people) match? Does it rhyme, or fit the wordplay?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Score and rank with machine learning.&lt;/strong&gt; More than a hundred scorers each produced features about each candidate. A &lt;strong&gt;machine learning model&lt;/strong&gt;, trained on thousands of past &lt;em&gt;Jeopardy!&lt;/em&gt; questions, learned how much to trust each feature and combined them into a single &lt;strong&gt;confidence score&lt;/strong&gt; for each candidate.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Decide whether to buzz.&lt;/strong&gt; If the top candidate's confidence exceeded a threshold, which Watson adjusted dynamically based on the game situation (how much money was at stake, how far behind or ahead it was), it buzzed in. Otherwise, it stayed silent.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That last element, &lt;strong&gt;knowing what it doesn't know&lt;/strong&gt;, was one of Watson's most impressive features, and it's still a challenge for AI systems today.&lt;/p&gt;

&lt;p&gt;Let's capture the flavor of this pipeline in a miniature program. It's a toy, a few lines of Python with four tiny "documents," but it has the same shape: find candidates, score them by evidence, and decide whether to buzz in based on a confidence threshold.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;math&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;re&lt;/span&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;collections&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;Counter&lt;/span&gt;

&lt;span class="n"&gt;PASSAGES&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Chicago&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;largest city in Illinois, on Lake Michigan. O&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;Hare airport is named for a World War II hero and Midway airport for a World War II battle&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Toronto&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;largest city in Canada, on Lake Ontario. Pearson airport serves the city. Home of the CN Tower&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Paris&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;   &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;capital of France, on the Seine. Home of the Eiffel Tower and the Louvre museum&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Houston&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;largest city in Texas. Home of the NASA Johnson Space Center and Bush airport&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="n"&gt;STOP&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;set&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;the a an of in on and is for its it to named by are&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;split&lt;/span&gt;&lt;span class="p"&gt;())&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;tokens&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;re&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;findall&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;r&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;[a-z0-9&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;]+&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;lower&lt;/span&gt;&lt;span class="p"&gt;())&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;STOP&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="n"&gt;docs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;set&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;tokens&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;text&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;PASSAGES&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;items&lt;/span&gt;&lt;span class="p"&gt;()}&lt;/span&gt;
&lt;span class="n"&gt;df&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Counter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;docs&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;values&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;idf&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;lambda&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nf"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;docs&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;df&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="mf"&gt;0.5&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;     &lt;span class="c1"&gt;# unseen words count as very rare
&lt;/span&gt;
&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;answer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;clue&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;q&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;tokens&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;clue&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;scores&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;idf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;q&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;docs&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;items&lt;/span&gt;&lt;span class="p"&gt;()}&lt;/span&gt;
    &lt;span class="n"&gt;best&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;scores&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;scores&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;get&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;confidence&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;scores&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;best&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;idf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;q&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;   &lt;span class="c1"&gt;# share of the clue we could explain
&lt;/span&gt;    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;best&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;round&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;confidence&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;THRESHOLD&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.5&lt;/span&gt;                          &lt;span class="c1"&gt;# Watson only "buzzed in" when confident enough
&lt;/span&gt;&lt;span class="n"&gt;clues&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Its largest airport is named for a World War II hero; its second largest, for a World War II battle&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Home of the Louvre museum&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;A big city with an airport&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;clue&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;clues&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;guess&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;conf&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;answer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;clue&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;decision&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;BUZZ: &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;guess&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;conf&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="n"&gt;THRESHOLD&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;pass&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
    &lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;conf&lt;/span&gt;&lt;span class="si"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt;  &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;decision&lt;/span&gt;&lt;span class="si"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;14&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt; &amp;lt;- &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;clue&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Running it, the first two clues get confident answers (Chicago and Paris), while the vague third clue falls below the threshold, and the system wisely stays quiet. Real Watson did this with an enormous corpus, deep linguistic analysis, and a trained ranking model, but the skeleton is the same: &lt;strong&gt;retrieve, score, calibrate, decide&lt;/strong&gt;. This general recipe, retrieving relevant text and then reasoning over it, is also the ancestor of the "retrieval-augmented" systems that are common with large language models today.&lt;/p&gt;

&lt;h3&gt;
  
  
  The hardware
&lt;/h3&gt;

&lt;p&gt;Watson ran on a cluster of &lt;strong&gt;90 IBM Power 750 servers&lt;/strong&gt;, with a total of &lt;strong&gt;2,880 processor cores and 16 terabytes of memory&lt;/strong&gt;. It had to hold all its knowledge in memory, since there was no time to read from disk. The machine filled a room, and it needed about as much cooling as a small office building. Remember the Lisp machines and Deep Blue's custom chess chips? Watson was another entry in the grand tradition of AI-by-supercomputer.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fl7y57o0jc3v9o7h0qbsm.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fl7y57o0jc3v9o7h0qbsm.jpg" alt="IBM's Watson hardware" width="800" height="533"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;IBM's Watson hardware. Image: Raysonho @ Open Grid Scheduler / Grid Engine, CC BY 3.0, via &lt;a href="https://commons.wikimedia.org/wiki/File:IBMWatson.jpg" rel="noopener noreferrer"&gt;Wikimedia Commons&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  The match
&lt;/h3&gt;

&lt;p&gt;The contest was broadcast over three days in &lt;strong&gt;February 2011&lt;/strong&gt;. Watson faced the two greatest &lt;em&gt;Jeopardy!&lt;/em&gt; champions: &lt;strong&gt;Ken Jennings&lt;/strong&gt;, with his 74-game streak, and &lt;strong&gt;Brad Rutter&lt;/strong&gt;, who had won more prize money than any other contestant in the show's history. Watson was represented on stage by a glowing avatar and a calm synthetic voice.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxcqj2062o9bmcf11acxe.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxcqj2062o9bmcf11acxe.jpg" alt="A demonstration of Watson playing Jeopardy!" width="800" height="536"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;A demonstration of Watson playing Jeopardy!. Image: Rosemaryetoufee, CC BY-SA 4.0, via &lt;a href="https://commons.wikimedia.org/wiki/File:Watson_Jeopardy_demo.jpg" rel="noopener noreferrer"&gt;Wikimedia Commons&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The result was decisive. After two games' combined scores, &lt;strong&gt;Watson finished with $77,147, Jennings with $24,000, and Rutter with $21,600&lt;/strong&gt;. Watson donated its $1 million prize to charity. Jennings, in his Final Jeopardy response, wrote a now-famous line on his screen borrowed from &lt;em&gt;The Simpsons&lt;/em&gt;: "I for one welcome our new computer overlords."&lt;/p&gt;

&lt;p&gt;The match was also a showcase of Watson's weirdness. It sometimes gave bafflingly wrong answers. In the most famous blunder, in the Final Jeopardy round under the category "U.S. Cities," where the clue described a city whose two airports are named for a World War II hero and a World War II battle (it's Chicago), Watson answered &lt;strong&gt;Toronto&lt;/strong&gt;, followed by a string of question marks on its display, a quirk of how it flagged its low confidence. IBM's team later explained the slip: Watson had learned to weigh category titles lightly because &lt;em&gt;Jeopardy!&lt;/em&gt; categories are often loose, and several quirks pointed its evidence scorers toward Toronto (the city's baseball team plays in the American League, and there is a Toronto in Ohio). Fortunately, Watson had wagered only a small amount. It was a reminder that the system could be right and wrong for reasons that were alien to human thinking.&lt;/p&gt;

&lt;h3&gt;
  
  
  What Watson really proved, and what happened next
&lt;/h3&gt;

&lt;p&gt;IBM presented Watson as the beginning of a new era: &lt;strong&gt;cognitive computing&lt;/strong&gt;, in which machines would understand and reason about human language, and the company quickly set out to commercialize the technology, especially in &lt;strong&gt;healthcare&lt;/strong&gt;. If Watson could read 200 million pages for a quiz show, why couldn't it read all the world's medical literature and help doctors fight cancer?&lt;/p&gt;

&lt;p&gt;The result was a sobering lesson in the gap between demos and deployment. IBM launched &lt;strong&gt;Watson Health&lt;/strong&gt; and made large acquisitions. It struck a high-profile partnership with the MD Anderson Cancer Center in Houston in 2012. But the project, which cost on the order of tens of millions of dollars, ran into serious difficulty: medical language and clinical data are messy and inconsistent, hospital records don't follow &lt;em&gt;Jeopardy!&lt;/em&gt;'s tidy format, and the recommendations the system produced were sometimes unhelpful or, according to reports, occasionally unsafe or misaligned with local practice. In 2016 to 2017, MD Anderson put the project on hold, and an internal audit criticized the cost and the lack of results. Reporting in 2018 described internal IBM documents showing "unsafe and incorrect" treatment recommendations in some cases for the oncology product. By 2022, IBM had sold the core of Watson Health to a private equity firm.&lt;/p&gt;

&lt;p&gt;That doesn't mean Watson was a fake. The &lt;em&gt;Jeopardy!&lt;/em&gt; system was a genuine and impressive achievement, and parts of its technology found their way into useful products. But the healthcare story is a textbook case of the recurring pattern we've been tracing: &lt;strong&gt;a dazzling demo in a clean, well-defined domain, followed by a hard collision with the open-ended reality of the real world.&lt;/strong&gt; MYCIN (Part 7) never made it into clinics; Watson for Oncology struggled too. (Today's large language models are now being tested on medical tasks, and much of the same caution applies.)&lt;/p&gt;

&lt;h2&gt;
  
  
  Siri and the voice assistant
&lt;/h2&gt;

&lt;p&gt;While IBM was preparing for &lt;em&gt;Jeopardy!&lt;/em&gt;, another idea was brewing that would put AI in the hands of hundreds of millions.&lt;/p&gt;

&lt;h3&gt;
  
  
  From CALO to Siri
&lt;/h3&gt;

&lt;p&gt;In 2003, the US defense research agency DARPA launched one of the largest AI projects in American history, the &lt;strong&gt;PAL (Personalized Assistant that Learns)&lt;/strong&gt; program, and gave the lion's share to &lt;strong&gt;SRI International&lt;/strong&gt;, the same Stanford Research Institute that had built Shakey (Part 5). SRI's project, called &lt;strong&gt;CALO&lt;/strong&gt;, for "Cognitive Assistant that Learns and Organizes," involved some 300 researchers from several universities over five years, and aimed to build a software assistant that could learn from its user, handle email and scheduling, and help organize meetings and documents. The cost was on the order of 150 to 200 million dollars.&lt;/p&gt;

&lt;p&gt;CALO produced important research, and in 2007 a team from SRI, including &lt;strong&gt;Dag Kittlaus&lt;/strong&gt;, &lt;strong&gt;Adam Cheyer&lt;/strong&gt;, and &lt;strong&gt;Tom Gruber&lt;/strong&gt;, spun out a start-up to build a consumer version. They called it &lt;strong&gt;Siri&lt;/strong&gt;. The first version was an iPhone app released in early 2010: you spoke to it, and it understood requests like "find me a cheap Italian restaurant nearby" or "book a table for two," connecting to services such as restaurant listings and ticket sites to carry them out. In April 2010, &lt;strong&gt;Apple acquired the company&lt;/strong&gt; (reportedly for around $200 million), and in October 2011 Siri was built into the &lt;strong&gt;iPhone 4S&lt;/strong&gt; as a headline feature.&lt;/p&gt;

&lt;p&gt;Siri was not, technically, a breakthrough in AI: it used speech recognition from a company called &lt;strong&gt;Nuance&lt;/strong&gt; (descended from the lineage that includes Dragon, which we met in Part 10), followed by language understanding and a collection of hand-built "domains" (weather, calendar, restaurants), each connecting to a particular service. But it had something earlier assistants lacked: &lt;strong&gt;polish, personality, and distribution.&lt;/strong&gt; It was in the pocket of tens of millions of people from day one. It had a playful sense of humor, answering "What's the meaning of life?" or "Will you marry me?" with canned quips, which people loved sharing, and which show the ELIZA effect (Part 5) alive and well.&lt;/p&gt;

&lt;h3&gt;
  
  
  The assistants multiply
&lt;/h3&gt;

&lt;p&gt;Siri set off a race:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Google Now&lt;/strong&gt; (2012) tried to anticipate your needs from your calendar, location, and search history, and &lt;strong&gt;Google Voice Search&lt;/strong&gt; had earlier shown, from 2008, that speech recognition on phones could work well.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Microsoft Cortana&lt;/strong&gt; (2014) brought an assistant to Windows and Windows Phone.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Amazon Echo and Alexa&lt;/strong&gt; (launched November 2014) put a voice assistant in the &lt;strong&gt;home&lt;/strong&gt; rather than in the pocket, a tall speaker that listened for a "wake word." It was an unexpected hit. Amazon opened Alexa to third-party developers, who built "skills," and the smart speaker became a new product category.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Google Assistant&lt;/strong&gt; (2016) and &lt;strong&gt;Google Home&lt;/strong&gt; followed.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  What the assistants taught us
&lt;/h3&gt;

&lt;p&gt;These products were a double-edged sword for AI's image. On the one hand, they made AI &lt;strong&gt;ordinary&lt;/strong&gt;: millions of people now talked to a machine every day to set timers, play music, and check the weather. On the other hand, they were frequently frustrating. They misunderstood, couldn't handle follow-up questions, had no real memory of the conversation, and often failed on anything outside their prebuilt categories. The gap between the marketing ("your personal assistant") and the reality ("sorry, I didn't get that") was a regular source of jokes.&lt;/p&gt;

&lt;p&gt;Under the hood, the speech recognition inside them improved dramatically in the 2010s as &lt;strong&gt;deep neural networks replaced hidden Markov models&lt;/strong&gt; (Part 12). Word error rates, the percentage of words a system gets wrong, fell year after year on standard tests. In 2016, Microsoft researchers announced that their system had reached "human parity" on a widely used conversational speech benchmark, with an error rate of about 5.9 percent, comparable to professional transcribers (though skeptics noted the caveats of the benchmark). The true conversational abilities of these assistants, though, remained limited until large language models arrived in the 2020s, a story we'll get to in Part 21.&lt;/p&gt;

&lt;h2&gt;
  
  
  Driving through the desert
&lt;/h2&gt;

&lt;p&gt;A third landmark of this period was the quest for the &lt;strong&gt;self-driving car&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;We've already seen early efforts in Part 8: Dickmanns's Mercedes vans and CMU's ALVINN. By the early 2000s, progress had stalled, and DARPA decided to try an unusual strategy to reignite it: a &lt;strong&gt;prize competition&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  The 2004 Grand Challenge
&lt;/h3&gt;

&lt;p&gt;In March 2004, DARPA staged the first &lt;strong&gt;Grand Challenge&lt;/strong&gt;: a race for driverless vehicles across about 150 miles of the Mojave Desert, with a prize of one million dollars. Fifteen teams lined up at the start in Barstow, California. The results were comic and humbling. One vehicle flipped over right at the start. Another got stuck in a berm. Another entangled itself in a fence. The best performer, Carnegie Mellon's &lt;em&gt;Sandstorm&lt;/em&gt;, traveled just &lt;strong&gt;7.3 miles&lt;/strong&gt; before getting hung up on a rock and catching fire. Nobody finished, and nobody won. Many commentators declared the whole idea hopeless.&lt;/p&gt;

&lt;h3&gt;
  
  
  The 2005 Grand Challenge
&lt;/h3&gt;

&lt;p&gt;DARPA tried again in October 2005, with a $2 million prize. This time, the progress was astonishing. Of 23 finalists, &lt;strong&gt;five vehicles completed the entire 132-mile desert course&lt;/strong&gt;, including tunnels and narrow mountain passes. The winner was &lt;strong&gt;Stanley&lt;/strong&gt;, a modified Volkswagen Touareg from &lt;strong&gt;Stanford&lt;/strong&gt;, led by &lt;strong&gt;Sebastian Thrun&lt;/strong&gt;, which finished in just under seven hours. Two Carnegie Mellon vehicles came second and third.&lt;/p&gt;

&lt;p&gt;What changed in a single year? &lt;strong&gt;Machine learning.&lt;/strong&gt; Stanley's team used techniques to &lt;em&gt;learn&lt;/em&gt; from experience how to tell drivable road from non-drivable terrain, training its vision system on data collected while a human drove, rather than hard-coding rules. It also used &lt;strong&gt;probabilistic reasoning&lt;/strong&gt; to cope with noisy sensor data, and powerful lasers (&lt;strong&gt;lidar&lt;/strong&gt;) to build 3D pictures of the surroundings. It was a vindication of the statistical approach of Part 10, applied to robotics.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Urban Challenge and beyond
&lt;/h3&gt;

&lt;p&gt;In 2007, DARPA raised the stakes with the &lt;strong&gt;Urban Challenge&lt;/strong&gt;, in which vehicles had to navigate a mock city environment, obeying traffic laws, merging, parking, and avoiding other vehicles. Carnegie Mellon's &lt;em&gt;Boss&lt;/em&gt; won. By then, the technology had progressed dramatically.&lt;/p&gt;

&lt;p&gt;Soon afterwards, &lt;strong&gt;Google&lt;/strong&gt; hired Thrun and several members of the DARPA teams and, in 2009, secretly began its own self-driving project (later called &lt;strong&gt;Waymo&lt;/strong&gt;). By 2010, when the project became public, its cars had driven hundreds of thousands of miles on public roads. The dream of self-driving cars would become one of the most heavily funded AI efforts of the 2010s, and also one of the most chastening, with timelines repeatedly slipping as engineers discovered how many rare, strange situations ("edge cases") occur on real roads. We'll revisit that in later chapters. The echo of Moravec's paradox is hard to miss: driving across an empty desert turned out to be much easier than driving through a busy intersection with pedestrians, cyclists, and unpredictable humans.&lt;/p&gt;

&lt;h2&gt;
  
  
  AI in the living room: Kinect
&lt;/h2&gt;

&lt;p&gt;In November 2010, Microsoft released &lt;strong&gt;Kinect&lt;/strong&gt;, a sensor bar for the Xbox 360 that could track a player's whole body in 3D without any controller, so you could play a game by moving. It sold &lt;strong&gt;8 million units in its first 60 days&lt;/strong&gt;, a Guinness record for the fastest-selling consumer electronics device at the time.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fidq0j84r3p310nnwpsbv.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fidq0j84r3p310nnwpsbv.jpg" alt="The Kinect sensor for Xbox 360, whose body tracking used random forests" width="800" height="332"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The Kinect sensor for Xbox 360, whose body tracking used random forests. Image: James Pfaff (litheon), CC BY 2.0, via &lt;a href="https://commons.wikimedia.org/wiki/File:Kinect_Sensor_at_E3_2010_(front).jpg" rel="noopener noreferrer"&gt;Wikimedia Commons&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The magic behind it was machine learning. A team at Microsoft Research, led by &lt;strong&gt;Jamie Shotton&lt;/strong&gt;, trained a &lt;strong&gt;random forest&lt;/strong&gt; (Part 10) on millions of depth images, many of them synthetic images generated by computer graphics, to label each pixel of a depth image as belonging to a body part (head, left hand, right knee, and so on). From those labels it could infer the position of the skeleton in real time, in a few milliseconds, on the console's modest hardware. The paper describing the work won a best-paper award at a top computer vision conference in 2011.&lt;/p&gt;

&lt;p&gt;Kinect was a perfect symbol of the era: sophisticated AI hidden inside a toy, solving a hard perception problem by &lt;strong&gt;training on massive amounts of data&lt;/strong&gt;, including synthetic data, long before that approach became the norm.&lt;/p&gt;

&lt;h2&gt;
  
  
  Faces and the Facebook moment
&lt;/h2&gt;

&lt;p&gt;Another milestone hit the public in a quieter way. In 2014, Facebook's AI Research group announced &lt;strong&gt;DeepFace&lt;/strong&gt;, a deep neural network for face verification that reached &lt;strong&gt;97.35 percent accuracy&lt;/strong&gt; on a standard benchmark (Labeled Faces in the Wild), nearly matching human performance (97.53 percent). It had been trained on a dataset of about four million face images, and used a deep neural network with some 120 million parameters, a scale that would have seemed absurd a few years earlier but was now routine.&lt;/p&gt;

&lt;p&gt;For ordinary users, this simply meant that Facebook suggested who to tag in your photos, and later that Google Photos let you search for "dog," "beach," or "birthday" and get relevant pictures, even though you'd never labeled them. These were practical, charming uses of the new neural networks. But the same technology raised serious concerns about &lt;strong&gt;surveillance, privacy, and consent&lt;/strong&gt;, issues that regulators in Europe, and eventually the United States, started to confront.&lt;/p&gt;

&lt;h2&gt;
  
  
  The shifting mood
&lt;/h2&gt;

&lt;p&gt;By the early 2010s, the cultural mood about AI had shifted visibly.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Hype returned.&lt;/strong&gt; Ray Kurzweil's books on the coming "Singularity" were bestsellers, and tech companies began to use "AI" in marketing again.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Money flowed.&lt;/strong&gt; Venture capital, large tech firms, and governments rediscovered the field.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fear surfaced.&lt;/strong&gt; In 2013, Oxford researchers Carl Benedikt Frey and Michael Osborne published a widely discussed study estimating that &lt;strong&gt;47 percent of US jobs&lt;/strong&gt; were at high risk of automation. In 2014, the philosopher Nick Bostrom published &lt;em&gt;Superintelligence&lt;/em&gt;, and prominent figures, including Stephen Hawking and Elon Musk, voiced public worries about advanced AI. In 2015, an open letter on AI safety attracted thousands of signatures from researchers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The "AI effect" in full force.&lt;/strong&gt; As each milestone was reached, a new chorus declared that it "wasn't real AI." Watson was just search; Siri was just scripts; Kinect was just a clever camera.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And in the background, almost unnoticed by the public, the real revolution was coming to a boil in a small number of university labs and corporate research groups. The next chapter's competition result would shock the field.&lt;/p&gt;

&lt;h2&gt;
  
  
  Lessons from the "AI goes public" era
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The demo is not the product.&lt;/strong&gt; Watson's brilliant quiz performance did not translate into reliable clinical advice. Siri's charm did not give it deep understanding. The distance from controlled demo to real-world reliability is always larger than it looks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Calibrated confidence matters.&lt;/strong&gt; Watson's willingness to stay silent when unsure is a design pattern more AI systems should emulate. Today's chatbots are frequently confidently wrong.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Distribution beats technology.&lt;/strong&gt; Siri was not the best speech technology of its time, but it reached millions overnight because Apple shipped it on every iPhone. Many AI success stories are really &lt;em&gt;product&lt;/em&gt; success stories.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prize competitions can unlock progress.&lt;/strong&gt; The DARPA Grand Challenges took a field from nothing to working prototypes in a year, and the ImageNet challenge (Part 12) did the same for vision.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Learning beat hand-coding, again.&lt;/strong&gt; The big jumps, from Stanley's terrain classification to Kinect's body tracking to speech recognition, all came from machine learning on large datasets.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hype and disillusion arrive together.&lt;/strong&gt; Public excitement about AI rose just as the first widely publicized disappointments (Watson Health, self-driving timelines) began to show.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  A checklist for judging any AI demo
&lt;/h2&gt;

&lt;p&gt;Every era in this series produced spectacular demonstrations, and every era learned the same lessons about them. Here's a short checklist, distilled from Watson, Siri, SHRDLU, and the Mechanical Turk, for when you see the next one:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Is the domain closed or open?&lt;/strong&gt; Chess, Go, and &lt;em&gt;Jeopardy!&lt;/em&gt; have crisp rules and clear scoring. Hospitals and highways don't.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Who chose the examples?&lt;/strong&gt; A curated demo can hide a lot. Ask how the system performs on cases nobody picked in advance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What does it do when it's wrong?&lt;/strong&gt; A system that knows when to stay silent (Watson's confidence threshold) is far more useful than one that always answers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;How much human work is hidden?&lt;/strong&gt; Labeling, cleanup, prompt tuning, and manual fallbacks are often invisible.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What's the cost per answer?&lt;/strong&gt; A system that needs a room of servers for one quiz show may not be economical for daily use.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Is there a metric from the real world?&lt;/strong&gt; Money saved, errors prevented, patients helped: these matter more than benchmark scores.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Timeline: 2002 to 2016
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;2002:&lt;/strong&gt; Roomba introduced.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2004:&lt;/strong&gt; First DARPA Grand Challenge (no finishers); Ken Jennings's &lt;em&gt;Jeopardy!&lt;/em&gt; streak.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2005:&lt;/strong&gt; Stanley wins the second Grand Challenge.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2006:&lt;/strong&gt; IBM begins the Watson project; Google Translate launches.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2007:&lt;/strong&gt; Urban Challenge; the first iPhone.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2009:&lt;/strong&gt; Google begins its self-driving car project.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2010:&lt;/strong&gt; Kinect launches; Siri app released and acquired by Apple.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2011:&lt;/strong&gt; Watson wins &lt;em&gt;Jeopardy!&lt;/em&gt;; Siri ships on the iPhone 4S.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2014:&lt;/strong&gt; DeepFace; Amazon Echo and Alexa launch.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2016:&lt;/strong&gt; Microsoft reports human parity on a conversational speech benchmark; Google Assistant launches.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Quick glossary
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Question answering (QA):&lt;/strong&gt; systems that answer questions posed in natural language.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Confidence score:&lt;/strong&gt; a number estimating how likely an answer is to be correct.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lidar:&lt;/strong&gt; a sensor that builds a 3D map using laser pulses.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Word error rate:&lt;/strong&gt; the percentage of words a speech recognizer gets wrong.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Voice assistant:&lt;/strong&gt; software that responds to spoken requests and can trigger actions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Edge case:&lt;/strong&gt; a rare, unusual situation that a system was not designed or tested for.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Key takeaways
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;IBM Watson&lt;/strong&gt; won &lt;em&gt;Jeopardy!&lt;/em&gt; in February 2011 using &lt;strong&gt;DeepQA&lt;/strong&gt;, a pipeline of language analysis, candidate generation, evidence scoring, machine-learned ranking, and a &lt;strong&gt;confidence threshold&lt;/strong&gt; for deciding when to buzz. Its attempt to transfer success to &lt;strong&gt;healthcare&lt;/strong&gt; largely failed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Siri&lt;/strong&gt;, born from DARPA's &lt;strong&gt;CALO&lt;/strong&gt; project, arrived on the iPhone 4S in 2011 and started the voice assistant race, followed by Google Now, Cortana, Alexa, and Google Assistant.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;DARPA Grand Challenges&lt;/strong&gt; (2004 to 2007) took driverless cars from zero finishers to a winning vehicle in a year, powered by machine learning, probabilistic reasoning, and lidar, and launched the modern self-driving industry.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Kinect&lt;/strong&gt; (2010) used &lt;strong&gt;random forests&lt;/strong&gt; trained on synthetic depth images to track human bodies in real time, and &lt;strong&gt;DeepFace&lt;/strong&gt; (2014) nearly matched humans at face verification.&lt;/li&gt;
&lt;li&gt;AI began to &lt;strong&gt;re-enter public consciousness&lt;/strong&gt;, bringing both excitement and new fears about jobs, privacy, and superintelligence.&lt;/li&gt;
&lt;li&gt;Each success revealed the recurring gap between &lt;strong&gt;impressive demos and robust deployment&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it yourself
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Tune the buzzer.&lt;/strong&gt; In the Watson-style demo, change the &lt;code&gt;THRESHOLD&lt;/code&gt; from 0.5 to 0.2 and then to 0.95. Which clues get answered? Think about the cost of a wrong answer versus the cost of staying silent. How would you pick a threshold for a medical system versus a trivia game?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Add a knowledge source.&lt;/strong&gt; Add three more cities to &lt;code&gt;PASSAGES&lt;/code&gt;, and write a clue that fools the system (for instance, one that matches two cities equally well). What does the confidence score do? How could you detect ambiguity?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Probe your assistant.&lt;/strong&gt; Ask the voice assistant on your phone ten questions: five simple factual ones and five requiring a follow-up or reasoning ("Who directed &lt;em&gt;Inception&lt;/em&gt;? How old is he?"). Where does it fail, and does the failure fit the patterns in this chapter?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Read a primary source.&lt;/strong&gt; Search for the 2010 AI Magazine paper "Building Watson: An Overview of the DeepQA Project" by Ferrucci et al. and pick one component of the pipeline to read about in detail.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Next up
&lt;/h2&gt;

&lt;p&gt;In &lt;strong&gt;Part 14&lt;/strong&gt;, we reach the moment that history books will probably mark as the start of the modern AI era. In September 2012, a graduate student named Alex Krizhevsky, his fellow student Ilya Sutskever, and their advisor Geoffrey Hinton entered the ImageNet competition with a deep convolutional neural network trained on two gaming GPUs, and they shattered the field's records. &lt;strong&gt;AlexNet&lt;/strong&gt; didn't just win. It changed everything.&lt;/p&gt;

&lt;p&gt;If you've ever argued with a voice assistant, share your favorite failure in the comments, and follow the series for Part 14.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;See you in Part 14.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;☕ &lt;strong&gt;If this series helped you, you can support my writing on Ko-fi.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://ko-fi.com/surajnandan" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2z7dch5enfz2e5i2t2gj.png" alt="Support me on Ko-fi" width="286" height="73"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>history</category>
      <category>machinelearning</category>
      <category>python</category>
      <category>beginners</category>
    </item>
    <item>
      <title>The History of AI, Part 12: Big Data, GPUs, and ImageNet</title>
      <dc:creator>Suraj Nandan</dc:creator>
      <pubDate>Mon, 30 Nov 2026 04:30:00 +0000</pubDate>
      <link>https://dev.to/suraj_nandan/the-history-of-ai-part-12-big-data-gpus-and-imagenet-4jfd</link>
      <guid>https://dev.to/suraj_nandan/the-history-of-ai-part-12-big-data-gpus-and-imagenet-4jfd</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The History of AI, Part 12 of 24.&lt;/strong&gt; In Part 11, a machine beat the world chess champion by brute force. Now we turn to a different kind of brute force: the two ingredients, enormous labeled datasets and cheap parallel computing, that finally let neural networks do what their inventors had always promised.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Imagine that it's 2007, and you've just had an idea that you believe could transform computer vision. The idea is simple to state: to teach a machine to recognize objects, don't write better algorithms. Instead, show it &lt;em&gt;a lot more pictures&lt;/em&gt;. Not thousands. Not hundreds of thousands. Tens of millions, organized into thousands of categories, every one correctly labeled by a human.&lt;/p&gt;

&lt;p&gt;You mention this to your colleagues. They are polite, but skeptical. The state of the art in vision is a collection of ingenious, hand-engineered algorithms, and conferences reward cleverness, not data collection. Building a giant dataset sounds like a lot of tedious, expensive work that isn't even research. A senior colleague suggests that you'd be wasting your time.&lt;/p&gt;

&lt;p&gt;This was, more or less, the situation of &lt;strong&gt;Fei-Fei Li&lt;/strong&gt;, a young professor at Princeton. She went ahead anyway. And together with an unlikely accident of hardware, a chip built for video games, her dataset would help detonate the modern AI boom.&lt;/p&gt;

&lt;p&gt;This chapter tells that story. It's about the two ingredients that, mixed with the algorithms of Parts 9 and 10, finally produced deep learning: &lt;strong&gt;data&lt;/strong&gt; and &lt;strong&gt;compute&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The third winter that never came
&lt;/h2&gt;

&lt;p&gt;To set the scene, remember where neural networks stood in the mid-2000s. They'd been used successfully in niche applications (reading checks, screening credit card fraud), but within academic machine learning they were out of fashion. Support vector machines and kernel methods ruled. Deep networks with many layers were considered too hard to train, for the reasons we saw in Part 9: vanishing gradients, small datasets, slow computers, and fiddly tuning.&lt;/p&gt;

&lt;p&gt;Geoffrey Hinton, Yann LeCun, and Yoshua Bengio were not convinced. They believed that the right approach to perception was to &lt;strong&gt;learn features directly from raw data&lt;/strong&gt; (pixels, audio waveforms) through many layers of processing, rather than relying on hand-engineered features. They had a hunch that the obstacles were practical rather than fundamental. What they lacked was proof.&lt;/p&gt;

&lt;p&gt;They were about to get it, from three directions at once.&lt;/p&gt;

&lt;h2&gt;
  
  
  Ingredient 1: Data
&lt;/h2&gt;

&lt;h3&gt;
  
  
  The data explosion
&lt;/h3&gt;

&lt;p&gt;Starting in the late 1990s, and accelerating through the 2000s, the world began producing digital data on an unprecedented scale:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;World Wide Web&lt;/strong&gt; grew from a few thousand sites to billions of pages.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Digital cameras&lt;/strong&gt;, and then &lt;strong&gt;smartphones&lt;/strong&gt; (the iPhone launched in 2007), put a camera in everyone's pocket. Photo-sharing sites like &lt;strong&gt;Flickr&lt;/strong&gt; (2004) and &lt;strong&gt;Facebook&lt;/strong&gt; (2004) accumulated billions of images, and &lt;strong&gt;YouTube&lt;/strong&gt; (2005) accumulated video.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wikipedia&lt;/strong&gt; (2001) became a vast, free, multilingual text corpus.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Search engines, e-commerce, and social networks&lt;/strong&gt; logged every click, query, and purchase.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cloud computing and distributed data processing&lt;/strong&gt; arrived: Google published its &lt;strong&gt;MapReduce&lt;/strong&gt; paper in 2004, the open-source &lt;strong&gt;Hadoop&lt;/strong&gt; followed in 2006, and Amazon launched &lt;strong&gt;AWS&lt;/strong&gt; in 2006, making it practical to store and process enormous datasets.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The phrase "&lt;strong&gt;big data&lt;/strong&gt;" entered everyday language. But raw data wasn't enough for the kind of machine learning that dominated the era, &lt;strong&gt;supervised learning&lt;/strong&gt;, where each example has to come with a &lt;strong&gt;label&lt;/strong&gt; (this photo contains a dog; this sentence is positive; this email is spam). Labels cost human effort. And in vision, the standard datasets were tiny by modern standards: &lt;strong&gt;MNIST&lt;/strong&gt; had 70,000 handwritten digits; &lt;strong&gt;Caltech 101&lt;/strong&gt; had around nine thousand images in 101 categories; the &lt;strong&gt;PASCAL VOC&lt;/strong&gt; challenge had about 20 categories and some thousands of images.&lt;/p&gt;

&lt;h3&gt;
  
  
  Fei-Fei Li and ImageNet
&lt;/h3&gt;

&lt;p&gt;Fei-Fei Li was born in Beijing and moved to New Jersey at 16, where her family ran a dry-cleaning business while she studied hard and eventually went to Princeton on a scholarship. She earned a PhD at Caltech in computer vision, then became a professor, first at Princeton and later at Stanford.&lt;/p&gt;

&lt;p&gt;Her insight, which she has described in interviews and her memoir, was that the vision field was &lt;strong&gt;obsessed with algorithms while ignoring data&lt;/strong&gt;. Children learn to see by being exposed to millions of images over years of waking life. Yet researchers expected algorithms to learn to recognize objects from a few hundred examples. What if the problem was not the learning algorithm but the poverty of the diet?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fw2by156grqa3t3df614m.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fw2by156grqa3t3df614m.jpg" alt="Fei-Fei Li, creator of ImageNet" width="800" height="1188"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Fei-Fei Li, creator of ImageNet. Image: ITU Pictures, CC BY 2.0, via &lt;a href="https://commons.wikimedia.org/wiki/File:Fei-Fei_Li_at_AI_for_Good_2017.jpg" rel="noopener noreferrer"&gt;Wikimedia Commons&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;She was inspired by &lt;strong&gt;WordNet&lt;/strong&gt;, a hierarchical database of English words created by the Princeton psychologist &lt;strong&gt;George Miller&lt;/strong&gt; beginning in the 1980s, in which words are organized into sets of synonyms linked by relationships such as "is a kind of" (a poodle is a dog is a canine is a mammal...). Li proposed to build a visual equivalent: &lt;strong&gt;for every concept in WordNet, collect hundreds or thousands of images&lt;/strong&gt;. Starting in 2006, she and her collaborators set out to build it. They called it &lt;strong&gt;ImageNet&lt;/strong&gt;.&lt;/p&gt;
&lt;h3&gt;
  
  
  How do you label 14 million images?
&lt;/h3&gt;

&lt;p&gt;The obvious problem: who labels them? Hiring undergraduates to do it by hand would take decades and cost fortunes. Li's team estimated it would take 19 years at the pace of the first approach.&lt;/p&gt;

&lt;p&gt;The solution came from an old friend of this series. In 2005, Amazon launched a service called &lt;strong&gt;Mechanical Turk&lt;/strong&gt;, named, tongue in cheek, after the 18th-century chess-playing hoax we met in Part 1. It was a marketplace where people anywhere in the world could perform small tasks, such as labeling an image, for a few cents each. It was literally human intelligence hidden inside a machine interface, and it was perfect for this job.&lt;/p&gt;

&lt;p&gt;The team first collected candidate images by searching the web for each WordNet concept, then asked crowdsourced workers to verify, for each image, whether it actually contained the object. To guard against errors, each image was checked by multiple workers. Over roughly two and a half years, tens of thousands of workers in about 167 countries sorted and labeled &lt;strong&gt;hundreds of millions of candidate images&lt;/strong&gt;, winnowing them down to a clean dataset. By 2009, when the team presented a poster at the Computer Vision and Pattern Recognition (CVPR) conference in Florida, ImageNet contained several million labeled images, and it eventually grew past &lt;strong&gt;14 million images in more than 20,000 categories&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The reception at the conference was lukewarm. The poster was in a corner. Many attendees didn't see the point.&lt;/p&gt;
&lt;h3&gt;
  
  
  The challenge
&lt;/h3&gt;

&lt;p&gt;To get researchers to &lt;em&gt;use&lt;/em&gt; the dataset, Li's team launched an annual competition in 2010, the &lt;strong&gt;ImageNet Large Scale Visual Recognition Challenge (ILSVRC)&lt;/strong&gt;. The task: given a photograph, name the object in it, selected from &lt;strong&gt;1,000 categories&lt;/strong&gt; (including 120 breeds of dog), using a training set of about &lt;strong&gt;1.2 million images&lt;/strong&gt;. Teams submitted their programs, which were tested on 100,000 hidden images. The headline measure was the &lt;strong&gt;top-5 error rate&lt;/strong&gt;: how often was the correct label &lt;em&gt;not&lt;/em&gt; among the system's top five guesses.&lt;/p&gt;

&lt;p&gt;The early results were respectable but unspectacular:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;2010:&lt;/strong&gt; the best system had a top-5 error of about &lt;strong&gt;28%&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2011:&lt;/strong&gt; the winner reduced it to about &lt;strong&gt;26%&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These were built with the best traditional methods: hand-designed features (like SIFT and HOG descriptors, which capture local patterns of edges and gradients) fed into SVM-style classifiers. Progress was steady and slow, the kind that suggests an approach is nearing its limit. A one or two percentage-point gain per year was cause for celebration.&lt;/p&gt;

&lt;p&gt;Hold that thought. The 2012 result is the subject of Part 14.&lt;/p&gt;
&lt;h3&gt;
  
  
  A demonstration: what "learning features" means
&lt;/h3&gt;

&lt;p&gt;To see why features mattered so much, and why learning them was such a prize, consider the simplest vision operation: detecting an edge. Here's a tiny image, six pixels wide, with a dark region on the left and a bright region on the right, and a hand-designed &lt;strong&gt;filter&lt;/strong&gt; that responds to vertical edges:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;image&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;9&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;9&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;9&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
    &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;9&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;9&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;9&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
    &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;9&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;9&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;9&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
    &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;9&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;9&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;9&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;kernel&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[[&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
          &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
          &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]]&lt;/span&gt;          &lt;span class="c1"&gt;# responds to dark-to-bright vertical edges
&lt;/span&gt;
&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;convolve&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;img&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;k&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;kh&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;kw&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;k&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="nf"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;k&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
    &lt;span class="n"&gt;out&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[]&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nf"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;img&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;kh&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="n"&gt;row&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[]&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nf"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;img&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;kw&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
            &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;img&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="n"&gt;c&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;j&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;k&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="n"&gt;j&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
                           &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nf"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;kh&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;j&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nf"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;kw&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt;
        &lt;span class="n"&gt;out&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;out&lt;/span&gt;

&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nf"&gt;convolve&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;image&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;kernel&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="c1"&gt;# [0, 27, 27, 0]
# [0, 27, 27, 0]
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The filter lights up exactly where the brightness jumps. Old-school computer vision was a massive library of such hand-crafted filters, designed by experts over decades. Deep learning's radical proposal was: &lt;strong&gt;don't design the filter, learn it&lt;/strong&gt;. Start with random numbers in &lt;code&gt;kernel&lt;/code&gt;, show the network millions of labeled images, and let backpropagation adjust the numbers until they detect whatever is useful. In practice, networks trained this way discover edge detectors on their own in the first layer, then texture and shape detectors, and eventually detectors for eyes, wheels, and faces. But learning thousands of such filters across many layers demands two things: &lt;strong&gt;a huge dataset&lt;/strong&gt; to learn from, and &lt;strong&gt;enormous computation&lt;/strong&gt; to do the learning. ImageNet delivered the first. The second came from an unexpected direction.&lt;/p&gt;

&lt;h2&gt;
  
  
  Ingredient 2: Compute
&lt;/h2&gt;

&lt;h3&gt;
  
  
  A hidden bottleneck
&lt;/h3&gt;

&lt;p&gt;Training a neural network is, computationally, mostly a matter of &lt;strong&gt;multiplying large matrices of numbers&lt;/strong&gt;. Each layer takes a vector of inputs, multiplies it by a matrix of weights, and applies a simple function. The backward pass of backpropagation involves more matrix multiplications. A modern network can do trillions of such arithmetic operations to process a single batch of data.&lt;/p&gt;

&lt;p&gt;On a traditional &lt;strong&gt;CPU&lt;/strong&gt;, the processor in your laptop, this is slow, because a CPU is designed to be a clever generalist: it has a handful of powerful cores optimized for running complicated, branching programs one step at a time. A neural network doesn't need cleverness. It needs &lt;em&gt;millions of simple, identical, independent multiplications and additions at once.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Chips built for games
&lt;/h3&gt;

&lt;p&gt;Meanwhile, in an apparently unrelated industry, the demand for realistic 3D video games was driving the development of a very different kind of chip. Rendering a scene means computing the color of every pixel on the screen, millions of them, 60 times a second, and each pixel's calculation is largely independent of the others. So graphics chips were designed with &lt;strong&gt;thousands of small, simple cores working in parallel&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvcuby7ehmkoxwajhxqlb.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvcuby7ehmkoxwajhxqlb.jpg" alt="A consumer Nvidia graphics card, the kind of hardware that unexpectedly powered deep learning" width="799" height="452"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;A consumer Nvidia graphics card, the kind of hardware that unexpectedly powered deep learning. Image: Thomas Galvin, CC BY-SA 4.0, via &lt;a href="https://commons.wikimedia.org/wiki/File:BFG_NVIDIA_GeForce_9500_GT.jpg" rel="noopener noreferrer"&gt;Wikimedia Commons&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In 1999, &lt;strong&gt;Nvidia&lt;/strong&gt; marketed its GeForce 256 as the world's first "&lt;strong&gt;GPU&lt;/strong&gt;," a graphics processing unit. Over the following years, GPUs became steadily more programmable, and some researchers noticed that they could be repurposed for non-graphics tasks. What a GPU does when it shades pixels, applying the same operation to huge arrays of numbers, is mathematically the same kind of operation as neural network training. A video-game card costing a few hundred dollars could do matrix arithmetic at rates that previously required a supercomputer.&lt;/p&gt;

&lt;p&gt;Early GPU programming was awkward: you had to disguise your math as graphics operations, pretending that your data was a texture. Then in 2007, Nvidia released &lt;strong&gt;CUDA&lt;/strong&gt;, a programming platform that let developers write general-purpose code for its GPUs in a variant of C. (It was based partly on research by Ian Buck, a Stanford PhD student who then joined Nvidia.) The company made a bet, long considered a bit odd at the time, that scientific computing would become a major market for GPUs.&lt;/p&gt;

&lt;h3&gt;
  
  
  The first demonstrations
&lt;/h3&gt;

&lt;p&gt;By around 2009, researchers began to notice what GPUs could do for neural networks:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In 2009, &lt;strong&gt;Rajat Raina, Anand Madhavan, and Andrew Ng&lt;/strong&gt; at Stanford published a paper showing that GPUs could train large deep belief networks up to &lt;strong&gt;about 70 times faster&lt;/strong&gt; than a CPU.&lt;/li&gt;
&lt;li&gt;Starting around 2010 and 2011, the Swiss researcher &lt;strong&gt;Dan Ciresan&lt;/strong&gt;, working in &lt;strong&gt;Jürgen Schmidhuber's&lt;/strong&gt; lab at IDSIA, trained deep convolutional networks on GPUs and began to win pattern-recognition contests: handwritten digits, Chinese characters, and traffic-sign recognition, where in 2011 their system reached a level that exceeded human accuracy on the benchmark.&lt;/li&gt;
&lt;li&gt;Hinton's students &lt;strong&gt;Abdel-rahman Mohamed&lt;/strong&gt; and &lt;strong&gt;George Dahl&lt;/strong&gt;, working with Microsoft researchers, showed in 2009 and 2010 that deep neural networks could substantially improve &lt;strong&gt;speech recognition&lt;/strong&gt; over the long-reigning HMM-based systems, and by 2012 several major groups (Google, Microsoft, IBM, Toronto) published a joint paper on the result. The industry quickly converted: within a couple of years, the speech recognizers in phones were neural.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These were early signs, but they were scattered, in niche benchmarks, and the mainstream was not yet convinced.&lt;/p&gt;

&lt;h3&gt;
  
  
  The scale of the shift
&lt;/h3&gt;

&lt;p&gt;To appreciate how much compute mattered, consider the arithmetic. A GPU of the early 2010s could deliver on the order of &lt;strong&gt;a trillion operations per second&lt;/strong&gt;. Today's AI accelerators deliver hundreds of times more. Over the following decade the amount of computation used to train the largest AI models would grow by a factor of &lt;strong&gt;hundreds of millions&lt;/strong&gt;, doubling every few months, a far faster pace than Moore's Law. At each step, the old problem of the combinatorial explosion was met not with cleverness but with sheer arithmetic.&lt;/p&gt;

&lt;p&gt;This brings us to one of the most influential, and contested, essays in modern AI.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Bitter Lesson
&lt;/h2&gt;

&lt;p&gt;In 2019, the reinforcement learning pioneer &lt;strong&gt;Richard Sutton&lt;/strong&gt;, whom we met in Part 10, published a short essay titled "&lt;strong&gt;The Bitter Lesson&lt;/strong&gt;." It begins with a claim based on seventy years of AI history:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The biggest lesson that can be read from 70 years of AI research is that general methods that leverage computation are ultimately the most effective, and by a large margin.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Sutton pointed to repeated examples: computer chess (Deep Blue's brute-force search beat attempts to encode human chess knowledge), computer Go, speech recognition (statistical methods beat linguistically informed ones), and computer vision (learned features beat hand-designed ones). In each case, researchers built in human knowledge about the domain, and it helped in the short term, and then it was overtaken by a simpler method that scaled with more computation. The lesson was "bitter" because it implies that much of the cleverness we're proud of is eventually wasted.&lt;/p&gt;

&lt;p&gt;His conclusion: &lt;strong&gt;search and learning&lt;/strong&gt;, the two methods that scale arbitrarily with computation, are the ones worth betting on. Not everyone agrees; critics argue that clever architectures and good data matter enormously, and that raw scale has diminishing returns. But the essay captures a pattern we have seen throughout this series, from Moravec's paradox to the AI winters to Deep Blue: &lt;strong&gt;computing power has repeatedly been the hidden variable.&lt;/strong&gt; Many of the "failures" of the 1960s to 1980s were, in a real sense, failures of hardware. The ideas were less wrong than the computers were small.&lt;/p&gt;

&lt;h2&gt;
  
  
  Ingredient 3: Better tricks
&lt;/h2&gt;

&lt;p&gt;Data and compute would not have been enough without a set of algorithmic improvements, many of them surprisingly simple, that made deep networks trainable. The late 2000s and early 2010s produced them in a rush.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pretraining and the "deep learning" rebrand.&lt;/strong&gt; In 2006, Hinton, with Simon Osindero and Yee-Whye Teh, published "A Fast Learning Algorithm for Deep Belief Nets," and with Ruslan Salakhutdinov a paper in &lt;em&gt;Science&lt;/em&gt; on reducing the dimensionality of data with neural networks. They showed that a deep network could be trained &lt;strong&gt;one layer at a time&lt;/strong&gt;, each layer learning without labels to model the output of the one below, before a final fine-tuning with backpropagation. This gave the weights a good starting point and sidestepped the vanishing gradient problem. The papers also relaunched the whole field under a new name: "&lt;strong&gt;deep learning&lt;/strong&gt;." (The technique itself was later mostly abandoned as better methods made pretraining unnecessary for many tasks, though a descendant of the idea, pretraining on large unlabeled data followed by fine-tuning, is the foundation of today's large language models.)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ReLU activations.&lt;/strong&gt; For decades, networks used smooth, S-shaped activation functions like the sigmoid. A much simpler alternative, the &lt;strong&gt;rectified linear unit (ReLU)&lt;/strong&gt;, which just outputs &lt;code&gt;max(0, x)&lt;/code&gt;, turned out to train far faster and to suffer much less from vanishing gradients, because for positive inputs its slope is exactly 1, so the error signal passes back through undiminished. Papers by Vinod Nair and Hinton (2010) and Xavier Glorot, Antoine Bordes, and Bengio (2011) popularized it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Better initialization.&lt;/strong&gt; Glorot and Bengio (2010) showed how to choose the starting weights so that signals neither exploded nor vanished as they passed through many layers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Dropout.&lt;/strong&gt; In 2012, Hinton and his students proposed &lt;strong&gt;dropout&lt;/strong&gt;: during training, randomly switch off half the units in each layer for each example. It sounds like sabotage, but it prevents units from relying too heavily on each other and acts as a powerful regularizer against overfitting. It would become a standard tool.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Stochastic gradient descent with mini-batches and momentum.&lt;/strong&gt; Rather than computing gradients over the entire dataset, which is slow, compute them on small random batches. This noisy approach turned out to work remarkably well and to suit GPUs perfectly.&lt;/p&gt;

&lt;p&gt;None of these was a thunderclap. Together, they turned deep networks from finicky research prototypes into trainable engineering tools.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Google Brain "cat"
&lt;/h2&gt;

&lt;p&gt;One more event from this period deserves mention, because it showed the world what scale could do, and because it became a meme.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fngspxj3svkkfrae4wn6f.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fngspxj3svkkfrae4wn6f.jpg" alt="Servers in a Google data center" width="800" height="532"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Servers in a Google data center. Image: Wesley Nitsckie, CC BY-SA 2.0, via &lt;a href="https://commons.wikimedia.org/wiki/File:Google_Servers.jpg" rel="noopener noreferrer"&gt;Wikimedia Commons&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In 2011 to 2012, a team at Google, including &lt;strong&gt;Andrew Ng&lt;/strong&gt;, &lt;strong&gt;Jeff Dean&lt;/strong&gt;, and &lt;strong&gt;Quoc Le&lt;/strong&gt;, built a neural network of about &lt;strong&gt;a billion connections&lt;/strong&gt; and trained it on &lt;strong&gt;ten million frames&lt;/strong&gt; randomly taken from YouTube videos, using a cluster of &lt;strong&gt;16,000 CPU cores&lt;/strong&gt; across a thousand machines for three days. Crucially, the data was &lt;strong&gt;unlabeled&lt;/strong&gt;: the network was never told what any frame contained. It was simply asked to learn to reconstruct its input, discovering structure by itself.&lt;/p&gt;

&lt;p&gt;When the researchers inspected the trained network, they found that one of its neurons had become highly responsive to &lt;strong&gt;images of cat faces&lt;/strong&gt;. Another responded to human faces, another to human bodies. Nobody had programmed these detectors or told the network what a cat was. They emerged because cats are very common on YouTube. The result was widely reported as "Google's computer taught itself to recognize cats," and it caught the public's imagination, partly because it was so cute, and partly because it hinted at something profound: given enough data and compute, networks could discover the &lt;em&gt;concepts&lt;/em&gt; in the world by themselves.&lt;/p&gt;

&lt;p&gt;It also drew attention within Google to the potential of deep learning, and the company hired Hinton and his students shortly afterward (more on that in Part 14), and by 2013 had begun to roll deep learning into products including voice search, photo tagging, and, later, translation.&lt;/p&gt;

&lt;h2&gt;
  
  
  The ethical underside of the data revolution
&lt;/h2&gt;

&lt;p&gt;It would be a mistake to tell this story as pure triumph. The data-centric approach raised new problems, many of which became prominent later.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The hidden labor.&lt;/strong&gt; The labeling that made ImageNet and its successors possible was done by crowds of human workers, often paid pennies per task, in many countries. The modern AI industry still relies heavily on such &lt;strong&gt;data annotation&lt;/strong&gt; work, and on &lt;strong&gt;content moderation&lt;/strong&gt; workers who review disturbing material to keep systems safe. The "Mechanical Turk" label from the 18th century was uncomfortably apt: much of the apparent machine intelligence in the system comes from hidden human intelligence.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Bias in, bias out.&lt;/strong&gt; A model trained on a dataset inherits its flaws. If the photos in the dataset come mostly from certain countries, or depict certain groups in stereotyped ways, the model learns those patterns. Researchers later documented that face recognition systems performed worse on women and on people with darker skin (a landmark 2018 study by Joy Buolamwini and Timnit Gebru, "Gender Shades," found much higher error rates for darker-skinned women than for lighter-skinned men in commercial systems).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ImageNet's own problems.&lt;/strong&gt; The dataset itself came under scrutiny. Because the categories were drawn from WordNet, which included many words for people, ImageNet included labels for people that were offensive, stereotyping, or simply inappropriate. In 2019, an art project called &lt;em&gt;ImageNet Roulette&lt;/em&gt;, by researcher Kate Crawford and artist Trevor Paglen, let people upload their photos and see what labels the dataset-trained model assigned them, which sometimes produced shocking results. Soon after, the ImageNet team announced that it would remove hundreds of thousands of images from the "person" categories and acknowledged the problem. Li and her collaborators published work on making the dataset fairer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Privacy and consent.&lt;/strong&gt; Datasets scraped from the web contain images and text that people never agreed to contribute. This tension would grow dramatically with the large language models and image generators of Parts 19 to 21, and it is the subject of ongoing lawsuits and regulation.&lt;/p&gt;

&lt;p&gt;These problems matter, and we'll return to them in Part 24. But it is also worth noting that the AI community took them seriously: Li and others became prominent advocates of "human-centered AI," and the field is much more attentive to dataset quality than it was in 2009.&lt;/p&gt;

&lt;h2&gt;
  
  
  The stage is set
&lt;/h2&gt;

&lt;p&gt;By the summer of 2012, all the ingredients were on the table:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A &lt;strong&gt;huge labeled dataset&lt;/strong&gt; (ImageNet, 1.2 million training images, 1,000 categories) and an annual &lt;strong&gt;competition&lt;/strong&gt; to focus effort.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cheap parallel hardware&lt;/strong&gt; (Nvidia GPUs with CUDA) capable of training large networks in days rather than months.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Algorithmic tricks&lt;/strong&gt; (ReLU, dropout, better initialization, mini-batch SGD) that made deep networks trainable.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A community&lt;/strong&gt; of believers (Hinton, LeCun, Bengio, Schmidhuber, Ng) who had spent decades preparing.&lt;/li&gt;
&lt;li&gt;A &lt;strong&gt;skeptical mainstream&lt;/strong&gt; that had not noticed that the ground was shifting.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What was missing was a dramatic demonstration, a result so decisive that no one could ignore it. In September 2012, it came. A team from the University of Toronto submitted an entry to the ImageNet challenge that cut the error rate by more than a third in a single leap, and it ran on two gaming graphics cards in a student's bedroom.&lt;/p&gt;

&lt;p&gt;That is the story of Part 14. But first, in Part 13, we look at two other pieces of the 2000s and 2010s landscape that put AI back in the public eye: a quiz show, and the voice assistant in your pocket.&lt;/p&gt;

&lt;h2&gt;
  
  
  ImageNet by the numbers
&lt;/h2&gt;

&lt;p&gt;To feel the scale of the effort, here are the figures behind the dataset and the contest:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;About 14 million&lt;/strong&gt; labeled images in the full database, across more than 20,000 categories.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;1.2 million&lt;/strong&gt; training images and &lt;strong&gt;1,000&lt;/strong&gt; categories in the challenge version (ILSVRC).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;50,000&lt;/strong&gt; validation images and &lt;strong&gt;100,000&lt;/strong&gt; test images in the challenge.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;More than 100 categories&lt;/strong&gt; are dog breeds, which forced systems to make fine-grained distinctions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tens of thousands&lt;/strong&gt; of crowdsourced workers did the labeling, over several years.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Top-5 error:&lt;/strong&gt; the fraction of images for which the correct label is not among a system's five best guesses. It was forgiving by design, because many photos contain more than one object.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The humbling part is how much of the dataset's success was &lt;em&gt;social&lt;/em&gt; rather than technical: a community agreed on one benchmark, one scoreboard, and one deadline each year. That shared focus is part of why progress was so fast.&lt;/p&gt;

&lt;h2&gt;
  
  
  Timeline: 2004 to 2012
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;2004:&lt;/strong&gt; MapReduce paper; Facebook launches.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2005:&lt;/strong&gt; Mechanical Turk and YouTube launch.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2006:&lt;/strong&gt; AWS launches; Hinton's deep belief nets; ImageNet project begins.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2007:&lt;/strong&gt; CUDA released; the first iPhone.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2009:&lt;/strong&gt; ImageNet presented at CVPR; GPU training speedups published.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2010:&lt;/strong&gt; First ImageNet challenge; ReLU popularized.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2011:&lt;/strong&gt; GPU-trained networks win recognition contests.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2012:&lt;/strong&gt; The Google "cat" experiment; AlexNet (Part 14).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Quick glossary
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Label:&lt;/strong&gt; the correct answer attached to a training example.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Crowdsourcing:&lt;/strong&gt; getting many people to do small tasks, often online.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GPU:&lt;/strong&gt; a chip with thousands of simple cores, built for graphics and ideal for matrix math.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CUDA:&lt;/strong&gt; Nvidia's platform for programming GPUs for general computation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data augmentation:&lt;/strong&gt; artificially enlarging a dataset by transforming examples (flips, crops, color shifts).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dropout:&lt;/strong&gt; randomly switching off units during training to reduce overfitting.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Key takeaways
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Deep learning needed three ingredients that arrived together around 2009 to 2012: &lt;strong&gt;big labeled datasets, cheap parallel compute (GPUs), and algorithmic tricks&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fei-Fei Li's ImageNet&lt;/strong&gt; (launched 2006, presented 2009) used &lt;strong&gt;WordNet&lt;/strong&gt; categories and &lt;strong&gt;Amazon Mechanical Turk&lt;/strong&gt; crowdsourcing to build a database of millions of labeled images, and in 2010 launched the &lt;strong&gt;ILSVRC&lt;/strong&gt; competition with 1.2 million images in 1,000 classes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GPUs&lt;/strong&gt;, built for video games, are ideal for neural network math, and &lt;strong&gt;Nvidia's CUDA (2007)&lt;/strong&gt; made them programmable. Researchers reported speedups of &lt;strong&gt;tens of times&lt;/strong&gt; over CPUs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hinton's 2006 deep belief nets&lt;/strong&gt; relaunched "deep learning," and tricks like &lt;strong&gt;ReLU, dropout, good initialization, and mini-batch SGD&lt;/strong&gt; made deep networks trainable.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;Google Brain "cat" experiment (2012)&lt;/strong&gt; showed a network discovering concepts from unlabeled video at scale.&lt;/li&gt;
&lt;li&gt;Sutton's &lt;strong&gt;"Bitter Lesson"&lt;/strong&gt; argues that general methods that scale with computation tend to win in the long run.&lt;/li&gt;
&lt;li&gt;The data revolution brought &lt;strong&gt;ethical issues&lt;/strong&gt;: hidden labor, bias, privacy, and flaws in ImageNet itself.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it yourself
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Design a filter.&lt;/strong&gt; Modify the &lt;code&gt;kernel&lt;/code&gt; in the code above to detect &lt;em&gt;horizontal&lt;/em&gt; edges, and build a test image with a horizontal boundary. What does the output look like for a diagonal boundary?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Add another filter.&lt;/strong&gt; Write a second kernel that detects the opposite edge direction (bright-to-dark), and combine the two filters' outputs by adding their absolute values. You've built a primitive edge detector.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Explore ImageNet.&lt;/strong&gt; Browse the ImageNet category list (searching for "ImageNet 1000 classes") and pick five categories you think would be easy and five you think would be hard for a machine. Check your intuition against published per-class error rates.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Audit a dataset.&lt;/strong&gt; Choose any public dataset you've used (MNIST, CIFAR-10, a Kaggle dataset). Who collected it? How were the labels made? Who might be missing from it?&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Next up
&lt;/h2&gt;

&lt;p&gt;In &lt;strong&gt;Part 13&lt;/strong&gt;, we look at two public faces of AI in the 2000s and early 2010s: &lt;strong&gt;IBM Watson's victory on the quiz show *Jeopardy!&lt;/strong&gt;* in 2011, and the arrival of &lt;strong&gt;Siri&lt;/strong&gt; and voice assistants. They made AI feel real to ordinary people, even as the revolution brewing in the labs was about to eclipse them both.&lt;/p&gt;

&lt;p&gt;If you've worked on a machine learning project where the data turned out to matter more than the model, tell me about it in the comments, and follow the series for Part 13.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;See you in Part 13.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;☕ &lt;strong&gt;If this series helped you, you can support my writing on Ko-fi.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://ko-fi.com/surajnandan" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2z7dch5enfz2e5i2t2gj.png" alt="Support me on Ko-fi" width="286" height="73"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>history</category>
      <category>deeplearning</category>
      <category>machinelearning</category>
      <category>datascience</category>
    </item>
    <item>
      <title>The History of AI, Part 11: Deep Blue and the Fall of the Chess Champion</title>
      <dc:creator>Suraj Nandan</dc:creator>
      <pubDate>Fri, 27 Nov 2026 04:30:00 +0000</pubDate>
      <link>https://dev.to/suraj_nandan/the-history-of-ai-part-11-deep-blue-and-the-fall-of-the-chess-champion-3kcf</link>
      <guid>https://dev.to/suraj_nandan/the-history-of-ai-part-11-deep-blue-and-the-fall-of-the-chess-champion-3kcf</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The History of AI, Part 11 of 24.&lt;/strong&gt; Part 10 described the quiet statistical revolution of the 1990s. This chapter is about the loudest moment of that decade: May 1997, when a machine beat the world chess champion in a match that was watched by millions and argued about for years afterward.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;On the afternoon of Sunday, 11 May 1997, in a rented television studio on the 35th floor of a midtown Manhattan skyscraper, the greatest chess player in the world resigned a game after only nineteen moves. He rose from the board, appeared to say something to no one in particular, and walked off the stage. The audience, who had been watching on screens in a nearby auditorium, were stunned. Cameras flashed. Within minutes, the news was racing around the planet.&lt;/p&gt;

&lt;p&gt;The player who had just lost was &lt;strong&gt;Garry Kasparov&lt;/strong&gt;, world champion since 1985, widely regarded as the strongest player in the history of the game. The winner was a refrigerator-sized IBM supercomputer called &lt;strong&gt;Deep Blue&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;It was, by general agreement, the most famous moment in the history of AI up to that time. And almost everything the public took away from it was a little bit wrong, in interesting ways. This chapter tells the full story: where computer chess came from, how Deep Blue actually worked, what happened in the match, and why the victory meant both more and less than the headlines suggested.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why chess?
&lt;/h2&gt;

&lt;p&gt;Chess has been called the &lt;strong&gt;Drosophila of AI&lt;/strong&gt;, after the fruit fly that geneticists use as a convenient model organism. It's a good analogy. Chess is rich enough that doing it well seems to demand intelligence, but simple enough to be defined precisely: a small board, a handful of rules, a clear winner. You can run experiments, compare programs against each other and against humans, and measure progress objectively, on a well-defined rating scale called the &lt;strong&gt;Elo&lt;/strong&gt; system.&lt;/p&gt;

&lt;p&gt;It also carried huge cultural weight. For centuries, skill at chess was taken as a sign of intellect. If a machine could beat the best human player, wasn't it showing genuine intelligence? That's why so many founders of computing and AI, from Turing to Shannon to Newell and Simon, tried their hands at chess programs.&lt;/p&gt;

&lt;p&gt;Recall from earlier chapters:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Turing&lt;/strong&gt; and his friend David Champernowne wrote the &lt;strong&gt;Turochamp&lt;/strong&gt; chess algorithm in 1948 and hand-simulated it in 1952, taking half an hour per move (Part 2).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude Shannon&lt;/strong&gt;'s 1950 paper "Programming a Computer for Playing Chess" laid out the fundamental design of nearly all chess programs for the next half-century (Part 3).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Herbert Simon&lt;/strong&gt; predicted in 1957 that a computer would be world chess champion within ten years (Part 4). Off by about thirty years.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hubert Dreyfus&lt;/strong&gt;, who argued that computers couldn't play real chess, lost to MIT's Mac Hack in 1967 (Part 6).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How a computer plays chess
&lt;/h2&gt;

&lt;p&gt;To understand Deep Blue, you first need to understand the basic recipe that Shannon described, because Deep Blue was essentially a gigantic, ultra-fast, ultra-refined version of it.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 1: The game tree
&lt;/h3&gt;

&lt;p&gt;At any position, the player to move has a set of legal moves. Each leads to a new position, where the opponent has their own set of replies, and so on. Draw this out and you get a &lt;strong&gt;game tree&lt;/strong&gt;: the root is the current position, each branch is a move, and each level of the tree is one &lt;strong&gt;ply&lt;/strong&gt;, meaning one player's move. (A "move" in chess terms is usually a pair of plies, one by each side.)&lt;/p&gt;

&lt;p&gt;The tree grows fast. In a typical chess position there are about &lt;strong&gt;35 legal moves&lt;/strong&gt; (the average &lt;strong&gt;branching factor&lt;/strong&gt;). Looking ahead 2 plies means about 35 × 35 = 1,225 positions. Four plies, about 1.5 million. Ten plies, about 2.7 quadrillion. The full tree of chess games contains an estimated 10^120 possibilities, a number called the &lt;strong&gt;Shannon number&lt;/strong&gt;. It is vastly more than the number of atoms in the observable universe. No computer, however fast, can search it all. (This is the combinatorial explosion again, from Part 6.)&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 2: Evaluate, don't finish
&lt;/h3&gt;

&lt;p&gt;So the program can't look all the way to the end of the game. Instead it looks ahead a limited number of plies and then stops and &lt;strong&gt;evaluates&lt;/strong&gt; the resulting position with a scoring function: &lt;em&gt;how good does this look for me?&lt;/em&gt; A simple evaluation counts material (a queen is worth about 9 pawns, a rook 5, a bishop or knight 3), then adds bonuses and penalties for things like control of the center, king safety, pawn structure, and mobility. The score is a number: positive is good for White, negative for Black.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 3: Minimax
&lt;/h3&gt;

&lt;p&gt;How do you pick the best move, given scores at the leaves of the tree? The answer, going back to John von Neumann's work on game theory in the 1920s, is &lt;strong&gt;minimax&lt;/strong&gt;. You assume you will always choose the move that maximizes your score, and your opponent will always choose the reply that minimizes it. Work backward from the leaves: at your turn, take the maximum of the children's values; at the opponent's turn, take the minimum. The value that bubbles up to the root tells you the best you can guarantee against perfect play, and the branch it came from is your move.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 4: Alpha-beta pruning
&lt;/h3&gt;

&lt;p&gt;Minimax alone still examines every branch. The key efficiency trick, developed in the late 1950s and early 60s and analyzed rigorously by Donald Knuth and Ronald Moore in 1975, is &lt;strong&gt;alpha-beta pruning&lt;/strong&gt;. The idea: if you've already found a move that guarantees you a certain score, and you discover that a &lt;em&gt;new&lt;/em&gt; candidate move allows the opponent a reply that makes it worse than that, you can stop examining the new candidate immediately. You don't need to know &lt;em&gt;how much&lt;/em&gt; worse it is; you know you won't choose it. In the best case, alpha-beta lets you search roughly &lt;strong&gt;twice as deep&lt;/strong&gt; in the same time.&lt;/p&gt;

&lt;p&gt;Here's a demonstration with a game small enough to search completely, tic-tac-toe. We solve it from the empty board both ways and count how many positions each method examines:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;LINES&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;),(&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;),(&lt;/span&gt;&lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;8&lt;/span&gt;&lt;span class="p"&gt;),(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="p"&gt;),(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="p"&gt;),(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;8&lt;/span&gt;&lt;span class="p"&gt;),(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;8&lt;/span&gt;&lt;span class="p"&gt;),(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;6&lt;/span&gt;&lt;span class="p"&gt;)]&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;winner&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;j&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;k&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;LINES&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt; &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;j&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;k&lt;/span&gt;&lt;span class="p"&gt;]:&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="bp"&gt;None&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;moves&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nf"&gt;enumerate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt; &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="n"&gt;nodes&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;minimax&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;player&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="sh"&gt;"""&lt;/span&gt;&lt;span class="s"&gt;Score from X&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;s point of view: +1 X wins, -1 O wins, 0 draw.&lt;/span&gt;&lt;span class="sh"&gt;"""&lt;/span&gt;
    &lt;span class="k"&gt;global&lt;/span&gt; &lt;span class="n"&gt;nodes&lt;/span&gt;
    &lt;span class="n"&gt;nodes&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
    &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;winner&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;X&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="nf"&gt;moves&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;
    &lt;span class="n"&gt;scores&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[]&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;m&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nf"&gt;moves&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;player&lt;/span&gt;
        &lt;span class="n"&gt;scores&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;minimax&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;O&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;player&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;X&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;X&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
        &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt; &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;scores&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;player&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;X&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="nf"&gt;min&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;scores&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;alphabeta&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;player&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;alpha&lt;/span&gt;&lt;span class="o"&gt;=-&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;beta&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;global&lt;/span&gt; &lt;span class="n"&gt;nodes&lt;/span&gt;
    &lt;span class="n"&gt;nodes&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
    &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;winner&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;X&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="nf"&gt;moves&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;player&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;X&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;best&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;m&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nf"&gt;moves&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
            &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;X&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
            &lt;span class="n"&gt;best&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;best&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;alphabeta&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;O&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;alpha&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;beta&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
            &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt; &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
            &lt;span class="n"&gt;alpha&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;alpha&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;best&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;alpha&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="n"&gt;beta&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="k"&gt;break&lt;/span&gt;                      &lt;span class="c1"&gt;# prune: O will never allow this line
&lt;/span&gt;        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;best&lt;/span&gt;
    &lt;span class="n"&gt;best&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;m&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nf"&gt;moves&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;O&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
        &lt;span class="n"&gt;best&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;min&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;best&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;alphabeta&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;X&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;alpha&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;beta&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
        &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt; &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
        &lt;span class="n"&gt;beta&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;min&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;beta&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;best&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;alpha&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="n"&gt;beta&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;break&lt;/span&gt;                          &lt;span class="c1"&gt;# prune: X will never allow this line
&lt;/span&gt;    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;best&lt;/span&gt;

&lt;span class="n"&gt;board&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt; &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;9&lt;/span&gt;
&lt;span class="n"&gt;nodes&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;minimax   value:&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;minimax&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;board&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;X&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;| positions examined:&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;nodes&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;nodes&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;alphabeta value:&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;alphabeta&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;board&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;X&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;| positions examined:&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;nodes&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On my run, plain minimax examines &lt;strong&gt;549,946&lt;/strong&gt; positions, while alpha-beta reaches the same conclusion (a draw, as everyone knows) after only &lt;strong&gt;18,297&lt;/strong&gt;, thirty times fewer, with &lt;em&gt;no loss of accuracy&lt;/em&gt;. In chess, with careful move ordering (trying the most promising moves first so that cutoffs happen early), the savings are far larger. Every serious chess program of the last sixty years has used some version of this.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 5: The refinements
&lt;/h3&gt;

&lt;p&gt;Real engines pile on more tricks:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Iterative deepening:&lt;/strong&gt; search 1 ply, then 2, then 3, and so on, using the results of shallower searches to order moves for deeper ones, and stopping when time runs out.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Transposition tables:&lt;/strong&gt; remember positions already analyzed, since different move orders often reach the same position.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Quiescence search:&lt;/strong&gt; don't stop evaluating in the middle of a capture sequence; keep searching until the position is "quiet." Otherwise the program might think it has won a queen right before it gets recaptured. (The "horizon effect.")&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Opening books:&lt;/strong&gt; pre-recorded sequences of moves from master games.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Endgame tablebases:&lt;/strong&gt; exhaustively precomputed results for positions with few pieces. Ken Thompson pioneered these in the 1970s and 80s; modern tables cover every position with seven pieces or fewer, and tell you the perfect move and exact number of moves to mate.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Notice what's &lt;em&gt;absent&lt;/em&gt; from this list: understanding. A chess engine doesn't know what a "plan" or an "attack" is. It searches and scores. The scoring function is where human chess knowledge enters, hand-built by programmers and grandmasters.&lt;/p&gt;

&lt;h2&gt;
  
  
  The long road from Turing to Deep Blue
&lt;/h2&gt;

&lt;p&gt;Computer chess progressed in steady steps over four and a half decades.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;1957:&lt;/strong&gt; Alex Bernstein at IBM wrote the first complete chess program, for the IBM 704, which searched 4 plies and took about eight minutes per move.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;1967:&lt;/strong&gt; &lt;strong&gt;Mac Hack VI&lt;/strong&gt;, by Richard Greenblatt at MIT, became the first program to enter a human tournament and earn a rating, as well as the one that beat Dreyfus.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;1970s:&lt;/strong&gt; The annual ACM computer chess championships fostered fierce competition. Northwestern University's &lt;strong&gt;Chess 4.x&lt;/strong&gt; series dominated. Hardware improved, and programs reached strong amateur level.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;1980s:&lt;/strong&gt; &lt;strong&gt;Belle&lt;/strong&gt;, by Ken Thompson and Joe Condon at Bell Labs, used &lt;strong&gt;custom hardware&lt;/strong&gt; to search millions of positions per second and became the first program to reach master level. The big lesson, one we've seen repeatedly: &lt;strong&gt;speed matters.&lt;/strong&gt; Each doubling of search speed adds about 50 to 70 Elo points. Programs got stronger mainly by searching deeper.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;1985 to 1988:&lt;/strong&gt; At Carnegie Mellon University, graduate students &lt;strong&gt;Feng-hsiung Hsu&lt;/strong&gt; and &lt;strong&gt;Murray Campbell&lt;/strong&gt; (with Thomas Anantharaman, Mike Browne, and Andreas Nowatzyk) built &lt;strong&gt;ChipTest&lt;/strong&gt; and then &lt;strong&gt;Deep Thought&lt;/strong&gt;, a machine with custom chess chips, named after the supercomputer in Douglas Adams's &lt;em&gt;The Hitchhiker's Guide to the Galaxy&lt;/em&gt;. In 1988, Deep Thought became the first computer to beat a grandmaster, Bent Larsen, in a regular tournament game.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;1989:&lt;/strong&gt; IBM hired the team to its research center in Yorktown Heights. That October, Deep Thought faced Garry Kasparov in a two-game exhibition in New York. Kasparov won both games easily. He later said he had not seen the machines as a serious threat. This turned out to be wrong.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Deep Blue
&lt;/h2&gt;

&lt;p&gt;The IBM team, led by Hsu and Campbell and joined by Joe Hoane, Jerry Brody, and project manager C.J. Tan, spent most of the 1990s building a successor.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3c70khw7718oo7dcd6pw.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3c70khw7718oo7dcd6pw.jpg" alt="IBM's Deep Blue at the Computer History Museum" width="800" height="1200"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;IBM's Deep Blue at the Computer History Museum. Image: Anton Chiang from Cupertino, CA, USA, CC BY 2.0, via &lt;a href="https://commons.wikimedia.org/wiki/File:IBM_Deep_Blue_at_Computer_History_Museum_(9361685537).jpg" rel="noopener noreferrer"&gt;Wikimedia Commons&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  The machine
&lt;/h3&gt;

&lt;p&gt;By 1997, &lt;strong&gt;Deep Blue&lt;/strong&gt; (technically Deep Blue II) was an IBM &lt;strong&gt;RS/6000 SP&lt;/strong&gt; supercomputer with &lt;strong&gt;30 processor nodes&lt;/strong&gt;, plus a staggering &lt;strong&gt;480 custom-designed VLSI chess chips&lt;/strong&gt;, sixteen per node. Hsu had designed those chips specifically to generate chess moves and evaluate positions in hardware. The machine weighed about 1.4 tons and could examine on the order of &lt;strong&gt;200 million positions per second&lt;/strong&gt; (averaging 100 million or more in practice), reaching typical depths of &lt;strong&gt;12 plies&lt;/strong&gt; and in forcing lines well beyond 20, sometimes as deep as 40.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F44dxpmex732dx3s6bwnf.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F44dxpmex732dx3s6bwnf.jpg" alt="One of Deep Blue's custom chess processor boards" width="800" height="1067"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;One of Deep Blue's custom chess processor boards. Image: Erik Pitti from San Diego, CA, USA, CC BY 2.0, via &lt;a href="https://commons.wikimedia.org/wiki/File:One_of_Deep_Blue%27s_processors_(2586060990).jpg" rel="noopener noreferrer"&gt;Wikimedia Commons&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Its evaluation function was a hand-tuned set of thousands of features, reportedly around &lt;strong&gt;8,000 parameters&lt;/strong&gt; reflecting piece values, king safety, pawn structure, and subtle positional ideas, many of which were calibrated using grandmaster game databases and with the help of grandmaster &lt;strong&gt;Joel Benjamin&lt;/strong&gt;, who served as a consultant. The team also had access to an enormous opening book and endgame databases.&lt;/p&gt;

&lt;p&gt;In short, there was &lt;strong&gt;nothing mysterious&lt;/strong&gt; about how Deep Blue worked. It was Shannon's 1950 recipe executed with incredible speed and polish. Hsu later described the project in his book &lt;em&gt;Behind Deep Blue&lt;/em&gt;, and the emphasis was on engineering, not on any new theory of intelligence.&lt;/p&gt;

&lt;h3&gt;
  
  
  1996: first contact
&lt;/h3&gt;

&lt;p&gt;The first match took place in Philadelphia in February 1996. On 10 February, Deep Blue won Game 1, becoming the first computer to beat a reigning world champion in a game under standard tournament time controls. The press went wild. &lt;em&gt;Newsweek&lt;/em&gt; ran a cover story titled "The Brain's Last Stand."&lt;/p&gt;

&lt;p&gt;But Kasparov recovered. He adjusted his style, steering into closed, maneuvering positions where the computer's lack of long-term planning showed, and he won the match &lt;strong&gt;4 to 2&lt;/strong&gt; (three wins, two draws, one loss). Kasparov said afterward that he had sensed something deeply new in Game 1, "an alien intelligence," but he was clearly the stronger player.&lt;/p&gt;

&lt;p&gt;IBM and the team went back to the drawing board, and Deep Blue was radically upgraded, doubling its speed and reworking its evaluation.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 1997 rematch
&lt;/h2&gt;

&lt;p&gt;The rematch was held in New York from 3 to 11 May 1997, six games, with 3 hours for the first 40 moves. The stakes were huge: a prize fund of $1.1 million, with $700,000 for the winner, and enormous media attention. Kasparov was 34 and at the height of his powers.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkpy49y7wwdc60lcu3qa1.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkpy49y7wwdc60lcu3qa1.jpg" alt="Garry Kasparov" width="800" height="1200"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Garry Kasparov. Image: Grendelkhan, CC BY-SA 4.0, via &lt;a href="https://commons.wikimedia.org/wiki/File:Garry_Kasparov_at_Google.jpg" rel="noopener noreferrer"&gt;Wikimedia Commons&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Game 1: Kasparov wins
&lt;/h3&gt;

&lt;p&gt;Kasparov won Game 1 in a pure display of strategic mastery. But something odd happened late in the game, which would cast a long shadow. On its 44th move, Deep Blue made a bizarre, apparently pointless rook move. Kasparov, trying to understand it, decided that the machine had seen something deep that he had missed. It &lt;em&gt;shook&lt;/em&gt; him. Years later, it was revealed (in Hsu's account, and discussed by the statistician Nate Silver in his book &lt;em&gt;The Signal and the Noise&lt;/em&gt;) that the move was caused by a &lt;strong&gt;software bug&lt;/strong&gt;: faced with too many equally bad options, the program had chosen a move more or less at random. Kasparov had read profound intention into a glitch. (A neat echo of the ELIZA effect from Part 5.)&lt;/p&gt;

&lt;h3&gt;
  
  
  Game 2: the controversy
&lt;/h3&gt;

&lt;p&gt;In Game 2, Deep Blue played what many commentators called an astonishingly human-like game. It made a quiet, positional move at move 36 that seemed to show deep understanding, and it declined to grab a pawn that a typical computer would have taken. After 45 moves, Kasparov resigned, convinced he was lost and that the machine was playing in a way no machine should.&lt;/p&gt;

&lt;p&gt;Later analysis, including by other computers, revealed that Kasparov could probably have drawn by perpetual check. He had resigned in a position that was, objectively, not lost. That bruised him psychologically. Convinced that no computer could have played that way, he began to suspect that &lt;strong&gt;human grandmasters were secretly helping the machine&lt;/strong&gt;. He demanded printouts of the machine's calculations, which IBM declined to provide during the match (they released logs later, which did not support the cheating hypothesis). The IBM team's explanation was that they weren't allowed to intervene during games, only between them, to adjust the program.&lt;/p&gt;

&lt;p&gt;The atmosphere around the board grew tense. Kasparov accused IBM of cheating; IBM kept its cool; the cameras kept rolling.&lt;/p&gt;

&lt;h3&gt;
  
  
  Games 3 to 5: draws
&lt;/h3&gt;

&lt;p&gt;Games 3, 4, and 5 were draws. Kasparov, rattled and playing in an unnatural, defensive style, avoided his usual sharp attacking play.&lt;/p&gt;

&lt;h3&gt;
  
  
  Game 6: the collapse
&lt;/h3&gt;

&lt;p&gt;Heading into the final game, the match was level at 2.5 to 2.5. Kasparov, playing Black, chose a sharp opening, the &lt;strong&gt;Caro-Kann Defense&lt;/strong&gt;, and on move 7 made an inaccurate move order that allowed Deep Blue to play a knight sacrifice on e6, a known tactical idea. Within 19 moves, Kasparov's position was collapsing, and he resigned. The final score: &lt;strong&gt;Deep Blue 3.5, Kasparov 2.5&lt;/strong&gt;. (Two wins for the machine, one for the human, three draws.)&lt;/p&gt;

&lt;p&gt;In the press conference afterward, Kasparov was angry and visibly upset, hinting that he had been outplayed by a machine that was not playing fair. He later acknowledged that he had been tired and demoralized, and that his Game 6 choice was a mistake born of that mood. In a later memoir, &lt;em&gt;Deep Thinking&lt;/em&gt; (2017), he reflected with greater grace on the experience and wrote that the match had been the start of an important and healthy conversation about humans and machines.&lt;/p&gt;

&lt;h2&gt;
  
  
  The aftermath
&lt;/h2&gt;

&lt;p&gt;IBM treated the victory as a triumph of technology and marketing. Its stock price reportedly jumped, the company's profile soared, and then, almost immediately, &lt;strong&gt;Deep Blue was dismantled&lt;/strong&gt;. IBM declined Kasparov's request for a rematch, and the machine was retired, with parts displayed in museums, including the Computer History Museum and the Smithsonian. Hsu and some colleagues later moved on to other work.&lt;/p&gt;

&lt;p&gt;The match was the subject of an acclaimed documentary, &lt;em&gt;Game Over: Kasparov and the Machine&lt;/em&gt; (2003), and the debate it kindled has never fully stopped.&lt;/p&gt;

&lt;h3&gt;
  
  
  What happened to computer chess
&lt;/h3&gt;

&lt;p&gt;Computer chess kept improving, with or without IBM:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In &lt;strong&gt;2002&lt;/strong&gt;, Vladimir Kramnik, the new world champion, drew an 8-game match against &lt;strong&gt;Deep Fritz&lt;/strong&gt;, a program running on an ordinary multi-processor PC.&lt;/li&gt;
&lt;li&gt;In &lt;strong&gt;2003&lt;/strong&gt;, Kasparov himself drew matches against Deep Junior and X3D Fritz.&lt;/li&gt;
&lt;li&gt;In &lt;strong&gt;2006&lt;/strong&gt;, Deep Fritz beat Kramnik 4 to 2, and this was the last major match between a reigning world champion and a top program. After that, the question was settled.&lt;/li&gt;
&lt;li&gt;Soon, engines like &lt;strong&gt;Rybka&lt;/strong&gt;, &lt;strong&gt;Houdini&lt;/strong&gt;, and &lt;strong&gt;Stockfish&lt;/strong&gt; (open source, first released in 2008) running on an ordinary laptop would be vastly stronger than any human who has ever lived. Today the best human players have no realistic chance against them, and chess grandmasters use engines to prepare and analyze.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The 2017 story is the most striking: Google's &lt;strong&gt;AlphaZero&lt;/strong&gt;, a neural network that taught itself chess through self-play in a few hours, crushed Stockfish. It played in a style that experts described as imaginative and human-like, in a sense more "creative" than Deep Blue's brute force. We'll tell that story in Part 17, because it marks a deep shift in how AI works.&lt;/p&gt;

&lt;h3&gt;
  
  
  Humans and machines together: "centaur chess"
&lt;/h3&gt;

&lt;p&gt;One intriguing outcome came from Kasparov himself. In 1998, he organized the first &lt;strong&gt;"Advanced Chess"&lt;/strong&gt; event, in which human players use computers as aids. Teams of human plus machine, sometimes called &lt;strong&gt;centaurs&lt;/strong&gt;, turned out to be stronger than either alone, at least for a time, and in some freestyle tournaments, amateur players with good processes and ordinary laptops beat both grandmasters and powerful machines working alone. Kasparov drew an interesting moral: what mattered was not the raw power of the human or the machine but the &lt;strong&gt;quality of the collaboration process&lt;/strong&gt;. That theme is back in vogue in the era of AI assistants.&lt;/p&gt;

&lt;h2&gt;
  
  
  What did Deep Blue's victory really mean?
&lt;/h2&gt;

&lt;p&gt;Reactions to the match fell into two camps, and both have something right.&lt;/p&gt;

&lt;h3&gt;
  
  
  The "it's a big deal" view
&lt;/h3&gt;

&lt;p&gt;For many, this was a watershed. A machine had beaten the best human at a game long associated with deep intellect. The headline from &lt;em&gt;Newsweek&lt;/em&gt; was a declaration that human supremacy was ending, at least in this domain. Kasparov felt it himself: he said he could "smell a new kind of intelligence across the table."&lt;/p&gt;

&lt;p&gt;It was also a vindication of Turing, Shannon, Simon, and the early chess pioneers. They had seen that chess was within reach, and that machines might one day beat us at it. They were right.&lt;/p&gt;

&lt;h3&gt;
  
  
  The "it's not intelligence" view
&lt;/h3&gt;

&lt;p&gt;For others, Deep Blue showed the opposite. The machine didn't understand chess. It had no sense of beauty, no strategic planning in the human sense, no ability to learn from its games (it didn't improve over the course of the match, except through the team's manual adjustments between games), and no ability to do anything else, not even play checkers or tic-tac-toe. It was an enormously fast search engine, backed by thousands of hand-tuned rules, wrapped in custom silicon.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;John McCarthy&lt;/strong&gt;, who had coined the term "artificial intelligence" and invented Lisp, was famously unimpressed. He argued that computer chess had developed the way genetics might have if geneticists, starting in 1910, had concentrated on breeding racing fruit flies: lots of fast flies, but not much insight into biology. In his view, the field had focused on the sport rather than on the science of intelligence, and Deep Blue taught us little about how humans actually play: a grandmaster examines perhaps a few dozen positions in a few seconds, guided by pattern recognition and intuition, whereas Deep Blue examined hundreds of millions.&lt;/p&gt;

&lt;p&gt;Douglas Hofstadter, author of &lt;em&gt;Gödel, Escher, Bach&lt;/em&gt;, admitted that he was unsettled by it: perhaps chess did not require the deep creativity he'd assumed. That pattern would recur whenever an AI milestone was reached: first people say a task requires true intelligence; then a machine does it; then people conclude that the task didn't require intelligence after all. This is the &lt;strong&gt;AI effect&lt;/strong&gt; we met in Part 7.&lt;/p&gt;

&lt;h3&gt;
  
  
  Both are right
&lt;/h3&gt;

&lt;p&gt;The two views describe different things. Deep Blue was a spectacular achievement of &lt;strong&gt;engineering&lt;/strong&gt; and it did settle a question about &lt;strong&gt;performance&lt;/strong&gt;: a machine can beat any human at chess. It did &lt;em&gt;not&lt;/em&gt; demonstrate &lt;strong&gt;general intelligence&lt;/strong&gt;, and it didn't use the kind of learning that would later prove so powerful. As IBM's own researchers cheerfully admitted, it was a specialized machine for a specialized task.&lt;/p&gt;

&lt;p&gt;The gap between "superhuman at one narrow task" and "generally intelligent" is a recurring theme of this series. Chess turned out to be easier than it looked, for the reasons Moravec's paradox predicted: clean, formal, well-defined rules, ideal for search. The problems that &lt;em&gt;really&lt;/em&gt; resist, as we've seen, are the messy ones: vision, language, common sense.&lt;/p&gt;

&lt;h2&gt;
  
  
  Other games fall
&lt;/h2&gt;

&lt;p&gt;Chess was not alone. Through the 1990s and 2000s, one board game after another fell to machines.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Checkers:&lt;/strong&gt; The program &lt;strong&gt;Chinook&lt;/strong&gt;, by Jonathan Schaeffer's team at the University of Alberta, fought the legendary human champion &lt;strong&gt;Marion Tinsley&lt;/strong&gt;, who had lost only a handful of games in forty years. Their 1994 match ended when Tinsley withdrew for health reasons (he died in 1995). In 2007, Schaeffer's group announced they had &lt;strong&gt;solved checkers&lt;/strong&gt;: with perfect play, the game is a draw. It was the culmination of nearly two decades of computation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Othello:&lt;/strong&gt; In 1997, the program &lt;strong&gt;Logistello&lt;/strong&gt; beat the world champion Takeshi Murakami 6 games to 0.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Backgammon:&lt;/strong&gt; &lt;strong&gt;TD-Gammon&lt;/strong&gt;, as we saw in Part 9, reached near-world-class level through reinforcement learning.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scrabble, poker, bridge:&lt;/strong&gt; Programs became strong in each, although imperfect-information games like poker would not be cracked at the top level until the 2010s and 2020s.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And then there was &lt;strong&gt;Go&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  The game that stayed out of reach
&lt;/h3&gt;

&lt;p&gt;Go, the ancient board game from East Asia, played on a 19-by-19 grid, resisted every attempt. The branching factor in Go is about &lt;strong&gt;250&lt;/strong&gt; moves per turn (compared with chess's 35), so the game tree is astronomically bigger, with some 10^170 legal board positions. And evaluating a Go position is much harder: there's no simple material count like in chess, and good players rely on intuitive judgments about influence, shape, and territory that were nearly impossible to encode by hand.&lt;/p&gt;

&lt;p&gt;In 1997, around the time of the Deep Blue match, a commentator in the &lt;em&gt;New York Times&lt;/em&gt; said it might take a hundred years or more for a computer to beat a human champion at Go. For nearly two decades, the best Go programs played at the level of a modest amateur. Brute force didn't work, and human knowledge was too hard to write down.&lt;/p&gt;

&lt;p&gt;What eventually worked was a combination of &lt;strong&gt;deep neural networks, reinforcement learning, and tree search&lt;/strong&gt;, a fusion of the statistical and connectionist revolutions with the old search ideas. That landmark, &lt;strong&gt;AlphaGo&lt;/strong&gt;'s 2016 victory over Lee Sedol, is the subject of Part 17. The unexpectedly short wait, about nineteen years after Deep Blue, is one of the great examples of why predicting AI timelines is such a treacherous business.&lt;/p&gt;

&lt;h2&gt;
  
  
  Lessons from the match
&lt;/h2&gt;

&lt;p&gt;Deep Blue is worth understanding well, because it illustrates several patterns that we'll see again.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Scale can substitute for cleverness.&lt;/strong&gt; Deep Blue's victory came from raw speed, custom hardware, and a huge team of engineers rather than a radical new idea. Later in this series, we'll see this lesson reappear on a vastly larger scale, in the era of large language models.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Narrow superhuman performance is possible long before general intelligence.&lt;/strong&gt; The two should never be confused.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Humans read intention into machines.&lt;/strong&gt; Kasparov's reaction to the bug on move 44 shows how readily we attribute understanding and intent to a system. This matters for how we interpret fluent AI today.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Milestones are moving targets.&lt;/strong&gt; When a machine achieves what was supposed to need intelligence, the goalposts shift.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The human-machine team can beat either one.&lt;/strong&gt; The "centaur" lesson has outlasted the specific match.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Public perception can lag or lead the reality.&lt;/strong&gt; The match made headlines worldwide, yet the deeper changes in AI that were happening in the 1990s, the statistical and neural revolutions of Parts 9 and 10, attracted almost no attention.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Key takeaways
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Chess was AI's model organism:&lt;/strong&gt; clear rules, measurable progress, and cultural prestige.&lt;/li&gt;
&lt;li&gt;Computers play chess by &lt;strong&gt;searching a game tree with minimax and alpha-beta pruning&lt;/strong&gt;, then scoring positions with an evaluation function, an approach laid out by &lt;strong&gt;Shannon in 1950&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deep Blue&lt;/strong&gt; (IBM, 1997) combined 30 processors and &lt;strong&gt;480 custom chess chips&lt;/strong&gt;, evaluating about &lt;strong&gt;200 million positions per second&lt;/strong&gt;, with a hand-tuned evaluation function and a big opening book.&lt;/li&gt;
&lt;li&gt;It &lt;strong&gt;lost to Kasparov in 1996 (2-4)&lt;/strong&gt; and &lt;strong&gt;beat him in 1997 (3.5-2.5)&lt;/strong&gt;, a result clouded by a &lt;strong&gt;software bug&lt;/strong&gt; in Game 1, a possibly premature resignation in Game 2, and accusations of cheating.&lt;/li&gt;
&lt;li&gt;The victory was a triumph of &lt;strong&gt;engineering and speed&lt;/strong&gt;, not of learning or understanding, and critics like &lt;strong&gt;McCarthy&lt;/strong&gt; called computer chess the sport rather than the science of AI.&lt;/li&gt;
&lt;li&gt;By the mid-2000s, ordinary PCs running chess engines outplayed any human, and &lt;strong&gt;"centaur" teams&lt;/strong&gt; showed the power of human-machine collaboration.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Go&lt;/strong&gt; remained unsolved until the neural-network era, a story told in Part 17.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it yourself
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Make a tic-tac-toe opponent.&lt;/strong&gt; Use the alpha-beta function above to build a command-line game where the computer picks its move by calling it for each candidate move. Verify that you can never beat it (only draw).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Feel the pruning.&lt;/strong&gt; Add a counter that records how many positions alpha-beta examines when you &lt;em&gt;shuffle&lt;/em&gt; the move order randomly versus always trying the center first. Does move ordering matter?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Write a mini evaluation function.&lt;/strong&gt; Create a simple 3-by-3 evaluation (count lines where X can still win minus lines where O can still win) and use it with a depth limit of 2 instead of searching to the end. How much weaker is the result?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Try a real engine.&lt;/strong&gt; Download Stockfish (it's free and open source) and play a few games against it at different skill levels. Where do you start to lose?&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Next up
&lt;/h2&gt;

&lt;p&gt;In &lt;strong&gt;Part 12&lt;/strong&gt;, we turn from games to the ingredients that finally made deep learning explode: &lt;strong&gt;big data and the GPU&lt;/strong&gt;. We'll meet the Stanford professor who built &lt;strong&gt;ImageNet&lt;/strong&gt;, the video-game chips that turned out to be perfect for neural networks, and the stage setting for one of the most dramatic competitions in AI history.&lt;/p&gt;

&lt;p&gt;If you remember where you were when Deep Blue beat Kasparov (or you've played against an engine yourself), tell me in the comments, and follow the series so you don't miss Part 12.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;See you in Part 12.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;☕ &lt;strong&gt;If this series helped you, you can support my writing on Ko-fi.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://ko-fi.com/surajnandan" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2z7dch5enfz2e5i2t2gj.png" alt="Support me on Ko-fi" width="286" height="73"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>history</category>
      <category>algorithms</category>
      <category>python</category>
      <category>beginners</category>
    </item>
    <item>
      <title>The History of AI, Part 10: Statistical Machine Learning, the Quiet Revolution</title>
      <dc:creator>Suraj Nandan</dc:creator>
      <pubDate>Wed, 25 Nov 2026 04:30:00 +0000</pubDate>
      <link>https://dev.to/suraj_nandan/the-history-of-ai-part-10-statistical-machine-learning-the-quiet-revolution-2p5</link>
      <guid>https://dev.to/suraj_nandan/the-history-of-ai-part-10-statistical-machine-learning-the-quiet-revolution-2p5</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The History of AI, Part 10 of 24.&lt;/strong&gt; Part 9 brought neural networks back from the dead, only for them to be sidelined again in the 1990s. This chapter is about what took over: a quiet revolution in which AI stopped trying to write down intelligence and started &lt;em&gt;measuring&lt;/em&gt; it, with probability, statistics, and data.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If you only read the headlines, the history of AI between 1990 and 2010 looks like a gap. There was a chess match in 1997 (Part 11), a quiz show in 2011 (Part 13), and not much else. The "AI winter" supposedly lasted until deep learning took off around 2012.&lt;/p&gt;

&lt;p&gt;That picture is wrong in an important way. During those two decades, AI wasn't dormant. It was &lt;strong&gt;quietly becoming useful&lt;/strong&gt;. Your email stopped filling with spam. Your voice could be transcribed by a phone line. A search engine could find a needle in a haystack of billions of web pages. A website could suggest a book you actually wanted to read. Credit card companies started catching fraud in real time. Digital cameras started drawing boxes around faces.&lt;/p&gt;

&lt;p&gt;None of this was marketed as "artificial intelligence," because after two winters, the label was poison. Instead it was called &lt;strong&gt;machine learning, data mining, statistical pattern recognition, information retrieval, predictive analytics.&lt;/strong&gt; But under those names, a new scientific culture took hold, one that would eventually produce every AI system you use today.&lt;/p&gt;

&lt;p&gt;This chapter explains that culture, its main tools, and why it worked when the older approaches didn't.&lt;/p&gt;

&lt;h2&gt;
  
  
  The turn from rules to probabilities
&lt;/h2&gt;

&lt;p&gt;Let's start with the philosophical shift, because everything else follows from it.&lt;/p&gt;

&lt;p&gt;The old symbolic approach (Parts 4 to 8) treated intelligence as &lt;strong&gt;reasoning with certainty&lt;/strong&gt;. Facts were true or false. Rules fired or didn't. A medical diagnosis was a chain of logical deductions. But the real world isn't like that. Evidence is noisy. Measurements are imprecise. Sensors fail. People are ambiguous. Almost every real-world question is really about &lt;strong&gt;degrees of belief&lt;/strong&gt;: how likely is this email to be spam, given these words? How likely is this audio signal to be the word "yes"?&lt;/p&gt;

&lt;p&gt;The branch of mathematics designed for reasoning under uncertainty is &lt;strong&gt;probability theory&lt;/strong&gt;, and at its heart is a theorem from the 18th century.&lt;/p&gt;

&lt;h3&gt;
  
  
  Bayes' theorem in thirty seconds
&lt;/h3&gt;

&lt;p&gt;The Reverend Thomas Bayes, an English clergyman, left behind an essay (published posthumously in 1763) that contained a simple, powerful rule for updating beliefs in light of evidence. In modern notation:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5yvqnsvk5l1p3smkd8on.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5yvqnsvk5l1p3smkd8on.jpg" alt="The tomb of Thomas Bayes at Bunhill Fields, London" width="800" height="600"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The tomb of Thomas Bayes at Bunhill Fields, London. Image: Cory Doctorow, CC BY-SA 2.0, via &lt;a href="https://commons.wikimedia.org/wiki/File:Tomb_of_Thomas_Bayes,_Bunhill_Cemetery,_London,_UK.jpg" rel="noopener noreferrer"&gt;Wikimedia Commons&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;P(hypothesis | evidence) = P(evidence | hypothesis) × P(hypothesis) / P(evidence)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In words: your updated belief in a hypothesis is proportional to how well the hypothesis &lt;em&gt;predicts&lt;/em&gt; the evidence, multiplied by how plausible the hypothesis was &lt;em&gt;beforehand&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;If you see a message containing the word "prize," and you know that "prize" appears in 30% of spam but only 1% of normal mail, and that 40% of all mail is spam, Bayes' theorem tells you precisely how suspicious to be. It's a recipe for &lt;strong&gt;learning from evidence&lt;/strong&gt;.&lt;/p&gt;
&lt;h3&gt;
  
  
  Judea Pearl and Bayesian networks
&lt;/h3&gt;

&lt;p&gt;Why didn't early AI use probability? Partly because computing with it seemed intractable: to reason about many uncertain variables at once, you'd need to track every combination, and the number of combinations explodes (our old friend from Part 6). Some of the 1970s and 80s expert systems used ad hoc "certainty factors" instead, precisely because probability seemed too hard.&lt;/p&gt;

&lt;p&gt;The breakthrough came from &lt;strong&gt;Judea Pearl&lt;/strong&gt;, an Israeli-American computer scientist at UCLA. In the 1980s, Pearl developed &lt;strong&gt;Bayesian networks&lt;/strong&gt;: a way to represent a set of uncertain variables as a graph, where each node is a variable and each arrow says "this directly influences that." The key insight was that most variables in the real world depend directly on only a few others. The graph captures those dependencies, and efficient algorithms can propagate evidence through it without exploring every combination.&lt;/p&gt;

&lt;p&gt;For example: &lt;em&gt;Disease&lt;/em&gt; influences &lt;em&gt;Symptom A&lt;/em&gt; and &lt;em&gt;Symptom B&lt;/em&gt;, and &lt;em&gt;Smoking&lt;/em&gt; influences &lt;em&gt;Disease&lt;/em&gt;. Observe a symptom, and the network updates the probability of the disease; that in turn updates the probability of the other symptom. His 1988 book &lt;strong&gt;&lt;em&gt;Probabilistic Reasoning in Intelligent Systems&lt;/em&gt;&lt;/strong&gt; brought rigor to AI's treatment of uncertainty and became a classic. Pearl later pushed the field toward &lt;strong&gt;causal reasoning&lt;/strong&gt;, asking not just what correlates with what but what &lt;em&gt;causes&lt;/em&gt; what, and he received the &lt;strong&gt;2011 Turing Award&lt;/strong&gt; for his work.&lt;/p&gt;

&lt;p&gt;Bayesian networks quickly entered real products: Microsoft used them in the troubleshooters of Windows and the "Office Assistant", NASA used them for diagnostics, and doctors used them for decision support.&lt;/p&gt;
&lt;h2&gt;
  
  
  The spam filter: probability in your inbox
&lt;/h2&gt;

&lt;p&gt;The first statistical-AI system that touched millions of lives was probably the humble &lt;strong&gt;spam filter&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;By the late 1990s, email spam was a plague. Early filters relied on hand-written rules ("block messages containing 'Viagra'"), and spammers simply changed the spelling. Then, in 2002, the programmer and essayist &lt;strong&gt;Paul Graham&lt;/strong&gt; published an essay called "A Plan for Spam," proposing a Bayesian approach: let the filter &lt;em&gt;learn&lt;/em&gt; from examples of spam and good mail which words are suspicious, and combine the evidence from all the words in a message. Spammers could no longer dodge it with simple tricks, because the system adapted to whatever the user actually received. Open-source tools like SpamAssassin and later Gmail's filters took up the approach.&lt;/p&gt;

&lt;p&gt;This is the &lt;strong&gt;Naive Bayes classifier&lt;/strong&gt;, so called because it makes the "naive" simplifying assumption that the words in a message are independent of each other given the class (spam or not). That's obviously false, since "free" and "money" tend to appear together, but it works remarkably well anyway. Here is a complete one in under thirty lines:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;math&lt;/span&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;collections&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;Counter&lt;/span&gt;

&lt;span class="n"&gt;spam&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;win money now&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;free money offer&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;win a free prize now&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;cheap meds offer now&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;ham&lt;/span&gt;  &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;meeting at noon&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;lunch tomorrow at noon&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;project report attached&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;see you at the meeting&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;train&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;docs&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;counts&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Counter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;docs&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;split&lt;/span&gt;&lt;span class="p"&gt;())&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;counts&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;counts&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;values&lt;/span&gt;&lt;span class="p"&gt;())&lt;/span&gt;

&lt;span class="n"&gt;spam_counts&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;spam_total&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;train&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;spam&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;ham_counts&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;ham_total&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;train&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ham&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;vocab&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;set&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;spam_counts&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="nf"&gt;set&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ham_counts&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;n&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;spam&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nf"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ham&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;log_score&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;msg&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;counts&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;total&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;prior&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;score&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;prior&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;word&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;msg&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;split&lt;/span&gt;&lt;span class="p"&gt;():&lt;/span&gt;
        &lt;span class="n"&gt;score&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="n"&gt;math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="n"&gt;counts&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;word&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;total&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nf"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;vocab&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt;   &lt;span class="c1"&gt;# +1: Laplace smoothing
&lt;/span&gt;    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;score&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;classify&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;msg&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;log_score&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;msg&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;spam_counts&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;spam_total&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;spam&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;h&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;log_score&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;msg&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;ham_counts&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;ham_total&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ham&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="nf"&gt;return &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;spam&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;h&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;ham&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="nf"&gt;round&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;msg&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;free money now&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;meeting at noon tomorrow&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;win a prize&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;project meeting&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;]:&lt;/span&gt;
    &lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;msg&lt;/span&gt;&lt;span class="si"&gt;!r:&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt; -&amp;gt; &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="nf"&gt;classify&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;msg&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Notice what's &lt;em&gt;not&lt;/em&gt; here: no rules about what spam looks like. The program counts how often each word appeared in each class, then combines evidence using Bayes' rule. Feed it better examples and it gets better. That's the statistical philosophy in miniature: &lt;strong&gt;don't tell the machine what to look for; show it examples and let the data speak.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Hidden Markov models and the conquest of speech
&lt;/h2&gt;

&lt;p&gt;The next big win was in a field where symbolic AI had struggled for decades: &lt;strong&gt;speech recognition&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Recall from Part 6 that DARPA's Speech Understanding Research program in the early 1970s produced some systems with limited vocabularies but was judged a disappointment. The rule-based approach, which tried to encode the linguistic structure of phonemes and words by hand, was fragile: people speak differently, with accents, mumbling, and background noise.&lt;/p&gt;

&lt;p&gt;A different approach emerged at &lt;strong&gt;IBM's research labs&lt;/strong&gt; in the 1970s and 80s, led by the information theorist &lt;strong&gt;Frederick Jelinek&lt;/strong&gt;. Jelinek treated speech recognition as a &lt;strong&gt;noisy channel problem&lt;/strong&gt;, straight out of Claude Shannon's information theory (Part 3): the speaker has a sentence in mind, the acoustic signal is the sentence passed through a noisy channel, and the recognizer's job is to find the most probable sentence given the sound.&lt;/p&gt;

&lt;p&gt;The mathematical engine was the &lt;strong&gt;hidden Markov model (HMM)&lt;/strong&gt;. An HMM describes a system that moves through a sequence of hidden states (say, the phonemes the speaker is producing) while emitting observations (the acoustic features we can measure). We can't see the states directly, only the sounds, but we can compute the most probable state sequence using the efficient &lt;strong&gt;Viterbi algorithm&lt;/strong&gt; (published by Andrew Viterbi in 1967, originally for decoding signals in noisy communication channels).&lt;/p&gt;

&lt;p&gt;Here's a classic toy example, inferring hidden weather from observed activities:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;states&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Rainy&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Sunny&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;start&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Rainy&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.6&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Sunny&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.4&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="n"&gt;trans&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Rainy&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Rainy&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.7&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Sunny&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.3&lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
         &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Sunny&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Rainy&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Sunny&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.6&lt;/span&gt;&lt;span class="p"&gt;}}&lt;/span&gt;
&lt;span class="n"&gt;emit&lt;/span&gt;  &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Rainy&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;walk&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;shop&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;clean&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.5&lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
         &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Sunny&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;walk&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.6&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;shop&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;clean&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.1&lt;/span&gt;&lt;span class="p"&gt;}}&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;viterbi&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;observations&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="c1"&gt;# layer[state] = (probability of best path ending here, previous state)
&lt;/span&gt;    &lt;span class="n"&gt;layers&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[{&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;start&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;emit&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="n"&gt;observations&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]],&lt;/span&gt; &lt;span class="bp"&gt;None&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;states&lt;/span&gt;&lt;span class="p"&gt;}]&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;obs&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;observations&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:]:&lt;/span&gt;
        &lt;span class="n"&gt;prev&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;layers&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
        &lt;span class="n"&gt;layers&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;append&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
            &lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;max&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="n"&gt;prev&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;trans&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;emit&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="n"&gt;obs&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;states&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;states&lt;/span&gt;
        &lt;span class="p"&gt;})&lt;/span&gt;
    &lt;span class="n"&gt;best&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;states&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="k"&gt;lambda&lt;/span&gt; &lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;layers&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
    &lt;span class="n"&gt;path&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;best&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;layer&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nf"&gt;reversed&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;layers&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:]):&lt;/span&gt;
        &lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;insert&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;layer&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]][&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;path&lt;/span&gt;

&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;viterbi&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;walk&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;shop&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;clean&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;]))&lt;/span&gt;   &lt;span class="c1"&gt;# ['Sunny', 'Rainy', 'Rainy']
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You never see the weather, only what your friend did each day. The algorithm works backward from the evidence to the most likely hidden story. Replace "weather" with "phoneme" and "activity" with "sound," and you have the core of a speech recognizer.&lt;/p&gt;

&lt;p&gt;Jelinek's group also built &lt;strong&gt;statistical language models&lt;/strong&gt;, tables of how often word sequences occur ("n-grams"), to tell the recognizer that "recognize speech" is far likelier than "wreck a nice beach." This is the grandparent of the language models in Part 19. And Jelinek's attitude toward linguistics became legendary: he is widely quoted as saying, in some form, "Every time I fire a linguist, the performance of the speech recognizer goes up." (The exact wording is disputed, and he later said it was meant partly as a joke, but it captured a real cultural clash between rule-writing linguists and number-crunching engineers.)&lt;/p&gt;

&lt;p&gt;The commercial payoff followed. &lt;strong&gt;Dragon Systems&lt;/strong&gt;, founded by Jim and Janet Baker, released &lt;em&gt;Dragon Dictate&lt;/em&gt; in 1990, requiring pauses between words, and &lt;em&gt;Dragon NaturallySpeaking&lt;/em&gt; in 1997, which could handle continuous speech. Kai-Fu Lee's &lt;strong&gt;Sphinx&lt;/strong&gt; system at Carnegie Mellon (1988) was the first large-vocabulary, speaker-independent continuous-speech recognizer. By the 2000s, automated phone menus and dictation software were commonplace. (We'll pick the speech story up again in Part 13.)&lt;/p&gt;

&lt;h2&gt;
  
  
  Translating by counting
&lt;/h2&gt;

&lt;p&gt;Remember machine translation, the 1950s dream that ALPAC declared a failure in 1966 (Part 6)? It came back too, on statistical wings.&lt;/p&gt;

&lt;p&gt;In the late 1980s, an IBM team (including Peter Brown, Stephen and Vincent Della Pietra, and Robert Mercer, building on Jelinek's approach) proposed treating translation as another noisy channel problem. Imagine that a French sentence is really an English sentence that has been garbled in transit. The job of the translator is to find the English sentence most likely to have produced the French one. All you need are two ingredients: a &lt;strong&gt;translation model&lt;/strong&gt; (how likely are these French words, given those English words?) and a &lt;strong&gt;language model&lt;/strong&gt; (how likely is this English sentence on its own?), both estimated by counting in a huge collection of examples.&lt;/p&gt;

&lt;p&gt;Their raw material was the &lt;strong&gt;Hansard&lt;/strong&gt;, the official transcripts of the Canadian Parliament, which are published in both English and French. Millions of sentence pairs, produced by human translators, formed a free, enormous training set. The IBM team's 1990 paper, "A Statistical Approach to Machine Translation," and their &lt;strong&gt;IBM Models 1 through 5&lt;/strong&gt; (1993) became the foundation of the field.&lt;/p&gt;

&lt;p&gt;Statistical machine translation steadily improved through the 1990s and 2000s, and Google launched &lt;strong&gt;Google Translate&lt;/strong&gt; in 2006 using statistical methods trained on enormous collections of text from the web and from multilingual United Nations documents. It wasn't perfect, and it produced plenty of comic errors, but it was &lt;em&gt;useful&lt;/em&gt;, for free, in dozens of languages. A famous 2009 essay by Google researchers Alon Halevy, Peter Norvig, and Fernando Pereira, "The Unreasonable Effectiveness of Data," argued that for problems like translation, simple models trained on enormous data tend to beat clever models trained on little. It was a prophecy of the deep learning era. (In 2016, Google replaced the statistical system with a neural one, which we'll see in Parts 15 and 19.)&lt;/p&gt;

&lt;h2&gt;
  
  
  The machine learning toolbox
&lt;/h2&gt;

&lt;p&gt;While probabilistic models transformed speech and language, a broader toolbox of &lt;strong&gt;machine learning algorithms&lt;/strong&gt; was being developed and sharpened. These are the workhorses that still power an enormous fraction of real-world AI today.&lt;/p&gt;

&lt;h3&gt;
  
  
  Decision trees and random forests
&lt;/h3&gt;

&lt;p&gt;A &lt;strong&gt;decision tree&lt;/strong&gt; classifies things by asking a sequence of simple yes/no questions: Is the applicant's income above X? Is the credit history longer than Y? Each answer leads down a branch until a verdict is reached. Crucially, trees can be &lt;em&gt;learned&lt;/em&gt; from data: the algorithm picks, at each step, the question that best separates the classes. &lt;strong&gt;Ross Quinlan&lt;/strong&gt; developed the ID3 (1986) and C4.5 (1993) algorithms, and &lt;strong&gt;Leo Breiman&lt;/strong&gt; and colleagues the CART method (1984). Unlike neural networks, trees are easy for humans to read, which echoes the explainability of the old expert systems, but with the knowledge learned instead of hand-written.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fi0erst1dstly2mcme3h8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fi0erst1dstly2mcme3h8.png" alt="A random forest combines the votes of many decision trees" width="799" height="352"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;A random forest combines the votes of many decision trees. Image: CollaborativeGeneticist, CC BY-SA 4.0, via &lt;a href="https://commons.wikimedia.org/wiki/File:Random_Forest_Diagram_with_Four_Trees.png" rel="noopener noreferrer"&gt;Wikimedia Commons&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Trees by themselves are unstable and prone to overfitting. Breiman's fix, the &lt;strong&gt;random forest&lt;/strong&gt; (2001), was to train hundreds of trees, each on a randomly chosen subset of the data and features, and let them &lt;em&gt;vote&lt;/em&gt;. The errors of individual trees tend to cancel out, producing a remarkably accurate, robust, and low-fuss method. Random forests are still a default first choice for structured data.&lt;/p&gt;

&lt;h3&gt;
  
  
  Boosting
&lt;/h3&gt;

&lt;p&gt;In 1995, &lt;strong&gt;Yoav Freund and Robert Schapire&lt;/strong&gt; introduced &lt;strong&gt;AdaBoost&lt;/strong&gt;, based on a beautiful idea: combine many weak learners, each only slightly better than random guessing, into one strong one, by training them in sequence, each focusing on the examples the previous ones got wrong. It earned them the Gödel Prize in 2003. &lt;strong&gt;Gradient boosting&lt;/strong&gt; (Jerome Friedman, 1999 to 2001) and its modern incarnations like &lt;strong&gt;XGBoost&lt;/strong&gt; (2014) went on to dominate data-science competitions on tabular data for years.&lt;/p&gt;

&lt;p&gt;AdaBoost had a famous application in computer vision. In 2001, &lt;strong&gt;Paul Viola and Michael Jones&lt;/strong&gt; used it to build the first real-time &lt;strong&gt;face detector&lt;/strong&gt;: a cascade of simple classifiers, each examining small rectangular patterns of light and dark, that could reject most of an image quickly and spend effort only on promising regions. It was fast enough to run in cheap cameras, and soon, the little boxes that appeared around faces in digital cameras and photo software were Viola-Jones in action.&lt;/p&gt;

&lt;h3&gt;
  
  
  Support vector machines
&lt;/h3&gt;

&lt;p&gt;The star of the 1990s was the &lt;strong&gt;support vector machine (SVM)&lt;/strong&gt;. The idea came from the Russian mathematicians &lt;strong&gt;Vladimir Vapnik&lt;/strong&gt; and &lt;strong&gt;Alexey Chervonenkis&lt;/strong&gt;, who developed a deep theory of when learning works, now called &lt;strong&gt;statistical learning theory&lt;/strong&gt; (or &lt;strong&gt;VC theory&lt;/strong&gt;), in the 1960s and 70s. In 1992 and 1995, Vapnik and colleagues (Bernhard Boser, Isabelle Guyon, Corinna Cortes) turned it into a practical algorithm.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fg0vl526hq5hg6dqy1ayr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fg0vl526hq5hg6dqy1ayr.png" alt="A support vector machine looks for the widest margin between two classes" width="800" height="778"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;A support vector machine looks for the widest margin between two classes. Image: Larhmam, CC BY-SA 4.0, via &lt;a href="https://commons.wikimedia.org/wiki/File:SVM_margin.png" rel="noopener noreferrer"&gt;Wikimedia Commons&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The intuition: if you want to separate two classes of points with a line, there are infinitely many lines that will do. Which is best? The one with the &lt;strong&gt;largest margin&lt;/strong&gt;, the biggest gap to the nearest points on each side. Maximizing the margin tends to generalize better to new data. And by using the &lt;strong&gt;kernel trick&lt;/strong&gt;, a clever mathematical shortcut, an SVM could effectively draw curved boundaries by implicitly projecting the data into a much higher-dimensional space without ever computing the coordinates there.&lt;/p&gt;

&lt;p&gt;SVMs had solid theory, convex optimization (a single, guaranteed best solution with no local-minimum headaches, unlike neural nets), and excellent results on text classification, handwriting recognition, and bioinformatics. For a decade, they were the method to beat, which is why the neural network community felt sidelined.&lt;/p&gt;

&lt;h3&gt;
  
  
  Other classics
&lt;/h3&gt;

&lt;p&gt;The same period consolidated other essential tools: &lt;strong&gt;k-means clustering&lt;/strong&gt; for finding groups, &lt;strong&gt;principal component analysis (PCA)&lt;/strong&gt; for compressing high-dimensional data, &lt;strong&gt;k-nearest neighbors&lt;/strong&gt;, &lt;strong&gt;logistic regression&lt;/strong&gt;, &lt;strong&gt;Gaussian processes&lt;/strong&gt;, and &lt;strong&gt;ensemble methods&lt;/strong&gt;. If you open any modern machine learning library, such as scikit-learn (first released in 2007), you'll find most of them, because they remain extremely useful.&lt;/p&gt;

&lt;h2&gt;
  
  
  A new scientific culture
&lt;/h2&gt;

&lt;p&gt;Beyond the specific algorithms, the 1990s brought a transformation in &lt;em&gt;how&lt;/em&gt; AI was done. This was arguably more important than any single method.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Learning theory.&lt;/strong&gt; Leslie Valiant's 1984 framework of &lt;strong&gt;Probably Approximately Correct (PAC) learning&lt;/strong&gt; (he won the 2010 Turing Award) and Vapnik's VC theory gave a mathematical account of &lt;em&gt;when and why&lt;/em&gt; learning from examples works, and how much data you need. The central concepts, &lt;strong&gt;overfitting&lt;/strong&gt;, the &lt;strong&gt;bias-variance tradeoff&lt;/strong&gt;, and &lt;strong&gt;generalization&lt;/strong&gt;, became the vocabulary of the field.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Rigorous evaluation.&lt;/strong&gt; Researchers started holding out a &lt;strong&gt;test set&lt;/strong&gt; that the algorithm never saw during training, and reporting accuracy on it. They used &lt;strong&gt;cross-validation&lt;/strong&gt; to squeeze reliable estimates from limited data. Shared &lt;strong&gt;benchmarks&lt;/strong&gt; appeared, such as the UCI Machine Learning Repository (1987), MNIST (1998), and the NIST speech and TREC retrieval evaluations. When everyone is tested on the same problem, progress becomes measurable and fakes get exposed. (Remember the Mechanical Turk and the Eugene Goostman claim from Part 2.)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Data as the key resource.&lt;/strong&gt; Rather than coding knowledge, researchers collected and labeled datasets. The mantra became: more data beats a cleverer algorithm.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. A culture of "it works."&lt;/strong&gt; Leo Breiman captured the mood in a famous 2001 essay, "Statistical Modeling: The Two Cultures." One culture assumes a data model and estimates its parameters, as classical statisticians did. The other, which he championed, treats the process as a black box and focuses on &lt;strong&gt;predictive accuracy&lt;/strong&gt;. The success of machine learning in the next two decades belonged to the second culture.&lt;/p&gt;

&lt;p&gt;This was a very different spirit from the early AI of McCarthy and Minsky, who wanted to understand and replicate the mind. The new generation asked a humbler question: &lt;em&gt;can we predict this better than anyone else, on a held-out test set?&lt;/em&gt; It's the shift from goal #2 ("acting like humans") toward goal #4 ("acting rationally"), the pragmatic version of the four ambitions we introduced in Part 1.&lt;/p&gt;

&lt;h2&gt;
  
  
  AI hidden inside the internet
&lt;/h2&gt;

&lt;p&gt;The statistical revolution coincided with the rise of the World Wide Web, which produced two things that machine learning craved: &lt;strong&gt;vast quantities of data&lt;/strong&gt; and &lt;strong&gt;vast economic incentive&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Search
&lt;/h3&gt;

&lt;p&gt;The web grew explosively in the mid-1990s, and finding anything on it became a problem. In 1998, two Stanford PhD students, &lt;strong&gt;Larry Page&lt;/strong&gt; and &lt;strong&gt;Sergey Brin&lt;/strong&gt;, developed &lt;strong&gt;PageRank&lt;/strong&gt;, an algorithm that scored web pages by how many other important pages linked to them. Mathematically, it's the stationary distribution of a random surfer clicking links, a Markov chain. Combined with statistical analysis of text, it powered a search engine that was dramatically better than its rivals: &lt;strong&gt;Google&lt;/strong&gt;. (Larry Page's PhD advisor at Stanford, as it happens, was Terry Winograd, the creator of SHRDLU from Part 5.) Modern search is a huge machine learning system, constantly ranking and re-ranking using signals learned from what people click.&lt;/p&gt;

&lt;h3&gt;
  
  
  Recommendations
&lt;/h3&gt;

&lt;p&gt;In 1998, Amazon began using &lt;strong&gt;item-to-item collaborative filtering&lt;/strong&gt; ("customers who bought this also bought..."), later described in a widely cited 2003 paper, and it became a major driver of sales. In 2006, Netflix launched the &lt;strong&gt;Netflix Prize&lt;/strong&gt;: one million dollars to any team that could improve its movie rating predictions by 10 percent. It attracted tens of thousands of teams, and in 2009 the winning team, BellKor's Pragmatic Chaos, took the prize with an ensemble that blended hundreds of models, many based on &lt;strong&gt;matrix factorization&lt;/strong&gt;, a technique that represents users and movies as vectors in a shared "taste space." (Netflix famously never deployed the winning ensemble, since the engineering cost outweighed the gain, but the contest popularized the field.)&lt;/p&gt;

&lt;h3&gt;
  
  
  Fraud detection and credit scoring
&lt;/h3&gt;

&lt;p&gt;Banks and credit card companies embraced statistical models for credit risk and &lt;strong&gt;fraud detection&lt;/strong&gt;. In the early 1990s, a company called HNC Software introduced &lt;strong&gt;Falcon&lt;/strong&gt;, a neural-network-based system that scored each credit card transaction for fraud risk in real time. It was adopted by many card issuers, and became one of the first large-scale commercial deployments of neural networks. While academic researchers were arguing that networks were unfashionable, they were quietly screening a large fraction of the world's card transactions.&lt;/p&gt;

&lt;h3&gt;
  
  
  Everything else
&lt;/h3&gt;

&lt;p&gt;Optical character recognition for bank checks and postal addresses; machine translation; document classification; ad targeting (the engine of Google's and later Facebook's fortunes); handwriting recognition on early PDAs; medical diagnosis support; genomics and bioinformatics; stock-trading algorithms. By the mid-2000s, machine learning was a quiet foundation of the digital economy.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reinforcement learning grows up
&lt;/h2&gt;

&lt;p&gt;A related thread, which we glimpsed with Samuel's checkers (Part 4) and Tesauro's TD-Gammon (Part 9), also matured in this period. &lt;strong&gt;Reinforcement learning (RL)&lt;/strong&gt; is the branch of machine learning in which an agent learns to act by trial and error, receiving rewards and punishments.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Richard Sutton&lt;/strong&gt; and &lt;strong&gt;Andrew Barto&lt;/strong&gt; developed much of its theory, and their 1998 textbook &lt;em&gt;Reinforcement Learning: An Introduction&lt;/em&gt; became the standard reference. Chris Watkins introduced &lt;strong&gt;Q-learning&lt;/strong&gt; in 1989, an elegant method for learning the value of actions without a model of the world. RL attracted relatively few researchers until the 2010s, when combining it with deep neural networks led to spectacular results (Parts 14 and 17). In recognition of their foundational work, Sutton and Barto received the &lt;strong&gt;2024 ACM Turing Award&lt;/strong&gt;, announced in 2025.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why did statistics succeed where rules failed?
&lt;/h2&gt;

&lt;p&gt;It's worth asking directly why this approach worked so much better in practice than the symbolic approach of earlier decades.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;It embraces uncertainty.&lt;/strong&gt; Real data is noisy and ambiguous. Probability handles that gracefully, where logic breaks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It degrades gracefully.&lt;/strong&gt; A statistical system facing an unfamiliar input gives a lower-confidence guess instead of falling off a cliff (although, as modern systems show, it can still be confidently wrong).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It scales with data.&lt;/strong&gt; When you improve a hand-built system, a human must work harder. When you improve a learning system, you can often just feed it more data. As computing and the Internet delivered more data every year, the learning systems got better for free.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It's testable.&lt;/strong&gt; Held-out test sets give an honest measure of performance, so bad ideas get weeded out quickly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It avoids the knowledge bottleneck.&lt;/strong&gt; The system acquires its own "knowledge" from examples, bypassing the painful process of interviewing experts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It's modular and reusable.&lt;/strong&gt; The same algorithm, say an SVM or a random forest, can be applied to spam, medical diagnosis, or fraud, with only the data changing.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And what did it give up? Mostly &lt;strong&gt;understanding and explanation&lt;/strong&gt;. A trained SVM or neural network is often a black box. It predicts well but doesn't tell you why. It also gave up on the grand dream of general intelligence: each model was a narrow specialist. Researchers called this &lt;strong&gt;weak&lt;/strong&gt; or &lt;strong&gt;narrow AI&lt;/strong&gt;, in contrast to the &lt;strong&gt;artificial general intelligence (AGI)&lt;/strong&gt; the founders had imagined.&lt;/p&gt;

&lt;h2&gt;
  
  
  The limits that remained
&lt;/h2&gt;

&lt;p&gt;By the mid-2000s, machine learning had conquered many practical tasks, but a few frontiers resisted.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Perception.&lt;/strong&gt; Recognizing objects in photographs, understanding natural speech in noisy conditions, and parsing natural language remained error-prone. The best approaches relied on &lt;strong&gt;hand-engineered features&lt;/strong&gt;: experts decided what to measure (edges, textures, word counts), and the learning algorithm worked on those measurements. The quality of the features limited the quality of the system. Feature engineering was laborious, and everyone knew it was a bottleneck, echoing the knowledge acquisition bottleneck of expert systems.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scale.&lt;/strong&gt; Training sophisticated models on web-scale data demanded computing resources most labs didn't have.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Representation learning.&lt;/strong&gt; The dream, held by the neural network community, was to learn the &lt;em&gt;features themselves&lt;/em&gt; from raw data. That would be the key insight behind deep learning, and it would turn out to need two things the statistical era was about to provide: huge labeled datasets and massive parallel computing.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Timeline: 1984 to 2009
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;1984:&lt;/strong&gt; Valiant's PAC learning framework; Breiman's CART trees.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;1986 to 1993:&lt;/strong&gt; Quinlan's ID3 and C4.5.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;1988:&lt;/strong&gt; Pearl's &lt;em&gt;Probabilistic Reasoning in Intelligent Systems&lt;/em&gt;; IBM's statistical translation work begins.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;1990:&lt;/strong&gt; Dragon Dictate; IBM publishes its statistical approach to translation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;1992 to 1995:&lt;/strong&gt; Support vector machines; AdaBoost.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;1998:&lt;/strong&gt; PageRank and Google; Amazon's collaborative filtering; MNIST.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2001:&lt;/strong&gt; Random forests; Viola-Jones face detection.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2002:&lt;/strong&gt; Paul Graham's "A Plan for Spam."&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2006:&lt;/strong&gt; Google Translate launches; the Netflix Prize begins.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2009:&lt;/strong&gt; "The Unreasonable Effectiveness of Data"; the Netflix Prize is won.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Quick glossary
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Supervised learning:&lt;/strong&gt; learning from examples that come with correct labels.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unsupervised learning:&lt;/strong&gt; finding structure in data without labels (clustering, compression).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Overfitting and generalization:&lt;/strong&gt; memorizing the training set versus performing well on new data.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bias-variance tradeoff:&lt;/strong&gt; the tension between models too simple to capture the pattern and models so flexible they chase noise.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Test set:&lt;/strong&gt; data held back from training and used only to measure performance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Feature engineering:&lt;/strong&gt; hand-designing the measurements a learning algorithm works with.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ensemble:&lt;/strong&gt; combining many models to get a better one than any alone.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Key takeaways
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;In the 1990s and 2000s, AI turned from &lt;strong&gt;hand-written rules&lt;/strong&gt; to &lt;strong&gt;probabilistic models and learning from data&lt;/strong&gt;, mostly under names like "machine learning" and "data mining."&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bayes' theorem&lt;/strong&gt; and &lt;strong&gt;Pearl's Bayesian networks&lt;/strong&gt; gave AI a principled way to reason under uncertainty.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Naive Bayes&lt;/strong&gt; filtered spam; &lt;strong&gt;hidden Markov models&lt;/strong&gt; and statistical &lt;strong&gt;language models&lt;/strong&gt; conquered speech recognition; &lt;strong&gt;statistical machine translation&lt;/strong&gt; (IBM's Candide, Google Translate) replaced rule-based systems.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;machine learning toolbox&lt;/strong&gt; (decision trees, random forests, boosting, SVMs, clustering) became the backbone of practical AI.&lt;/li&gt;
&lt;li&gt;A new scientific culture emerged: &lt;strong&gt;learning theory, held-out test sets, shared benchmarks,&lt;/strong&gt; and a focus on predictive accuracy.&lt;/li&gt;
&lt;li&gt;AI went into hiding inside &lt;strong&gt;search (PageRank), recommendations, fraud detection,&lt;/strong&gt; and &lt;strong&gt;ad targeting&lt;/strong&gt;, powering the digital economy.&lt;/li&gt;
&lt;li&gt;Limits remained: &lt;strong&gt;feature engineering&lt;/strong&gt; was a bottleneck, and perception tasks like vision and natural speech were still unsolved.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it yourself
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Improve the spam filter.&lt;/strong&gt; Add ten more training messages of your own, then test with phrases that confuse it. What happens when a message contains words never seen in training? What does Laplace smoothing do about it?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Inspect the evidence.&lt;/strong&gt; Modify &lt;code&gt;classify&lt;/code&gt; to print the five words that most strongly pushed the decision toward spam. Explainability for free, a perk of simple models.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bring your own HMM.&lt;/strong&gt; Change the Viterbi example's probabilities (say, make rainy days more persistent) and watch how the decoded path changes. Try longer observation sequences.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Try scikit-learn.&lt;/strong&gt; Train a decision tree, a random forest, and an SVM on the built-in iris or digits dataset, and compare accuracy and training time. Which is easiest to interpret?&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Next up
&lt;/h2&gt;

&lt;p&gt;In &lt;strong&gt;Part 11&lt;/strong&gt;, we visit the match that put AI on the front pages: in May 1997, IBM's &lt;strong&gt;Deep Blue&lt;/strong&gt; defeated world chess champion &lt;strong&gt;Garry Kasparov&lt;/strong&gt;. We'll trace chess AI from Shannon's 1950 paper and Turing's paper machine to brute-force search on custom hardware, relive the dramatic six-game match, and ask what Deep Blue's victory did and didn't prove.&lt;/p&gt;

&lt;p&gt;If you've ever used a statistical tool without realizing it was AI (spam filters, autocorrect, recommendations), tell me your favorite in the comments, and follow the series for Part 11.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;See you in Part 11.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;☕ &lt;strong&gt;If this series helped you, you can support my writing on Ko-fi.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://ko-fi.com/surajnandan" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2z7dch5enfz2e5i2t2gj.png" alt="Support me on Ko-fi" width="286" height="73"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>history</category>
      <category>machinelearning</category>
      <category>datascience</category>
      <category>python</category>
    </item>
  </channel>
</rss>
