Abstract
We present Context Forest (ConF), a technique for predicting properties of the objects in an image based on its global appearance. Compared to standard nearest-neighbour techniques, ConF is more accurate, fast and memory efficient. We train ConF to predict which aspects of an object class are likely to appear in a given image (e.g. which viewpoint). This enables to speed-up multi-component object detectors, by automatically selecting the most relevant components to run on that image. This is particularly useful for detectors trained from large datasets, which typically need many components to fully absorb the data and reach their peak performance. ConF provides a speed-up of 2x for the DPM detector and of 10x for the EE-SVM detector. To show ConF's generality, we also train it to predict at which locations objects are likely to appear in an image. Incorporating this information in the detector score improves mAP performance by about 2% by removing false positive detections in unlikely locations.
Introduction
Modern object detection often employs "mixture models" to account for diverse object appearances, such as different viewpoints of a car. As training datasets expand, these models require an increasing number of components to maintain peak performance. However, evaluating thousands of components on every test image is computationally expensive. Furthermore, standard detectors frequently ignore global context, leading to high-scoring but contextually implausible detections (e.g., a car in the sky). This paper addresses these challenges by introducing the Context Forest (ConF) to improve both efficiency and accuracy through global image "gist."
The Context Forest (ConF) Framework
The authors introduce ConF, a variant of the Random Forest framework designed to predict object properties from global image appearance. Unlike standard k-Nearest Neighbor (kNN) approaches that find visually similar images, ConF is explicitly trained to retrieve images containing objects with similar properties, such as viewpoint or bounding box location.
The model utilizes a high-dimensional feature space (16,000 dimensions) combining SURF, LAB, SIFT, and GIST descriptors with spatial pyramids. During training, each node in the forest learns to split data to maximize property compactness. At test time, an image traverses the forest to retrieve a small "retrieval set" of training images. The detector then dynamically runs only the components most frequent in this set.
Experimental Results and Insights
The ConF method was evaluated on a massive dataset combined from sources like PASCAL VOC, ImageNet, and SUN, focusing on the "Car" and "Horse" classes.
Efficiency and Speedups
ConF delivers significant computational savings:
- Speedups: It achieves a 2x speedup for Deformable Part Models (DPM) and a 10x speedup for Ensemble Exemplar SVMs (EE-SVM). For EE-SVM, this reduces average runtime from 10 minutes to just 1 minute per image.
- Memory Efficiency: For the car dataset, the ConF model was 60x smaller than a kNN index (27MB vs. 1.68GB).
- Accuracy: Incorporating a ConF-based location prior improved mean Average Precision (mAP) by approximately 2% by filtering out-of-context false positives.
The "More Data" Trap
A key insight from the study is that simply adding more training data does not guarantee better performance unless the model's capacity (number of components) increases proportionally. This makes efficient component selection essential for large-scale learning.
Conclusion
Context Forest provides a robust and efficient mechanism for managing high-capacity object detectors. By leveraging global context to perform conditional computation, it enables the use of large-scale training data without the prohibitive computational costs typically associated with complex mixture models.
Summary updated