Introduction
Training autonomous agents to navigate and compete in First-Person Shooter (FPS) environments presents significant challenges compared to 2D arcade games. The complexity arises from massive action spaces, where simultaneous button presses (moving, turning, shooting) create an exponential explosion of possibilities. Furthermore, standard Reinforcement Learning (RL) agents often lack the "common sense" humans possess regarding spatial depth and enemy identification, leading to "jittery" or purposeless behavior.
Researchers from Tsinghua University address these issues by introducing a hierarchical framework that utilizes "Combo-Actions" (macro-actions) and auxiliary supervised tasks. This approach allows the agent to operate at a higher level of abstraction, focusing on strategy rather than granular motor control.
Methodology
The proposed architecture moves away from primitive button-press selection in favor of a structured hierarchy.
Combo-Actions and Auxiliary Tasks
Instead of individual keys, the agent selects from four macro-actions: Forward, Turn, Rotate, and Shoot. These actions are temporally extended and informed by auxiliary sensory inputs.
- Depth Prediction: A CNN predicts a 3x6 grid of depth values from RGB frames, allowing the "Turn" action to automatically steer the agent toward open paths.
- Enemy Detection (RPNmini): A lightweight Region Proposal Network identifies enemies in real-time. The "Shoot" action leverages this to adjust aiming speed, mimicking human "leading" of a target.
System Architecture
The "brain" of the agent is a Supervisory Network based on a Deep Recurrent Q-Network (DRQN) with an LSTM layer. This network processes the game state (pixels, health, ammo) and selects the optimal Combo-Action. The system is trained using reward shaping, incentivizing movement, item collection, and combat success while penalizing health loss.
Experimental Setup
The framework was evaluated using the ViZDoom platform. The auxiliary models were pre-trained on specialized datasets:
- Detection: 30,000 labeled RGB images.
- Depth: 10,000 images with ground-truth depth maps.
The agent's generalization was tested across 10 known and 10 unknown maps against built-in bots and state-of-the-art AI competitors.
Results and Discussion
The Combo-Action agent demonstrated superior performance in deathmatch scenarios. In a league match against top-tier baselines like Arnold and IntelAct, the proposed method achieved a mean Frag score of 27.86, significantly outperforming the runner-up's score of 9.83.
Key findings include:
- Action Compression: Reducing the search space via macro-actions allows for more efficient exploration and strategic play.
- Real-time Efficiency: The RPNmini model enables 50 FPS gameplay with an inference time of just 0.02s.
- Robust Generalization: High performance on unknown maps indicates the agent learned transferable navigation and combat skills rather than just memorizing layouts.
A simplified version of this agent secured 1st place in the public-rank round of the 2018 ViZDoom AI Competition.
Conclusion
By combining hierarchical macro-actions with auxiliary perception tasks, the Combo-Action framework provides a more "intuitive" and effective approach to FPS AI. Future work will explore autonomous learning of macro-actions and multi-agent self-play to further refine tactical decision-making.
Summary updated