TL;DR
This paper introduces JueWu-SL, the first supervised learning (SL) AI to achieve human-level performance in the complex MOBA game Honor of Kings. By integrating macro-strategy and micromanagement within a novel hierarchical framework and leveraging multimodal features, JueWu-SL demonstrates competitive play against top human players, paving the way for efficient AI development in complex real-time strategy games.
What Problem Does This Paper Address?
Multiplayer Online Battle Arena (MOBA) games, like Honor of Kings, Dota 2, and League of Legends, are incredibly complex environments for AI development. They demand not only precise moment-to-moment control (micromanagement) but also long-term strategic planning (macro-strategy). Previous AI research in this domain has been limited, with many approaches focusing on only one aspect or relying on computationally expensive methods like deep reinforcement learning (RL). This paper addresses the challenge of building a comprehensive MOBA AI that can effectively balance both macro-strategy and micromanagement using a more accessible and efficient supervised learning approach, leveraging human expert data.
Methods
The core of JueWu-SL is a supervised learning framework that models MOBA gameplay as a hierarchical multiclass classification problem. Key methodological contributions include:
- Multiview Intent Labels: To capture macro-strategy, the authors introduce "intent labels" that represent a player's global (e.g., target region for attack) and local (e.g., positioning for combat) intentions. These are trained as an auxiliary task to improve the main model.
- Hierarchical Action Labels: Micromanagement is handled through a two-level action hierarchy. Level-1 actions specify the type of action (e.g., move, attack, use skill), and Level-2 actions define how to execute it (e.g., direction for movement, target for attack).
- Multimodal Features: The AI utilizes a rich set of features, combining:
- Vector Features: Representing game states, hero attributes (HP, skills, gold, level), and historical data.
- Image-like Features: Extracted from the game's local view and minimap using convolutional neural networks to capture spatial information.
- End-to-End Training: The macro-strategy (intent labels) and micromanagement (action labels) are trained simultaneously in an end-to-end manner, allowing for better integration of strategic and tactical decision-making.
- Scene-Based Data Preprocessing: The training data is segmented into distinct game scenes (e.g., Push-Turret, Combat, Lane-Farm, Navigation). This allows for tailored data sampling and tuning to improve performance in specific situations.
- Move Sample Enhancement: To address noisy move direction labels, the authors define move labels based on future positions, using different time horizons for combat vs. non-combat scenarios.
- Attack Sample Normalization: To balance the tendency to attack high-health, low-damage targets, a normalization technique is employed to ensure more balanced target selection.
Datasets
The training and evaluation were performed using historical game data from the top 1% of human players in Honor of Kings. This data was filtered for high-performance games and then preprocessed. Approximately 100 million samples from about 0.12 million games were used for training each AI hero, with a test set of about 10 million samples. No new benchmarks were introduced; instead, the authors focused on evaluating against existing AI methods and human players.
Key Insights and Ideas
- Supervised Learning's Potential in MOBA: The paper strongly advocates for SL as a viable and efficient path to achieving high-level AI in complex MOBA games, challenging the notion that RL is the only way forward.
- Macro-Strategy as an Auxiliary Task: Treating macro-strategy (intent labels) as an auxiliary task significantly improves the micromanagement performance, highlighting the importance of strategic foresight for tactical execution.
- Multiview Intents are Crucial: Combining global and local intent information provides a more nuanced understanding of player strategy, enabling better decision-making.
- Scene-Based Learning is Effective: Segmenting gameplay into distinct scenes allows for more targeted learning and adaptation to different game phases and situations.
- Human Data Quality Matters: The success of SL hinges on high-quality, well-performed human gameplay data, which the authors meticulously curated.
Key Results
- Human-Level Performance: JueWu-SL achieved a win rate of 100% against a classic behavior-tree AI, 86% against a baseline HMS model (which only handled macro-strategy), and 92% against a two-stage macro/micro model.
- Competitive Play Against Top Humans: The AI demonstrated competitive performance against 80-star King level human players, considered among the highest ranks.
- Effective Team Collaboration: JueWu-SL showed strong team collaboration capabilities when playing with human teammates, achieving a 70% win rate in matches.
- Component Importance: Ablation studies revealed that scene-based sampling and vector features were particularly critical, with their removal leading to significant drops in win rate.
Limitations and Future Work
- Data Dependency: The performance of SL-based AI is inherently limited by the quality and quantity of human data available.
- Scalability to All Heroes: While the method is designed to be hero-specific, covering all heroes in a MOBA game with sufficient high-quality data remains a challenge.
- Future Work: The authors plan to combine SL and RL to further improve AI capabilities and explore real-world applications of their Game AI method. They also suggest that the proposed network structure could be used as a policy network or for guiding RL policy training.
Summary updated