SpecPrefetch: Parameter-Efficient Expert Prefetching for Sparse MoE Foundation Models
SpecPrefetch is a parameter-efficient framework that decouples expert prefetching from native routing using a lightweight adapter and a window-aware scheduler, thereby significantly reducing expert-loading latency and improving inference throughput for sparse Mixture-of-Experts models on memory-constrained devices without altering model outputs.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are trying to build the ultimate library, but you only have a tiny desk in a cramped room. You want to store millions of books (the "knowledge" of a super-smart computer), but your desk can only hold a few at a time. This is the daily struggle of running massive Artificial Intelligence models on devices like phones or laptops. These models are like giant encyclopedias that have learned to write, draw, and solve math problems, but they are so huge they don't fit in the computer's memory. To make them work, scientists use a clever trick called "Mixture of Experts" (MoE). Think of this as a library where, instead of reading every single book for every question, the librarian (the "router") only pulls out a few specific books (the "experts") that are relevant to the current sentence. It's efficient! But here's the catch: even though the librarian only uses a few books, all the books still have to be stored somewhere. If the books are too big to fit on the desk, they have to be kept on a shelf in the hallway (the hard drive or host memory). Every time the librarian needs a new book, they have to run to the hallway, grab it, and bring it back. This running back and forth is slow, and it stops the librarian from thinking while they are fetching. The big question for computer scientists is: How can we get the right books to the desk before the librarian even asks for them, without messing up the librarian's original plan?
Enter SpecPrefetch, a new idea from researchers Jinwei Kong and their team that tries to solve this "running back and forth" problem. They realized that the librarian (the AI) is actually quite predictable. Just by looking at the sentence the librarian is currently reading, you can make a pretty good guess about which books they will need for the next sentence. The team built a tiny, super-lightweight "assistant" (a parameter-efficient adapter) that acts like a psychic sidekick. This assistant watches the librarian work and whispers, "Hey, in the next step, you're probably going to need Book 4 and Book 9!" The assistant then sends a runner to fetch those specific books from the hallway while the librarian is still busy finishing the current sentence. This is the magic: the books arrive at the desk just in time, hiding the travel time.
Crucially, this assistant doesn't take over the job. The original librarian still makes the final decision on which books to actually read. If the assistant guesses wrong and fetches the wrong book, it just sits there unused; it doesn't change the story the AI is telling. This means the system stays safe and accurate, but much faster. The researchers tested this on two different types of smart AI models (Qwen3-VL and DeepSeek-VL2) using various tasks like solving math problems, writing code, and understanding images. They found that their "psychic assistant" was incredibly good at guessing the right books, often getting it right 9 out of 10 times, and it did this using way fewer computer resources than other methods that try to learn the whole library from scratch.
When they tested this on a real mobile phone (a Snapdragon 8 Elite device), the results were even more exciting. In situations where the phone had to wait for data to load from its storage, SpecPrefetch made the AI talk up to 20% faster. It's like turning a librarian who has to sprint to the hallway for every single page into one who has a conveyor belt of books arriving right before they are needed. The team showed that you don't need a giant, expensive brain to predict the future; a small, smart nudge is enough to make these massive AI models run smoothly on the devices we carry in our pockets.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.