Slashdot Mirror


Behind Deep Blue

ianb104 writes "I was rushing home to catch the ending part of game 6 of the 1997 Kasparov vs. Deep Blue match, when the news came over the car radio that Kasparov resigned after less than one hour of play, to my great dismay. Behind Deep Blue: Building the Computer that Defeated the World Chess Champion brought back this memory and then some." Read on for the rest of Ian's review. Behind Deep Blue: Building the Computer that Defeated the World Chess Champion author Feng-hsiung Hsu pages 298 publisher Princeton University Press rating 9 reviewer ianb104 ISBN 0691090653 summary A real-life historic triumph of the nerds

My wife gave me this book as a birthday present. I was thrilled that finally someone wrote what really happened behind the scenes at the two historic matches, but Behind Deep Blue turned out to be far more than just about the matches. The early part of the book is equally absorbing and full of surprises.

Who & What

Feng-hsiung Hsu, the author, was the father of the Deep Blue project and a troublemaker. When you see a section title like "Mr. Rogers' Neighborhood" in a book about computer history, you know something is up. What he did in this particular section would have been an awful career move today, like landing him in a jail. As it was, he almost got kicked out of grad school. This precarious position played an important role in how the project got started.

The book has two main parts: the beginning and the history of the project at Carnegie Mellon University, and the successful conclusion at IBM, including the two matches with Kasparov.

Carnegie Mellon

During the matches, the IBM web site de-emphasized the Carnegie Mellon part of the project. The instant chess books also failed to fill the void. It was a shame.

The main ideas behind the project apparently were formed at Carnegie Mellon--several of them at a fateful night in Hsu's apartment. I know little about IC design, but his description of the new ideas discovered at that night, underlying the first single chip chess move generator, made me feel like that I could design the chip myself. His thought process in coming to the discovery is also quite interesting. Hsu seems to be a diehard Trekkie. In his description of the selective search algorithm "singular extensions," he repeatedly used the Starship Enterprise in his analogies.

For fans of AI, the book contains a big surprise. Even though Deep Blue's triumph over Kasparov might be considered as a major victory for AI, several of the early members involved in its creation had a definite anti-AI opinion. An exact quote from the book is "AI is bullshit." Hsu himself had an ambiguous feeling toward AI. The main approach taken by the Deep Blue project was to push the technology envelope, which is certainly non-AI, but he also talked of the need for chess knowledge repeatedly in the book.

The central story at Carnegie Mellon revolves around the rivalry between a ragtag group of graduate students and a powerful professor, Dr. Hans Berliner, who is a former World Correspondence Chess Champion and world renowned authority on computer games. I have a feeling that there are things left unsaid in the book, but the intensity of the rivalry and the male egos all come through clearly. One of the thorny points to the students, strangely enough, was that they were not Dr. Berliner's students but the press kept on saying they were.

After the students came out with Deep Thought, the first Grandmaster strength computer, the incorrect press perception produced a very funny story. The story of "The Poor Lieutenant Colonel at Darpa" tells how an overzealous reporter wrote a cover article for the British magazine Spectator, purporting to have discovered that the U.S. Department of Defense had enlisted the service of chess computers. In the process of this discovery, the reporter phoned Dr. Berliner, whom the reporter thought was heading the Deep Thought project, for the inside scoop, and afterwards cold called a Lieutenant Colonel at Darpa in charge of expert systems research, which had nothing to do with the Deep Thought work...

IBM

I did not realize that the Deep Blue team played Kasparov publicly three times. The first time was with the machine Deep Thought, during the transitional period when the team moved to IBM. Kasparov won that match 2-0. The publicity from this match and the subsequent confusion between "Deep Thought" and "Deep Throat" were partially responsible for the new Deep Blue name. The original Deep Thought name came from the sci-fi trilogy Hitchhikers' Guide to the Galaxy.

The story of the completion of the first Deep Blue repeats a theme that recurs throughout the book--the machines always barely work in time. "Four Hours to Spare" describes a period when the first Deep Blue chip had to be used in a new program and had to win or tie an exhibition match, in order for the project to survive. The team barely got the new program "working" with four hours to spare. They managed a tie.

The late-to-arrive situation in the 1996 Deep Blue match itself was not much better--the very first ever game played by Deep Blue was none other than its first game with Kasparov. Deep Blue itself was being put together only weeks before. Deep Blue won this game. What Kasparov said right after the historic game is priceless. There should have been a microphone at the playing table. The behind-the-scenes coverage of this match is more detailed than available anywhere else, but not quite as extensive as that of the final match in the book.

Deep Blue's loss in 1996 spurred a series of activities by the team. I don't recall seeing them mentioned explicitly during the 1997 match. A new Deep Blue chip was designed, along with new software tools for match preparations. The story of "The Phantom Queens" is quite amusing. The team discovered a design bug in the new chip that caused phantom queens to be generated on the chip's internal chessboard. One way to fix the bug was to slow down the chip by disabling a design feature. As a result of this slowdown, we have the only match outcome of what might have happen if Deep Blue had been running at the same speed as commercial chess programs when competing against them. I will let you find out for yourself what the outcome was. A workaround was later implemented, and Deep Blue did not suffer the same slowdown in the match against Kasparov.

The big chapter on the 1997 match alone is worth the price of the book for me. It was a great deal of fun to read. The wild accusations, the missed opportunities, the psychological war game off the board, the battle through the media, and plain simple misunderstanding all make for wonderful reading. The arbiter, Carol Jarecki, summed it up quite well, "This match has it all." I don't want to spoil all the fun for you, but I will mention two interesting tidbits from game 1 and game 6. Deep Blue played the last move of game 1 as a result of bug, although the game was already lost. Kasparov's team was surprised by the move and spent all night to find out why Deep Blue played the move and concluded that Deep Blue played its move because it saw a very deep mate if it had played what should be played... Game 6 was widely reported as Kasparov forgetting his own opening preparations. It could very well have been a deliberate gamble instead. All the other programs at the time, including the 1996 version of Deep Blue, very possibly would have lost the white side of the game.

Other Stuff

The epilogue of the book contains a short description of what happened after 1997, including an aborted attempt to answer Kasparov's repeated challenge for a new match. The first appendix gives autobiographic materials. The other two give selected game scores and pointers for further reading.

General Comments

This is not a chess book, and you don't need to be a chess player to enjoy it. The few paragraphs on technology should be readable for high school students or younger kids with scientific interests. Or you can just skip them.

The book is not really one contiguous story, but a collection of short stories and anecdotes. I read the whole book in one setting, but you could easily read the book in smaller chunks at a time.

Quibbles

Okay, you probably don't need an index for this book, but it would have been nice to have one. Interestingly enough, at www.bn.com, the review mentioned "a strange, inaccurate index", which must have there in the prepublication copy.

Conclusions

I highly recommend the book for general reading. You are not going to learn how to build something like Deep Blue from this book, but you get a good sense of what kind of human struggles it takes. Computer scientists and electrical engineers should get a good kick out of the book, but a layperson can enjoy the book just as well. If you have young kids with interests in engineering or science, this might be a good gift for them.

You can purchase Behind Deep Blue from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.

