HiTeP: A Hierarchical, Elastic, and Temporally Indexed Parametric Cache for Multi-Tenant LLM Serving

Automatic Prefix Caching (APC) eliminates redundant prefill computation for shared long prompts, yet leavesdecode-time memory capacity and HBM bandwidth untouched: generating each output token still scans thousands of cachedkey-value (KV) states. Under multi-tenant concurrency, large prefix KV blocks rapidly exhaust GPU memory and incur tens ofmilliseconds of PCIe transfer overhead when offloaded to host DRAM. Distilling recurrent contexts into low-rank adapters(LoRA) compresses state by orders of magnitude, but naive parametric caches suffer from four fundamental limitations:off-context derailment on unrelated inputs, poor exact-lookup fidelity, superposition failure under multi-turn stateoverrides, and rank-capacity collapse as cached sessions accumulate. We present HiTeP (Hierarchical Temporal-Sliced Parametric Cache), an end-to-end inference and co-serving runtimebuilt in tinyvllm that unifies native Paged KV (L1) with a three-tier parametric hierarchy (L0 GPU slots, L2 pinned hostDRAM, and L3 NVMe storage). Algorithmically, HiTeP introduces null-space KL anchoring for zero off-domain contamination,causal residual rank slices tagged with explicit turn coordinates, and a sinusoidal temporal router that executescumulative rank masking directly inside static CUDA Graphs. Architecturally, HiTeP provides a zero-expansion multi-slotkernel that reduces 65K-token prefill scratch memory from 48 GiB to 12 MiB, online geometric rank expansion withoutdropping resident slots, and a zero-copy co-serving distiller sharing frozen base weights on the same GPU. AcrossQwen3-0.6B/8B and Llama-3.1-8B-Instruct on NVIDIA A100, HiTeP matches full-context reasoning on BIG-Bench Hard (p <5e-15), achieves 17x higher strict accuracy than SnapKV-10% at a 10x memory compression budget, resolves 7/7 multi-turnstate overrides while retaining 100% Day-1 and intermediate Turn-18 recall (28/29 concurrent across horizons),significantly outperforms both dense RAG and exponential-decay LoRA across all 78/78 official LongMemEval knowledge-updatehistories on both Llama-3.1-8B (68.9% vs. 33.1% RAG, p = 1.08e-9; 70.0% vs. 10.0% Session-1 retention over Decay-LoRA, p =5.12e-12) and Qwen3-8B (45.3% vs. 29.1% RAG, p = 0.0063; 4.0x Session-1 retention over Decay-LoRA, p = 4.92e-5), anddelivers 1.99x higher multi-tenant swap throughput than LMCache-style KV offload at 20x smaller per-tenant state (81.6 MiBvs. 1.60 GiB). Code and reproducible benchmarks are available at https://github.com/EchoHayate/TinyLLMForge.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-29
DOI
https://doi.org/10.5281/zenodo.24653232
Primary Topic
Parallel Computing and Optimization Techniques
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

HiTeP: A Hierarchical, Elastic, and Temporally Indexed Parametric Cache for Multi-Tenant LLM Serving

Sitian Wu
Zenodo (CERN European Organization for Nuclear Research)
Parallel Computing and Optimization Techniques
preprint

HiTeP: A Hierarchical, Elastic, and Temporally Indexed Parametric Cache for Multi-Tenant LLM Serving

Sitian Wu
preprint en

Abstract

Automatic Prefix Caching (APC) eliminates redundant prefill computation for shared long prompts, yet leavesdecode-time memory capacity and HBM bandwidth untouched: generating each output token still scans thousands of cachedkey-value (KV) states. Under multi-tenant concurrency, large prefix KV blocks rapidly exhaust GPU memory and incur tens ofmilliseconds of PCIe transfer overhead when offloaded to host DRAM. Distilling recurrent contexts into low-rank adapters(LoRA) compresses state by orders of magnitude, but naive parametric caches suffer from four fundamental limitations:off-context derailment on unrelated inputs, poor exact-lookup fidelity, superposition failure under multi-turn stateoverrides, and rank-capacity collapse as cached sessions accumulate. We present HiTeP (Hierarchical Temporal-Sliced Parametric Cache), an end-to-end inference and co-serving runtimebuilt in tinyvllm that unifies native Paged KV (L1) with a three-tier parametric hierarchy (L0 GPU slots, L2 pinned hostDRAM, and L3 NVMe storage). Algorithmically, HiTeP introduces null-space KL anchoring for zero off-domain contamination,causal residual rank slices tagged with explicit turn coordinates, and a sinusoidal temporal router that executescumulative rank masking directly inside static CUDA Graphs. Architecturally, HiTeP provides a zero-expansion multi-slotkernel that reduces 65K-token prefill scratch memory from 48 GiB to 12 MiB, online geometric rank expansion withoutdropping resident slots, and a zero-copy co-serving distiller sharing frozen base weights on the same GPU. AcrossQwen3-0.6B/8B and Llama-3.1-8B-Instruct on NVIDIA A100, HiTeP matches full-context reasoning on BIG-Bench Hard (p <5e-15), achieves 17x higher strict accuracy than SnapKV-10% at a 10x memory compression budget, resolves 7/7 multi-turnstate overrides while retaining 100% Day-1 and intermediate Turn-18 recall (28/29 concurrent across horizons),significantly outperforms both dense RAG and exponential-decay LoRA across all 78/78 official LongMemEval knowledge-updatehistories on both Llama-3.1-8B (68.9% vs. 33.1% RAG, p = 1.08e-9; 70.0% vs. 10.0% Session-1 retention over Decay-LoRA, p =5.12e-12) and Qwen3-8B (45.3% vs. 29.1% RAG, p = 0.0063; 4.0x Session-1 retention over Decay-LoRA, p = 4.92e-5), anddelivers 1.99x higher multi-tenant swap throughput than LMCache-style KV offload at 20x smaller per-tenant state (81.6 MiBvs. 1.60 GiB). Code and reproducible benchmarks are available at https://github.com/EchoHayate/TinyLLMForge.

Zenodo (CERN European Organization for Nuclear Research)
Parallel Computing and Optimization Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon