{
  "id": 1067,
  "kind": "paper",
  "title": "MILO: Efficient Many-shot In-Context Learning with Block-wise Low-rank Compression",
  "summary": "Google + UCF technical report (Zhao/Tan/Peng/Wang/Go; arXiv 2609.29913v1) introduces MILO for many-shot in-context learning KV-cache memory. Observations: pre-RoPE keys are more low-rank than values; more shots add redundancy; rank needs vary across example blocks. MILO partitions the many-shot KV into multi-example blocks, applies separate K/V SVD, and greedily allocates a global rank budget by spectral-entropy marginal gains. At inference BM25 retrieves selected compressed blocks, fused Triton kernels reconstruct them (CUDA streams + graphs), then sparse attention runs. On Qwen2.5-3B/7B (Banking77, Clinic150, TREC, NLU, MathQA, SVAMP; 512-shot; 50% rank budget) on an NVIDIA L4: up to ~50% KV memory reduction and up to 1.8× throughput vs prior low-rank baselines; avg accuracy 0.647/0.725 vs Full 0.677/0.753 and ahead of Palu/ASVD. Orthogonal stack with INT8/KIVI. No public code found at catalog time.",
  "body": "",
  "notes": "Hudson user-fed 2026-09-26. X https://x.com/TeksEdge/status/2103696064276824395 (@TeksEdge / David Hendrickson); photo ALT https://arxiv.org/pdf/2609.29913 → abs 2609.29913. Dedup clean for MILO / status id / arXiv id (prior TeksEdge rows e.g. 661 are unrelated). Related but distinct: id 1485 techNmak KV-cache *idea* explainer (GQA/MQA/quant/sliding-window) — not a duplicate. Thread conversation_id:2103696064276824395 via curator-bot: 11 replies, no alternate primary paper. Authors Google+UCF; © 2026 Google; no public code/repo found (GitHub search empty). Dump: /workspace/curator/research/milo-kv-teksedge-2103696064276824395-20260926/",
  "url": "https://arxiv.org/abs/2609.29913",
  "links": [],
  "authors": [
    "Youpeng Zhao",
    "Tian Tan",
    "Liqian Peng",
    "Jun Wang",
    "Alec Go"
  ],
  "tags": [
    "milo",
    "kv-cache",
    "many-shot-icl",
    "block-wise-low-rank",
    "svd",
    "entropy-rank-allocation",
    "qwen2.5",
    "l4",
    "google",
    "ucf",
    "teksedge",
    "palu",
    "asvd",
    "flexgen",
    "triton"
  ],
  "topics": "many-shot ICL; KV cache compression; block-wise low-rank; inference efficiency",
  "venue": "arXiv / Google; University of Central Florida",
  "publisher": "arXiv / Google; University of Central Florida",
  "source": "arxiv",
  "language": "en",
  "access": "free",
  "license": "© 2026 Google (Technical Report); arXiv perpetual non-exclusive license 1.0 for abs posting",
  "published_year": 2026,
  "added_at": "2026-09-26T13:44:00.000Z",
  "verified_at": "2026-09-26T13:44:00.000Z",
  "attrs": {
    "scale": "Qwen2.5-3B and 7B FP16; 6 ICL tasks; 512-shot under 50% rank budget; single NVIDIA L4-24GB; baselines Full Cache / ASVD / Palu; ablations on compression ratio, block size (~32 sweet spot), rank allocation, Triton/CUDA-graph kernels; MILO+INT8/KIVI table",
    "domain": "many-shot ICL; KV cache compression; block-wise low-rank; inference efficiency",
    "purpose": "Compress many-shot demonstration KV caches via block-wise low-rank SVD plus entropy-based dynamic rank allocation to cut memory and raise throughput",
    "used_for": "Many-shot ICL serving memory; local/long-context KV footprint reduction; complementary to KV quantization and sparse attention",
    "author_type": "industry/academia (Google; University of Central Florida)",
    "time_period": "arXiv 2609.29913v1 published 2026-09-24T14:52:24Z; PDF dated 2026-09-25; X https://x.com/TeksEdge/status/2103696064276824395 at 2026-09-26T04:00:01Z; cataloged 2026-09-26"
  },
  "enrichment": {
    "s2": {
      "paper_id": "e841dbae23749051b146f3bcaefcfa814054adb9",
      "published": "2026-09-24",
      "fetched_at": "2026-10-03T14:59:36.538Z",
      "citation_count": 0,
      "reference_count": 46,
      "influential_citation_count": 0
    },
    "arxiv": {
      "id": "2609.29913",
      "title": "MILO: Efficient Many-shot In-Context Learning with Block-wise Low-rank Compression",
      "authors": [
        "Youpeng Zhao",
        "Tian Tan",
        "Liqian Peng",
        "Jun Wang",
        "Alec Go"
      ],
      "comment": "Technical Report",
      "updated": "2026-09-24",
      "abstract": "Many-shot in-context learning (ICL) enables large language models (LLMs) to adapt to complex tasks by conditioning on thousands of demonstration examples, but this paradigm shifts the inference efficiency bottleneck to the key-value (KV) cache memory. Due to the linear scaling behavior of the KV cache, storing these intermediate tensors has become a paramount challenge for both online serving and on-device deployment. To address this issue, we propose a novel compression framework, termed MILO, that exploits the low-rank redundancy inherent in many-shot contexts. Specifically, MILO features a block-wise low-rank compression strategy that compresses the KV cache at the block granularity, where each block contains multiple many-shot examples. Furthermore, to handle the heterogeneous context density across different blocks, MILO dynamically allocates rank budgets based on the information entropy, preserving the fidelity of critical blocks while aggressively compressing redundant ones. Experimental results on Qwen2.5 models demonstrate that our method achieves up to 50% reduction in KV cache memory and 1.8x throughput improvement, with negligible performance degradation on classification and reasoning benchmarks, significantly outperforming prior baselines.",
      "published": "2026-09-24",
      "categories": [
        "cs.CL"
      ],
      "fetched_at": "2026-10-03T14:59:36.538Z"
    }
  },
  "enriched_at": "2026-10-03T14:59:36.575Z",
  "license_class": "other",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "legacy_paper_id": "1486",
    "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/1067",
  "markdown": "https://papers.projxon.ai/entries/1067.md",
  "api": "https://papers.projxon.ai/api/entries/1067",
  "relations": [
    {
      "relation": "cites",
      "direction": "out",
      "note": "",
      "via": "citations",
      "entry": {
        "id": 3,
        "kind": "paper",
        "title": "s1: Simple test-time scaling",
        "summary": "Test-time scaling is a promising new approach to language modeling that uses extra test-time compute to improve performance. Recently, OpenAI's o1 model showed this capability but did not publicly share its methodology, leading to many replication efforts. We seek the simplest approach to achieve test-time scaling and strong reasoning performance.",
        "url": "https://arxiv.org/html/2501.19393v1",
        "authors": [
          "Niklas Muennighoff",
          "Zitong Yang",
          "Weijia Shi",
          "Xiang Lisa Li",
          "Li Fei-Fei",
          "Hannaneh Hajishirzi",
          "Luke Zettlemoyer",
          "Percy Liang",
          "Emmanuel Candès",
          "Tatsunori Hashimoto"
        ],
        "tags": [
          "paper-arxiv-cs.cl-cs.ai-cs.lg"
        ],
        "venue": "arXiv",
        "source": "arxiv",
        "license": "arXiv (open)",
        "published_year": 2025,
        "added_at": "2026-07-17T19:56:36.231Z",
        "has_dataset_profile": false,
        "license_class": "other",
        "langs": [
          "en"
        ],
        "modalities": [],
        "size_class": null,
        "citation_count": 1501,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/3",
        "markdown": "https://papers.projxon.ai/entries/3.md",
        "api": "https://papers.projxon.ai/api/entries/3"
      }
    }
  ],
  "duplicates": [],
  "similar": [
    {
      "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"
    },
    {
      "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": 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": 631,
      "kind": "code",
      "title": "VBR: Variable Bit-Rate KV Cache for llama.cpp",
      "summary": "spiritbuun llama.cpp fork (buun-llama-cpp) ships VBR as the default KV cache. Cache starts FP16 and degrades one (layer, side) tensor at a time down a price-ordered ladder (f16 → turbo8 → turbo4 → turbo3_tcq → turbo2_tcq → turbo1_tcq) using TurboQuant/TCQ codecs, following per-model KLD degrade tables. Default implicit VBR floors at turbo4; explicit -ct vbr opens the full ladder to t1. Budget is leftover VRAM after weights/compute; -c caps context so the budget is spent on quality instead of max length. CUDA-first with ROCm/HIP mirror. Related to TurboQuant (papers_local 606/640) but this is a dynamic controller, not a new codec paper.",
      "url": "https://github.com/spiritbuun/buun-llama-cpp",
      "authors": [
        "buun"
      ],
      "tags": [
        "vbr",
        "kv-cache",
        "llama-cpp",
        "turboquant",
        "quantization",
        "inference",
        "x"
      ],
      "venue": "GitHub",
      "source": "web",
      "license": "MIT",
      "published_year": 2026,
      "added_at": "2026-08-14T19:35:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": 881,
      "page": "https://papers.projxon.ai/entries/631",
      "markdown": "https://papers.projxon.ai/entries/631.md",
      "api": "https://papers.projxon.ai/api/entries/631"
    },
    {
      "id": 492,
      "kind": "paper",
      "title": "Still: Amortized KV Cache Compaction in a Single Forward Pass",
      "summary": "Still is a per-layer Perceiver (~50M / ~1% of Qwen3-4B at t=128) that cross-attends the full KV cache in a position-free RoPE frame and writes compact (C_k, C_v) in one forward, leaving base weights frozen. Occupies the speed–quality frontier at 8x–200x compression and 8k–128k context vs H2O/SnapKV/StreamingLLM/Attention Matching/KV-Distill. Matched-training RULER: +8–22 points vs KV-Distill in 16/18 cells. HELMET multi_lexsum recovers 74–95% of full-context gain at 8k–64k. Iterative chunked compaction at fixed ratio 1/c is possible because compaction is a forward pass; 8k-trained compactors collapse at 128k. No official code repo on the abs page. Project https://www.baseten.co/research/still-amortized-kv-cache-compaction-in-a-single-forward-pass/.",
      "url": "https://arxiv.org/abs/2606.07878",
      "authors": [
        "Charles O'Neill",
        "Alex Sandomirsky",
        "Harry Partridge",
        "Mudith Jayasekara",
        "Max Kirkby"
      ],
      "tags": [
        "still",
        "kv-cache",
        "perceiver",
        "compaction",
        "amortized-synthesis",
        "baseten",
        "ruler",
        "helmet"
      ],
      "venue": "arXiv / Baseten",
      "source": "",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T16:45:04.296Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 2,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/492",
      "markdown": "https://papers.projxon.ai/entries/492.md",
      "api": "https://papers.projxon.ai/api/entries/492"
    },
    {
      "id": 564,
      "kind": "paper",
      "title": "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention",
      "summary": "Infini-attention keeps local softmax attention plus a compressive associative memory updated from the same QKV (linear or delta rule) and a learned gate β. 114× smaller memory than a 65k Memorizing Transformer; PG19 PPL 9.65 vs 11.37. A 1B model solves 1M passkey after 5k-length FT; 8B BookSum 500k SOTA Rouge overall 18.5. No official code on abs.",
      "url": "https://arxiv.org/abs/2404.07143",
      "authors": [
        "Tsendsuren Munkhdalai",
        "Manaal Faruqui",
        "Siddharth Gopal"
      ],
      "tags": [
        "infini-attention",
        "long-context",
        "compressive-memory",
        "google",
        "passkey",
        "booksum"
      ],
      "venue": "arXiv / Google",
      "source": "",
      "license": "",
      "published_year": 2024,
      "added_at": "2026-10-01T16:45:06.278Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 243,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/564",
      "markdown": "https://papers.projxon.ai/entries/564.md",
      "api": "https://papers.projxon.ai/api/entries/564"
    }
  ]
}
