eXmY: A Data Type and Technique for Arbitrary Bit Precision Quantization
Not on the map. Why?
Abstract (arXiv)
eXmY is a novel data type for quantization of ML models. It supports both arbitrary bit widths and arbitrary integer and floating point formats. For example, it seamlessly supports 3, 5, 6, 7, 9 bit formats. For a specific bit width, say 7, it defines all possible formats e.g. e0m6, e1m5, e2m4, e3m3, e4m2, e5m1 and e6m0. For non-power of two bit widths e.g. 5, 6, 7, we created a novel encoding and decoding scheme which achieves perfect compression, byte addressability and is amenable to sharding and vector processing. We implemented libraries for emulation, encoding and decoding tensors and checkpoints in C++, TensorFlow, JAX and PAX. For optimal performance, the codecs use SIMD instructions on CPUs and vector instructions on TPUs and GPUs. eXmY is also a technique and exploits the statistical distribution of exponents in tensors. It can be used to quantize weights, static and dynamic activations, gradients, master weights and optimizer state. It can reduce memory (CPU DRAM and accelerator HBM), network and disk storage and transfers. It can increase multi tenancy and accelerate compute. eXmY has been deployed in production for almost 2 years.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 40 of its 60 references that are in the map. First posted on arXiv 22 May 2024.
Builds on
40 of 60 references.
References · 40
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
28 more
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
- 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 903
- 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 861
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 815
- 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 807
- 2024QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMscited by 634
- 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 526
- 2020TyDi QA: A Benchmark for Information-Seeking Question Answering in Typologically Diverse Languagescited by 488
- 2021A White Paper on Neural Network Quantizationcited by 472
- 2016A Corpus and Evaluation Framework for Deeper Understanding of Commonsense Storiescited by 417
- 2019HAWQ: Hessian AWare Quantization of Neural Networks with Mixed-Precisioncited by 402
- 2018QuAC : Question Answering in Contextcited by 381
- 2018WiC: the Word-in-Context Dataset for Evaluating Context-Sensitive Meaning Representationscited by 372
- 2019Deep Learning Recommendation Model for Personalization and Recommendation Systemscited by 327
- 2019HAWQ-V2: Hessian Aware trace-Weighted Quantization of Neural Networkscited by 261
- 2023TPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddingscited by 202
- 2018ReCoRD: Bridging the Gap between Human and Machine Commonsense Reading Comprehensioncited by 200
- 2020Integer Quantization for Deep Learning Inference: Principles and Empirical Evaluationcited by 188
- 2023Quantizable Transformers: Removing Outliers by Helping Attention Heads Do Nothingcited by 151
- 2023LLM-FP4: 4-Bit Floating-Point Quantized Transformerscited by 69
- 2020HAWQV3: Dyadic Neural Network Quantizationcited by 60
- 2022Optimal Clipping and Magnitude-aware Differentiation for Improved Quantization-aware Trainingcited by 26
- 2019Mixed Precision Training With 8-bit Floating Pointcited by 23
- 2023Unit Scaling: Out-of-the-Box Low-Precision Trainingcited by 17
- 2021PERCIVAL: Open-Source Posit RISC-V Core with Quire Capabilitycited by 4
- 2023Augmenting Hessians with Inter-Layer Dependencies for Mixed-Precision Post-Training Quantizationcited by 3
Built on by
Citing papers per year: 2024: 1; 2025: 4; 2026: 2.
7 papers.
- 2025Streaming DiLoCo with overlapping communication: Towards a Distributed Free Lunchcited by 28
- 2025Eager Updates For Overlapped Communication and Computation in DiLoCocited by 11
- 2025SPD: Sync-Point Drop for Efficient Tensor Parallelism of Large Language Modelscited by 6
- 2024Scaling Laws for Post Training Quantized Large Language Modelscited by 4
- 2025Tilus: A Tile-Level GPGPU Programming Language for Low-Precision Computationcited by 3
- 2026Single-Stage Huffman Encoder for ML Compressioncited by 2
- 2026Quad Length Codes for Lossless Compression of e4m3cited by 1
- 2026Quad Length Codes for Lossless Compression of e4m319 Feb 2026
- 2026Single-Stage Huffman Encoder for ML Compression15 Jan 2026
- 2025Tilus: A Tile-Level GPGPU Programming Language for Low-Precision Computation17 Apr 2025
- 2025SPD: Sync-Point Drop for Efficient Tensor Parallelism of Large Language Models28 Feb 2025
- 2025Eager Updates For Overlapped Communication and Computation in DiLoCo18 Feb 2025
- 2025Streaming DiLoCo with overlapping communication: Towards a Distributed Free Lunch30 Jan 2025
- 2024Scaling Laws for Post Training Quantized Large Language Models15 Oct 2024
Similar, not cited
Close in wording, no citation either way
- 2023Integer or Floating Point? New Outlooks for Low-Bit Quantization on Large Language Models
- 2024EXAQ: Exponent Aware Quantization For LLMs Acceleration
- 2025Scaling Laws for Floating Point Quantization Training
- 2026EVA: Accelerating LLM Decoding via an Efficient Vector Quantization Architecture
- 2022An Empirical Study of Low Precision Quantization for TinyML
- 2026Is Finer Better? The Limits of Microscaling Formats in Large Language Models
- 2022FP8 Quantization: The Power of the Exponent
- 2023A Speed Odyssey for Deployable Quantization of LLMs