Machines That Play (Post Deep Blue)

Written by samin | Published 2018/09/24
Tech Story Tags: artificial-intelligence | games | engineering | machine-learning | machines-that-play

TLDRvia the TL;DR App

Deep Blue Reactions. This is the fun part.

This series covers the history of Artificial Intelligence and games (until Deep Blue) and focuses on machines that played chess, checkers, and backgammon. The following topics are covered: how to build chess machines, Shannon’s work on chess, Turing’s work on chess, The Turk, El Ajedrecista, MANIAC, Bernstein chess program, Samuel’s checkers, Mac Hack VI, Cray Blitz, BKG, HiTech, Chinook, Deep Thought, TD-Gammon, and Deep Blue.

Part 1: Machines That Play (Overview) — this one

Part 2: Machines That Play (Building Chess Machines)

Part 3: Machines That Play (Chess-Before Deep Blue)

Part 4: Machines That Play (Deep Blue)

Part 5: Machines That Play (Post Deep Blue)

If you want a summary of the first 5 parts, focusing on the human elements, go here.

Part 6: Machines That Play (Checkers)

Part 7: Machines That Play (Backgammon)

Part 5: Machines That Play (Post Deep Blue)

This is part 5 of a 7 part series. Here we talk about reactions to Deep Blue’s win against Garry Kasparov and computer chess after that.

Before the match

  • Before the 1997 match, Garry Kasparov said in a press conference (quote from Man versus Machine by Goodman and Keene), “When 15 months ago in Philadelphia at the Marriott Hotel, C.J. introduced me, I was in a different mood. I was laughing, joking. I expected a nice match but I had no doubts about its result. Today I’m no longer in laughing mood. I don’t think it’s time to laugh. It’s very very serious work. C.J. has just stated that the computer that’s going to play me in 48 hour’s time is much stronger, it’s faster and it knows more about chess than any other chess program in the history of chess computers. I have no doubt about that. I have full respect for the team that have been working with Deep Blue and now Deeper Blue and I feel that if in 1989 when I first played Deep Thought, it was about fun. In 1996 in Philadelphia, it was more about science. I believe that at that time, CJ. and his team wanted to find out whether their scientific conclusions were right and that Deep Blue could redly play chess. This time it’s no longer fun, no longer science. I think they want to win. (laughter).”

Kasparov was asked to explain his earlier statement regarding Deep Blue: that he was in presence of some kind of intelligence.

He answered, “Yes. I think we can hardly call it intelligence because we always believe that intelligence is something similar to our mind. But playing with Deep Blue, and other computers but mainly with Deep Blue, I can smell that the decisions that it’s making are intelligent because I would come to the same conclusion by using my intuition…

…But if I use 90% of my intuition and positional judgement and 10% of calculation, and Deep Blue uses 95% of computation and 5% of built in chess knowledge, and the result matches four times out of five, maybe we should talk about some sort of artificial intelligence.”

About the games

Recall the infamous game 2, one that disturbed Kasparov, one that experts said looked like a human-type game, not a computer-type game, one that Kasparov resigned after 45 moves — but one he could have drawn (something he had never done before).

  • Grandmaster Joel Benjamin said, “‘This is the game that any human grandmaster would be proud to have played for White. This was not computer-type game. This was real chess.”

Imagine this: It’s game 3 and Kasparov knows he could have drawn game 2, but didn’t. Even worse, he has never resigned a drawn position. How does this effect how he plays game 3? Well, in game 3 he has White, but doesn’t play his usual game. He plays a very different game.

  • Referring to Kasparov’s Game 3 play, a New York Times article titled Wary Kasparov and Deep Blue Draw Game 3, said, “His play yesterday with the white pieces, cautious rather than aggressive, was uncharacteristic, at least compared with games against living, breathing opponents.” They quote Miguel Illescas, a Spanish Grandmaster who was with the Deep Blue team,

“I don’t want to say he’s afraid, but when the world champion with the white pieces doesn’t want to attack, what do you do?”

  • In Man versus Machine, Goodman and Keene quote Grandmaster Yasser Seirawan, “The computer has an advantage. It doesn’t have this body of emotions. We human players get depressed. We simply get depressed. The computer doesn’t get depressed, it doesn’t have any prejudice, it doesn’t carry along any emotional turmoil or upset… Garry was feeling rotten the whole game because Garry was getting outplayed the whole game.”

