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

用于即时战略任务的基于在线强化学习的动态自适应评估函数

Online Reinforcement Learning-Based Dynamic Adaptive Evaluation Function for Real-Time Strategy Tasks

Academy of Military Sciences(军事科学院)

Weilong Yang, Jie Zhang, Xunyun Liu, Yanqing Ye

AI总结:

针对即时战略环境的动态变化,本文提出基于在线强化学习和 AdamW 的权重自适应调整方法,显著提升多种评估函数与规划算法的得分,且计算开销低于6%。

摘要:

对即时战略任务进行有效评估需要自适应机制,以应对动态且不可预测的环境。本研究提出一种改进评估函数的方法,以实时响应战场态势变化;该方法在即时战略游戏中采用基于在线强化学习的动态权重调整机制。在传统静态评估函数的基础上,该方法利用在线强化学习中的梯度下降动态更新权重,并结合权重衰减技术以确保稳定性。此外,方法集成了 AdamW 优化器,用于实时调整在线强化学习的学习率和衰减率,进一步降低对手动参数调优的依赖。循环赛对抗实验表明,该方法显著提升了 Lanchester 作战模型评估函数、Simple 评估函数和 Simple Sqrt 评估函数在 IDABCD、IDRTMinimax 和 Portfolio AI 等规划算法中的应用效果。该方法在得分上取得显著提升,并且随着地图尺寸增大,增强效果更加明显。此外,对于所有评估函数和规划算法,该方法导致的评估函数计算时间增加均保持在 6% 以下。所提出的动态自适应评估函数为即时战略任务评估展示了一种有前景的途径。

英文摘要:

Effective evaluation of real-time strategy tasks requires adaptive mechanisms to cope with dynamic and unpredictable environments. This study proposes a method to improve evaluation functions for real-time responsiveness to battle-field situation changes, utilizing an online reinforcement learning-based dynam-ic weight adjustment mechanism within the real-time strategy game. Building on traditional static evaluation functions, the method employs gradient descent in online reinforcement learning to update weights dynamically, incorporating weight decay techniques to ensure stability. Additionally, the AdamW optimizer is integrated to adjust the learning rate and decay rate of online reinforcement learning in real time, further reducing the dependency on manual parameter tun-ing. Round-robin competition experiments demonstrate that this method signifi-cantly enhances the application effectiveness of the Lanchester combat model evaluation function, Simple evaluation function, and Simple Sqrt evaluation function in planning algorithms including IDABCD, IDRTMinimax, and Port-folio AI. The method achieves a notable improvement in scores, with the en-hancement becoming more pronounced as the map size increases. Furthermore, the increase in evaluation function computation time induced by this method is kept below 6% for all evaluation functions and planning algorithms. The pro-posed dynamic adaptive evaluation function demonstrates a promising approach for real-time strategy task evaluation.

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

↑