Pith. sign in

REVIEW 3 cited by

Prompt Cache: Modular Attention Reuse for Low-Latency Inference

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2311.04934 v2 pith:XZSBIJGQ submitted 2023-11-07 cs.CL cs.AI

classification cs.CLcs.AI
keywords promptcacheinferenceattentionpromptssegmentsreusestates
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

We present Prompt Cache, an approach for accelerating inference for large language models (LLM) by reusing attention states across different LLM prompts. Many input prompts have overlapping text segments, such as system messages, prompt templates, and documents provided for context. Our key insight is that by precomputing and storing the attention states of these frequently occurring text segments on the inference server, we can efficiently reuse them when these segments appear in user prompts. Prompt Cache employs a schema to explicitly define such reusable text segments, called prompt modules. The schema ensures positional accuracy during attention state reuse and provides users with an interface to access cached states in their prompt. Using a prototype implementation, we evaluate Prompt Cache across several LLMs. We show that Prompt Cache significantly reduce latency in time-to-first-token, especially for longer prompts such as document-based question answering and recommendations. The improvements range from 8x for GPU-based inference to 60x for CPU-based inference, all while maintaining output accuracy and without the need for model parameter modifications.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. OpenAlex reports about 12 citations worldwide. Full citation record

  1. Pixels for Programs? A Cross-Provider Case Study of Input-Token Accounting for Source Code as Text and Images

    cs.SE 2026-07 conditional novelty 7.0 of 10

    Across 675 paired API calls, image input-token reductions are 86.5% (Anthropic), 80.6% (OpenAI), and 75.8% (Gemini) under token-volume weighting, with Gemini images costing far more than text below 200 lines.

  2. Smarter and Cheaper at Once: Byte-Exact KV-Cache Grafting Turns a Frozen Small Model into a Verified-Knowledge Flywheel

    cs.CL 2026-07 conditional novelty 6.0 of 10

    Verified solutions can be stored as byte-exact KV-cache blocks and grafted into a frozen LLM, yielding an AIME 2025 gain (80.0% to 93.3%) and a 6,574x cut in decode tokens on recurring problems.

  3. Visko Orbis 1.0: A Live Model for Real-Time Interactive Long Video Generation

    cs.CV 2026-07 conditional novelty 5.0 of 10

    A chunk-wise streaming video model with bounded multi-scale memory and streaming 4K upscaling reports real-time interactive long-form generation and top Arena preference/stability scores.

Pith tools