Papers › InferScale: GPU-Native KV Injection for Personalized LLM Serving

InferScale: GPU-Native KV Injection for Personalized LLM Serving

29 Jul 2026arXiv:2607.27090added by Syntology

Peter Li, Prashant Pandey

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Large language models are increasingly deployed with persistent personalized context, such as accumulated memory profiles or long conversation histories, that is shared across a user's many requests. Production memory systems (e.g., Mem0, MemGPT, and Zep) retrieve a relevant subset of this memory and inject it into the prompt, forcing the serving engine to repeatedly prefill the same content. As the retrieval budget grows, time-to-first-token (TTFT) increases even though the underlying memory is reused across requests. We present InferScale, a GPU-native LLM memory system that replaces repeated prompt prefilling with reusable KV state. InferScale precomputes each memory fact's KV representation, stores it alongside a semantic embedding on the GPU, retrieves relevant facts at serving time, and injects their KV directly into vLLM's paged cache. To support dynamically assembled memories under rotary position embeddings, we introduce Chunked RoPE, which stores keys before rotation and applies their serving-time positions during injection. However, encoding memory facts independently omits the cross-fact context available during joint prefilling. We mitigate this with Context-Window Encoding, which encodes each memory fact together with a small window of preceding conversation context while caching only the target fact's KV. InferScale is implemented through vLLM's KV-connector interface, requiring neither engine modifications nor model fine-tuning. Across three open-weight models on LoCoMo, InferScale keeps TTFT nearly constant as the retrieval budget increases: at k=50 it reduces TTFT by 72-79% (3.6-4.8x), achieves 60.3% accuracy versus 63.3% for Mem0 without serving-time recomputation, and delivers 3.7-4.5x the throughput under concurrent load. Reusable KV state thus decouples memory-conditioned serving latency from retrieved-context size while preserving application quality.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2607.27090")

Code

Syntology Ran 11 of 12 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 11 ran with no contract checked.

By repository: found in paper text by Syntology: 12 samples from 1 repository, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

saltsystemslab/InferScale found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 11 ran; 0 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

11ran
1unverified

Licence: 0 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from saltsystemslab/InferScale. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

accuracy_bin_rows saltsystemslab/InferScale/src/locomo_jasper_bench/reporting.py found in paper text by Syntology ran BSD-3-Clause (permissive) · f3688e5455c3a061 · report
endpoint_cache_key saltsystemslab/InferScale/src/locomo_jasper_bench/cache_identity.py found in paper text by Syntology ran fingerprinted BSD-3-Clause (permissive) · 52a6ae0438d646f5 · report
format_turn_for_memory saltsystemslab/InferScale/src/locomo_jasper_bench/data.py found in paper text by Syntology ran BSD-3-Clause (permissive) · e07c69e1601db940 · report
is_truthy saltsystemslab/InferScale/src/locomo_jasper_bench/config.py found in paper text by Syntology ran BSD-3-Clause (permissive) · c55617d5715b8398 · report
load_locomo saltsystemslab/InferScale/src/locomo_jasper_bench/data.py found in paper text by Syntology ran BSD-3-Clause (permissive) · 3753d67ba1fd6807 · report
normalize_endpoint saltsystemslab/InferScale/src/locomo_jasper_bench/cache_identity.py found in paper text by Syntology ran fingerprinted BSD-3-Clause (permissive) · cfbd3f0ddbce6cd4 · report
parse_judge_response saltsystemslab/InferScale/src/locomo_jasper_bench/prompts.py found in paper text by Syntology ran fingerprinted BSD-3-Clause (permissive) · 105063bf62e8942c · report
query_metric_rows saltsystemslab/InferScale/src/locomo_jasper_bench/reporting.py found in paper text by Syntology ran BSD-3-Clause (permissive) · 6e4f8af094b64a7f · report
resolve_answer_model saltsystemslab/InferScale/src/locomo_jasper_bench/config.py found in paper text by Syntology ran fingerprinted BSD-3-Clause (permissive) · 78b15ebf62a1eb55 · report
resolve_reasoning_parser saltsystemslab/InferScale/src/locomo_jasper_bench/config.py found in paper text by Syntology ran fingerprinted BSD-3-Clause (permissive) · 3c429f4751080ea8 · report
safe_path_part saltsystemslab/InferScale/src/locomo_jasper_bench/cache_identity.py found in paper text by Syntology ran fingerprinted BSD-3-Clause (permissive) · 5cec27329fea1a23 · report
read_sample_setup_report saltsystemslab/InferScale/src/locomo_jasper_bench/reporting.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · 2e8aac33f79616af · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2607.27090, was issued in July 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections