Introduction
While Deep Reinforcement Learning (RL) has achieved mastery in 2D Atari games and complex 3D environments like StarCraft II, 2.5D fighting games present a unique "middle-ground" challenge. These games typically use orthographic projection, where objects do not change size based on their depth in the scene. This creates a significant hurdle for standard convolutional neural networks (CNNs): visual ambiguity.
As shown in the figure above, a character jumping high in the foreground may appear identical to one standing still in the background. For an RL agent, judging distance—the fundamental requirement for timing attacks and blocks—becomes nearly impossible from raw pixels alone. Furthermore, fighting games require sequential action logic; winning requires executing multi-button "combos" rather than single reactive inputs.
The A3C+ Architecture
To address these challenges, researchers developed A3C+, an enhanced version of the Asynchronous Advantage Actor-Critic framework. The core innovation lies in how the model processes spatial and temporal information. Instead of relying solely on visual input, the architecture incorporates explicit "info features" and a recurrent memory layer.
Key Components of A3C+:
- Info Features: The model receives explicit coordinate data (X, Y, and Z/depth) for both characters, along with health status and relative distance. This provides the "depth perception" that pixels alone lack.
- Recurrent Info Network: Visual features extracted by the CNN are concatenated with these info features. This combined vector is fed into a Long Short-Term Memory (LSTM) layer. The LSTM acts as the agent's "muscle memory," allowing it to track its progress through complex multi-frame combo sequences.
- Environment Wrapper: The system was tested using Little Fighter 2 (LF2), integrated via a web-based implementation called Project F. To optimize training, the agent utilizes frame skipping, acting on every 4th frame.
Experimental Results
The A3C+ model was benchmarked against a rule-based AI in Little Fighter 2 using the character "Davis." The experiments compared the full model against versions lacking the LSTM or info features.
In the Advanced Setting, where the agent must use complex combos to win, the results were definitive:
- A3C+ (Full model): Achieved a 95.9% winning rate.
- A3C+ without LSTM: Dropped to 61.3%, confirming that memory is essential for executing sequential moves.
- Standard A3C (CNN only): Managed only 57.6%, illustrating the failure of pure visual processing in orthographic 2.5D space.
Interestingly, in a Basic Setting (using only simple moves), the version without LSTM performed slightly better (99.3% vs 95.5%). This suggests that while LSTMs are vital for complex sequences, they can introduce unnecessary gradient complexity for simple, purely reactive tasks.
Conclusion
The success of A3C+ demonstrates that for 2.5D environments, pixels are not enough. By fusing low-level visual data with high-level state information and providing the agent with temporal memory via an LSTM, RL agents can master the spatial and sequential nuances of fighting games. Future work may involve training via self-play to develop more sophisticated "meta-game" strategies and expanding the model to handle the diverse move sets of multiple characters.
Summary updated