Pages

Showing posts with label Google. Show all posts
Showing posts with label Google. Show all posts

Sunday, May 1, 2016

Part 10: Review of Game 5: AlphaGo unfamiliar with common tesuji in ultimate moyo game (The historic match of deep learning AlphaGo vs. Lee Sedol)


[NL Versie]

Review of Game 5:  AlphaGo unfamiliar with common tesuji in ultimate moyo game  


Professional  Kwon Gap-yong (8p), who also has been a mentor to Lee Sedol, said before the game: "Lee has already learned that AlphaGo tends to make strange moves when it faces unfavorable conditions. Lee will have more of a chance of winning the final match if he makes key moves that are difficult to read".


In the fourth game, Lee Sedol exposed some of AlphaGo's weaknesses in judging the amount of aji in the program's center moyo. When analyzing the game afterwards with his team, in the exhilaration of victory, Lee Sedol must have concluded that AlphaGo's moyo treatment had been far from optimal and could be put through the mill once again this last game of the match.   


AlphaGo starts off with a probing move (yosu-miru) to see how Lee Sedol will answer (circle in Dia. 1). On that basis white will determine if and how to complete the joseki in the bottom right. 


Dia. 1:  Game 5, after white 12 (circle, Lee Sedol is black) 
Black replies calmly, then plays tenuki to prevent white from making a double extension to the right (circle in Dia. 2). Lee Sedol presents AlphaGo with a choice: clamp and allow black to attack the three white stones in the bottom right, or try to fight and prevent black from connecting underneath?


Dia. 2:  Game 5, after black 17 (circle, Lee Sedol is black) 
AlphaGo chooses to clamp and makes a base for it's three stones in the upper right (see Dia. 3). Then both sides cut and AlphaGo ends in sente as Lee Sedol connects his attacking stones underneath (circle in Dia. 3).


Dia. 3:  Game 5, after black 25 (circle, Lee Sedol is black) 
Black gets a rather large and secure corner in exchange for white's strong and balanced group at the right edge. After moves on the left, where Lee Sedol builds a solid group and white makes a well-balanced extension from the bottom left corner (Dia. 4), AlphaGo plays to make influence towards the center and to build potential in the bottom left quarter of the board (circle in Dia. 4).

At this point, it is completely unclear how many points white's move is worth (how much it could add up to) but in any case this move works well with white's other stones on the board.  And pushes Lee Sedol to prevent that AlphaGo will play nobi or keima downwards to further build it's moyo. 

Both Lee Sedol and AlphaGo play a very solid opening and after move 40 (circle in Dia. 4) the outcome of the game appears completely open from their opposing moyo and territory strategies.


Dia. 4:  Game 5, after white 40 (circle, Lee Sedol is black) 
Lee Sedol avoids that AlphaGo will foreclose the bottom right corner and extends his corner (Dia. 5). AlphaGo calculates that it's three stones have enough aji to make a fight meaningful. The program apparently is unfamiliar with a  common tesuji (also known as the 'tombstone squeeze': you offer two stones, subsequently throw in another one, in order to rob the opponent efficiently from the inner liberties).

This tesuji frequently occurs in the games AlphaGo originally has been trained on, so it is quite incredible that the program didn't learn to handle this tesuji correctly. AlphaGo looses points here (as well as ko threats), apart from the unnecessary waste of options to utilize the potential aji  of it's three white stones (Dia. 5).

At this point in the game, Demis Hassabis tweeted: "AlphaGo made a bad mistake early in the game (it didn't know a known tesuji) but now it is trying hard to claw it back... nail-biting". He added later: "The tesuji itself appears quite often in pro game records, thus it is most likely learned through the 'policy' network. I personally feel AlphaGo should be aware of the tesuji itself, but Lee Sedol's follow-up move was probably better than expected by AlphaGo". He bites his nails and hopes that AlphaGo very soon gets a chance to make things right again (Dia. 5). 


Dia. 5:  Game 5, after black 59 (circle, Lee Sedol is black) 
Fortunately for AlphaGo, it played these moves in territory already more or less realized by Lee Sedol, and it has a few sente moves on the outside that might come in handy later if white wants to make points there. 


Dia. 6:  Game 5, after white 70 (circle, Lee Sedol is black) 
White especially focuses on influence and, after a few moves in the upper right corner, a battle develops for AlphaGo's meanwhile firm center moyo (Dia. 6). 

