Every Bit Counts: A Theoretical Study of Precision-Expressivity Tradeoffs in Quantized Transformers
Not on the map. Why?
Abstract (arXiv)
Quantization reduces the numerical precision of Transformer computations and is widely used to accelerate inference, yet its effect on expressivity remains poorly characterized. We demonstrate a fine-grained theoretical tradeoff between expressivity and precision: For every p we exhibit a function Gamma, inspired by the equality function, and prove that a one-layer softmax Transformer can compute Gamma, with p bits of precision, but not with p-1 bits of precision. This result concretely explains the widely observed phenomenon of empirical loss of expressivity when quantization is used. Practically, it suggests that tasks requiring equality-like comparisons (exact match, membership, etc.) are especially sensitive to quantization. Dropping even one bit can cross a threshold where the model cannot represent the needed comparison reliably. Thus, it paves the way for developing heuristics that will help practitioners choose how much quantization is possible: the precision should be chosen as a function of the length of equality to be checked for the specific task. Our proofs combine explicit finite-precision Transformer constructions with communication-complexity lower bounds, yielding a tight "one-bit" threshold.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 78 of its 96 references that are in the map. First posted on arXiv 2 Feb 2026.
Builds on
78 of 96 references.
References · 78
- 2017Attention Is All You Needcited by 59,932
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2025Qwen3 Technical Reportcited by 8,195
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 1,838
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
38 more
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2020Reformer: The Efficient Transformercited by 1,658
- 2020Rethinking Attention with Performerscited by 1,584
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,528
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,278
- 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,234
- 2017Mixed Precision Trainingcited by 1,135
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
- 2016XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networkscited by 829
- 2019Are Sixteen Heads Really Better than One?cited by 803
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
- 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 600
- 2015BinaryConnect: Training Deep Neural Networks with binary weights during propagationscited by 571
- 2016DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradientscited by 557
- 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 517
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
- 2018PACT: Parameterized Clipping Activation for Quantized Neural Networkscited by 456
- 2016Quantized Neural Networks: Training Neural Networks with Low Precision Weights and Activationscited by 413
- 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 403
- 2023SpQR: A Sparse-Quantized Representation for Near-Lossless LLM Weight Compressioncited by 359
- 2019Q8BERT: Quantized 8Bit BERTcited by 296
- 2024The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bitscited by 289
- 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 286
- 2021I-BERT: Integer-only BERT Quantizationcited by 250
- 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 198
- 2022The Parallelism Tradeoff: Limitations of Log-Precision Transformerscited by 191
- 2022FP8 Formats for Deep Learningcited by 187
- 2022On The Computational Complexity of Self-Attentioncited by 137
- 2023Representational Strengths and Limitations of Transformerscited by 132
- 2019On the Turing Completeness of Modern Neural Network Architecturescited by 129
- 2023Fast Attention Requires Bounded Entriescited by 102
- 2022LUT-GEMM: Quantized Matrix Multiplication based on LUTs for Efficient Inference in Large-Scale Generative Language Modelscited by 98
- 2023Linear attention is (maybe) all you need (to understand transformer optimization)cited by 97
- 2022Formal Language Recognition by Hard Attention Transformers: Perspectives from Circuit Complexitycited by 92
50 most cited of 78 All 78 (JSON)
Built on by
Not cited yet.