mlsanityData to 7 Oct 2026

AlphaViT: A flexible game-playing AI for multiple games and variable board sizes

arXiv 2408.13871 ↗First posted 25 Aug 2024cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

We present three game-playing agents incorporating Vision Transformers (ViT) into the AlphaZero framework: AlphaViT, AlphaViD (AlphaViT with a transformer decoder), and AlphaVDA (AlphaViD with learnable action embeddings). These agents can play multiple board games of varying sizes using a single neural network with shared weights, thus overcoming AlphaZero's limitation of fixed board sizes. AlphaViT employs only a transformer encoder, whereas AlphaViD and AlphaVDA incorporate both a transformer encoder and a decoder. In AlphaViD, the decoder processes outputs from the encoder, whereas AlphaVDA uses learnable embeddings as the decoder inputs. The additional decoder in AlphaViD and AlphaVDA provides flexibility to adapt to various action spaces and board sizes. Experimental results show that the proposed agents, trained on either individual games or on multiple games simultaneously, consistently outperform traditional algorithms, such as Minimax and Monte Carlo Tree Search. They approach the performance of AlphaZero despite relying on a single deep neural network (DNN) with shared weights. In particular, AlphaViT performs strongly across all evaluated games. Furthermore, fine-tuning the DNN with weights pre-trained on small board games accelerates convergence and improves performance, particularly in Gomoku. Interestingly, simultaneous training on multiple games yields performance comparable to, or even surpassing, that of single-game training. These results indicate the potential of transformer-based architectures for developing more flexible and robust game-playing AI agents that excel in multiple games and dynamic environments.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 18 of its 38 references that are in the map. First posted on arXiv 25 Aug 2024.

Builds on

18 of 38 references.

References · 18

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
  5. 2018Relational inductive biases, deep learning, and graph networkscited by 1,341
  6. 2021MViTv2: Improved Multiscale Vision Transformers for Classification and Detectioncited by 516
  7. 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
  8. 2019Accelerating Self-Play Learning in Gocited by 60
  9. 2024Amortized Planning with Large-Scale Transformers: A Case Study on Chesscited by 45
  10. 2018A0C: Alpha Zero in Continuous Action Spacecited by 17
  11. 2023Representation Matters for Mastering Chess: Improved Feature Representation in AlphaZero Outperforms Switching to Transformerscited by 8
  12. 2019Multiplayer AlphaZerocited by 6
6 more
  1. 2021Transfer of Fully Convolutional Policy-Value Networks Between Games and Game Variantscited by 6
  2. 2021Adaptive Warm-Start MCTS in AlphaZero-like Deep Reinforcement Learningcited by 6
  3. 2020Warm-Start AlphaZero Self-Play Search Enhancementscited by 5
  4. 2021AlphaDDA: Strategies for Adjusting the Playing Strength of a Fully Trained AlphaZero System to a Suitable Human Training Partnercited by 5
  5. 2022AlphaZero-Inspired Game Learning: Faster Training by Using MCTS Only at Test Timecited by 3
  6. 2024An Evolutionary Framework for Connect-4 as Test-Bed for Comparison of Advanced Minimax, Q-Learning and MCTScited by 2

Built on by

Not cited yet.