[Paper Review] Convolution by Evolution: Differentiable Pattern Producing Networks
This paper introduces Differentiable Pattern Producing Networks (DPPNs), a hybrid framework that evolves network topology while learning weights via gradient descent. DPPNs compress a 157,684-parameter denoising autoencoder to just 187 parameters, rediscovering convolutional structures and achieving superior generalization on Omniglot compared to directly encoded networks.
In this work we introduce a differentiable version of the Compositional Pattern Producing Network, called the DPPN. Unlike a standard CPPN, the topology of a DPPN is evolved but the weights are learned. A Lamarckian algorithm, that combines evolution and learning, produces DPPNs to reconstruct an image. Our main result is that DPPNs can be evolved/trained to compress the weights of a denoising autoencoder from 157684 to roughly 200 parameters, while achieving a reconstruction accuracy comparable to a fully connected network with more than two orders of magnitude more parameters. The regularization ability of the DPPN allows it to rediscover (approximate) convolutional network architectures embedded within a fully connected architecture. Such convolutional architectures are the current state of the art for many computer vision applications, so it is satisfying that DPPNs are capable of discovering this structure rather than having to build it in by design. DPPNs exhibit better generalization when tested on the Omniglot dataset after being trained on MNIST, than directly encoded fully connected autoencoders. DPPNs are therefore a new framework for integrating learning and evolution.
Motivation & Objective
- To combine evolutionary topology search with gradient-based weight learning for efficient neural network compression.
- To improve data efficiency and generalization beyond standard CPPNs by enabling weight learning.
- To discover inductive biases like convolutional architectures without architectural priors.
- To evaluate whether DPPNs can outperform directly encoded networks in generalization and parameter efficiency.
- To explore the effectiveness of Lamarckian evolution in combining learning and evolution for neural architecture search.
Proposed method
- DPPNs use a Lamarckian evolutionary algorithm where learned weights are inherited across generations, enabling rapid convergence.
- The network topology is evolved via NEAT, while weights are optimized using backpropagation and gradient descent.
- A CPPN-like architecture maps coordinate inputs (x, y, distance, bias) to output pixel values or weight matrices, with transfer functions including periodic and Gaussian functions.
- The DPPN encodes the weights of a denoising autoencoder by generating a low-dimensional genotype that produces the full weight matrix through pattern generation.
- Crossover and mutation are applied to the topology and initial weights, with fitness evaluated via reconstruction loss on MNIST.
- The framework supports both HyperNEAT-style indirect encoding of large networks and direct reconstruction of autoencoder weights.
Experimental results
Research questions
- RQ1Can a differentiable, evolution-based approach compress large neural networks while preserving performance?
- RQ2Does the integration of gradient-based learning with evolutionary topology search lead to better generalization than standard CPPNs?
- RQ3Can DPPNs rediscover known inductive biases such as convolutional architectures in a fully connected network?
- RQ4How does the Lamarckian learning scheme compare to Darwinian and Baldwinian variants in terms of convergence and performance?
- RQ5To what extent can DPPNs generalize to out-of-distribution datasets like Omniglot after training on MNIST?
Key findings
- A DPPN with only 187 parameters achieved a binary cross-entropy (BCE) of 0.09 on the MNIST test set, compressing a 157,684-parameter autoencoder.
- The DPPN rediscovered convolutional-like weight patterns, including on-center and off-center receptive fields resembling retinal ganglion cells.
- The DPPN achieved a test set MSE of 0.01 after 1,000 tournaments, with crossover significantly improving reconstruction quality (MSE 0.003 vs. 0.03 without).
- Generalization to the Omniglot dataset yielded a BCE of 0.121, outperforming an equivalent directly encoded network with the same number of parameters.
- The DPPN-encoded network achieved lower BCE (0.096) than a directly encoded 100-node network (>0.24), demonstrating superior parameter efficiency.
- The DPPN discovered a 28×28 convolutional structure in the decoding layer of a fully connected autoencoder, despite no architectural bias toward convolution.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.