arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.13875stat.MLcs.LG
收藏

温度对Softmax高斯混合专家模型而言是否具备样本效率?

Is Temperature Sample Efficient for Softmax Gaussian Mixture of Experts?

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

Huy Nguyen, Pedram Akbarian, Nhat Ho

AI总结:

本文针对密集到稀疏门控高斯MoE的参数估计收敛慢问题,提出带激活函数的新型门控机制,将收敛速度从慢于多项式提升至多项式速度,并通过仿真验证了理论结论。

摘要:

密集到稀疏门控混合专家模型(MoE)近来已成为知名稀疏MoE的有效替代方案。与后者固定激活专家数量、可能限制对潜在专家探索的机制不同,前者在训练过程中利用温度控制softmax权重分布与MoE的稀疏性,以此稳定专家的专业化分工。然而,尽管已有研究尝试从理论层面理解稀疏MoE,但针对密集到稀疏门控MoE的全面分析仍处于空白状态。因此,本文旨在探究高斯MoE场景下,密集到稀疏门控对最大似然估计的影响。我们证明,由于温度与其他模型参数通过若干偏微分方程产生相互作用,参数估计的收敛速度慢于任意多项式速度,最慢可达到$\boldsymbol{\text{O}(1/\text{log}(n))}$,其中$n$代表样本量。为解决这一问题,我们提出一种新型激活密集到稀疏门控机制,该机制将线性层的输出先传入激活函数,再输送至softmax函数。通过对激活函数及其导数施加线性独立条件,我们证明参数估计速度可显著提升至多项式速度。最后,我们开展了仿真研究,通过实验验证了我们的理论结果。

英文摘要:

Dense-to-sparse gating mixture of experts (MoE) has recently become an effective alternative to a well-known sparse MoE. Rather than fixing the number of activated experts as in the latter model, which could limit the investigation of potential experts, the former model utilizes the temperature to control the softmax weight distribution and the sparsity of the MoE during training in order to stabilize the expert specialization. Nevertheless, while there are previous attempts to theoretically comprehend the sparse MoE, a comprehensive analysis of the dense-to-sparse gating MoE has remained elusive. Therefore, we aim to explore the impacts of the dense-to-sparse gate on the maximum likelihood estimation under the Gaussian MoE in this paper. We demonstrate that due to interactions between the temperature and other model parameters via some partial differential equations, the convergence rates of parameter estimations are slower than any polynomial rates, and could be as slow as $\mathcal{O}(1/\log(n))$, where $n$ denotes the sample size. To address this issue, we propose using a novel activation dense-to-sparse gate, which routes the output of a linear layer to an activation function before delivering them to the softmax function. By imposing linearly independence conditions on the activation function and its derivatives, we show that the parameter estimation rates are significantly improved to polynomial rates. Finally, we conduct a simulation study to empirically validate our theoretical results.

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

↑