SwapMoE: Serving Off-the-shelf MoE-based Large Language Models with Tunable Memory Budget
On the map: Mixture-of-experts → MoE large language models
Abstract (arXiv)
Mixture of experts (MoE) is a popular technique to improve capacity of Large Language Models (LLMs) with conditionally-activated parallel experts. However, serving MoE models on memory-constrained devices is challenging due to the large parameter size. Typical solutions such as memory swapping or expert pruning may lead to significantly higher latency or severe accuracy loss. In this paper, we introduce SwapMoE, a framework for efficient serving of MoE-based large language models with tunable memory budgets. The main idea of SwapMoE is to keep a small dynamic set of important experts, namely Virtual Experts, in the main memory for inference, while seamlessly maintaining how the Virtual Experts map to the actual experts. Experiments have shown that SwapMoE can reduce the memory footprint while maintaining reasonable accuracy. For example, on text summarization tasks with Switch Transformer, SwapMoE can reduce the memory consumption from 14.2 GiB to 4.7 GiB, together with 50% latency reduction and a slight Rouge-2 score drop of 0.041.
Key facts. Cited by 27 papers in the map (data through 14 Oct 2026). Placed in MoE large language models, one of 12 directions in Mixture-of-experts. Builds on 19 of its 36 references that are in the map. First posted on arXiv 29 Aug 2023.
Builds on
19 of 36 references.
Closest ancestors · 6
Same direction, newest first
- 2023Towards MoE Deployment: Mitigating Inefficiencies in Mixture-of-Expert (MoE) Inference10 Mar
- 2021Efficient Large Scale Language Modeling with Mixtures of Experts20 Dec
- 2021Beyond Distillation: Task-level Mixture-of-Experts for Efficient Inference24 Sep
- 2021Scalable and Efficient MoE Training for Multitask Multilingual Models22 Sep
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding30 Jun
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer23 Jan
Other references · 13
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
- 2021MoEfication: Transformer Feed-forward Layers are Mixtures of Expertscited by 152
- 2022M3ViT: Mixture-of-Experts Vision Transformer for Efficient Multi-task Learning with Model-Accelerator Co-designcited by 98
- 2022Task-Specific Expert Pruning for Sparse Mixture-of-Expertscited by 72
- 2018NestDNN: Resource-Aware Multi-Tenant On-Device Deep Learning for Continuous Mobile Visioncited by 68
- 2022MoESys: A Distributed and Efficient Mixture-of-Experts Training and Inference System for Internet Servicescited by 37
- 2021LegoDNN: Block-grained Scaling of Deep Neural Networks for Mobile Visioncited by 20
- 2023AdaptiveNet: Post-deployment Neural Architecture Adaptation for Diverse Edge Environmentscited by 19
- 2020Dynamic Slicing for Deep Neural Networkscited by 16
1 more
Built on by
Citing papers per year: 2024: 4; 2025: 15; 2026: 8.
27 papers.
Sort:
By area:
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 86
- 2024ProMoE: Fast MoE-based LLM Serving using Proactive Cachingcited by 40
- 2024Large Model Based Agents: State-of-the-Art, Cooperation Paradigms, Security and Privacy, and Future Trendscited by 26
- 2025Taming Latency-Memory Trade-Off in MoE-Based LLM Serving via Fine-Grained Expert Offloadingcited by 24
- 2026DART: Diffusion-Inspired Speculative Decoding for Fast LLM Inferencecited by 24
- 2024Mixture of Cache-Conditional Experts for Efficient Mobile Device Inferencecited by 14
- 2025GRACE-MoE: Grouping and Replication with Locality-Aware Routing for Efficient Distributed MoE Inferencecited by 13
- 2025ResMoE: Space-efficient Compression of Mixture of Experts LLMs via Residual Restorationcited by 12
- 2025Not All Models Suit Expert Offloading: On Local Routing Consistency of Mixture-of-Expert Modelscited by 8
- 2025Accelerating Edge Inference for Distributed MoE Models with Latency-Optimized Expert Placementcited by 7
- 2025Dynamic Expert Quantization for Scalable Mixture-of-Experts Inferencecited by 7
- 2025CoServe: Efficient Collaboration-of-Experts (CoE) Model Inference with Limited Memorycited by 5
15 more
- 2025DuoServe-MoE: Dual-Phase Expert Prefetch and Caching for LLM Inference QoS Assurancecited by 5
- 2025BuddyMoE: Exploiting Expert Redundancy to Accelerate Memory-Constrained Mixture-of-Experts Inferencecited by 5
- 2026ZipMoE: Efficient On-Device MoE Serving via Lossless Compression and Cache-Affinity Schedulingcited by 4
- 2025Efficient Deployment of Vision-Language Models on Mobile Devices: A Case Study on OnePlus 13Rcited by 2
- 2025CoMoE: Collaborative Optimization of Expert Aggregation and Offloading for MoE-based LLMs at Edgecited by 2
- 2025Adaptive and Resource-efficient Agentic AI Systems for Mobile and Embedded Devices: A Surveycited by 2
- 2026MoE-Prefill: Zero Redundancy Overheads in MoE Prefill Servingcited by 2
- 2025Federated Fine-Tuning of Sparsely-Activated Large Language Models on Resource-Constrained Devicescited by 1
- 2025MoE-Compression: How the Compression Error of Experts Affects the Inference Accuracy of MoE Model?cited by 1
- 2025Efficient CPU-GPU Collaborative Inference for MoE-based LLMs on Memory-Limited Systemscited by 1
- 2026A Replicate-and-Quantize Strategy for Plug-and-Play Load Balancing of Sparse Mixture-of-Experts LLMscited by 0
- 2026Networking-Aware Energy Efficiency in Agentic AI Inference: A Surveycited by 0
- 2026VisMMOE: Exploiting Visual-Expert Affinity for Efficient Visual-Language MoE Offloadingcited by 0
- 2026Every Expert Counts: ExactMoE for Memory-Efficient W4A16 Inferencecited by 0
- 2026MaskCoFT: Masked Co-Adaptive Fine-Tuning for Memory-Efficient MoE Inferencecited by 0
- 2026MaskCoFT: Masked Co-Adaptive Fine-Tuning for Memory-Efficient MoE Inference28 Sep 2026
- 2026Every Expert Counts: ExactMoE for Memory-Efficient W4A16 Inference15 Aug 2026
- 2026VisMMOE: Exploiting Visual-Expert Affinity for Efficient Visual-Language MoE Offloading7 May 2026
- 2026MoE-Prefill: Zero Redundancy Overheads in MoE Prefill Serving3 May 2026
- 2026Networking-Aware Energy Efficiency in Agentic AI Inference: A Survey9 Apr 2026
- 2026A Replicate-and-Quantize Strategy for Plug-and-Play Load Balancing of Sparse Mixture-of-Experts LLMs23 Feb 2026
- 2026ZipMoE: Efficient On-Device MoE Serving via Lossless Compression and Cache-Affinity Scheduling29 Jan 2026
- 2026DART: Diffusion-Inspired Speculative Decoding for Fast LLM Inference27 Jan 2026
- 2025Efficient CPU-GPU Collaborative Inference for MoE-based LLMs on Memory-Limited Systems18 Dec 2025
- 2025Dynamic Expert Quantization for Scalable Mixture-of-Experts Inference19 Nov 2025
- 2025BuddyMoE: Exploiting Expert Redundancy to Accelerate Memory-Constrained Mixture-of-Experts Inference13 Nov 2025
- 2025Adaptive and Resource-efficient Agentic AI Systems for Mobile and Embedded Devices: A Survey30 Sep 2025
15 more
- 2025GRACE-MoE: Grouping and Replication with Locality-Aware Routing for Efficient Distributed MoE Inference29 Sep 2025
- 2025MoE-Compression: How the Compression Error of Experts Affects the Inference Accuracy of MoE Model?9 Sep 2025
- 2025DuoServe-MoE: Dual-Phase Expert Prefetch and Caching for LLM Inference QoS Assurance9 Sep 2025
- 2025Federated Fine-Tuning of Sparsely-Activated Large Language Models on Resource-Constrained Devices26 Aug 2025
- 2025Accelerating Edge Inference for Distributed MoE Models with Latency-Optimized Expert Placement18 Aug 2025
- 2025CoMoE: Collaborative Optimization of Expert Aggregation and Offloading for MoE-based LLMs at Edge10 Aug 2025
- 2025Efficient Deployment of Vision-Language Models on Mobile Devices: A Case Study on OnePlus 13R11 Jul 2025
- 2025Not All Models Suit Expert Offloading: On Local Routing Consistency of Mixture-of-Expert Models21 May 2025
- 2025ResMoE: Space-efficient Compression of Mixture of Experts LLMs via Residual Restoration10 Mar 2025
- 2025CoServe: Efficient Collaboration-of-Experts (CoE) Model Inference with Limited Memory4 Mar 2025
- 2025Taming Latency-Memory Trade-Off in MoE-Based LLM Serving via Fine-Grained Expert Offloading7 Feb 2025
- 2024Mixture of Cache-Conditional Experts for Efficient Mobile Device Inference27 Nov 2024
- 2024ProMoE: Fast MoE-based LLM Serving using Proactive Caching29 Oct 2024
- 2024Large Model Based Agents: State-of-the-Art, Cooperation Paradigms, Security and Privacy, and Future Trends22 Sep 2024
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Models16 Jan 2024
- 2024ProMoE: Fast MoE-based LLM Serving using Proactive Cachingcited by 40
- 2025Taming Latency-Memory Trade-Off in MoE-Based LLM Serving via Fine-Grained Expert Offloadingcited by 24
- 2024Mixture of Cache-Conditional Experts for Efficient Mobile Device Inferencecited by 14
- 2025GRACE-MoE: Grouping and Replication with Locality-Aware Routing for Efficient Distributed MoE Inferencecited by 13
- 2025ResMoE: Space-efficient Compression of Mixture of Experts LLMs via Residual Restorationcited by 12
- 2025Not All Models Suit Expert Offloading: On Local Routing Consistency of Mixture-of-Expert Modelscited by 8
- 2025Accelerating Edge Inference for Distributed MoE Models with Latency-Optimized Expert Placementcited by 7
- 2025Dynamic Expert Quantization for Scalable Mixture-of-Experts Inferencecited by 7
- 2025DuoServe-MoE: Dual-Phase Expert Prefetch and Caching for LLM Inference QoS Assurancecited by 5
- 2025BuddyMoE: Exploiting Expert Redundancy to Accelerate Memory-Constrained Mixture-of-Experts Inferencecited by 5
- 2026ZipMoE: Efficient On-Device MoE Serving via Lossless Compression and Cache-Affinity Schedulingcited by 4
- 2025CoMoE: Collaborative Optimization of Expert Aggregation and Offloading for MoE-based LLMs at Edgecited by 2
12 most cited of 19 All 19 (JSON)
- 2026MaskCoFT: Masked Co-Adaptive Fine-Tuning for Memory-Efficient MoE Inference28 Sep 2026
- 2026Every Expert Counts: ExactMoE for Memory-Efficient W4A16 Inference15 Aug 2026
- 2026VisMMOE: Exploiting Visual-Expert Affinity for Efficient Visual-Language MoE Offloading7 May 2026
- 2026MoE-Prefill: Zero Redundancy Overheads in MoE Prefill Serving3 May 2026
- 2026A Replicate-and-Quantize Strategy for Plug-and-Play Load Balancing of Sparse Mixture-of-Experts LLMs23 Feb 2026
- 2026ZipMoE: Efficient On-Device MoE Serving via Lossless Compression and Cache-Affinity Scheduling29 Jan 2026
- 2025Efficient CPU-GPU Collaborative Inference for MoE-based LLMs on Memory-Limited Systems18 Dec 2025
- 2025Dynamic Expert Quantization for Scalable Mixture-of-Experts Inference19 Nov 2025
- 2025BuddyMoE: Exploiting Expert Redundancy to Accelerate Memory-Constrained Mixture-of-Experts Inference13 Nov 2025
- 2025GRACE-MoE: Grouping and Replication with Locality-Aware Routing for Efficient Distributed MoE Inference29 Sep 2025
- 2025DuoServe-MoE: Dual-Phase Expert Prefetch and Caching for LLM Inference QoS Assurance9 Sep 2025
- 2025Federated Fine-Tuning of Sparsely-Activated Large Language Models on Resource-Constrained Devices26 Aug 2025
12 newest of 19 All 19 (JSON)
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 86
- 2024Large Model Based Agents: State-of-the-Art, Cooperation Paradigms, Security and Privacy, and Future Trendscited by 26
- 2025CoServe: Efficient Collaboration-of-Experts (CoE) Model Inference with Limited Memorycited by 5
- 2025CoServe: Efficient Collaboration-of-Experts (CoE) Model Inference with Limited Memory4 Mar 2025
- 2024Large Model Based Agents: State-of-the-Art, Cooperation Paradigms, Security and Privacy, and Future Trends22 Sep 2024
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Models16 Jan 2024
Similar, not cited
Close in wording, no citation either way
- 2025Accelerating Mixture-of-Expert Inference with Adaptive Expert Split Mechanism
- 2025Mixture of Experts in Large Language Models
- 2023Pre-gated MoE: An Algorithm-System Co-Design for Fast and Scalable Mixture-of-Expert Inference
- 2026LightMoE: Reducing Mixture-of-Experts Redundancy through Expert Replacing
- 2024HOBBIT: A Mixed Precision Expert Offloading System for Fast MoE Inference
- 2025Grove MoE: Towards Efficient and Superior MoE LLMs with Adjugate Experts
- 2023EdgeMoE: Empowering Sparse Large Language Models on Mobile Devices
- 2024Toward Inference-optimal Mixture-of-Expert Large Language Models