Ultra Memory-Efficient On-FPGA Training of Transformers via Tensor-Compressed Optimization
Not on the map. Why?
Abstract (arXiv)
Transformer models have achieved state-of-the-art performance across a wide range of machine learning tasks. There is growing interest in training transformers on resource-constrained edge devices due to considerations such as privacy, domain adaptation, and on-device scientific machine learning. However, the significant computational and memory demands required for transformer training often exceed the capabilities of an edge device. Leveraging low-rank tensor compression, this paper presents the first on-FPGA accelerator for end-to-end transformer training. On the algorithm side, we present a bi-directional contraction flow for tensorized transformer training, significantly reducing the computational FLOPS and intra-layer memory costs compared to existing tensor operations. On the hardware side, we store all highly compressed model parameters and gradient information on chip, creating an on-chip-memory-only framework for each stage in training. This reduces off-chip communication and minimizes latency and energy costs. Additionally, we implement custom computing kernels for each training stage and employ intra-layer parallelism and pipe-lining to further enhance run-time and memory efficiency. Through experiments on transformer models within 36.7 to 93.5 MB using FP-32 data formats on the ATIS dataset, our tensorized FPGA accelerator could conduct single-batch end-to-end training on the AMD Alevo U50 FPGA, with a memory budget of less than 6-MB BRAM and 22.5-MB URAM. Compared to uncompressed training on the NVIDIA RTX 3090 GPU, our on-FPGA training achieves a memory reduction of 30× to 51×. Our FPGA accelerator also achieves up to 3.6× less energy cost per epoch compared with tensor Transformer training on an NVIDIA RTX 3090 GPU.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 38 of its 61 references that are in the map. First posted on arXiv 11 Jan 2025.
Builds on
38 of 61 references.
References · 38
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2023Segment Anythingcited by 8,234
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
- 2016Quantized Neural Networks: Training Neural Networks with Low Precision Weights and Activationscited by 426
- 2015Deep Learning with Limited Numerical Precisioncited by 376
- 2015Tensorizing Neural Networkscited by 250
- 2014Speeding-up Convolutional Neural Networks Using Fine-tuned CP-Decompositioncited by 203
- 2018Training Deep Neural Networks with 8-bit Floating Point Numberscited by 164
- 2015Compression of Deep Convolutional Neural Networks for Fast and Low Power Mobile Applicationscited by 162
- 2020DeepReach: A Deep Learning Approach to High-Dimensional Reachabilitycited by 91
26 more
- 2019A Tensorized Transformer for Language Modelingcited by 86
- 2023PINNsFormer: A Transformer-Based Framework For Physics-Informed Neural Networkscited by 64
- 2017Tensor-Train Recurrent Neural Networks for Video Classificationcited by 59
- 2020Learning Certified Control using Contraction Metriccited by 49
- 2017Compressing DMA Engine: Leveraging Activation Sparsity for Training Deep Neural Networkscited by 37
- 2017Learning Compact Recurrent Neural Networks with Block-Term Tensor Decompositioncited by 33
- 2021FAST: DNN Training Under Variable Precision Block Floating Point with Stochastic Roundingcited by 31
- 2022An Algorithm-Hardware Co-Optimized Framework for Accelerating N:M Sparse Transformerscited by 29
- 2019Bayesian Tensorized Neural Networks with Automatic Rank Selectioncited by 26
- 2024AdaZeta: Adaptive Zeroth-Order Tensor-Train Adaption for Memory-Efficient Large Language Models Fine-Tuningcited by 25
- 2020Towards Compact Neural Networks via End-to-End Training: A Bayesian Tensor Approach with Automatic Rank Determinationcited by 18
- 2024CoMERA: Computing- and Memory-Efficient Training via Rank-Adaptive Tensor Optimizationcited by 15
- 2020A Neural Network Approach Applied to Multi-Agent Optimal Controlcited by 14
- 2021Federated Learning in ASR: Not as Easy as You Thinkcited by 14
- 2022BEBERT: Efficient and Robust Binary Ensemble BERTcited by 14
- 2023Tensor-Compressed Back-Propagation-Free Training for (Physics-Informed) Neural Networkscited by 12
- 2024LoRETTA: Low-Rank Economic Tensor-Train Adaptation for Ultra-Low-Parameter Fine-Tuning of Large Language Modelscited by 12
- 2019Compression and Interpretability of Deep Neural Networks via Tucker Tensor Layer: From First Principles to Tensor Valued Back-Propagationcited by 9
- 2022EF-Train: Enable Efficient On-device CNN Training on FPGA Through Data Reshaping for Online Adaptation or Personalizationcited by 9
- 2019Automatic Compiler Based FPGA Accelerator for CNN Trainingcited by 7
- 2022Federated Domain Adaptation for ASR with Full Self-Supervisioncited by 6
- 2024BETA: Binarized Energy-Efficient Transformer Accelerator at the Edgecited by 6
- 2023Efficient N:M Sparse DNN Training Using Algorithm, Architecture, and Dataflow Co-Designcited by 5
- 2023Real-Time FJ/MAC PDE Solvers via Tensorized, Back-Propagation-Free Optical PINN Trainingcited by 4
- 2023Tensorized Optical Multimodal Fusion Networkcited by 2
- 2023Quantization-Aware and Tensor-Compressed Training of Transformers for Natural Language Understandingcited by 2
Built on by
Citing papers per year: 2025: 2; 2026: 1.
3 papers.