TL;DR
This paper introduces the first deep reinforcement learning architecture to successfully tackle 3D, partially observable environments in First-Person Shooter (FPS) games. By combining a "divide-and-conquer" modular design with game-feature co-training, the agent (named Arnold) significantly outperforms both built-in game bots and human players in deathmatch scenarios.
What Problem Does This Paper Address?
While Deep Q-Networks (DQNs) have famously mastered 2D games like Atari, those environments are typically fully observable to the agent. Real-world robotics and 3D games present a much steeper challenge: the environment is partially observable (limited by a first-person field of view), and the agent must simultaneously navigate a 3D space, manage resources, and track moving adversaries.
Standard deep RL agents applied directly to FPS games like Doom often fail, resorting to firing blindly in hopes an enemy crosses their path because they struggle to accurately perceive enemies from raw pixels alone. This paper addresses how to train an agent to effectively handle perception, navigation, and combat in a complex 3D world.
Methods
The authors build upon Deep Recurrent Q-Networks (DRQN) and introduce three key innovations:
- Game Feature Augmentation (Co-training): During training, the network is tasked with an auxiliary objective: predicting high-level game features (like the presence of an enemy) alongside the standard Q-learning objective. This forces the convolutional layers to quickly learn features relevant to enemy detection. Crucially, these features are not needed at test time; the agent still runs purely on raw screen pixels.
- Divide and Conquer Architecture: The agent splits the task into two distinct phases: Navigation (exploring the map and gathering items using a simple DQN) and Action (fighting enemies using the augmented DRQN). The agent switches networks based on whether an enemy is detected or if it runs out of ammo.
- Sequential Updates with History: Initializing an LSTM from a random point in a replay buffer leads to highly inaccurate hidden states. The authors implement a modified training step where errors are only backpropagated through states that have a sufficient observation history (e.g., a history size of 4 steps).
They also utilize reward shaping (positive rewards for item pickups and distance traveled; negative rewards for losing health or wasting ammo) and a frame-skip rate of $k=4$.
Datasets
The model was trained and evaluated using the ViZDoom platform, an AI research environment based on the classic FPS game Doom. Two specific scenarios were tested:
- Limited Deathmatch on a Known Map: A single map where the only weapon available is a rocket launcher.
- Full Deathmatch on Unknown Maps: A highly generalized setting where the agent is trained on 10 maps with randomized textures and tested on 3 entirely unseen maps, utilizing multiple weapons (pistol, shotguns, etc.).
Key Insights and Ideas
- Co-training over Feature Injection: Simply feeding game features directly into the LSTM doesn't improve performance. Instead, jointly training the convolutional layers to predict these features forces the visual network to extract the right spatial representations (e.g., enemy shapes), which then naturally benefits the Q-learning network.
- Modularity Prevents "Camping": Single-network agents often develop a "camper" sub-optimal policy—sitting in one spot waiting for enemies to appear to avoid navigation penalties. Splitting navigation and action into separate networks completely mitigates this behavior.
- History Matters for Recurrent RL: Waiting a few steps before applying Q-value updates stabilizes training dramatically, preventing errors caused by poorly initialized hidden states in the recurrent network.
Key Results
- Beating Humans: In multiplayer deathmatches against human players, the agent achieved a Kill/Death (K/D) ratio of 1.33, compared to the average human K/D of 0.49.
- Navigation Boost: Integrating the navigation network drastically improved performance on unseen test maps, raising the K/D ratio from 3.12 (without navigation) to 6.94 (with navigation), largely because the agent learned to heal itself by gathering items.
- Ablation Studies: The inclusion of game features during training was the single biggest driver of performance, boosting the final K/D ratio from under 2.0 to over 4.0 on the limited deathmatch task.
Limitations and Future Work
- Lack of Vertical Look: The agent was not trained to look up or down, making it highly vulnerable or ineffective on maps with significant verticality, such as steep stairs or multi-level rooms.
- Integration with Modern RL Techniques: The authors note that their architecture is fully complementary to other independent advancements in deep RL, such as dueling network architectures and prioritized experience replay, which could be integrated to further boost performance.
Summary updated