paper-with-me

Papers

Optimizing Mixture of Experts using Dynamic Recompilations

2022-05-04 · Ferdinand Kossmann, Zhihao Jia, Alex Aiken

The Mixture of Experts architecture allows for outrageously large neural networks by scaling model parameter size independently from computational demand (FLOPs). However, current DNN frameworks cannot effectively support the dynamic data flow in Mixture of Experts, and implementations on top of these frameworks need to use workarounds that introduce significant overheads. To address the limitation of these frameworks, we present DynaMoE, a DNN library that uses dynamic recompilations to optimize and adapt the use of computational resources to the dynamic needs of Mixture of Experts models. Our evaluation shows that DynaMoE achieves a 1.8x speedup and supports 2.3x larger model sizes when compared to existing MoE systems, even when not using recompilations. We then present further optimizations enabled by dynamic recompilations that yield an additional 1.7x speedup while simultaneously reducing memory pressure and improving model quality.

📄 PDF Abstract BibTeX arXiv:2205.01848

Code (0)

등록된 구현이 없습니다.

Tasks

Mixture-of-Experts

Similar Papers 제목 키워드 기반

MAST-Pro: Dynamic Mixture-of-Experts for Adaptive Segmentation of Pan-Tumors with Knowledge-Driven Prompts

2025-03-18 · Runqi Meng, Sifan Song, Pengfei Jin, Yujin Oh 외

Accurate tumor segmentation is crucial for cancer diagnosis and treatment. While foundation models have advanced general-purpose segmentation, existing methods still struggle with: (1) limited incorporation of medical pr…

Mixture-of-Expertsparameter-efficient fine-tuningRepresentation LearningSegmentation+1

Leveraging Mixture of Experts for Improved Speech Deepfake Detection

2024-09-24 · Viola Negroni, Davide Salvi, Alessandro Ilic Mezza, Paolo Bestagini 외

Speech deepfakes pose a significant threat to personal security and content authenticity. Several detectors have been proposed in the literature, and one of the primary challenges these systems have to face is the genera…

DeepFake DetectionFace SwappingMixture-of-Experts

Unveiling Hidden Collaboration within Mixture-of-Experts in Large Language Models

2025-04-16 · Yuanbo Tang, Yan Tang, Naifan Zhang, Meixuan Chen 외

Mixture-of-Experts based large language models (MoE LLMs) have shown significant promise in multitask adaptability by dynamically routing inputs to specialized experts. Despite their success, the collaborative mechanisms…

Dictionary LearningMixture-of-ExpertsModel Optimization

AdaMoLE: Fine-Tuning Large Language Models with Adaptive Mixture of Low-Rank Adaptation Experts

2024-05-01 · Zefang Liu, Jiahua Luo

We introduce AdaMoLE, a novel method for fine-tuning large language models (LLMs) through an Adaptive Mixture of Low-Rank Adaptation (LoRA) Experts. Moving beyond conventional methods that employ a static top-k strategy …

Multiple Choice Question Answering (MCQA)

Nested Mixture of Experts: Cooperative and Competitive Learning of Hybrid Dynamical System

2020-11-20 · Junhyeok Ahn, Luis Sentis

Model-based reinforcement learning (MBRL) algorithms can attain significant sample efficiency but require an appropriate network structure to represent system dynamics. Current approaches include white-box modeling using…

continuous-controlContinuous ControlMixture-of-ExpertsModel-based Reinforcement Learning