TL;DR
MoE-SPNet introduces a Mixture-of-Experts approach to scene parsing, replacing rigid linear feature aggregation with an adaptive, pixel-wise gating mechanism. By dynamically weighting multi-scale features based on local image context, it significantly improves semantic segmentation accuracy on standard benchmarks without massive computational overhead.
What Problem Does This Paper Address?
Scene parsing (or semantic segmentation) requires balancing a classic trade-off: deep, high-level convolutional layers capture rich semantic context (the "what"), while shallow, low-level layers preserve fine spatial boundaries (the "where"). Existing architectures typically merge these multi-scale features using simple linear combinations like concatenation, average pooling, or element-wise addition.
However, these static approaches ignore spatial inhomogeneity—the fact that different regions of an image require different feature scales. For instance, fine-textured objects (like grass) benefit heavily from low-level features, while textureless objects (like a bed or table) require global, high-level context to recognize their shapes. Linear aggregation treats all pixels equally, failing to optimize this spatial-semantic trade-off dynamically across a scene.
Methods
The authors propose two main architectures to introduce non-linear, adaptive feature fusion:
- MoE-SPNet (Mixture-of-Experts Scene Parsing Network): Built on top of the DeepLab-ASPP architecture, this model treats parallel network branches (each using dilated convolutions with different dilation rates) as "experts." Crucially, instead of a standard MoE that gates based on raw input features, MoE-SPNet trains its gating network directly on the prediction maps generated by each expert. This leverages rich semantic information while drastically reducing the parameter count. The gating network outputs pixel-wise weight maps to adaptively blend the experts' predictions.
- Adaptive Hierarchical Feature Aggregation (AHFA): Designed for architectures that use sequential skip-connections (like FCN-8s), AHFA learns a soft weight map for each feature level at each combination stage. This allows the network to adaptively re-weight features layer-by-layer during successive upsampling.
The standard formulation of the Mixture-of-Experts framework that inspired this approach is illustrated below:
Datasets
The methods were evaluated on two challenging benchmarks:
- PASCAL VOC 2012: An object-level segmentation benchmark consisting of 20 foreground classes and one background class (augmented to 10,582 training images).
- SceneParse150 (ADE20K): A large-scale dataset containing 150 categories (35 stuff categories like sky/floor and 115 discrete object classes), evaluated on 20,210 training and 2,000 validation images.
Key Insights and Ideas
- Gating on Predictions, Not Features: Standard MoE gating networks use low-level or intermediate features. The authors found that gating on the final semantic predictions of the experts works better because these maps are directly supervised by ground truth and contain the cleanest semantic signals.
- Fewer Parameters, Better Performance: By using prediction maps (which have fewer channels than deep feature maps) as input to the gating network, they achieved superior performance with a fraction of the computational overhead of standard feature-based gating.
- Localized Scale Selection: The learned weight maps reveal that the network naturally learns intuitive rules: lower-level features get higher weights near object boundaries to sharpen edges, while higher-level features dominate the interiors of large, complex objects.
Key Results
- PASCAL VOC 2012: MoE-SPNet (with a ResNet-101 backbone) achieved a Mean IoU of 82.5% on the test set, outperforming the baseline DeepLab-ASPP (79.7%) by 2.8%. FCN-AHFA boosted the VGG-based FCN-8s baseline from 62.2% to 70.6% Mean IoU.
- SceneParse150: On this highly complex 150-class dataset, ResNet-based MoE-SPNet achieved a Mean IoU of 37.89% and a Pixel Accuracy of 78.02%, consistently outperforming the baseline DeepLab-ASPP (36.75% Mean IoU / 77.31% Pixel Accuracy).
Limitations and Future Work
While MoE-SPNet and AHFA demonstrate clear advantages, the training process currently relies on a two-stage pipeline: first training the baseline network to produce stable semantic predictions, and then adding and fine-tuning the gating network. The authors note that future work will focus on exploring more efficient, end-to-end joint optimization methods and extending this adaptive multi-level feature aggregation to other challenging computer vision tasks.
Summary updated