{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2607-27090","title":"InferScale: GPU-Native KV Injection for Personalized LLM Serving","arxiv_id":"2607.27090","date":"2026-07-29","proceeding":null,"authors":["Peter Li","Prashant Pandey"],"abstract":"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.","url_abs":"https://arxiv.org/abs/2607.27090","url_pdf":"https://arxiv.org/pdf/2607.27090","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2607.27090","atlas_url":"https://app.syntology.ai/?focus=2607.27090","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2607.27090"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/saltsystemslab/InferScale","reach":null}],"summary":{"ran":11,"unverified":1},"by_repo_kind":{"found_in_text":{"samples":12,"ran":11,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"f3688e5455c3a061","entry":"accuracy_bin_rows","repo":"saltsystemslab/InferScale","repo_kind":"found_in_text","path":"src/locomo_jasper_bench/reporting.py","file_url":"https://github.com/saltsystemslab/InferScale/blob/HEAD/src/locomo_jasper_bench/reporting.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"f3688e5455c3a061"}},{"code_sha256_prefix":"52a6ae0438d646f5","entry":"endpoint_cache_key","repo":"saltsystemslab/InferScale","repo_kind":"found_in_text","path":"src/locomo_jasper_bench/cache_identity.py","file_url":"https://github.com/saltsystemslab/InferScale/blob/HEAD/src/locomo_jasper_bench/cache_identity.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"52a6ae0438d646f5"}},{"code_sha256_prefix":"e07c69e1601db940","entry":"format_turn_for_memory","repo":"saltsystemslab/InferScale","repo_kind":"found_in_text","path":"src/locomo_jasper_bench/data.py","file_url":"https://github.com/saltsystemslab/InferScale/blob/HEAD/src/locomo_jasper_bench/data.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"e07c69e1601db940"}},{"code_sha256_prefix":"c55617d5715b8398","entry":"is_truthy","repo":"saltsystemslab/InferScale","repo_kind":"found_in_text","path":"src/locomo_jasper_bench/config.py","file_url":"https://github.com/saltsystemslab/InferScale/blob/HEAD/src/locomo_jasper_bench/config.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"c55617d5715b8398"}},{"code_sha256_prefix":"3753d67ba1fd6807","entry":"load_locomo","repo":"saltsystemslab/InferScale","repo_kind":"found_in_text","path":"src/locomo_jasper_bench/data.py","file_url":"https://github.com/saltsystemslab/InferScale/blob/HEAD/src/locomo_jasper_bench/data.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"3753d67ba1fd6807"}},{"code_sha256_prefix":"cfbd3f0ddbce6cd4","entry":"normalize_endpoint","repo":"saltsystemslab/InferScale","repo_kind":"found_in_text","path":"src/locomo_jasper_bench/cache_identity.py","file_url":"https://github.com/saltsystemslab/InferScale/blob/HEAD/src/locomo_jasper_bench/cache_identity.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"cfbd3f0ddbce6cd4"}},{"code_sha256_prefix":"105063bf62e8942c","entry":"parse_judge_response","repo":"saltsystemslab/InferScale","repo_kind":"found_in_text","path":"src/locomo_jasper_bench/prompts.py","file_url":"https://github.com/saltsystemslab/InferScale/blob/HEAD/src/locomo_jasper_bench/prompts.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"105063bf62e8942c"}},{"code_sha256_prefix":"6e4f8af094b64a7f","entry":"query_metric_rows","repo":"saltsystemslab/InferScale","repo_kind":"found_in_text","path":"src/locomo_jasper_bench/reporting.py","file_url":"https://github.com/saltsystemslab/InferScale/blob/HEAD/src/locomo_jasper_bench/reporting.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"6e4f8af094b64a7f"}},{"code_sha256_prefix":"78b15ebf62a1eb55","entry":"resolve_answer_model","repo":"saltsystemslab/InferScale","repo_kind":"found_in_text","path":"src/locomo_jasper_bench/config.py","file_url":"https://github.com/saltsystemslab/InferScale/blob/HEAD/src/locomo_jasper_bench/config.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"78b15ebf62a1eb55"}},{"code_sha256_prefix":"3c429f4751080ea8","entry":"resolve_reasoning_parser","repo":"saltsystemslab/InferScale","repo_kind":"found_in_text","path":"src/locomo_jasper_bench/config.py","file_url":"https://github.com/saltsystemslab/InferScale/blob/HEAD/src/locomo_jasper_bench/config.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"3c429f4751080ea8"}},{"code_sha256_prefix":"5cec27329fea1a23","entry":"safe_path_part","repo":"saltsystemslab/InferScale","repo_kind":"found_in_text","path":"src/locomo_jasper_bench/cache_identity.py","file_url":"https://github.com/saltsystemslab/InferScale/blob/HEAD/src/locomo_jasper_bench/cache_identity.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"5cec27329fea1a23"}},{"code_sha256_prefix":"2e8aac33f79616af","entry":"read_sample_setup_report","repo":"saltsystemslab/InferScale","repo_kind":"found_in_text","path":"src/locomo_jasper_bench/reporting.py","file_url":"https://github.com/saltsystemslab/InferScale/blob/HEAD/src/locomo_jasper_bench/reporting.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"2e8aac33f79616af"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,885 of the 9,623 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9623,"papers_checked":6885},"entries":[],"not_placed":{"boards":0,"rejected_by_independent_check":0,"refused_by_a_rule":0,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}