Searching Search Spaces: Meta-evolving a Geometric Encoding for Neural Networks

Tarek Kunze, Paul Templier, Dennis G Wilson
3/20/2024
cs.NEcs.AI

No official code found. Best implementation: arxaqapi/gene.jax (4 stars, last commit 2024-09-24).

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.

View on arXivView PDF

Code Implementations(1)

arxaqapi/gene.jaxCommunity71%

πŸ“œ Code for the paper: Searching Search Spaces: Meta-evolving a Geometric Encoding for Neural Networks

41Shell, PythonApr 17, 20232 years ago

Similar Papers

Cite this paper

@article{kunze2024searching,
  title  = {Searching Search Spaces: Meta-evolving a Geometric Encoding for Neural Networks},
  author = {Tarek Kunze and Paul Templier and Dennis G Wilson},
  year   = {2024},
  eprint = {2403.14019},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.14019v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.14019.svg)](https://codeofpaper.com/paper/2403.14019)

Discussion