使用强化学习玩非嵌入式卡牌游戏
Playing Non-Embedded Card-Based Games with Reinforcement Learning
AI总结:
本文提出一种基于视觉输入的非嵌入式离线强化学习策略,结合生成式目标检测数据集与OCR特征提取,在《皇室战争》中实现移动端实时自主对战并击败内置AI。
摘要:
人工智能在棋类、MOBA和RTS等游戏中已取得显著进展。然而,复杂智能体通常以嵌入式方式开发,直接访问游戏状态信息,这与依赖噪声视觉数据的人类玩家不同,导致竞争不公平。开发复杂的非嵌入式智能体仍然具有挑战性,尤其是在具有复杂特征和巨大状态空间的卡牌类RTS游戏中。我们提出了一种非嵌入式离线强化学习训练策略,利用视觉输入在RTS游戏《皇室战争》(Clash Royale)中实现实时自主游戏。由于该游戏缺乏目标检测数据集,我们设计了一个高效的生成式目标检测数据集用于训练。我们使用最先进的目标检测和光学字符识别模型提取特征。我们的方法能够在移动设备上实现实时图像采集、感知特征融合、决策和控制,成功击败内置AI对手。所有代码已在 https://github.com/wty-yy/katacr 开源。
英文摘要:
Significant progress has been made in AI for games, including board games, MOBA, and RTS games. However, complex agents are typically developed in an embedded manner, directly accessing game state information, unlike human players who rely on noisy visual data, leading to unfair competition. Developing complex non-embedded agents remains challenging, especially in card-based RTS games with complex features and large state spaces. We propose a non-embedded offline reinforcement learning training strategy using visual inputs to achieve real-time autonomous gameplay in the RTS game Clash Royale. Due to the lack of a object detection dataset for this game, we designed an efficient generative object detection dataset for training. We extract features using state-of-the-art object detection and optical character recognition models. Our method enables real-time image acquisition, perception feature fusion, decision-making, and control on mobile devices, successfully defeating built-in AI opponents. All code is open-sourced at https://github.com/wty-yy/katacr.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。