Searching Search Spaces: Meta-evolving a Geometric Encoding for Neural Networks
Tarek Kunze, Paul Templier, Dennis G Wilson
TL;DR
The paper tackles policy search for neural networks by leveraging an indirect, geometry-based encoding (GENE) whose distance function governs connection weights. It introduces meta-evolution with Cartesian Genetic Programming to automatically learn effective distance functions, yielding learned encodings that outperform direct encoding and hand-crafted distances on several continuous-control tasks and even generalize to new environments. Key findings include the emergence of sparse networks via pruning-like distance rules, and a simple, interpretable best function LD-367 that uses a boolean comparison to selectively propagate weights. The work demonstrates that evolving the encoding itself can meaningfully reshape the search landscape, enabling more efficient and scalable neuroevolution with potential for broader applicability and exploration of sparse representations.
Abstract
In evolutionary policy search, neural networks are usually represented using a direct mapping: each gene encodes one network weight. Indirect encoding methods, where each gene can encode for multiple weights, shorten the genome to reduce the dimensions of the search space and better exploit permutations and symmetries. The Geometric Encoding for Neural network Evolution (GENE) introduced an indirect encoding where the weight of a connection is computed as the (pseudo-)distance between the two linked neurons, leading to a genome size growing linearly with the number of genes instead of quadratically in direct encoding. However GENE still relies on hand-crafted distance functions with no prior optimization. Here we show that better performing distance functions can be found for GENE using Cartesian Genetic Programming (CGP) in a meta-evolution approach, hence optimizing the encoding to create a search space that is easier to exploit. We show that GENE with a learned function can outperform both direct encoding and the hand-crafted distances, generalizing on unseen problems, and we study how the encoding impacts neural network properties.
