Genetic Programming-Based Evolutionary Deep Learning for Data-Efficient Image Classification

Ying Bi, Bing Xue, Mengjie Zhang

TL;DR

This paper introduces EDLGP, a novel approach that uses Genetic Programming to automatically evolve deep learning models for image classification with very limited training data. EDLGP outperforms traditional deep learning methods, especially in data-scarce scenarios, by creating interpretable, variable-length models that learn features and build ensembles.

What Problem Does This Paper Address?

Image classification is a fundamental task in computer vision, but state-of-the-art deep learning models, particularly Convolutional Neural Networks (CNNs), typically require massive amounts of labeled data to achieve high performance. This reliance on large datasets makes them impractical for domains where data is scarce, expensive, or difficult to obtain (e.g., medical imaging, rare object recognition). Furthermore, CNNs often act as "black boxes," making it difficult to understand why they make certain predictions, and require significant expert knowledge to design effective architectures. This paper tackles the challenge of data-efficient image classification, aiming to develop models that perform well with minimal training data while also offering better interpretability and requiring less manual tuning.

Methods

The core of this work is the EDLGP (Evolutionary Deep Learning using Genetic Programming) approach. Unlike traditional methods that evolve CNN architectures, EDLGP uses Genetic Programming (GP) to evolve entire models represented as variable-length tree structures.

Here's a breakdown of the key components:

  • New Model Representation: EDLGP employs a flexible, multi-layer tree structure inspired by "strongly typed GP." This structure includes concept layers for:
  • Input: Raw images and parameters.
  • Image Filtering: Applying standard filters (e.g., Gaussian, Sobel).
  • Feature Extraction: Using image descriptors (e.g., HOG, LBP, SIFT).
  • Concatenation: Combining features.
  • Classification and Cascade: Performing classification and using cascade learning.
  • Summation: Aggregating predictions.
  • Output: Final classification. This representation allows for the automatic evolution of both shallow and deep models, as well as ensembles.

  • Flexible Function and Terminal Sets: EDLGP utilizes a rich set of functions (internal nodes) and terminals (leaf nodes) that cover image processing, feature extraction, and classification operations. This allows the GP to discover novel combinations of operations for effective data transformation.

  • Genetic Operators: Standard GP operators like subtree crossover and mutation are used to evolve the population of tree-based models.
  • Fitness Function: The fitness of each evolved model is evaluated based on classification accuracy on the training set, often using k-fold cross-validation.

The key novelty lies in EDLGP's ability to simultaneously evolve the entire model pipeline, from feature extraction to classification and ensemble construction, without pre-defining a fixed architecture. This contrasts with many existing Evolutionary Deep Learning (EDL) methods that focus on optimizing parts of neural networks.

Datasets

The proposed EDLGP approach was evaluated on a variety of datasets to demonstrate its effectiveness in data-efficient image classification:

  • Object Classification:
    • CIFAR10
    • Fashion-MNIST (FMNIST)
    • SVHN
  • Face Classification:
    • ORL
    • Extended Yale B

For these datasets, the experiments were conducted under data-efficient scenarios, meaning only a small subset of the original training data was used. This included testing with as few as 1-128 images per class for CIFAR10, and specific numbers of images per class for ORL and Extended Yale B.

Key Insights and Ideas

  • GP as a Powerful Tool for Data-Efficient Learning: The paper strongly advocates for GP as a superior alternative to CNNs when training data is limited. GP's ability to evolve variable-length, symbolic models allows it to find efficient solutions without the need for massive datasets.
  • End-to-End Model Evolution: EDLGP's strength lies in its ability to evolve the entire classification pipeline, from raw image input to final prediction, including feature extraction and ensemble building, all within a single GP framework.
  • Interpretability Through Structure: The tree-based representation of EDLGP models inherently offers better interpretability. The paper demonstrates this by visualizing the features generated at different nodes of the evolved trees, showing how the model transforms data and clusters classes.
  • Transferability of Evolved Models: The study shows that models evolved by EDLGP on one dataset can be effectively transferred and fine-tuned to perform well on other, related datasets, highlighting the generality of the learned representations.
  • Automatic Feature Engineering and Ensemble Creation: EDLGP automates the often manual and expertise-driven tasks of feature engineering and ensemble design, making it more accessible and adaptable.

Key Results

  • Superior Performance in Data-Scarce Scenarios: EDLGP consistently outperformed state-of-the-art CNNs and other benchmark methods across multiple datasets when training data was limited. For instance, on few-shot CIFAR10, EDLGP achieved significantly higher accuracies than various CNN architectures and CNTK networks.
  • Competitive Performance on Larger Datasets: While EDLGP excels in data-scarce settings, it remained competitive even as the training data size increased, though CNNs sometimes surpassed it with very large datasets.
  • High Accuracy on Face Recognition: On ORL and Extended Yale B datasets, EDLGP achieved average accuracies exceeding 99%, demonstrating its effectiveness for face classification with limited data.
  • Interpretability Demonstrated: Visualizations of evolved trees and their internal node transformations provided clear insights into how EDLGP models achieve high classification accuracy.
  • Good Transferability: Evolved EDLGP models showed promising transferability, achieving good performance on target tasks even when trained on different source datasets.
  • Computational Trade-offs: While EDLGP's evolutionary process can be computationally intensive (taking up to 90 hours on a single CPU for large datasets), its classification/test time is relatively fast (under 4 minutes for 10,000 images). This is a trade-off for its data efficiency and automated model discovery.

Limitations and Future Work

  • Computational Cost: The evolutionary search process for EDLGP can be time-consuming, especially for complex tasks and larger populations. The authors acknowledge that this is partly due to its current implementation on CPUs, and suggest that GPU acceleration or parallel processing could significantly speed up the process.
  • Parameter Tuning: While EDLGP aims to reduce manual tuning, some parameters for the GP itself (e.g., population size, mutation rate) still require setting, though the paper suggests common, effective values.
  • Future Work: The authors suggest further exploration of GP-based EDL methods, including developing more effective GP operators, expanding the function and terminal sets, and investigating its application to other complex machine learning tasks. They also highlight the potential for further improving transferability and exploring hybrid approaches.

Summary updated

BibTeX
@article{bi2024genetic,
  author = {Ying Bi and Bing Xue and Mengjie Zhang},
  title = {{Genetic Programming-Based Evolutionary Deep Learning for Data-Efficient Image Classification}},
  journal = {IEEE Trans. Evol. Comput.},
  year = {2024},
  doi = {10.1109/tevc.2022.3214503},
}
Figure