Skip to main content
QUICK REVIEW

[论文解读] LeagueAI: Improving object detector performance and flexibility through automatically generated training data and domain randomization

Oliver Struckmeier|arXiv (Cornell University)|May 28, 2019
Advanced Neural Network ApplicationsComputer Science参考文献 6被引用 3
一句话总结

本文提出了一种用于视频游戏目标检测的合成数据生成流程,结合3D模型渲染与领域随机化技术,实验证明:在自动生成的合成数据上训练的YOLOv3检测器在mAP和跟踪一致性方面均优于人工标注数据,同时将标注工作量降低了数个数量级。

ABSTRACT

In this technical report I present my method for automatic synthetic dataset generation for object detection and demonstrate it on the video game League of Legends. This report furthermore serves as a handbook on how to automatically generate datasets and as an introduction on the dataset generation part of the LeagueAI framework. The LeagueAI framework is a software framework that provides detailed information about the game League of Legends based on the same input a human player would have, namely vision. The framework allows researchers and enthusiasts to develop their own intelligent agents or to extract detailed information about the state of the game. A big problem of machine vision applications usually is the laborious work of gathering large amounts of hand labeled data. Thus, a crucial part of the vision pipeline of the LeagueAI framework, the dataset generation, is presented in this report. The method involves extracting image raw data from the game's 3D models and combining them with the game background to create game-like synthetic images and to generate the corresponding labels automatically. In an experiment I compared a model trained on synthetic data to a model trained on hand labeled data and a model trained on a combined dataset. The model trained on the synthetic data showed higher detection precision on more classes and more reliable tracking performance of the player character. The model trained on the combined dataset did not perform better because of the different formats of the older hand labeled dataset and the synthetic data.

研究动机与目标

  • 解决视频游戏中大规模目标检测训练数据收集与标注的高昂人力成本问题。
  • 开发一种自动化流程,从3D游戏模型生成逼真、多样化且精确标注的合成训练数据。
  • 评估仅使用合成数据是否能在目标检测性能上超越或匹配人工标注数据。
  • 研究将合成数据与人工标注数据结合对检测mAP和鲁棒性的影响。
  • 通过极少的人工标注,实现游戏AI智能体的实时目标检测。

提出的方法

  • 从《英雄联盟》中英雄、小兵和建筑的3D游戏模型中提取原始2D掩码图像数据。
  • 将掩码对象图像与真实游戏背景图像进行合成,生成合成训练图像。
  • 应用随机增强技术,如模糊、噪声、光照变化和色彩抖动,以增强领域随机化效果。
  • 自动为合成图像中的每个对象生成精确的边界框和类别标签。
  • 在合成数据、人工标注数据以及联合数据集上分别训练YOLOv3目标检测器,并进行对比。
  • 通过mAP和在视频片段上的实时跟踪性能,评估模型的泛化能力和鲁棒性。

实验结果

研究问题

  • RQ1从3D游戏模型生成的合成数据能否在目标检测mAP上超越人工标注数据?
  • RQ2合成数据中的领域随机化是否能提升模型对视觉变化的泛化能力和鲁棒性?
  • RQ3与仅使用合成数据训练相比,将合成数据与人工标注数据结合是否能进一步提升检测性能?
  • RQ4合成数据与人工标注数据在图像宽高比上的差异对模型性能有何影响?
  • RQ5合成数据与人工标注数据在标注时间与数据生成成本方面相比如何?

主要发现

  • 仅在合成数据(S)上训练的模型mAP高于在人工标注数据(H)上训练的模型,检测类别数达到5个,而后者仅能检测3个。
  • 合成数据模型在实时视频序列中对玩家角色的跟踪更加一致且可靠。
  • 合成数据生成流程将标注时间减少了约90%,相比人工标注。
  • 联合模型(C)的性能劣于仅使用合成数据的模型(S),在检测玩家角色时出现失败,可能由于合成数据与人工标注数据在宽高比上的差异所致。
  • 在合成数据上训练的模型对未见数据(包括重叠和遮挡物体)表现出更好的泛化能力,尽管偶尔会检测到不存在的物体(如已死亡的小兵)。
  • 通过使用新的、一致的人工标注数据集对小兵重新训练,未来性能有望进一步提升,因为小兵常因重叠而难以检测。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。