Search found 565 matches

by D Sceviour
Sun Sep 13, 2020 7:32 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Speeding Up The Tuner
Replies: 38
Views: 6597

Re: Speeding Up The Tuner

What is the purpose of passing any position through a quiescent function? I would think for evaluation tuning, the evaluator has to produce results closest to the game result. The idea is to add the quiescence PV (if there is one) to the original EPD and then use that as the tuning data. Reason is ...
by D Sceviour
Sun Sep 13, 2020 11:48 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Speeding Up The Tuner
Replies: 38
Views: 6597

Re: Speeding Up The Tuner

The alternative is that everybody has to boot up their Python, download Python chess, download games databases, write some relatively simple EPD generator and then run those EPDs past some kind of (probably own home brew) quiescence function, and then again past a search and eval. The final stage i...
by D Sceviour
Sat Sep 12, 2020 7:24 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Speeding Up The Tuner
Replies: 38
Views: 6597

Re: Speeding Up The Tuner

Kieren Pearson wrote:
Mon Sep 07, 2020 6:29 am
I make a public repo: https://github.com/KierenP/ChessTrainingSets.
So far there is only one tuning file. It would be nice to see more contributions. I am looking for 4 million positions already filtered with a quiescent score.
by D Sceviour
Wed Sep 09, 2020 5:24 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Speeding Up The Tuner
Replies: 38
Views: 6597

Re: Speeding Up The Tuner

Even when your evaluator was piece-square only it couldn't be much faster than reading a FEN. But if you clear a few GB of memory that was not used in the first place... That is just wrong design. There is no reason at all to clear the hash table on setboard. There actually is never any need to cle...
by D Sceviour
Wed Sep 09, 2020 11:16 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Speeding Up The Tuner
Replies: 38
Views: 6597

Re: Speeding Up The Tuner

If reading a FEN takes more time than evaluating the position, there is something badly wrong with your FEN reader... Reading a FEN should not take measurably more time than reading a binary representation of the position. On the other hand, maybe my evaluator() is very fast. :D One problem discove...
by D Sceviour
Sun Sep 06, 2020 8:11 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Speeding Up The Tuner
Replies: 38
Views: 6597

Re: Speeding Up The Tuner

With 5x64x64 values, you get over 20K parameters. Some of these combinations are very frequent but many others will be less than 1 in a million. This makes overfitting a massive issue. You don't just need quality but also quantity in the dataset for it to work out, tens of millions of positions is ...
by D Sceviour
Sun Sep 06, 2020 3:55 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Speeding Up The Tuner
Replies: 38
Views: 6597

Re: Speeding Up The Tuner

After tuning, I force pawn-value-endgame to 256 and scale everything to that. I think the effect of trying to force all piece values to a set range is that the other terms will just adjust themselves to compensate, eg you might find all mobility values for the Queen raised, or the OST’s all with an...
by D Sceviour
Sun Sep 06, 2020 3:50 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Speeding Up The Tuner
Replies: 38
Views: 6597

Re: Speeding Up The Tuner

I intend to fix all my piece values as per the Xiphos method which I posted here: http://talkchess.com/forum3/viewtopic.php?f=7&t=68842&p=778360&hilit=xiphos#p778360 In fact you don't need piece values at all because they are always added to the PSQ tables. I keep the piece values separate only bec...
by D Sceviour
Sun Sep 06, 2020 11:35 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Speeding Up The Tuner
Replies: 38
Views: 6597

Re: Speeding Up The Tuner

I just read all the fens (about 4 million) at the start of the tuning process, convert them to binary positions and keep them in memory, this whole process takes a few seconds at most. That is interesting. I send each fen to a setboard() routine where it also converts to a binary position. Buffers ...
by D Sceviour
Sun Sep 06, 2020 3:54 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Speeding Up The Tuner
Replies: 38
Views: 6597

Re: Speeding Up The Tuner

With a grain size increment of one for example So... not Gradient Decent, then? You are doing naive texel tuning and hand adjusting values by +1 -1 searching for optima? The short answer is no, but your question is getting off topic. I have only recently resurrected tuning having not looked at it f...