Abstract: MLPs impose substantial inference cost in Transformers by applying a full, high-capacity transformation to every token. Deployed workloads revisit recurring regions of the MLP input space, which creates an opportunity for compute reuse beyond exact-match caching. We introduce MLP Cache, a post-hoc cache that stores compact local predictors of a
[…]
Content was trimmed to protect the source. Please visit the original article for the full text.
Read the original article:
MLP Cache: A Post-Hoc Memory-Compute Trade-off for Transformer Inference
