Skip to main content
QUICK REVIEW

[Paper Review] Efficient Self-Ensemble for Semantic Segmentation

Walid Bousselham, Guillaume Thibault|arXiv (Cornell University)|Nov 26, 2021
Machine Learning and Data ClassificationComputer Science15 citations
TL;DR

This paper proposes SenFormer, a lightweight self-ensemble method for semantic segmentation that leverages multi-scale features from a Feature Pyramid Network (FPN) to train independent decoders within a single model, avoiding the high training cost of traditional ensembles. By using a shared transformer-based decoder with weight sharing across decoders and aggregating predictions via averaging, SenFormer achieves state-of-the-art performance on Pascal Context (64.0 mIoU) and COCO-Stuff-10K (51.5 mIoU), outperforming prior methods while reducing FLOPs and parameters.

ABSTRACT

Ensemble of predictions is known to perform better than individual predictions taken separately. However, for tasks that require heavy computational resources, e.g. semantic segmentation, creating an ensemble of learners that needs to be trained separately is hardly tractable. In this work, we propose to leverage the performance boost offered by ensemble methods to enhance the semantic segmentation, while avoiding the traditional heavy training cost of the ensemble. Our self-ensemble approach takes advantage of the multi-scale features set produced by feature pyramid network methods to feed independent decoders, thus creating an ensemble within a single model. Similar to the ensemble, the final prediction is the aggregation of the prediction made by each learner. In contrast to previous works, our model can be trained end-to-end, alleviating the traditional cumbersome multi-stage training of ensembles. Our self-ensemble approach outperforms the current state-of-the-art on the benchmark datasets Pascal Context and COCO-Stuff-10K for semantic segmentation and is competitive on ADE20K and Cityscapes. Code is publicly available at github.com/WalBouss/SenFormer.

Motivation & Objective

  • To address the high computational cost of training multiple models in traditional ensemble methods for semantic segmentation.
  • To improve performance by leveraging multi-scale features from FPN as independent inputs to separate decoders within a single model.
  • To reduce model complexity and FLOPs while maintaining or improving accuracy through weight sharing and efficient architecture design.
  • To investigate whether self-ensemble via multi-scale features can outperform conventional feature-fusion strategies like those in UperNet.
  • To evaluate the effectiveness of self-ensemble in reducing prediction variance or capturing multi-view representations in deep learning models.

Proposed method

  • The model uses a single forward pass through a backbone and FPN to extract multi-scale feature maps at different levels.
  • Each level of the FPN features is fed into an independent, lightweight transformer-based decoder, forming a self-ensemble within one model.
  • The final segmentation output is obtained by averaging the predictions from all decoders, enabling ensemble-like performance without separate training.
  • A shared transformer block is recursively applied across decoders to reduce parameters and overfitting, while maintaining performance.
  • Weight sharing is applied only within each decoder block, not across decoders, to preserve independence and improve generalization.
  • The model is trained end-to-end, eliminating the need for multi-stage training common in traditional ensembles.

Experimental results

Research questions

  • RQ1Can a self-ensemble approach using multi-scale features from FPN improve semantic segmentation performance without training multiple models?
  • RQ2Does using independent decoders per FPN level outperform feature-fusion strategies like concatenation in terms of accuracy and efficiency?
  • RQ3Can weight sharing across decoders reduce model parameters and FLOPs while preserving performance gains from ensemble learning?
  • RQ4Is the performance gain from self-ensemble due to variance reduction or multi-view learning, as suggested by recent studies?
  • RQ5Does increasing the number of learners per FPN level further improve performance, or is one learner per level sufficient?

Key findings

  • SenFormer achieves 64.0 mIoU on Pascal Context, outperforming the previous SOTA by 3.0 mIoU.
  • On COCO-Stuff-10K, SenFormer reaches 51.5 mIoU, surpassing the prior state-of-the-art by 6.0 mIoU.
  • The model is more parameter-efficient and computationally efficient (lower FLOPs) than UperNet, despite better performance.
  • Performance does not improve with more than one learner per FPN level, indicating that one decoder per scale is sufficient.
  • Weight sharing across decoders significantly degrades performance, confirming that model independence is crucial for self-ensemble success.
  • Variance in predictions is not significantly reduced in the ensemble, suggesting that variance reduction is not the primary mechanism behind performance gains.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.