Paper

Cache-Learning Routers: Cache-Aware Joint Router Adaptation for Memory-Constrained MoE Inference

TL;DR

Starting from the observation that MoE’s real bottleneck is not compute but expert-weight movement, this work proposes the Temporal Router and Spatio-Temporal Router, which learn the cache-residency priority itself via post-training while keeping the native Top-$K$ selection rule unchanged (source: §1). On Qwen3-30B-A3B-Instruct-2507, the Temporal-only mode achieves hit-rate gains of +10.46~+33.34 pp and traffic reductions of -28.0~-79.9% over classic replacement policies, with zero additional proactive loads ($P=0$ MB/token); the full mode records adjusted hit-rate gains of +1.15~+18.03 pp and per-token load reductions of -4.6~-53.3% over the strongest prefetch baseline, ProMoE (source: Tab.1, §4.2).

Core Idea

The paper’s central hypothesis can be summarized in one sentence.

The authors hypothesize that jointly adapting lightweight auxiliary cache routers with the MoE backbone toward a cache-aware objective can reduce decode-phase expert-weight traffic beyond the limits of existing heuristic replacement and runtime-only prefetching, without changing the native Top-$K$ rule at inference (source: §1, §3.4).

The three original contributions can be distinguished as follows (source: §1).

  1. A new learning technique: formalizing cache management as a model-side post-training problem. Without touching the scheduler, hardware, or overlap, it adds the cache-coverage losses $ \mathcal{L}_{T} $ / $ \mathcal{L}_{ST} $ to the language-modeling loss $ \mathcal{L}_{LM} $, reshaping even the native routing distribution $ p^{R}_{t,l} $ to be differentiable (source: §3.1, §3.4).
  2. A new architectural component: a stackable two-stage cache-routing stack. The Temporal Router $ W^{T}_{l} $ for post-access retention is a standalone-deployable zero-proactive-load (unupdate-only, $P=0$) policy, while the Spatio Router $ W^{S}_{l} $ for pre-access refinement uses the causal-predecessor hidden state to correct the temporal carryover (source: §3.2, §3.3, Fig.1).
  3. Application of a new evaluation methodology: a proactive-load-aware metric system. Beyond the hard hit rate $ Hit =1-D/A $, it adopts $ AdjHit=(A-D)/(A+P) $ and $ Load/token=(D+P)S_{exp}/T $ as primary metrics, exposing the trap of a raw 100.00% hit rate (source: §4.1, §4.2).

The authors’ superiority argument is clear (source: §1, §6). First, heuristics cannot directly optimize the “resident experts that will be useful later.” Second, recent spatio-temporal prefetchers view locality only as a runtime prediction and scheduling problem. Third, at inference this method adds only 25.2 M params on Qwen3 (0.083% overhead) and 4.4 M on GPT-OSS (0.021% overhead), far lighter than ProMoE’s 96.0 M / 48.0 M (source: Tab.1).

Background: The Problem They Tackle

The Memory Gap in MoE Serving

Transformer-based MoE improves the capacity-compute trade-off by activating only $ K=|S_{t,l}| $ experts per token, but when the full expert set exceeds GPU memory, weights must be repeatedly transferred from slow memory at every decode step (source: §1, §2). Each MoE layer maintains a bounded GPU cache $ \mathcal{C}_{t,l}\subseteq \{1,\dots,N\}, |\mathcal{C}_{t,l}|=B $ of capacity $ B $, and $ S_{t,l}\setminus \mathcal{C}_{t,l} $ must be demand-loaded (source: §2). The paper splits this into two time points: post-access retention and pre-access refinement (source: §2, Fig.1).

The State of the Art at Publication

The SOTA landscape the authors draw has three layers (source: §1, §6).

  • Classic replacement: LRU, LFU, LRFU ($ \lambda =0.50 $). Training-free and free of charge, but they cannot learn task- or model-specific reuse (source: §4.1, §6).
  • MoE-specific caching and prefetching: MoE-Infinity’s activation-aware caching, ProMoE’s hidden-state-based lookahead (lookahead 3), FineMoE’s 1 K-entry expert-map search, SpecMD/Least-Stale, and Temporally Extended MoE’s option-set persistence (source: §1, §4.1).
  • Spatio-temporal prefetching: STEP’s adaptive spatio-temporal prefetching, ST-MoE’s profiled correlation + lightweight runtime prediction + reconfigurable hardware. Because results are reported as integrated runtime/hardware pipeline latency, direct comparison with scheduler-independent traffic metrics is impossible, so only qualitative comparison is made (source: §1, §4.1, §6).

