Genetic Programming for Kernel-based Learning with Co-evolving Subsets Selection

Christian Gagné, Marc Schoenauer, Michèle Sebag, Marco Tomassini

Abstract

The success of Support Vector Machines (SVMs) is heavily dependent on the choice of an appropriate kernel function, a task often relegated to manual trial-and-error. This paper introduces the Evolutionary Kernel Machine (EKM), which leverages Genetic Programming (GP) to symbolically evolve data-specific kernel functions. To maintain computational efficiency, EKM employs a triple-species co-evolutionary framework that simultaneously optimizes kernels, selects representative prototypes, and identifies challenging training examples. Our results on standard benchmarks show that EKM is competitive with tuned SVMs and can discover novel, effective kernel structures.

Introduction

Kernel-based methods like SVMs map data into high-dimensional spaces to achieve linear separability. While standard kernels such as Gaussian or Polynomial functions are widely used, they may not capture the specific nuances of every dataset. Automating kernel design through Genetic Programming (GP) offers a promising alternative but faces two major hurdles: ensuring the evolved functions are valid symmetric kernels and managing the $O(n^2)$ computational complexity of kernel matrix evaluation.

Methodology

The Evolutionary Kernel Machine (EKM) addresses these challenges through a combination of symbolic constraints and a multi-species evolutionary strategy.

Symmetric Primitives and Fitness

To guarantee symmetry—a fundamental requirement for kernels—the GP search space is restricted to primitives that naturally maintain $K(x, x') = K(x', x)$. Instead of full SVM training for every candidate, EKM uses a Kernel-Nearest Neighbor (Kernel-NN) approach. The fitness function rewards kernels that maximize the margin between same-class and different-class neighbors.

Triple Co-evolutionary Framework

The core innovation of EKM is its co-evolutionary architecture, which manages three distinct populations:

  1. GP Kernels: The symbolic functions being optimized.
  2. Prototypes: A cooperative subset of training data used for class representation.
  3. Fitness Cases: A competitive subset of "hard" examples that challenge the current kernels, effectively focusing the search on difficult regions of the feature space.

This framework allows EKM to remain scalable by evaluating kernels on small, representative subsets rather than the entire training set.

Experimental Results

The EKM was evaluated against $k$-Nearest Neighbor ($k$-NN) and SVMs with Gaussian kernels across six UCI datasets: bcw, bld, bos, cmc, ion, and pid.

As shown in the results table, EKM achieves performance statistically competitive with state-of-the-art tuned SVMs. Notably, on the bld (BUPA Liver Disorders) dataset, EKM outperformed both $k$-NN and SVM, suggesting that the evolved symbolic kernels captured dataset-specific patterns missed by standard functions. Furthermore, the evolved kernels remained parsimonious, with an average size between 116 and 167 nodes, avoiding excessive complexity.

Discussion and Conclusion

EKM demonstrates that symbolic kernel evolution is a viable path for automated machine learning. By co-evolving data subsets, the system maintains efficiency without sacrificing accuracy. However, the competitive nature of the fitness cases can occasionally lead to overfitting on noisy outliers. Additionally, while the evolved kernels work well for Kernel-NN, they do not strictly guarantee Mercer's condition, which may limit their direct application in some traditional quadratic programming-based SVM solvers. Future work will focus on improving noise robustness and exploring ensemble methods to further enhance generalization.

Summary updated

BibTeX
@inproceedings{gagne2006genetic,
  author = {Christian Gagné and Marc Schoenauer and Michèle Sebag and Marco Tomassini},
  title = {{Genetic Programming for Kernel-based Learning with Co-evolving Subsets Selection}},
  booktitle = {PPSN},
  year = {2006},
  doi = {10.1007/11844297\_102},
}
Figure