[论文解读] Patch-level Routing in Mixture-of-Experts is Provably Sample-efficient for Convolutional Neural Networks
该论文证明,在混合专家模型的patch级路由(pMoE)中,CNN的样本复杂度和模型规模得到降低,同时保持或提升泛化能力,理论与在MNIST、CIFAR-10、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.
研究动机与目标
- 理解为何MoE与pMoE在计算资源降低的情况下仍能保持准确性的动机
- 为具有两层CNN专家的pMoE提供理论泛化分析
- 刻画路由器的判别性路由特性,使判别性patches转发到同一专家
- 在视觉任务中实证地展示pMoE可降低样本复杂度并避免学习虚假相关性
提出的方法
- 在包含输入patch和类别判别性与类别无关模式的有监督二分类设定下进行研究
- 对一个k专家与路由器的pMoE架构建模,每个路由器为每个专家选择l个patch
- 分析两种训练 regime:分别训练(先训练路由器)与联合训练(路由器和专家共同训练)
- 推导理论结果,显示样本复杂度和神经元数量相较CNN基线在n/l下呈多项式下降
- 引入一个数据模型,其中判别性模式决定标签,非相关模式以带有受控分离 δ_d 和 δ_r 的模式集合组织
实验结果
研究问题
- RQ1相较于单一CNN,在保持泛化的前提下,pMoE能在多大程度上降低训练样本需求和模型规模?
- RQ2在何种数据分离与路由配置下,pMoE能理论上保证将判别性patch转发到同一专家并丢弃无关patch?
- RQ3分别训练与联合训练的pMoE在标准视觉数据集上是否均具备理论与经验上的泛化优势?
主要发现
- 经过适当训练的路由器的pMoE能将每个类别的判别性patch路由到对应专家,并丢弃距离较远的patch,减少学习过程中的干扰
- pMoE的样本复杂度和所需隐藏神经元数量相对于n/l呈多项式级下降,在某些条件下实现了相对于CNN的Ω(l^8)样本与Ω(l^10)神经元的减少
- 类别判别性与类别无关模式之间的更大分离(更小的 δ)进一步降低了pMoE的样本和模型复杂度
- 联合训练的pMoE在Assumption 4.4下也可实现泛化提升,并且与CNN相比具有复杂度降低
- 在MNIST派生的合成数据、CIFAR-10和CelebA上的实验结果证实了样本需求的减少以及对虚假相关性的鲁棒性
- WRN-pMoE实验显示在具备干扰相关性的情况下,训练数据效率显著且性能得以维持
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。