Abstract
Object detection remains a fundamental challenge in computer vision, requiring the identification and localization of specific objects within complex visual environments. Genetic Programming (GP) offers a robust evolutionary approach to automatically generating detection programs. However, traditional GP methods are often hindered by computationally expensive fitness evaluations and the processing of redundant training data. This paper presents a novel "Relative Localisation Weighted F-measure" (RLWF) to streamline fitness evaluation and investigates the impact of training data selection on learning efficiency.
Introduction
Object detection involves determining both the class and the spatial coordinates of objects in an image. While deep learning has become dominant, Genetic Programming (GP) provides an alternative by evolving programs through Darwinian principles of selection and mutation. Despite its potential, GP-based object detection faces two primary bottlenecks: the "Fitness Bottleneck," where clustering detections for evaluation consumes significant time, and "Data Overload," where sliding-window approaches generate vast amounts of redundant background data.
Methodology
The GP Object Detection Framework
The proposed system utilizes a sweeping window approach to scan images for target objects. As shown in Figure 1, the process involves extracting features (terminals) from training windows, which are then processed by evolved genetic programs. The fitness of these programs is evaluated based on their ability to correctly identify object centers.
The RLWF Fitness Function
To address the fitness bottleneck, this research introduces the Relative Localisation Weighted F-measure (RLWF). Traditional methods often rely on Clustering Based Fitness (CBF), which requires grouping multiple detections into a single point before evaluation—a computationally intensive step. RLWF bypasses this by assigning a Localisation Fitness (LF) score to every detection based on its proximity to the true object center. By using a continuous weighting scale (where a perfect hit equals 1.0 and a hit at the object's edge equals 0.0), the system can reward "near misses" and penalize "far misses" without the need for prior clustering.
Training Data Categorization
The study also examines the necessity of various training examples. Training windows were categorized into four groups based on their alignment with the target object:
- Exact Centre: Perfectly aligned with the object.
- Close to Centre: Slightly offset but largely on-target.
- Include Centre: The center is within the window, but the window is significantly off-center.
- Background: No part of the object is present in the window.
Experimental Setup
The approach was evaluated using three datasets of increasing difficulty, featuring New Zealand 5-cent and 10-cent coins. As illustrated in Figure 2, the datasets ranged from uniform backgrounds to highly noisy and cluttered environments.
Key Results and Discussion
Performance and Efficiency
The RLWF method demonstrated significant improvements over traditional CBF across all metrics. In terms of speed, RLWF completed training on the "Medium" dataset in 105 seconds, whereas the CBF method required 431 seconds—a 4x speedup. Furthermore, RLWF drastically reduced "false alarms." On the "Hard" dataset, the traditional method produced approximately 1484 extra localizations per image, while RLWF produced only 114, indicating much higher precision.
Data Informative Value
A critical finding was that "Close to Centre" examples are the most informative for the evolutionary process. Training exclusively on "Close to Centre" data yielded the best results. Surprisingly, the inclusion of "Background" data was found to be largely unnecessary; if the fitness function is well-designed, the system can learn to ignore background noise even without explicit negative examples during training.
Conclusion
By replacing expensive clustering with the RLWF fitness function and optimizing the selection of training data, the efficiency and accuracy of GP-based object detection can be significantly enhanced. While the current localization fitness calculation is optimized for circular objects like coins, future work will explore adapting these methods for irregular shapes and scaling the approach to larger, more diverse datasets.
Summary updated