Lee Sedol invades to pressurize AlphaGo further in the upper left corner and to reduce AlphaGo's potential center moyo at the same time (triangle in Dia. 6). However, AlphaGo plays a beautiful and effective response which turns around the flow of the game immediately. Now, Lee Sedol is put himself under very high pressure (circle in Dia. 6).

AlphaGo's move prevents black's invading stone to connect easily with black's group to the left, prevents an escape of the invading stone to the center to make eventually a base there, forces the invading stone towards white's strength top right, and firmly contributes to it's built up sphere of influence in the center. Moreover, the idea is that if Lee Sedol tries to live, AlphaGo can exert huge pressure on him to become strong on the outside (to reinforce it's moyo even further, see Dia. 6). 


Dia. 7:  Game 5, after black 81 (circle, Lee Sedol is black) 
There's no other choice for Lee Sedol than to create a base. But in exchange AlphaGo gradually continues the work on it's moyo (Dia. 7). AlphaGo keeps pushing Lee Sedol's group and ends in sente, then builds further on it's moyo at the bottom side (triangle in Dia. 8). 


Dia. 8:  Game 5, after black 91 (circle, Lee Sedol is black) 
In a complex middle game Lee Sedol is forced to find efficient ways to prevent AlphaGo from cashing in it's entire moyo. The question is whether AlphaGo can make enough points in the center to outweigh Lee Sedol's already secured territory in the corners (Dia. 8).

Black has about 70 points secured territory, white has about 30 points together in the upper left corner and it's center moyo. Taking 7.5 komi into account this means that white can only win this game if the program gets at least 35 points in the bottom left corner and edge (without giving black any extra compensation for this). Alternatively, white has to find ways to collect additional points in the center. This crude estimate suggests that the game in this position is still open and undecided.


Dia. 9:  Game 5, after white 122 (circle, Lee Sedol is black) 
The game is developing slowly as Lee Sedol first somewhat contains AlphaGo's center moyo, and then creates  a group in the bottom left (Dia. 9). With white's calm responses initially some strength is built though it is unclear what white does want with this. After AlphaGo's extension (circle in Dia. 9) it becomes clear, however, that Lee Sedol has to make a base with his group at the bottom side (or must connect). And that white is trying to lock up black.


Dia. 10:  Game 5, after white 136 (circle, Lee Sedol is black) 
Black connects his group underneath with the right corner and gains some extra points while white builds some force and meanwhile significantly reduces black's influence at the lower right. Then, AlphaGo plays a magnificent split move and nice counter attack (circle in Dia. 10) that adds burden on black and let's white stones working together optimally. 

It is difficult for black to decide what is the best strategy in this position. Lee Sedol can't afford to give up his center stones and at the same time has to minimize white's center moyo as much as possible. AlphaGo's strength at the lower side is being used primarily to keep pressure on Lee Sedol with a range of possible cut actions.


Dia. 11:  Game 5, after black 183 (circle, Lee Sedol is black) 
A comparison between Dia. 10 and Dia. 11 shows that black succeeded to neutralize both white's potential on the left and a significant part of white's center. However, in exchange white gets about 15 secure points as compensation. Whether these are enough for AlphaGo to win the game is unclear, especially as Lee Sedol has still opportunities to further reduce white's potential (both on the left side and in the center). The difference is estimated to be a few points at most for the benefit of AlphaGo (Dia. 11). So, despite Lee Sedol's great moyo reduction skills, it is still deep learning AlphaGo that is ahead due to the sufficient compensation it got along the way. 

What complicates this position is that black's territory is almost defined while white has opportunities to score some additional points at different locations on the board. Lee Sedol's only chance is to restrict AlphaGo's potential as far as possible with smart and effective reduction moves.

For the top Go-profs who comment live on this game, it is hard to say where Lee Sedol perhaps played a lesser move. Even so, AlphaGo managed somehow to get things right after it misjudged Lee Sedol's tesuji earlier in the game. Overall, the flow of the game as well as the way of play of both players looked very well-balanced, constructive and profound.


Dia. 12:  Game 5, end position after white 280 (Lee Sedol is black) 
In the next 100 moves, Lee Sedol unfortunately is not able to catch up his disadvantage of about 2 points. A few minutes before the game is finished, Lee Sedol leaves the Go-board when AlphaGo plays a move that is clearly non-optimal: a sign that the program estimates it will win this game anyhow. Despite the fact that Lee Sedol is ahead on the board, he would loose with about 2.5 points, taking into account AlphaGo's komi (7.5 points).

When he returns, Lee Sedol plays another couple of moves and then resigns after move 280 (final position, Dia. 12) with just less than a handful of endgame moves left. It is the first time in this match that a game has been played until so late in the endgame. And has ended with such a small difference in points.



So this has been another amazing, inspiring, and historic game in which differences in playing strength between the world's top Go-prof Lee Sedol and deep learning program AlphaGo were hard to detect.

With this result, the final outcome of the match is: AlphaGo defeats Lee Sedol by 4 - 1. A result that only a small minority (< 10-15%)  of the more than 280 million people worldwide who watched this match online, would have predicted in advance. AlphaGo has impressed all Go players worldwide with rock-solid, deep reading, sometimes unexpected and really wonderful, effective moves in these games.




During the post-match press conference (never seen so many press and media gathered together), Lee Sedol said: "I am sorry because the match comes to an end". And answering a question about whether the five games might have changed his understanding of the game of Go, Lee Sedol responded: "Basically, I don't necessarily think that AlphaGo is superior to me. I believe there is still more that a human being can do to fight against the AI program. That's why I felt a little bit regrettable because there is more that a human could have shown during this match".




Hassabis stated afterwards: "I am speechless about this most exciting experience we have had so far. AlphaGo made a mistake early in the game because it missed a tesuji. But got itself back into the game. This is by far the most exciting and stressful one of all the games of the match". 

It took Lee Sedol about four games to slightly figure out AlphaGo's way of play: the first two games Lee Sedol probably lost by making a bad strategy decision, the third game Lee Sedol lost due to a fatal mistake already early in the opening, and with the knowledge of the fourth game, it is highly probable that Lee Sedol would have followed other tactics. And would have had a significantly greater chance of winning this match.

A more extensive report of the press conference after the end of the fifth and last game of this match, with more detailed reactions of Lee Sedol and Demis Hassabis, will follow later.

In this fifth and exciting last game of the Google DeepMind challenging match, deep learning AlphaGo played an impressive and very balanced moyo-building game. Even though Lee Sedol had substantial (secure) territory already early in the game and though he was able to thwart most of AlphaGo's moyo plans, the program succeeded in getting enough compensation along the way to stay ahead by a margin of just a few points. And to maintain this small advantage during the second half of the game.


[Part 11: Reactions worldwide and Prize giving]

Sunday, April 24, 2016

Part 8: Review of Game 3: Lee Sedol's opening mistakes due to enormous mental pressure (The historic match of deep learning AlphaGo vs. Lee Sedol)


[NL Versie]

Review of Game  3: Lee Sedol's opening mistakes due to enormous mental pressure

After two successive losses, Lee Sedol is under extremely high pressure not to lose the entire five-game match with AlphaGo. Lee Sedol is heavily touched, very disappointed and feels particular anguish after the shock of his second loss. Both his confusion afterwards about why he had lost the game and the difficulties he had with his team tracing back any mistakes, showed also that AlphaGo played a nearly perfect game.  So, is Lee Sedol able to win from a Go-program that plays virtually perfect?


This match proceeds completely different from what Lee Sedol had expected and hoped. He tries to play with his great sense of responsibility for the hundreds of millions of people worldwide that count on him in this historic match against AI. One way or another he has to turn the tables, but how?


With black 17, a rather complicated opening fight starts in the upper left corner (see Dia. 1). White's invasion inside black's influence is an attempt to reduce the black potential severely, without leaving a weak group that is easy to attack or giving black some advantages otherwise (for instance, to allow for much strength on the outside or territory on the inside). 


Dia. 1:  Game 3, after black 17 (circle, Lee Sedol is black) 
If AlphaGo succeeds in making a solid base with this invasion or a group that easily can extend and escape towards the center, without too many benefits for Lee Sedol, and white's mission proves to be a success, AlphGo can take over the initiative and try to control the game towards victory.



Dia. 2:  Game 3, after white 28 (circle, Lee Sedol is black) 
The opening develops and AlphaGo plays a nice move towards the center meanwhile threatening Lee Sedol's three stones (circle in Dia. 2). As black took the corner and is strong on all sides, everything looks promising for black at this point in the game. However, in this very complicated opening fight in the upper left, Lee Sedol makes a deciding mistake already early in the game. This unfortunate mistake ascertains that the game is pretty much decided shortly after his (at first sight) effective and offensive move (triangle in Dia. 3). 

