Abstract
Scene labeling is a fundamental computer vision task that requires pixel-level classification. However, the performance of deep learning models is often limited by large intra-class variation, which introduces ambiguity during training. This paper presents a novel approach that utilizes semantic context to create a label hierarchy. By decomposing broad categories into visually consistent subclasses based on scene names and local label statistics, the proposed method enables Convolutional Neural Networks (CNNs) to learn more discriminative feature representations. Experimental results on four benchmark datasets—SIFTFlow, Stanford Background, Barcelona, and LM+Sun—demonstrate state-of-the-art performance without increasing the computational cost of inference.
Introduction
The goal of scene labeling is to produce a dense prediction map where each pixel is assigned a semantic label. Despite the success of deep learning, intra-class variation remains a significant hurdle. A "building" in an urban setting possesses distinct visual features compared to a "building" in a rural or mountainous area. Forcing a model to map these disparate visual patterns to a single category label can lead to gradient confusion and suboptimal feature learning.
While previous research has primarily used semantic context (e.g., "cars are typically found on roads") for post-prediction regularization, this work argues for its use as a direct supervision signal during the training phase.
Methodology
The authors propose a framework that leverages semantic context to refine the supervision signal through the creation of label hierarchies and specialized training strategies.
1. Semantic Context-Guided Subclass Creation
To reduce intra-class variation, the original classes are split into subclasses using two forms of context:
- Global Scene Context: For datasets with scene-level annotations, object labels are augmented with the scene name (e.g., "mountain+building" vs. "city+building").
- Local Neighborhood Context: For datasets lacking scene names, the authors utilize label map statistics. A histogram of labels within a local window around a pixel is computed, and K-means clustering is applied to these histograms to group pixels into contextually similar subclasses.
2. Hierarchical Training Strategies
Two training regimes were explored to integrate these subclasses:
- Sequential Fine-tuning: The network is initially trained to classify pixels into the fine-grained subclasses. After convergence, the final layer is replaced to target the original broad classes, and the network is fine-tuned.
- Hierarchical Multi-label Fine-tuning: A more integrated approach where a new layer maps subclasses to parent classes via a sparse weight matrix. The network is optimized using a joint loss function that accounts for both levels of the hierarchy simultaneously.
Experimental Results
The proposed method was evaluated across four diverse datasets, showing consistent improvements over baseline models and previous state-of-the-art methods.
| Dataset | Per-pixel Accuracy |
|---|---|
| SIFTFlow | 87.8% |
| Stanford Background | 88.2% |
Key findings include:
- Superior Representations: The hierarchical strategy consistently outperformed sequential fine-tuning, suggesting that maintaining the relationship between subclasses and parent classes is crucial for learning robust features.
- Efficiency: Because the subclass-specific layers are only utilized during training, the final inference model maintains the same size and complexity as standard architectures.
- Handling Unlabeled Data: On datasets like Barcelona, which contain many unlabeled pixels, the authors successfully employed a "pseudo-labeling" technique to generate initial maps for subclass clustering.
Conclusion
This research demonstrates that semantic context is a powerful tool for guiding the supervision of deep models. By addressing intra-class variation at the source—the training signal—the proposed method enables CNNs to develop more meaningful visual detectors. This approach provides a path toward more accurate scene labeling without the need for larger or more complex network architectures.
Summary updated