How to tune search parameters ?
Moderator: Ras
-
Henk
- Posts: 7251
- Joined: Mon May 27, 2013 10:31 am
How to tune search parameters ?
It seems to be possible to tune evaluation parameters automatically. But what about the other parameters like for instance formulas for R, LMR reduction size, futility boundaries etc. Or is it just change one parameter a bit and then play a few hundred games and see if ELO has increased.
-
hgm
- Posts: 28457
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: How to tune search parameters ?
more like a few thousand. But otherwise, that is the idea.
-
tpetzke
- Posts: 686
- Joined: Thu Mar 03, 2011 4:57 pm
- Location: Germany
-
Henk
- Posts: 7251
- Joined: Mon May 27, 2013 10:31 am
Re: How to tune search parameters ?
It says fitness function is a knockout tournament. So how many games do you play to determine the fitness of a candidate (bit vector)? [By the way genetic algorithm only finds a local optimum. ]
-
mvk
- Posts: 589
- Joined: Tue Jun 04, 2013 10:15 pm
Re: How to tune search parameters ?
Similar method, see last line here.Henk wrote:It seems to be possible to tune evaluation parameters automatically. But what about the other parameters like for instance formulas for R, LMR reduction size, futility boundaries etc. Or is it just change one parameter a bit and then play a few hundred games and see if ELO has increased.
[Account deleted]
-
Henk
- Posts: 7251
- Joined: Mon May 27, 2013 10:31 am
Re: How to tune search parameters ?
I only play a few hundred games and even worse against itself. So would it be possible to go from a -> b -> c ->..... -> z where elo z < elo ahgm wrote:more like a few thousand. But otherwise, that is the idea.
if there is a small chance that a transition from a->b is not an improvement.
-
bob
- Posts: 20943
- Joined: Mon Feb 27, 2006 7:30 pm
- Location: Birmingham, AL
Re: How to tune search parameters ?
As HGM suggested, at least a few thousand games are needed. And you can't just play ultra-fast games. Some search changes will behave differently at longer time controls and you want to be sure you don't make it better at very fast games, but worse at slower games which really count more.Henk wrote:It seems to be possible to tune evaluation parameters automatically. But what about the other parameters like for instance formulas for R, LMR reduction size, futility boundaries etc. Or is it just change one parameter a bit and then play a few hundred games and see if ELO has increased.
-
tpetzke
- Posts: 686
- Joined: Thu Mar 03, 2011 4:57 pm
- Location: Germany
Re: How to tune search parameters ?
I increase the number of played games with each generation. In the early generations some wild candidates are generated, so it takes fewer games to find one of the stronger ones. Later the candidates are closer to each other so I play some more games (700 or so per generation). The winner is not necessarily the strongest one in that generation (far to less games for that) but it is usually a good one. That is enough for the algorithm to converge.So how many games do you play to determine the fitness of a candidate (bit vector)?
So do all the other optimizers presented here but unlike the others GAs have the chance to leave a local optimum again and find a better one.By the way genetic algorithm only finds a local optimum.
-
Henk
- Posts: 7251
- Joined: Mon May 27, 2013 10:31 am
Re: How to tune search parameters ?
I remember I once also used an optimizer to optimize the parameters of a genetic algorithm. Like population count, crossover probability mutation probability etc.