AlphaGo responds underneath (circle in Dia. 3) to ensure the option to connect later or to be able to attack Lee Sedol later on. This move provides some life-air to the white group as well as possibilities to pressurize black's stones thereabout (triangle in Dia. 3).

Black really had to play first on this point (circle in Dia. 3, instead of triangle) to threaten to connect underneath himself (and keep white weak and separated). And if white then would have responded, black nevertheless would have had (in sente) the opportunity to play the triangle move. In short, a missed opportunity by Lee Sedol which immediately gives AlphaGo the initiative.


Dia. 3:  Game 3, after white 36 (circle, Lee Sedol is black) 
Younggil An (8p) described Lee Sedol's earlier moves as possibly the game-losing moves and Andrew Jackson from the American Go Association considered black 35 (triangle in Dia. 3) as the fatal, losing move. 


Dia. 4:  Game 3, after white 48 (circle, Lee Sedol is black) 
After about fifty moves AlphaGo dictates the game and forces Lee Sedol to continue defending. With 48 (circle in Dia. 4) white also defends his group and at the same time attacks both the black stone left and the black group left (middle).

Obviously, white handles attacking as best defense. Even though white's upper left group is itself still in the danger zone, white is able to escape towards the center. And in case of emergency white can try to make eyes with forcing moves on black's upper left corner. 


Dia. 5:  Game 3, after white 70 (circle, Lee Sedol is black) 
AlphaGo manages to control the fight such that it builds strong influence while attacking, what could the program wish more? Lee Sedol has no other choice since his entire black group on the left, though more or less connected (eventually, later on there is a ko), simply has an inadequate base. With move 69 (triangle in Dia. 5) black escapes to no man's land towards the center where white is waiting for him on every side.


Dia. 6:  Game 3, after white 78 (circle, Lee Sedol is black) 
Lee Sedol creates a base for his 'hanging' group on the left and then starts a counterattack on the right hand side with black 77 (triangle in Dia. 6). By making the position more complex, Lee Sedol might be able to find a solution to deal with AlphaGo's large potential at the lower edge.

Also, white's upper left group is not yet entirely safe and still a significant burden white has to take into account.  AlphaGo's response on Lee Sedol's counterattack is yet effective and cooperates optimally with all white's stones at the right edge. In addition, it's response provides opportunities in case white's group in the upper left later on needs support. 


Dia. 7:  Game 3, after white 90 (circle, Lee Sedol is black) 
To stay in the game Lee Sedol needs to keep AlphaGo from making too many points on the right hand side as well as to prevent getting a half-baked center group whereby his chances for an invasion into white's moyo at the lower edge will become without any prospects.

With 89 (triangle in Dia. 7) black connects more or less the two cutting stones on the right (on P8+9) and at the same time attacks the white group in the upper left. AlphaGo is alert and strengthens it's group immediately with 90 (circle in Dia. 7). It looks like that Lee Sedol should have played here himself first (threatens to cut, makes points and weakens the white group) in sente. However, AlphaGo succeeds in further simplifying the position as the white group in the upper left now has almost sufficient options to live.


Dia. 8:  Game 3, after black 129 (circle, Lee Sedol is black) 
After white lives in the upper left, black in the lower right, and most smoke clouds have disappeared, Lee Sedol's only chance to win the game is to reduce white's huge moyo at the bottom severely (either by living inside or  by dimpling from the outside).

However, AlphaGo stays very calm and plays sophisticated during Lee Sedol's invasion (triangle in Dia. 8). This move gives white a number of opportunities to connect the two white stones either to the left or to the right. Black again complicates the situation to threaten breaking through white's surroundings towards the center,  or to capture the two white stones and try to live. 

Dia. 9:  Game 3, after white 148 (circle, Lee Sedol is black) 
During this complex fight, Lee Sedol manages to get the maximum out of the position by creating, in an ingenious and beautiful manner, a game-winning ko (triangle in Dia. 9). However, AlphaGo again plays calm and efficient: apparently the program has already computed that it will win this ko anyhow. Then white just ignores the ko for now and occupies the largest endgame move on the board (circle in Dia. 9) while threatening to enter black's territory at the upper side. 