Two gaps remain (source: §1). Heuristic and replay policies cannot directly optimize the future usefulness of resident experts. Spatio-temporal prefetchers treat locality as a runtime problem and leave no learned cache priority behind.

Data, Models, and Training Setup (Module B/D View)

The backbones are two open sparse MoE models (source: §4.1). Qwen3-30B-A3B-Instruct-2507 has 48 layers, ~30.50 B total params, ~3.30 B active params, 128 routed experts per layer, and top-8 routing. GPT-OSS-20B has ~21.00 B params, ~3.60 B active params, 24 layers, 32 experts per layer, and top-4 routing.

The benchmarks are GSM8K (7,473 train / 1,319 test), MATH (7,500 train / 5,000 test), and CommonsenseQA (9,741 train / 1,221 validation; the 1,140 hidden-test labels are not public, so validation accuracy is reported) (source: §4.1). There are no separate tokenizer experiments: each backbone’s chat template plus task-specific system instructions, greedy decoding, KV cache usage, a new-token cap of 512 tokens (GSM8K) / 1,024 tokens (MATH) / 64 tokens (CommonsenseQA), and a maximum sequence length of 512 tokens / 2,048 tokens (MATH) are used (source: §4.1). The language-modeling objective is the standard Causal LM $ \mathcal{L}_{LM} $ weighted with the cache loss (source: §3.2-§3.4).

The implementation resources are an 8-accelerator node with 140.00 GB device memory per accelerator (source: §4.1). The main Qwen3 setting uses a learning rate of $1.0\times10^{-5}$, cache size $B=20$ experts, and 4.0 epochs; GPT-OSS uses $5.0\times10^{-6}$, $B=8$ experts, and 4.0 epochs. Fused AdamW, cosine decay, 3.00% warmup, weight decay 0.10, grad-clip 1.00, per-device batch 1, grad-accum 8 steps, bfloat16+TF32+gradient checkpointing, with no LoRA or quantization, are used (source: §4.1). Evaluation is the arithmetic mean over a fixed set of 5 seeds, with fixed-epoch training on the full training split and no validation-based checkpoint selection (source: §4.1).

The New Approach: Cache-Aware Joint Router Adaptation

Unified Framework

Since all router outputs are normalized distributions over the same expert set, they are combined by equal-weight summation with no fusion parameters (source: §3.1). The soft surrogate of hard Top-$B$ membership, with temperature $ \tau $ (Qwen3 $ \tau =0.03 $, GPT-OSS $ \tau =0.05 $), is as follows (source: §3.1, §4.1).

$$ m_{e}(s)=\sigma\left(\frac{s_{e}-\theta_{B}(s)}{\tau}\right), \quad \theta_{B}(s)=\text{$B$-th maximum of $s$} $$$$ \ell_{cache}(s,q)=\sum_{e=1}^{N} q_{e}\,(1-m_{e}(s)) $$

Using the full target distribution $ q $ preserves the uncertainty near the routing boundary and provides dense supervision (source: §3.1). The actual physical cache updates are enforced by Alg.1/Alg.2 (source: §3.1).

Temporal Router: Post-Access Retention

At each layer $ l $, the current hidden state $ h_{t,l} $ predicts the same-layer demand at the next decode step (source: §3.2).

$$ z^{T}_{t,l}=W^{T}_{l}h_{t,l},\quad p^{T}_{t,l}=\mathrm{softmax}(z^{T}_{t,l}), \quad s^{T}_{t,l}=p^{R}_{t,l}+p^{T}_{t,l} $$$$ \ell^{T}_{t,l}=\ell_{cache}(s^{T}_{t,l},p^{R}_{t+1,l}), \quad \mathcal{L}_{T}=\frac{1}{|\Omega_{T}|}\sum \ell^{T}_{t,l}, \quad \mathcal{L}=\mathcal{L}_{LM}+\lambda_{T}\mathcal{L}_{T} $$

