{
  "id": 450,
  "kind": "paper",
  "title": "Cross-Model KV Cache Transfer in LLM Families: A Closed-Form Linear Mapping for Prefill Reuse",
  "summary": "Shows within-family matched-KV pairs (shared KV head count and head dim) have substantial linear structure: on Qwen3 14B->32B one source layer explains 56%/32% of target key/value variance, 79%/65% with multiple layers. A closed-form per-head ridge mapper with top-k cross-layer source selection and RoPE-stripped content-space keys retains 73-98% of standalone-prefill accuracy on four of six pairs (Qwen3, Llama 3.1, Ministral 3) and is 2.7-25x faster than re-prefill; two Ministral pairs collapse and a nonlinear MLP recovers up to +37 pp HellaSwag. Attention-output cosine predicts retention better than reconstruction R^2.",
  "body": "",
  "notes": "Primary: arxiv abs (CC BY 4.0, cs.LG). NVIDIA. No official code on abs; HF paper page 1 upvote with two unofficial linked models. Discord posted abs link.",
  "url": "https://arxiv.org/abs/2608.03893",
  "links": [],
  "authors": [
    "Taekyung Heo",
    "Rasoul Shafipour",
    "Ritchie Zhao",
    "Maximilian Golub",
    "Mohammad Mahdi Kamani",
    "Ritika Borkar",
    "Makesh Tarun Chandran",
    "Pantea Zardoshti",
    "Bita Darvish Rouhani"
  ],
  "tags": [
    "kv-cache",
    "prefill",
    "ridge-regression",
    "rope",
    "serving",
    "qwen3",
    "llama",
    "ministral",
    "nvidia"
  ],
  "topics": "LLM serving, KV cache, inference",
  "venue": "arXiv / NVIDIA",
  "publisher": "",
  "source": "arxiv",
  "language": "en",
  "access": "free",
  "license": "CC BY 4.0",
  "published_year": 2026,
  "added_at": "2026-08-14T16:24:56.000Z",
  "verified_at": "2026-08-14T16:24:56.000Z",
  "attrs": {
    "scale": "Six matched-KV pairs; calibration 500 FineWeb-Edu sequences x 1024 tokens (~128k tokens/head); mapper 1.01-3.36B params (4-12 GB); eval ARC-C/HellaSwag/WinoGrande/MMLU/GSM8K plus CoQA multi-turn",
    "purpose": "Skip re-prefill when swapping models in a family by mapping the source KV cache into the receiver's expected format",
    "used_for": "Unknown",
    "author_type": "human",
    "time_period": "2026-08-04 (arXiv 2608.03893 v1)"
  },
  "enrichment": {
    "s2": {
      "paper_id": "1e12119ec3c057e3e8c74a5ca713ce0eed4abea6",
      "published": "2026-08-04",
      "fetched_at": "2026-10-03T14:46:57.200Z",
      "citation_count": 9,
      "reference_count": 29,
      "influential_citation_count": 4
    },
    "arxiv": {
      "id": "2608.03893",
      "title": "Cross-Model KV Cache Transfer in LLM Families: A Closed-Form Linear Mapping for Prefill Reuse",
      "authors": [
        "Taekyung Heo",
        "Rasoul Shafipour",
        "Ritchie Zhao",
        "Maximilian Golub",
        "Mohammad Mahdi Kamani",
        "Ritika Borkar",
        "Makesh Tarun Chandran",
        "Pantea Zardoshti",
        "Bita Darvish Rouhani"
      ],
      "updated": "2026-08-04",
      "abstract": "Production deployments often swap between different-sized models in a family for cost-quality cascading, mid-conversation switching, and routing, and each swap forces the receiver to repay the prefill from scratch. We propose cross-model KV cache transfer, where the receiver reuses the source's KV cache, skipping prefill. We find that cross-model KV has substantial linear structure across matched-KV pairs, where source and target share KV head count and per-head dimension. On Qwen3 14B->32B, one source layer explains 56% of variance in the target's keys and 32% in values, rising to 79% and 65% with multiple source layers. Building on this, we design a closed-form ridge mapper that operates per head and proceeds in three steps. First, for each target layer we select the top-k most predictive source layers and concatenate their KV as input. Second, we strip RoPE from the keys before mapping, so the fit is position-free and reusable across context lengths. Third, we fit ridge regression on a small calibration set of 500 FineWeb-Edu sequences of 1,024 tokens each. Surprisingly, across six pairs in three families, this linear mapper retains 73-98% of the receiver's standalone-prefill accuracy on four pairs, while two degrade sharply. A nonlinear MLP recovers up to +37 pp HellaSwag retention on the failures. The mapper runs 2.7-25x faster than re-prefill and remains stable across multi-turn handoff, making cross-model KV cache transfer practical.",
      "published": "2026-08-04",
      "categories": [
        "cs.LG"
      ],
      "fetched_at": "2026-10-03T14:46:57.200Z"
    }
  },
  "enriched_at": "2026-10-03T14:46:57.241Z",
  "license_class": "permissive",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "469",
    "needs_deep_eval": "no",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T12:29:06.561Z",
  "page": "https://papers.projxon.ai/entries/450",
  "markdown": "https://papers.projxon.ai/entries/450.md",
  "api": "https://papers.projxon.ai/api/entries/450",
  "relations": [
    {
      "relation": "cites",
      "direction": "in",
      "note": "",
      "via": "citations",
      "entry": {
        "id": 829,
        "kind": "paper",
        "title": "Disaggregated Quantization: Specializing LLM Prefill and Decode",
        "summary": "Disaggregated quantization (DQ): separate computation formats, weights, and storage placement specialized to prefill vs decode -- low-precision arithmetic accelerates prompt processing, compact weights reduce memory traffic during generation. Removing activation quantization on decode improves accuracy on decode-heavy tasks without added inference cost (Qwen 3, Gemma 3). Separate compute-native prefill weights accelerate prompt processing vs weight-only inference while matching/exceeding its accuracy at 2-3-bit decode. Training an NVFP4 prefiller improves 1-bit accuracy by 32.5 points on MMLU-Pro and 35.3 on MMMU-Pro without modifying the decode checkpoint (Qwen3.8-27B GGUF decoder). \"Offloaded disaggregated prefill\" (ODP) streams the extra prefill checkpoint from SSD, amortizing loading over prompt length: 1.78x time-to-first-token speedup over the weight-only baseline at 8K prompt length in llama.cpp. Accuracy evaluated under disaggregated serving in vLLM; shared-weight format disaggregation validated via PTQ on models up to 2.8T parameters.",
        "url": "https://huggingface.co/papers/2609.26333",
        "authors": [
          "Andrei Panferov",
          "Maximilian Kleinegger",
          "Sweta Priyadarshi",
          "Tijmen Blankevoort",
          "Dan Alistarh"
        ],
        "tags": [
          "quantization",
          "inference",
          "prefill",
          "decode",
          "nvfp4",
          "low-bit-inference",
          "serving"
        ],
        "venue": "IST Austria Distributed Algorithms and Systems Lab (arXiv 2026-09-21; HF #2 Paper of the Day)",
        "source": "paper_page",
        "license": "",
        "published_year": 2026,
        "added_at": "2026-09-30T00:00:00.000Z",
        "has_dataset_profile": false,
        "license_class": "unknown",
        "langs": [
          "en"
        ],
        "modalities": [],
        "size_class": null,
        "citation_count": 0,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/829",
        "markdown": "https://papers.projxon.ai/entries/829.md",
        "api": "https://papers.projxon.ai/api/entries/829"
      }
    }
  ],
  "duplicates": [],
  "similar": [
    {
      "id": 468,
      "kind": "paper",
      "title": "Full-Pipeline Inference Optimization for MiMo-V2.5 Series: Pushing Hybrid SWA Efficiency to the Limit",
      "summary": "Engineering report for MiMo-V2.5 / V2.5-Pro Hybrid Sliding Window Attention (example: 70 layers, 10 full + 60 SWA, W=128; ~7× less attention FLOPs and KV vs full attention) plus sparse MoE and vision/audio/video encoders. Dual-pool KV with strict O(W) SWA storage, layerwise prefetch, SWA-aware prefix cache trees, GCache L3 (RDMA, co-deployed on GPU nodes), KVCache-affinity router (~+25% L2 hit, ~+30% input throughput), length bucketing, halved EP after SWA storage (~40% e2e), MTP in prefill (2.3× on first 128 decode tokens), GPU image preprocess and parallel video decode (1-hour video 156s→23s). Reports ~93% production KV hit rate. Positions as the first large-scale serving system covering Hybrid SWA+MoE+multimodal. Not a dataset.",
      "url": "https://arxiv.org/abs/2607.13095",
      "authors": [
        "Anqi Liu",
        "Aoxin Ma",
        "Bo Chen",
        "Bo Yang",
        "Chen Wang",
        "Chen Zhang",
        "Chengda Tang",
        "Chengwei Wang",
        "Chiheng Lou",
        "Depeng Yan",
        "Fuli Luo",
        "Gang Wang",
        "Hailin Zhang",
        "Jiale Sun",
        "Kang Zhou",
        "Rui Huang",
        "Shaohui Liu",
        "Shen Huang",
        "Shijie Cao",
        "Shuaishuai Fan",
        "Tianling Zhou",
        "Xiangwei Deng",
        "Xueyang Xie",
        "Xuli Wang",
        "Yingchun Lai",
        "Yu Yang",
        "Yuan Zhang",
        "Zhen Tang",
        "Zhonghua Deng",
        "Zihan Jiang"
      ],
      "tags": [
        "mimo",
        "hybrid-swa",
        "kv-cache",
        "sglang",
        "moe",
        "serving",
        "xiaomi",
        "multimodal",
        "gcache"
      ],
      "venue": "arXiv / Xiaomi MiMo",
      "source": "arxiv",
      "license": "arXiv perpetual non-exclusive license 1.0 (paper); MIT (XiaomiMiMo/MiMo-V2.5 weights)",
      "published_year": 2026,
      "added_at": "2026-08-14T16:40:00.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 2,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/468",
      "markdown": "https://papers.projxon.ai/entries/468.md",
      "api": "https://papers.projxon.ai/api/entries/468"
    },
    {
      "id": 621,
      "kind": "other",
      "title": "Shard: getting to 10x KV cache compression",
      "summary": "Engineering writeup of Shard, a drop-in HuggingFace Cache. Reimplementing TurboQuant stalled around 4-6x; authors split K and V: undo RoPE then PCA+int4 on K (rank 192/1024, DP bit allocation with a 4x drop penalty) and Hadamard + 4-d vector quantization on V. Attention scores run on int4 PCA coeffs via a relative-Delta RoPE identity; V Hadamard is applied after the weighted sum. 4 FP16 sink tokens + 64-token recency window. Decode stream uses data-oblivious Hadamard+Lloyd-Max (8-bit path 750/750 FP16 match at 150 tokens). Llama-3.1-8B: 10x at 8K / 11.2x at 32K, NIAH recall 1.000 across 4K-32K, LongBench-E avg 16.19 vs FP16 16.24, WikiText-2 PPL +0.26%. Decode throughput 0.39-0.49x FP16, so a memory win not a latency win. Code krish1905/shard.",
      "url": "https://krishgarg.com/shard",
      "authors": [
        "Krish Garg"
      ],
      "tags": [
        "shard",
        "kv-cache",
        "turboquant",
        "pca",
        "vector-quantization",
        "llama",
        "inference",
        "blog",
        "x"
      ],
      "venue": "krishgarg.com",
      "source": "web",
      "license": "MIT",
      "published_year": null,
      "added_at": "2026-08-14T19:20:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/621",
      "markdown": "https://papers.projxon.ai/entries/621.md",
      "api": "https://papers.projxon.ai/api/entries/621"
    },
    {
      "id": 1118,
      "kind": "paper",
      "title": "WeDLM: Reconciling Diffusion Language Models with Standard Causal Attention for Fast Inference",
      "summary": "arXiv 2512.22737. Proposes WeDLM: Topological Reordering places observed tokens in the physical prefix while preserving RoPE logical positions so masked recovery works under a strict causal mask; Dual-Stream Masking reduces train–inference gap; Streaming Parallel Decoding commits confident left-to-right prefixes with a dynamic sliding window. Instantiated on Qwen2.5-7B and Qwen3-8B (100B continued pretrain + SFT). Reports ~3× speedups on reasoning vs vLLM-served AR and up to ~10× in low-entropy regimes while matching/improving quality. Code/models: github.com/Tencent/WeDLM; HF tencent/WeDLM collection; project wedlm.github.io.",
      "url": "https://arxiv.org/abs/2512.22737",
      "authors": [
        "Aiwei Liu",
        "Minghua He",
        "Shaoxun Zeng",
        "Sijun Zhang",
        "Linhao Zhang",
        "Chuhan Wu",
        "Wei Jia",
        "Yuan Liu",
        "Xiao Zhou",
        "Jie Zhou"
      ],
      "tags": [
        "wedlm",
        "diffusion-lm",
        "causal-attention",
        "kv-cache",
        "tencent",
        "qwen3",
        "arxiv-2512.22737",
        "inference"
      ],
      "venue": "arXiv / WeChat AI (Tencent); Peking University; Tsinghua University",
      "source": "arxiv",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-09-02T17:40:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 44,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1118",
      "markdown": "https://papers.projxon.ai/entries/1118.md",
      "api": "https://papers.projxon.ai/api/entries/1118"
    },
    {
      "id": 595,
      "kind": "code",
      "title": "n8loom",
      "summary": "Python library (mlx_lm + Transformers) that stores per-node KV-cache fragments and concatenates the ancestor path when generating, so many ToT branches can share prefix cache without duplicating the full prompt cache at each node. Core types are Heddle (a reasoning node) and Loom (chat-root Heddle); ramify/crown helpers batch- or stream-expand children. Llama-architecture only. pip install n8loom; optional FastAPI example server. CC0.",
      "url": "https://github.com/N8python/n8loom",
      "authors": [
        "N8python"
      ],
      "tags": [
        "n8loom",
        "tree-of-thought",
        "kv-cache",
        "mlx",
        "llama",
        "loom",
        "heddle"
      ],
      "venue": "N8python (GitHub)",
      "source": "github",
      "license": "CC0-1.0",
      "published_year": 2025,
      "added_at": "2026-08-14T18:35:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": 80,
      "page": "https://papers.projxon.ai/entries/595",
      "markdown": "https://papers.projxon.ai/entries/595.md",
      "api": "https://papers.projxon.ai/api/entries/595"
    },
    {
      "id": 1066,
      "kind": "idea",
      "title": "KV cache as GPU-memory bottleneck in Transformer serving (GQA/MQA, quantization, sliding window)",
      "summary": "Single long X note_tweet + diagram (2026-09-25) by @techNmak explaining that during inference model weights are mostly fixed while per-request KV state grows with every cached token across attention layers. Frames context length and concurrency as GPU-memory costs; notes GQA/MQA (fewer KV heads), KV quantization (fewer bytes), and sliding-window attention (bounded history) as levers; stresses caching avoids recomputing old K/V projections but full attention still reads the cache each decode step. Diagram gives KV bytes = 2×B×T×L×H_kv×d_k×s (example: 8K tokens ≈ 1 GiB at L=32, H_kv=8, d_k=128, FP16). Pure original explainer — no primary paper; one reply promo-linked github.com/kvcachestore/kvcdn-cli.",
      "url": "https://x.com/techNmak/status/2103488645642793165",
      "authors": [
        "Tech with Mak (@techNmak)"
      ],
      "tags": [
        "kv-cache",
        "llm-serving",
        "gpu-memory",
        "gqa",
        "mqa",
        "kv-quantization",
        "sliding-window",
        "attention",
        "prefill-decode",
        "technmak",
        "x-thread",
        "idea"
      ],
      "venue": "X / Tech with Mak",
      "source": "x",
      "license": "n/a (X post / educational graphic)",
      "published_year": 2026,
      "added_at": "2026-09-26T12:56:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1066",
      "markdown": "https://papers.projxon.ai/entries/1066.md",
      "api": "https://papers.projxon.ai/api/entries/1066"
    },
    {
      "id": 740,
      "kind": "thread",
      "title": "Scaling KV Cache Compression to Frontier Models (X thread by @RampLabs)",
      "summary": "An X thread from @RampLabs titled 'Scaling KV Cache Compression to Frontier Models' (per the Discord link card), shared without additional caption. Claims relate to KV-cache compression methods scaled to frontier-scale models.",
      "url": "https://x.com/RampLabs/status/2104634941405266021?s=20",
      "authors": [
        "@RampLabs"
      ],
      "tags": [
        "kv-cache",
        "compression",
        "inference",
        "long-context",
        "x-thread",
        "unverified-claim"
      ],
      "venue": "X (Twitter)",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/740",
      "markdown": "https://papers.projxon.ai/entries/740.md",
      "api": "https://papers.projxon.ai/api/entries/740"
    }
  ]
}
