R239 · Infrastructure for agents at scale › Inference providers and serving reliability

Dynamic Expert Pruning: per-agent MoE expert masks from the agent's own prompts

Read the original

Authors Microsoft Research (shared)

inference-servingmoemulti-agentcaching

Sources: Microsoft Research's Research Focus newsletter (2026-11-23), which surfaced the paper; Dynamic Expert Pruning for Multi-Agent Systems, Koo, Abbasloo, Lee and Ok, arXiv 2610.02951 (October 2026). The same newsletter also features Continuous Semantic Caching for Low-Cost LLM Serving (arXiv 2604.20021, MobiHoc 2026), summarized briefly below.

The problem

Mixture-of-Experts models save compute by routing each token to a few experts, but they save no memory: every expert must stay resident on the accelerator. Expert pruning cuts the footprint by dropping experts, but existing methods are static. They calibrate one mask offline and apply it to every request. That fails when one backbone serves a heterogeneous workload, and the clearest case is a multi-agent system, where the same model plays planner, coder, critic and tool-caller at once. The authors' analysis shows different tasks and roles recruit different experts, so one fixed subset is wrong for most of them.

The method

The key finding is that an agent's system prompt and task prompt are enough to predict which experts it will need. That text already says what the agent will do. DEP trains a lightweight predictor once, on transcripts of multi-agent workflows. At serve time it reads the prompts and emits a per-request expert mask in one forward pass, with no per-configuration calibration.

Reported results, across tasks, roles, model scales and MoE architectures:

Why it matters for agent platforms

Multi-agent systems are often built on one shared backbone for cost and simplicity. DEP turns the role definition, which already exists in the system prompt, into a serving-time signal. In effect, it is routing at the request level, above the per-token router. Three practical consequences:

  1. Role prompts become capacity hints. Stable, well-scoped system prompts produce stable masks. Vague, catch-all prompts likely produce broad masks and save less.

  2. Placement and batching change. Requests with similar masks can be co-located, which suggests scheduling by role rather than only by arrival.

  3. Memory, not FLOPs, is the target. The win is fitting a large MoE on smaller hardware, or packing more replicas, rather than faster tokens.

Open questions and failure modes

Companion item: continuous semantic caching

The newsletter also features a theory-heavy paper on semantic response caching. Prior schemes assume a finite, known set of discrete queries. This one treats queries as points in a continuous embedding space. It uses a dynamic ε-net plus kernel ridge regression to estimate query costs with uncertainty and share them across semantic neighborhoods. Offline and online algorithms minimize the cost of changing what is cached, and the online one has a sublinear-regret bound. The authors report it approximates the continuous optimal cache with lower switching overhead. It matters for anyone running a semantic cache in front of an LLM, though the paper is from April.

Review checklist: serving many agent roles on one MoE backbone

Rocket's RL infrastructure for a large MoE (MXFP8 storage for experts); GraphRAG Zero (featured in the same newsletter); NVIDIA Dynamo for RL rollouts.

Cited in field guides

Connections

See R239 on the knowledge map

Part of the Research notes on nowucca.com. Figures and claims are the source's own unless the summary says otherwise.