Stacked Hierarchical Labeling

Daniel Munoz, J. Andrew Bagnell, Martial Hebert

Introduction

Semantic image labeling—assigning categorical labels like "tree," "road," or "building" to every pixel—is a fundamental task in computer vision. Achieving high accuracy requires capturing global context, such as the spatial relationship between the sky and the ground. Traditionally, this has been modeled using complex probabilistic frameworks like Conditional Random Fields (CRFs). However, CRFs often suffer from a "tractability trap": exact inference is NP-hard, and the approximations required for learning can lead to sub-optimal models that fail to converge or generalize.

This paper proposes a Stacked Hierarchical Labeling approach. Instead of global optimization, it decomposes scene understanding into a feed-forward sequence of simple, "stacked" classifiers. By passing predictions from coarse to fine regions and training them to recover from earlier errors, the method achieves state-of-the-art results with significantly lower computational costs.

Methodology: Hierarchical Decomposition and Stacking

The core of the proposed method is the transformation of a global labeling problem into a series of local subproblems organized within a hierarchy.

Hierarchical Structure

The image is first partitioned into a hierarchy of regions, ranging from the entire image at the root to small superpixels at the leaves. Unlike traditional methods that assign a single hard label to each region, this model predicts the proportion of labels within a region. This "soft labeling" makes the system robust to segmentation errors where a single region might span multiple object classes (e.g., a region containing both "grass" and "cow").

The hierarchical labeling process. Label proportions are predicted at each level and passed as context features to child regions.

Sequential Inference and Stacking

Inference proceeds top-down. A classifier at each level predicts label distributions, which are then passed to child regions as context features. To prevent errors at coarse levels from cascading and ruining fine-grained predictions, the authors utilize stacking. Classifiers are trained on held-out data to simulate test-time performance, effectively teaching lower-level models to "distrust" or correct erroneous inputs from their parents. This allows the model to recover from mistakes made at the "big picture" level using local, discriminative features.

Experimental Results and Insights

The model was evaluated on the MSRC-21 and Stanford Background (SBD) datasets, two standard benchmarks for dense semantic labeling.

Accuracy and Refinement

On MSRC-21, the hierarchical approach achieved 78% overall accuracy, matching or exceeding the performance of much more complex structured models. A key insight is the progressive refinement of labels. As the process moves down the hierarchy, the probability maps for specific classes become sharper and more spatially accurate.

Refinement of probability maps across levels L4, L6, and L8 for various semantic classes.

Efficiency and Confidence

The method is notably efficient. On the SBD dataset, inference takes approximately 12 seconds per image, whereas global energy-based models can take anywhere from 30 seconds to 10 minutes to converge. Furthermore, the distribution-based output allows for reliable confidence estimation. In MSRC-21 tests, "confident" predictions (where the top label's probability exceeded the runner-up by 0.2) accounted for 79% of the data and were 89% accurate.

Conclusion

Stacked Hierarchical Labeling demonstrates that global context can be effectively captured without the overhead of global probabilistic models. By leveraging a coarse-to-fine hierarchy and error-correcting stacked learning, the model provides a robust and efficient alternative for semantic scene understanding. Future work may involve incorporating more advanced deep features or exploring bi-directional (bottom-up and top-down) message passing within the stacked framework.

Summary updated

BibTeX
@inproceedings{munoz2010stacked,
  author = {Daniel Munoz and J. Andrew Bagnell and Martial Hebert},
  title = {{Stacked Hierarchical Labeling}},
  booktitle = {European Conference on Computer Vision},
  year = {2010},
  doi = {10.1007/978-3-642-15567-3\_5},
}
Figure