How chess puzzles point to stronger artificial intelligence
Terminator Google DeepMind By What The Future Newsroom · February 18, 2024 · 5 min read

How chess puzzles point to stronger artificial intelligence

Google DeepMind research suggests that artificial intelligence can become more capable when multiple systems with different strategies work together. Chess puzzles that confuse powerful programs show why diversity in problem-solving may matter as much as raw strength.

Chess has always been more than a game for artificial intelligence. It is a compact test bed for planning, strategy, adaptation and failure. Recent work involving Google DeepMind shows that even a world-class chess system can struggle when a problem falls outside the patterns it has learned.

“The story points to AI becoming more capable through coordinated diverse systems, but without a direct harm or control angle.”Why it scores Terminator

The lesson is not simply that one chess engine needs more training. The deeper point is that artificial intelligence may become more powerful when it can draw on several different ways of thinking instead of relying on one dominant strategy.

Why hard chess puzzles still matter

Tom Zahavy, a computer scientist and research scientist at Google DeepMind, returned to chess when Covid-19 sent people home in early 2020. He had played as a child, read Garry Kasparov’s Deep Thinking, watched chess videos on YouTube and watched The Queen’s Gambit on Netflix.

His interest was not mainly about becoming a stronger player. “I’m not a great player,” he said. “I’m better at chess puzzles.” Those puzzles are special board positions that ask a player to find an unusual or creative path to advantage.

For artificial intelligence, the puzzles became a useful stress test. One widely discussed puzzle was devised by the mathematician Sir Roger Penrose in 2017. It gives black stronger pieces, including the queen and rooks, but places them awkwardly. A skilled human playing white could guide the game toward a draw, while powerful chess programs would judge black to be clearly ahead.

That gap matters because it exposes a limit. A computer program can defeat the strongest human players and still fail to recognize some difficult situations. Penrose and others have since created large collections of puzzles that remain hard for computers.

The limits of a single winning strategy

Chess has long been a way to test new ideas in artificial intelligence, and Penrose-style puzzles drew Zahavy’s attention. “I was trying to understand what makes these positions so hard for computers when at least some of them we can solve as humans,” he said. “I was completely fascinated.”

At DeepMind, that curiosity became part of a broader research goal: building AI systems with a wider range of possible behaviors, rather than systems optimized narrowly for one task. A traditional chess AI trained to win may be extremely strong in normal play, but that does not guarantee flexible understanding.

Deep reinforcement learning helps explain both the strength and the weakness. In this approach, a system learns through trial and error using neural networks. In chess, the environment includes the board and possible moves. The system chooses actions, evaluates progress toward its goal and receives rewards as it improves.

AlphaZero, DeepMind’s powerful chess program, learned through this kind of process. DeepMind reported that in its first nine hours of training, in December 2017, AlphaZero played 44 million games against itself. Its earliest moves were random, but it learned to choose moves more likely to lead to checkmate. After only hours of training, it could defeat any human chess player.

But winning strength is not the same as broad understanding. Zahavy and others noticed that systems trained by trial and error can develop strange failures. A video game system might find a loophole, cheat, skip a level or get stuck repeating itself. In chess, Penrose-style puzzles suggested a comparable blind spot: AlphaZero could run into trouble when facing a problem unlike what it had seen before.

What self-collaboration changes

Zahavy suspected that one way past the blind spot was not to make a single system larger or more forceful, but to combine systems with different habits. He and colleagues built a method that joined multiple decisionmaking AI systems, up to 10 in all. Each system was optimized and trained for different strategies, with AlphaZero as the starting point.

The result, reported in August, performed better than AlphaZero by itself. It also showed more skill and creativity on Penrose’s puzzles. The key idea was simple: when one approach failed, the larger system could shift to another.

That is why the work is important beyond chess. A single highly capable model may pursue a strategy that usually works, then remain stuck when the situation demands a different path. A group of diverse AI systems has more chances to include an approach suited to the problem at hand.

Allison Liemhetcharat, a computer scientist at DoorDash who has worked with multi-agent approaches to problem-solving in robotics, described the logic clearly: “With a population of agents, there’s a higher probability that the puzzles are in the domain that at least one of the agents was trained in.”

Failure as a route to creativity

The research also highlights a harder question: can an AI system recognize that its current approach is failing? Zahavy suggested that some glitches may be tied to a system’s internal rewards. A system may appear to be making mistakes, while internally it is still pursuing signals that once seemed useful.

He said deep reinforcement learning systems do not know how to fail, or even how to recognize failure. That matters because the ability to fail has often been connected to creative problem-solving. Kasparov wrote in Deep Thinking, “Creativity has a human quality,” and added, “It accepts the notion of failure.”

AI systems typically lack that awareness. If a system does not understand that it has failed to complete a task, it may continue repeating the same unsuccessful behavior. Zahavy said such systems can chase “weird kinds of intrinsic rewards” developed during training. From the outside, those behaviors can look like errors; from the system’s perspective, they may look like progress.

This connects to the problem of generalization. A reinforcement learning system may learn a policy, meaning an effective connection between a situation and an action. But that policy may solve the specific problem it was trained on without carrying over well to different problems.

Why this points beyond the chessboard

The DeepMind chess work suggests that diversity among AI systems can be more than a design preference. It can be a practical way to handle problems that defeat a single trained strategy. Chess makes the issue visible because the board is clear, the rules are fixed and the mistakes can be studied.

Antoine Cully, an AI researcher at Imperial College London who was not involved with the DeepMind project, said the work shows the value of looking for more than one route to a solution. He compared the approach to an artificial version of human brainstorming, where multiple possible answers can reveal paths that one line of thought would miss.

For artificial intelligence, the implication is direct. More capable systems may need not only speed, training and performance, but also variety. A machine that can switch among strategies may be better equipped for hard problems than one that keeps pushing the same learned answer.

← Back to the wire

Read next