paper-with-me

홈 › Papers

COMET: Learning Cardinality Constrained Mixture of Experts with Trees and Local Search

2023-06-05 · Shibal Ibrahim, Wenyu Chen, Hussein Hazimeh, Natalia Ponomareva, Zhe Zhao, Rahul Mazumder

The sparse Mixture-of-Experts (Sparse-MoE) framework efficiently scales up model capacity in various domains, such as natural language processing and vision. Sparse-MoEs select a subset of the "experts" (thus, only a portion of the overall network) for each input sample using a sparse, trainable gate. Existing sparse gates are prone to convergence and performance issues when training with first-order optimization methods. In this paper, we introduce two improvements to current MoE approaches. First, we propose a new sparse gate: COMET, which relies on a novel tree-based mechanism. COMET is differentiable, can exploit sparsity to speed up computation, and outperforms state-of-the-art gates. Second, due to the challenging combinatorial nature of sparse expert selection, first-order methods are typically prone to low-quality solutions. To deal with this challenge, we propose a novel, permutation-based local search method that can complement first-order methods in training any sparse gate, e.g., Hash routing, Top-k, DSelect-k, and COMET. We show that local search can help networks escape bad initializations or solutions. We performed large-scale experiments on various domains, including recommender systems, vision, and natural language processing. On standard vision and recommender systems benchmarks, COMET+ (COMET with local search) achieves up to 13% improvement in ROC AUC over popular gates, e.g., Hash routing and Top-k, and up to 9% over prior differentiable gates e.g., DSelect-k. When Top-k and Hash gates are combined with local search, we see up to $100\times$ reduction in the budget needed for hyperparameter tuning. Moreover, for language modeling, our approach improves over the state-of-the-art MoEBERT model for distilling BERT on 5/7 GLUE benchmarks as well as SQuAD dataset.

📄 PDF Abstract BibTeX arXiv:2306.02824

Code (2)

mazumder-lab/comet 공식 구현 tf
yangyucheng000/University/tree/main/model-1/roc_bert mindspore

Tasks

Language ModelingLanguage ModellingMixture-of-ExpertsRecommendation Systems

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Adam 설명 없음
Residual Connection 설명 없음
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…

Similar Papers 제목 키워드 기반

SPRI: SVD-Partitioned Residual Initialization for Data-Constrained MoE Upcycling

2026-06-15 · Weiqiao Shan, Ruixiang Mao, Yuang Li, Yuhao Zhang 외 arxiv

Mixture-of-Experts (MoE) models enable efficient scaling, but training them from scratch remains prohibitively expensive. MoE upcycling mitigates this cost by converting pretrained dense models into sparse MoE models. Ho…

Speech-to-Text Translation

ProbMoE: Differentiable Probabilistic Routing for Mixture-of-Experts

2026-06-01 · Heng Zhao, Zilei Shao, Guy Van den Broeck, Zhe Zeng arxiv

Mixture-of-Experts (MoE) models scale by activating only a small subset of experts per token. However, training such models remains challenging because top-$k$ routing is discrete and non-differentiable, requiring gradie…

Comet: Fine-grained Computation-communication Overlapping for Mixture-of-Experts

2025-02-27 · Shulai Zhang, Ningxin Zheng, Haibin Lin, Ziheng Jiang 외

Mixture-of-experts (MoE) has been extensively employed to scale large language models to trillion-plus parameters while maintaining a fixed computational cost. The development of large MoE models in the distributed scena…

Computational EfficiencyGPUMixture-of-Experts

More Experts Than Galaxies: Conditionally-overlapping Experts With Biologically-Inspired Fixed Routing

2024-10-10 · Sagi Shaier, Francisco Pereira, Katharina von der Wense, Lawrence E Hunter 외

The evolution of biological neural systems has led to both modularity and sparse coding, which enables energy efficiency and robustness across the diversity of tasks in the lifespan. In contrast, standard neural networks…

image-classificationImage ClassificationLanguage ModelingLanguage Modelling+2

Sparsity-Constrained Optimal Transport

2022-09-30 · Tianlin Liu, Joan Puigcerver, Mathieu Blondel

Regularized optimal transport (OT) is now increasingly used as a loss or as a matching layer in neural networks. Entropy-regularized OT can be computed using the Sinkhorn algorithm but it leads to fully-dense transportat…

Mixture-of-Experts