paper-with-me

홈 › Papers

On-Device Collaborative Language Modeling via a Mixture of Generalists and Specialists

2024-09-20 · Dongyang Fan, Bettina Messmer, Martin Jaggi

On-device LLMs have gained increasing attention for their ability to enhance privacy and provide a personalized user experience. To facilitate learning with private and scarce local data, federated learning has become a standard approach, though it introduces challenges related to system and data heterogeneity among end users. As a solution, we propose a novel $\textbf{Co}$llaborative learning approach with a $\textbf{Mi}$xture of $\textbf{G}$eneralists and $\textbf{S}$pecialists (CoMiGS), being the first to effectively address both. Our approach distinguishes generalists and specialists by aggregating certain experts across end users while keeping others localized to specialize in user-specific datasets. A key innovation of our method is the bi-level optimization formulation of the Mixture-of-Experts learning objective, where the router is updated using a separate validation set that represents the target distribution. CoMiGS effectively balances collaboration and personalization, as demonstrated by its superior performance in scenarios with high data heterogeneity across multiple datasets. By design, our approach accommodates users' varying computational resources through different numbers of specialists. By decoupling resource abundance from data quantity, CoMiGS remains robust against overfitting-due to the generalists' regularizing effect-while adapting to local data through specialist expertise.

📄 PDF Abstract BibTeX arXiv:2409.13931

Code (1)

epfml/comigs 공식 구현 pytorch

Tasks

Federated LearningLanguage ModelingLanguage ModellingMixture-of-Experts

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
SET Dynamic Sparse Training method where weight mask is updated randomly periodically
MoE 설명 없음

Similar Papers 제목 키워드 기반

VidPrism: Heterogeneous Mixture of Experts for Image-to-Video Transfer

2026-05-27 · Rui Lin, Chuanming Wang, Huadong Ma arxiv

With the rapid development of pre-training technologies, adapting large-scale Vision-Language Models (VLMs) for video understanding \emph{\ie} image-to-video transfer learning has become a dominant paradigm. To achieve s…

Transfer Learning

PreMoE: Proactive Inference for Efficient Mixture-of-Experts

2025-05-23 · Zehua Pei, Ying Zhang, Hui-Ling Zhen, Tao Yuan 외 arxiv

Mixture-of-Experts (MoE) models offer dynamic computation, but are typically deployed as static full-capacity models, missing opportunities for deployment-specific specialization. We introduce PreMoE, a training-free fra…

Distributed Mixture-of-Agents for Edge Inference with Large Language Models

2024-12-30 · Purbesh Mitra, Priyanka Kaswan, Sennur Ulukus

Mixture-of-Agents (MoA) has recently been proposed as a method to enhance performance of large language models (LLMs), enabling multiple individual LLMs to work together for collaborative inference. This collaborative ap…

Collaborative InferenceDistributed Computing

WDMoE: Wireless Distributed Large Language Models with Mixture of Experts

2024-05-06 · Nan Xue, Yaping Sun, Zhiyong Chen, Meixia Tao 외

Large Language Models (LLMs) have achieved significant success in various natural language processing tasks, but how wireless communications can support LLMs has not been extensively studied. In this paper, we propose a …

Mixture-of-Experts

WDMoE: Wireless Distributed Mixture of Experts for Large Language Models

2024-11-11 · Nan Xue, Yaping Sun, Zhiyong Chen, Meixia Tao 외

Large Language Models (LLMs) have achieved significant success in various natural language processing tasks, but the role of wireless networks in supporting LLMs has not been thoroughly explored. In this paper, we propos…

Mixture-of-Experts