Dia. 10:  Game 3, end stand after white 176 (circle, Lee Sedol is black) 
It is for the first time that AlphaGo is forced into a complex and big ko-fight. Despite earlier expectations that the program herewith would suffer from severe problems, AlphaGo plays superb and shows it assesses, computes, and latches ko-fights excellently.  

Unfortunately, Lee Sedol is unable to force AlphaGo into any error, not even a single one. Using internal ko threats, AlphaGo triumphs (as the program already 30 moves ago had evaluated or computed). And after white 176 (circle in Dia. 10) there is no other option for Lee Sedol than to resign. 


Kwon Kay-Yong, one of Lee Sedol's former coaches, told a news agency: "AlphaGo played consistent and well balanced from start to finish while Lee, as he is only human, showed some mental vulnerability". Thereby, Lee Sedol's great feeling of responsibility --towards all people that were watching over his shoulder and had such a great faith in him-- inevitably began to work against him. 

According to Younggil An (8p) and David Ormerod, this third game demonstrated that "AlphaGo is simply stronger than any known human Go player. AlphaGo was seen to capably navigate tricky situations known as ko-fights that did not come up in the previous two matches". Ormerod added: "in the middle of a complex, all-or-nothing ko fight, AlphaGo displayed sufficient 'confidence' that it was winning the fight and simply ignored the ko and played a large move elsewhere". 


During the post-game press conference, where hundreds of photographers exposed Lee Sedol to minutes-long dazzling flashlight, while the loss of the Google DeepMind challenging match was still hammering his mind with this third successive defeat by AlphaGo, Lee Sedol was visibly touched and deeply saddened: "I don't know how to start or what to say today but I think I would have to express my apologies first: I should have shown a better result and better outcome and better contents of the game played. I apologize about not being able to satisfy a lot of people's expectations. I felt powerless. If I would redo the match I probably would not have been able to win".



And: "In the first game I  have lost because I bad judged the capabilities of AG. The second game would be the mental break of you but at the beginning of the 2nd game, the game did flow the way I intended and there were a number of opportunities which I admittedly missed. Looking at the third game: I do have extensive experience in the playing the game of Go but there was never a case or game where I experienced this amount of pressure. I was unable overcoming the amount of pressure I was experiencing. Sure I lost the match, AlphaGo is now a clear winner. However, when when it comes to human beings, there comes in this psychological aspect. If I play the fourth and fifth game of the match, I do ask you to continue keep following the match and keep your interest in the games and follow what happens".

Michael Redmond (9p) commented: "At first, I sort of doubted the capabilities of AlphaGo but after three straight wins these were canned now. Lee Sedol played a very powerful fighting game. In this third game, he played to do his style and showed us an exciting match and I believe that Lee Sedol would have been difficult to beat today by any other top human professional. I think that Lee did his very best and showed us a very good game. Nevertheless, AlphaGo played excellent this fighting game and played the ko's everybody was afraid that it might have a weakness in, played all of the complicated fighting". 


To continue: "I think it is fair to say that it beat Lee Sedol at his own game. What I see in AlphaGo is the potential when it plays new moves as it did in the 2nd game, it's potential to inspire Go players to perhaps study a different type of opening moves. I think we could have a revolution of the years coming up with AlphaGo helping us, giving us a boost to start it. I like to characterize today by my believe that the AlphaGo team created a true work of art".

Hassabis described AlphaGo's victories on Lee Sedol as: "hard to believe" and said the games had been 'mega-tense': "while AlphaGo computes tens of thousands positions per second, Lee Sedol incredibly can compete with that in periods of high pressure. His ingenuity and extraordinary talent have stressed AlphaGo to it's limits during these first three games.  We came here to challenge Lee Sedol as we wanted to learn from him and see what AlphaGo is capable of. And his amazing genius and creative skills have done that". 


And answering a journalist's question, Lee Sedol said: "Although AlphaGo is a strong program, I would not be able to say AlphaGo is a perfect program (not at the level of so called divine Gods). Yes, compared to humans it's moves are different and from time to time are superior but I do feel that there are weaknesses in AlphaGo's way of playing. Today was Lee Sedol's defeat but not a defeat of human beings". 

Google and the Korean Baduk Association, who both organized this match, already agreed earlier on that the match would continue up to and including the fifth game in case the winner of the match would be known after three wins in a row.  



[Part 9: Review of Game 4: Lee Sedol's brilliant move reveals weaknesses AlphaGo]