At inference, $ \mathcal{C}^{T}_{t,l} $ is used without proactive modification; only $ S_{t,l}=TopK(p^{R}_{t,l}) $ misses are demand-loaded, and the shared operator $ \mathcal{U}_{B} $ builds the next-token cache $ \mathcal{C}^{T}_{t+1,l}=\mathcal{U}_{B}(\mathcal{C}^{T}_{t,l},S_{t,l},s^{T}_{t,l}) $ (source: §3.2, Alg.1). Since the inserted experts are already available after access, the number of proactive transfers is 0 (source: §3.2).

  flowchart LR
  H["h_t,l"] --> NR["Native Router pR_t,l"]
  H --> TR["Temporal Router pT_t,l"]
  NR --> S["sT = pR + pT"]
  S --> U["UB : insert demand-loaded S + evict lowest priority"]
  U --> Cnext["C_T t+1,l"]

Spatio-Temporal Router: Pre-Access Refinement

Exploiting the causal Transformer execution, it uses the output of the predecessor $ \rho(t,l) $, which is already available before the target $(t,l)$ (source: §3.3).

$$ \rho(t,l)=\begin{cases}(t-1,L), & l=1 \\ (t,l-1), & l>1\end{cases}, \quad z^{S}_{t,l}=W^{S}_{l}h_{t,l} $$$$ a^{T}_{t,l}=p^{R}_{t-1,l}+p^{T}_{t-1,l}, \quad s^{ST}_{t,l}=a^{T}_{t,l}+p^{S}_{\rho(t,l)} $$$$ \ell^{ST}_{t,l}=\ell_{cache}(s^{ST}_{t,l},p^{R}_{t,l}), \quad \mathcal{L}=\mathcal{L}_{LM}+\lambda_{ST}\mathcal{L}_{ST} $$

At inference, only the $ TopR(s^{ST}_{t,l}) $ candidates are examined, and a replacement happens only when a non-resident candidate outranks the lowest-priority resident; each insertion is charged as 1 full expert transfer (source: §3.3, Alg.2). $ R $ is not the number of loaded experts but the candidate-count cap, and it can be changed without retraining (source: §3.3). The main setting is $ R=15 $ experts (Qwen3, $B=20$ experts) / $ R=6 $ experts (GPT-OSS, $B=8$ experts), i.e., 75.00% of cache capacity (source: §4.1). Native selection, demand loading, and execution then follow, and the same temporal update closes $ \mathcal{C}^{T}_{t+1,l} $ (source: Alg.2).

Initialization copies $ W^{T}_{l}\leftarrow W^{R}_{l} $ and $ W^{S}_{l}\leftarrow W^{R}_{l+1} $ (with the wrap-around $ W^{S}_{L}\leftarrow W^{R}_{1} $) (source: §4.1). The cache-loss weight $ s_{w} $ collectively denotes $ \lambda_{T} $ / $ \lambda_{ST} $; it is fixed before downstream evaluation and shared across datasets, at $ s_{w}=0.10 $ for Qwen3 and $ s_{w}=0.01 $ for GPT-OSS (source: §4.1).

The training and deployment modes are as follows (source: §3.4). The main run jointly optimizes the backbone plus all auxiliary routers. The LM-only reference has no auxiliary routers, with $ s_{w}=0 $. The full mode trains the temporal and spatial routers together with $ \mathcal{L}_{ST} $ alone, without adding a separate $ \mathcal{L}_{T} $ term. Future and target native distributions are teacher-forced supervision only during training; inference uses only causal hidden states.

How It Works: A Concrete Example

For a graduate-student reader, let us build a toy case with $ N=6 $ experts, $ B=2 $ experts, $ K=1 $ expert, and $ R=2 $ candidates (source: §2-§3, conceptual illustration). At layer $ l $ and token $ t $, suppose the native distribution is $ p^{R}_{t,l}=[0.05,0.05,0.60,0.10,0.10,0.10] $, so the Top-1 selection is $ S_{t,l}=\{3\} $. If the Temporal distribution is $ p^{T}_{t,l}=[0.05,0.50,0.05,0.05,0.30,0.05] $, the retention priority is $ s^{T}_{t,l}=p^{R}+p^{T}=[0.10,0.55,0.65,0.15,0.40,0.15] $. If the cache is $ \mathcal{C}^{T}_{t,l}=\{2,5\} $, then $ 3\notin \mathcal{C} $, so expert 3 is loaded and executed with 1 demand miss ($ D=1 $). Since $ \mathcal{U}_{B} $ must insert $ D=S\setminus \mathcal{C}^{+}=\{3\} $, it evicts the lowest-priority expert outside the protected set $ \mathcal{V}=\mathcal{C}^{+}\setminus S $. The resident scores under $ s^{T} $ are expert 2=0.55 and 5=0.40, so $ v=5 $ is evicted and $ \mathcal{C}^{T}_{t+1,l}=\{2,3\} $ (source: Alg.1). If the next-token target $ p^{R}_{t+1,l} $ places mass on expert 2, it hits. The loss $ \ell^{T}_{t,l} $ weight-sums $ (1-m_{e}(s^{T})) $ with $ q=p^{R}_{t+1,l} $, so rather than a Top-1 hard label, the entire distribution provides dense gradients even near the boundary (source: §3.2).

Now consider pre-access refinement in the full mode under the same setup. With the predecessor output $ p^{S}_{\rho}=[0.10,0.10,0.50,0.05,0.05,0.20] $ and carryover $ a^{T}_{t,l}=[0.10,0.55,0.20,0.15,0.40,0.15] $, we get $ s^{ST}=[0.20,0.65,0.70,0.20,0.45,0.35] $. Inspecting $ TopR=Top2=\{3,2\} $ in descending order, expert 3 is non-resident and 0.70>0.45 (the lowest resident, expert 5 at 0.45), so it is proactively inserted with 1 proactive load ($ P=1 $), giving $ \tilde{\mathcal{C}}^{ST}=\{2,3\} $ (source: Alg.2). The subsequent native selection $ \{3\} $ is already resident, so $ D=0 $. The hard hit rate jumps from 0.00% to 100.00%, but the adjusted hit rate stays at $ (A-D)/(A+P)= (1-0)/(1+1)=50.00 $%. This example captures the paper’s core lesson: proactive insertion erases the demand miss but leaves a cost of $ P $ in both the denominator and the numerator (source: §4.1, §5).

Key terms: $ h_{t,l} $ is the $(t,l)$ hidden state, $ p^{R} $ the native router distribution, $ p^{T} $ / $ p^{S} $ the temporal and spatial auxiliary distributions, $ s $ the cache-priority sum, $ B $ the residency capacity (in experts), $ R $ the refinement candidate budget (in candidates), and $ s_{w} $ the cache-loss weight (source: §2-§4.1).

Performance Validation: Key Results

Core Metrics and Reported Benchmarks

The primary metrics are task accuracy (Exact Match / symbolic-numeric matching, in %), hard hit rate $ Hit $ (%), adjusted hit rate $ AdjHit $ (%), and expert-weight traffic $ Load/token $ (MB/token) (source: §4.1). Shared experts are excluded; only the decode phase is aggregated (prefill excluded); decode is initialized with the prefill cache; the trace-based simulator is synchronized with decode routing; and each demand miss or proactive insertion is charged as 1 full expert transfer (source: §4.1). Since the update-only mode has $ P=0 $, $ AdjHit=Hit $, so AdjHit is omitted (source: §4.1).

The Success Evidence the Authors Emphasize Most

In update-only retention, the Temporal Router outperforms the LM-only classic policies on all 6 backbone-dataset combinations (source: Tab.1, §4.2). On Qwen3, versus the strongest classic hit rate: +10.46 pp (GSM8K, 62.67%→73.13%), +10.70 pp (MATH, 64.30%→75.00%), +33.34 pp (CommonsenseQA, 58.27%→91.61%); Load drops from 1,353.00→974.00 MB/token, 1,294.00→906.00 MB/token, and 1,512.00→304.00 MB/token. On GPT-OSS it also ranks first in update-only mode on all three tasks, with only 2.20 M additional params (source: Tab.1).

