Designing Application-Specific Neural Networks Using the Genetic Algorithm

Steven A. Harp, Tariq Samad, Aloke GuhaNeurIPS 1989

Overview

This paper introduces NeuroGENESYS, a pioneering system that leverages Genetic Algorithms (GA) to automatically evolve optimal architectures and learning parameters for neural networks. By treating network design as an evolutionary process, the authors demonstrate that GAs can discover non-obvious, high-performance structures that consistently outperform both manual design and random search.

The Problem: Neural Network Design as "Black Magic"

In the late 1980s, designing neural networks was often considered more art than science. While researchers understood that architecture (such as the number of layers and connectivity patterns) and hyperparameters (like learning rates) significantly impacted performance, finding the right combination for a specific task required exhaustive manual trial and error.

The authors identified a critical gap: the field lacked analytic results or reliable heuristics to guide developers. They sought a systematic, model-independent way to optimize networks for diverse criteria—such as learning speed, generalization capability, and hardware efficiency—without relying on a human expert to guess the best configuration.

Methods: The NeuroGENESYS System

To solve this, the researchers developed NeuroGENESYS, which applies a Genetic Algorithm to the "blueprint" of a neural network.

NeuroGENESYS Evolutionary Loop

The system operates on a continuous evolutionary loop:

  1. Instantiation: A population of blueprints is converted into actual networks with random initial weights.
  2. Training: Each network is trained using a variant of backpropagation on a set of training stimuli.
  3. Testing: Networks are evaluated on training data, non-training data (to test generalization), and even "damage" scenarios (disabling units to test robustness).
  4. Selection & Crossover: The best-performing networks (those with the highest "fitness") are selected to breed. Their blueprints are spliced together (crossover) and slightly altered (mutation) to create the next generation.

Encoding the Blueprint

A network is represented as a bit-string, or genome. This string encodes "Areas" (layers of units) and "Projections" (connections between areas).

Network Blueprint Encoding

Beyond just the number of units, the blueprint encodes spatial organization (like 2D arrays), connectivity radii (for localized receptive fields), connection density, and specific learning parameters such as the initial learning rate ($\eta$) and its decay rate.

Experimental Datasets

The authors evaluated NeuroGENESYS on four classic benchmark problems:

  1. Digit Recognition: Identifying digits from $4 \times 8$ pixel images.
  2. Exclusive-OR (XOR): The prototypical non-linearly separable logic problem.
  3. Sine Function Approximation: Modeling one cycle of a sine wave.
  4. Convexity Detection: A classification problem to determine if a shape is convex.

Key Insights and Results

The evolutionary approach yielded several surprising and highly effective network designs:

  • Surprising Simplicity: In the digit recognition task, the GA produced optimized networks with no hidden layers that still achieved perfect learning. This revealed that the specific $4 \times 8$ digit problem was actually linearly separable—a fact that wasn't obvious to the researchers beforehand.
  • The "Bypass" Connection: For the XOR problem, the GA frequently evolved "bypass" connections—direct links from the input layer to the output layer that skip the hidden layer. The authors hypothesized that these connections significantly accelerate the learning process.
  • Fitness as a Multi-Objective Tool: The fitness function allowed the authors to trade off between competing goals. For example, they could evolve a network specifically for "minimum fanout" (low connectivity, ideal for VLSI hardware implementation) versus one optimized solely for "maximum learning speed."
  • Efficiency Gains: NeuroGENESYS produced networks that performed significantly better than the randomly generated networks in the initial population, often converging on high-performance architectures within fewer than 50 generations. Control studies confirmed that the GA consistently outperformed random search, effectively navigating the discontinuous and nonlinear search space of network architectures.
  • Minimalist Modeling: For the sine function, the system successfully identified the "minimum possible configuration" (one hidden layer with two units) for a crude approximation, but scaled up to intricate multilayer structures when higher accuracy was required.

Limitations and Future Work

The primary limitation of NeuroGENESYS was the "training wall." Evaluating a large population of networks is computationally expensive because each individual must be fully trained. On the hardware of the time (Symbolics Lisp machines), some experiments took a week or longer.

However, the authors noted that because GAs are inherently parallel, this bottleneck could be mitigated by distributing the training across a cluster of workstations. They also suggested that while the study started with random networks, seeding the GA with manually optimized networks could further accelerate the discovery of high-performance architectures. Future directions included expanding the toolkit beyond feedforward networks and backpropagation to incorporate unsupervised learning components and hybrid models.

Summary updated

BibTeX
@inproceedings{harp1989designing,
  author = {Steven A. Harp and Tariq Samad and Aloke Guha},
  title = {{Designing Application-Specific Neural Networks Using the Genetic Algorithm}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {1989},
}
Figure