acceptodds
Published as a conference paper at NeurIPS 2026

MiniPIC: Flexible Position-Independent Caching in <100LOC

Nathan Ordonez, Thomas Parnell

Abstract

Retrieval-augmented and agentic workloads repeatedly prefill recurring predictable structured inputs (which we call 'spans') such as documents and code files. Yet, prefix caching in engines such as vLLM cannot reuse their KV entries unless they share identical prefixes with another request, while Position-Independent Caching (PIC) implementations within production-grade inference servers typically either require substantial server code changes or keep KV state outside the server, incurring host-to-device transfer overhead. We present Minimalistic PIC (MiniPIC): a minimal, flexible and fast vLLM design built from two ingredients: positional-encoding-free KV cache and user-controlled cache-reuse primitives. MiniPIC stores unrotated K vectors in the KV cache, applies RoPE to K tiles inside attention using per-request logical positions, and exposes three user-facing and token-level primitives: block-aligned padding, , and , that modify hashing behavior and effective block-level causal attention structure. With fewer than 100 lines of core-engine changes plus a custom attention backend, these primitives are sufficient to realize multiple PIC methods, including Block-Attention, EPIC, and Prompt Cache, within the same running vLLM instance, while natively integrating with KV cache CPU offload implementations. On 2WikiMultihopQA, MiniPIC with interleaved scheduling improves prefill throughput by 49% over baseline vLLM, reduces cached-span time-to-first-token by up to two orders of magnitude, preserves the linear prefill scaling of uncached spans, and incurs only 5.7% worst-case overhead.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 49%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.33 over 3 reviews, above 49% of the others.
Reviewer_dgxUOpenReview ↗
Rating
5
Clarity
4
Confidence
3
Originality
3
Quality
4
Significance
3
Read review
Summary

KV Caches encode a history of KV pairs, however, they do so in a positional encoding. Due to the positional encoding, reuse of elements in the KV cache is limited strictly to common prefixes. Position-Independent Cacheing aims to allow higher amounts of reuse in the KV cache. They break the prompt sequence / context up in spans where spans (subsets of tokens) can be independently cached, and reused among prompts. This is particularly promising in the case of RAG, where a span may correspond to a document. Several PIC methods have been proposed, however, they have fairly high complexity and require intrusive changes in the LLM inference server. MiniPIC defines a PIC approach with small code changes in the server (<100 lines) and a custom attention backend. Experimental evaluation demonstrates that MiniPIC achieves a speedup over state-of-the-art approaches.

Strengths and weaknesses

The contribution is clearly explained at an appropriate level of detail. To the best of my knowledge, it is technically sound.

Designing a solution that is simple and effective is important. Moreover, the simplification reduces computation which contributes to speedup. This should be meaningful to the community.

Some minor points: The theoretical analysis of throughput adds a term "barrier idle time", as if it is a part of the computation. This mixture between an equation of computational complexity and an informally defined idle time lacks rigour. Moreover, the idle time isn't fully idle time but a period of poor GPU utilisation.

Section 3.1.1 contains a broken link to a figure.

The authors mention a few times that max_num_seqs should be set such that the ordering is guaranteed correct, however, it is not explained what that value should be.

Questions

Q1. The experimental evaluation does not assess the effectiveness of caching, i.e., is MiniPIC as effective in using the KV cache space as other approaches? What is the cache hit rate? What fraction of cached spans is reused before eviction?

Q2. The authors assume a fixed span-attention mask. What modifications would be required to support varivable span-attention masks?

Q3. How would you set max_num_seqs such that correct ordering in the scheduler is guaranteed?

Limitations

yes

Paper formatting concerns

N/A

Final justification

Useful additional discussion; score retained.

Reviewer_W2oQOpenReview ↗
Rating
5
Clarity
3
Confidence
4
Originality
4
Quality
3
Significance
4
Read review
Summary

The paper proposes a modular position-independent caching algorithm that LLMs can easily integrate and that spans can easily use. The approach is solid, and the algorithm is sound. The work needs some key clarifications and can benefit from an improved presentation and evaluation.

Strengths and weaknesses

Thank you for submitting to NeurIPS26. I think your work is great, yet it needs clarification in a few key points.

Strengths:

S1. Great problem.

S2. Great solution.

Weaknesses:

W1. The proposed method needs clarification.

a. Section 3.1.2: I am not sure about pushing the complexity to the user (Line 168, 169). This is one of my main criticisms of the (great) work. Where are the implementations of padding, ssep, and pdep? Does the user have to implement them? I am a bit confused on that. Is there an extra complexity that your system does not handle, and is this partly the reason that you can go below 100 LOC? This is critical.

W2. Related work comparison can get deeper.

a. Section 2.3: CIDRA’s cost seems very high. How does it pay off its own cost then? I suspect it’s when under high concurrency.

b. Section 3, intro: How is your PE-free KV cache implementation different than vanilla RoPE implementation? Have you saved anything in terms of LOC within that?

