SHq: Learnable Grids for LLM Weight Quantization
Not on the map. Why?
Abstract (arXiv)
Block-scaled lookup-table (LUT) formats, which represent weights as indices into a small value set (the grid), have become standard for low-bit LLM quantization, ranging from NF4 and BOF4 to the 3-bit LUT instruction in NVIDIA Rubin. While these formats leave the grid definition flexible, existing implementations rely on fixed grids derived either from numerical data types (INT, FP) or assumed weight distributions (NF, BOF). We demonstrate that no single fixed grid is universally optimal; the best fixed grid varies with bit-width: BOFS at 2 bits, NF at 4 and 5 bits, and INT at 6 bits. We introduce SHq, a closed-form family of grids parameterized by two critical degrees of freedom: a companding strength α that interpolates level spacing from uniform to floating-point-like, and an offset c that introduces asymmetry. This offset allows the sign bit of the FP8 block scale, otherwise unused, to select between the grid and its mirror image, up to doubling the number of distinct values available per block. SHq modifies only the lookup table contents and serves as a drop-in replacement for the grid in any such format. Across five models ranging from 3B to 35B parameters, including a mixture-of-experts architecture, evaluated at 2-6 bits using RTN and GPTQ, SHq achieves the lowest KL divergence in every setting at 3 and 4 bits and in most settings at 2, 5 and 6 bits. It outperforms the best fixed grid by up to 34% and remains superior under mixed-precision configurations. At 4.5 bits per weight, the SHq format reduces the KL divergence of NVFP4 by 41-67% while improving downstream accuracy. Grid families incorporating both spacing and offset parameters perform comparably, whereas those lacking an offset exhibit clearly higher error, confirming that these two degrees of freedom drive the observed gains. We therefore propose SHq as the standard grid for block-scaled lookup-table formats.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 44 of its 57 references that are in the map. Submitted 2 Nov 2026.
Builds on
44 of 57 references.
References · 44
- 2020Measuring Massive Multitask Language Understandingcited by 8,473
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 5,337
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,389
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,620
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 3,053
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 2,115
- 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,450
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 978
- 2023SqueezeLLM: Dense-and-Sparse Quantizationcited by 330
- 2024Extreme Compression of Large Language Models via Additive Quantizationcited by 268
- 2022FP8 Formats for Deep Learningcited by 244
- 2024Lessons from the Trenches on Reproducible Evaluation of Language Modelscited by 211
32 more
- 2023Microscaling Data Formats for Deep Learningcited by 195
- 2024QTIP: Quantization with Trellises and Incoherence Processingcited by 118
- 2025Pretraining Large Language Models with NVFP4cited by 102
- 2024Accuracy is Not All You Needcited by 48
- 2025Bridging the Gap Between Promise and Performance for Microscaling FP4 Quantizationcited by 48
- 2025Four Over Six: More Accurate NVFP4 Quantization with Adaptive Block Scalingcited by 45
- 2021Learnable Companding Quantization for Accurate Low-bit Neural Networkscited by 43
- 2024Fast Matrix Multiplications for Lookup Table-Quantized LLMscited by 36
- 2023FP8 versus INT8 for efficient deep learning inferencecited by 34
- 2025Model-Preserving Adaptive Roundingcited by 34
- 2024EvoPress: Accurate Dynamic Model Compression via Evolutionary Searchcited by 28
- 2024Pushing the Limits of Large Language Model Quantization via the Linearity Theoremcited by 22
- 2023PowerQuant: Automorphism Search for Non-Uniform Quantizationcited by 21
- 2023Integer or Floating Point? New Outlooks for Low-Bit Quantization on Large Language Modelscited by 20
- 2024Learning from Students: Applying t-Distributions to Explore Accurate and Efficient Formats for LLMscited by 19
- 2025M-ANT: Efficient Low-bit Group Quantization for LLMs via Mathematically Adaptive Numerical Typecited by 17
- 2026GSQ: Highly-Accurate Low-Precision Scalar Quantization for LLMs via Gumbel-Softmax Samplingcited by 13
- 2025RaZeR: Pushing the Limits of NVFP4 Quantization with Redundant Zero Remappingcited by 9
- 2025Q-Palette: Fractional-Bit Quantizers Toward Optimal Bit Allocation for Efficient LLM Deploymentcited by 9
- 2026Displacement Is Not Direction: Evaluating Fidelity Metrics for Quantized LLM Deploymentcited by 8
- 2023FLIQS: One-Shot Mixed-Precision Floating-Point and Integer Quantization Searchcited by 7
- 2026Statistically-Lossless Quantization of Large Language Modelscited by 7
- 2025Improving Block-Wise LLM Quantization by 4-bit Block-Wise Optimal Float (BOF4): Analysis and Variationscited by 6
- 2026Adaptive Block-Scaled Data Typescited by 6
- 2026Model Compression with Exact Budget Constraints via Riemannian Manifoldscited by 6
- 2026Grid Games: The Power of Multiple Grids for Quantizing Large Language Modelscited by 3
- 2026MixFP4: Enhancing NVFP4 with Adaptive FP4/INT4 Block Representationscited by 3
- 2026ScaleSweep: Accurate NVFP4 Post-Training Quantization of LLMs via Block Scale Initializationcited by 3
- 2026AAAC: Activation-Aware Adaptive Codebooks for 4-bit LLM Weight Quantizationcited by 2
- 2026Signed Symmetric Quantization for Few-Bit Integerscited by 2
- 2026A Hardware-Aware, Per-Layer Methodology for Post-Training Quantization of Large Language Modelscited by 1
- 2026CubicQuant: Parametric Non-Uniform Codebooks for High-Throughput LLM Inference with 1-8-Bit Weightscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2023ZeroQuant-FP: A Leap Forward in LLMs Post-Training W4A8 Quantization Using Floating-Point Formats
- 2026Breaking the Blocks: Continuous Low-Rank Decomposed Scaling for Unified LLM Quantization and Adaptation
- 2025Calibration and Transformation-Free Weight-Only LLMs Quantization via Dynamic Grouping
- 2026D2Quant: Accurate Low-bit Post-Training Weight Quantization for LLMs
- 2025The Geometry of LLM Quantization: GPTQ as Babai's Nearest Plane Algorithm
- 2024Accurate Block Quantization in LLMs with Outliers
- 2026HBQ: Hierarchical Scaling Block Quantization with Hardware-Efficiency-Aware Design for Accurate LLM Inference
- 2025WUSH: Near-Optimal Adaptive Transforms for LLM Quantization