arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.03832cs.LGcs.AI
收藏

用于即时战略游戏状态评估的三维注意力 Transformer

Three-dimensional attention Transformer for state evaluation in real-time strategy games

Academy of Military Science(军事科学院)

Yanqing Ye, Weilong Yang, Kai Qiu, Jie Zhang

AI总结:

提出空间-时间-特征三维级联注意力的 TSTF Transformer,用于 RTS 游戏态势评估,以更少参数显著提升前中期状态判断准确率与稳定性。

摘要:

即时战略(RTS)游戏中的态势评估对于理解复杂对抗环境中的决策至关重要。然而,现有方法在处理多维特征信息和时间依赖关系方面仍然存在局限。为此,我们提出一种三维空间-时间-特征 Transformer(TSTF Transformer)架构,该架构通过三个独立但级联的模块——空间注意力、时间注意力和特征注意力——高效地对战场地态势进行建模。在包含 3,150 场对抗实验的数据集上,8 层 TSTF Transformer 展现出优越性能:在游戏前期(约 4% 进度)达到 58.7% 的准确率,显著优于传统 Timesformer 的 41.8%;在游戏中期(约 40% 进度)达到 97.6% 的准确率,同时保持较低的性能波动(标准差为 0.114)。与此同时,与基线模型(5.54M)相比,该架构所需参数更少(4.75M)。本研究不仅为 RTS 游戏中的态势评估提供了新的见解,也为基于 Transformer 的多维时间建模提供了一种创新范式。

英文摘要:

Situation assessment in Real-Time Strategy (RTS) games is crucial for understanding decision-making in complex adversarial environments. However, existing methods remain limited in processing multi-dimensional feature information and temporal dependencies. Here we propose a tri-dimensional Space-Time-Feature Transformer (TSTF Transformer) architecture, which efficiently models battlefield situations through three independent but cascaded modules: spatial attention, temporal attention, and feature attention. On a dataset comprising 3,150 adversarial experiments, the 8-layer TSTF Transformer demonstrates superior performance: achieving 58.7% accuracy in the early game (~4% progress), significantly outperforming the conventional Timesformer's 41.8%; reaching 97.6% accuracy in the mid-game (~40% progress) while maintaining low performance variation (standard deviation 0.114). Meanwhile, this architecture requires fewer parameters (4.75M) compared to the baseline model (5.54M). Our study not only provides new insights into situation assessment in RTS games but also presents an innovative paradigm for Transformer-based multi-dimensional temporal modeling.

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

↑