“…Garry was in a mental framework which said to himself “Man, I hate this game. I’m disgusted with myself. I played like a jerk. I’m going to lose in front of millions of fans. What am I doing here? Why did I wake up today? Again, there is that intimidating factor. When you sit there and you’re told that your opponent analyses chess at 2OO million moves a second, and all you’re looking at is a three or four move perpetual check, you’ve got to figure that your opponent’s seen everything.”

  • But Kasparov was resilient. His team said he was over it and was ready for the challenge. According to the New York Times article, other grandmasters didn’t think Kasparov was collapsing, “Mr. Kasparov didn’t see the drawing strategy, said David Levy, an international master, because he felt the computer would have insured that a perpetual check was impossible. That was seconded by Mr. Friedel, who said Mr. Kasparov told him, “The computer had played so well I didn’t even consider it.”
  • The IBM team didn’t face these types of difficulties. Man versus Machine quotes Murray Campbell, “It’s certainly nice not to have the problem of how do you handle the news that it was a draw. And you know, Garry will have to display great nerves in order not to let such a thing bother him.”
  • Remember when Kasparov suggested IBM had cheated? When asked about whether he thought there was human intervention, he said, “It reminds me of the famous goal which Maradona scored against England in 1986. He said it was the hand of God.”

About the match

  • After losing to Deep Blue, later in his 1997 Time essay, “IBM Owes me a Rematch”, Garry Kasparov said, “I also think IBM owes me, and all mankind, a re-match. I hereby challenge IBM to a match of 10 games, 20 days long, to play every second day. I would like to have access in advance to the log of 10 Deep Blue games played with a neutral player or another computer in the presence of my representative. I would like to play it this fall, when I can be in my best form after a summer of vacation and preparation. And I’m ready to play for all or nothing, winner take all, just to show that it’s not about money. Moreover, I think it would be advisable if IBM would step down as an organizer of the match. It should be organized independently.

But IBM had retired Deep Blue. A rematch would have required months of resources and preparation, which IBM did not want to spend on this. In the Scientific American article titled “20 Years after Deep Blue”, Campbell said, “We felt we had achieved our goal, to demonstrate that a computer could defeat the world chess champion in a match and that it was time to move on to other important research areas.

Usually in any significant chess match, players study their opponent’s previous games. According to Kasparov and his team, when they asked IBM for Deep Blue’s previous matches, IBM said there is nothing to share because there were no public games. It turned out that Deep Blue had not played any matches after the one against Kasparov in 1996. Deep Blue’s training and preparation had been done entirely in private. Hence Garry went into the 1997 match blind — something he had never done. And Deep Blue had every game Kasparov had ever played in its memory.

“IBM bent the rules. They didn’t actually cheat, but they exploited every resource of the rule book to disadvantage Garry. He would have won if they’d played fair with him.”

The author of the Wired Article then says, “Most grandmasters, even those who regularly get kicked all over the chessboard by Kasparov, agree.

  • At the press conference following game 6, Kasparov said, “I think it is time for Deep Blue to prove this was not a single event. I personally assure you that, if it starts to play competitive chess, put it in a fair contest and I personally guarantee you I will tear it to pieces.” [See rare footage of the last game.] He later appeared on Larry King Live and said he was willing to play Deep Blue “all or nothing, winner take all”. But that did not happen. Not long after the rematch, IBM decided to retire Deep Blue and ended all work on it.
  • James Coates of the Chicago Tribune wrote in October 1997, “IBM’s Deep Blue division needs dinging because its leaders announced on Sept. 23 that they will retire their massively hyped Deep Blue chess-playing computer with a one-win, one-loss record rather than give the flamboyant and unpredictable grandmaster Garry Kasparov a shot at a rematch. The geniuses who built a computer that whipped the world’s best chess player fair and square in May needs to learn here in October the first lesson that every back-room poker player and pool shooter learns from the git go. I’m talking about the rule of threes. Say we’re playing 9 ball or ping-pong and you wipe me out. I ask for a rematch and barely beat you. Then I say bye-bye, I’m the better player and now I’m going home?” He continued,

“Legs have been broken for less in pool halls and card rooms.”

  • Deep Blue had stunned the world. And everyone had an opinion about the match or Deep Blue or Kasparov or IBM or intelligence or creativity or brute-force or the mind…. Let’s start with Louis Gerstner, CEO of IBM’s view, “What we have is the world’s best chess player vs. Garry Kasparov.”

Who was the better player?

