AILGMar 17, 2025

Rapfi: Distilling Efficient Neural Network for the Game of Gomoku

arXiv:2503.13178v1Has Code
Originality Incremental advance
AI Analysis

This work addresses the challenge of deploying AI agents in resource-constrained settings, such as environments without GPUs, for the specific domain of Gomoku, representing an incremental improvement in efficiency.

The paper tackled the problem of high computational resource requirements for neural network-based game AIs by developing Rapfi, an efficient Gomoku agent that outperforms CNN-based agents in limited computation environments, achieving first place among 520 agents on Botzone and winning the GomoCup 2024 championship.

Games have played a pivotal role in advancing artificial intelligence, with AI agents using sophisticated techniques to compete. Despite the success of neural network based game AIs, their performance often requires significant computational resources. In this paper, we present Rapfi, an efficient Gomoku agent that outperforms CNN-based agents in limited computation environments. Rapfi leverages a compact neural network with a pattern-based codebook distilled from CNNs, and an incremental update scheme that minimizes computation when input changes are minor. This new network uses computation that is orders of magnitude less to reach a similar accuracy of much larger neural networks such as Resnet. Thanks to our incremental update scheme, depth-first search methods such as the alpha-beta search can be significantly accelerated. With a carefully tuned evaluation and search, Rapfi reached strength surpassing Katagomo, the strongest open-source Gomoku AI based on AlphaZero's algorithm, under limited computational resources where accelerators like GPUs are absent. Rapfi ranked first among 520 Gomoku agents on Botzone and won the championship in GomoCup 2024.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes