Accelerating Framework of Transformer by Hardware Design and Model Compression Co-Optimization
Not on the map. Why?
Abstract (arXiv)
State-of-the-art Transformer-based models, with gigantic parameters, are difficult to be accommodated on resource constrained embedded devices. Moreover, with the development of technology, more and more embedded devices are available to run a Transformer model. For a Transformer model with different constraints (tight or loose), it can be deployed onto devices with different computing power. However, in previous work, designers did not choose the best device among multiple devices. Instead, they just used an existing device to deploy model, which was not necessarily the best fit and may lead to underutilization of resources. To address the deployment challenge of Transformer and the problem to select the best device, we propose an algorithm & hardware closed-loop acceleration framework. Given a dataset, a model, latency constraint LC and accuracy constraint AC, our framework can provide a best device satisfying both constraints. In order to generate a compressed model with high sparsity ratio, we propose a novel pruning technique, hierarchical pruning (HP). We optimize the sparse matrix storage format for HP matrix to further reduce memory usage for FPGA implementation. We design a accelerator that takes advantage of HP to solve the problem of concurrent random access. Experiments on Transformer and TinyBert model show that our framework can find different devices for various LC and AC, covering from low-end devices to high-end devices. Our HP can achieve higher sparsity ratio and is more flexible than other sparsity pattern. Our framework can achieve 37x, 1.9x, 1.7x speedup compared to CPU, GPU and FPGA, respectively.
Key facts. Cited by 27 papers in the map (data through 14 Oct 2026). Builds on 25 of its 40 references that are in the map. First posted on arXiv 19 Oct 2021.
Builds on
25 of 40 references.
References · 25
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2016Neural Architecture Search with Reinforcement Learningcited by 1,499
- 2020The Lottery Ticket Hypothesis for Pre-trained BERT Networkscited by 275
- 2019The Evolved Transformercited by 180
- 2019Edge AI: On-Demand Accelerating Deep Neural Network Inference via Edge Computingcited by 152
- 2020HAT: Hardware-Aware Transformers for Efficient Natural Language Processingcited by 136
- 2020When BERT Plays the Lottery, All Tickets Are Winningcited by 114
- 2018The Best of Both Worlds: Combining Recent Advances in Neural Machine Translationcited by 102
13 more
- 2020A3: Accelerating Attention Mechanisms in Neural Networks with Approximationcited by 101
- 2015Reasoning about Entailment with Neural Attentioncited by 69
- 2020FTRANS: Energy-Efficient Acceleration of Transformers using FPGAcited by 54
- 2019PCONV: The Missing but Desirable Sparsity in DNN Weight Pruning for Real-time Execution on Mobile Devicescited by 50
- 2020Co-Exploration of Neural Architectures and Heterogeneous ASIC Accelerator Designs Targeting Multiple Taskscited by 43
- 2017Block-Sparse Recurrent Neural Networkscited by 39
- 2020Efficient Transformer-based Large Scale Language Representations using Hardware-friendly Block Structured Pruningcited by 39
- 2019Accuracy vs. Efficiency: Achieving Both through FPGA-Implementation Aware Neural Architecture Searchcited by 38
- 2020Accelerating Sparse DNN Models without Hardware-Support via Tile-Wise Sparsitycited by 34
- 2019Achieving Super-Linear Speedup across Multi-FPGA for Real-Time DNN Inferencecited by 13
- 2020Accelerating Sparse Matrix-Matrix Multiplication with GPU Tensor Corescited by 9
- 2015CSR5: An Efficient Storage Format for Cross-Platform Sparse Matrix-Vector Multiplicationcited by 6
- 2020CSB-RNN: A Faster-than-Realtime RNN Acceleration Framework with Compressed Structured Blockscited by 4
Built on by
Citing papers per year: 2021: 1; 2022: 7; 2023: 12; 2024: 4; 2025: 1; 2026: 2.
27 papers.
Sort:
By area:
- 2023Understanding the Potential of FPGA-Based Spatial Acceleration for Large Language Model Inferencecited by 33
- 2023AutoReP: Automatic ReLU Replacement for Fast Private Network Inferencecited by 29
- 2023LinGCN: Structural Linearized Graph Convolutional Network for Homomorphically Encrypted Inferencecited by 27
- 2022A Length Adaptive Algorithm-Hardware Co-design of Transformer on FPGA Through Sparse Attention and Dynamic Pipeliningcited by 22
- 2023Accel-GCN: High-Performance GPU Accelerator Design for Graph Convolution Networkscited by 22
- 2022Towards Sparsification of Graph Neural Networkscited by 18
- 2022Dynamic Sparse Training via Balancing the Exploration-Exploitation Trade-offcited by 15
- 2022An Automatic and Efficient BERT Pruning for Edge AI Systemscited by 13
- 2023TRON: Transformer Neural Network Acceleration with Non-Coherent Silicon Photonicscited by 12
- 2023Balance is Essence: Accelerating Sparse Training via Adaptive Gradient Correctioncited by 5
- 2023Exploring Attention Map Reuse for Efficient Transformer Neural Networkscited by 3
- 2024A Runtime-Adaptive Transformer Neural Network Accelerator on FPGAscited by 3
15 more
- 2022EVE: Environmental Adaptive Neural Network Models for Low-power Energy Harvesting Systemcited by 2
- 2022PolyMPCNet: Towards ReLU-free Neural Architecture Search in Two-party Computation Based Private Inferencecited by 2
- 2023Applying Plain Transformers to Real-World Point Cloudscited by 2
- 2023EdgeTran: Co-designing Transformers for Efficient Inference on Mobile Edge Platformscited by 2
- 2023TransCODE: Co-design of Transformers and Accelerators for Efficient Training and Inferencecited by 1
- 2023Accelerator-driven Data Arrangement to Minimize Transformers Run-time on Multi-core Architecturescited by 1
- 2024Accelerating Neural Networks for Large Language Models and Graph Processing with Silicon Photonicscited by 1
- 2024ARTEMIS: A Mixed Analog-Stochastic In-DRAM Accelerator for Transformer Neural Networkscited by 1
- 2024ProTEA: Programmable Transformer Encoder Acceleration on FPGAcited by 1
- 2026BinaryAttention: One-Bit QK-Attention for Vision and Diffusion Transformerscited by 1
- 2021BSC: Block-based Stochastic Computing to Enable Accurate and Efficient TinyMLcited by 0
- 2022Efficient Traffic State Forecasting using Spatio-Temporal Network Dependencies: A Sparse Graph Neural Network Approachcited by 0
- 2023NeuralMatrix: Compute the Entire Neural Networks with Linear Matrix Operations for Efficient Inferencecited by 0
- 2025LoopLynx: A Scalable Dataflow Architecture for Efficient LLM Inferencecited by 0
- 2026DxPTA: An Architecture Design Space Exploration with Optical Dataflow-guided Strategy for HW/SW Co-Design of Photonic Transformer Acceleratorscited by 0
- 2026DxPTA: An Architecture Design Space Exploration with Optical Dataflow-guided Strategy for HW/SW Co-Design of Photonic Transformer Accelerators2 Jun 2026
- 2026BinaryAttention: One-Bit QK-Attention for Vision and Diffusion Transformers10 Mar 2026
- 2025LoopLynx: A Scalable Dataflow Architecture for Efficient LLM Inference13 Apr 2025
- 2024A Runtime-Adaptive Transformer Neural Network Accelerator on FPGAs27 Nov 2024
- 2024ProTEA: Programmable Transformer Encoder Acceleration on FPGA21 Sep 2024
- 2024ARTEMIS: A Mixed Analog-Stochastic In-DRAM Accelerator for Transformer Neural Networks17 Jul 2024
- 2024Accelerating Neural Networks for Large Language Models and Graph Processing with Silicon Photonics12 Jan 2024
- 2023Understanding the Potential of FPGA-Based Spatial Acceleration for Large Language Model Inference23 Dec 2023
- 2023Accelerator-driven Data Arrangement to Minimize Transformers Run-time on Multi-core Architectures20 Dec 2023
- 2023LinGCN: Structural Linearized Graph Convolutional Network for Homomorphically Encrypted Inference25 Sep 2023
- 2023Accel-GCN: High-Performance GPU Accelerator Design for Graph Convolution Networks22 Aug 2023
- 2023AutoReP: Automatic ReLU Replacement for Fast Private Network Inference20 Aug 2023
15 more
- 2023NeuralMatrix: Compute the Entire Neural Networks with Linear Matrix Operations for Efficient Inference23 May 2023
- 2023TransCODE: Co-design of Transformers and Accelerators for Efficient Training and Inference27 Mar 2023
- 2023EdgeTran: Co-designing Transformers for Efficient Inference on Mobile Edge Platforms24 Mar 2023
- 2023TRON: Transformer Neural Network Acceleration with Non-Coherent Silicon Photonics22 Mar 2023
- 2023Applying Plain Transformers to Real-World Point Clouds28 Feb 2023
- 2023Exploring Attention Map Reuse for Efficient Transformer Neural Networks29 Jan 2023
- 2023Balance is Essence: Accelerating Sparse Training via Adaptive Gradient Correction9 Jan 2023
- 2022Dynamic Sparse Training via Balancing the Exploration-Exploitation Trade-off30 Nov 2022
- 2022Efficient Traffic State Forecasting using Spatio-Temporal Network Dependencies: A Sparse Graph Neural Network Approach6 Nov 2022
- 2022PolyMPCNet: Towards ReLU-free Neural Architecture Search in Two-party Computation Based Private Inference20 Sep 2022
- 2022Towards Sparsification of Graph Neural Networks11 Sep 2022
- 2022A Length Adaptive Algorithm-Hardware Co-design of Transformer on FPGA Through Sparse Attention and Dynamic Pipelining7 Aug 2022
- 2022EVE: Environmental Adaptive Neural Network Models for Low-power Energy Harvesting System14 Jul 2022
- 2022An Automatic and Efficient BERT Pruning for Edge AI Systems21 Jun 2022
- 2021BSC: Block-based Stochastic Computing to Enable Accurate and Efficient TinyML12 Nov 2021
- 2023Understanding the Potential of FPGA-Based Spatial Acceleration for Large Language Model Inferencecited by 33
- 2023AutoReP: Automatic ReLU Replacement for Fast Private Network Inferencecited by 29
- 2023LinGCN: Structural Linearized Graph Convolutional Network for Homomorphically Encrypted Inferencecited by 27
- 2022A Length Adaptive Algorithm-Hardware Co-design of Transformer on FPGA Through Sparse Attention and Dynamic Pipeliningcited by 22
- 2023Accel-GCN: High-Performance GPU Accelerator Design for Graph Convolution Networkscited by 22
- 2022Towards Sparsification of Graph Neural Networkscited by 18
- 2022Dynamic Sparse Training via Balancing the Exploration-Exploitation Trade-offcited by 15
- 2022An Automatic and Efficient BERT Pruning for Edge AI Systemscited by 13
- 2023TRON: Transformer Neural Network Acceleration with Non-Coherent Silicon Photonicscited by 12
- 2023Balance is Essence: Accelerating Sparse Training via Adaptive Gradient Correctioncited by 5
- 2023Exploring Attention Map Reuse for Efficient Transformer Neural Networkscited by 3
- 2024A Runtime-Adaptive Transformer Neural Network Accelerator on FPGAscited by 3
12 most cited of 25 All 25 (JSON)
- 2026DxPTA: An Architecture Design Space Exploration with Optical Dataflow-guided Strategy for HW/SW Co-Design of Photonic Transformer Accelerators2 Jun 2026
- 2024A Runtime-Adaptive Transformer Neural Network Accelerator on FPGAs27 Nov 2024
- 2024ProTEA: Programmable Transformer Encoder Acceleration on FPGA21 Sep 2024
- 2024ARTEMIS: A Mixed Analog-Stochastic In-DRAM Accelerator for Transformer Neural Networks17 Jul 2024
- 2024Accelerating Neural Networks for Large Language Models and Graph Processing with Silicon Photonics12 Jan 2024
- 2023Understanding the Potential of FPGA-Based Spatial Acceleration for Large Language Model Inference23 Dec 2023
- 2023Accelerator-driven Data Arrangement to Minimize Transformers Run-time on Multi-core Architectures20 Dec 2023
- 2023LinGCN: Structural Linearized Graph Convolutional Network for Homomorphically Encrypted Inference25 Sep 2023
- 2023Accel-GCN: High-Performance GPU Accelerator Design for Graph Convolution Networks22 Aug 2023
- 2023AutoReP: Automatic ReLU Replacement for Fast Private Network Inference20 Aug 2023
- 2023NeuralMatrix: Compute the Entire Neural Networks with Linear Matrix Operations for Efficient Inference23 May 2023
- 2023TransCODE: Co-design of Transformers and Accelerators for Efficient Training and Inference27 Mar 2023
12 newest of 25 All 25 (JSON)