In prefetch refinement, the Spatio-Temporal Router is first in adjusted hit rate and lowest in Load on all three Qwen3 tasks (source: §4.2). Versus ProMoE: adjusted hit rate +4.65 pp (69.03% vs 64.38%, GSM8K) / +1.15 pp (MATH) / +18.03 pp (CommonsenseQA), and Load -318.00 MB/token (-17.75%) / -81.00 MB/token (-4.55%) / -1,068.00 MB/token (-53.32%). The 25.20 M additional params are about 26.25% of ProMoE’s 96.00 M params (source: Tab.1). Accuracy remains broadly competitive at 83.40% (GSM8K) / 57.66% (MATH) / 84.11% (CommonsenseQA) (source: Tab.1).

The Secret Weapon: What Breaks When You Remove What

The Qwen3/GSM8K ablations (Tab.2) decompose the mechanism (source: Tab.2, §5).

Removed/replaced/scaledAcc. (%) ΔHit (%) ΔAdjHit (%) ΔLoad (MB/token) ΔMechanism interpretation
Temporal, joint $s_{w}=0.10$ → auxiliary-only85.44% (=0.00 pp)73.13%→63.01% (-10.12 pp)973.86→1,340.71 MB/token (+366.85 MB/token)With the backbone and $W^{R}$ fixed, the executed Top-$K$ trajectory is unchanged, so priority learning alone cannot track the future distribution (source: Tab.2, §5)
Full, joint $s_{w}=0.10$ → auxiliary-only83.40%→85.44% (+2.04 pp recovery)90.62%→67.44% (-23.18 pp)69.03%→62.53% (-6.50 pp)1,474.00→1,747.59 MB/token (+273.59 MB/token)Accuracy is preserved but the cache gains are marginal, proving the value of joint adaptation (source: §5)
Full → Spatio-only (removes $p^{T}$)83.40%→83.24% (-0.16 pp)90.62%→93.04% (+2.42 pp)69.03%→66.94% (-2.09 pp)1,474.00→1,665.51 MB/token (+191.51 MB/token)Pre-coverage improves, but without temporal carryover every replacement is charged as a prefetch, degrading efficiency (source: §5)
Temporal $s_{w}$ 0.10→2.0085.44%→74.60% (-10.84 pp)73.13%→88.44% (+15.31 pp)973.86→418.89 MB/token (-554.97 MB/token)Excessive $s_{w}$ induces routing concentration, raising locality but crashing task quality—a quality-traffic trade-off (source: §5, Fig.2-3)
Full $s_{w}$ 0.10→2.0083.40%→76.50% (-6.90 pp)90.62%→97.41% (+6.79 pp)69.03%→79.67% (+10.64 pp)1,474.00→900.91 MB/token (-573.09 MB/token)After the regime where reduced demand offsets the proactive cost ($s_{w}\ge0.30$), the total shrinks but the accuracy loss grows (source: §5)

Capacity $ B $ and budget $ R $ sensitivity are also decisive (source: Tab.3, §5). For Temporal, going from $ B $ 12→30 experts gives Hit 62.91%→80.00% and Load 1,344.00→725.00 MB/token. With $ B=20 $ experts fixed, raising $ R $ from 8→15→20 candidates increases Hit 81.84%→90.62%→93.49%, but AdjHit falls 74.51%→69.03%→57.93% and Load jumps from 1,015.00→1,474.00→2,461.00 MB/token. $ R=B $ is the over-prefetch point of highest raw hit and worst adjusted efficiency.

The expert-usage concentration analysis supports this (source: Fig.2-3, §5). For Temporal with $s_{w}$ 0.10→2.00, concentration increases: max expert frequency 6.82%→9.40%, top-8 mass 36.76%→48.56%, entropy 3.96→3.51, and the number of effective experts 53.41→34.54. Spatio-Temporal moves in the same direction, but the curves are gentler.

Our Perspective: Strengths, Limitations, and Why This Work Matters

Critical Comparison: Where It Wins and Where It Ties

