IsoQuant: Hardware-Aligned SO(4) Isoclinic Rotations for LLM KV Cache Compression

Abstract

Orthogonal feature decorrelation is effective for low-bit online vector quantization, but dense random orthogonal transforms incur prohibitive O(d2) storage and compute. RotorQuant reduces this cost with blockwise 3D Clifford rotors, yet the resulting 3D partition is poorly aligned with modern hardware and offers limited local mixing. We propose IsoQuant, a blockwise rotation framework based on quaternion algebra and the isoclinic decomposition of SO(4). It represents each 4D block as a quaternion and applies a closed-form transform T(v)=qL v qR. This yields two main variants: IsoQuant-Full, which realizes the full SO(4) rotation, and IsoQuant-Fast, which keeps only one isoclinic factor for lower cost; the framework also admits a lightweight 2D special case. At d=128, IsoQuant-Full reduces forward rotation cost from about 2,408 FMAs in RotorQuant to 1,024, while IsoQuant-Fast further reduces it to 512. Across 18 fused CUDA settings with d ∈ 128,256,512, bit widths 2,3,4, and FP16/FP32 execution, IsoQuant achieves mean kernel-level speedups of about 4.5×--4.7× over RotorQuant while maintaining comparable reconstruction MSE, with peak speedups above 6×. Current validation is limited to the stage-1 quantize--dequantize path on synthetic normalized vectors; end-to-end KV-cache evaluation remains future work.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…