arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.26734cs.NEcs.LG
收藏

专家混合模型与软最近邻损失:通过表示解耦解决专家崩溃

Mixture of Experts with Soft Nearest Neighbor Loss: Resolving Expert Collapse via Representation Disentanglement

De La Salle University(德拉萨大学)

Abien Fred Agarap, Arnulfo P. Azcarraga

AI总结:

本文提出一种改进的MoE模型,利用Soft Nearest Neighbor Loss优化特征提取器,以减少专家崩溃问题,提升分类性能。

摘要:

Mixture-of-Experts (MoE) 模型使用一组专家网络,在门控网络监督下处理数据集的子集。MoE架构的一个常见问题是'专家崩溃',即原始输入特征空间中重叠的类边界导致多个专家学习冗余表示,迫使门控网络采用刚性路由来补偿。本文提出了一种增强的MoE架构,利用Soft Nearest Neighbor Loss(SNNL)优化特征提取器,在将输入特征馈送到门控和专家网络之前进行预处理。通过预条件潜在空间,最小化相似类数据点之间的距离,我们解决了结构性专家崩溃,使专家学习高度正交的权重。我们采用专家专业化熵和成对嵌入相似性来量化这一动态。我们在四个基准图像分类数据集(MNIST、FashionMNIST、CIFAR10和CIFAR100)上评估了我们的实验方法,并展示了我们的SNNL增强的MoE模型具有结构多样的专家,使门控网络能够采用更灵活的路由策略。这种范式显著提高了FashionMNIST、CIFAR10和CIFAR100数据集上的分类精度。

英文摘要:

The Mixture-of-Experts (MoE) model uses a set of expert networks that specialize on subsets of a dataset under the supervision of a gating network. A common issue in MoE architectures is ``expert collapse'' where overlapping class boundaries in the raw input feature space cause multiple experts to learn redundant representations, thus forcing the gating network into rigid routing to compensate. We propose an enhanced MoE architecture that utilizes a feature extractor network optimized using Soft Nearest Neighbor Loss (SNNL) prior to feeding input features to the gating and expert networks. By pre-conditioning the latent space to minimize distances among class-similar data points, we resolve structural expert collapse which results to experts learning highly orthogonal weights. We employ Expert Specialization Entropy and Pairwise Embedding Similarity to quantify this dynamic. We evaluate our experimental approach across four benchmark image classification datasets (MNIST, FashionMNIST, CIFAR10, and CIFAR100), and we show our SNNL-augmented MoE models demonstrate structurally diverse experts which allow the gating network to adopt a more flexible routing strategy. This paradigm significantly improves classification accuracy on the FashionMNIST, CIFAR10, and CIFAR100 datasets.

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

↑