Abstract: This paper focuses on using an Improved Genetic Algorithm (IGA) to optimize Gabor filters for vehicle detection. Gabor filter parameters are encoded into chromosomes and optimized via genetic operators. To address the limitations of traditional crossover in global searching, a novel "partheno-crossover" operator is introduced. The goal is to develop a specific set of filters that respond more strongly to vehicles than non-vehicles. Experimental results show that Gabor filters optimized with IGA achieve a superior correct detection rate compared to those optimized with a standard Genetic Algorithm (GA).
Introduction
Vehicle detection is a critical component of autonomous driving and intelligent traffic management systems. However, the high degree of "within-class variation"—differences in vehicle color, size, orientation, and pose—makes accurate detection challenging. Gabor filters, which mimic the edge and texture response of neurons in the human visual cortex, are frequently employed for feature extraction. The effectiveness of these filters depends heavily on their parameters (scale, orientation, frequency), which are traditionally difficult to tune manually.
While Genetic Algorithms (GAs) offer an automated approach to parameter optimization, they often suffer from "premature convergence." This occurs when the population becomes genetically similar, leading the algorithm to get stuck in local optima. This paper introduces an Improved Genetic Algorithm (IGA) to overcome these limitations and enhance vehicle detection accuracy.
Methods
The proposed system uses a closed-loop learning scheme where the IGA evolves Gabor filter parameters, and the fitness of each chromosome is evaluated based on the performance of a Support Vector Machine (SVM) classifier.
The IGA incorporates several key innovations designed to maintain population diversity and avoid the "inbreeding" problem:
- Partheno-crossover Operator: Unlike traditional crossover that mixes two parents from the current population, the partheno-crossover forces a selected individual to cross with a synthetic "opposite" individual. This ensures the search space remains wide open even as the population starts to converge.
- Niche Technology: To prevent a single high-fitness individual from dominating the population too early, niche technology uses Hamming distance to identify and remove redundant individuals.
- Adaptive Mutation: The mutation rate is dynamically adjusted based on individual fitness, preserving high-quality genes while encouraging exploration in underperforming ones.
- Migration Strategy: New "immigrant" individuals are introduced to fill gaps left by the niche culling process, further preventing stagnation.
Datasets and Experimental Setup
The study utilized a dataset of 200 gray-scale images, consisting of 100 vehicle and 100 non-vehicle samples.
All images were manually extracted and resized to 64 × 64 pixels. For training, a small subset of 10 vehicle and 10 non-vehicle images was used, while the remaining 180 images served as the test set. This small training set highlights the efficiency of the optimization process in finding robust features with minimal data.
Key Results and Discussion
The performance of IGA-optimized filters (GFOI) was compared against a standard 4x6 Gabor filter bank and a traditional GA-based evolutionary method (EGFO).
| Method | Correct Rate (No Stopping Criterion) | Correct Rate (With Stopping Criterion) |
|---|---|---|
| Standard Gabor Bank | 87.78% | N/A |
| EGFO (Traditional GA) | ~93% | 48.15% |
| GFOI (Improved GA) | 93.89% | 91.46% |
The results indicate that while traditional GAs can achieve high accuracy, they are highly unstable. When a convergence judgment (stopping rule) is applied, the traditional GA's performance drops significantly, likely due to premature convergence on a local optimum. In contrast, the IGA remains robust and reliable, maintaining high accuracy even with early stopping. This stability is attributed to the partheno-crossover and niche technology, which effectively break the cycle of genetic stagnation.
Conclusion
The Improved Genetic Algorithm successfully optimizes Gabor filters for vehicle detection, providing a more stable and accurate solution than traditional methods. By prioritizing population diversity through novel operators, the IGA avoids local optima and ensures reliable feature extraction. Future work should involve testing the IGA on larger, more diverse datasets to evaluate its scalability and generalization across different environmental conditions.
Summary updated