mlsanityData to 14 Oct 2026

LLMCache: Layer-Wise Caching Strategies for Accelerated Reuse in Transformer Inference

arXiv 2512.16843 ↗First posted 18 Dec 2025cs.CL cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Transformer-based language models have achieved remarkable performance across a wide range of tasks, yet their high inference latency poses a significant challenge for real-timeand large-scale deployment. While existing caching mechanisms,such as token-level key-value caches, offer speedups in autore-gressive decoding, they are limited in scope and applicability. In this paper, we present LLMCache, a novel layer-wise caching framework that accelerates transformer inference by reusing intermediate activations based on semantic similarity of input sequences. Unlike prior work, LLMCache is model-agnostic,operates across both encoder and decoder architectures, and supports caching at arbitrary transformer layers. We introduce a lightweight fingerprinting mechanism for matching seman-tically similar inputs and propose adaptive eviction strategies to manage cache staleness. Experiments on BERT and GPT-2 across SQuAD, WikiText-103, and OpenBookQA show up to 3.1 X speedup in inference time with <0.5% accuracy degradation. Our results highlight LLMCache as a practical and general-purpose solution for optimizing transformer inference in real-world applications

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 21 of its 24 references that are in the map. First posted on arXiv 18 Dec 2025.

Builds on

21 of 24 references.

References · 21

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  5. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  6. 2020Longformer: The Long-Document Transformercited by 3,413
  7. 2016Pointer Sentinel Mixture Modelscited by 3,096
  8. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  9. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
  10. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  11. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
  12. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
9 more
  1. 2021Improving language models by retrieving from trillions of tokenscited by 1,293
  2. 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,190
  3. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
  4. 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 407
  5. 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 393
  6. 2019Q8BERT: Quantized 8Bit BERTcited by 300
  7. 2017Right for the Right Reasons: Training Differentiable Models by Constraining their Explanationscited by 294
  8. 2021Block Pruning For Faster Transformerscited by 177
  9. 2019CEDR: Contextualized Embeddings for Document Rankingcited by 77

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024MLKV: Multi-Layer Key-Value Heads for Memory Efficient Transformer Decoding
  2. 2025Compress, Gather, and Recompute: REFORMing Long-Context Processing in Transformers
  3. 2026LEAP: Layer-wise Exit-Aware Pretraining for Efficient Transformer Inference
  4. 2025Pimba: A Processing-in-Memory Acceleration for Post-Transformer Large Language Model Serving
  5. 2022Efficiently Scaling Transformer Inference
  6. 2025End-to-End Transformer Acceleration Through Processing-in-Memory Architectures
  7. 2024Layer-Condensed KV Cache for Efficient Inference of Large Language Models
  8. 2026The Residual Stream Is All You Need: On the Redundancy of the KV Cache in Transformer Inference