So, was Deep Blue really the best chess player? Or was Kasparov still the better player?

The problem is that the rematch was only six games and Kasparov was only one point behind. Championship matches usually have a lot more games and most end in draws. So, it was hard to say if the rematch of six games said anything about who the better player was. Most would argue that Kasparov was still the better player. But may be that wasn’t the real point. We saw some very special humans put tremendous efforts to create a machine that forced even the best of us to doubt. It beat us at one of our most treasured games and it left us in awe (or some in fear).

  • Jonathan Schaeffer said, “In looking at the match retrospectively, can we conclude that one chess computer (Deep Blue) is now better than the best that mankind has to offer? No, at least not yet. Two points come to mind. First, we believe that Kasparov played the better chess and failed to convert his opportunities. Second, IBM bought the right to play Kasparov; they did not earn it. By offering Kasparov a lot of money to play, Deep Blue could bypass the normal route for getting to play Kasparov, including the Candidate’s Matches. Deep Blue has demonstrated that it can successfully compete with Kasparov; it has not yet demonstrated that it can beat the other top grandmasters in the world. The positional playing style, for example, of Anatoly Karpov might give Deep Blue trouble.”
  • Charles Krauthammer, in Be Afraid in the Weekly Standard wrote, “To the amazement of all, not least Kasparov, in this game drained of tactics, Deep Blue won. Brilliantly. Creatively. Humanly. It played with — forgive me — nuance and subtlety.”

“…Deep Blue won. Brilliantly. Creatively. Humanly. It played with — forgive me — nuance and subtlety.”

  • Even though Deep Blue played a game that appeared to have some elements of “humanness” and even though its victory seems mind-blowing, Rodney Brooks (and others) said that training a machine to play a difficult game of strategy isn’t intelligence, at least not as we use intelligence for other humans; this view was shared by many researchers in AI. On the other side was Drew McDermott, who said that the usual argument people used to say Deep Blue is not intelligent was faulty. He said, “S_aying Deep Blue doesn’t really think about chess is like saying an airplane doesn’t really fly because it doesn’t flap its wings.”_

So is Deep Blue intelligent?

May be, a little. Deep Blue was certainly not stupid, but it also wasn’t intelligent, in the same way we say another human being is intelligent. What Deep Blue showcased was a narrow kind of intelligence; the kind that shows brilliance in one domain and it does so because humans create better hardware, better software, better algorithms, and better representations. But if you ask these specialized machines to do anything else, they will fail. Deep Blue would have failed at all those other non-chess related tasks we do; it did not exhibit general intelligence. No machine till date has exhibited general intelligence and it appears that they still have a long way to go before they can.

How did Deep Blue do what it did?

  • Murray Campbell said, “If we had simply used brute processing force, it wouldn’t have had a chance. It needed to be a focused computational effort.”
  • When Murray Campbell was asked about a particular move the computer made, he replied, “The system searches through many billions of possibilities before it makes its move decision, and to actually figure out exactly why it made its move is impossible. It takes forever. You can look at various lines and get some ideas, but…

“…you can never know for sure exactly why it did what it did.”

Deep Blue could only play chess, it could do nothing else. This is called narrow intelligence. This narrow intelligence, however, was already so complex that its makers could not trace its individual decisions. Deep Blue did not make the same move in a given position and it was simply too complicated, too complex, or too hard to understand its decisions. Explainability was already too hard then, and it has become more and more challenging to solve since then.

Until Deep Blue, humans were winning at chess. Machines really couldn’t beat the best humans — not even close. But then Deep Blue won. And soon so did the other machines and they have been beating humans ever since. This massive growth in performance is their identity.

No matter what our rate of improvement, once machines begin to improve, their progress ends up being measured exponentially. And ours doesn’t.

But it’s not really us vs. them, even though it was Garry Kasparov vs. Deep Blue. That was a game, a way to test how machines could learn, improve, and play. But the biggest win was for the humans because their intelligence had created Deep Blue.

About the victories

  • Jonathan Schaeffer said, “The holy grail of computer chess has been won by the Deep Blue team. They have worked long and hard to earn it. The team, notably Feng-hsiung Hsu and Murray Campbell, deserve the hearty congratulations of the entire computer-chess community.”

Our emotions matter

Most people believed Kasparov was still the better player, but his emotions got in the way. Either way, one of the biggest takeaways from this match was that we had collectively underestimated both the physiological and psychological aspects of the match. Our emotions, fears, desires, and doubts had a way of getting the best of us and sometimes we cannot do much more than just stand by and let it pass. And this is a uniquely human problem, one our machine opponents do not worry about.

Our emotions, fears, desires, and doubts had a way of getting the best of us…And this is a uniquely human problem, one our machine opponents do not worry about.

It’s a theme Kasparov hinted at throughout the match and continues to discuss even now [Kasparov’s TED talk]. [Side note: A video summary of Kasparov vs Deep Blue]

Computer Chess Post Deep Blue

The end of human-computer matches

In 2005, Hydra, a dedicated chess supercomputer with custom hardware and 64 processors crushed seventh-ranked Michael Adams (5.5–0.5) in a six-game match. Some people criticized Michael Adams for not preparing as well as Kasparov had, but that was irrelevant — this event was the beginning of the end of human-computer matches.

Hydra was developed by a team with Dr. Christian Donninger, Dr. Ulf Lorenz, Grandmaster Christopher Lutz and Muhammad Nasir Ali. The team estimated its rating to be over 3000!

What next? The rise of the Centaurs

Garry Kasparov introduced Advanced Chess (also known as cyborg chess, centaur chess or Ivanov chess), where a human player and a computer chess program would play as a team against other such pairs. This is a perfect example of the way Kasparov saw (and continues to see) the ideal interplay between humans and machines. The idea is that advanced chess would amplify human performance.

The first Advanced Chess event was held in June 1998 in León, Spain. The 6-game match was played between Garry Kasparov, who was using Fritz 5, and Veselin Topalov, who was using ChessBase 7.0. It was decided that the players would consult the built-in million games databases only for the 3rd and 4th game, and would use the chess engines without consulting the databases for the remaining games. The time available to each player during the games was 60 minutes. The match ended in a 3–3 tie.

In 2017, chess engine Zor won the freestyle Ultimate Challenge tournament (freestyle is a variation or Advanced Chess, where consultation teams are also allowed). The best human plus computer came in 3rd place. Chess machines are now superior to human plus computers.

Computer Chess Status

Chess machines perform at a super-human level, i.e. they perform better than all humans. Here’s when different chess machines beat humans:

  • Supercomputer (1997): Deep Blue vs. Garry Kasparov (3.5–2.5)
  • Personal computer (2006): Deep Fritz vs. Vladimir Kramnik (4–2)
  • Mobile phone (2009): Pocket Fritz 4 won the Copa Mercosur Grandmaster tournament by winning 9 games and drawing 1 game (scoring 9.5 out of 10)
  • Computer defeats human+computer (2017): Zor

How do we play chess now?

In his FiveThirtyEight interview, Murray Campbell was asked if computers are draining the beauty out of chess, to which he replied, “Grandmasters that have grown up with most of their training in the computer era play a much more objective style of chess. They’re less willing to dismiss a move because it’s ugly, or doesn’t appeal to their aesthetics…Chess is an art, but it’s more of a sport. If you’re interested in winning, then you play the right move, even if it’s an ‘ugly’ move or a ‘computer’ move…Super-deep preparation can create a draw-ish tendency. The white player will try to create a position where the opponent has chances to go wrong. And the black player, if they’ve prepared well enough, will have found the way to navigate through that mess and find the way to the draw. I can certainly think of some 20- or 30-move games that have probably been entirely calculated at home.

The biggest paradigm shift in computer chess since Deep Blue

In 2017, DeepMind’s AlphaZero beat Stockfish 28–0, with 72 draws, in a 100-game match. It used the a similar approach to master not just chess, but also Go and shogi.

Here’s the mind-boggling part: Imagine showing a computer how the chess pieces move, i.e. showing it legal moves and nothing more. Then you tell the computer to learn to play the game — by itself. And in just 9 hours — yes ONLY 9 hours — it figures out not just how to play chess, but how to play at such a high level that it beats the strongest programs in the world — by far!

After just four hours of training, AlphaZero was playing at a higher Elo rating than Stockfish 8 and after 9 hours of training, it had decisively defeated Stockfish 8 in 100-game tournament.

Jonathan Schaeffer, an AI researcher at the University of Alberta, said, “It surprised the hell out of me. The games were beautiful and creative. AlphaZero made apparently crazy sacrifices that humans would not even consider in order to get more freedom of movement. But it also played differently to all other chess programmes which rely on human input.” Other chess grandmasters were equally impressed. Russian champion Peter Svidler said that AlphaZero’s play was “absolutely fantastic, phenomenal” and he felt in “awe” of its play.

Magnus Carlsen’s coach Peter Nielsen said,

“…the aliens came and showed us how to play chess”

Chess.com asked experts for their first reactions:

  • Maxime Vachier-Lagrave: “Of course the result is extremely impressive; I wouldn’t even dream of winning one game against Stockfish. The score especially with White is extremely impressive.”
  • Fabiano Caruana: “I was amazed. I don’t think any other engine has shown dominance like that. I think it was four hours of learning so who knows what it can do with even more.”
  • Sergey Karjakin: “I am very much surprised because we normally work with Stockfish and it looks like it’s a good program but if we have a program which beats Stockfish so easily it might be a new generation for computers and maybe it’s a historical day for chess. We’ll see how it will get stronger!”
  • Wesley So: “I was shocked. This is the new big thing. It totally changes chess. It might be rated, what, 3700? Close to 4000? That’s really crazy.”
  • Michael Adams: “I was pretty amazed. It will be interested in seeing more of the games.
  • Levon Aronian: _“I am very excited but I am not sure about the condition_s.”
  • Ian Nepomniachtchi: “If there is a chess program that easily beats the strongest chess engine at the moment it’s pretty good news for us also. We’ll probably play some other game but chess very soon!”
  • Hikaru Nakamura: “I think the research is certainly very interesting; the concept of trying to learn from the start without any prior knowledge so certainly it’s a new approach and it worked quite well obviously with go. It’s definitely interesting. That being said, having looked at the games and understand[ing] what the playing strength was I don’t necessarily put a lot of credibility in the results simply because my understanding is that AlphaZero is basically using the Google supercomputer and Stockfish doesn’t run on that hardware; Stockfish was basically running on what would be my laptop. If you wanna have a match that’s comparable you have to have Stockfish running on a super computer as well.”

Where do we go from here?

It seems right to end with Garry Kasparov’s TED talk and his view on the experience.

What I learned from my own experience is that we must face our fears if we want to get the most out of our technology, and we must conquer those fears if we want to get the best out of our humanity. While licking my wounds, I got a lot of inspiration from my battles against Deep Blue. As the old Russian saying goes, if you can’t beat them, join them. Then I thought, what if I could play with a computer — together with a computer at my side, combining our strengths, human intuition plus machine’s calculation, human strategy, machine tactics, human experience, machine’s memory. Could it be the perfect game ever played? But unlike in the past, when machines replaced farm animals, manual labor, now they are coming after people with college degrees and political influence. And as someone who fought machines and lost, I am here to tell you this is excellent, excellent news. Eventually, every profession will have to feel these pressures or else it will mean humanity has ceased to make progress. We don’t get to choose when and where technological progress stops.

We cannot slow down. In fact, we have to speed up. Our technology excels at removing difficulties and uncertainties from our lives, and so we must seek out ever more difficult, ever more uncertain challenges. Machines have calculations. We have understanding. Machines have instructions. We have purpose. Machines have objectivity. We have passion. We should not worry about what our machines can do today. Instead, we should worry about what they still cannot do today, because we will need the help of the new, intelligent machines to turn our grandest dreams into reality. And if we fail, if we fail, it’s not because our machines are too intelligent, or not intelligent enough. If we fail, it’s because we grew complacent and limited our ambitions. Our humanity is not defined by any skill, like swinging a hammer or even playing chess.There’s one thing only a human can do. That’s dream. So let us dream big.”

In this 2018 WSJ article titled “Intelligent Machines Will Teach Us — Not Replace Us”, Garry Kasparov reflected on the progress of AI and said, “My chess loss in 1997 to IBM supercomputer Deep Blue was a victory for its human creators and mankind, not triumph of machine over man. In the same way, machine-generated insight adds to ours, extending our intelligence the way a telescope extends our vision. We aren’t close to creating machines that think for themselves, with the awareness and self-determination that implies. Our machines are still entirely dependent on us to define every aspect of their capabilities and purpose, even as they master increasingly sophisticated tasks.”

Here’s how the 1997 result stands: The machine won, humanity also won (even though we sometimes forget the latter).

So let us dream big.


Written by samin | 15 yrs data science (edtech, healthtech, civictech); 6+ yrs data leadership www.minsphere.com/ medium.com/@aminshreyaa
Published by HackerNoon on 2018/09/24