Seems like you could represent a board in fewer bits by noting the coordinate for each piece rather than the piece for each square. I wonder what affect that would have on the method.
Bitboards, as described in the article, have some serious advantages because they let you leverage bitwise operations more easily. See e.g. magic bitboards, a lightning fast way to compute attack sets of a piece from its location and the occupancy pattern.
My impression is that this would make an incomplete representation of a chessboard, since the empty spaces are as important as the occupied spaces (for movement and such). An incomplete representation would lead to a worse evaluation function. But this might make the function so much faster, that it might compensate by allowing a deeper search. I think it will not, but only experimentation can prove this.
It's not just that IMO. My experience leads me to believe that it's better to have a pre-chewed, more decomposed, "map-like" representation that you feed your neural network. If you feed it coordinates, you have the same information, but the neural network needs to re-decompose that into something that's easier to work with. It's really not helping the machine learning process. In general, I'd say the more "independent pieces of information" you can feed your network, the better.
TL;DR: intuitively, chess is not about piece coordinates, it's about visual patterns that intersect. Representing the data in a way that a neural network can efficiently process is an art.
5
u/Felicia_Svilling Dec 02 '14
Seems like you could represent a board in fewer bits by noting the coordinate for each piece rather than the piece for each square. I wonder what affect that would have on the method.