Yes, I know the concept. However my doubt was different. Suppose you're placed on a grid and asked to move from one point to another. Here, depending on the distance between the two points, the tree might be enormous. Yet, out of the 4 choices you have to move (up, down, left, right), making mistakes doesn't matter much as you can always correct it down the road. Also, there is a general heuristic and as long as you approximately follow it, you'll be able to reach your goal. In this case, size of the tree doesn't imply complexity. However I agree that there are cases in which simple heuristics are not present and mistakes cost you too much. I was wondering how much of this second kind of a game Go was.
In a balanced adversarial game, there is no correcting your mistakes. If you make a mistake you are behind and your only hope is your opponent making a mistake.
Aside from the adversarial point made by someone else, the other trick is knowing how good the move you made actually is. In go, there is a concept of life and death of areas. Essentially any group that can be surrounded is both alive and dead. This is really important because being able to see life or death as an inevitability of a section allows humans to properly value moves in that area. For amateurs, this is incredibly hard. It's easy to see a section that's alive once it is secured but everything else is really tough.
There is no simple heuristic for Go. Watch the stream of the game last night, maybe in the last hour or so, and listen to the pro suggest moves and try to determine point values. It's really really hard and a small mistake can easily cost you the game. Most single move he was talking about at the end were around the threshold of winning or losing.
For an analogy, you are drunk on a grid and you walk the wrong way. You opponent, on their turn, builds a wall in front of your best alternate path.
Was there for chess? Or was the study of Chess more rigorous than Go?
It would be interesting if a scaled down version of AlphaGo could get superhuman performance in Chess. That would actually say more about the feat than talking about the tree size or how hard it was for other Go programs.
There are more heuristics for chess than Go. It is still extremely complex to boil down, but there are more heuristics due to the smaller board size, fewer pieces, and there are more meta structures present in the game (clusters of pieces that tend to behave the same).
While it's also true that because chess is essentially 'Western Go' it's been studied more in the formal Western sense, it also has much more defined opening theories which lend itself to study. I think from reading your posts here you have a pretty good grasp of this stuff.
Your last point is particularly interesting to me as this is something I spend a lot of my spare time thinking about (general game-playing AI). I can't say anything more about that but I can say that neural networks provide really interesting opportunities for an AI to use the structure of one game to play another (in the same way that if you know how to play chess you will find it easier to learn checkers). DeepMind uses a combination of neural networks and more traditional AI (at its base it uses a neural network as a Q-function for reinforcement learning, but they have added tons of tricks to it especially AlphaGo) to achieve something similar.
The raw tree size is relevant only for brute force indeed. I guess you could make a smarter tree size redefinition in terms of a given heuristic. In that case, it would depend on how wide the probability distribution is on average over each move for a given heuristic. In your example (moving in a grid), for instance, a naive heuristic is sufficient to beat it; this heuristic has probability 1 over a single move for each sucesive move, so it's branching factor would be simply 1 (and it's tree complexity simply 1d = 1). You could try the same analysis with the AlphaGo rollout heuristic (which gives a probability density over the next moves) -- say the probability density is concentrated on average at a set of 20 moves, than the avg branching factor is 20, and the tree complexity is 20n . Indeed, even accounting for good heuristics (and rollout heuristics are essential to playing compared to chess where you can get by with only evaluation heuristics), a large number of moves is likely at each position in Go, much more than chess.
The issue is with positional evaluation. In chess there is a simple positional value function from both a computational and theoretical standpoint: assign points to pieces and calculate how many points the players have. If the value is very large for a position, you can assume it's a good position; if the value is small, the position is bad. This simplicity allows you to deterministically try many branches and prune them if they are clearly bad, drastically lowering the tree expansion.
In go, there is no such function, or at least there wasn't until Deepmind trained a neural network to do just that: given a position, estimate the score. They still use Monte Carlo Tree Search, rather than consider all branches, but rather than having to play to the end of the game, they can play to a certain depth and estimate the score: if the score clearly favours one side, they can write off that branch as a win for that player.
So, the complexity of evaluating a position well seems to still be much higher for go than in chess, but it has only now become tractable to estimate the value of a position.
11
u/[deleted] Mar 09 '16
Yes, I know the concept. However my doubt was different. Suppose you're placed on a grid and asked to move from one point to another. Here, depending on the distance between the two points, the tree might be enormous. Yet, out of the 4 choices you have to move (up, down, left, right), making mistakes doesn't matter much as you can always correct it down the road. Also, there is a general heuristic and as long as you approximately follow it, you'll be able to reach your goal. In this case, size of the tree doesn't imply complexity. However I agree that there are cases in which simple heuristics are not present and mistakes cost you too much. I was wondering how much of this second kind of a game Go was.