Analyzing Predictive Point Values for Chess Pieces During a Game
In his follow-up article, Rasmus Baath talks about predictive piece values for chess pieces while in full game play and how to extract the importance of certain pieces.
Join the DZone community and get the full member experience.Join For Free
in a previous post i used the the million base 2.2 chess data base to calculate the predictive piece values of chess pieces. it worked out pretty well and here, just for fun, i thought i would check out what happens with the predictive piece values over the course of a chess game. in the previous analysis, the data (1,000,000 chess positions) was from all parts of the chess games. here, instead, are the predictive piece values using only positions up to the 10th first full moves (a full move is when white and black each have made a move):
compared with the predictive piece values using positions from all parts of the chess games , the values above are much closer to zero. as the values are given as log-odds (again, see the original post for a brief explanation) this means that the piece balance on the board in the first ten full moves doesn’t predict the outcome of the game very well. this makes sense as how well a player manages the opening of a game isn’t necessarily manifested as a piece advantage until much later in the game. also, notice that the loss of a rook actually results in a slightly higher probability of winning! this could be due to just a couple of games in the whole data set where one player sacrifices a rook for a positional advantage (as i figure it is pretty rare to lose a rook already during the ten first full moves).
most of the games in my data set have ended after 60 moves, as this plot shows:
therefore, i split up the data set into bins of 10 full moves, up to 60 full moves, which resulted in the following predictive piece values:
so, as we are getting later into a chess game, the stronger a piece advantage predicts a win. we can also scale the log-odds values so that they are relative to the value of a pawn, with a pawn fixed to 1.0 :
i don’t have much analysis to offer here, except for pointing out the obvious that (1) as before, the later we get into a chess game, the stronger a piece advantage predicts a win, (2) in the late game (full moves 50-60) the predictive piece values almost reach the usual piece values (♟:1, ♞:3, ♝:3, ♜:5, and ♛:9), and (3) that having the advantage of playing white (☆) contributes more to the prediction early in the game, but gets closer to zero later in the game.
update: some time after publishing this post i received the following interesting e-mail from marijn schouten:
the reason i am writing you is to comment on the “mystery regarding the low valuation of all the pieces compared to the pawn” and your assertion that “there is no reason why predictive piece values necessarily should be the same as the original piece values”.
given the importance of material in chess and the quality of the known values, any plausible outcome would need to approximate those values pretty closely. otherwise it would necessarily mean that your new values often disagree with conventional wisdom about who is materially ahead.
about the value of the pawn. i think your own analysis shows quite convincingly that actually the pawn is overvalued at almost a knight! since you did not distinguish between different pawns at all, this is no surprise as some of those pawns will promote and be worth a queen. to correctly value a pawn you will have to take into account its rank (pawn value on 7th rank should be close to a queen), and possibly its file (edge pawns worth less(?), center pawns worth more(?)). none of the other pieces suffer from such a strong dependence on position as the pawn, so your results make perfect sense.
Published at DZone with permission of Rasmus , DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.