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.

8 of 138 comments (clear)

  1. 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?!
  2. Re:Please, Deep Blue is not AI, chess is a limited by The+Grassy+Knoll · · Score: 2, Interesting

    >and even pray

    The day a computer sits down and prays is the day I get the next spaceship off this planet.

    And anyway, if a computer is intelligent enough to be 'a real thinking ... machine', then I should hope it's intelligent enough to reject a thought system based on faith rather than reason.

    Just my 2p worth

    --
    They will never know the simple pleasure of a monkey knife fight
  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. 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.

  6. Re:Please, Deep Blue is not AI, chess is a limited by Theatetus · · Score: 2, Interesting
    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.

    Hmmm... I'm not sure I agree. A human chess player's computations are specifically *not* exhaustive. A human player seeks to hold or threaten strategic squares or pieces and works backwards to see which moves make that most likely. Deep Blue runs through tons of moves and sees which moves hold or threaten strategic squares or pieces.

    There are chess programs that work like human players work: establishing strategic goals and trying to work out ways to get to them. But none of them are very good.

    Kasparov's strategy was to keep DB out of any position that would let it come up with a surprising (to a human) move through exhaustive analysis, which is why all the matches looked like Flanders in WWI. Also, Kasparov is probably the worst GM for a computer/human match... he plays very dramatic, emotional games and wins by humiliating and terrifying the opponent, which wouldn't work against a computer.

    --
    All's true that is mistrusted