arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.03460stat.MLcs.LGcs.NAcs.NEmath.COmath.NA
收藏

(P)ReLU MLP 混合专家模型的逼近速率与VC维界

Approximation Rates and VC-Dimension Bounds for (P)ReLU MLP Mixture of Experts

McMaster University(麦克马斯特大学);Vector Institute(向量研究院);University of Oxford(牛津大学);Shimane University(岛根大学);NVIDIA(英伟达公司)

Anastasis Kratsios, Haitz Sáez de Ocáriz Borde, Takashi Furuya, Marc T. Law

AI总结:

本文对(P)ReLU MLP混合专家模型进行逼近与学习理论分析,证明其能以$\mathcal{O}(\varepsilon^{-1})$参数逼近Lipschitz函数,并给出有限VC维界,确保泛化能力。

摘要:

混合专家模型(MoEs)通过采用一种路由策略,即每个输入由单个“专家”深度学习模型处理,从而能够超越传统深度学习模型进行扩展。该策略允许我们在保持稀疏激活的同时扩展定义MoE的参数数量,即MoE仅根据输入将总参数中的一小部分加载到GPU显存中进行前向传播。在本文中,我们对具有(P)ReLU激活函数的专家MLP混合模型进行了逼近和学习理论分析。我们首先证明,对于每个误差水平$\varepsilon>0$和每个Lipschitz函数$f:[0,1]^n\to \mathbb{R}$,可以构造一个MoMLP模型(一个由(P)ReLU MLP组成的混合专家模型),该模型在$[0,1]^n$上以$\varepsilon$精度一致逼近$f$,而仅需在内存中加载$\mathcal{O}(\varepsilon^{-1})$个参数的网络。此外,我们证明MoMLP能够泛化,因为整个MoMLP模型具有(有限的)VC维$\tilde{O}(L\max\{nL,JW\})$,其中$L$个专家,每个专家的深度和宽度分别为$J$和$W$。

英文摘要:

Mixture-of-Experts (MoEs) can scale up beyond traditional deep learning models by employing a routing strategy in which each input is processed by a single "expert" deep learning model. This strategy allows us to scale up the number of parameters defining the MoE while maintaining sparse activation, i.e., MoEs only load a small number of their total parameters into GPU VRAM for the forward pass depending on the input. In this paper, we provide an approximation and learning-theoretic analysis of mixtures of expert MLPs with (P)ReLU activation functions. We first prove that for every error level $\varepsilon>0$ and every Lipschitz function $f:[0,1]^n\to \mathbb{R}$, one can construct a MoMLP model (a Mixture-of-Experts comprising of (P)ReLU MLPs) which uniformly approximates $f$ to $\varepsilon$ accuracy over $[0,1]^n$, while only requiring networks of $\mathcal{O}(\varepsilon^{-1})$ parameters to be loaded in memory. Additionally, we show that MoMLPs can generalize since the entire MoMLP model has a (finite) VC dimension of $\tilde{O}(L\max\{nL,JW\})$, if there are $L$ experts and each expert has a depth and width of $J$ and $W$, respectively.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