hgm wrote:bob wrote:No. I probably want the move in the book, so that if the opponent plays it, I will know what to do. I just don't want to play it myself. This is exactly how humans memorize book lines in fact...
This is different in Polyglot book format: that stores positions, rather than lines, so that you don't have to store bad moves from a position, abut could still store the positions these moves lead to, and the refutation you would have to play there.
In principle, all the computation and move selection you do, could have been pre-calculated. In the end the entire procedure just boils down to picking a move with a certain probability.
I guess the confusion is because you want Crafty to work with a 'raw' book (containing unprocessed PGN frequencies only), while many others use 'cooked' books, and consider the selection process you do in Crafty as part of the book building process.
How does your book respond to 1.d4 d5 2.e3,Bg4
Does it play the move Nf3 here, or does it capture the bishop?
Storing positions+all playable moves is superior to just storing positions.
Todays engines are too strong to assume that returning 'in book' into a line that some 2300 guy like me played, is the best thing to do.
The problem of building books based upon statistics is dead wrong.
A line gets played forever until 1 clever dude figures out its refutation.
Majority of moves then is dead wrong, but after that the line just doesn't get played anymore once they start finding this SINGLE game in database and do not find an answer to that move anymore.
That is especially true for 2600+ players. Just a SINGLE game can refute lines played already succesfully by 30 guys. But their feeling is: "this line is objectively no good despite that 30 guys have won it before". The seek objectivity, as their opponents are more than strong enough to win a won position, regardless how "tough" it is to find the best moves. A guy like Anand is so really good, if you give him a positoin he'll find the best move usually. Especially just out of book they KNOW they have a good position. If you play some sudden move there, they WILL find the objective best move potentially.
There is no hiding for these guys. Additionally they really study a lot of games in their preparation of their booklines. Most GM's just play an opening or 2 regurarly. So they have to prepare really little compared to what Arturo has to prepare for his openingsbook against other engines.
Statistics and already played bookmoves are useful to study, but going blindfolded for transpositions is very dangerous.
Another problem is transposing back to a mainline where you don't want to get lured into.
So the above is possible to avoid with a trick, as Bob, who is going to react without reading the rest of the lines. Yet more common is transpositions to other mainlines.
Good example is the Fritz type books.
1.Nc3,d5 2.e4
Now YOUR book would transpose to 2..c6 here, just like Fritz books, in most cases.
You transpose to Caro-Kann there.
Nothing wrong with caro-kann.
There is nothing wrong with 2..d4 either
Both are great moves.
Yet the small problem is that an engine like Fritz will ALWAYS LOSE the opening caro-kann when white is an engine say: Hiarcs.
Hiarcs would wipe out fritz there, based upon mobility play. White has good mobility, black doesn't.
More important is that after 1.e4 you might want to play e5 or c5.
But you never prepared caro-kann.
Now then this transposition is REALLY a problem.
You can fix this case, but there is another quadrizillion ways to transpose.
Storing position+moves is a lot better therefore.
Thanks,
Vincent