Abstract
Mastering 3D first-person shooters (FPS) like Doom remains a significant challenge for Reinforcement Learning (RL) due to sparse rewards and high-dimensional state spaces. This paper presents a "divide and conquer" framework that decomposes the task into specialized "Action" and "Navigation" agents. By utilizing the UNREAL architecture and unsupervised auxiliary tasks—specifically reward prediction—the system implements a switching logic that toggles between combat and exploration. Experimental results on the VizDoom platform demonstrate that this combined agent architecture significantly outperforms standard models in both known and unknown environments, particularly in navigation and item collection tasks.
Introduction
While RL has achieved human-level performance in 2D Atari games, 3D environments introduce complexities such as partial observability and the need for simultaneous navigation and combat. Standard agents often struggle to learn these disparate skills at once, often wandering aimlessly in large maps or failing to engage enemies effectively. Previous solutions frequently relied on explicit, hand-coded enemy detection modules. This research explores whether internal auxiliary tasks can instead provide the necessary signals for high-level decision-making and task switching.
Methodology
The proposed architecture leverages the Unsupervised Reinforcement and Auxiliary Learning (UNREAL) framework, focusing on three primary auxiliary tasks: Value Function Replay, Reward Prediction, and Pixel Change. These tasks help the agent learn the "value" of states and the consequences of movement without requiring explicit external rewards.
Specialized Agents
The system is divided into two distinct modules to reduce the complexity of the learning problem:
- Action Agent: Optimized for combat with a 5-action space (fire, move forward/back, turn left/right).
- Navigation Agent: Optimized for exploration with a 3-action space (move forward, turn left/right).
These agents are trained with specific reward structures to encourage specialization. For instance, the Navigation agent is more heavily penalized for health loss to encourage evasive exploration and survival.
Switching Logic
The core innovation lies in using the Navigation Agent’s Reward Prediction auxiliary task as a functional logic gate. Because the Navigation Agent learns to predict negative rewards associated with health loss (indicating the presence of enemies), a high probability of negative reward serves as a trigger to switch control to the Action Agent. This eliminates the need for a dedicated vision-based enemy detector.
Results
The agents were trained on four VizDoom maps for 80 million steps and evaluated on both known and entirely new "Unknown" maps to test generalization.
As shown in the performance data, the "Combined Agent" consistently matches or exceeds the performance of a standalone Action Agent. The advantages are most pronounced in navigation-heavy metrics and unknown environments. In "Known Map 3," the combined agent collected 116.8 objects compared to the baseline's 62.4. More importantly, in "Unknown Map 1," the combined agent demonstrated superior generalization, achieving higher kill counts (5.89 vs 4.99) and nearly four times the object collection rate (20.19 vs 5.46). T-tests confirmed these improvements were statistically significant (p < 0.05) in the majority of test scenarios.
Conclusion
This "divide and conquer" approach proves that specialized agents coordinated by unsupervised auxiliary tasks can master complex 3D environments more effectively than monolithic models. By reducing action space complexity and using reward predictions as switching signals, the agent achieves robust generalization even in unfamiliar territory. Future work will investigate expanding this architecture to more complex titles like Starcraft, which may require a larger hierarchy of specialized agents.
Summary updated