AI
New Framework Makes MoE AI Models Run Faster on Edge Devices by Predicting Expert Demand
Researchers repurpose speculative decoding as a lookahead tool for smarter memory management in large language models running on resource-constrained devices.
Running Mixture-of-Experts (MoE) models on edge devices remains a stubborn challenge—these powerful architectures can scale efficiently, but their memory footprint becomes unmanageable when distributed across machines with limited resources. A new paper from arXiv proposes MoE-SpAc, a framework that rethinks how to shuffle model components between local memory and storage to reduce bottlenecks.
The Core Problem#
Standard offloading strategies struggle because expert activation in autoregressive models is inherently unpredictable. Each time the model generates a token, it decides which experts to use next in a way that's hard to anticipate, forcing constant I/O operations that bog down throughput. Researchers typically treat memory management and inference speed as separate concerns, but MoE-SpAc merges them.
How MoE-SpAc Works#
The framework rethinks Speculative Decoding—a technique normally used to parallelize inference—as a window into future expert requirements. Three main components work together:
- Speculative Utility Estimator: Forecasts which experts will be needed in upcoming steps, turning speculation into a prediction signal for memory planning
- Heterogeneous Workload Balancer: Dynamically decides which computations run locally versus which get deferred, using online integer optimization to adapt in real time
- Asynchronous Execution Engine: Unifies prefetching (loading experts before they're needed) and eviction (clearing them from memory) under a single utility metric
This integration allows the system to move experts more strategically, reducing expensive I/O waits.
Results#
Testing across seven benchmarks shows substantial gains. MoE-SpAc delivers 42% higher throughput (transactions per second) compared to existing speculative decoding baselines, and achieves an average 4.04x speedup over standard offloading methods. The theoretical analysis backs up why lookahead helps memory management in heterogeneous environments where devices have varying compute and storage capabilities.

