Not logged inCSS-Forum
Forum CSS-Online Help Search Login
CSS-Shop Impressum Datenschutz
Up Topic Hauptforen / CSS-Forum / Bug of Komodo 7a using syzygy TB
- - By Orlando de la Vega Date 2014-05-28 11:31
Hi all,
I found a bug of Komodo 7a using syzygy 6-man WDL.
Here some of the positions where I found it :

4k3/1R6/r2n4/5K2/8/4P3/8/8 w - -
8/6r1/8/5K2/8/1kP5/N2R4/8 w - -
6k1/4R3/6p1/6K1/7P/8/2b5/8 w - -
8/8/4kp2/1P3R2/6K1/1r6/8/8 w - -
r7/8/Pk6/2N5/6K1/8/2R5/8 b - -
8/8/8/R7/P3K1kp/8/8/5b2 w - -
8/1B6/5k2/5P2/8/2K1Pn2/8/8 b - -

Best,
Parent - - By Tom Paul Date 2014-05-28 11:36
Bugs dürfte es reichlich geben, wenn man von anderen Engines übernimmt, dann harmoniert es nicht immer so wie man es gerne hätte.
Parent - - By Thomas Schoenegger Date 2014-05-28 15:56
was wurde denn übernommen?
Hat nicht auch das Stockfish Team von Houdini übernommen (Richard Vida's Imput nach seinem Houdini 3 dekompilieren). Lies mal nach.
Immer mehr hoffe ich, dass Stocki nach dem offizielem Release in den meisten Listen hinter Komodo landet. Stocki wäre ohne den Spielstärkezuwachs von Houdini und Komodo niemals so stark geworden.
Komodo ist und bleibt eine meiner Lieblingsengine.
Thomas Schönegger
Parent - - By Tom Paul Date 2014-05-29 11:09
Frage das Komodo Team.
Erkläre das mal nächer mit Richard...
Nach dem offiziellen Release wird Stockfish stärker sein als der Superfinal Stockfish.
Wie sollte er auch 100 ELO schwächer werden? Nur um hinter Komodo zu landen?
Stockfishs Spielstärkezuwachs durch Houdini und Komodo entstanden?
Ja wo ist denn der Code von Komodo und Houdini?
In Wirklichkeit ist es umgekehrt, dass haben Houdart und das Komodo Team zugegeben!
ML sagt und andere sagen oft im Chat, dass sie sich regelmäßig den Stockfish Code und die Dev. Versionen ansehen.
Und es sieht danach aus, dass sie einiges mehr über Stockfishs Code Wissen als einige Mitglieder aus dem Stockfish Team!
Parent - By ? Date 2014-05-29 13:19
Mein Letztes Posting diesbezüglich. Ich erkläre gar nix. Bist nicht du der hier Behauptungen aufstellst "Bug dürfte es reichlich geben" ohne darauf einzugehen.
Wir werden sehen wie stark Stocki sein wird. Schon zu Jahresbeginn wurde lautstark proklamiert, dass Stockfish die Nummer 1 ist! (Auch von deiner Seite) FCT und der Ipon Test mit einer Dev-Version zeigten was Anderes. Sorry
Thomas Schönegger
Parent - By Jeremy Bernstein Date 2014-05-29 10:06
Das möchte ich auch fragen: Was genau wurde "übernommen"? Ich habe die Syzygy-Unterstützung in Komodo programmiert und habe nichts außer Ronald de Mans Probing-Code-Beispiel als Grundlage genommen (was erforderlich ist). Also lass uns die Gerüchtsküche sparen: Gibt es Fragen zur Syzygy-Implementation in Komodo? Ich stehe zur Verfügung...

lg, Jeremy
Parent - - By Jeremy Bernstein Date 2014-05-29 10:01
Hi,

If you are only using the WDL bases, there is no information about the 50-move rule available. In that case, the Syzygy probe returns a move list which contains winning/drawing moves, but without regard for the distance, causing "wrong" moves to be searched further (we saw a position where a winning position was drawn when a "winning" move entered a variation containing only piece movement, ending in mate after 53 moves, too bad!).

So with DTZ bases additionally, I get:

4k3/1R6/r2n4/5K2/8/4P3/8/8 w - - bm Kf4 (Kg5, Ke5 also win fastest) // WDL-only: Kf4
8/6r1/8/5K2/8/1kP5/N2R4/8 w - - bm Ke6 (Ke5, Rh2 also win fastest) // WDL-only: Re2, then Ke5, Ke4
6k1/4R3/6p1/6K1/7P/8/2b5/8 w - - bm Rc7 (Kh6, Ra7 also win fastest) // WDL-only: Ra7
8/8/4kp2/1P3R2/6K1/1r6/8/8 w - - bm Rc5 (Rh5, Rf4, Rf3, Rf2, Rf1, b6 also draw) // WDL-only: Rc5
r7/8/Pk6/2N5/6K1/8/2R5/8 b - - bm Rh8 (Kb5, Rd8, Re8, Rg8+, Ra7 also draw) // WDL-only: Re8
8/8/8/R7/P3K1kp/8/8/5b2 w - - bm Ra7 (only winning move) // WDL-only: Ra7
8/1B6/5k2/5P2/8/2K1Pn2/8/8 b - - bm Nh2 (Ne5, Ng5, Ng1 also draw) // WDL-only: Nh2

I am a little puzzled. Of course, since you didn't actually mention what the bug is that you found, it's hard to know if anything that I just tested was relevant. Please provide some more information when you have a moment.

The Syzygy TBs without DTZ are not very useful, IMO. I believe that Stockfish testing also demonstrated that there was no particular strength improvement by using the WDL bases only, and if you are using Komodo for analysis, you need the 50-move rule information. My advice: get the DTZs.

Jeremy
Parent - - By Rainer Maikowski Date 2014-05-29 11:50
Was ist WDL und DtZ?
RMai
Parent - - By Jeremy Bernstein Date 2014-05-29 13:13
Hi Rainer,

The Syzygy tablebases comprise 2 two sets of files: WDL and DTZ. WDL are the win/draw/loss tablebases. DTZ are "distance to zero (of the 50-move clock)" tablebases. In order to use the Syzygy bases, you need at least the WDL files (the DTZ probe uses the WDL files, too), but in order to use them effectively for standard chess, where the 50-move rule is observed, you need both sets. Note that the Syzygy bases are different from Nalimov or Gaviota tablebases, which are DTM (distance to mate). The Syzygy bases don't report fastest wins, rather fastest distance to the zeroing of the 50-move clock -- a pawn move is rated higher than a non-capturing queen move which mates, therefore the engine's own search is used on the move list provided by a probe to discover which of the provided moves is "best".

For best results, the WDL files (.rtbw extension) should be on an SSD drive. The DTZ files (.rtbz extension) can be on an HDD or on SSD, as desired.

Best, lg, Jeremy
Parent - By Rainer Maikowski Date 2014-05-29 17:41
Thank you Jeremy,
I have both, so I think, its ok.
RMai
Parent - - By Werner Mueller Date 2014-05-29 16:58
Jeremy Bernstein schrieb:

If you are only using the WDL bases, there is no information about the 50-move rule available.

Das ist so nicht richtig und würde auch gar keinen Sinn machen.

Ronald de Man in http://www.talkchess.com/forum/viewtopic.php?t=47681:

It generates two sets of files:
- WDL files (extension: .rtbw) storing win/draw/loss information for access during search.
- DTZ files (extension: .rtbz) storing distance-to-zero information for access at the root.

In addition to win/draw/loss information, the WDL files also store whether the win or loss can be enforced within 50 moves.
Parent - - By Jeremy Bernstein Date 2014-05-29 19:51
Jein.

Du hast natürlich Recht: die WDL-Bases können Auskunft darüber geben, ob ein Gewinn binnen 50 Züge von der aktuellen Stellung erfolgt. Allerdings, wenn ich schon beim 49. Zug bin und nur die WDL-Bases installiert habe, bekomme ich alle Züge bei einer TB-Probe, die binnen 50 Züge gewinnen, ohne Rücksicht auf die 50-Züge-Uhr, ohne weitere Auskunft. In dem Moment sucht Komodo selber und versucht, aus dieser Liste einen Zug zu finden, der immer noch gewinnt (sprich: die 50-Züge-Uhr zurücksetzt oder Matt gibt), falls es ihn noch gibt.

Aber du kannst es dir vorstellen: es wird zunehmend schwierig, auf dem richtigen Pfad zu bleiben. Eine falsche Entscheidung kann das Spielergebnis leicht ändern.

Nach wie vor: Wenn die DTZ-Bases auch installiert sind, gibt es diese Art von Schwierigkeiten nicht.

lg jb
Parent - By Werner Mueller Date 2014-05-29 21:51
Jeremy Bernstein schrieb:

Aber du kannst es dir vorstellen: es wird zunehmend schwierig, auf dem richtigen Pfad zu bleiben. Eine falsche Entscheidung kann das Spielergebnis leicht ändern.

Klar, sobald eine tbs-Stellung auf dem Brett ist, wird's ohne DTZ-Bases (evtl. mehr als) haarig.
Parent - - By Orlando de la Vega Date 2014-05-29 18:44
Hi Jeremy ,
Mant thanks for your answer, but the moves chosen by Komodo 7a are very bad !!!!!

4k3/1R6/r2n4/5K2/8/4P3/8/8 w - - Kf4 ??
8/6r1/8/5K2/8/1kP5/N2R4/8 w - - Nc1 ??
6k1/4R3/6p1/6K1/7P/8/2b5/8 w - - h5 ??
8/8/4kp2/1P3R2/6K1/1r6/8/8 w - - Rxf6+ ??
r7/8/Pk6/2N5/6K1/8/2R5/8 b - - Kc6 ??
8/8/8/R7/P3K1kp/8/8/5b2 w - - Rd5 ??
8/1B6/5k2/5P2/8/2K1Pn2/8/8 b - - Nh4 ??

Best,
Orlando
Parent - By Hi Orlando Date 2014-05-29 19:02
Looks like the problem I was referring to in my 2nd response to your post -- you have the unlucky early binary of K7a. Simply download Komodo again and the problem should be gone.

jb
Parent - - By Ernest Bonnem Date 2014-05-30 21:13
Orlando de la Vega schrieb:
the moves chosen by Komodo 7a are very bad !!!!!

4k3/1R6/r2n4/5K2/8/4P3/8/8 w - - Kf4 ??

You must be VERY confused: Kf4 is one of the 3 best moves (it only loses in 14 !)
Just look at 6-men Nalimov...
Parent - By Orlando de la Vega Date 2014-05-31 19:37
Ernest Bonnem schrieb:

Orlando de la Vega schrieb:
the moves chosen by Komodo 7a are very bad !!!!!

4k3/1R6/r2n4/5K2/8/4P3/8/8 w - - Kf4 ??

You must be VERY confused: Kf4 is one of the 3 best moves (it only loses in 14 !)
Just look at 6-men Nalimov...


Hi Ernest,
Yes you are right, I didn't copy the good position.
The good one was this : 4k3/1R6/r7/6K1/4n3/4P3/8/8 w - - Kf5 ??

Best,
Parent - - By Klaus S. Date 2014-05-29 20:50
Jeremy Bernstein schrieb:
....
So with DTZ bases additionally, I get:

4k3/1R6/r2n4/5K2/8/4P3/8/8 w - - bm Kf4 (Kg5, Ke5 also win fastest) // WDL-only: Kf4
8/6r1/8/5K2/8/1kP5/N2R4/8 w - - bm Ke6 (Ke5, Rh2 also win fastest) // WDL-only: Re2, then Ke5, Ke4
....
Jeremy

8/6r1/8/5K2/8/1kP5/N2R4/8 w - - bm Ke6 ist Matt in 44  (Ke5, Rh2 ist Matt in 43 !!!)

MfG
WL
Parent - By Jeremy Bernstein Date 2014-05-29 21:05
Allerdings, stimmt. Tja, beim neuen Lauf kriege ich Te2 bei d30, dann aber Th2 bei d31 (auch #44), dann Ke4 bei d32 (#43), wieder Te2 d34, usw. Weil die Syzygys keine Auskunft geben, wie schnell eine Fortsetzung zum Matt führt, muss Komodo suchen und sein bestes tun. Irgendwann wird K das Matt sehen, dann wird die generische #1000 Eval abgeschaltet und die tatsächliche Matt-Eval angezeigt. Alles in Ordnung, aber das ist der wesentliche Unterschied zu Nalimov/Gaviota.

lg Jeremy
Parent - By Jeremy Bernstein Date 2014-05-29 14:11
By the way, there was a problem with the initial uploaded version of 7a which caused problems on WDL-only systems. Without knowing what problem you're having, it might be a good idea to download the engine again and make sure that you didn't get one of those early copies. Nevertheless: the DTZs are recommended.

jb
Up Topic Hauptforen / CSS-Forum / Bug of Komodo 7a using syzygy TB

Powered by mwForum 2.29.3 © 1999-2014 Markus Wichitill