Skip to main content
QUICK REVIEW

[Paper Review] Deep Mixture of Experts via Shallow Embedding

Xin Wang, Fisher Yu|arXiv (Cornell University)|Jun 5, 2018
Domain Adaptation and Few-Shot LearningComputer Science45 references27 citations
TL;DR

This paper proposes DeepMoE, a deep mixture of experts architecture that dynamically sparsifies and recalibrates channel-wise features in convolutional networks using a shallow embedding network and multi-headed sparse gating. By jointly training the base network, embedding network, and gating network with sparsity and diversity regularization, DeepMoE achieves higher accuracy than standard networks with reduced computation, outperforming ResNet on ImageNet by 1% top-1 accuracy while maintaining lower FLOPs.

ABSTRACT

Larger networks generally have greater representational power at the cost of increased computational complexity. Sparsifying such networks has been an active area of research but has been generally limited to static regularization or dynamic approaches using reinforcement learning. We explore a mixture of experts (MoE) approach to deep dynamic routing, which activates certain experts in the network on a per-example basis. Our novel DeepMoE architecture increases the representational power of standard convolutional networks by adaptively sparsifying and recalibrating channel-wise features in each convolutional layer. We employ a multi-headed sparse gating network to determine the selection and scaling of channels for each input, leveraging exponential combinations of experts within a single convolutional network. Our proposed architecture is evaluated on four benchmark datasets and tasks, and we show that Deep-MoEs are able to achieve higher accuracy with lower computation than standard convolutional networks.

Motivation & Objective

  • To design a deep mixture of experts (DeepMoE) architecture that enables dynamic, per-example feature routing in convolutional networks.
  • To address the challenges of non-differentiable expert selection and degenerate expert combinations in deep MoE stacks.
  • To preserve the expressive power of deep networks while reducing computational cost through sparsity and channel-wise recalibration.
  • To improve model accuracy and efficiency over standard convolutional networks and prior MoE methods on image classification and semantic segmentation tasks.

Proposed method

  • A shallow embedding network with a softmax output layer generates latent mixture weights over a fixed set of experts.
  • These latent weights are fed into a multi-headed sparse gating network with ReLU activations to select and re-weight channels in each convolutional layer.
  • Joint training is performed using an auxiliary classification loss on the embedding network and sparse regularization on the gating network outputs to encourage diversity and sparsity.
  • Two variants are introduced: wide-DeepMoE (doubling channels and replacing layers with MoE) and narrow-DeepMoE (directly replacing standard layers with MoE).
  • The architecture enables dynamic, example-specific routing of features, allowing only a subset of channels to be computed per input.
  • Theoretical analysis shows DeepMoE preserves the super-exponential expressive power of deep networks with reduced computation.

Experimental results

Research questions

  • RQ1Can a deep mixture of experts architecture be jointly trained end-to-end despite non-differentiable expert selection?
  • RQ2Does dynamic, channel-wise routing via sparse gating improve accuracy while reducing computational cost in deep networks?
  • RQ3How does the proposed shallow embedding network contribute to stable and diverse expert utilization across layers?
  • RQ4Can DeepMoE generalize effectively beyond image classification to dense prediction tasks like semantic segmentation?
  • RQ5What is the impact of architectural design choices (e.g., widening strategy, layer placement) on model accuracy and efficiency?

Key findings

  • DeepMoE achieves a 1% higher top-1 accuracy than ResNet on the ImageNet2012 benchmark while reducing FLOPs.
  • On CityScapes, the efficient wide-DeepMoE-50-A variant improves mIoU by 1.5% over the baseline with only a slight increase in FLOPs.
  • The more accurate wide-DeepMoE-50-B variant outperforms the wide baseline by nearly 2% mIoU while using lower FLOPs.
  • Widening all convolutional layers (W13-All) yields higher accuracy than widening only top or bottom layers, even with identical parameter counts.
  • Controlling both FLOPs and parameters leads to improved accuracy across all widening strategies, with W13-All remaining the best-performing configuration.
  • The proposed architecture successfully resolves coarse-grained class structures in the data, as shown by analysis of the embedding and gating network behavior.

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.