The strongest superiority evidence is in the Qwen3 prefetch regime (source: §4.2). It ranks first in both adjusted hit and Load, beating FineMoE and ProMoE by a wide margin, especially on CommonsenseQA. Least-Stale (SpecMD) explodes to Load 5,496.00~5,667.00 MB/token, making it unpersuasive under scheduler-independent byte charging (source: Tab.1).

Conversely, on GPT-OSS the results are task-dependent (source: §4.2). First on CommonsenseQA, second on MATH, and on GSM8K it is near the bottom in adjusted efficiency yet highest in accuracy (64.52%). Temporally Extended MoE hits a 100.00% hard hit rate, but with adjusted hit rates of 49.5862.61%, Load of 2,543.004,275.00 MB/token, and accuracy drops (e.g., Qwen3 MATH 51.04%), it ironically confirms the paper’s warning that “a perfect raw hit rate is not evidence of efficiency” (source: Tab.1, §4.2, §5). It is also fairly disclosed that the classic-policy comparison is not over identical routing trajectories but a “full inference configuration” comparison: cache-aware configurations deliberately alter routing behavior, so this is not a same-trace comparison (source: §4.1).

Limitations the Authors Acknowledge

In the Limitations section, the authors acknowledge the following (source: §7 Limitations).

  • It is an algorithmic study, not an end-to-end serving stack; Load/token is simulated decode-phase transfer bytes (MB/token) and does not imply latency or throughput under scheduling, overlap, bandwidth, or batching.
  • Since prefill traffic is excluded and decode is initialized with the prefill cache, this measures decode-phase efficiency rather than request-level efficiency and does not imply end-to-end speedups.
  • The inference-time overhead is small, but post-training the entire backbone is required, and the auxiliary-only ablation cannot separate native-router adaptation from other backbone changes.
  • The main benchmark uses a single cache capacity per backbone, capacity sensitivity is limited to Qwen3/GSM8K, and while Tab.1-2 report the same 5-seed means, Tab.3 is an inference-time $ R $ replay of the same checkpoint.
  • It is limited to academic reasoning benchmarks and pure MoE; broader workloads, memory budgets, pretraining, and hybrid dense-sparse architectures remain unexplored.
  • Cache-aware adaptation concentrates routing, raising locality but potentially hurting expert-parallel load balance.
  • Baselines have different original task definitions and system assumptions, so they are reproduced under unified cache settings and aligned proactive-load charging; relative rankings may change under other memory hierarchies or runtime policies.

Our Assessment of Potential Limitations

First, the generalization gap is large: long context, code, multilingual, and mixed batching, $ B $ extremes of memory budgets, and application at the pretraining stage are not validated (source: §7). Second, on cost and reproducibility: the one-time cost of full-backbone 4.0-epoch post-training is far heavier than adding 25.20 M inference-time params, and per the checklist, the release of code, commits, licenses, seeds, and hardware drivers is not specified in the paper (source: §4.1, §7). Third, the concentration-load-imbalance risk is not quantified: there are no load-balancing or latency experiments that distinguish whether the reduced effective-expert count is a cache-locality indicator or a precursor to collapse (source: Fig.3, §7). Fourth, there is no discussion of societal impact, leaving second-order effects unaddressed, such as the possibility that math and commonsense reasoning biases are amplified by a cache-friendly distribution.

Still, why this work matters is clear. It moves the MoE serving debate from “a smarter runtime” to “a more cache-friendly model,” and it establishes a measurement norm that corrects prefetch hype through byte charging and adjusted hit rate rather than raw hit rate (source: §4-§6).

What’s Next? The Road Ahead

The follow-up tasks the authors themselves propose are broader workloads, memory budgets, pretraining settings, and hybrid-architecture extensions (source: §7). In light of the limitations, we propose four reasonable next steps.

  1. End-to-end validation: mount the same byte trajectory onto a real offloading scheduler with overlap, batch size ($bs$), and $tp$/$pp$ configurations; report TTFT (ms), TPOT (ms/token), tokens/s, and peak VRAM (GB), and separate KV-cache (GB) from interference using the standard approximation below (source: §7).
