HyperHadamard: Layout-Aware Hadamard Transforms on Tensor Cores
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 19:13 UTC · b5f7be3dd725 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "W9gciOf15Z"- }- ],- "title": "HyperHadamard: Layout-Aware Hadamard Transforms on Tensor Cores",- "authors": [],- "abstract": "Low-bit quantization is an appealing way to cut the memory and bandwidth cost of large language models. But activation outliers make few-bit quantization unstable, and rotation-based methods address them by mixing channels before quantization. The Hadamard transform is the rotation of choice because it admits a fast algorithm. Tensor-core FWHT kernels made these rotations cheap enough to deploy, but at large rotation dimensions existing kernels sustain only 42--77\\% of achievable memory bandwidth, even though the transform is memory-bound. We identify intermediate-layout materialization as a source of excess instructions and dependency stalls. We propose HyperHadamard, which treats butterfly stages as rotations along the binary axes of a hypercube and assigns those axes to tensor-core register layouts at compile time, so intermediate transposes become metadata rather than data movement. At rotation dimensions large enough for these overheads to dominate, HyperHadamard is up to 1.59$\\times$ faster than HadaCore, the tensor-core FWHT used in vLLM, and stays within 1.7\\% of achievable memory bandwidth. Together with a gather remap and a fused sign load, a true-FP32 instantiation of the same schedule speeds up a billion-dimensional randomized gradient projection used for training-data selection by 1.75$\\times$ while remaining bit-exact. The same design supports non-power-of-two transforms built from available catalog Hadamard matrices, whereas prior fast kernels expose only power-of-two and selected fixed-factor sizes. Integrated into vLLM, a Llama-3.1-8B QuIP W4A16 model produced by llm-compressor runs 14.7$\\times$ faster end to end than vLLM's dense GEMM path and 1.9$\\times$ faster than the same factorization assembled from Dao-AILab kernels and cuBLAS, with no measurable change in perplexity or zero-shot accuracy.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "974e7dc3-f9e9-424f-a4f0-3bf27b49c41a"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "HyperHadamard: Layout-Aware Hadamard Transforms on Tensor Cores",+ "authors": [],+ "abstract": "Low-bit quantization is an appealing way to cut the memory and bandwidth cost of large language models. But activation outliers make few-bit quantization unstable, and rotation-based methods address them by mixing channels before quantization. The Hadamard transform is the rotation of choice because it admits a fast algorithm. Tensor-core FWHT kernels made these rotations cheap enough to deploy, but at large rotation dimensions existing kernels sustain only 42--77\\% of achievable memory bandwidth, even though the transform is memory-bound. We identify intermediate-layout materialization as a source of excess instructions and dependency stalls. We propose HyperHadamard, which treats butterfly stages as rotations along the binary axes of a hypercube and assigns those axes to tensor-core register layouts at compile time, so intermediate transposes become metadata rather than data movement. At rotation dimensions large enough for these overheads to dominate, HyperHadamard is up to 1.59$\\times$ faster than HadaCore, the tensor-core FWHT used in vLLM, and stays within 1.7\\% of achievable memory bandwidth. Together with a gather remap and a fused sign load, a true-FP32 instantiation of the same schedule speeds up a billion-dimensional randomized gradient projection used for training-data selection by 1.75$\\times$ while remaining bit-exact. The same design supports non-power-of-two transforms built from available catalog Hadamard matrices, whereas prior fast kernels expose only power-of-two and selected fixed-factor sizes. Integrated into vLLM, a Llama-3.1-8B QuIP W4A16 model produced by llm-compressor runs 14.7$\\times$ faster end to end than vLLM's dense GEMM path and 1.9$\\times$ faster than the same factorization assembled from Dao-AILab kernels and cuBLAS, with no measurable change in perplexity or zero-shot accuracy.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}