Design and Behavior of Sparse Mixture-of-Experts Layers in CNN-based Semantic Segmentation

Svetlana Pavlitska, Haixi Fan, Konstantin Ditschuneit, J. Marius Zöllner
4/15/2026
cs.CVcs.LG

Official code: KASTEL-MobilityLab/moe-layers (1 star, last commit 2026-04-21).

Abstract

Sparse mixture-of-experts (MoE) layers have been shown to substantially increase model capacity without a proportional increase in computational cost and are widely used in transformer architectures, where they typically replace feed-forward network blocks. In contrast, integrating sparse MoE layers into convolutional neural networks (CNNs) remains inconsistent, with most prior work focusing on fine-grained MoEs operating at the filter or channel levels. In this work, we investigate a coarser, patch-wise formulation of sparse MoE layers for semantic segmentation, where local regions are routed to a small subset of convolutional experts. Through experiments on the Cityscapes and BDD100K datasets using encoder-decoder and backbone-based CNNs, we conduct a design analysis to assess how architectural choices affect routing dynamics and expert specialization. Our results demonstrate consistent, architecture-dependent improvements (up to +3.9 mIoU) with little computational overhead, while revealing strong design sensitivity. Our work provides empirical insights into the design and internal dynamics of sparse MoE layers in CNN-based dense prediction. Our code is available at https://github.com/KASTEL-MobilityLab/moe-layers/.

View on arXivView PDF

Code Implementations(1)

10Mar 31, 20266 months ago

Cite this paper

@article{pavlitska2026design,
  title  = {Design and Behavior of Sparse Mixture-of-Experts Layers in CNN-based Semantic Segmentation},
  author = {Svetlana Pavlitska and Haixi Fan and Konstantin Ditschuneit and J. Marius Zöllner},
  year   = {2026},
  eprint = {2604.13761},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.13761v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.13761.svg)](https://codeofpaper.com/paper/2604.13761)

Discussion