mlsanityData to 14 Oct 2026

Multiplication-Free Transformer Training via Piecewise Affine Operations

arXiv 2305.17190 ↗First posted 26 May 2023cs.LGcited by 5

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  5. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
  6. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  7. 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
  8. 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,546
  9. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,488
  10. 2017Mixed Precision Trainingcited by 1,156
  11. 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 815
  12. 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 618
14 more
  1. 2019On the Relationship between Self-Attention and Convolutional Layerscited by 300
  2. 2019A Study of BFLOAT16 for Deep Learning Trainingcited by 232
  3. 2022Patches Are All You Need?cited by 201
  4. 2018Training Deep Neural Networks with 8-bit Floating Point Numberscited by 164
  5. 2019AdderNet: Do We Really Need Multiplications in Deep Learning?cited by 82
  6. 2017Training Quantized Nets: A Deeper Understandingcited by 75
  7. 2017Flexpoint: An Adaptive Numerical Format for Efficient Training of Deep Neural Networkscited by 44
  8. 2018Training DNNs with Hybrid Block Floating Pointcited by 40
  9. 2018Rethinking floating point for deep learningcited by 22
  10. 2019Accumulation Bit-Width Scaling For Ultra-Low Precision Training Of Deep Networkscited by 11
  11. 2020The Effects of Approximate Multiplication on Convolutional Neural Networkscited by 10
  12. 2021Min-Max-Plus Neural Networkscited by 8
  13. 2021An Alternative Practice of Tropical Convolution to Traditional Convolutional Neural Networkscited by 4
  14. 2020Deep Neural Network Training without Multiplicationscited by 2

Built on by

Cited by year

Citing papers per year: 2024: 3; 2025: 2.

5 papers.