Context-Sensitive Decision Forests for Object Detection

Peter Kontschieder, Samuel Rota Bulò, Antonio Criminisi, Pushmeet Kohli, Marcello Pelillo, Horst Bischof

Executive Summary

This paper introduces Context-Sensitive Decision Forests (CSDF), an evolution of the popular Hough Forest that allows decision trees to communicate intermediate predictions during training and inference. By utilizing a novel priority-based tree construction and split functions that evaluate contextual surroundings, the model achieves a significant 9% boost in recall for detecting pedestrians in crowded scenes.

Introduction: The "Isolated Island" Problem

Standard Random Forests—specifically Hough Forests used for object detection—treat every image patch as an isolated island. When a standard tree decides if a patch belongs to a pedestrian, it looks exclusively at that patch's local features.

This independence is a critical weakness. In the real world, objects exist in context: if one patch is likely the center of a person, a neighboring patch is highly likely to be part of that same person. Standard forests produce "noisy" results (non-distinctive hypotheses) in the Hough voting space, requiring heavy post-processing like Non-Maximum Suppression (NMS) to clean up the overlapping, messy predictions. The authors aim to bake this "spatial consistency" directly into the learning process.

Methodology

The authors introduce three major innovations to the standard decision forest framework to incorporate spatial context:

  1. Context-Sensitive Split Functions: Standard trees split data based on simple pixel comparisons. CSDF introduces a new family of split functions that evaluate context: "Based on what we've learned so far in this tree, do these two nearby points likely belong to the same object?" It uses intermediate classification and regression (voting) results to inform the routing of samples.
  2. Priority-Based Tree Construction: Usually, trees are grown level-by-level (breadth-first) or branch-by-branch (depth-first). CSDF uses a priority queue to grow the tree. It focuses first on the parts of the data where the training error is highest. This ensures that the "intermediate" predictions used for context are as accurate as possible as the tree gets deeper.
  3. Unified Loss Function: They propose a joint loss function that handles both classification (Is this a pedestrian?) and regression (Where is the center of the pedestrian?) simultaneously, rather than treating them as separate tasks.

Key Insights

  • The "Truncated Tree" Trick: To avoid infinite recursion (using a tree to predict context for itself), the authors use a "truncated" version of the tree. At any given node, the split function only uses information provided by the nodes already created earlier in the training process.
  • Priority Matters: Growing the tree where the error is highest (the "hard" samples) creates a more stable foundation for contextual features. This leads to much sharper peaks in the Hough voting space, making it easier to distinguish individual people in a crowd.
  • Centroid Compatibility: The most powerful new feature is the ability to check if two patches agree on where the object's center is. This "centroid compatibility" test helps the forest ignore "hallucinated" detections that don't make physical sense.

Experiments & Results

The researchers evaluated their approach on the TUD Pedestrian dataset, specifically focusing on TUD-Campus (71 images, 314 pedestrians) and TUD-Crossing (201 images of very crowded scenes with heavy occlusions). They compared their results against the original Hough Forest baseline and other state-of-the-art methods like the Implicit Shape Model (ISM).

  • Crowded Scenes: On the challenging TUD-Crossing dataset, the Context-Sensitive Forest achieved a 9% improvement in recall at a 90% precision rate compared to standard Hough Forests.
  • Efficiency: Even without the priority queue, simply adding contextual features provided a ~6% boost in recall on the Campus scene.
  • Sharper Detections: Qualitatively, the "Hough images" (the heatmaps of predicted object centers) produced by CSDF show much tighter, more distinct peaks. This suggests the model is far more confident and accurate in its localization, easily separating closely walking pedestrians.
Comparison of pedestrian detection heatmaps showing sharper peaks with CSDF.

Limitations and Future Work

  • Computational Overhead: While not explicitly detailed as a failure, the priority-based training and the evaluation of contextual split functions are computationally more demanding than standard random forests.
  • Dependency on Initial Features: The method still relies on good low-level features (like HOG or color gradients) to start the process; if the initial "guesses" are too poor, the contextual refinement has less to work with.
  • Future Directions: The authors suggest this framework could be extended beyond object detection to tasks like semantic segmentation or action recognition, where temporal context (the "surroundings" in time) is just as important as spatial context.

Summary updated

BibTeX
@inproceedings{kontschieder2012context,
  author = {Peter Kontschieder and Samuel Rota Bulò and Antonio Criminisi and Pushmeet Kohli and Marcello Pelillo and Horst Bischof},
  title = {{Context-Sensitive Decision Forests for Object Detection}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2012},
}
Figure