TransCODE: Co-design of Transformers and Accelerators for Efficient Training and Inference
Not on the map. Why?
Abstract (arXiv)
Automated co-design of machine learning models and evaluation hardware is critical for efficiently deploying such models at scale. Despite the state-of-the-art performance of transformer models, they are not yet ready for execution on resource-constrained hardware platforms. High memory requirements and low parallelizability of the transformer architecture exacerbate this problem. Recently-proposed accelerators attempt to optimize the throughput and energy consumption of transformer models. However, such works are either limited to a one-sided search of the model architecture or a restricted set of off-the-shelf devices. Furthermore, previous works only accelerate model inference and not training, which incurs substantially higher memory and compute resources, making the problem even more challenging. To address these limitations, this work proposes a dynamic training framework, called DynaProp, that speeds up the training process and reduces memory consumption. DynaProp is a low-overhead pruning method that prunes activations and gradients at runtime. To effectively execute this method on hardware for a diverse set of transformer architectures, we propose ELECTOR, a framework that simulates transformer inference and training on a design space of accelerators. We use this simulator in conjunction with the proposed co-design technique, called TransCODE, to obtain the best-performing models with high accuracy on the given task and minimize latency, energy consumption, and chip area. The obtained transformer-accelerator pair achieves 0.3% higher accuracy than the state-of-the-art pair while incurring 5.2× lower latency and 3.0× lower energy consumption.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 42 of its 81 references that are in the map. First posted on arXiv 27 Mar 2023.
Builds on
42 of 81 references.
References · 42
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,024
- 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 998
30 more
- 2018Neural Network Acceptability Judgmentscited by 952
- 2019Temporal Fusion Transformers for Interpretable Multi-horizon Time Series Forecastingcited by 748
- 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 557
- 2020A Survey of Deep Active Learningcited by 547
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
- 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 398
- 2021FNet: Mixing Tokens with Fourier Transformscited by 343
- 2020DynaBERT: Dynamic BERT with Adaptive Width and Depthcited by 246
- 2020SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruningcited by 228
- 2020HAT: Hardware-Aware Transformers for Efficient Natural Language Processingcited by 136
- 2021Proof Artifact Co-training for Theorem Proving with Language Modelscited by 130
- 2020A3: Accelerating Attention Mechanisms in Neural Networks with Approximationcited by 97
- 2020ConvBERT: Improving BERT with Span-based Dynamic Convolutioncited by 88
- 2021NAS-BERT: Task-Agnostic and Adaptive-Size BERT Compression with Neural Architecture Searchcited by 55
- 2022Human-Object Interaction Detection via Disentangled Transformercited by 40
- 2021AutoTinyBERT: Automatic Hyper-parameter Optimization for Efficient Pre-trained Language Modelscited by 31
- 2021Transformer-based deep imitation learning for dual-arm robot manipulationcited by 31
- 2020Best of Both Worlds: AutoML Codesign of a CNN and its Hardware Acceleratorcited by 30
- 2021Accelerating Framework of Transformer by Hardware Design and Model Compression Co-Optimizationcited by 27
- 2021Energon: Towards Efficient Acceleration of Transformers Using Dynamic Sparse Attentioncited by 26
- 2021NAAS: Neural Accelerator Architecture Searchcited by 24
- 2023AccelTran: A Sparsity-Aware Accelerator for Dynamic Inference with Transformerscited by 24
- 2022A Length Adaptive Algorithm-Hardware Co-design of Transformer on FPGA Through Sparse Attention and Dynamic Pipeliningcited by 21
- 2021COSCO: Container Orchestration using Co-Simulation and Gradient Based Optimization for Fog Computing Environmentscited by 19
- 2020schuBERT: Optimizing Elements of BERTcited by 17
- 2021Multi-Objective Optimization of ReRAM Crossbars for Robust DNN Inferencing under Stochastic Noisecited by 12
- 2022FlexiBERT: Are Current Transformer Architectures too Homogeneous and Rigid?cited by 12
- 2022CODEBench: A Neural Architecture and Hardware Accelerator Co-Design Frameworkcited by 5
- 2019SPRING: A Sparsity-Aware Reduced-Precision Monolithic 3D CNN Accelerator Architecture for Training and Inferencecited by 4
- 2023EdgeTran: Co-designing Transformers for Efficient Inference on Mobile Edge Platformscited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.