Author: Robert Hyatt
Date: 20:25:32 02/10/03
Go up one level in this thread
On February 10, 2003 at 16:21:23, Sune Fischer wrote: >I'm fooling around with some root node aspiration search, >Looks like it is a tad unstable, I wonder if that is normal. > >It produces different preferred moves at different plies. >E.g. normally it prefers e4 at ply 11, but using a narrow window of 0.1 pawn it >prefers e4 already at ply 9. Sure the hashtable is going to make a difference >here, I realize that, but still a change on the root move is not an >insignificant effect. > >The narrower the window, the more instability. Is this to be expected? > I don't see why. With _one_ possible exception. "lazy evaluation". It might cause lazy eval errors if you are not careful. But if you disable lazy evaluation, and you get different best move/score at the root based on the aspiration window, you have a problem. Just beware of things based on alpha/beta, such as lazy evaluation, or perhaps some sort of forward-pruning issue (such as null-move). If you want to post a position, I can twiddle my aspiration to whatever you are testing with and run the same searches and post what happens to me at those window widths... >the code: > >window = param::pawn_unit/10; >walpha = previous_score-window; >wbeta = previous_score+window; >score = -b.Search(1,ONEPLY*(maxdepth-1),-wbeta,-walpha,0); >if (score <= walpha) { > score = -b.Search(1,ONEPLY*(maxdepth-1),-wbeta,-alpha,0); > if (score >= wbeta) > score = -b.Search(1,ONEPLY*(maxdepth-1),-beta,-alpha,0); >} else if (score >= wbeta) { > score = -b.Search(1,ONEPLY*(maxdepth-1),-beta,-walpha,0); > if (score <= walpha) > score = -b.Search(1,ONEPLY*(maxdepth-1),-beta,-alpha,0); >} > > >results of different window widths: > >window=pawn_unit: > >1 -1 0 1 1.a3 >1 14 1 5 1.d3 >1 23 1 14 1.d4 >1 105 1 21 1.Nc3 >2 -103 1 52 1.Nc3 Nf3 >2 0 2 96 1.Nf3 Nf6 >3 103 2 280 1.Nf3 Nf6 2.Nc3 >4 -23 2 507 1.Nf3 Nc3 >4 23 3 1535 1.Nc3 Nf6 2.Nf3 >5 23 3 1711 1.Nc3 Nf6 2.Nf3 >6 0 4 2781 1.Nc3 Nf6 2.Nf3 Nc6 3.e4 e5 >7 16 5 7890 1.Nc3 Nf6 2.Nf3 Nc6 3.d4 d5 4.B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 Nc6 3.e4 e5 >14 14 3647 25603089 1.Nc3 Nf6 2.Nf3 Nc6 3.e4 e5
This page took 0.01 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.