[Paper Review] Genetic Programming and Gradient Descent: A Memetic Approach to Binary Image Classification
This paper proposes a memetic approach that combines genetic programming (GP) with gradient descent to improve binary image classification. By integrating local search via gradient descent into GP's evolutionary process, the method achieves smaller, more interpretable models with faster inference—though test accuracy remained comparable to baseline GP, highlighting gains in model compactness and efficiency.
Image classification is an essential task in computer vision, which aims to categorise a set of images into different groups based on some visual criteria. Existing methods, such as convolutional neural networks, have been successfully utilised to perform image classification. However, such methods often require human intervention to design a model. Furthermore, such models are difficult to interpret and it is challenging to analyse the patterns of different classes. This paper presents a hybrid (memetic) approach combining genetic programming (GP) and Gradient-based optimisation for image classification to overcome the limitations mentioned. The performance of the proposed method is compared to a baseline version (without local search) on four binary classification image datasets to provide an insight into the usefulness of local search mechanisms for enhancing the performance of GP.
Motivation & Objective
- Address the limitations of deep learning models in image classification, particularly low interpretability and reliance on manually designed architectures.
- Overcome the shortcomings of standard genetic programming in image classification, such as large model sizes and lack of fine-tuning capability.
- Investigate whether incorporating gradient descent as a local search mechanism improves GP-based image classification performance and model characteristics.
- Enhance model interpretability and efficiency by evolving compact, human-readable image classification pipelines automatically.
- Evaluate the trade-offs between training time, model size, and inference speed in a hybrid evolutionary-gradient approach.
Proposed method
- Evolve image classification pipelines using genetic programming, where individuals are tree-structured programs combining convolution, pooling, and activation operations.
- Introduce a local search phase after each GP generation, applying gradient descent to fine-tune the weights of convolutional filters and activation parameters.
- Use backpropagation to compute gradients for the convolutional layers and update filter weights to minimize classification loss.
- Apply a sigmoid activation function to the final output to map to binary class probabilities (0 or 1).
- Perform local search for a fixed number of epochs per individual to refine the model, with learning rate as a hyperparameter.
- Evaluate fitness based on classification accuracy on a validation set, using early stopping to prevent overfitting during local search.
Experimental results
Research questions
- RQ1Does integrating gradient descent as a local search mechanism improve the classification accuracy of GP-based image classifiers compared to standard GP?
- RQ2How does the inclusion of local search affect the size and complexity of evolved GP trees in image classification tasks?
- RQ3Can the hybrid GP-gradient descent approach produce more interpretable and efficient models than standard GP or traditional CNNs?
- RQ4What is the impact of local search on inference speed and training time in the context of GP-based image classification?
- RQ5To what extent does local search enhance model generalization, and can adaptive learning rate strategies further improve performance?
Key findings
- The proposed memetic approach achieved comparable test accuracy to the baseline GP method, with no statistically significant improvement in classification performance.
- Despite no accuracy gain, the local search method produced significantly smaller average tree sizes across all datasets, including JAFFE and CMU Faces, indicating more compact models.
- Smaller tree sizes were observed even without explicit selection pressure for simplicity, suggesting gradient descent naturally promotes model compression.
- The method resulted in faster inference times in many cases due to reduced model complexity, despite increased training time from local search.
- The evolved models demonstrated high interpretability, with one example on the Hands dataset clearly identifying finger regions through high-contrast filtering and minimum pooling.
- The use of local search did not compromise model interpretability and instead led to simpler, more efficient models, highlighting the benefit of hybrid evolutionary-gradient approaches.
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.