arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.13178cs.AIcs.LG
收藏

Rapfi:为五子棋游戏蒸馏高效神经网络

Rapfi: Distilling Efficient Neural Network for the Game of Gomoku

Northeastern University(东北大学);Beihang University(北京航空航天大学);Tsinghua University(清华大学)

Zhanggen Jin, Haobin Duan, Zhiyang Hang

AI总结:

本文提出高效五子棋智能体 Rapfi,利用从 CNN 蒸馏的模式码本紧凑网络与增量更新方案大幅降低计算并加速 alpha-beta 搜索,在无 GPU 条件下棋力超越 Katagomo,并在 Botzone 与 GomoCup 2024 夺冠。

摘要:

游戏在推动人工智能发展方面发挥了关键作用,AI 智能体运用复杂技术进行竞技。尽管基于神经网络的游戏 AI 取得了成功,但其性能通常需要大量计算资源。本文提出 Rapfi,这是一个高效的五子棋智能体,在有限计算环境中优于基于 CNN 的智能体。Rapfi 采用紧凑神经网络,该网络具有从 CNN 蒸馏得到的基于模式的码本,并使用增量更新方案,在输入变化较小时最大限度减少计算。这种新网络以少几个数量级的计算量达到与 Resnet 等大型神经网络相近的准确率。得益于增量更新方案,alpha-beta 搜索等深度优先搜索方法可被显著加速。通过精心调校的评估与搜索,在没有 GPU 等加速器的有限计算资源下,Rapfi 的棋力超过了 Katagomo——基于 AlphaZero 算法的最强开源五子棋 AI。Rapfi 在 Botzone 的 520 个五子棋智能体中排名第一,并赢得 GomoCup 2024 冠军。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