arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2211.03769cs.AIcs.LGcs.RO
收藏

AlphaZero-like代理对对抗性扰动是否稳健?

Are AlphaZero-like Agents Robust to Adversarial Perturbations?

UCLA(加州大学洛杉矶分校);CMU(卡内基梅隆大学);Academia Sinica(中央研究院);NYCU(阳明交通大学)

Li-Cheng Lan, Huan Zhang, Ti-Rong Wu, Meng-Yu Tsai, I-Chen Wu, Cho-Jui Hsieh

摘要:

AlphaZero(AZ)的成功证明,基于神经网络的围棋人工智能可以大大超过人类的表现。考虑到围棋的状态空间非常大,人类玩家可以从任何合法的状态下进行游戏,我们要问的是,围棋人工智能是否存在可能导致它们做出令人惊讶的错误行为的对抗状态。在本文中,我们首先将对抗性示例的概念扩展到围棋游戏:我们通过向游戏中添加无意义的移动来生成与原始状态“语义上”等效的扰动状态,并且对抗性状态是一种扰动状态,导致即使对于围棋初学者来说也明显的毫无疑问的低劣动作。然而,由于大的、离散的和不可微的搜索空间,搜索对抗状态是具有挑战性的。为了应对这一挑战,我们开发了第一个对Go AI的对抗攻击,它可以通过战略性地减少搜索空间来有效地搜索对抗状态。这种方法也可以扩展到其他棋盘游戏,如NoGo。在实验中,我们表明,政策值神经网络(PV-NN)和蒙特卡罗树搜索(MCTS)所采取的行动可以被误导,通过添加一个或两个无意义的石头;例如,在58%的AlphaGo Zero自玩游戏,我们的方法可以使广泛使用的KataGo代理与50模拟MCTS发挥一个失败的行动,通过添加两个无意义的石头。我们还评估了我们的算法与业余人类围棋选手的对抗性例子,90%的例子确实导致围棋智能体做出明显低劣的动作。我们的代码可在\url{https://PaperCode.cc/GoAttack}上获得。

英文摘要:

The success of AlphaZero (AZ) has demonstrated that neural-network-based Go AIs can surpass human performance by a large margin. Given that the state space of Go is extremely large and a human player can play the game from any legal state, we ask whether adversarial states exist for Go AIs that may lead them to play surprisingly wrong actions. In this paper, we first extend the concept of adversarial examples to the game of Go: we generate perturbed states that are ``semantically'' equivalent to the original state by adding meaningless moves to the game, and an adversarial state is a perturbed state leading to an undoubtedly inferior action that is obvious even for Go beginners. However, searching the adversarial state is challenging due to the large, discrete, and non-differentiable search space. To tackle this challenge, we develop the first adversarial attack on Go AIs that can efficiently search for adversarial states by strategically reducing the search space. This method can also be extended to other board games such as NoGo. Experimentally, we show that the actions taken by both Policy-Value neural network (PV-NN) and Monte Carlo tree search (MCTS) can be misled by adding one or two meaningless stones; for example, on 58\% of the AlphaGo Zero self-play games, our method can make the widely used KataGo agent with 50 simulations of MCTS plays a losing action by adding two meaningless stones. We additionally evaluated the adversarial examples found by our algorithm with amateur human Go players and 90\% of examples indeed lead the Go agent to play an obviously inferior action. Our code is available at \url{https://PaperCode.cc/GoAttack}.

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

↑