Abstract
NeuroEvolution (NE) offers a robust alternative to gradient-based learning, particularly in reinforcement learning environments with sparse feedback. However, traditional methods like NeuroEvolution of Augmenting Topologies (NEAT) often suffer from search-time inefficiency and topological bloat. This paper discusses a novel framework, the Reverse Encoding Tree (RET), which treats the fitness landscape as a structured search space. By integrating binary and golden-section search logic into the evolutionary process, the resulting Bi-NEAT and GS-NEAT algorithms demonstrate significantly faster convergence, simpler network architectures, and superior resilience to environmental noise compared to standard benchmarks.
Introduction
NeuroEvolution is a powerful paradigm for evolving both the weights and architectures of neural networks. While NEAT has long been the industry standard, its reliance on stochastic mutations and crossovers often leads to a "blind" walk through the fitness landscape. This lack of structural guidance frequently results in computationally expensive iterations and overly complex network topologies that hinder real-time application.
To address these bottlenecks, researchers have introduced the Reverse Encoding Tree (RET). The RET framework shifts the perspective of evolution from a purely biological metaphor to one of classical search efficiency. By applying mathematical search strategies to the evolution of network topologies, the RET approach bridges the gap between the flexibility of evolutionary strategies and the precision of structured search algorithms.
Methodology
The Reverse Encoding Tree (RET) Logic
The core innovation lies in the conceptualization of the evolutionary path as a tree structure. In a standard search tree, one starts at a root to find a leaf. RET flips this: the initial population represents the "leaves," and the algorithm works backward to identify the most representative "root" nodes—the elite solutions—for subsequent generations.
Search Strategies: Bi-NEAT and GS-NEAT
The researchers implemented two primary search variants within the RET framework:
- Bi-NEAT: Utilizes Binary Search logic to navigate the feature matrix (adjacency matrix) of the network. This allows the algorithm to bisect the search space and rapidly home in on optimal weight and bias configurations.
- GS-NEAT: Employs Golden-Section Search, based on the golden ratio, to explore the fitness landscape. This method is particularly effective in narrowing down the search interval in non-linear environments.
Unsupervised Clustering and Exploration
To balance exploration and exploitation, the framework uses K-means++ to group individuals within a population. The algorithm calculates a correlation coefficient ($\rho$) for each cluster based on fitness and distance. A high correlation suggests a well-explored region, while a low correlation signals the need for further global exploration, preventing the algorithm from stalling in local optima.
Experimental Evaluation
The RET-based methods were evaluated across four tiers of increasing complexity:
- Symbolic Logic Gates: Standard benchmarks including XOR, IMPLY, NAND, and NOR.
- Continuous Control: The Cartpole-v0/v1 environment from OpenAI Gym, requiring precise balance and motor control.
- Complex Gaming: Lunar Lander-v2, a discrete action task requiring the agent to navigate a spacecraft to a landing pad under varying physical constraints.
- Geospatial Optimization: A 3D model of Mount Everest used to visualize the algorithm's ability to navigate a complex, real-world fitness landscape.
Key Results and Discussion
Efficiency and Convergence Speed
The RET framework demonstrated a clear advantage in search efficiency. In the XOR task, the performance gap between RET methods and traditional NEAT widened significantly as complexity increased, often reaching the fitness threshold 20 generations earlier. In more complex control tasks like Cartpole and Lunar Lander, Bi-NEAT and GS-NEAT achieved convergence 2 to 3 times faster than standard NEAT and FS-NEAT.
Topological Simplicity
One of the most striking findings was that structured search led to more elegant solutions. Bi-NEAT and GS-NEAT consistently produced networks with fewer nodes and connections than their counterparts. This suggests that by treating evolution as a search problem, the algorithm identifies the minimal necessary architecture to solve a task, effectively mitigating the "bloat" common in traditional NeuroEvolution.
Robustness to Noise
The researchers tested the algorithms under Gaussian and "Reverse" noise conditions. While standard NEAT's failure rate increased sharply under environmental perturbations, the tree-based searches maintained a near 0% failure rate. This resilience stems from the RET's ability to estimate global trends in the fitness landscape rather than reacting to the "jitter" of local, noisy peaks.
Global Optimization Visualization
On the Mount Everest 3D benchmark, the RET approach reached the optimal peak in just 8 generations. In contrast, standard Genetic Algorithms (GA) remained at the base of the model even after 200 generations, highlighting the superior global search capabilities of the reverse encoding logic.
Conclusion and Future Work
The Reverse Encoding Tree represents a significant shift in how we approach the evolution of neural architectures. By replacing "blind" mutations with structured search logic, RET-based methods offer a faster, leaner, and more robust path to solving complex control problems.
Future research will focus on applying RET to dynamic environments where the fitness landscape changes over time. Additionally, the authors aim to refine node selection processes to further enhance the adaptive capabilities of the topology evolution, potentially unlocking even greater efficiencies in deep reinforcement learning.
Summary updated