Designing an analysis friendly Stockfish?
Re: Designing an analysis friendly Stockfish?
Thanks Jeremy, there are already results of improvement not just for analysis!
Re: Designing an analysis friendly Stockfish?
Nice!Peter C wrote:
I added a UCI option to control the depth in ply it's used up to. With my default setting of 20 (which could/should be tweaked a bit), it's tad better than SF default at 40 moves/1 second.
I use the UCI optionsI've noticed that our SF tends to lose on time more often than the default at hyperbullet (40 moves/1 second), especially in the first 4-5 games. Has anyone else noticed this behavior?
Peter
Minimum Thinking Time=2
Emergency Base Time=20
Emergency Move Time=7
for hyperbullet games. Haven't noticed any problems with these settings.
-
- Site Admin
- Posts: 1226
- Joined: Wed Jun 09, 2010 7:49 am
- Real Name: Jeremy Bernstein
- Location: Berlin, Germany
- Contact:
Re: Designing an analysis friendly Stockfish?
Yes, that patch is applied. I've updated to the most recent version of GTB probing code locally, but haven't built it yet. I can't find a changelog, so I don't know what's new. It would be great to figure out what didn't work there, though.Peter C wrote:I'd guess it's probably a bug in the GTB probing. Is the Decemberists' patch applied?Jeremy Bernstein wrote:Here's a game:
...
Note how the PA_J+GTB finds a forced mate around move 80 or so and then loses its way by move 99. What happened?
Here's the where the trouble starts.
[FEN "8/2k5/4Q3/1q6/6P1/5K2/8/8 w - - 4 79"]
[SetUp "1"]
79. Kf4 {(Kf3-f4)
+1.73/100 1} Qf1+ {(Qb5-f1+ Kf4-e5 Qf1-e1+ Ke5-f6 Qe1-f2+ Kf6-g7 Qf2-d4+
Kg7-f7 Qd4-f4+ Kf7-g6 Qf4-h2 g4-g5 Qh2-h4 Kg6-f6 Qh4-f4+ Qe6-f5 Qf4-h4
Kf6-f7 Qh4-c4+ Kf7-f8 Qc4-b4+ Kf8-g7 Qb4-b2+ Qf5-f6 Qb2-e2 Kg7-f7 Qe2-c4+
Kf7-f8 Qc4-g4 g5-g6 Kc7-d7 g6-g7) -3.23/16 0} 80. Kg5 {(Kf4-g5 Qf1-b5+
Kg5-f6) +M49/6 0} Kb8 {(Kc7-b8 Qe6-e5+ Kb8-b7 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(checking it on the Shredder online TB now Kf4 is +M51). But at some point, Stockfish is making moves which are wrong, and it loses track of the forced mate.
-
- Posts: 127
- Joined: Thu Jun 10, 2010 1:39 am
- Real Name: Martin Wyngaarden
- Location: Holland, Michigan
Re: Designing an analysis friendly Stockfish?
Does the lagging 10-15 Elo include version G?fruity wrote:I'm still fiddling around. According to my tests at 20'' all the versions so far are 10-15 Elo below SF default. Best result I've found so far isgaard wrote: Any results with the longer time control game for this fix? These updates to history/killers are in version I. Against the default with the new ok_to_use_tt() SF I have a score of +235 -140 =156 from the perspective of the default version at g/24"
(1) remove the history/killer tweak. It seems to work well only for low depths. Could be reintroduced later with tweaking for low depths only, but at the moment it doesn't help to find the best PV TT code, so leave it away for now.
(2) use template and inline for ok_to_use_TT() and the following codeThis seems to be about -5 ELO compared to SF default at 20'', but needs more testing, also at longer tc.Code: Select all
template <NodeType PvNode> inline bool ok_to_use_TT(const TTEntry* tte, Depth depth, Value alpha, Value beta, int ply) { Value v = value_from_tt(tte->value(), ply); return PvNode ? tte->depth() >= depth && tte->type() == VALUE_TYPE_EXACT && v < beta && v > alpha : ( tte->depth() >= depth || v >= Max(value_mate_in(PLY_MAX), beta) || v <= Min(value_mated_in(PLY_MAX), alpha) ) && ( ((tte->type() & VALUE_TYPE_LOWER) && v >= beta) || ((tte->type() & VALUE_TYPE_UPPER) && v <= alpha) ); }
It seems there is still work left to find a real neat solution regarding the playing strength.
I have tested this at g/2' and could not find a significant difference from default,
and neither could Ingo using a time control of 5'+3", granted with only 600 games.
-
- Site Admin
- Posts: 1226
- Joined: Wed Jun 09, 2010 7:49 am
- Real Name: Jeremy Bernstein
- Location: Berlin, Germany
- Contact:
Re: Designing an analysis friendly Stockfish?
OK. 88. Kf5 is suboptimal, dropping us from +M37 after 87.Dd5 back to +M41. 90.Kg6 drops us back to +M52 from +M39. 95.Kg4 +M49 instead of Ke4 +M47 and so on. It's one step forward, five steps backward.Jeremy Bernstein wrote:Yes, that patch is applied. I've updated to the most recent version of GTB probing code locally, but haven't built it yet. I can't find a changelog, so I don't know what's new. It would be great to figure out what didn't work there, though.Peter C wrote:I'd guess it's probably a bug in the GTB probing. Is the Decemberists' patch applied?Jeremy Bernstein wrote:Here's a game:
...
Note how the PA_J+GTB finds a forced mate around move 80 or so and then loses its way by move 99. What happened?
Here's the where the trouble starts.
[FEN "8/2k5/4Q3/1q6/6P1/5K2/8/8 w - - 4 79"]
[SetUp "1"]
79. Kf4 {(Kf3-f4)
+1.73/100 1} Qf1+ {(Qb5-f1+ Kf4-e5 Qf1-e1+ Ke5-f6 Qe1-f2+ Kf6-g7 Qf2-d4+
Kg7-f7 Qd4-f4+ Kf7-g6 Qf4-h2 g4-g5 Qh2-h4 Kg6-f6 Qh4-f4+ Qe6-f5 Qf4-h4
Kf6-f7 Qh4-c4+ Kf7-f8 Qc4-b4+ Kf8-g7 Qb4-b2+ Qf5-f6 Qb2-e2 Kg7-f7 Qe2-c4+
Kf7-f8 Qc4-g4 g5-g6 Kc7-d7 g6-g7) -3.23/16 0} 80. Kg5 {(Kf4-g5 Qf1-b5+
Kg5-f6) +M49/6 0} Kb8 {(Kc7-b8 Qe6-e5+ Kb8-b7 Kg5-g6 Qf1-d3+ Qe5-f5 Qd3-e3
Kg6-f7 Kb7-c7 g4-g5 Kc7-d6 Qf5-f6+ Kd6-d7 g5-g6 Qe3-e8+ Kf7-g7 Qe8-e4
Qf6-f7+ Kd7-d6 Kg7-g8 Qe4-c2 Qf7-f6+ Kd6-d5 g6-g7 Qc2-g2 Qf6-f5+ Kd5-d6
Kg8-f7) -3.27/16 0} 81. Qe5+ {(Qe6-e5+ Kb8-a7) +M47/6 0} Kb7 {(Kb8-b7
Kg5-g6 Qf1-d3+ Kg6-f7 Qd3-c4+ Qe5-e6 Qc4-f4+ Kf7-g6 Qf4-g3 g4-g5 Kb7-b8
Qe6-e7 Qg3-d3+ Kg6-g7 Qd3-d4+ Qe7-f6 Qd4-d7+ Qf6-f7 Qd7-d4+ Kg7-g8 Qd4-e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 Kc3-d3 Qh1-b1+ Kd3-e2 Kc5-b5 Qe6-e5+ Kb5-c4 g6-g7
Qb1-d3+ Ke2-e1 Qd3-b1+ Ke1-f2 Qb1-b6+) -3.79/15 0} 103. Qe6 {(Qd6-e6
Qh1-a1+ Kc3-d3) +M41/6 0} Ka5 {(Kb5-a5 Kc3-d4 Qh1-a1+ Kd4-d5 Qa1-d1+ Kd5-e5
Qd1-e1+ Ke5-f5 Qe1-f2+ Kf5-g5 Qf2-g3+ Qe6-g4 Qg3-e3+ Qg4-f4 Qe3-e7+ Kg5-g4
Qe7-e2+ Kg4-f5 Qe2-c2+ Qf4-e4 Qc2-f2+ Kf5-g5 Qf2-d2+ Kg5-f6 Qd2-d8+ Qe4-e7
Qd8-b6+ Kf6-f7 Qb6-b3+ Qe7-e6 Qb3-f3+ Kf7-e8 Qf3-c3 Qe6-f5+ Ka5-b6 Ke8-f8)
-4.20/14 0} 104. Kc4 {(Kc3-c4) +4.56/6 0} Qc6+ {(Qh1-c6+ Qe6xc6) 0.00/25 0}
105. Qxc6 {(Qe6xc6) 0.00/100 1 Stalemate} 1/2-1/2
I'm not sure what's going on, in fact, Kf4 might be the right move (checking it on the Shredder online TB now Kf4 is +M51). But at some point, Stockfish is making moves which are wrong, and it loses track of the forced mate.
What I don't know is: are the tablebases at fault? Or is the probing code at fault? I'll continue to research it, but maybe someone knows what's going on already.
UPDATE: Houdini finds 88.Kf7 no problem, so there's most likely an issue with the probing code (unless the move is getting chucked for some other reason). I'll see what I can puzzle out in the next day or two.
Re: Designing an analysis friendly Stockfish?
My results were:gaard wrote: Does the lagging 10-15 Elo include version G?
I have tested this at g/2' and could not find a significant difference from default,
and neither could Ingo using a time control of 5'+3", granted with only 600 games.
Version G: 616 games/20'' 6 threads per engine: +93, -120, =403 (-15 Elo)
Version H: 1187 games/20'' 6 threads per engine: +210, -243 =734 (-10 Elo)
Re: Designing an analysis friendly Stockfish?
That did indeed help. Thanks.fruity wrote:Minimum Thinking Time=2
Emergency Base Time=20
Emergency Move Time=7
I ran a 500 game 40/1 test using cutechess-cli between the latest Stockfish PA GTB git and the default Stockfish (my own compile, with the same settings as the SF git compile). ProbeOnlyAtRoot was on for SF PA GTB.
Results:
Code: Select all
Score of Stockfish 2.0.1 PA GTB vs Stockfish 2.0.1: 110 - 188 - 202
ELO difference: -55
Peter
-
- Posts: 127
- Joined: Thu Jun 10, 2010 1:39 am
- Real Name: Martin Wyngaarden
- Location: Holland, Michigan
Re: Designing an analysis friendly Stockfish?
Can I suggest you run your tests until some minimum level of significance has been reached, for example,fruity wrote:My results were:gaard wrote: Does the lagging 10-15 Elo include version G?
I have tested this at g/2' and could not find a significant difference from default,
and neither could Ingo using a time control of 5'+3", granted with only 600 games.
Version G: 616 games/20'' 6 threads per engine: +93, -120, =403 (-15 Elo)
Version H: 1187 games/20'' 6 threads per engine: +210, -243 =734 (-10 Elo)
2.6-sigma for 99% confidence? IMO, the Elo differences are not very useful with a single opponent at
very fast time controls.
Version G: 616 games/20'' 6 threads per engine: +93, -120 (-1.85-sigma)
Version H: 1187 games/20'' 6 threads per engine: +210, -243 (-1.55-sigma)
Re: Designing an analysis friendly Stockfish?
You can and you are right, but at that tc and threads usage I won't afford to spent all the neccessary time in testing.gaard wrote:Can I suggest you run your tests until some minimum level of significance has been reached, for example,fruity wrote:My results were:gaard wrote: Does the lagging 10-15 Elo include version G?
I have tested this at g/2' and could not find a significant difference from default,
and neither could Ingo using a time control of 5'+3", granted with only 600 games.
Version G: 616 games/20'' 6 threads per engine: +93, -120, =403 (-15 Elo)
Version H: 1187 games/20'' 6 threads per engine: +210, -243 =734 (-10 Elo)
2.6-sigma for 99% confidence? IMO, the Elo differences are not very useful with a single opponent at
very fast time controls.
Version G: 616 games/20'' 6 threads per engine: +93, -120 (-1.85-sigma)
Version H: 1187 games/20'' 6 threads per engine: +210, -243 (-1.55-sigma)
For 1'' or 2'' games, 1 thread, it's possible to get significant results, but there are other risks besides statistically significance involved in such fast games.
Re: Designing an analysis friendly Stockfish?
It's clear that we are not 200 Elo weaker, but the goal should be to be slightly better, not slightly weaker. Maybe it's not possible or very hard at least to reach that goal, mainly because of the fact that TT entries doesn't contain path information, the main reason why SF default doesn't use PV TT hits. I have a few ideas to test left before I give up. But the project at this point is success anyway.Peter C wrote:That did indeed help. Thanks.fruity wrote:Minimum Thinking Time=2
Emergency Base Time=20
Emergency Move Time=7
I ran a 500 game 40/1 test using cutechess-cli between the latest Stockfish PA GTB git and the default Stockfish (my own compile, with the same settings as the SF git compile). ProbeOnlyAtRoot was on for SF PA GTB.
Results:Not tooooo bad. This is probably statistically meaningless anyway, but at least we know we aren't like 200 elo weaker....Code: Select all
Score of Stockfish 2.0.1 PA GTB vs Stockfish 2.0.1: 110 - 188 - 202 ELO difference: -55
Peter