NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Using Genetic Algorithms to Improve Pattern Classification Performance

Eric I. Chang, Richard LippmannNeurIPS 1990

Introduction

This paper demonstrates that Genetic Algorithms (GAs) serve as a powerful, unified tool for optimizing pattern classifiers. By mimicking natural selection, the authors successfully utilized GAs to prune redundant features, engineer complex new ones from scratch, and slash the memory requirements of Nearest Neighbor classifiers. In many cases, this evolutionary approach outperformed traditional heuristic methods.

The Problem: Feature and Exemplar Overload

In pattern classification, models frequently face three major hurdles:

  1. Feature Selection: Providing a model with too many input variables often degrades performance because the classifier gets "lost" in the noise—a phenomenon known as the curse of dimensionality.
  2. Feature Creation: Raw data is rarely in an ideal format. Finding the right mathematical transformation (e.g., a specific polynomial combination) to make classes separable is typically a needle-in-a-haystack problem.
  3. Exemplar Selection: The $k$-Nearest Neighbor (KNN) algorithm is simple but "lazy." Because it stores every single training point, it becomes incredibly slow and memory-intensive as datasets grow.

The authors argue that the search space for these problems is too vast for exhaustive search and too "craggy" for simple hill-climbing heuristics, making GAs a robust alternative.

Methodology: The GENITOR Algorithm

The authors utilized a specific GA variant called the GENITOR model (an incremental static population model). Unlike standard GAs that replace an entire "generation" at once, GENITOR ranks individuals by fitness and replaces only the weakest members with new offspring. This prevents the accidental loss of high-performing solutions.

The optimization process follows four classic evolutionary stages:

  • Creation: Solutions are represented as bit strings (e.g., a '1' means a feature is included, '0' means it is excluded).
  • Selection: Fitter solutions—those yielding higher classification accuracy—are more likely to "breed."
  • Crossover: Portions of two parent bit strings are swapped to create offspring.
  • Mutation: Bits are randomly flipped to maintain genetic diversity and prevent the search from getting stuck in local optima.

To evaluate fitness, the authors used leave-one-out cross-validation with a KNN classifier. This ensured the GA optimized for generalizable accuracy on unseen data rather than simply memorizing the training set.

Key Results and Insights

The study evaluated the GA across three distinct tasks, proving that a single GA framework could handle selection, creation, and pruning with minimal modification.

1. Feature Selection (The "E-Set" Speech Task)

The GA was tasked with optimizing 153 features extracted from recordings of nine English letters that rhyme with "E" (B, C, D, etc.). The GA successfully reduced the feature count from 153 to just 15, achieving a 17.5% test error rate. This outperformed traditional sequential search methods, which achieved an 18.5% error rate while using twice as many features.

Classification error rate and feature reduction over GA recombinations.

2. Feature Creation (Parallel Vector Problem)

In an artificial machine-vision task aimed at distinguishing between pairs of parallel and non-parallel vectors, the GA didn't just pick features; it built them. By combining original features into polynomials, the GA discovered a specific ratio—$(\Delta x_2 * \Delta y_2) / (\Delta x_1 * \Delta y_1)$—that made the classes perfectly separable. This dropped the error rate from 19% to 0%, outperforming more complex models like Radial Basis Function (RBF) networks.

3. Exemplar Selection (Vowel Recognition Database)

When selecting exemplars for KNN to classify ten different vowel sounds based on formant frequencies, the GA naturally gravitated toward a smaller, cleaner subset of data. It pruned the number of stored patterns from 338 down to 43 (an 8x reduction) without significantly hurting accuracy.

Smoothed decision boundaries after GA exemplar selection.

By stripping away noisy, overlapping data points, the GA produced "smoother" decision boundaries that generalized better to unseen test data than the original, overfitted boundaries. It also outperformed the standard "Condensed Nearest Neighbor" (CKNN) heuristic.

Limitations and Future Work

While highly effective, the approach has limitations:

  • Computational Cost: The primary drawback is execution time. In 1991, these runs took hours or days on a workstation. While modern hardware mitigates this, GAs remain computationally expensive compared to gradient-based methods.
  • Search Efficiency: Because GAs are stochastic, there is no absolute guarantee of finding the global optimum.
  • Alternative Meta-heuristics: The authors suggest that future work should compare GAs against other global search techniques, such as Simulated Annealing, to determine which is most efficient for these specific pattern recognition bottlenecks.

Summary updated

BibTeX
@inproceedings{chang1990using,
  author = {Eric I. Chang and Richard Lippmann},
  title = {{Using Genetic Algorithms to Improve Pattern Classification Performance}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {1990},
}
Figure