S2-MoE: Enabling Efficient Self-Speculative Decoding for Mixture-of-Experts on Edge Devices

Haochen Huang, Shengxuan Qiu, Meng Li
8/15/2026
4 citations
cs.AI
moe

Official code: angerybob/S2-MoE (11 stars, C++, MIT, last commit 2026-10-19).

Abstract

Deploying large language models (LLMs) for inference on edge devices is challenging due to severe memory and bandwidth constraints. While speculative decoding and Mixture-of-Experts (MoE) have been proposed to improve inference efficiency, naively combining them often incurs excessive verification overhead and poor expert reuse, limiting their effectiveness in memory-bound edge settings.

Show full abstract

In this work, we propose S2-MoE, an efficient self-speculative decoding framework for MoE inference on edge devices. S2-MoE reduces redundant verification through routing-aware adaptive speculative expansion, improves verification efficiency with reuse-aware expert gating, and aligns draft and target execution via shared context. Implemented in llama$.$cpp, S2-MoE achieves up to $5.3\times$ speedup (about $2.0\times$ on average) over standard autoregressive decoding across diverse MoE models and datasets on edge devices. Code is available at https://github.com/angerybob/S2-MoE.

View on arXivView PDF

Code Implementations(1)

angerybob/S2-MoEOfficial100%
MIT
110C++, CJun 21, 20261 months agoMIT

Similar Papers

Cite this paper

@article{huang2026smoe,
  title  = {S2-MoE: Enabling Efficient Self-Speculative Decoding for Mixture-of-Experts on Edge Devices},
  author = {Haochen Huang and Shengxuan Qiu and Meng Li},
  year   = {2026},
  eprint = {2608.15018},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.15018v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.15018.svg)](https://codeofpaper.com/paper/2608.15018)

Discussion