Three-dimensional attention Transformer for state evaluation in real-time strategy games
Ye, Yanqing, Yang, Weilong, Qiu, Kai, Zhang, Jie
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Jan-7-2025
- Country:
- North America > United States
- North Carolina > Wake County
- Raleigh (0.04)
- Massachusetts > Suffolk County
- Boston (0.04)
- California > Santa Clara County
- Stanford (0.04)
- North Carolina > Wake County
- Asia > China
- North America > United States
- Genre:
- Research Report (1.00)
- Industry:
- Leisure & Entertainment > Games > Computer Games (0.84)
- Technology:
- Information Technology > Artificial Intelligence
- Representation & Reasoning (1.00)
- Natural Language (1.00)
- Cognitive Science (0.94)
- Vision (0.94)
- Machine Learning > Neural Networks
- Deep Learning (1.00)
- Information Technology > Artificial Intelligence