[Paper Review] Patch-level Routing in Mixture-of-Experts is Provably Sample-efficient for Convolutional Neural Networks
The paper proves that patch-level routing in mixture-of-experts (pMoE) reduces sample complexity and model size for CNNs, while maintaining or improving generalization, supported by theory and experiments on MNIST, CIFAR-10, and CelebA.
In deep learning, mixture-of-experts (MoE) activates one or few experts (sub-networks) on a per-sample or per-token basis, resulting in significant computation reduction. The recently proposed \underline{p}atch-level routing in \underline{MoE} (pMoE) divides each input into $n$ patches (or tokens) and sends $l$ patches ($l\ll n$) to each expert through prioritized routing. pMoE has demonstrated great empirical success in reducing training and inference costs while maintaining test accuracy. However, the theoretical explanation of pMoE and the general MoE remains elusive. Focusing on a supervised classification task using a mixture of two-layer convolutional neural networks (CNNs), we show for the first time that pMoE provably reduces the required number of training samples to achieve desirable generalization (referred to as the sample complexity) by a factor in the polynomial order of $n/l$, and outperforms its single-expert counterpart of the same or even larger capacity. The advantage results from the discriminative routing property, which is justified in both theory and practice that pMoE routers can filter label-irrelevant patches and route similar class-discriminative patches to the same expert. Our experimental results on MNIST, CIFAR-10, and CelebA support our theoretical findings on pMoE's generalization and show that pMoE can avoid learning spurious correlations.
Motivation & Objective
- Motivate the need to understand why MoE and pMoE can maintain accuracy with reduced compute.
- Provide a theoretical generalization analysis for pMoE with two-layer CNN experts.
- Characterize the router's discriminative routing property that forwards discriminative patches to the same expert.
- Demonstrate empirically that pMoE can reduce sample complexity and avoid learning spurious correlations in vision tasks.
Proposed method
- Study a supervised binary classification setup with input patches and class-discriminative vs. class-irrelevant patterns.
- Model a pMoE architecture with k experts and routers, each router selecting l patches per expert.
- Analyze two training regimes: separate-training (routers trained first) and joint-training (routers and experts trained together).
- Derive theoretical results showing sample complexity and neuron count reductions polynomial in n/l compared to a CNN baseline.
- Introduce a data model where discriminative patterns determine the label and irrelevants are organized in pattern sets with controlled separations δ_d and δ_r.
Experimental results
Research questions
- RQ1How much can pMoE reduce training sample requirements and model size compared to a single CNN while preserving generalization?
- RQ2Under what data separations and routing configurations does pMoE provably route discriminative patches to the same expert and discard irrelevant patches?
- RQ3Do separate-training and joint-training pMoE setups provide theoretical and empirical generalization benefits across standard vision datasets?
Key findings
- pMoE with properly trained routers routes discriminative patches of each class to the corresponding expert and drops far patches, reducing interference during learning.
- The sample complexity and required hidden neurons for pMoE scale polynomially with (n/l), achieving reductions of Ω(l^8) in samples and Ω(l^10) in neurons relative to CNN under certain conditions.
- Larger separation between class-discriminative and class-irrelevant patterns (smaller δ) further lowers both sample and model complexities for pMoE.
- Joint-training pMoE can also achieve improved generalization under Assumption 4.4, with complexity reductions compared to CNN.
- Experimental results on MNIST-derived synthetic data, CIFAR-10, and CelebA corroborate reduced sample requirements and robustness to spurious correlations.
- WRN-pMoE experiments show substantial training data efficiency and maintained performance under spurious correlations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.