MLP Cache trades memory for faster Transformer decoding without retraining
A new arXiv paper describes a post-hoc cache that stores compact local predictors of a frozen MLP, replacing a share of MLP calls during inference and speeding up batch-one decoding on tested hardware.
In plain words
In Transformer language models, the MLP layers are a major cost because every token passes through a large computation. The paper's method caches small predictors that imitate parts of a frozen MLP, so some calls can be skipped. The authors report faster decoding, with accuracy changes that grow as the cache grows.
What was announced
The authors frame the core problem as allocating limited memory between region scale and predictor capacity: broader regions cover more inputs but may need larger predictors, while finer regions are easier to approximate but need more entries. Their system builds a coarse-to-fine hierarchy using shared graph-spectral coordinates, whose signs define candidate regions and whose continuous values feed region-specific predictors, with tree dynamic programming selecting region-predictor pairs under memory and approximation-error budgets.
On a frozen Qwen3.5-9B, the cache replaces 24-28% of MLP calls in the cached layers on MME-Coarse and MMStar-Coarse. At batch one on an Apple M5 Pro, a 1.2 GiB cache makes decoding 1.20x faster with a 0.56-point change in MME-Coarse accuracy, while an 8 GiB cache reaches 1.38x at a cost of about 3 points; the larger cache stays faster up to batch 8. On an A100, batch-one decoding is 1.09-1.15x faster against a baseline using one CUDA graph per decode step. The authors note a cached layer only saves time when its hit rate times per-hit savings exceeds routing and lookup costs, and a controlled single-MLP benchmark shows gains growing with MLP size.
What it does not show
- The source is the paper abstract only; full experimental setup, baselines beyond those named, and peer review status are not visible in the excerpt.
- Reported speedups and accuracy changes are the authors' own measurements on specific hardware (Apple M5 Pro, A100) and workloads (MME-Coarse, MMStar-Coarse); no independent confirmation is provided.
- The accuracy changes are described as costs or changes in points, not established as quality-neutral, and results at larger batch sizes beyond batch 8 are not stated.
For security and IT teams
- Scope
- Reported decoding gains are largest at batch one and, with the larger cache, persist up to batch 8, per the paper's abstract.
Sources
Source-support review completed 3 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 3 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.