Safe Crossover of Neural Networks Through Neuron Alignment
Not on the map. Why?
Abstract (arXiv)
One of the main and largely unexplored challenges in evolving the weights of neural networks using genetic algorithms is to find a sensible crossover operation between parent networks. Indeed, naive crossover leads to functionally damaged offspring that do not retain information from the parents. This is because neural networks are invariant to permutations of neurons, giving rise to multiple ways of representing the same solution. This is often referred to as the competing conventions problem. In this paper, we propose a two-step safe crossover(SC) operator. First, the neurons of the parents are functionally aligned by computing how well they correlate, and only then are the parents recombined. We compare two ways of measuring relationships between neurons: Pairwise Correlation (PwC) and Canonical Correlation Analysis (CCA). We test our safe crossover operators (SC-PwC and SC-CCA) on MNIST and CIFAR-10 by performing arithmetic crossover on the weights of feed-forward neural network pairs. We show that it effectively transmits information from parents to offspring and significantly improves upon naive crossover. Our method is computationally fast,can serve as a way to explore the fitness landscape more efficiently and makes safe crossover a potentially promising operator in future neuroevolution research and applications.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). First posted on arXiv 23 Mar 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 3; 2023: 3; 2024: 0; 2025: 2.
8 papers.
- 2022Git Re-Basin: Merging Models modulo Permutation Symmetriescited by 460
- 2022REPAIR: REnormalizing Permuted Activations for Interpolation Repaircited by 119
- 2023Deep Model Fusion: A Surveycited by 89
- 2023Evolutionary Reinforcement Learning: A Surveycited by 24
- 2022Shortest Edit Path Crossover: A Theory-driven Solution to the Permutation Problem in Evolutionary Neural Architecture Searchcited by 2
- 2023Shrink-Perturb Improves Architecture Mixing during Population Based Training for Neural Architecture Searchcited by 1
- 2025Near-Driven Autonomous Rover Navigation in Complex Environments: Extensions to Urban Search-and-Rescue and Industrial Inspectioncited by 1
- 2025Sharing Knowledge without Sharing Data: Stitches can improve ensembles of disjointly trained modelscited by 0
- 2025Sharing Knowledge without Sharing Data: Stitches can improve ensembles of disjointly trained models19 Dec 2025
- 2025Near-Driven Autonomous Rover Navigation in Complex Environments: Extensions to Urban Search-and-Rescue and Industrial Inspection11 Apr 2025
- 2023Deep Model Fusion: A Survey27 Sep 2023
- 2023Shrink-Perturb Improves Architecture Mixing during Population Based Training for Neural Architecture Search28 Jul 2023
- 2023Evolutionary Reinforcement Learning: A Survey7 Mar 2023
- 2022REPAIR: REnormalizing Permuted Activations for Interpolation Repair15 Nov 2022
- 2022Shortest Edit Path Crossover: A Theory-driven Solution to the Permutation Problem in Evolutionary Neural Architecture Search25 Oct 2022
- 2022Git Re-Basin: Merging Models modulo Permutation Symmetries11 Sep 2022