News for hackers. Stuff that matters.
Re:The Mystery of Go, the Ancient Game That Computers Still ... by hyperpape on Monday May 12, 2014 @09:17AM (#7732478)
I don't know what you're trying to say. Monte Carlo based programs play out entire games, and evaluate them by scoring the end of the game--no heuristics needed for the evaluation, only for the playouts. And yes, they can accurately score a completed game.
Re:The Mystery of Go, the Ancient Game That Computers Still ... by ronaldx on Monday May 12, 2014 @09:33AM (#7732557)
I'm trying to express why Go is a difficult problem to solve.

I'm saying this (scoring, play-out) has been a difficult problem, which was not solved even a small number of years ago, and is still not considered straightforward. Even if it is solved correctly now, that's only a start.

I would also note that Monte Carlo is by definition a heuristic method - it is statistical and not guaranteed to be optimal.

Re:The Mystery of Go, the Ancient Game That Computers Still ... by rockdoe on Monday May 12, 2014 @09:36AM (#7732569)
I would also note that Monte Carlo is by definition a heuristic method - it is statistical and not guaranteed to be optimal.

So is the endpoint evaluation in chess programs. This isn't a difference between Go and the other games. (In fact, pretty much nothing in your original post is)

Re:The Mystery of Go, the Ancient Game That Computers Still ... by ronaldx on Monday May 12, 2014 @09:57AM (#7732672)
Anyone who has a modest understanding of chess can codify very simple rules for identifying a winning endgame.

There are extensive wikipedia articles on what constitutes a winning endgame in chess, as the board simplifies towards the end of the game:

https://en.wikipedia.org/wiki/Endgame_tablebase says "All chess positions with up to 6 pieces have been solved"

So, I disagree. Even if you don't count this as a theoretical difference, it is a practical difference.

Re:The Mystery of Go, the Ancient Game That Computers Still ... by rockdoe on Monday May 12, 2014 @10:06AM (#7732722)
Anyone who has a modest understanding of chess can codify very simple rules for identifying a winning endgame.

The exact same thing can be done in go, scoring a finished game is trivial. The strength of the program simply isn't determined much by correctly identifying and scoring terminal positions, but the intermediate ones. And for both chess and go, one very much uses heuristics which are often wrong.

If the heuristics were never wrong, you wouldn't have to do the tree search part at all.

Endgame databases only have a tiny effect on the strength of chess programs (a common misunderstanding!) just because it's not very common for the game to be still "flippable" by the time they become relevant. In all the other positions, you need the heuristics.

The situation for checkers on the other hand, is very different. There the endgame databases were critical for solving the game, but due to mandatory capturing rules the search space reduces much faster.

Edit: Not sure why HN won't let me reply. But anyway: the error that you're both making is assuming that the positions in which humans stop and score are "endgame" or "finished" positions. That's not at all the case! A game is finished if there are no more legal moves besides filling one's own eyes. Counting at that point is trivial because all the life & death situations are "resolved". Monte Carlo programs play until those positions, not the ones where a human would stop the game.

(if you now bring up seki, you get half a cookie)

Re:The Mystery of Go, the Ancient Game That Computers Still ... by thinkpad20 on Monday May 12, 2014 @10:25AM (#7732839)
It seems you've studied this more than me, so perhaps I'm just misunderstanding you, but it sounds like you are equating a finished game with endgame. Scoring a finished game is obviously trivial, but even when a small number of positions remain open on a Go board, the game tree is still combinatorically vast, and I don't think there are any "simple rules" for determining optimal play.
Re:The Mystery of Go, the Ancient Game That Computers Still ... by thesteamboat on Monday May 12, 2014 @01:56PM (#7734308)
As it turns out, Go endgames are surprisingly tractable with clever mathematics. See for example http://senseis.xmp.net/?MathematicalGo
Re:The Mystery of Go, the Ancient Game That Computers Still ... by sehugg on Monday May 12, 2014 @10:30AM (#7732864)
I wouldn't say scoring is trivial -- it depends on both players agreeing which stones are alive or dead. Experienced Go players "just get it" but computers don't: http://www.andromeda.com/people/ddyer/go/scoring-games.html
Re:The Mystery of Go, the Ancient Game That Computers Still ... by rockdoe on Monday May 12, 2014 @10:46AM (#7732973)
Scoring is trivial - if the game is actually finished. No human wants to play go games to the finish so essentially all human games are scored by agreement. But a Monte Carlo program just simulates the game vs itself. See the addenum to my post above.
Re:The Mystery of Go, the Ancient Game That Computers Still ... by howeman on Monday May 12, 2014 @01:52PM (#7734280)
I don't know what you mean by "the game is actually finished".

AGA Rules: 9) Ending the Game: Two consecutive passes signal the end of the game.

New Zealand rules: The game is finished when both players agree that there are no more worthwhile moves.

Re:The Mystery of Go, the Ancient Game That Computers Still ... by rockdoe on Tuesday May 13, 2014 @08:42AM (#7737815)
Those rulesets weren't written by mathematicians. What do they say about life & death disputes while scoring "after the game has ended"? I'm going to guess: Resume the game.

Humans agreeing on a score and outcome has little to do with what a program has to do to calculate this score.

Re:The Mystery of Go, the Ancient Game That Computers Still ... by howeman on Wednesday May 14, 2014 @02:12AM (#7742442)
It's complicated. Most rulesets (AGA, New Zealand, I believe chinese) say "resume the game". The Japanese ruleset is a lot more complicated.

I still don't see your argument. Humans and humans are capable of agreeing on a score with those rulesets. Computers are also capable of following the ruleset and agreeing on the score. Computer vs. human games are not playing by a different ruleset. By that ruleset, the game is over when both sides pass.

Re:The Mystery of Go, the Ancient Game That Computers Still ... by stcredzero on Monday May 12, 2014 @01:59PM (#7734330)
Edit: Not sure why HN won't let me reply

I've also encountered this bug. Please bring it up with dang.

Re:The Mystery of Go, the Ancient Game That Computers Still ... by DanBC on Monday May 12, 2014 @02:03PM (#7734352)
It's not a bug. It is a delay on replying to nested comments.

Click the [link] link to get a reply box quicker.

Re:The Mystery of Go, the Ancient Game That Computers Still ... by asolove on Monday May 12, 2014 @09:27AM (#7732524)
I think the above is trying to say that the percentage of total possible trees that a human would bother considering is much lower in Go than most games, like chess. So the computational resources needed to do Monte Carlo and get results competitive with human players are much greater.

But the poster is wrong in saying that this means computers need to use heuristics. Indeed, the recent breakthroughs in Go-playing programs come from removing heuristics that previously helped the programs prune the tree space and instead just using Monte Carlo to simulate all possibilities.

Re:The Mystery of Go, the Ancient Game That Computers Still ... by hyperpape on Monday May 12, 2014 @09:32AM (#7732543)
Actually, computers use relatively knowledge heavy playouts these days. http://lifein19x19.com/forum/viewtopic.php?f=18&t=9371.

There's a tricky balance, because incorporating too much knowledge/heuristic use can make the program miss good but surprising moves. Nonetheless, the trend seems to be heavy playouts.

Re:The Mystery of Go, the Ancient Game That Computers Still ... by sehugg on Monday May 12, 2014 @09:49AM (#7732619)
Yes, the strategy for rollouts (the rest of the game after you leave the currently explored tree) are still an area of research. The successful programs usually involve some sort of local shape matching or other heuristic, sometimes trained using ML techniques.

One of the surprising results is that having stronger play between opponents in the rollout phase does not always equate with a successful search. Having a balanced strategy -- that is, one that does not introduce a bias for either player -- appears more important.

Re:The Mystery of Go, the Ancient Game That Computers Still ... by rdtsc on Monday May 12, 2014 @10:01AM (#7732695)
> Monte Carlo based programs play out entire games

Would that be pretty much impossible with Go on current hardware and software?

Re:The Mystery of Go, the Ancient Game That Computers Still ... by hyperpape on Monday May 12, 2014 @10:04AM (#7732714)
No, it's just 300 or so moves. It's an entire game, not an entire game-tree (all possible moves).
Re:The Mystery of Go, the Ancient Game That Computers Still ... by rockdoe on Monday May 12, 2014 @10:03AM (#7732707)
Not sure what you mean? That's exactly how go programs work today. They don't need to play out the games with an optimal strategy. Just an unbiased, sufficiently random one.