18 of 138 comments (clear)

  1. Please, Deep Blue is not AI, chess is a limited by Adam+Rightmann · · Score: 5, Insightful

    move game. True, human's can't interpret the billions of possible moves, and only understand basic repeated patterns (try it with you local grandmaster, they can memorize any board of a game in play, but can't memorize a randomly placed board). True, human pattern recognition is far better than machines, but in the end chess is just billions of possible moves, and now that computers can process far enough into the game, they need never lose.

    True AI would be a real thinking, feeling machine, and I'm not sure if that's possible. Perhaps the day when we see a computer sit down and ponder it's origins, and even pray, then we can think we've created an AI ( but will it have a soul?).

    --
    A. Rightmann
    1. Re:Please, Deep Blue is not AI, chess is a limited by Scarblac · · Score: 5, Insightful

      True AI would be a real thinking, feeling machine,

      Thinking yes, feeling no; that would be AE, and I don't see much point in that.

      Anyway, I do believe Deep Blue had intelligence, just in a very narrow way. Why? Because humans playing chess is seen as a sign of intelligence in humans, because before we built a chess playing computer we thought it would be an intelligent thing for a computer to do.

      Just that you know, and are able to understand how it does it, does not mean it's not intelligent.

      But of course, stupendously narrowly intelligent :-). It couldn't recognize a chess piece if it had a .png of one. General AI is, of course, a very different beast. But suppose we solve that problem and you'll still be able to understand how it works - wouldn't it still be general AI?

      And feeling... nah, in us that's a result of our evolution, but general intelligence doesn't need it.

      --
      I believe posters are recognized by their sig. So I made one.
    2. Re:Please, Deep Blue is not AI, chess is a limited by pussycat · · Score: 5, Insightful

      but in the end chess is just billions of possible moves, and now that computers can process far enough into the game, they need never lose.

      What you say is true is true, but in the past, chess seemed like a problem that computers would never "understand" and thus would always be second to humans. Even though the solution may not seem elegant, it nonetheless works.

      This solution may not have been imaginable forty years ago. Perhaps forty years from now, we'll be able to brute force "a real thinking, feeling machine."

      A great book for idiots like me on how true AI may be possible is Marvin Minsky's Society of the Mind.

    3. Re:Please, Deep Blue is not AI, chess is a limited by merlin_jim · · Score: 5, Interesting

      now that computers can process far enough into the game, they need never lose.

      There are actually two major branches of thought on the matter, neither one is proven. The statement you make is one such branch of thought, that can be stated more precisely as:

      A perfectly played game of chess will never result in a loss, and will only result in a tie if the opponent also plays a perfect game

      However there is also another school of thought, which points out the lie in your statement. This thought can be stated as:

      In chess, strategy is equally important to board condition. There are most likely branches of play that look to be promising but that a significantly skilled chess player can turn into a win.

      The reasoning behind this is that there is no single opening move that results in the entire game-tree having no checkmates for one player. And that no subsequent move can prune out checkmates, until the end-game. Thus, a perfect player could possibly get itself into a situation where a check mate is forced on it.

      I don't know whether that's true or not. One part of me says yes, that seems true, while another part of me says, why doesn't the program just choose a path where any move it can make results in an end-game with no checkmates with itself. I'm not sure such a path exists; even if it does, I would call a system built to choose this path AI.

      Artificial Intelligence has absolutely nothing to do with emulating HUMAN intelligence, as you seem to believe. Artifical Intelligence is about embuing a machine with the ability to go beyond it's basic programming.

      Certainly a chess program can never truly go beyond it's programming; which is to win a game of chess. But what about it's basic programming; a few thousand lines of code written by a team. It can take those lines of code and make assumptions, strategies, tactics, and observations. This most certainly is beyond it's basic programming, which really just included a set of the rules for chess and a way to look ahead a few dozen moves predictively.

      Such a system would certainly qualify, in my eyes, as AI.

      --
      I am disrespectful to dirt! Can you see that I am serious?!
    4. Re:Please, Deep Blue is not AI, chess is a limited by Marx_Mrvelous · · Score: 3

      Are you *sure* that they're proven that Chess is always a tuie (if played perfectly)? I thought that, due to the nature of the game mathematicians haven't been able to prove one way or another what the end of the game would be. just for my personal knowledge, can you cite a source for these claims?

      --

      Moderation: Put your hand inside the puppet head!
    5. Re:Please, Deep Blue is not AI, chess is a limited by Ed+Avis · · Score: 3

      If you could work out all possible games of chess, you'd be able to determine the optimum strategy for each player, and 'solve' the game of chess. You'd find one of three results:

      - The game is a win for white.

      - The game is a win for black.

      - The game is a draw or stalemate.

      Some games have been solved like this: certainly 3x3 noughts and crosses, and there was a Slashdot story about Owari a while ago. Chess is a long way off because the space of possible games is so vast.

      --
      -- Ed Avis ed@membled.com
    6. Re:Please, Deep Blue is not AI, chess is a limited by mpsmps · · Score: 5, Interesting

      Anyway, I do believe Deep Blue had intelligence, just in a very narrow way. Why? Because humans playing chess is seen as a sign of intelligence in humans, because before we built a chess playing computer we thought it would be an intelligent thing for a computer to do.

      It is possible to play chess either by raw computation or intelligence. People use their intelligence to play chess. Deep Blue did not.

      Here's an analogy that works for me. A computer can be easily programmed to determine that 1000000003 is not a sum of two square by exhaustive computation. No one (I hope) would contend that is an intelligent computer program. On the other hand, if a person (or a computer program) independently realized that it is a consequence of 3 not being the sum of two squares mod 4, I would regard this is at least a narrow intelligence. Deep Blue took the exhaustive computation approach to chess.

    7. Re:Please, Deep Blue is not AI, chess is a limited by Elwood+P+Dowd · · Score: 3, Insightful

      You could write a computer program that would incorporate exactly that rule, and then it would be able "to determine that 1000000003 is not a sum of two square" by the simple analysis you describe. "Independent" discovery of this rule could also be arranged.

      If you think Kasparov doesn't use an "exhaustive computation computation approach to chess" then you don't have a great understanding of how the brain works. We're a great big pattern matching machine. Kasparov has trained his pattern matching machine to take in chess positions and output decent chess moves. He then selects among those decent chess moves based on... exhaustive computation.

      If you'd like to arbitrarily choose a definition of intelligence that machines will never be able to attain... pick a different arbitrary definition. The difference between warm fuzzy intelligence and cold computational intelligence... can be engineered. And in this case, it doesn't matter.

      --

      There are no trails. There are no trees out here.
  2. Don't try to stop me! by Vaulter · · Score: 4, Funny

    I was rushing home to catch the ending part of game 6 of the 1997 Kasparov vs. Deep Blue match

    Yeah, tonight I'm rushing home. I've got paint drying in the living room. Don't wanna miss a single moment!

    --
    I don't have a sig...Do you??
  3. Would Poker be a good AI test? by RobertB-DC · · Score: 4, Interesting

    Since chess moves are limited to a certain domain, what *would* be a good game for creating and/or testing an AI computer system?

    You would think that Poker would be a good choice (real poker, not Video Poker). You don't win just by playing the odds -- you have to gauge your opponents' playing style and determine when they're bluffing and when you should bluff. I know how tough that is... I lost $40 to one guy in high school playing nickel-ante poker (do you still have that watch, Ted?).

    But so much of that kind of poker depends on body language... setting a CRT in one of the chairs just wouldn't be the same.

    Now, when they make a computer that can play An Enchanted Evening, I'll be impressed! (And maybe a little creeped out...)

    --
    Stressed? Me? Of course not. Stress is what a rubber band feels before it breaks, silly.
    1. Re:Would Poker be a good AI test? by merlin_jim · · Score: 4, Interesting

      Go is surprisingly difficult to play well; we have yet to build a computer that can beat a moderately skilled human player.

      And, Moore's law not withstanding, we probably won't be able to build a computer to brute force the problem. It'll HAVE to be solved by an AI that thinks and strategizes, instead of one that just computes the entire game tree and picks the best branch.

      Another game that seems surprisingly difficult to program well is Monopoly; the value of any particular piece of property for trading is a complex algorithm involving not only the player's personal desire, but the value the opponent may place on that piece of property as well as the value that every other opponent MAY be able to place on it at any point in the future. It doesn't seem hard, I just think the hardcore AI guys don't consider a contemporary board game worthy of their attention.

      Of course if I could pick a contemporary game that would be the ultimate AI test, I'd go with Turing's approach and pick Dungeons and Dragons. Because there's no way to brute force the thing EVER, and it requires GENERAL problem solving and logic algorithms...

      --
      I am disrespectful to dirt! Can you see that I am serious?!
    2. Re:Would Poker be a good AI test? by merlin_jim · · Score: 3, Interesting

      That was my point actually. It seems like a simple economics problem.

      But I've played quite a few of the various computer monopolies, and every one that I've played has been vulnerable to 3-way trades. That is, property that is invaluable to you and invaluable to the computer agent you are purchasing from, but extremely valuable to a third party can be had cheaply. Therefore the "seems to be"... I don't think any serious economics or AI people have ever really looked at it.

      There is one very important part here; that this value is a more or less arbitrary continuum. Though initial costs and future earnings certainly factor into the value proposition, there are cases where even that is superseded by something humans are good at and computers are bad at; judgement calls.

      For example, let's say you own a monopoly. Noone else does. Someone wants to trade with you, net result, you get one more monopoly and they get one more monopoly. Most value algorithms that I can think of would say that this is a more-or-less even trade. Maybe a little bit of cash should be thrown in by one side or the other, but it's an even trade.

      But I would never make that trade, all other things being equal, because it would erode a significant advantage. This is just a simple example; there are more complex ones, that I think humans would be good at solving and a simple algorithm bad at solving.

      BTW, Monopoly is not 100% luck. There is one choice that you can make that affects your board position, which is ultimately what decides wins and losses.

      Whether or not to stay in jail.

      --
      I am disrespectful to dirt! Can you see that I am serious?!
  4. Isn't the greatest story of this the human element by f00zbll · · Score: 3, Interesting

    The underlying fear that makes the whole story interesting isn't that deep blue beat kasparov. It's a concrete example of technology dehumanizing and demoralizing a Grand Master. It has all the baggage of "fear of technology". It's all those fears movies like Terminator, War Games and other less notable movies try to explore. Who cares about deep blue. Lets talk about how fear of technology and loosing control make people obsess over the games deep blue played against kasparov.

  5. Kasparov's Reaction & chess geek link by JustAnotherReader · · Score: 4, Informative
    One thing I'd like to learn from the book is what was IBM's reaction to Kasparov's accusation that one of their Grandmaster consultants made a move. I can't remember which game it was but there was one game that Kasparov was sure that he was playing the software right up until one move when he was absolutly sure that a human had interveened.

    Also, if you're interested in chess programs from a programmer point of view this link has quite a few links to various tutorials on chess playing algorithms as well as many different free Winboard engines.

  6. we have a winner! by mr_gerbik · · Score: 3, Funny

    The verdict is in! The award for the most pathetic thing I have ever heard on Slashdot goes to ianb104 for saying, "I was rushing home to catch the ending part of game 6 of the 1997 Kasparov vs. Deep Blue match..."

    -gerbik

  7. Re:Would we want our computers to have feeling? by Theatetus · · Score: 4, Funny

    [user@localhost ~]$gcc -o hello hello.c

    bash: gcc: command not found

    [user@localhost ~]$which gcc

    I don't know. Nevermind.

    [user@localhost ~]$wtf?

    I shouldn't have to tell you what's wrong...

    --
    All's true that is mistrusted
  8. Deep blue was a fraud by dh003i · · Score: 3, Insightful

    As much as I like IBM for their support of GNU/Linux and other Free/Open-Source Software, Deep Blue is just a fraud.

    The fact is, the machine was reprogrammed DURING the chess match. Gee, go figure. The people at IBM built it SPECIFICALLY to beat Kasparov, and it was promptly dismantled after the game, leaving Kasparov with no opportunity for a rematch. Also, who else did this Deep Blue play that was any good? More proof that it was designed to play against Kasparov's style.

    Sorry, but there was heavy and reasonably criticism of Deep Blue, and IBM didn't alleviate matters by having it dismantled before a rematch could be worked out, or before any other top players could have played it.

  9. Re:Would we want our computers to have feeling? by Tassach · · Score: 3, Funny

    Forget that... I don't want my computer flying off in a jealous rage when I surf over to Dell to check out the specs on a new laptop :-)

    --
    Why is it that the proponents of "one nation under God" are so eager to get rid of "liberty and justice for all"?