$$ \text{KV-Cache(GB)}\approx \frac{2\cdot L\cdot H\cdot d_{head}\cdot \text{seq}\cdot \text{batch}\cdot \text{bytes/elt}}{10^{9}} $$
  1. Separated attribution: with a factorial design of $W^{R}$ frozen + backbone frozen, only $W^{R}$ trained, and only auxiliary routers trained, separate the source of the cache gains, and also measure expert-parallel imbalance (max/mean load ratio) (source: §5, §7).
  2. Adaptive budget: instead of a fixed $ R $, use a dynamic $ R $ based on token difficulty or entropy, and $B$-conditional $ \tau $ / $s_{w}$ schedules, to extend the quality-traffic Pareto frontier (source: Tab.3, §5).
  3. Pretraining and hybrid architectures: validate the transfer when the cache-aware objective is embedded in pretraining, using hybrid dense-sparse models and code or long-context corpora (source: §7).

Reproduction checklist (common): The paper does not list links, commits, or licenses for the code (source: §4.1). The data uses the official splits of GSM8K/MATH/CommonsenseQA, but no snapshot, filtering, or license rules are separately specified (source: §4.1). Hyperparameters, seeds, and schedules specify the learning rate, $B$, $R$, $ \tau $, $s_{w}$, and the fixed 5-seed mean, but not the seed values, optimizer state, or driver versions (source: §4.1). Hardware lists 8 accelerators × 140.00 GB but omits the GPU model, CUDA, and library versions (source: §4.1). Evaluation specifies greedy decoding, token caps, and chat templates, but the exact prompts are given only at the level of task-specific system instructions, without an appendix (source: §4.1).

Tables from the paper

Tables converted mechanically from the arXiv e-print LaTeX source. The numbers are the paper’s own and did not pass through a model.

Table 1. Main results on Qwen3 and GPT-OSS. LRU, LFU, and LRFU use matched LM-only post-trained backbones (\(sw=0\)). Decision Availability is the earliest point at which all inputs to the cache decision are ready and, for prefetching, loading can begin; Prev. token offers more potential overlap than Prev. layer, while Curr. layer has no cross-layer lookahead. For our full mode, causal order includes the wrap-around from layer \(L\) of token \(t-1\) to layer 1 of token \(t\). Added Params. counts only new inference-time model parameters; external stores are excluded. Acc., Hit, and Adj. Hit are percentages; Load is MB per decode token. Values are five-seed means. Bold and underline mark the best and second-best results within each category, backbone, task, and metric.

MethodDecision AvailabilityModelAdded Params.GSM8K Acc.GSM8K HitGSM8K Adj. HitGSM8K LoadMATH Acc.MATH HitMATH Adj. HitMATH LoadCommonsenseQA Acc.CommonsenseQA HitCommonsenseQA Adj. HitCommonsenseQA Load
Cache-Update Methods
MoE / LRUPrev. tokenQwen385.4461.19140758.2264.30129487.3956.441579
GPT-OSS61.8765.58164543.7467.15156984.6865.101668
MoE / LFUPrev. tokenQwen385.4459.99145058.2263.00134187.3958.271512
GPT-OSS61.8768.63146043.7465.37165484.6869.291467
MoE / LRFUPrev. tokenQwen385.4462.67135358.2264.29129487.3957.891526
GPT-OSS61.8769.55143543.7468.66149784.6868.341513
Temporal RouterPrev. tokenQwen312.6M85.4473.1397457.8275.0090686.1691.61304
GPT-OSS2.2M63.9972.84129743.7471.84134585.8371.541360
Prefetching Methods
Least-Stale (SpecMD)Prev. tokenQwen385.4468.5231.12549658.2270.0231.55550587.3967.5630.175667
GPT-OSS61.8770.0735.59605843.7472.2937.03587384.6871.5136.915839
ProMoEPrev. layerQwen396.0M85.4489.3864.38179258.2288.0964.21177987.3985.3860.712003
GPT-OSS48.0M61.8793.5467.94210943.7491.1668.19203284.6892.9567.782111
FineMoEPrev. layerQwen385.4476.6754.84228858.2271.4551.41244787.3974.0851.402538
GPT-OSS61.8785.6365.02220143.7471.9650.40338484.6875.4953.083188
Temporally- Extended MoECurr. layerQwen352.0M81.50100.0052.34329951.04100.0049.58368584.36100.0058.772543
GPT-OSS23.0M60.27100.0052.78427543.22100.0057.40354664.29100.0062.612853
Spatio-Temporal RouterPrev. layerQwen325.2M83.4090.6269.03147457.6688.4065.36169884.1195.5678.74935
GPT-OSS4.4M64.5285.6858.81295142.4689.1263.53262584.6090.2671.301736

