OCTOPUS: Optimized KV Cache for Transformers via Octahedral Parametrization Under optimal Squared error quantization
Mark Boss, Vikram Voleti, Simon Donné, Shimon Vainer
NeurIPS 2026
TL;DR. Enhanced KV quantization using octahedral parametrization shown on multiple modalities.
Abstract. The key-value (KV) cache dominates memory bandwidth and footprint in long-context autoregressive inference. Recent rotation-preconditioned codecs (TurboQuant, PolarQuant) show that a structured random rotation followed by a per-coordinate scalar quantizer matched to an analytically tractable marginal is a near-optimal recipe for KV compression. OCTOPUS advances this paradigm through joint quantization of rotated coordinate triplets. Each triplet's direction is mapped to a square via an octahedral parameterization, and the two resulting coordinates and the triplet norm are Lloyd-Max quantized against implementation-matched marginals. Optimizing the per-triplet squared error gives a strictly non-uniform bit allocation independent of the total dimensionality of the keys, reducing MSE over balanced scalar Lloyd-Max for every model family we test. The codec is data-oblivious, online, and deterministic given a seed. Across text, video, and audio, OCTOPUS matches or beats every prior rotation codec at all but a few operating points, with a lead that grows with more extreme compression. Furthermore, a fused Triton implementation reconstructs keys on the fly without materializing the uncompressed key, with a small constant per-step overhead over scalar dequantization. End-to-end decode on Qwen2.5-7B is 1.11 to 1.16 times faster than TurboQuant-MSE at matched bit width. Code and project page: https://octopus-quant.github.io/
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:45 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper proposes a novel key-value (KV) cache compression codec that jointly quantizes rotated coordinate triplets using an octahedral parameterization to separately encode their direction and norm. Reviewers highlighted several strengths, notably the method's technical novelty, its principled theoretical derivation for bit allocation, and its robust empirical validation demonstrating improved accuracy across diverse modalities including language, video, and audio. However, reviewers also raised consistent concerns regarding its weaknesses, primarily the absence of an isolating baseline comparison against a standard 3D vector quantization (Lloyd-Max) approach, overstated claims about decode latency despite the added computational overhead compared to baselines like TurboQuant, and a need for deeper end-to-end throughput analyses and ablations to definitively prove the necessity of the octahedral mapping.
Overall, the paper is strong and would benefit from resolving the strong weaknesses presented by the reviewers during the rebuttal.
Final justification
The earlier justification stands and would recommend updating the manuscript as promised in the rebuttal.
Read meta-review
Meta-review
This paper proposes a novel key-value (KV) cache compression codec that jointly quantizes rotated coordinate triplets using an octahedral parameterization to separately encode their direction and norm. Reviewers highlighted several strengths, notably the method's technical novelty, its principled theoretical derivation for bit allocation, and its robust empirical validation demonstrating improved accuracy across diverse modalities including language, video, and audio. However, reviewers also raised consistent concerns regarding its weaknesses, primarily the absence of an isolating baseline comparison against a standard 3D vector quantization (Lloyd-Max) approach, overstated claims about decode latency despite the added computational overhead compared to baselines like TurboQuant, and a need for deeper end-to-end throughput analyses and ablations to definitively prove the necessity of the octahedral mapping.
Overall, the paper is strong and would benefit from resolving the strong weaknesses presented by the reviewers during the rebuttal.
Final justification
The earlier justification stands and would recommend updating the manuscript as promised in the rebuttal.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The papers address the challenge of KV cache compresion for long context. It proposes octupus which is a new rotation-based quantization of KV cache extending the TurboQuant and PolarQuant methods. Instead of perfoming quantization on each rotated coordianate, octupus jointly quantize triples of cordinate by sperating their direction and norm. The authors use octahedral parameterization to represent the direction and quantize both norm and direction using Lloyd-Max codebooks. The authors demonstrate that using octupus they achieve an improved model accuracy vs. TurboQuant and PolarQuant.
Strengths and weaknesses
Strength:
- Technical novelty and theoretical basis - authors suggest octahedral geometry, triplet quantization, and theoretically-derived bit allocation - I am not familiar with prior works suggesting such methods. In addition, the paper does not only rely on empirical results but also suggest a theory
- Achieve better accuracy consistently across all bit widths
- Validation on multiple modalities - evaluated on audio, video and language
Weakness:
- The work seems to be heavily dependent on TurboQuant.
- Comparison is limited to TurboQuant and PolarQuant and qwen model.
- No end-to-end decode throughput analysis - main focus is model quality while performance impact is missing.
- Missing full analysis of computational overhead as it adds more arithmetic than scalar Lloyd-Max decoding.
Questions
- How much of the observed gain comes from the octahedral representation versus the non-uniform bit allocation?
- Can the method be combined with other quantization schemes?
- What is the actual end-to-end tokens/sec speedup on modern GPUs?
- How does decode latency compare against TurboQuant at identical compression ratios?
- How sensitive is the method to larger hidden dimensions (e.g., 256 or 512)?
- What is the overhead of the additional decode arithmetic?
- Does the optimal (b+1,b−1) bit allocation remain optimal across different model families?
Limitations
yes
Formatting concerns
None
2 comments
We thank the reviewer for highlighting the "technical novelty and theoretical basis" and "validation on multiple modalities". The reviewer's questions prompted the end-to-end throughput measurement on H200, the decode-arithmetic breakdown, the head-dimension sensitivity sweep, the cross-model verification, and the explicit combinability discussion. All new results will be incorporated into the final draft.
Rfmj-R1 (W1): Relation to TurboQuant
OCTOPUS shares only the sign-flipped Walsh-Hadamard rotation with TurboQuant, which is the standard fast preconditioner used by essentially every rotation-based KV codec (QuIP, QuaRot, RotateKV, PolarQuant, TurboQuant). The codec proper differs in every downstream stage: TurboQuant does per-coordinate scalar Lloyd-Max on a Beta marginal; OCTOPUS does joint triplet quantization with a norm-plus-octahedral-direction split, a Lagrangian-derived non-uniform bit allocation, a novel direction encoding, joint rounding over a neighborhood, and a fused attention decode that never materializes . The comparison in Section 4 isolates the codec by holding rotation, codec, and residual window fixed across all rows, so any measured gap is codec-only.
Rfmj-R2 (W2): Comparison scope
Model families now covered on real keys include Qwen2.5-7B-Instruct-1M, SmolLM3, and Mistral for the codec-level ablations, plus the CausVid, Causal Forcing, and AAR decoders for end-to-end multimodal evaluation (Section 4.3). Beyond TurboQuant-MSE, TurboQuant-QJL, and PolarQuant, the rebuttal adds a calibrated 3-D VQ baseline and four alternative direction encodings (spherical angles, raw Cartesian, oct-pair VQ, spherical VQ). Broader LLM evaluation (LongBench, WikiText-2, C4) is reported in 5oqB-R4. All new comparisons will be added to the final draft.
Rfmj-R3 (Q1): Octahedral map vs bit allocation attribution
Two independent ablations isolate the two design choices.
Bit allocation, holding direction encoding fixed. At the exact deployed rate on three model families, moving from balanced scalar Lloyd-Max to OCTOPUS reduces MSE by on SmolLM3 and Mistral and on Qwen2.5 (full 9-point table in Rfmj-R7 below). This measures the joint effect of the norm-direction split plus the octahedral direction encoding plus the allocation, versus balanced scalar quantization at the same rate.
Direction encoding, holding allocation and everything else fixed. We ran a five-way direction-encoding ablation on Qwen keys at , swapping only the octahedral map for spherical angles, raw Cartesian, oct-pair VQ, or spherical VQ. The octahedral map is the best of five options tested at both rates; the alternatives raise MSE by :
| OCTOPUS (ours) | Spherical angles | Raw Cartesian | Oct-pair VQ | Spherical VQ | |
|---|---|---|---|---|---|
| 7 | 7.775 | 10.453 (+34.4%) | 11.400 (+46.6%) | 9.643 (+24.0%) | 8.158 (+4.9%) |
| 10 | 2.882 | 3.006 (+4.3%) | 5.332 (+85.1%) | 2.978 (+3.3%) | 2.943 (+2.1%) |
This is the ablation the reviewer asked for: the only variable between rows is the direction encoding.
The two attributions are complementary: bit allocation moves MSE by at matched rate, and the octahedral direction encoding is another on top of that at the same allocation. Both tables will be added to the manuscript.
Rfmj-R4 (Q2): Combinability with other schemes
OCTOPUS is a key-side codec rather than an indivisible cache design. Currently implemented combinations:
| Combination | Status |
|---|---|
| OCTOPUS keys + independently quantized values | Implemented with fused / group value decoders |
| Full-precision residual window | Implemented; merged with compressed history at decode |
| Optional 1-bit QJL residual (OCTOPUS-QJL) | Implemented; App. A Alg. 1/2 |
| Boundary-block protection for LLM stability | Implemented; recipe in Section 4.2 |
| Per-layer / layer-adaptive precision | Implemented through a per-layer cache policy |
| Alternative direction codebooks (angles, Cartesian, oct-pair VQ) | Reference-only; would need new fused kernels for deployment |
| Full 3-D VQ direction encoding | Reference / offline only; requires a new fused kernel |
The octahedral direction encoding is orthogonal to value quantization, residual windows, token eviction, and boundary / layer-adaptive protection, so those can be stacked on top of OCTOPUS without codec-level changes. Alternative learned direction codebooks would each require a matching optimized encode-decode pair. This table will be added to the manuscript.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes OCTOPUS, a KV cache compression method. OCTOPUS's primary contribution is developing a joint quantization of triplets after rotation, rather than using a 1-D Lloyd-Max on the rotate KV directly. OCTOPUS uses a novel transformation of the triplets which are then Lloyd-Max quantized individually in the transform domain.
Strengths and weaknesses
Strengths:
- The triplet method is novel to my knowledge in KV cache compression and quite clever.
- The paper is overall written quite well. It was easy to follow and understand the content being presented.
- The inclusion of multi-model models for KV cache compression in the experiments is nice to see.
Weaknesses:
- While the method is presented well and the motivations clear, it appears the triplet quantization is effectively a vector quantization (VQ) of 3-dimensional chunks, except the chunks are effectively "transformed" to another 3-D domain which are then individually Lloyd-Max quantized. This begs the question: why not directly apply a 3-D Lloyd-Max that is fitted offline with 3-D centroids directly? i.e., an extension of TurboQuant to VQ. This would technically be the optimal thing to do under squared-error, so the argument of the squared-error optimality of OCTOPUS is confusing. The only evidence in support of this optimality of OCTOPUS is that per-coordinate Lloyd-Max on the transform domain "closely approximates the 2-sphere distortion", and under the Panter-Dite high-rate distortion approximation. However, these are not very precise arguments, and there is furthermore no experimental evidence to show this is better than the 3-D Lloyd-Max.
- The claims regarding inference latency are confusing. In the abstract, it is claimed "the codec adds no decode-time bandwidth or latency over the existing dequantization", but in the limitations, the authors say that OCTOPUS slows down inference, which is supported by the results in Appendix G. OCTOPUS is also much slower than TurboQuant as shown in Table 7. As one of the main purposes of KV-cache compression is to improve inference speed (in addition to long-context tasks), this would be an important part of any KV-cache compression method.
- It would be helpful to include some zero-shot LLM benchmarks comparing OCTOPUS with TurboQuant, rather than just comparing LLM perplexity.
Questions
- Can you provide some comparison and explanation with a 3-D Lloyd-Max approach, in terms of performance and latency? Technically, OCTOPUS is still a scalar quantization (just in a transformed domain), so a more detailed comparison between 1-D Lloyd-Max, OCTOPUS, and 3-D Lloyd-Max would be very helpful, preferably in the form of rate-distortion curves.
- Could you provide a more precise analysis as to why OCTOPUS is MSE-optimal? Either theoretically or empirically.
- For the Panter-Dite approximation, what bit-rate regimes are considered "high-rate"? Are these reasonable considering the bit-rate regimes used in practice, i.e., 2, 3, 4 bits in the experiments?
- Do you have any zero-shot benchmark results on standard LLM benchmarks like GPQA or AIME, and preferably long-context benchmarks like LongBench?
Limitations
yes
Final justification
The authors have addressed most of my concerns and I have therefore decided to raise my score.
Formatting concerns
N/A
2 comments
5oqB-R2 (Q3): Panter-Dite regime
The fitted high-rate law meets the 10% error-and-slope criterion at 4 bits for both the triplet-norm marginal (Eq. 4) and the octahedral-coordinate marginal (Eq. 7). Deployed 1-3-bit components are therefore outside the strict Panter-Dite regime.
The role of Panter-Dite in the derivation is limited: it motivates the form of the allocation stationarity condition (an gap between direction and norm bits), not a quantitative claim about the finite-rate optimum. The finite-rate optimum is established empirically in Table 4, which shows is the diagonal-sweep minimum at every , so theory and finite-rate optimum coincide even outside the strict high-rate regime. We will make this scope explicit in Section 3.3 of the final draft.
5oqB-R3 (W2, Q1): Latency, reconciling abstract and Appendix G
The same numbers also address Fqq6-W3 and Rfmj-W3/W4/Q3/Q4/Q6.
The abstract's "no decode-time bandwidth or latency" is stronger than the isolated-kernel table supports and will be softened in the final draft to reflect the measured constant per-step overhead over scalar dequantization.
We retested Qwen2.5-7B systems performance on a dedicated H200 across three measurement scopes, from most to least relevant to a deployment decision.
End-to-end Qwen2.5-7B decode (the deployment metric). Measured over cached one-token forwards through all 28 layers with 32-token residual buffers, so this includes cache updates, projections, layer overheads, and dispatch.
| Context | OCTOPUS fused | TQ-MSE fused | OCTOPUS vs TQ-MSE |
|---|---|---|---|
| 4k | 21.95 tok/s | 19.65 tok/s | 1.12× faster |
| 16k | 21.89 tok/s | 19.66 tok/s | 1.11× faster |
| 64k | 17.84 tok/s | 15.44 tok/s | 1.16× faster |
At 64k the KV footprint is for OCTOPUS versus for bf16 and for TQ-MSE, a reduction against bf16. OCTOPUS is faster than TurboQuant-MSE at every context length, at essentially the same compression ratio.
Isolated fused kernel (per-triplet compute overhead). A single attention decode at , , , :
| Nominal | OCTOPUS bits/scalar | TQ-MSE bits/scalar | OCTOPUS p50 | TQ-MSE p50 | Ratio |
|---|---|---|---|---|---|
| 2 | 3.344 | 3.125 | 0.254 ms | 0.195 ms | 1.30× |
| 3 | 4.312 | 4.125 | 0.267 ms | 0.242 ms | 1.10× |
| 4 | 5.406 | 5.125 | 0.333 ms | 0.243 ms | 1.37× |
At the octahedral fold and joint rounding contribute p50 and algorithmic operations per step. This isolated-kernel overhead is real and disclosed, but marginalizes out in the full decode workload above because the fused kernel never materializes and the reduction in KV memory traffic is the dominant term at long contexts.
Versus uncompressed bf16 SDPA. At , both codecs sit at a small fraction of bf16 SDPA throughput (OCTOPUS , TQ-MSE ). This is the price of running any KV codec at batch 1 on an H200, where attention is compute-trivial and per-step dispatch dominates. At batch sizes and context lengths that saturate HBM (the deployment regime for long-context serving), the fused kernel never materializes , so KV memory traffic drops by and this ratio narrows accordingly. Both new tables will be added to Appendix G of the final draft.
5oqB-R4 (Q4): Broader LLM benchmarks
We added LongBench (7-task subset), WikiText-2, and C4 evaluations on Qwen2.5-7B-Instruct-1M to Section 4.2 of the final draft:
| Codec | LongBench (7-task subset, ↑) | WikiText-2 PPL (↓) | C4 PPL (↓) | AIME-2024 |
|---|---|---|---|---|
| bf16 baseline | 16.85 | 9.851 | 13.753 | 0/30 |
| OCTOPUS | 15.61 | 11.024 | 14.480 | 0/30 |
| TQ-MSE | 14.68 | 11.081 | 14.669 | 0/30 |
OCTOPUS is above TurboQuant-MSE on all three benchmarks and within points of bf16 on the LongBench subset. LongBench uses Qwen2.5-7B-Instruct-1M on the first 20 test examples of NarrativeQA, Qasper, MultiFieldQA-en, HotpotQA, 2WikiMQA, GovReport, and QMSum (140 total), middle-truncation to tokens, greedy generation up to 128 tokens, token F1 for QA and ROUGE-L F1 for summarization. OCTOPUS is points above TQ-MSE and below bf16 on this capped subset; no significance claim is made at this sample size.
AIME-2024 is inconclusive because bf16 itself scores with 23-26 responses unparsed at the 256-token cap (a Qwen2.5-7B-Instruct issue rather than a codec issue). GPQA-Diamond is gated and could not be evaluated in the rebuttal window; we will include it in the final draft if access is granted.
We hope these responses address the reviewer's concerns, and we would be grateful if the reviewer would consider revisiting their assessment.
We thank the reviewer for characterizing the triplet method as "novel [...] and quite clever", the manuscript as "easy to follow and understand", and the multimodal evaluation as valuable. The reviewer's comments prompted several substantial additions to the paper: the exact-rate scalar-Lloyd ablation on three model families, the calibrated 3-D VQ baseline, the Panter-Dite regime clarification, the systems retest, and the broader LLM benchmark suite. All new material will be incorporated into the final draft.
Before the per-point responses, one framing point that we did not sufficiently emphasize in the paper: OCTOPUS runs unchanged on language, autoregressive video (CausVid, Causal Forcing), and next-scale audio (AAR), because its codebooks depend only on . A calibrated 3-D VQ requires a fresh codebook per model, per layer distribution, and per modality; the multimodal generalization result is not incidental to the design but a direct consequence of avoiding calibration.
5oqB-R1 (W1, Q1, Q2): 3-D Lloyd-Max comparison and MSE-optimality (also Fqq6-W1/Q1 and Rfmj-W2)
Same-rate scalar Lloyd-Max comparison. We ran the exact-rate ablation on three model families (Qwen2.5, SmolLM3, Mistral) at three rates each (), for nine held-out test points in total. The paper's Table 4 diagonal sweep compared allocations against a uniform reference at total budget ; the exact-rate comparison above is at the deployed budget instead, which is the stricter test. OCTOPUS reduces MSE over balanced scalar Lloyd-Max at every one of them:
| Model-budget improvements | 7B | 10B | 13B |
|---|---|---|---|
| Qwen2.5 | −28.5% | −17.4% | −12.9% |
| SmolLM3 | −4.7% | −3.5% | −5.2% |
| Mistral | −5.4% | −5.9% | −8.1% |
Same-rate 3-D VQ. We trained a calibrated generalized-Lloyd (k-means) 3-D VQ on the same three model families at , with one global codebook per (model, rate) shared across all layers and heads, fit on rotated triplets, with float32 centroids at , one deterministic initialization, and 20 Lloyd iterations with no restarts. Test triplets come from disjoint prompts and layers. Codebook storage is for OCTOPUS versus for VQ (a ratio); this is typically negligible in the total memory of the applicable models.
| Model | 3-D VQ vs OCTOPUS at | at |
|---|---|---|
| Qwen2.5 | 5.3% higher (OCTOPUS wins) | 18.3% lower |
| SmolLM3 | 19.9% lower | 23.9% lower |
| Mistral | 19.7% lower | 22.9% lower |
OCTOPUS wins on Qwen2.5 at , and elsewhere the VQ gap is MSE with a codebook larger. We note however that the calibrated VQ does not have a path to a fused attention decode (which reconstructs keys in registers without materializing ) and would have an increased runtime cost. We will clearly narrow the MSE-optimality statement to apply to the structured direction-plus-norm codebook class at any total triplet budget, as we originally intended.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes OCTOPUS, a KV-cache compression codec that quantizes rotated key coordinates in groups of three. Each key is split into a global norm (stored fp32) and a direction, the direction is preconditioned by a sign-flipped Walsh-Hadamard rotation, and the rotated vector is partitioned into contiguous coordinate triplets. Each triplet is then quantized as its norm plus its unit direction on the 2-sphere. The direction is encoded as two scalars on [−1,1]² via the octahedral map from real-time graphics, so independent Lloyd-Max on the two coordinates approximates 2-sphere distortion. A Lagrangian on the per-triplet squared error yields an O(1) direction-versus-norm bit gap, implemented as an asymmetric (b+1, b−1) split. A local 3×3 joint-rounding pass and an optional 1-bit QJL residual (OCTOPUS-QJL) sit on top, and a fused Triton kernel reconstructs keys inside attention without materializing the key tensor. Codebooks depend only on d and the bit budget, so the codec is data-oblivious, online, and calibration-free.
Evaluation spans four modalities at symmetric K=V bit widths of 4, 3, and 2. These are synthetic Gaussian keys at d=128, long-context language modeling (Qwen2.5-7B-Instruct-1M, perplexity and needle-in-a-haystack to 128k), two autoregressive video diffusion models (CausVid, Causal Forcing), and an autoregressive audio model (AAR). Baselines are three rotation codecs that share the same rotation, value codec, and residual window, namely TurboQuant-MSE, TurboQuant-QJL, and PolarQuant. The paper reports that OCTOPUS matches or beats the baselines at most bit widths with a lead that grows as bits drop (Section 4.4 notes a few exceptions, such as PolarQuant at audio b=3), and that at b=2 it is often the only codec avoiding collapse on long-context retrieval and the only one retaining usable video quality.
Strengths and weaknesses
Strengths
-
Generalization Beyond Language Models. Prior rotation-preconditioned KV codecs are tested only on LLMs. OCTOPUS runs the same codec unchanged on autoregressive video (CausVid, Causal Forcing) and audio (AAR) under a byte-identical-noise protocol, and the qualitative collapse of competing codecs at b=2 on video (Fig. 5) shows the low-bit gap is not language-only.
-
A Principled Bit Allocation. The norm-versus-direction split with a derived O(1) bit gap implemented as (b+1, b−1) is the cleanest analytical piece, and the diagonal sweep (Table 4) confirms it is the unique off-diagonal step beating the uniform reference at every b tested.
-
A Data-Oblivious, Online Codec. Codebooks depend only on d and the bit budget, need no calibration, and the fused Triton decode reconstructs keys without materializing the key tensor. The systems realization is real, though the abstract undersells its decode cost (Weakness 3).
Weaknesses
-
The Isolating Baseline Is Missing. The paper's claim is that quantizing rotated coordinate triplets jointly improves on per-coordinate scalar quantization, but it implements the triplet direction as two independent scalar quantizers on the octahedral square. Independent scalar quantization of two correlated coordinates is generally worse than a joint quantizer of the same rate, so it is not clear the method captures the full joint-quantization benefit it motivates. The comparison is only against scalar or per-angle codecs (TurboQuant, PolarQuant), never against a joint vector quantizer on the triplet itself. A same-rate offline comparison against a 3D vector quantizer (a small lattice or k-means) would help show whether the octahedral apparatus is necessary or mainly a convenience. This seems like the most useful experiment to add. For context, QuIP# (Tseng et al., ICML 2024) already pairs a Hadamard rotation with a lattice quantizer for weights, so the value of joint over scalar quantization in a rotated frame is established and worth engaging.
-
The Octahedral Map Is Not Cleanly Isolated. The method bundles triplet blocking, the norm-direction split, the bit allocation, the octahedral map, and joint rounding, but no experiment holds the allocation fixed and swaps only the direction encoding, so it is hard to attribute the gains to the parametrization the paper is named for. The separability assumption is also not directly tested. The decoder renormalizes the folded vector back onto the sphere, so two independent scalar quantizers on the coordinate marginals may not track true spherical distortion. The block size of three also follows from the map existing only on S² rather than from a sweep, and it does not divide the power-of-two head dimensions.
-
The Systems Claim Is Overstated. The abstract says the fused kernel adds no decode-time bandwidth or latency over the existing dequantization, but Table 7 (App. G) shows OCTOPUS decode running slower than the TurboQuant-MSE dequantization it is compared against, up to about 1.8x for the LLM at b=4 (0.66 ms vs 0.37 ms per step). Both are several times slower than bf16 SDPA, which is expected for a KV codec and not the issue. The point is narrower: the latency-parity wording in the abstract is stronger than the table supports, so it could be softened and the per-step overhead reported in the main text.
-
Thin Ablations. Because OCTOPUS is post-training, data-oblivious, and calibration-free, many design choices can be swept against reconstruction and inner-product error on dumped keys without retraining or re-running generation. Yet the two dedicated ablation tables (the bit-split sweep and the rounding-mode comparison) are both synthetic and both at d=128. The missing offline sweeps over real keys, head dimension, block size, direction encoding, and a triplet vector quantizer go directly to the named contribution.
Questions
-
At matched bits, how does OCTOPUS compare against a 3D vector quantizer on the triplet (lattice or k-means)? An offline reconstruction, inner-product, and perplexity gap is sufficient if no fused kernel exists.
-
Holding the triplet decomposition and (b+1, b−1) allocation fixed, how much of the gain over TurboQuant-MSE survives if the octahedral encoding is replaced by spherical angles, raw three-coordinate, or a 2D or 3D direction codebook?
Limitations
Yes
Formatting concerns
None
2 comments
Rebuttal to Fqq6
Fqq6-R3 (W3): Systems claim in the abstract
The same numbers also address 5oqB-W2/Q1 and Rfmj-W3/W4/Q3/Q4/Q6.
The abstract's phrase "adds no decode-time bandwidth or latency" overstates the isolated-kernel measurement and will be revised to "reconstructs keys on the fly from packed indices with a small constant per-step overhead over scalar dequantization" in the final draft.
We retested Qwen2.5-7B systems performance on a dedicated H200 across three measurement scopes, in order of relevance to a deployment decision.
End-to-end Qwen2.5-7B decode (the deployment metric). Measured over cached one-token forwards through all 28 layers with 32-token residual buffers, so this includes cache updates, projections, layer overheads, and dispatch, i.e., the workload a serving system actually pays.
| Context | OCTOPUS fused | TQ-MSE fused | OCTOPUS vs TQ-MSE |
|---|---|---|---|
| 4k | 21.95 tok/s | 19.65 tok/s | 1.12× faster |
| 16k | 21.89 tok/s | 19.66 tok/s | 1.11× faster |
| 64k | 17.84 tok/s | 15.44 tok/s | 1.16× faster |
At 64k the KV footprint is for OCTOPUS versus for bf16 and for TQ-MSE, a reduction against bf16. OCTOPUS is faster than TurboQuant-MSE at every context length, at essentially the same compression ratio ( vs ). This end-to-end table will be added to Appendix G.
Isolated fused kernel (per-triplet compute overhead). A single attention decode at , , , :
| Nominal | OCTOPUS bits/scalar | TQ-MSE bits/scalar | OCTOPUS p50 | TQ-MSE p50 | Ratio |
|---|---|---|---|---|---|
| 2 | 3.344 | 3.125 | 0.254 ms | 0.195 ms | 1.30× |
| 3 | 4.312 | 4.125 | 0.267 ms | 0.242 ms | 1.10× |
| 4 | 5.406 | 5.125 | 0.333 ms | 0.243 ms | 1.37× |
This is the intrinsic cost of the octahedral fold and joint rounding: at it is p50 and algorithmic operations per step. The formats do not expose an exact same-byte pair, so is aligned to the nearest adjacent rate. This overhead marginalizes out in the full decode workload above, where the isolated-kernel disadvantage is offset by the reduction in KV memory traffic.
Versus uncompressed bf16 SDPA. At , both codecs sit at of bf16 SDPA throughput; TurboQuant-MSE is at in the same setup. This is the price of running any KV codec at batch 1 on an H200, where attention is compute-trivial and per-step dispatch dominates. At batch sizes and context lengths that saturate HBM (the deployment regime for long-context serving), the fused kernel never materializes , so KV memory traffic drops by and this ratio narrows accordingly. The bf16 gap at is compute overhead in the fused kernel and is engineering headroom rather than a codec-level limitation.
Fqq6-R4 (W4): Thin ablations
The rebuttal adds four dedicated offline sweeps on real, dumped keys from three model families (Qwen2.5, SmolLM3, Mistral) rather than only synthetic Gaussians at , as the reviewer suggested:
- Exact-rate scalar Lloyd-Max. OCTOPUS wins all 9 points, see Fqq6-R1
- Same-rate 3-D VQ. OCTOPUS wins Qwen ; Pareto-optimal elsewhere, see Fqq6-R1
- Direction encoding. Octahedral wins all 10 (5 codecs × 2 rates), see Fqq6-R2
- Head-dimension sensitivity. MSE stable across range in , see Fqq6-R5
We also swept the head dimension across a factor of eight () at the deployed split on rotated Qwen triplets. Reconstruction is essentially flat across the full range:
| Head dimension | MSE | MSE |
|---|---|---|
| 64 | 0.08584 | 0.02534 |
| 128 | 0.08327 | 0.02433 |
| 256 | 0.08543 | 0.02495 |
| 512 | 0.08407 | 0.02459 |
The result is quality-only; the fused kernel currently supports up to (a compile-time choice, not an algorithmic one). Because for all four tested head dimensions, these numbers are for the tail-padded branch discussed in Fqq6-R2: the padding overhead is at and at relative to a -divisible baseline. This table will be added to Appendix E of the final draft.
Fqq6-R6: QuIP# citation
We will cite QuIP# (Tseng et al., ICML 2024) as prior evidence for pairing a Hadamard rotation with a lattice / VQ. QuIP# is a good reference point for rotate-plus-VQ on weights with per-model calibration; OCTOPUS is the analogous construction for the online, calibration-free, multimodal KV regime, where a per-model VQ codebook would need to be re-fit for every new decoder, layer distribution, or modality. The two constructions are complementary rather than competing.
We hope these responses resolve the reviewer's concerns, and we would be grateful if the reviewer would consider updating their assessment.
We thank the reviewer for the detailed engagement with the attribution question, the recognition of the multimodal scope, and the pointer to QuIP#. We provide the two experiments requested and clarify the systems and geometric points.
Fqq6-R1 (W1, Q1): Isolating baseline against 3-D VQ (also 5oqB-W1/Q1/Q2 and Rfmj-W2)
Same-rate scalar Lloyd-Max comparison. We ran the exact-rate ablation on three model families (Qwen2.5, SmolLM3, Mistral) at three rates each (), for nine held-out test points in total. The paper's Table 4 diagonal sweep compared allocations against a uniform reference at total budget ; the exact-rate comparison above is at the deployed budget instead, which is the stricter test. OCTOPUS reduces MSE over balanced scalar Lloyd-Max at every one of them:
| Model-budget improvements | 7B | 10B | 13B |
|---|---|---|---|
| Qwen2.5 | −28.5% | −17.4% | −12.9% |
| SmolLM3 | −4.7% | −3.5% | −5.2% |
| Mistral | −5.4% | −5.9% | −8.1% |
Same-rate 3-D VQ. We trained a calibrated generalized-Lloyd (k-means) 3-D VQ on the same three model families at , with one global codebook per (model, rate) shared across all layers and heads, fit on rotated triplets, with float32 centroids at , one deterministic initialization, and 20 Lloyd iterations with no restarts. Test triplets come from disjoint prompts and layers. Codebook storage is for OCTOPUS versus for VQ (a ratio); this is typically negligible in the total memory of the applicable models.
| Model | 3-D VQ vs OCTOPUS at | at |
|---|---|---|
| Qwen2.5 | 5.3% higher (OCTOPUS wins) | 18.3% lower |
| SmolLM3 | 19.9% lower | 23.9% lower |
| Mistral | 19.7% lower | 22.9% lower |
OCTOPUS wins on Qwen2.5 at , and elsewhere the VQ gap is MSE with a codebook larger. We note however that the calibrated VQ does not have a path to a fused attention decode (which reconstructs keys in registers without materializing ) and would have an increased runtime cost. We will clearly narrow the MSE-optimality statement to apply to the structured direction-plus-norm codebook class at any total triplet budget, as we originally intended.
Fqq6-R2 (W2, Q2): Isolating the octahedral map (also Rfmj-Q1)
We ran a five-way direction-encoding ablation on Qwen keys at , holding triplet decomposition, allocation, norm codebook, norm bits, and total budget fixed and swapping only the direction encoding. The octahedral map is the best of five options tested at both rates:
| OCTOPUS (ours) | Spherical angles | Raw Cartesian | Oct-pair VQ | Spherical VQ | |
|---|---|---|---|---|---|
| 7 | 7.775 | 10.453 (+34.4%) | 11.400 (+46.6%) | 9.643 (+24.0%) | 8.158 (+4.9%) |
| 10 | 2.882 | 3.006 (+4.3%) | 5.332 (+85.1%) | 2.978 (+3.3%) | 2.943 (+2.1%) |
Spherical angles use uniform azimuth plus a calibrated polar codebook; raw Cartesian uses balanced scalar Lloyd tables followed by renormalization; oct-pair and spherical VQ use calibrated 2-D and spherical centroids respectively. Even against a learned spherical VQ, OCTOPUS is lower MSE with a codebook smaller and a fused, calibration-free decode. This table will be added to the manuscript.
On the separability assumption. Two independent scalar quantizers on are not equivalent to a true 2-sphere quantizer; the constant-per-octant Jacobian of the octahedral map keeps the two induced distortions comparable, and the final decoder renormalization projects back to . The direction-encoding ablation above measures the net effect: even against direction encodings that avoid this approximation (spherical VQ), the octahedral map is empirically better at all tested rates.
On the triplet block size. The block size of three is a design choice rather than a geometric necessity. Triplets were selected because (i) the octahedral map is the standard equal-area encoding in real-time graphics with a well-understood fused decode, and (ii) it aligns naturally with the norm-plus-direction split of Section 3.2. The octahedral parametrization does generalize to other block sizes via analogous piecewise-linear maps on higher-dimensional cross-polytopes; a systematic sweep over block sizes is outside the scope of this submission and would require a set of block-size-specific fused kernels. For head dimensions where (e.g., the standard ), we zero-pad the last one or two coordinates so that the number of triplets is . This "tail padding" branch changes Qwen MSE by only at and at relative to a -divisible baseline (see Fqq6-R5). We will state this explicitly in Section 3.2 and add a limitations note in Section 5 of the final draft.
Comments on the paper
1 comment
We thank the reviewers for the consistent recognition of OCTOPUS's core strengths. Fqq6 describes the bit allocation as "the cleanest analytical piece", notes that the codec runs "unchanged" on language, video, and audio, and highlights that its codebooks "need no calibration". 5oqB characterizes the triplet method as "novel [...] and quite clever" and the manuscript as "easy to follow and understand". Rfmj emphasizes the "technical novelty and theoretical basis" and "validation on multiple modalities". The reviewers' comments have substantially improved the manuscript: they prompted the exact-rate scalar-Lloyd ablation, the calibrated 3-D VQ baseline, the direction-encoding isolation, the retested end-to-end throughput on H200, and the broader LLM benchmark suite reported below. We will incorporate every new experiment, table, and clarification into the final draft.
When the same concern was raised by more than one reviewer, each reviewer's section carries the full self-contained answer, with a short note that the same result also addresses the other reviewers' points. They are direct copies of the same answers, for ease of reading.
Please note:
- denotes the information-bit budget per triplet. The deployed OCTOPUS format uses , totalling bits per triplet.
- All quality numbers use held-out prompts and layers; systems numbers use the fused Triton kernels on a dedicated NVIDIA H200.
Summary of new experiments and findings.
-
Exact-rate scalar Lloyd-Max ablation on three model families (Fqq6-W1 "The Isolating Baseline Is Missing"; also 5oqB-Q1, Rfmj-Q7). We ran the exact-rate ablation on three model families (Qwen2.5, SmolLM3, Mistral) at three rates each (), for nine held-out test points in total. OCTOPUS reduces MSE over balanced scalar Lloyd-Max at every one of them, by on SmolLM3 and Mistral and on Qwen2.5. The paper's Table 4 sweep used a uniform reference rather than the deployed rate; the exact-rate comparison in the rebuttal is the stricter test. See Fqq6-R1, 5oqB-R1.
-
Same-rate 3-D VQ comparison, MSE-optimality claim retained in scoped form (5oqB-W1 "why not directly apply a 3-D Lloyd-Max?"; also 5oqB-Q2, Fqq6-W1/Q1, Rfmj-W2). We trained a calibrated generalized-Lloyd (k-means) 3-D VQ baseline (one global codebook per (model, rate) on rotated triplets), the strongest 3-D alternative under squared error, and evaluated it on the same three model families. OCTOPUS beats the calibrated VQ on Qwen2.5 at () by MSE; elsewhere VQ leads by MSE, but requires per-model calibration of a learned codebook (vs. analytic for OCTOPUS). We note however that the calibrated VQ does not have a path to a fused attention decode (which reconstructs keys in registers without materializing ) and would have an increased runtime cost. We also retain the MSE-optimality claim in its intended scope: within the structured direction-plus-norm codebook class, the Lagrangian stationarity of Eq. 10 is the MSE optimum, and Table 4 verifies that is the empirical optimum at every finite tested. See Fqq6-R1, 5oqB-R1.
-
Direction-encoding isolation (Fqq6-W2 "The Octahedral Map Is Not Cleanly Isolated"; also Fqq6-Q2, Rfmj-Q1). We ran a five-way direction-encoding ablation on Qwen keys at , holding triplet decomposition, allocation, norm codebook, and total budget fixed and swapping only the direction encoding. The octahedral map is the best of five options tested (vs. spherical angles, raw Cartesian, oct-pair VQ, spherical VQ), by over the learned spherical VQ and over the scalar alternatives. See Fqq6-R2.
-
End-to-end systems retest on H200 (Fqq6-W3 "The Systems Claim Is Overstated"; also 5oqB-W2/Q1, Rfmj-W3/W4/Q3/Q4/Q6). We retested end-to-end Qwen2.5-7B decode on a dedicated H200 across 4k, 16k, and 64k contexts, along with the isolated fused kernel and the bf16 SDPA baseline. OCTOPUS is faster than TurboQuant-MSE end-to-end at every tested context, at a KV cache footprint reduction against bf16. The isolated fused kernel remains slower per-triplet than TQ-MSE, an intrinsic overhead of the octahedral fold that marginalizes away in the full decode workload. The abstract's "no decode-time latency" phrasing will be softened in the final draft. See Fqq6-R3, 5oqB-R3, Rfmj-R5.
-
Broader LLM evaluation (5oqB-Q4, Rfmj-W2). We added LongBench (7-task subset), WikiText-2, and C4 evaluations on Qwen2.5-7B-Instruct-1M. OCTOPUS is above TurboQuant-MSE on all three benchmarks and within points of bf16 on the LongBench subset. See 5oqB-R4.
Please note: we require two 5k-character posts per reviewer for our full rebuttal.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rfmj-R5 (Q3, Q4, Q6, W3, W4): End-to-end throughput, decode latency, and decode-arithmetic overhead (also Fqq6-W3/Q3 and 5oqB-W2/Q1)
We retested Qwen2.5-7B systems performance on a dedicated H200 across three measurement scopes, from most to least relevant to a deployment decision.
End-to-end Qwen2.5-7B decode (the deployment metric). Measured over 256 cached one-token forwards through all 28 layers with 32-token residual buffers.
At 64k the KV footprint is 1.382GiB for OCTOPUS versus 3.513GiB for bf16 and 1.344GiB for TQ-MSE (a 2.54× reduction against bf16). Because Qwen2.5-7B KV memory grows linearly in context (28 layers × 2 (K, V) × 4 KV heads × 128 × 2 bytes = 56KiB/token), the same 2.5× compression holds at 4k and 16k as well. At identical compression, OCTOPUS is faster than TurboQuant-MSE at every context length in the full-decode workload. The gap to uncompressed bf16 SDPA is 0.28−0.34×, and reflects a codec-vs-uncompressed cost that TurboQuant-MSE pays as well (0.24−0.31×) at this batch size.
Isolated fused kernel (per-triplet compute overhead). A single attention decode at B=1, Hkv=4, d=128, T=65,536:
At b=3 the octahedral fold and joint rounding contribute +11.27M operations, +1.50MiB of key traffic, and +0.025ms p50 relative to TQ-MSE's per-triplet cost. This is the intrinsic compute overhead, and it marginalizes away in the full decode workload above because the fused kernel never materializes K^ and the 2.5× HBM-traffic reduction is the dominant term at long contexts. The abstract's "no decode-time latency" phrasing will be softened accordingly in the final draft. Both new tables will be added to Appendix G.
Rfmj-R6 (Q5): Sensitivity to larger head dimensions
We swept the head dimension across a factor of eight (d∈64,128,256,512) at the deployed (b+1,b−1) split on rotated Qwen triplets. MSE is essentially flat across the full 8× range:
The d=512 result is reconstruction-only; the fused kernel supports up to d=256 as a compile-time bound rather than an algorithmic one. Because dmod3=0 for all four tested head dimensions, these numbers are for the tail-padded branch (last one or two coordinates zero-padded so the number of triplets is ⌈d/3⌉): the padding overhead is +0.06 at B=7 and +2.14 at B=10 relative to a d-divisible baseline. This table will be added to Appendix E of the final draft.
Rfmj-R7 (Q7): Does (b+1,b−1) remain optimal across model families?
We verified the (b+1,b−1) split on three model families (Qwen2.5, SmolLM3, Mistral) at three rates each (B∈7,10,13). At the deployed 3b+1 operating point, the split reduces MSE over balanced scalar Lloyd-Max at every one of the nine tested points:
At fixed B∈6,9,12 (uniform-reference budgets), the diagonal sweep also confirms (b+1,b−1) as the empirical minimum at every b∈2,3,4 on all three model families, consistent with Section 3.3 Table 4 on synthetic Gaussians at d=128. The dimension independence predicted by Eq. 10 also holds empirically in Rfmj-R6, so the allocation is stable both across model families and across head dimensions. This cross-family verification will be added to the manuscript.
We hope these responses resolve the reviewer's concerns, and we would be grateful if the reviewer would consider updating their assessment.