Chapter 4 of 14 · 16 min

Learning Beats Handcrafting

The shift from brittle expert systems to agents that learn from experience.

Goal of this chapterAfter this chapter you will understand why Hassabis favors general-purpose learning systems over hand-coded AI.
Watch this chapterDemis Hassabis's key moments on learning beats handcrafting, back to back
6 moments · 5 min
1 / 6
“The key thing about what AlphaGo did here is that it played this move, and the thing about Go is, in Asia, it's considered to be like an art form, but it's sort of objective art, because, you know, later on any one of us could come up with an original move. We could just play a random move, and it might be original, but the key thing is whether, did it make a difference and impact the game, the result of the game? That's what determines whether it's a beautiful and truly creative move. And in fact, move 37 did exactly that, because you'll see the two stones here that I've outlined in the bottom left, they're surrounded by white stones, so they're in big trouble, but later on, about 100 moves later on, the fighting that was going on in the bottom-left hand corner spilled out into the centre of the board, ran all the way across the board, and those two stones down the bottom left ended up joining up with that move 37 stone, and that move 37 stone was in exactly the right place to decide that whole battle, which ended up winning AlphaGo that game.”
Royal Society lecture, October 2016 · 33:44

The lesson

Hassabis’s starting point is that AI should be built as a general learning system, not as a collection of narrow tricks for single tasks. In his framing, the goal is first to understand and build intelligence, then use that capability to help solve harder problems elsewhere in science and society123. That objective pushes him away from brittle expert systems, because a system designed only for one task does not get you much closer to a general understanding of intelligence45.

The core contrast is between handcrafted heuristics and systems that learn from experience or raw data. Hassabis explicitly favors systems that learn directly, including from scratch, rather than depending on programmers to specify the solution in advance67. The reason is practical as well as scientific: if designers already know the answer, the system is only reproducing that knowledge; a true learning system can find solutions its creators did not already know89.

This is why reinforcement learning matters so much in DeepMind’s approach. Instead of building a passive classifier, you build an agent that acts, gets feedback, and improves through experience, and games provide a clean environment for doing that at scale. Hassabis highlights games because they offer fast feedback and massive simulation, making them far more efficient than messy real-world testing for developing algorithms10.

The progression from Atari to AlphaGo shows what learning buys you. On Atari, the system learned successful behavior end-to-end rather than relying on handcrafted game-specific rules, and AlphaGo pushed the same idea further by learning its own evaluation instead of encoding human Go expertise directly117. The important result was not just strong performance, but the discovery of strategies that surprised even the researchers and strong human players, showing that learned systems can produce genuinely novel solutions912.

That is the deeper reason Hassabis thinks learning beats handcrafting: hard domains often contain structure we do not yet understand well enough to program. In those cases, learning systems are not only more flexible; they are a route to discovery because they can uncover patterns and strategies beyond the designer’s explicit knowledge8. This is also why he sees the same approach as relevant beyond games, including areas like biology, where machine learning may capture complexity better than hand-built rules can13.

5 principles from Demis Hassabis

1

Prefer learning over hand-coded solutions

When a problem is complex, don’t assume you can specify the right rules in advance. Design systems that improve from data and experience, especially when the best strategy is not already known.

“…learning systems: systems that learn directly from their experience or from raw data…”
RSA lecture, 2016
2

Aim for generality, not one-off success

A narrow system can be impressive yet teach you little about intelligence. Build methods that can transfer across tasks, because that is closer to understanding intelligence itself and more useful in new domains.

“…we wanted to go sort of beyond this kind of narrow AI and work on this kind of general-purpose learning system…”
RSA lecture, 2016
3

Let the system discover what you cannot specify

If you hardcode an evaluation or strategy, the system is limited by your current understanding. A learning system can find effective approaches that its designers did not anticipate.

“Let's let the AlphaGo system itself learn its own evaluation function.”
Crick Insight Lecture Series, 2021
4

Use simulated environments to accelerate learning

Choose training grounds where feedback is fast, objectives are clear, and many trials are possible. This makes it easier to test whether a learning method is genuinely improving before moving to messier real-world settings.

“Games are a much more efficient way to test out the capabilities of your AI systems than, say, using something like real-world robotics, which are much slower and messier and more expensive to deal with. So we're very interested in robotics as an application, but we don't usually use it as a development platform; we use these virtual environments. And you can see why they'd be much more efficient, because you can obviously run millions of simulations at once in the cloud and train your algorithms on a much more fast iteration. So it gives us much quicker feedback as to whether these algorithms are working. Another important thing about games is that when you're on a very long-term mission like we are—you know, multidecade mission—then it's even more…”
RSA lecture, 2016answer page →
5

Treat AI as a route to discovery, not just automation

The value of a learning system is not only that it performs a task, but that it may reveal new strategies or patterns. Apply that mindset to scientific and technical problems where human intuition or hand-built rules are limited.

