arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.15039cs.LGstat.ML
收藏

稀疏性节省计算量,而非样本:密集型与稀疏型混合专家模型的Oracle不等式

Sparsity Saves Compute, Not Samples: Oracle Inequalities for Dense and Sparse Mixture of Experts

The University of Texas at Austin(德克萨斯大学奥斯汀分校)

Sagar Ghosh, Huy Nguyen, Alessandro Rinaldo

AI总结:

针对混合专家模型自适应路由的统计成本认知不足问题,研究了专家与门控网络均为Lipschitz时的最小二乘混合专家估计误差,通过门控希尔伯特空间的表示推导了密集与稀疏混合专家的Oracle不等式,证明了稀疏模型的估计速率最优且路由成本可控。

摘要:

混合专家(MoE)模型通过依赖输入的路由机制组合专门的专家,其稀疏变体支撑着许多现代大规模系统。然而,自适应路由的统计成本仍仅被部分理解。我们研究了当专家和门控网络在参数上均为Lipschitz时,最小二乘MoE估计量的估计误差。我们将每个MoE表示为门控希尔伯特空间中的门控-专家对,其范数$\|\cdot\|_\Delta$分离了路由和专家差异的贡献。利用其经验表示,我们为具有$K$个专家的密集MoE推导了阶为$\tilde{\mathcal O}\big((Kd_{\mathrm{pr},e}+d_{\mathrm{pr},g})/n\big)$的快速速率的Oracle不等式。对于稀疏Top-$k$和Top-$p$路由,选择图在门控参数中是不连续的。我们通过根据其在样本上诱导的选择模式划分门控类来处理这一点。所得界与密集速率匹配,直至由选择器的Natarajan维数控制的加性路由成本。我们表明,这种路由-复杂度条件不能被丢弃:仅参数上的Lipschitz连续性是不够的。对于线性softmax门控,路由成本与门控项的阶相同。最后,对于线性专家,我们建立了阶为$Kd_{\mathrm{pr},e}/n$的匹配极小极大下界,表明速率在对数因子内是最优的。

英文摘要:

Mixture-of-Experts (MoE) models combine specialized experts through an input-dependent routing mechanism, and their sparse variants underpin many modern large-scale systems. Yet the statistical cost of adaptive routing remains only partially understood. We study the estimation error of least-squares MoE estimators when both the experts and the gating network are Lipschitz in their parameters. We represent each MoE as a gate--expert pair in a Gated Hilbert Space, whose norm $\|\cdot\|_Δ$ separates the contributions of routing and expert discrepancies. Using its empirical representation, we derive an oracle inequality with a fast rate of order $\tilde{\mathcal O}\big((Kd_{\mathrm{pr},e}+d_{\mathrm{pr},g})/n\big)$ for dense MoEs with $K$ experts. For sparse Top-$k$ and Top-$p$ routing, the selection map is discontinuous in the gating parameters. We handle this by partitioning the gating class according to the selection patterns it induces on the sample. The resulting bounds match the dense rate up to an additive routing cost governed by the Natarajan dimension of the selector. We show that such a routing-complexity condition cannot be dropped: Lipschitz continuity in the parameters alone does not suffice. For linear softmax gating, the routing cost is of the same order as the gating term. Finally, for linear experts, we establish a matching minimax lower bound of order $Kd_{\mathrm{pr},e}/n$, showing that the rates are optimal up to logarithmic factors.

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

↑