Which engine is best in winning drawn tablebases endgames?

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

Uri Blass
Posts: 11223
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Which engine is best in winning drawn tablebases endgames?

Post by Uri Blass »

it is possible to win drawn tablebases endgames against weak engines that do not use tablebases but I suspect stockfish is not the best in doing it because it is too smart and does not know to go for drawn positions when the opponent may go wrong because it evaluate them often as 0.00 even without tablebases.
Joerg Oster
Posts: 997
Joined: Fri Mar 10, 2006 4:29 pm
Location: Germany
Full name: Jörg Oster

Re: Which engine is best in winning drawn tablebases endgames?

Post by Joerg Oster »

Uri Blass wrote: Wed Jun 10, 2026 11:23 am it is possible to win drawn tablebases endgames against weak engines that do not use tablebases but I suspect stockfish is not the best in doing it because it is too smart and does not know to go for drawn positions when the opponent may go wrong because it evaluate them often as 0.00 even without tablebases.
Wrong question, imho. You can't win a drawn endgame.
A weaker engine may eventually blunder away a drawn endgame, but that's not quite the same.
Jörg Oster
Uri Blass
Posts: 11223
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: Which engine is best in winning drawn tablebases endgames?

Post by Uri Blass »

Joerg Oster wrote: Wed Jun 10, 2026 4:32 pm
Uri Blass wrote: Wed Jun 10, 2026 11:23 am it is possible to win drawn tablebases endgames against weak engines that do not use tablebases but I suspect stockfish is not the best in doing it because it is too smart and does not know to go for drawn positions when the opponent may go wrong because it evaluate them often as 0.00 even without tablebases.
Wrong question, imho. You can't win a drawn endgame.
A weaker engine may eventually blunder away a drawn endgame, but that's not quite the same.
You can help the weaker engine to blunder and from my point of view making moves that practically give better chances to win against weak engines (and probably also against humans) is better.

When I analyze my games with chess engines I want to know where I could make moves that give me better practical chances(engines that give 0.00 for different drawn positions even if one of them has better practical chances to win do not help and I want to know which engine to use to analyze my games when I am not sure if stockfish is the best)
syzygy
Posts: 6030
Joined: Tue Feb 28, 2012 11:56 pm

Re: Which engine is best in winning drawn tablebases endgames?

Post by syzygy »

Joerg Oster wrote: Wed Jun 10, 2026 4:32 pm
Uri Blass wrote: Wed Jun 10, 2026 11:23 am it is possible to win drawn tablebases endgames against weak engines that do not use tablebases but I suspect stockfish is not the best in doing it because it is too smart and does not know to go for drawn positions when the opponent may go wrong because it evaluate them often as 0.00 even without tablebases.
Wrong question, imho. You can't win a drawn endgame.
A weaker engine may eventually blunder away a drawn endgame, but that's not quite the same.
Same thing for chess from the starting position. Still we call it winning.

The goal of chess is to lure your opponent into making a blunder.
brianr
Posts: 541
Joined: Thu Mar 09, 2006 3:01 pm
Full name: Brian Richardson

Re: Which engine is best in winning drawn tablebases endgames?

Post by brianr »

Uri Blass wrote: Wed Jun 10, 2026 11:23 am it is possible to win drawn tablebases endgames against weak engines that do not use tablebases but I suspect stockfish is not the best in doing it because it is too smart and does not know to go for drawn positions when the opponent may go wrong because it evaluate them often as 0.00 even without tablebases.
This would be difficult to do with engine v engine matches.
However, for engine v human, Crafty had "swindle mode" to do this, IIRC
syzygy
Posts: 6030
Joined: Tue Feb 28, 2012 11:56 pm

Re: Which engine is best in winning drawn tablebases endgames?

Post by syzygy »

brianr wrote: Sat Jun 13, 2026 12:52 pm
Uri Blass wrote: Wed Jun 10, 2026 11:23 am it is possible to win drawn tablebases endgames against weak engines that do not use tablebases but I suspect stockfish is not the best in doing it because it is too smart and does not know to go for drawn positions when the opponent may go wrong because it evaluate them often as 0.00 even without tablebases.
This would be difficult to do with engine v engine matches.
However, for engine v human, Crafty had "swindle mode" to do this, IIRC
Stockfish does something very similar (last time I looked). If the position on the board is a tablebase draw or loss, it will switch to searching without probing the tablebases. (In case a of a draw, it will not search any losing moves in the root position.)

Uri's point is that, even in swindle mode, i.e. even if Stockfish does not probe the tablebases, it will usually know that the position is drawn and therefore will not be able to distinguish between drawing moves that make it difficult for a fallible opponent to hold the draw and drawing moves that make it easy for a fallible opponent to hold the draw.

In a way Uri's question has nothing to do with tablebases. If an engine has "perfect" search and evaluation, that can hurt the engine when playing against fallible opponents. Suppose a future engine is able to see that 1.a3 and 1.e4 are both a draw, then why would it pick 1.e4 over 1.a3? But of course 1.e4 will (very likely) give the engine better winning chances against a fallible opponent than 1.a3.

In practice the iterative search of Stockfish will probably tend to prefer "subjectively" better moves over "subjectively" worse moves, even if the moves are all draws and therefore "objectively" equally good.