利用Transformers进行StarCraft宏观管理预测
Leveraging Transformers for StarCraft Macromanagement Prediction
摘要:
受最近Transformers在自然语言处理和计算机视觉应用中的成功启发,我们引入了一个基于transformer的神经架构,用于两个关键的星际争霸2(SC2)宏观管理任务:全局状态和构建顺序预测。与受近因偏差影响的递归神经网络不同,Transformers能够在很长的时间范围内捕获模式,使其非常适合完整的游戏分析。我们的模型利用MSC(Macromanagement in StarCraft II)数据集,并改进了性能最佳的门控递归单元(GRU)架构,以预测全局状态和构建顺序,并通过多个时间范围内的平均准确度进行测量。我们目前的消融研究,我们提出的架构,支持我们的设计决策。Transformers的一个关键优势是它们能够很好地泛化,我们证明了我们的模型在迁移学习环境中使用时达到了更好的准确性,在这种环境中,模型在一个种族比赛的游戏上训练(例如,人族对神族)被转移到一个不同的。我们相信Transformers对长时间游戏的建模能力,并行化的潜力和泛化性能使其成为星际争霸代理的绝佳选择。
英文摘要:
Inspired by the recent success of transformers in natural language processing and computer vision applications, we introduce a transformer-based neural architecture for two key StarCraft II (SC2) macromanagement tasks: global state and build order prediction. Unlike recurrent neural networks which suffer from a recency bias, transformers are able to capture patterns across very long time horizons, making them well suited for full game analysis. Our model utilizes the MSC (Macromanagement in StarCraft II) dataset and improves on the top performing gated recurrent unit (GRU) architecture in predicting global state and build order as measured by mean accuracy over multiple time horizons. We present ablation studies on our proposed architecture that support our design decisions. One key advantage of transformers is their ability to generalize well, and we demonstrate that our model achieves an even better accuracy when used in a transfer learning setting in which models trained on games with one racial matchup (e.g., Terran vs. Protoss) are transferred to a different one. We believe that transformers' ability to model long games, potential for parallelization, and generalization performance make them an excellent choice for StarCraft agents.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。