CECAR: Cache & Expert Co-Aware Routing Accelerates On-Device Inference of MoE LLMs
Byeongju Kim, Hoonki Lee, Byungjun Kim, Inyul Ra, Yongjin Kim, Yongseong Lee, Sangyeob Kim
NeurIPS page · Open on the map
Category: Efficient LLM Inference & Training › KV Cache Quantization Compression · Type: system or tooling · Keywords: MoE inference, cache optimization, expert routing, on-device LLM, memory-efficient AI
Areas: Memory › Model Memory Optimization › KV Cache Optimization; Model Architectures & Sequence Modeling › Language Model Architectures › Mixture of Experts Optimizations
Summary
CECAR introduces a cache and expert co-aware routing system that jointly optimizes expert selection and caching to accelerate on-device MoE LLM inference, achieving 12.5 tokens/s on a consumer GPU with limited VRAM.
Explained to a 5-year-old
Imagine a big robot brain that lives inside a phone and helps it talk and write. This brain is so big that it doesn't fit entirely into the phone's fast memory. To save space, the brain only uses a few parts at a time, but those parts still need to be stored somewhere. If the phone always keeps the same parts in memory, it runs out of room. The researchers noticed that even the best way to choose which parts to keep doesn't work perfectly for fast responses. They also saw that simple ways to decide which parts to use can make the brain act unstable. To fix this, they created a smart system that predicts which parts will be needed again soon and keeps those in fast memory. This helps the brain run faster and answer questions more quickly.
Explained to a 5-year-old, longer
Imagine a big robot brain that lives inside a phone and helps it talk and write. This brain is so big that it doesn't fit entirely into the phone's fast memory. To save space, the brain only uses a few parts at a time, but those parts still need to be stored somewhere. If the phone always keeps the same parts in memory, it runs out of room. The researchers noticed that even the best way to choose which parts to keep doesn't work perfectly for fast responses. They also saw that simple ways to decide which parts to use can make the brain act unstable. To fix this, they created a smart system that predicts which parts will be needed again soon and keeps those in fast memory. It also decides which parts to use when the brain is thinking. This helps the brain run faster and answer questions more quickly. The system can work on a regular computer with only 16 gigabytes of memory, using a slower storage drive for the parts that don't fit. As a result, the phone can use the big brain without waiting a long time. The new method is much faster than the old way, even when the old way kept everything in memory. It also beats other methods that tried to make the brain faster. This makes it possible for everyday devices to have powerful AI assistants.
For a technical reader
CECAR jointly optimizes expert routing and cache management by predicting each expert's reuse distance with an ML model, prioritizing those likely to be reused soon. This reduces memory footprint by keeping only a subset of experts resident and fetching others from SSD when needed. The system achieves 12.5 tokens/s on a consumer GPU with 16 GB VRAM, delivering a 4.5× speedup over conventional MoE inference. It outperforms baselines that keep the entire model in DRAM, making large MoE models viable on resource-constrained devices.
Problem
On-device deployment of large-scale Mixture-of-Experts models is limited because sparse expert activation requires all expert weights to be resident in memory, causing high memory usage and low latency on resource-constrained devices.
Method
The approach employs an ML-based cache policy that predicts each expert's expected reuse distance and jointly optimizes routing and execution toward experts with smaller predicted reuse distances, while managing cache allocation to improve hit rates.
Results
The approach achieves 12.5 tokens/s on a consumer GPU with 16 GB VRAM, fetching non-resident experts from SSD, delivering a 4.5× speedup over conventional MoE inference and surpassing the decode speed of fully DRAM-resident baselines.
Contributions
The paper identifies fundamental limits of cache hit rates for MoE inference, proposes an ML-based cache policy that predicts expert reuse distances, and demonstrates a joint routing-and-caching system that significantly accelerates on-device MoE LLM inference under memory constraints.
Limitations and assumptions
Evaluated on a single model (Qwen3-30B-A3B) and a specific hardware configuration (16 GB VRAM GPU with SSD).
Practical relevance
Enables practical on-device deployment of large MoE models on consumer hardware, reducing memory requirements and improving inference speed.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction