The History of AI, Part 10 of 24. 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 measuring it, with probability, statistics, and data.
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.
That picture is wrong in an important way. During those two decades, AI wasn't dormant. It was quietly becoming useful. 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.
None of this was marketed as "artificial intelligence," because after two winters, the label was poison. Instead it was called machine learning, data mining, statistical pattern recognition, information retrieval, predictive analytics. But under those names, a new scientific culture took hold, one that would eventually produce every AI system you use today.
This chapter explains that culture, its main tools, and why it worked when the older approaches didn't.
The turn from rules to probabilities
Let's start with the philosophical shift, because everything else follows from it.
The old symbolic approach (Parts 4 to 8) treated intelligence as reasoning with certainty. 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 degrees of belief: how likely is this email to be spam, given these words? How likely is this audio signal to be the word "yes"?
The branch of mathematics designed for reasoning under uncertainty is probability theory, and at its heart is a theorem from the 18th century.
Bayes' theorem in thirty seconds
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:

The tomb of Thomas Bayes at Bunhill Fields, London. Image: Cory Doctorow, CC BY-SA 2.0, via Wikimedia Commons.
P(hypothesis | evidence) = P(evidence | hypothesis) × P(hypothesis) / P(evidence)
In words: your updated belief in a hypothesis is proportional to how well the hypothesis predicts the evidence, multiplied by how plausible the hypothesis was beforehand.
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 learning from evidence.
Judea Pearl and Bayesian networks
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.
The breakthrough came from Judea Pearl, an Israeli-American computer scientist at UCLA. In the 1980s, Pearl developed Bayesian networks: 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.
For example: Disease influences Symptom A and Symptom B, and Smoking influences Disease. 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 Probabilistic Reasoning in Intelligent Systems brought rigor to AI's treatment of uncertainty and became a classic. Pearl later pushed the field toward causal reasoning, asking not just what correlates with what but what causes what, and he received the 2011 Turing Award for his work.
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.
The spam filter: probability in your inbox
The first statistical-AI system that touched millions of lives was probably the humble spam filter.
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 Paul Graham published an essay called "A Plan for Spam," proposing a Bayesian approach: let the filter learn 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.
This is the Naive Bayes classifier, 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:
import math
from collections import Counter
spam = ["win money now", "free money offer", "win a free prize now", "cheap meds offer now"]
ham = ["meeting at noon", "lunch tomorrow at noon", "project report attached", "see you at the meeting"]
def train(docs):
counts = Counter(w for d in docs for w in d.split())
return counts, sum(counts.values())
spam_counts, spam_total = train(spam)
ham_counts, ham_total = train(ham)
vocab = set(spam_counts) | set(ham_counts)
n = len(spam) + len(ham)
def log_score(msg, counts, total, prior):
score = math.log(prior)
for word in msg.split():
score += math.log((counts[word] + 1) / (total + len(vocab))) # +1: Laplace smoothing
return score
def classify(msg):
s = log_score(msg, spam_counts, spam_total, len(spam) / n)
h = log_score(msg, ham_counts, ham_total, len(ham) / n)
return ("spam" if s > h else "ham"), round(s - h, 2)
for msg in ["free money now", "meeting at noon tomorrow", "win a prize", "project meeting"]:
print(f"{msg!r:30} -> {classify(msg)}")
Notice what's not 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: don't tell the machine what to look for; show it examples and let the data speak.
Hidden Markov models and the conquest of speech
The next big win was in a field where symbolic AI had struggled for decades: speech recognition.
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.
A different approach emerged at IBM's research labs in the 1970s and 80s, led by the information theorist Frederick Jelinek. Jelinek treated speech recognition as a noisy channel problem, 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.
The mathematical engine was the hidden Markov model (HMM). 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 Viterbi algorithm (published by Andrew Viterbi in 1967, originally for decoding signals in noisy communication channels).
Here's a classic toy example, inferring hidden weather from observed activities:
states = ("Rainy", "Sunny")
start = {"Rainy": 0.6, "Sunny": 0.4}
trans = {"Rainy": {"Rainy": 0.7, "Sunny": 0.3},
"Sunny": {"Rainy": 0.4, "Sunny": 0.6}}
emit = {"Rainy": {"walk": 0.1, "shop": 0.4, "clean": 0.5},
"Sunny": {"walk": 0.6, "shop": 0.3, "clean": 0.1}}
def viterbi(observations):
# layer[state] = (probability of best path ending here, previous state)
layers = [{s: (start[s] * emit[s][observations[0]], None) for s in states}]
for obs in observations[1:]:
prev = layers[-1]
layers.append({
s: max((prev[p][0] * trans[p][s] * emit[s][obs], p) for p in states)
for s in states
})
best = max(states, key=lambda s: layers[-1][s][0])
path = [best]
for layer in reversed(layers[1:]):
path.insert(0, layer[path[0]][1])
return path
print(viterbi(["walk", "shop", "clean"])) # ['Sunny', 'Rainy', 'Rainy']
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.
Jelinek's group also built statistical language models, 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.)
The commercial payoff followed. Dragon Systems, founded by Jim and Janet Baker, released Dragon Dictate in 1990, requiring pauses between words, and Dragon NaturallySpeaking in 1997, which could handle continuous speech. Kai-Fu Lee's Sphinx 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.)
Translating by counting
Remember machine translation, the 1950s dream that ALPAC declared a failure in 1966 (Part 6)? It came back too, on statistical wings.
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 translation model (how likely are these French words, given those English words?) and a language model (how likely is this English sentence on its own?), both estimated by counting in a huge collection of examples.
Their raw material was the Hansard, 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 IBM Models 1 through 5 (1993) became the foundation of the field.
Statistical machine translation steadily improved through the 1990s and 2000s, and Google launched Google Translate 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 useful, 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.)
The machine learning toolbox
While probabilistic models transformed speech and language, a broader toolbox of machine learning algorithms was being developed and sharpened. These are the workhorses that still power an enormous fraction of real-world AI today.
Decision trees and random forests
A decision tree 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 learned from data: the algorithm picks, at each step, the question that best separates the classes. Ross Quinlan developed the ID3 (1986) and C4.5 (1993) algorithms, and Leo Breiman 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.

