paper-with-me

Papers

Read-ME: Refactorizing LLMs as Router-Decoupled Mixture of Experts with System Co-Design

2024-10-24 · Ruisi Cai, Yeonju Ro, Geon-Woo Kim, Peihao Wang, Babak Ehteshami Bejnordi, Aditya Akella, Zhangyang Wang

The proliferation of large language models (LLMs) has led to the adoption of Mixture-of-Experts (MoE) architectures that dynamically leverage specialized subnetworks for improved efficiency and performance. Despite their benefits, MoE models face significant challenges during inference, including inefficient memory management and suboptimal batching, due to misaligned design choices between the model architecture and the system policies. Furthermore, the conventional approach of training MoEs from scratch is increasingly prohibitive in terms of cost. In this paper, we propose a novel framework Read-ME that transforms pre-trained dense LLMs into smaller MoE models (in contrast to "upcycling" generalist MoEs), avoiding the high costs of ground-up training. Our approach employs activation sparsity to extract experts. To compose experts, we examine the widely-adopted layer-wise router design and show its redundancy, and thus we introduce the pre-gating router decoupled from the MoE backbone that facilitates system-friendly pre-computing and lookahead scheduling, enhancing expert-aware batching and caching. Our codesign therefore addresses critical gaps on both the algorithmic and system fronts, establishing a scalable and efficient alternative for LLM inference in resource-constrained settings. Read-ME outperforms other popular open-source dense models of similar scales, achieving improvements of up to 10.1% on MMLU, and improving mean end-to-end latency up to 6.1%. Codes are available at: https://github.com/VITA-Group/READ-ME.

📄 PDF Abstract BibTeX arXiv:2410.19123

Code (1)

vita-group/read-me 공식 구현 jax

Tasks

Mixture-of-ExpertsMMLUScheduling

Methods 이 논문이 사용한 방법론

MoE 설명 없음

Similar Papers 제목 키워드 기반

Decoupled Mixture-of-Experts for Parametric Knowledge Injection

2026-06-12 · Baoqing Yue, Weihang Su, Qingyao Ai, Yichen Tang 외 arxiv

Knowledge injection aims to equip large language models (LLMs) with external, domain-specific, or time-sensitive knowledge. Existing approaches typically face a trade-off between flexibility and integration: retrieval-au…

CL-MoE: Enhancing Multimodal Large Language Model with Dual Momentum Mixture-of-Experts for Continual Visual Question Answering

2025-03-01 · CVPR 2025 1 · Tianyu Huai, Jie zhou, Xingjiao Wu, Qin Chen 외

Multimodal large language models (MLLMs) have garnered widespread attention from researchers due to their remarkable understanding and generation capabilities in visual language tasks (e.g., visual question answering). H…

Continual LearningLanguage ModelingLanguage ModellingLarge Language Model+5

Mixture of In-Context Experts Enhance LLMs' Long Context Awareness

2024-06-28 · Hongzhan Lin, Ang Lv, Yuhan Chen, Chen Zhu 외

Many studies have revealed that large language models (LLMs) exhibit uneven awareness of different contextual positions. Their limited context awareness can lead to overlooking critical information and subsequent task fa…

Long-Context Understanding

Sparse Models, Sparse Safety: Unsafe Routes in Mixture-of-Experts LLMs

2026-02-09 · Yukun Jiang, Hai Huang, Mingjie Li, Yage Zhang 외 arxiv

By introducing routers to selectively activate experts in Transformer layers, the mixture-of-experts (MoE) architecture significantly reduces computational costs in large language models (LLMs) while maintaining competit…

Stochastic Optimization

Mixture of Routers

2025-03-30 · Jia-Chen Zhang, Yu-jie Xiong, Xi-He Qiu, Chun-Ming Xia 외

Supervised fine-tuning (SFT) is a milestone in aligning large language models with human instructions and adapting them to downstream tasks. In particular, Low-Rank Adaptation (LoRA) has gained widespread attention due t…

Mixture-of-Expertsparameter-efficient fine-tuning