TalkChess.com
Hosted by Your Move Chess & Games

Author Message
Mathieu Pagé

Joined: 13 Mar 2006
Posts: 265
Location: Québec

 Post subject: Learning piece-square table    Posted: Tue Feb 13, 2018 12:49 pm Hi, I'm rewriting my (a new) chess engine from scratch and I'm about to write a basic evaluation function that would at first only consists of material and piece-square table (psqt). For now I'm not gonna do any learning I'm just gonna chooses values that seems sensibles to me, but eventually I'm gonna want to do some automated learning. I'm trying to design my psqt with this in mind. A psqt traditionally contains 64 (squares) x 6 (pieces) x 2 (phases) -16 (unreachables squares by pawns) = 752 individuals values. This of course is a challenge to learn in an automated way. To reduce the number of learning parameters I though I would divide the board in a series of overlapping zones and that for each zones I would choose (and later machine-learn) a bonus or a malus to apply to all squares for that zone. This in theory would allow the machine learning algorithm to have less parameters to optimize. I'm guessing this idea isn't new and everyone is doing something like this, but I could not find any reference to this here or on the Chess Programming Wiki. For my first try I choses the following zones : Each row (8); Each column (8); The center squares; The squares off the center; The squares off off the center; The corners squares; The squares off the corners. This gave me 17 parameters per piece or 204 parameters to learn. This is still a lot I guess, but should be more manageable than 752. However it got more difficult to hand pick values because modifying one weight has effect on multiple squares. Is this something that is usually done to learn piece-squares tables or do you just learn each squares values independently? If you do something like this what zones do you define? Thanks._________________Mathieu Pagé mathieu@mathieupage.com
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
Subject Author Date/Time
Learning piece-square table Mathieu Pagé Tue Feb 13, 2018 12:49 pm
Eugene Kotlov Tue Feb 13, 2018 1:49 pm
Mathieu Pagé Wed Feb 14, 2018 2:06 am
Jonathan Rosenthal Tue Feb 13, 2018 3:01 pm
Eugene Kotlov Tue Feb 13, 2018 5:36 pm
Dann Corbit Tue Feb 13, 2018 7:40 pm
Álvaro Begué Tue Feb 13, 2018 7:48 pm
Dann Corbit Tue Feb 13, 2018 7:53 pm
Robert Pope Tue Feb 13, 2018 7:54 pm
Álvaro Begué Tue Feb 13, 2018 7:58 pm
Jonathan Rosenthal Wed Feb 14, 2018 11:43 am
Mathieu Pagé Wed Feb 14, 2018 2:15 am
Evert Glebbeek Wed Feb 14, 2018 6:10 am

 Jump to: Select a forum Computer Chess Club Forums----------------Computer Chess Club: General TopicsComputer Chess Club: Tournaments and MatchesComputer Chess Club: Programming and Technical DiscussionsComputer Chess Club: Engine Origins Other Forums----------------Chess Thinkers ForumChess Players ForumForum Help and Suggestions
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum