paper-with-me

홈 › Papers

Mixture of Modular Experts: Distilling Knowledge from a Multilingual Teacher into Specialized Modular Language Models

2024-07-28 · Mohammed Al-Maamari, Mehdi Ben Amor, Michael Granitzer

This research combines Knowledge Distillation (KD) and Mixture of Experts (MoE) to develop modular, efficient multilingual language models. Key objectives include evaluating adaptive versus fixed alpha methods in KD and comparing modular MoE architectures for handling multi-domain inputs and preventing catastrophic forgetting. KD compresses large language models (LLMs) into smaller, efficient models, while MoE enhances modularity with specialized tasks. Experiments showed similar performance for both KD methods, with marginal improvements from adaptive alpha. A combined loss approach provided more stable learning. The router, trained to classify input sequences into English, French, German, or Python, achieved 99.95% precision, recall, and F1 score, with Logistic Regression being the most effective classifier. Evaluations of modular MoE architectures revealed that Pre-trained Language Experts (PLE) and Joint Expert Embedding Training (JEET) performed similarly, while the MoE with Common Expert (MoE-CE) setup showed slightly lower performance. Including a common expert in MoE-CE improved its performance. Studies on catastrophic forgetting indicated that sequential training led to significant forgetting, while single-session training with balanced batches and the MoE approach mitigated this issue. The MoE architecture preserved knowledge across multiple languages effectively. The research contributes open-sourced resources including the dataset (https://zenodo.org/doi/10.5281/zenodo.12677631), a balanced dataset creation tool (https://github.com/padas-lab-de/multi-language-dataset-creator), and the research codebase (https://github.com/ModMaamari/mixture-modular-experts).

📄 PDF Abstract BibTeX arXiv:2407.19610

Code (1)

padas-lab-de/multi-language-dataset-creator 공식 구현 tf

Tasks

Knowledge DistillationMixture-of-Experts

Methods 이 논문이 사용한 방법론

Logistic Regression Logistic Regression, despite its name, is a linear model for classification rather than regression. Logistic regression is also known in the literature as logit regression,…
MoE 설명 없음
Knowledge Distillation A very simple way to improve the performance of almost any machine learning algorithm is to train many different models on the same data and then to average their predictions.…

Similar Papers 제목 키워드 기반

MixtureKit: A General Framework for Composing, Training, and Visualizing Mixture-of-Experts Models

2025-12-13 · Ahmad Chamma, Omar El Herraoui, Guokan Shang arxiv

We introduce MixtureKit, a modular open-source framework for constructing, training, and analyzing Mixture-of-Experts (MoE) models from arbitrary pre-trained or fine-tuned models. MixtureKit currently supports three comp…

Efficiently Democratizing Medical LLMs for 50 Languages via a Mixture of Language Family Experts

2024-10-14 · Guorui Zheng, Xidong Wang, Juhao Liang, Nuo Chen 외

Adapting medical Large Language Models to local languages can reduce barriers to accessing healthcare services, but data scarcity remains a significant challenge, particularly for low-resource languages. To address this,…

Mixture-of-Experts

ModuleFormer: Modularity Emerges from Mixture-of-Experts

2023-06-07 · Yikang Shen, Zheyu Zhang, Tianyou Cao, Shawn Tan 외

Large Language Models (LLMs) have achieved remarkable results. However, existing models are expensive to train and deploy, and it is also difficult to expand their knowledge beyond pre-training data without forgetting pr…

Language ModellingLightweight DeploymentMixture-of-Experts

Beyond Distillation: Task-level Mixture-of-Experts for Efficient Inference

2021-09-24 · Findings (EMNLP) 2021 11 · Sneha Kudugunta, Yanping Huang, Ankur Bapna, Maxim Krikun 외

Sparse Mixture-of-Experts (MoE) has been a successful approach for scaling multilingual translation models to billions of parameters without a proportional increase in training computation. However, MoE models are prohib…

Mixture-of-ExpertsSentence

Spectral Manifold Regularization for Stable and Modular Routing in Deep MoE Architectures

2026-01-07 · Ibrahim Delibasoglu arxiv

Mixture of Experts (MoE) architectures enable efficient scaling of neural networks but suffer from expert collapse, where routing converges to a few dominant experts. This reduces model capacity and causes catastrophic i…