In-depth Analysis on Caching and Pre-fetching in Mixture of Experts Offloading

Shuning Lin, Yifan He, Yitong Chen
11/8/2025
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

In today's landscape, Mixture of Experts (MoE) is a crucial architecture that has been used by many of the most advanced models. One of the major challenges of MoE models is that they usually require much more memory than their dense counterparts due to their unique architecture, and hence are harder to deploy in environments with limited GPU memory, such as edge devices. MoE offloading is a promising technique proposed to overcome this challenge, especially if it is enhanced with caching and pre-fetching, but prior work stopped at suboptimal caching algorithm and offered limited insights. In this work, we study MoE offloading in depth and make the following contributions: 1. We analyze the expert activation and LRU caching behavior in detail and provide traces. 2. We propose LFU caching optimization based on our analysis and obtain strong improvements from LRU. 3. We implement and experiment speculative expert pre-fetching, providing detailed trace showing its huge potential . 4. In addition, our study extensively covers the behavior of the MoE architecture itself, offering information on the characteristic of the gating network and experts. This can inspire future work on the interpretation of MoE models and the development of pruning techniques for MoE architecture with minimal performance loss.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lin2025indepth,
  title  = {In-depth Analysis on Caching and Pre-fetching in Mixture of Experts Offloading},
  author = {Shuning Lin and Yifan He and Yitong Chen},
  year   = {2025},
  eprint = {2511.05814},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.05814v1}
}

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/2511.05814.svg)](https://codeofpaper.com/paper/2511.05814)

Discussion