potentialpaper

Block-GTQ: RoPE-Block Rate Allocation for KV-Cache Quantization

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:44 UTC · 287fb454fa08 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "rS9IUWWuiX"
- }
- ],
- "title": "Block-GTQ: RoPE-Block Rate Allocation for KV-Cache Quantization",
- "authors": [],
- "abstract": "Larger models and longer contexts make the KV cache a memory and bandwidth\nbottleneck. We introduce \\emph{Block-GTQ}, a framework that uses the\ntwo-dimensional frequency blocks of rotary position embeddings (RoPE) to\nallocate cached-key precision. A blockwise logit-error bound motivates a\nlabel-free query--key energy score, which we combine with codec-dependent\nrate penalties. Under equal-cost budgets and diminishing marginal gains,\nlargest-marginal-gain allocation exactly minimizes the separable integer\nproxy. Our TurboQuant-MSE (TQ-MSE) instantiation groups equal-rate blocks\nand supports attention over packed caches without materializing a decoded\nfp16 KV cache. Across ten model/path configurations, K-only diagnostics\nreduce layer-averaged logit mean absolute error by about $32$--$80\\%$\nrelative to uniform TQ-MSE, improving all $367$ layers at both 2- and 3-bit\naverage logical key rates. At K2V2 (2 average logical bits per K/V\ncoordinate) on Llama-3.1-8B-Instruct, Block-GTQ raises the six-task\nneedle-in-a-haystack (NIAH) average from $70.6$ to $97.4$ and LongBench-EN\nfrom $33.7$ to $44.9$; K2V2 gains also hold on the tested 32B and\n70B models. On DeepSeek-R1-Distill-Qwen-7B at K3V2, without fp16 sink or\nrecent-token buffers, it achieves $49.6/38.8\\%$ avg@8 on AIME 2024/2025 versus fp16’s $54.2/37.9\\%$,\nwhere uniform TQ-MSE scores zero on both. On Qwen2.5-3B-Instruct, packed\nK3V3 serving on one H800 reduces resident KV footprint by a factor of\n$3.24$ and retains perplexity close to fp16 at 128K, while uniform TQ-MSE\ndegrades severely. At a 1M-token context, Block-GTQ reduces decode latency by 8.0\\%\nrelative to FP16 FlashAttention-2.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "499d9b03-dea3-43cd-93fd-1e2c0a46e421"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Block-GTQ: RoPE-Block Rate Allocation for KV-Cache Quantization",
+ "authors": [],
+ "abstract": "Larger models and longer contexts make the KV cache a memory and bandwidth\nbottleneck. We introduce \\emph{Block-GTQ}, a framework that uses the\ntwo-dimensional frequency blocks of rotary position embeddings (RoPE) to\nallocate cached-key precision. A blockwise logit-error bound motivates a\nlabel-free query--key energy score, which we combine with codec-dependent\nrate penalties. Under equal-cost budgets and diminishing marginal gains,\nlargest-marginal-gain allocation exactly minimizes the separable integer\nproxy. Our TurboQuant-MSE (TQ-MSE) instantiation groups equal-rate blocks\nand supports attention over packed caches without materializing a decoded\nfp16 KV cache. Across ten model/path configurations, K-only diagnostics\nreduce layer-averaged logit mean absolute error by about $32$--$80\\%$\nrelative to uniform TQ-MSE, improving all $367$ layers at both 2- and 3-bit\naverage logical key rates. At K2V2 (2 average logical bits per K/V\ncoordinate) on Llama-3.1-8B-Instruct, Block-GTQ raises the six-task\nneedle-in-a-haystack (NIAH) average from $70.6$ to $97.4$ and LongBench-EN\nfrom $33.7$ to $44.9$; K2V2 gains also hold on the tested 32B and\n70B models. On DeepSeek-R1-Distill-Qwen-7B at K3V2, without fp16 sink or\nrecent-token buffers, it achieves $49.6/38.8\\%$ avg@8 on AIME 2024/2025 versus fp16’s $54.2/37.9\\%$,\nwhere uniform TQ-MSE scores zero on both. On Qwen2.5-3B-Instruct, packed\nK3V3 serving on one H800 reduces resident KV footprint by a factor of\n$3.24$ and retains perplexity close to fp16 at 128K, while uniform TQ-MSE\ndegrades severely. At a 1M-token context, Block-GTQ reduces decode latency by 8.0\\%\nrelative to FP16 FlashAttention-2.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}