paper-with-me

홈 › Papers

Unifying Mixture of Experts and Multi-Head Latent Attention for Efficient Language Models

2025-08-02 · Sushant Mehta, Raj Dandekar, Rajat Dandekar, Sreedath Panat arxiv

We present MoE-MLA-RoPE, a novel architecture combination that combines Mixture of Experts (MoE) with Multi-head Latent Attention (MLA) and Rotary Position Embeddings (RoPE) for efficient language modeling. Our approach addresses the fundamental trade-off between model capacity and computational efficiency through three key innovations: (1) fine-grained expert routing with 64 micro-experts and top-$k$ selection, enabling flexible specialization through 3.6 * 10^7 possible expert combinations; (2) shared expert isolation that dedicates 2 always active experts for common patterns while routing to 6 of 62 specialized experts; and (3) gradient-conflict-free load balancing that maintains expert utilization without interfering with primary loss optimization. Extensive experiments on models ranging from 17M to 202M parameters demonstrate that MoE-MLA-RoPE with compression ratio r=d/2 achieves 68% KV cache memory reduction and 3.2x inference speedup while maintaining competitive perplexity (0.8% degradation). Compared to the parameters with 53.9M parameters, MoE-MLA-RoPE improves the validation loss by 6.9% over the vanilla transformers while using 42% fewer active parameters per forward pass. FLOP-matched experiments reveal even larger gains: 11.1% improvement with 3.2x inference acceleration. Automated evaluation using GPT-4 as a judge confirms quality improvements in generation, with higher scores on coherence (8.1/10), creativity (7.9/10) and grammatical correctness (8.2/10). Our results establish that architectural novelty, not parameter scaling, defines the efficiency frontier for resource-constrained language model deployment.

📄 PDF Abstract BibTeX arXiv:2508.01261

Code (0)

등록된 구현이 없습니다.

Tasks

Computational Efficiency

Similar Papers 제목 키워드 기반

Multi-Head LatentMoE and Head Parallel: Communication-Efficient and Deterministic MoE Parallelism

2026-02-04 · Chenwei Cui, Rockwell Jackson, Benjamin Joseph Herrera, Ana María Tárano 외 arxiv

Large language models have transformed many applications but remain expensive to train. Sparse Mixture of Experts (MoE) addresses this through conditional computation, with Expert Parallel (EP) as the standard distribute…

Rethinking LLM Inference Bottlenecks: Insights from Latent Attention and Mixture-of-Experts

2025-07-21 · Sungmin Yun, Seonyong Park, Hwayong Nam, Younjoo Lee 외 arxiv

Computational workloads composing traditional transformer models are starkly bifurcated. Multi-Head Attention (MHA) and Grouped-Query Attention are memory-bound due to low arithmetic intensity, while FeedForward Networks…

MH-MoE: Multi-Head Mixture-of-Experts

2024-11-25 · Shaohan Huang, Xun Wu, Shuming Ma, Furu Wei

Multi-Head Mixture-of-Experts (MH-MoE) demonstrates superior performance by using the multi-head mechanism to collectively attend to information from various representation spaces within different experts. In this paper,…

Mixture-of-Experts

MicarVLMoE: A Modern Gated Cross-Aligned Vision-Language Mixture of Experts Model for Medical Image Captioning and Report Generation

2025-04-29 · Amaan Izhar, Nurul Japar, Norisma Idris, Ting Dang

Medical image reporting (MIR) aims to generate structured clinical descriptions from radiological images. Existing methods struggle with fine-grained feature extraction, multimodal alignment, and generalization across di…

cross-modal alignmentDecoderImage CaptioningMixture-of-Experts

A Mixture of $h-1$ Heads is Better than $h$ Heads

2020-05-13 · Hao Peng, Roy Schwartz, Dianqi Li, Noah A. Smith

Multi-head attentive neural architectures have achieved state-of-the-art results on a variety of natural language processing tasks. Evidence has shown that they are overparameterized; attention heads can be pruned withou…

Language ModelingLanguage ModellingMachine TranslationMixture-of-Experts+1