Goto

Collaborating Authors

 bitboard


Rotated Bitboards in FUSc# and Reinforcement Learning in Computer Chess and Beyond

Buchner, Johannes

arXiv.org Artificial Intelligence

There exist several techniques for representing the chess board inside the computer. In the first part of this paper, the concepts of the bitboard-representation and the advantages of (rotated) bitboards in move generation are explained. In order to illustrate those ideas practice, the concrete implementation of the move-generator in FUSc# is discussed and we explain a technique how to verify the move-generator with the "perft"-command. We show that the move-generator of FUSc# works 100% correct. The second part of this paper deals with reinforcement learning in computer chess (and beyond). We exemplify the progress that has been made in this field in the last 15-20 years by comparing the "state of the art" from 2002-2008, when FUSc# was developed, with recent innovations connected to "AlphaZero". We discuss how a "FUSc#-Zero" could be implemented and what would be necessary to reduce the number of training games necessary to achieve a good performance. This can be seen as a test case to the general prblem of improving "sample effciency" in reinforcement learning. In the final part, we move beyond computer chess, as the importance of sample effciency extends far beyond board games into a wide range of applications where data is costly, diffcult to obtain, or time consuming to generate. We review some application of the ideas developed in AlphaZero in other domains, i.e. the "other Alphas" like AlphaFold, AlphaTensor, AlphaGeometry and AlphaProof. We also discuss future research and the potential for such methods for ecological economic planning.


Improving Minimax performance

#artificialintelligence

The Minimax algorithm, also known as MinMax, is a popular algorithm for calculating the best possible move a player can player in a zero-sume game, like Tic-Tac-Toe or Chess. It makes use of an evaluation-function provided by the developer to analyze a given game board. During the execution Minimax builds a game tree that might become quite large. This causes a very long runtime for the algorithm. In this article I'd like to introduce 10 methods to improve the performance of the Minimax algorithm and to optimize its runtime.


Chess2vec: Learning Vector Representations for Chess

Kapicioglu, Berk, Iqbal, Ramiz, Koc, Tarik, Andre, Louis Nicolas, Volz, Katharina Sophia

arXiv.org Artificial Intelligence

We conduct the first study of its kind to generate and evaluate vector representations for chess pieces. In particular, we uncover the latent structure of chess pieces and moves, as well as predict chess moves from chess positions. We share preliminary results which anticipate our ongoing work on a neural network architecture that learns these embeddings directly from supervised feedback. The fundamental challenge for machine learning based chess programs is to learn the mapping between chess positions and optimal moves [5, 3, 7]. A chess position is a description of where pieces are located on the chessboard. In learning, chess positions are typically represented as bitboard representations [1]. A bitboard is a 8 8 binary matrix, same dimensions as the chessboard, and each bitboard is associated with a particular piece type (e.g.