Multiplication-Free Transformer Training via Piecewise Affine Operations
Not on the map. Why?
Abstract (arXiv)
Multiplications are responsible for most of the computational cost involved in neural network training and inference. Recent research has thus looked for ways to reduce the cost associated with them. Inspired by Mogami (2020), we replace multiplication with a cheap piecewise affine approximation that is achieved by adding the bit representation of the floating point numbers together as integers. We show that transformers can be trained with the resulting modified matrix multiplications on both vision and language tasks with little to no performance impact, and without changes to the training hyperparameters. We further replace all non-linearities in the networks making them fully and jointly piecewise affine in both inputs and weights. Finally, we show that we can eliminate all multiplications in the entire training process, including operations in the forward pass, backward pass and optimizer update, demonstrating the first successful training of modern neural network architectures in a fully multiplication-free fashion.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 26 of its 37 references that are in the map. First posted on arXiv 26 May 2023.
Builds on
26 of 37 references.
References · 26
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,546
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,488
- 2017Mixed Precision Trainingcited by 1,156
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 815
- 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 618
14 more
- 2019On the Relationship between Self-Attention and Convolutional Layerscited by 300
- 2019A Study of BFLOAT16 for Deep Learning Trainingcited by 232
- 2022Patches Are All You Need?cited by 201
- 2018Training Deep Neural Networks with 8-bit Floating Point Numberscited by 164
- 2019AdderNet: Do We Really Need Multiplications in Deep Learning?cited by 82
- 2017Training Quantized Nets: A Deeper Understandingcited by 75
- 2017Flexpoint: An Adaptive Numerical Format for Efficient Training of Deep Neural Networkscited by 44
- 2018Training DNNs with Hybrid Block Floating Pointcited by 40
- 2018Rethinking floating point for deep learningcited by 22
- 2019Accumulation Bit-Width Scaling For Ultra-Low Precision Training Of Deep Networkscited by 11
- 2020The Effects of Approximate Multiplication on Convolutional Neural Networkscited by 10
- 2021Min-Max-Plus Neural Networkscited by 8
- 2021An Alternative Practice of Tropical Convolution to Traditional Convolutional Neural Networkscited by 4
- 2020Deep Neural Network Training without Multiplicationscited by 2
Built on by
Citing papers per year: 2024: 3; 2025: 2.
5 papers.
- 2024Scalable MatMul-free Language Modelingcited by 25
- 2025Neuromorphic Principles for Efficient Large Language Models on Intel Loihi 2cited by 8
- 2025LL-ViT: Edge Deployable Vision Transformers with Look Up Table Neuronscited by 3
- 2024BitQ: Tailoring Block Floating Point Precision for Improved DNN Efficiency on Resource-Constrained Devicescited by 1
- 2024Shrinking the Giant : Quasi-Weightless Transformers for Low Energy Inferencecited by 0
- 2025LL-ViT: Edge Deployable Vision Transformers with Look Up Table Neurons2 Nov 2025
- 2025Neuromorphic Principles for Efficient Large Language Models on Intel Loihi 212 Feb 2025
- 2024Shrinking the Giant : Quasi-Weightless Transformers for Low Energy Inference4 Nov 2024
- 2024BitQ: Tailoring Block Floating Point Precision for Improved DNN Efficiency on Resource-Constrained Devices25 Sep 2024
- 2024Scalable MatMul-free Language Modeling4 Jun 2024