Skip to main content
QUICK REVIEW

[Paper Review] Honor of Kings Arena: an Environment for Generalization in Competitive Reinforcement Learning

Wei Hua, Jingxiao Chen|arXiv (Cornell University)|Sep 18, 2022
Reinforcement Learning in RoboticsComputer Science12 citations
TL;DR

This paper introduces Honor of Kings Arena, a competitive multi-agent reinforcement learning environment based on the popular MOBA game Honor of Kings, designed to test generalization across diverse heroes (targets) and opponents. It provides a standardized, open-source Python interface with configurable observations, actions, and rewards, and demonstrates that multi-task training and model distillation significantly improve cross-hero and cross-opponent transfer performance over direct policy transfer.

ABSTRACT

This paper introduces Honor of Kings Arena, a reinforcement learning (RL) environment based on Honor of Kings, one of the world's most popular games at present. Compared to other environments studied in most previous work, ours presents new generalization challenges for competitive reinforcement learning. It is a multi-agent problem with one agent competing against its opponent; and it requires the generalization ability as it has diverse targets to control and diverse opponents to compete with. We describe the observation, action, and reward specifications for the Honor of Kings domain and provide an open-source Python-based interface for communicating with the game engine. We provide twenty target heroes with a variety of tasks in Honor of Kings Arena and present initial baseline results for RL-based methods with feasible computing resources. Finally, we showcase the generalization challenges imposed by Honor of Kings Arena and possible remedies to the challenges. All of the software, including the environment-class, are publicly available at https://github.com/tencent-ailab/hok_env . The documentation is available at https://aiarena.tencent.com/hok/doc/ .

Motivation & Objective

  • To address the lack of benchmark environments that test generalization in competitive, multi-agent reinforcement learning under diverse targets and opponents.
  • To provide a standardized, accessible, and highly optimized RL environment based on Honor of Kings, one of the world’s most popular games.
  • To evaluate the generalization capabilities of RL policies across different hero roles and opponent compositions in a 1v1 MOBA setting.
  • To demonstrate the limitations of direct policy transfer and propose effective remedies such as multi-task training and model distillation.
  • To enable community-driven research and future competitions through open-source release and extensible design.

Proposed method

  • The environment is built on the official Honor of Kings game engine, abstracting complex game states into low-resolution grid-based observations and discrete action spaces.
  • A standardized Python API is provided for communication with the game engine, supporting configurable reward functions based on in-game metrics like kill/death/assist and gold difference.
  • The framework supports 20 target heroes and 20 opponent heroes, enabling evaluation of generalization across both targets and opponents.
  • Multi-task training is applied by jointly training on five different hero-vs-hero matchups during policy learning to improve robustness.
  • Model distillation is used to transfer knowledge from multiple task-specific policies into a single generalized policy.
  • The environment supports multiple difficulty levels for opponent heroes, enabling fine-grained evaluation of policy performance across skill tiers.

Experimental results

Research questions

  • RQ1Can a reinforcement learning policy trained on one hero generalize effectively to control different target heroes against the same opponent?
  • RQ2How does policy performance degrade when the same agent faces different opponent heroes, especially those with distinct mechanics?
  • RQ3To what extent can multi-task training improve generalization across diverse hero roles and opponent compositions?
  • RQ4Can model distillation effectively transfer knowledge from multiple task-specific policies to a single generalized policy?
  • RQ5How do different evaluation levels (e.g., opponent AI difficulty) affect the reliability of generalization performance measurement?

Key findings

  • Direct transfer of a policy trained on one hero (e.g., Diaochan) to control different target heroes against the same opponent (e.g., Diaochan) results in poor generalization, with winning rates dropping significantly on unseen heroes.
  • Multi-task training on five diverse hero matchups significantly improves winning rates across all 20 target heroes, demonstrating enhanced generalization capability.
  • Model distillation from five task-specific policies achieves performance comparable to multi-task training, offering a viable alternative for knowledge transfer.
  • Even with multi-task and distillation, certain hero matchups (e.g., Peiqinhu/Shangguanwaner) remain challenging, with winning rates near zero, highlighting persistent generalization gaps.
  • The use of multiple opponent AI levels (e.g., level-3 Buzhihuowu) is essential for reliable performance evaluation, as single-level benchmarks can be misleading.
  • The open-source environment and baseline results provide a strong foundation for future research on generalization in competitive, multi-agent RL.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.