← Latest papers
🤖 machine learning

WiSP: A Working-Set View of Mixture-of-Experts Serving on Extremely Low-Resource Hardware

This paper introduces WiSP, a routing-aware working-set management system for Mixture-of-Experts models on low-resource hardware that dynamically pages expert weights and optimizes VRAM allocation between experts and the KV cache to significantly improve decode throughput without modifying the underlying serving engine.

Original authors: Jiamu Zhang, Liang Wu, Mayank Darbari, Liangjie Hong

Published 2026-06-23
📖 5 min read🧠 Deep dive

Original authors: Jiamu Zhang, Liang Wu, Mayank Darbari, Liangjie Hong

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

The Big Problem: The "Too Big to Fit" AI

Imagine you have a massive library of books (the AI model) that contains hundreds of billions of pages. You want to read a specific story on a tiny, portable e-reader (a standard computer graphics card, or GPU).

The problem is that the e-reader doesn't have enough memory to hold the whole library at once. However, for any single sentence you read, you only need a few specific pages from a few specific books. The rest of the library sits unused.

Current solutions try to solve this by keeping the whole library in a warehouse (the computer's main memory) and rushing to the warehouse to grab the pages you need every time you turn a page. This is slow because the trip to the warehouse (data transfer) takes a long time.

The WiSP Solution: The "Smart Librarian"

The authors created a system called WiSP (Working-Set Paging). Instead of rushing to the warehouse for every single page, WiSP acts like a smart librarian who watches what you are reading and keeps a small, curated stack of likely-to-be-needed books right on your desk (the GPU memory).

Here is how it works in three simple parts:

1. The "Smart Stack" (Expert Paging)

In AI models called "Mixture-of-Experts" (MoE), the model has many different "experts" (specialized sub-models), but it only uses a few for each word it generates.

  • Old Way: The system grabs all the experts for a layer, even if it only uses two of them. It wastes space and time.
  • WiSP Way: WiSP only keeps the specific experts you are actually using on your desk. If you need a new expert, it quickly swaps one out of the stack and grabs the new one from the warehouse.
  • The Result: Because it only moves the tiny pieces you actually need, it is much faster. The paper found that on small computers, this makes the AI run up to 2 times faster than the old method.

2. The "Shared Desk" (Memory Allocation)

Your desk (GPU memory) is very small. You have two things fighting for space:

  1. The Expert Stack: The books you need to read right now.
  2. The Context Notes (KV Cache): The notes you've written so far about the story so far, so you don't forget what happened.

If you fill your desk with too many books, you have no room for your notes. If you fill it with too many notes, you can't grab the books you need.

  • The WiSP Solution (MV-WSA): This is a smart rule that decides how to split your desk space. It constantly asks: "Is it more helpful to have more books on the desk, or more notes?"
  • It adjusts the split dynamically. If you are writing a long story, it gives you more room for notes. If you are switching topics quickly, it gives you more room for books. This ensures you never run out of space for either.

3. The "Crystal Ball" Myth (Why Prediction Didn't Help)

The researchers wondered: "What if we use a crystal ball (AI prediction) to guess which book you'll need next, and grab it before you ask for it?"

  • The Surprise: They found that in this specific setting (reading one sentence at a time), prediction doesn't make it faster.
  • Why? The "road" (data connection) between the warehouse and the desk is too narrow. Even if you guess perfectly, the truck can only carry so much at once. The bottleneck isn't guessing the right book; it's the speed of the truck.
  • The Real Value: The "crystal ball" is still useful, but not for speed. It helps the librarian know exactly how big the stack needs to be for you specifically. This allows the system to shrink the stack to the perfect size, freeing up more desk space for your notes.

The Bottom Line

The paper argues that running big AI models on small computers is a memory management problem, not just a computing problem.

  • WiSP is a tool that acts like a smart librarian, keeping only the necessary books on the desk and swapping them out efficiently.
  • It doesn't change the AI model itself; it just manages the memory better.
  • It makes the AI run significantly faster on small devices by stopping it from wasting time moving unnecessary data.
  • It teaches us that in this specific scenario, managing your workspace efficiently is more important than trying to predict the future.

The system works so well that it can even run massive AI models on a single computer card that previously couldn't handle them at all, without changing the quality of the answers the AI gives.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →