Reproduce “EdgeXpert: An Edge Device for Memory-Efficient LLM Inference with Mixture-of-Experts and Speculative Decoding” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Sangwoo Ha, Hyunwoo Seo, Yurim Jo, Youngjin Moon, Hoi-Jun Yoo
EdgeXpert reduces external-memory traffic in sparse mixture-of-experts inference during prompt processing and speculative verification. It reuses experts across prompt tokens and coalesces salient channels across same-depth candidates, adding computation to reduce fetching. In a simulated Qwen3-30B-A3B design, time to first token and per output token fell from 405.6/104.0 ms to 120.3/49.0 ms; these are not fabricated-chip measurements.
Key insights
- The primary bottleneck for LLM inference on edge devices in single-batch, autoregressive mode is external memory access (EMA), especially for FFN layers, rather than KV cache in short-context scenarios.
- Naive combination of MoE and speculative decoding leads to increased expert activation, negating the sparsity benefits of MoE and increasing EMA, thus requiring a co-designed solution.
- Channel-level sparsity can be translated into actual EMA reduction by strategically controlling expert and channel loading, especially by leveraging depth-wise contextual similarity and mutual exclusivity of speculative decoding candidate tokens.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.