arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.14963cs.NEcs.AIcs.LG
收藏

受限环境中的马里奥冒险优化

Optimizing Mario Adventures in a Constrained Environment

Østfold University College(东福尔大学学院)

Sanyam Jain

AI总结:

本研究提出并比较遗传算法与神经进化在超级马里奥兄弟中的优化,旨在受限条件下最大化收集硬币并快速通关,通过五重比较分析验证效率。

摘要:

本项目提出并比较了一种在超级马里奥兄弟(SMB)环境中进行优化的新方法,其中控制权由两种方法掌握,即遗传算法(MarioGA)和神经进化(MarioNE)。我们不仅使用这些技术学习玩SMB,而且还在收集硬币和完成关卡的限制下对其进行优化。首先,我们将SMB智能体形式化为最大化收集硬币的总价值(奖励)和最大化总行进距离(奖励),以便更快地完成关卡(时间惩罚),适用于这两种算法。其次,我们研究MarioGA及其评估函数(适应度标准),包括其表示方法、使用的交叉、变异算子形式、使用的选择方法、MarioGA循环以及其他一些参数。第三,MarioNE应用于SMB,其中生成具有随机权重的ANN种群,这些网络控制游戏中马里奥的动作。第四,SMB进一步受到限制,要求在指定时间内完成任务,重生(死亡)次数在限制内,并在最大允许移动次数内执行动作或移动,同时寻求最大化收集的硬币总价值。这确保了完成SMB关卡的高效方式。最后,我们通过绘制适应度图、完成世界1不同关卡的能力以及训练模型的领域适应(迁移学习)来提供五重比较分析。

英文摘要:

This project proposes and compares a new way to optimise Super Mario Bros. (SMB) environment where the control is in hand of two approaches, namely, Genetic Algorithm (MarioGA) and NeuroEvolution (MarioNE). Not only we learn playing SMB using these techniques, but also optimise it with constrains of collection of coins and finishing levels. Firstly, we formalise the SMB agent to maximize the total value of collected coins (reward) and maximising the total distance traveled (reward) in order to finish the level faster (time penalty) for both the algorithms. Secondly, we study MarioGA and its evaluation function (fitness criteria) including its representation methods, crossover used, mutation operator formalism, selection method used, MarioGA loop, and few other parameters. Thirdly, MarioNE is applied on SMB where a population of ANNs with random weights is generated, and these networks control Marios actions in the game. Fourth, SMB is further constrained to complete the task within the specified time, rebirths (deaths) within the limit, and performs actions or moves within the maximum allowed moves, while seeking to maximize the total coin value collected. This ensures an efficient way of finishing SMB levels. Finally, we provide a fivefold comparative analysis by plotting fitness plots, ability to finish different levels of world 1, and domain adaptation (transfer learning) of the trained models.

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

↑