Table 2. Ablations on Qwen3/GSM8K. MoE/LRU is the LM-only reference (\(sw=0\)); auxiliary-only freezes the backbone. Temporal-only is the standard Temporal Router, whereas Spatio-only removes Temporal Router and performs only pre-access refinement. Rows denoted only by \(sw\) jointly update the backbone and auxiliary routers. Metrics are percentages except Load (MB/token); parentheses give changes from MoE/LRU. Values are five-seed means. Red marks higher hit or lower traffic; blue marks lower accuracy or higher traffic.

Temporal Router SettingTemporal Router Acc.Temporal Router HitTemporal Router LoadSpatio-Temporal Router SettingSpatio-Temporal Router Acc.Spatio-Temporal Router HitSpatio-Temporal Router Adj. HitSpatio-Temporal Router Load
MoE / LRU85.4461.191406.50MoE / LRU85.4461.191406.50
\(sw=0.1\) auxiliary only85.440.0063.011.821340.7165.79\(sw=0.1\) auxiliary only85.440.0067.446.2562.531.341747.59341.09
\(sw=0.1\) temporal only85.440.0073.1311.94973.86432.64\(sw=0.1\) spatio only83.242.2093.0431.8566.945.751665.51259.01
\(sw=0.1\)85.440.0073.1311.94973.86432.64\(sw=0.1\)83.402.0490.6229.4369.037.841474.0067.50
\(sw=0.3\)84.990.4579.0217.83760.30646.20\(sw=0.3\)83.471.9793.6732.4873.4212.231229.04177.46
\(sw=0.5\)82.562.8881.9820.79653.07753.43\(sw=0.5\)81.803.6495.0133.8275.6614.471107.47299.03
\(sw=1.0\)79.156.2985.3124.12532.33874.17\(sw=1.0\)81.354.0996.3435.1578.0016.81985.16421.34
\(sw=2.0\)74.6010.8488.4427.25418.89987.61\(sw=2.0\)76.508.9497.4136.2279.6718.48900.91505.59

Table 3. Sensitivity to cache capacity \(B\) and refinement candidate budget \(R\) (replace_lowest) on Qwen3/GSM8K; the main setting is \(B=20, R=15\). Each Spatio-Temporal cell lists \(R\) above Hit/Adj. Hit/Load. For each fixed \(B\), all \(R\) values replay the same checkpoint and share accuracy; Temporal Router has no \(R\). Metrics are percentages except Load (MB/token).

\(B\)Temporal Router Acc.Temporal Router HitTemporal Router LoadSpatio-Temporal Router Acc.Spatio-Temporal Router Low \(R\) Hit / Adj. / LoadSpatio-Temporal Router Mid \(R\) Hit / Adj. / LoadSpatio-Temporal Router Full \(R=B\) Hit / Adj. / Load
1284.4662.91134485.44\(R=4\) 66.53 / 63.56 / 1382\(R=8\) 73.92 / 65.12 / 1435\(R=12\) 80.79 / 60.63 / 1901
2085.4473.1397483.40\(R=8\) 81.84 / 74.51 / 1015\(R=15\) 90.62 / 69.03 / 1474\(R=20\) 93.49 / 57.93 / 2461
3085.3780.0072583.85\(R=8\) 86.14 / 80.40 / 761\(R=20\) 95.11 / 71.14 / 1398\(R=30\) 97.23 / 53.39 / 3077

License

Author: Jaehun Ryu

Link: https://jaehun.me/en/posts/cache-aware-joint-router-adaptation-for-memory-efficient-moe-inference/

License: CC BY 4.0

This work is licensed under the Creative Commons Attribution 4.0 International License. You are free to use it for any purpose, including commercial use, as long as you provide proper attribution.

Comments