Saved in:
Bibliographic Details
Main Authors: Wang, Mingze, E, Weinan
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.24205
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914335745376256
author Wang, Mingze
E, Weinan
author_facet Wang, Mingze
E, Weinan
contents Mixture-of-experts networks (MoEs) have demonstrated remarkable efficiency in modern deep learning. Despite their empirical success, the theoretical foundations underlying their ability to model complex tasks remain poorly understood. In this work, we conduct a systematic study of the expressive power of MoEs in modeling complex tasks with two common structural priors: low-dimensionality and sparsity. For shallow MoEs, we prove that they can efficiently approximate functions supported on low-dimensional manifolds, overcoming the curse of dimensionality. For deep MoEs, we show that $\mathcal{O}(L)$-layer MoEs with $E$ experts per layer can approximate piecewise functions comprising $E^L$ pieces with compositional sparsity, i.e., they can exhibit an exponential number of structured tasks. Our analysis reveals the roles of critical architectural components and hyperparameters in MoEs, including the gating mechanism, expert networks, the number of experts, and the number of layers, and offers natural suggestions for MoE variants.
format Preprint
id arxiv_https___arxiv_org_abs_2505_24205
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle On the Expressive Power of Mixture-of-Experts for Structured Complex Tasks
Wang, Mingze
E, Weinan
Machine Learning
Mixture-of-experts networks (MoEs) have demonstrated remarkable efficiency in modern deep learning. Despite their empirical success, the theoretical foundations underlying their ability to model complex tasks remain poorly understood. In this work, we conduct a systematic study of the expressive power of MoEs in modeling complex tasks with two common structural priors: low-dimensionality and sparsity. For shallow MoEs, we prove that they can efficiently approximate functions supported on low-dimensional manifolds, overcoming the curse of dimensionality. For deep MoEs, we show that $\mathcal{O}(L)$-layer MoEs with $E$ experts per layer can approximate piecewise functions comprising $E^L$ pieces with compositional sparsity, i.e., they can exhibit an exponential number of structured tasks. Our analysis reveals the roles of critical architectural components and hyperparameters in MoEs, including the gating mechanism, expert networks, the number of experts, and the number of layers, and offers natural suggestions for MoE variants.
title On the Expressive Power of Mixture-of-Experts for Structured Complex Tasks
topic Machine Learning
url https://arxiv.org/abs/2505.24205