AutoMoE: Heterogeneous Mixture-of-Experts with Adaptive Computation for Efficient Neural Machine Translation
원문 초록
Mixture-of-Expert (MoE) models have obtained state-of-the-art performance in Neural Machine Translation (NMT) tasks. Existing works in MoE mostly consider a homogeneous design where the same number of experts of the same size are placed uniformly throughout the network. Furthermore, existing MoE works do not consider computational constraints (e.g., FLOPs, latency) to guide their design. To this end, we develop AutoMoE -- a framework for designing heterogeneous MoE's under computational constraints. AutoMoE leverages Neural Architecture Search (NAS) to obtain efficient sparse MoE sub-transformers with 4x inference speedup (CPU) and FLOPs reduction over manually designed Transformers, with parity in BLEU score over dense Transformer and within 1 BLEU point of MoE SwitchTransformer, on aggregate over benchmark datasets for NMT. Heterogeneous search space with dense and sparsely activated Transformer modules (e.g., how many experts? where to place them? what should be their sizes?) allows for adaptive compute -- where different amounts of computations are used for different tokens in the input. Adaptivity comes naturally from routing decisions which send tokens to experts of different sizes. AutoMoE code, data, and trained models are available at https://aka.ms/AutoMoE.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
THOR-MoE: Hierarchical Task-Guided and Context-Responsive Routing for Neural Machine Translation
FlashDMoE: Fast Distributed MoE in a Single Kernel
Not All Models Suit Expert Offloading: On Local Routing Consistency of Mixture-of-Expert Models
Are We Paying Attention to Her? Investigating Gender Disambiguation and Attention in Machine Translation
Inter2Former: Dynamic Hybrid Attention for Efficient High-Precision Interactive
ConECT Dataset: Overcoming Data Scarcity in Context-Aware E-Commerce MT
토론
이 논문과 연결된 포럼 글이 아직 없습니다.