A random forest combines the votes of many decision trees. Image: CollaborativeGeneticist, CC BY-SA 4.0, via Wikimedia Commons.
Trees by themselves are unstable and prone to overfitting. Breiman's fix, the random forest (2001), was to train hundreds of trees, each on a randomly chosen subset of the data and features, and let them vote. 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.
Boosting
In 1995, Yoav Freund and Robert Schapire introduced AdaBoost, 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. Gradient boosting (Jerome Friedman, 1999 to 2001) and its modern incarnations like XGBoost (2014) went on to dominate data-science competitions on tabular data for years.
AdaBoost had a famous application in computer vision. In 2001, Paul Viola and Michael Jones used it to build the first real-time face detector: 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.
Support vector machines
The star of the 1990s was the support vector machine (SVM). The idea came from the Russian mathematicians Vladimir Vapnik and Alexey Chervonenkis, who developed a deep theory of when learning works, now called statistical learning theory (or VC theory), in the 1960s and 70s. In 1992 and 1995, Vapnik and colleagues (Bernhard Boser, Isabelle Guyon, Corinna Cortes) turned it into a practical algorithm.

A support vector machine looks for the widest margin between two classes. Image: Larhmam, CC BY-SA 4.0, via Wikimedia Commons.
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 largest margin, the biggest gap to the nearest points on each side. Maximizing the margin tends to generalize better to new data. And by using the kernel trick, 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.
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.
Other classics
The same period consolidated other essential tools: k-means clustering for finding groups, principal component analysis (PCA) for compressing high-dimensional data, k-nearest neighbors, logistic regression, Gaussian processes, and ensemble methods. 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.
A new scientific culture
Beyond the specific algorithms, the 1990s brought a transformation in how AI was done. This was arguably more important than any single method.
1. Learning theory. Leslie Valiant's 1984 framework of Probably Approximately Correct (PAC) learning (he won the 2010 Turing Award) and Vapnik's VC theory gave a mathematical account of when and why learning from examples works, and how much data you need. The central concepts, overfitting, the bias-variance tradeoff, and generalization, became the vocabulary of the field.
2. Rigorous evaluation. Researchers started holding out a test set that the algorithm never saw during training, and reporting accuracy on it. They used cross-validation to squeeze reliable estimates from limited data. Shared benchmarks 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.)
3. Data as the key resource. Rather than coding knowledge, researchers collected and labeled datasets. The mantra became: more data beats a cleverer algorithm.
4. A culture of "it works." 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 predictive accuracy. The success of machine learning in the next two decades belonged to the second culture.
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: can we predict this better than anyone else, on a held-out test set? 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.
AI hidden inside the internet
The statistical revolution coincided with the rise of the World Wide Web, which produced two things that machine learning craved: vast quantities of data and vast economic incentive.
Search
The web grew explosively in the mid-1990s, and finding anything on it became a problem. In 1998, two Stanford PhD students, Larry Page and Sergey Brin, developed PageRank, 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: Google. (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.
Recommendations
In 1998, Amazon began using item-to-item collaborative filtering ("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 Netflix Prize: 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 matrix factorization, 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.)
Fraud detection and credit scoring
Banks and credit card companies embraced statistical models for credit risk and fraud detection. In the early 1990s, a company called HNC Software introduced Falcon, 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.
Everything else
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.
Reinforcement learning grows up
A related thread, which we glimpsed with Samuel's checkers (Part 4) and Tesauro's TD-Gammon (Part 9), also matured in this period. Reinforcement learning (RL) is the branch of machine learning in which an agent learns to act by trial and error, receiving rewards and punishments.
Richard Sutton and Andrew Barto developed much of its theory, and their 1998 textbook Reinforcement Learning: An Introduction became the standard reference. Chris Watkins introduced Q-learning 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 2024 ACM Turing Award, announced in 2025.
Why did statistics succeed where rules failed?
It's worth asking directly why this approach worked so much better in practice than the symbolic approach of earlier decades.
- It embraces uncertainty. Real data is noisy and ambiguous. Probability handles that gracefully, where logic breaks.
- It degrades gracefully. 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).
- It scales with data. 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.
- It's testable. Held-out test sets give an honest measure of performance, so bad ideas get weeded out quickly.
- It avoids the knowledge bottleneck. The system acquires its own "knowledge" from examples, bypassing the painful process of interviewing experts.
- It's modular and reusable. The same algorithm, say an SVM or a random forest, can be applied to spam, medical diagnosis, or fraud, with only the data changing.
And what did it give up? Mostly understanding and explanation. 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 weak or narrow AI, in contrast to the artificial general intelligence (AGI) the founders had imagined.
The limits that remained
By the mid-2000s, machine learning had conquered many practical tasks, but a few frontiers resisted.
- Perception. Recognizing objects in photographs, understanding natural speech in noisy conditions, and parsing natural language remained error-prone. The best approaches relied on hand-engineered features: 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.
- Scale. Training sophisticated models on web-scale data demanded computing resources most labs didn't have.
- Representation learning. The dream, held by the neural network community, was to learn the features themselves 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.
Timeline: 1984 to 2009
- 1984: Valiant's PAC learning framework; Breiman's CART trees.
- 1986 to 1993: Quinlan's ID3 and C4.5.
- 1988: Pearl's Probabilistic Reasoning in Intelligent Systems; IBM's statistical translation work begins.
- 1990: Dragon Dictate; IBM publishes its statistical approach to translation.
- 1992 to 1995: Support vector machines; AdaBoost.
- 1998: PageRank and Google; Amazon's collaborative filtering; MNIST.
- 2001: Random forests; Viola-Jones face detection.
- 2002: Paul Graham's "A Plan for Spam."
- 2006: Google Translate launches; the Netflix Prize begins.
- 2009: "The Unreasonable Effectiveness of Data"; the Netflix Prize is won.
Quick glossary
- Supervised learning: learning from examples that come with correct labels.
- Unsupervised learning: finding structure in data without labels (clustering, compression).
- Overfitting and generalization: memorizing the training set versus performing well on new data.
- Bias-variance tradeoff: the tension between models too simple to capture the pattern and models so flexible they chase noise.
- Test set: data held back from training and used only to measure performance.
- Feature engineering: hand-designing the measurements a learning algorithm works with.
- Ensemble: combining many models to get a better one than any alone.
Key takeaways
- In the 1990s and 2000s, AI turned from hand-written rules to probabilistic models and learning from data, mostly under names like "machine learning" and "data mining."
- Bayes' theorem and Pearl's Bayesian networks gave AI a principled way to reason under uncertainty.
- Naive Bayes filtered spam; hidden Markov models and statistical language models conquered speech recognition; statistical machine translation (IBM's Candide, Google Translate) replaced rule-based systems.
- The machine learning toolbox (decision trees, random forests, boosting, SVMs, clustering) became the backbone of practical AI.
- A new scientific culture emerged: learning theory, held-out test sets, shared benchmarks, and a focus on predictive accuracy.
- AI went into hiding inside search (PageRank), recommendations, fraud detection, and ad targeting, powering the digital economy.
- Limits remained: feature engineering was a bottleneck, and perception tasks like vision and natural speech were still unsolved.
Try it yourself
- Improve the spam filter. 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?
-
Inspect the evidence. Modify
classifyto print the five words that most strongly pushed the decision toward spam. Explainability for free, a perk of simple models. - Bring your own HMM. Change the Viterbi example's probabilities (say, make rainy days more persistent) and watch how the decoded path changes. Try longer observation sequences.
- Try scikit-learn. 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?
Next up
In Part 11, we visit the match that put AI on the front pages: in May 1997, IBM's Deep Blue defeated world chess champion Garry Kasparov. 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.
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.
See you in Part 11.
☕ If this series helped you, you can support my writing on Ko-fi.

Top comments (1)
Reframing 1990 to 2010 as a quiet statistical revolution rather than an empty AI winter is much closer to engineering reality. Spam filtering, speech transcription, web search ranking, real-time fraud detection, and camera face boxes all went into daily production because teams traded brittle true-or-false symbolic rules for probabilistic models that could handle noisy evidence.
Highlighting Judea Pearl's Bayesian networks is also a key link in that history: factoring joint probability distributions made uncertainty tractable at scale, laying the mathematical habits that modern deep learning still rests on.