Abstract: We present a novel, generic image classification method based on a recent machine learning algorithm (ensembles of extremely randomized decision trees). Images are classified using randomly extracted subwindows that are suitably normalized to yield robustness to certain image transformations. Our method is evaluated on four very different, publicly available datasets (COIL-100, ZuBuD, ETH-80, WANG). Our results show that our automatic approach is generic and robust to illumination, scale, and viewpoint changes. An extension of the method is proposed to improve its robustness with respect to rotation changes.
Introduction
In the mid-2000s, image classification was a battle against variability. Standard approaches relied on complex, hand-crafted "interest point" detectors to find stable regions across different lighting conditions, rotations, and occlusions. However, these detectors were often brittle; if they failed to find the same points due to blur or low contrast, the entire classification pipeline collapsed.
This paper, originally presented at CVPR 2005, proposes a refreshingly different path. Instead of searching for the "right" points, the authors leverage the statistical power of massive random sampling combined with a fast machine learning algorithm: Extremely Randomized Trees (Extra-Trees). By bypassing complex feature engineering, they achieved state-of-the-art results with remarkable efficiency.
Methodology
The proposed framework consists of three main phases designed for simplicity and robustness:
1. Random Subwindow Extraction and Normalization
Instead of using interest point detectors, the algorithm randomly extracts a large number of square subwindows (typically 100 to 1,000 per image). These patches vary in size from a single pixel to the entire image. To ensure scale invariance, every subwindow is resized to a fixed 16x16 pixel square. To handle illumination changes, patches are converted to the HSV color space, isolating intensity into a single channel.
2. Classification with Extra-Trees
The core of the system is an ensemble of Extra-Trees. Unlike standard decision trees that search for optimal splits, Extra-Trees pick split thresholds completely at random. This significantly speeds up training and reduces model variance. For a new test image, subwindows are extracted and passed through the ensemble. Each subwindow "votes" for a class, and the final classification is determined by the majority vote across all patches.
Experimental Results
The method was evaluated on four diverse datasets: COIL-100 (viewpoint changes), ZuBuD (real-world buildings), ETH-80 (intra-class variability), and WANG (natural scenes).
Key Performance Metrics
- COIL-100: In a challenging "single-view" setup (training on only the $0^\circ$ angle), the method achieved a 13.58% error rate across all other 71 angles, outperforming previous benchmarks. The error rate naturally increases as the test angle deviates further from the training angle, but remains robust over a wide range.
- ZuBuD: The system achieved a 4.35% error rate, misclassifying only 5 out of 115 images in real-world conditions.
- Efficiency: The approach is highly efficient; training on 100,000 subwindows took approximately 6.5 minutes on contemporary hardware, with a model size of only 12MB.
Conclusion
The "Random Subwindows" approach demonstrates that redundancy can be a powerful feature in computer vision. By sampling enough random patches, the underlying signal of an object eventually outweighs the noise of the background or lighting variations. While the base method lacks natural rotation invariance, it provides a generic, fast, and robust framework for image classification that challenges the necessity of complex, hand-crafted feature detectors.
Summary updated