c. My second biggest comment is that SPNL, despite all its overhead, should be better or equivalent to your method under the condition that works best for SPNL. You have a great solution to the modularity problem. Yet, when a system is vertically integrated specifically for a workload, it is often higher performing than the modular solution. It is a trade-off. This trade-off is not quantified right now. Where do you lose? What is the cost of having the modularity you have? In the limitations, you touch on this issue (“under high concurrency”), which is great, but one experiment quantifying this trade-off would be great. Perhaps, you keep pace with SPNL despite the high concurrency, at least to some degree? Or, you lose against SPNL under high concurrency, which is also fine, because your implementation is cheaper. You win big on the LOC metric. This quantification wouldn’t reduce the quality of your work; it would increase it. There is no free lunch.

W3. Further clarifications:

a. Section 3.1.1: Figure ?? missing the figure number.

b. Section 3.2.1, line 181, 182: I think it would be valuable to show the algebraic equivalence mathematically.

c. Figure 1 is not referred to in the text. Please simply put (Figure 1) in the related part, so we can go and look while reading.

d. Paragraph starting at Line 296: Can we quantify the LOC for SPNL? It would be useful to estimate your achievement.

Questions

Q1. Where are the implementations of padding, ssep, and pdep? Does the user have to implement them? Is there an extra complexity that your system does not handle and pushes the complexity to the user, and is this partly the reason that you can go below 100 LOC?

Q2. Is there any scenario in which SPNL outperforms your method? If so, what is this scenario, and why does SPNL outperform your method?

Limitations

Yes.

Paper formatting concerns

N/A.

Final justification

I thank the authors for their responses. My comments are well addressed. I raised my score accordingly.

I ask the authors to please include the experiments we worked on in their last response, the clarifications around the behavior/placement distinction, CIDRA’s high cost, the LOC results from my W3d, and other minor fixes in my W3.

Reviewer_vUpYOpenReview ↗
Rating
3
Clarity
3
Confidence
2
Originality
2
Quality
2
Significance
2
Read review
Summary

Authors propose a simple modification (<100 LOC) to enable Position-Independent Caching with an existing inference engine (vllm) based on asking the user to pad spans to KV-block boundaries, and the introduction of two new tokens (span separator, prompt depend).

Strengths and weaknesses

Strengths

  • The approach is significantly simpler to implement than prior work but offloads responsibility to the user.

Weaknesses

  • There is no mechanism to ensure that the user follows the correct padding strategy, nor do any of the existing harnesses used by users have any support to dynamically introduce padding tokens based on opaque inference engine hyperparameters (block size).
  • One of the claimed contributions "MiniPIC removes the root cause by storing unrotated K vectors and applying RoPE inside attention using per-request logical positions" is not novel and already part of the MEPIC paper cited at various points in MiniPIC paper.
Questions
  • MiniPIC utilizes applies RoPE to KV vectors within the attention kernel, seemingly similar to MEPIC. However you do not cite MEPIC in Section 3.2.1 describing your approach. Please help me and readers understand how the two approaches differ (if they differ) and add citation.
  • It is unclear if the padding tokens you ask the user to append / introduce will be fully masked by the serving engine
Limitations
  • Authors do not consider the real world implication of asking all serving engine users to take up responsibility to pad their inputs to align with the block boundaries.
Paper formatting concerns
  • "Figure ??" in L159
Final justification

Authors have clarified that their paper referred to a "programmatic layer above the inference server" when talking about "user", providing a clearer path to programmatically address the stringent requirements on inputs that their work introduces. This is indeed a conceivable path forward. llm-d makes the proposed division of labor plausible, but we lack an implementation and mechanism to prevent incorrect MiniPIC inputs.

I am thus raising my score from reject to weak reject.

Comments on the paper

1 comment
Meta-review

The reviewers generally agree that the paper addresses an important systems problem and presents a technically plausible, unusually simple implementation of position-independent caching. The minimal integration with vLLM, avoidance of KV repositioning, and encouraging performance results are meaningful strengths. However, several issues require clarification before the paper can be strongly considered for acceptance.

Please prioritize the following points in the rebuttal:

  1. Clarify the novelty relative to MEPIC. MEPIC also stores position-free keys and applies RoPE inside attention. Please clearly distinguish the technical contributions of MiniPIC, including which components are shared with prior work and which aspects—such as the user-controlled primitives, integration model, implementation footprint, or scheduling—are genuinely new.
  2. Explain the user-facing contract and its practical correctness. Please specify who implements padding, SSEP, and PDEP, how these operations interact with tokenizer and block-size details, whether padding tokens are fully masked, and how incorrect placement is detected or prevented. This is important for determining whether the small server-side implementation reflects genuine simplification or primarily moves complexity outside the engine.
  3. Clarify the operating regimes and trade-offs against SPNL and related systems. In particular, is there a concurrency or cache-pressure regime where SPNL performs better because it provides stronger residency or dependency guarantees? A focused analysis using existing measurements, or limited additional evidence if readily available, would be useful.
  4. Explain cache effectiveness and scheduling correctness. Please report or discuss cache-hit/reuse behavior, eviction risks, and how max_num_seqs should be selected to ensure that span-prefill requests complete before dependent requests are scheduled.

Broad evaluations across many additional models or datasets are not essential for the rebuttal. The most important issue is whether the authors can convincingly establish that MiniPIC provides a novel and practically usable systems abstraction rather than merely relocating implementation complexity. A satisfactory response to these questions would be an important consideration in favor of acceptance.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.