Abstract
Neuroevolutionary algorithms offer a robust alternative to gradient-based reinforcement learning, particularly in environments with delayed rewards or incomplete information. However, these methods often struggle to scale to high-dimensional visual inputs due to the resulting explosion in the parameter search space. This paper presents a hybrid architecture that addresses this limitation by combining a convolutional autoencoder with the Covariance Matrix Adaptation Evolution Strategy (CMA-ES). By compressing raw 120x160 RGB gameplay frames into a 128-dimensional latent vector, the system enables efficient neuroevolutionary search for agent controllers in the VizDoom environment. Our results demonstrate that dynamic representation learning and aggressive data compression—including an unconventional convolutional structure discovered through implementation error—significantly enhance agent survival and navigation capabilities.
Introduction
Neuroevolution—the application of evolutionary algorithms to train neural networks—is highly effective for complex tasks where traditional gradient descent may fail. Despite its flexibility, neuroevolution faces a significant scaling challenge: when input data consists of raw video frames, the resulting controller networks require massive parameter sets (genomes). This high dimensionality makes the evolutionary search process prohibitively slow and computationally expensive.
To bridge the gap between the representational power of deep learning and the flexibility of neuroevolution, this research proposes a decoupled architecture. By using a deep learning "vision system" to provide a low-dimensional summary of the environment, the evolutionary algorithm can focus on a manageable search space, effectively giving the neuroevolutionary controller a set of "eyes" to interpret the 3D world.
Methodology
The Vision System: Convolutional Autoencoder
The architecture utilizes a convolutional autoencoder (CAE) to process 120x160 RGB images. The CAE compresses these frames through a bottleneck layer of just 128 float values. The network is trained to reconstruct the original image from this compressed vector, ensuring the latent representation retains essential environmental features.
Crucially, the vision system is not static. The researchers employed Dynamic Representation Learning, where the autoencoder is updated continuously during the evolutionary process. As agents evolve and explore new areas of the Doom environment, the autoencoder incorporates these novel visual experiences into its training set, ensuring the "eyes" of the agent remain calibrated to the world it currently perceives.
The Controller: CMA-ES
The controller is a compact neural network that receives the 128-dimensional vector as input and outputs discrete actions (e.g., turn left, turn right, move forward). This controller is optimized using CMA-ES, a derivative-free optimization algorithm. Because the input space is so heavily compressed, the controller remains small, allowing CMA-ES to converge on effective strategies far more efficiently than it would with raw pixel inputs.
The "Alternative" Convolution
During development, a coding error led to the creation of a non-standard filter (3x8x160) where image width was inadvertently treated as a channel. This "Alternative Convolution" structure resulted in higher data compression and blurrier reconstructions. Surprisingly, this error proved beneficial, leading to better agent performance than the standard, more "accurate" convolutional models.
Experimental Setup
The system was evaluated using the VizDoom platform, specifically the "Health-pack gathering" scenario. In this task, the agent is placed in a room with an acidic floor that gradually depletes health. To survive, the agent must navigate the 3D space to collect randomly spawning health packs while avoiding "red jars" (mines). Performance was measured by the average survival time (number of frames) across 1,000 game sessions.
Results and Discussion
The hybrid system successfully evolved agents capable of complex navigation and resource management. The performance metrics revealed a clear advantage for the autoencoder-augmented approach:
- Baselines: Agents provided with random noise or untrained inputs achieved mean survival times of 360-370 frames.
- Standard Autoencoder: Agents using the standard CAE reached mean scores of ~515 frames.
- Alternative Convolution: The model utilizing the accidental, high-compression convolution significantly outperformed all other versions, reaching mean scores of ~657 frames. This version "solved" the environment (surviving until the maximum timeout) 12 times more frequently than the standard model.
The Compression-Speed Tradeoff
A key insight from this study is the relationship between reconstruction accuracy and evolutionary efficiency. While the standard autoencoder produced more accurate visual reconstructions, the alternative convolution produced a "sparser" representation. This higher level of abstraction—though visually blurrier—simplified the search space for CMA-ES, allowing the evolutionary process to identify winning strategies more rapidly.
Conclusion and Future Work
This research demonstrates that neuroevolution can be successfully applied to raw visual tasks if the search space is sufficiently compressed through representation learning. While the current model does not yet match the performance of state-of-the-art Deep-Q Learning, it proves the viability of hybrid evolutionary-deep learning systems.
Future work will focus on addressing the system's current limitations, such as its difficulty in representing small, rare objects like mines. Potential improvements include more aggressive compression techniques or utilizing the compressed latent space as an input for other reinforcement learning methods. Ultimately, providing agents with low-dimensional internal representations is a vital step toward creating general AI capable of conceptualizing the world rather than merely processing pixels.
Summary updated