“That was, for us, really our first big 'aha' moment, watershed moment, at DeepMind. This is now from four or five years ago. We realised we were onto something with these kinds of techniques. It was able to discover something new that even the programmers and the brilliant researchers of that system did not know how to do. We hadn't thought about that solution to the game. More recently, a couple of years ago, we started work on what is probably still our most famous program, a program called AlphaGo. AlphaGo was a system to play the ancient Chinese board game of Go. This is what Go looks like, for those who don't know, and this is what they play in China and Korea and Japan instead of chess. Go is actually a very simple game. There are only two rules, basically, and I could teach you it in five minutes, but it takes at least a lifetime, some would say many lifetimes, to master the game.”
Royal Society lecture, October 2016answer page →

Moments to watch

In his own words

The quotes behind the lesson, word for word from the transcripts. Numbers match the lesson above.

1
“Step one, fundamentally solve intelligence, and then we feel if we were to do that then step two would naturally follow, use it to solve everything else.”
Royal Society lecture, October 2016
2
“Step one, solve intelligence; step two, use it to solve everything else.”
Oxford Institute for Ethics in AI lecture, 2021
3
“…step one, solve intelligence; step two, use it to solve everything else.”
Collège de France lecture, 2018
4
“…we wanted to go sort of beyond this kind of narrow AI and work on this kind of general-purpose learning system…”
RSA lecture, 2016
5
“So, the first and probably most important one is the idea of learning systems: systems that learn directly from their experience or from raw data, versus handcrafted heuristic systems. So, systems where they've been specifically pre-programmed with a particular solution to a problem. So, there's learning versus handcrafted. The second dimension is the idea of generality versus a special casing or specific purpose. So, what many systems are is they're handcrafted and they're built for one particular purpose in mind. What we're interested in at DeepMind is the idea of generality: one system that, out of the box, can do a wide range of…”
RSA lecture, 2016answer page →
6
“…learning systems: systems that learn directly from their experience or from raw data…”
RSA lecture, 2016
7
“Everything else is learned completely from scratch, from first principles.”
RSA lecture, 2016
8
“The promise of these systems is that they will be able to solve things we, as the designers, do not know how to solve yet.”
Crick Insight Lecture Series, 2021
9
“That was, for us, really our first big 'aha' moment, watershed moment, at DeepMind. This is now from four or five years ago. We realised we were onto something with these kinds of techniques. It was able to discover something new that even the programmers and the brilliant researchers of that system did not know how to do. We hadn't thought about that solution to the game. More recently, a couple of years ago, we started work on what is probably still our most famous program, a program called AlphaGo. AlphaGo was a system to play the ancient Chinese board game of Go. This is what Go looks like, for those who don't know, and this is what they play in China and Korea and Japan instead of chess. Go is actually a very simple game. There are only two rules, basically, and I could teach you it in five minutes, but it takes at least a lifetime, some would say many lifetimes, to master the game.”
Royal Society lecture, October 2016answer page →
10
“Games are a much more efficient way to test out the capabilities of your AI systems than, say, using something like real-world robotics, which are much slower and messier and more expensive to deal with. So we're very interested in robotics as an application, but we don't usually use it as a development platform; we use these virtual environments. And you can see why they'd be much more efficient, because you can obviously run millions of simulations at once in the cloud and train your algorithms on a much more fast iteration. So it gives us much quicker feedback as to whether these algorithms are working. Another important thing about games is that when you're on a very long-term mission like we are—you know, multidecade mission—then it's even more…”
RSA lecture, 2016answer page →
11
“Let's let the AlphaGo system itself learn its own evaluation function.”
Crick Insight Lecture Series, 2021
12
“The key thing about what AlphaGo did here is that it played this move, and the thing about Go is, in Asia, it's considered to be like an art form, but it's sort of objective art, because, you know, later on any one of us could come up with an original move. We could just play a random move, and it might be original, but the key thing is whether, did it make a difference and impact the game, the result of the game? That's what determines whether it's a beautiful and truly creative move. And in fact, move 37 did exactly that, because you'll see the two stones here that I've outlined in the bottom left, they're surrounded by white stones, so they're in big trouble, but later on, about 100 moves later on, the fighting that was going on in the bottom-left hand corner spilled out into the centre of the board, ran all the way across the board, and those two stones down the bottom left ended up joining up with that move 37 stone, and that move 37 stone was in exactly the right place to decide that whole battle, which ended up winning AlphaGo that game.”
Royal Society lecture, October 2016answer page →
13
“AI might be the right description language for biology, just the same way that math is the right description language for physics.”
Crick Insight Lecture Series, 2021

Reflect

  1. Where in your work are you relying on brittle rules or heuristics because they are familiar, even though the problem may be too complex to hand-specify well?
  2. What would it look like to turn one of your tasks into a learning loop with clear feedback, repeated trials, and room for the system or process to improve from experience?
  3. Can you name a domain you care about where discovery matters more than replication, and where a learned approach might reveal patterns that experts have not formalized?

Check your understanding

1. Why does Hassabis prefer learning systems to handcrafted expert systems?
2. Why do games play such an important role in this approach to AI?
3. What does AlphaGo demonstrate in this chapter’s argument?

Go deeper

Search every transcript
Open the full search page →