Skip to main content
QUICK REVIEW

[Paper Review] Parameter-Efficient Mixture-of-Experts Architecture for Pre-trained Language Models

Zefeng Gao, Peiyu Liu|arXiv (Cornell University)|Mar 2, 2022
Topic ModelingComputer Science11 citations
TL;DR

This paper proposes MPOE, a parameter-efficient Mixture-of-Experts (MoE) architecture for pre-trained language models by sharing a global central tensor across experts via Matrix Product Operator (MPO) decomposition. By decomposing expert weight matrices into shared central tensors and expert-specific auxiliary tensors, MPOE reduces parameters by 27.2x compared to Switch Transformers while maintaining or improving performance on T5 and GPT-2 models, with a gradient mask strategy to address unbalanced optimization.

ABSTRACT

Recently, Mixture-of-Experts (short as MoE) architecture has achieved remarkable success in increasing the model capacity of large-scale language models. However, MoE requires incorporating significantly more parameters than the base model being extended. In this paper, we propose building a parameter-efficient MoE architecture by sharing information among experts. We adopt the matrix product operator (MPO, a tensor decomposition from quantum many-body physics) to reconstruct the parameter matrix in the expert layer and increase model capacity for pre-trained language models by sharing parameters of the central tensor (containing the core information) among different experts while enabling the specificity through the auxiliary tensors (complementing the central tensor) of different experts. To address the unbalanced optimization issue, we further design the gradient mask strategy for the MPO-based MoE architecture. Extensive experiments based on T5 and GPT-2 show improved performance and efficiency of the pre-trained language model (27.2x reduction in total parameters for the superior model performance, compared with the Switch Transformers). Our code is publicly available at https://github.com/RUCAIBox/MPOE.

Motivation & Objective

  • To address the high parameter cost of Mixture-of-Experts (MoE) in large pre-trained language models (PLMs), which limits scalability despite increased model capacity.
  • To reduce parameter redundancy across experts by identifying shared structural information in expert weight matrices.
  • To enable parameter-efficient MoE without sacrificing model capacity or performance, especially in low-resource or efficient training scenarios.
  • To design a training strategy that mitigates unbalanced optimization between shared central tensors and expert-specific auxiliary tensors.
  • To demonstrate that structural matrix decomposition (MPO) can be effectively leveraged to build compact, high-capacity MoE architectures.

Proposed method

  • MPOE decomposes each expert's weight matrix into a product of a globally shared central tensor and multiple expert-specific auxiliary tensors using Matrix Product Operator (MPO) decomposition.
  • The central tensor, which holds the majority of the parameters, is shared across all experts, drastically reducing total parameter count.
  • Expert-specific auxiliary tensors are trained to capture task- or sample-specific variations, enabling capacity expansion while preserving parameter efficiency.
  • A gradient mask strategy is introduced to balance optimization by suppressing gradients to the central tensor during fine-tuning, preventing it from dominating updates.
  • The method is applied to T5 and GPT-2 models, with MoE routing mechanisms retained to enable sparse activation and efficient inference.
  • The MPO decomposition ensures that changes in auxiliary tensors propagate to the central tensor, maintaining model expressivity despite parameter sharing.

Experimental results

Research questions

  • RQ1Can parameter redundancy across experts in MoE architectures be systematically reduced without sacrificing model capacity?
  • RQ2Can a shared central tensor in MPO decomposition effectively represent core knowledge across multiple experts in a pre-trained language model?
  • RQ3Does the proposed gradient mask strategy effectively balance optimization between shared central tensors and expert-specific auxiliary tensors?
  • RQ4To what extent can MPO-based MoE reduce parameter count while maintaining or improving performance compared to standard MoE methods?
  • RQ5Can MPOE achieve better parameter efficiency than existing MoE-enhanced PLMs like Switch Transformers?

Key findings

  • MPOE achieves a 27.2x reduction in total parameters compared to Switch Transformers while matching or exceeding their performance on T5 and GPT-2.
  • The model maintains strong performance on GLUE and WikiText-2 benchmarks, demonstrating that shared central tensors preserve essential capacity.
  • The gradient mask strategy significantly improves training stability and prevents overfitting of the shared central tensor during fine-tuning.
  • Experiments show that the central tensor across experts is highly similar, validating the feasibility of parameter sharing via MPO decomposition.
  • The MPOE architecture enables efficient, high-capacity MoE inference with minimal parameter overhead, making it suitable for low-resource and deployment-constrained settings.
  • The approach outperforms competitive MoE-enhanced PLMs in terms of parameter efficiency, with no degradation in downstream task accuracy.

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.