RotaryQuant: Fitting 120B MoE Models on Consumer Hardware via Fused Compressed-Space Attention

arXiv:2608.08081 2026 Memory 1 ideas extracted · analyzed Sep 1, 2026

What the math gives to ML

The paper offers a transferable memory-compression design for attention: apply a structured orthogonal mixing transform to KV vectors before low-bit scalar quantization, then perform attention without reconstructing full-precision cache tensors. The mathematical asset is preservation of dot products under orthogonal transforms, combined with Walsh-Hadamard mixing and small block-diagonal SO(4) rotations that can distribute heavy-tailed coordinates more evenly. This can reduce the worst-channel error that often dominates 3-bit KV quantization while requiring only fast structured transforms rather than dense learned rotations. The first implementation should target decoder-only attention with calibration-learned block rotations and a fused dequantize-and-matmul kernel, measuring perplexity, cache size, and decode bandwidth.

Ideas from this paper

Mechanism confirmed, baseline not beaten 2026

Orthogonally mixed 3-bit KV cache

Replace ordinary per-channel or per-token KV quantization with a structured orthogonal transform followed by blockwise 3-bit quantization. Use a normalized Walsh-Hadamard transform and small SO(4) rotations to spread outliers across coordinates, quantize the transformed vectors, and exploit orthogonality to rotate queries and attention outputs so unquantized attention remains mathematically equivalent.

Useful7/10
Difficulty6/10
Novelty6/10
Paper: RotaryQuant: Fitting 120B MoE Models on Consumer Hardware via Fused Compressed-Space Attention arXiv:2608.08081