Abstract
Scene parsing requires balancing fine-grained spatial details with broad global context. Traditional methods often use static fusion techniques like addition or concatenation, which fail to account for spatial inhomogeneity across an image. This paper introduces MoE-SPNet and the Adaptive Hierarchical Feature Aggregation (AHFA) mechanism, leveraging a Mixture-of-Experts (MoE) framework. By employing a learned gating network that generates pixel-wise weight maps, the model adaptively fuses multi-scale features based on image content. Evaluations on PASCAL VOC 2012 and SceneParse150 demonstrate consistent performance improvements over baseline architectures.
Introduction
In computer vision, scene parsing (semantic segmentation) represents the ultimate challenge of visual understanding. It requires labeling every pixel in an image with its corresponding category—distinguishing, for instance, a dog from the grass it stands on and the sky behind it. A primary hurdle in this task is the scale problem: small objects require high-resolution, low-level features for sharp boundaries, while large objects or "stuff" (like sky or water) require high-level, global context for correct identification.
The Challenge of Spatial Inhomogeneity
Most modern networks, such as FCNs or DeepLab variants, generate features at multiple scales and combine them using simple addition or concatenation. However, these "one-size-fits-all" approaches ignore spatial inhomogeneity. A pixel on the edge of a bicycle requires different information than a pixel in the middle of a cloud. Standard fusion methods fail to adapt to these varying local needs.
Proposed Methods: MoE-SPNet and AHFA
The authors propose two architectures based on the Mixture-of-Experts (MoE) framework to address these limitations:
- MoE-SPNet: This model extends the DeepLab-ASPP architecture. It treats parallel branches with varying dilation rates—which control the receptive field of each branch—as individual "experts."
- Adaptive Hierarchical Feature Aggregation (AHFA): Designed for networks with skip-connections (like FCN-8s), AHFA fuses features stage-by-stage as the network upsamples from coarse to fine resolutions.
The Gating Network
The core innovation is the Gating Network, a small convolutional sub-network that learns to produce a pixel-wise weight map. Unlike hard-coded fusion rules, this mechanism is:
- Input-Aware: Weights are calculated dynamically based on the image content.
- Prediction-Based: The authors found that training the gating network using the predictions of the experts, rather than raw features, was both more efficient and accurate. It leverages the semantic "conclusions" of each expert to decide which one to trust for a given pixel.
Experimental Evaluation
The researchers evaluated their models on two major benchmarks:
- PASCAL VOC 2012: A classic dataset featuring 20 object categories and one background class.
- SceneParse150 (ADE20K): A challenging dataset containing 150 categories, ranging from "floor" and "water" to "person" and "car."
Key Insights
- Dynamic Context: Visualized weight maps confirm that the network naturally learns to rely on high-resolution experts for boundaries and global-context experts for large, uniform areas.
- Sparse Connections: The AHFA mechanism utilizes "sparse connections" in the gating network, where the weight for an expert is learned primarily from its own features, simplifying the learning process without sacrificing performance.
- Non-linear Aggregation: Moving from linear (average/sum) to non-linear (adaptive weighting) aggregation allows the model to better navigate the "spatial-semantic tradeoff"—the tension between spatial precision and semantic accuracy.
Results
MoE-SPNet consistently outperformed baseline networks:
- PASCAL VOC: MoE-SPNet (with a ResNet-101 backbone) achieved an 82.5% mean IoU (Intersection over Union), competing with state-of-the-art methods.
- SceneParse150: On this complex task, MoE-SPNet improved the DeepLab-ASPP baseline by 1.1% in mIoU and 0.7% in Pixel Accuracy.
- VGG Improvements: The AHFA mechanism boosted the FCN-8s baseline from 29.48% to 31.28% mIoU on SceneParse150.
Limitations and Future Work
While effective, the authors identified several areas for further research:
- Gating Complexity: Increasing the complexity of gating functions yielded diminishing returns, suggesting an optimal "sweet spot" for gating architecture.
- Joint Optimization: Future work could explore end-to-end joint optimization of feature extraction and fusion, rather than the current two-stage training process.
- Efficiency: While prediction-based gating is efficient, MoE approaches inherently add parameters. Future research will focus on making experts leaner for real-time applications.
Summary updated