arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1809.09095cs.LGcs.AIstat.ML
收藏

StarCraft全长博弈的强化学习

On Reinforcement Learning for Full-length Game of StarCraft

Nanjing University(南京大学)

Zhen-Jia Pang, Ruo-Ze Liu, Zhou-Yu Meng, Yi Zhang, Yang Yu, Tong Lu

摘要:

星际争霸2对强化学习提出了巨大的挑战。它的主要困难是巨大的状态和行动空间和长时间的地平线。在本文中,我们研究了星际争霸II的分层强化学习方法。层次结构涉及两个抽象级别。一种是从专家的轨迹中自动提取宏动作,它将动作空间缩小了一个数量级,但仍然有效。另一种是两层分层架构,它是模块化的,易于扩展,使课程从简单的任务转移到更复杂的任务。该结构的强化训练算法也进行了研究。在64x64的地图上,使用限制性单位,我们在难度等级1的内置AI中获得了超过99%的胜率。通过课程迁移学习算法和混合战斗模型,我们可以在两天内使用仅48个CPU核心和8个K40 GPU的单机训练,实现神族对人族最难的非作弊内置AI(7级)的93%以上胜率。它还显示出强大的泛化性能,当测试从未见过的对手,包括作弊水平内置的AI和所有级别的虫族和神族内置的AI。希望本研究能对大规模强化学习的未来研究有所启示。

英文摘要:

StarCraft II poses a grand challenge for reinforcement learning. The main difficulties of it include huge state and action space and a long-time horizon. In this paper, we investigate a hierarchical reinforcement learning approach for StarCraft II. The hierarchy involves two levels of abstraction. One is the macro-action automatically extracted from expert's trajectories, which reduces the action space in an order of magnitude yet remains effective. The other is a two-layer hierarchical architecture which is modular and easy to scale, enabling a curriculum transferring from simpler tasks to more complex tasks. The reinforcement training algorithm for this architecture is also investigated. On a 64x64 map and using restrictive units, we achieve a winning rate of more than 99\% against the difficulty level-1 built-in AI. Through the curriculum transfer learning algorithm and a mixture of combat model, we can achieve over 93\% winning rate of Protoss against the most difficult non-cheating built-in AI (level-7) of Terran, training within two days using a single machine with only 48 CPU cores and 8 K40 GPUs. It also shows strong generalization performance, when tested against never seen opponents including cheating levels built-in AI and all levels of Zerg and Protoss built-in AI. We hope this study could shed some light on the future research of large-scale reinforcement learning.

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

↑