mlsanityData to 7 Oct 2026

TransCODE: Co-design of Transformers and Accelerators for Efficient Training and Inference

arXiv 2303.14882 ↗First posted 27 Mar 2023cs.LG cs.ARcited by 1

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
  6. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  7. 2020Longformer: The Long-Document Transformercited by 3,362
  8. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  9. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  10. 2018Self-Attention with Relative Position Representationscited by 1,112
  11. 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,024
  12. 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 998
30 more
  1. 2018Neural Network Acceptability Judgmentscited by 952
  2. 2019Temporal Fusion Transformers for Interpretable Multi-horizon Time Series Forecastingcited by 748
  3. 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 557
  4. 2020A Survey of Deep Active Learningcited by 547
  5. 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
  6. 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 398
  7. 2021FNet: Mixing Tokens with Fourier Transformscited by 343
  8. 2020DynaBERT: Dynamic BERT with Adaptive Width and Depthcited by 246
  9. 2020SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruningcited by 228
  10. 2020HAT: Hardware-Aware Transformers for Efficient Natural Language Processingcited by 136
  11. 2021Proof Artifact Co-training for Theorem Proving with Language Modelscited by 130
  12. 2020A3: Accelerating Attention Mechanisms in Neural Networks with Approximationcited by 97
  13. 2020ConvBERT: Improving BERT with Span-based Dynamic Convolutioncited by 88
  14. 2021NAS-BERT: Task-Agnostic and Adaptive-Size BERT Compression with Neural Architecture Searchcited by 55
  15. 2022Human-Object Interaction Detection via Disentangled Transformercited by 40
  16. 2021AutoTinyBERT: Automatic Hyper-parameter Optimization for Efficient Pre-trained Language Modelscited by 31
  17. 2021Transformer-based deep imitation learning for dual-arm robot manipulationcited by 31
  18. 2020Best of Both Worlds: AutoML Codesign of a CNN and its Hardware Acceleratorcited by 30
  19. 2021Accelerating Framework of Transformer by Hardware Design and Model Compression Co-Optimizationcited by 27
  20. 2021Energon: Towards Efficient Acceleration of Transformers Using Dynamic Sparse Attentioncited by 26
  21. 2021NAAS: Neural Accelerator Architecture Searchcited by 24
  22. 2023AccelTran: A Sparsity-Aware Accelerator for Dynamic Inference with Transformerscited by 24
  23. 2022A Length Adaptive Algorithm-Hardware Co-design of Transformer on FPGA Through Sparse Attention and Dynamic Pipeliningcited by 21
  24. 2021COSCO: Container Orchestration using Co-Simulation and Gradient Based Optimization for Fog Computing Environmentscited by 19
  25. 2020schuBERT: Optimizing Elements of BERTcited by 17
  26. 2021Multi-Objective Optimization of ReRAM Crossbars for Robust DNN Inferencing under Stochastic Noisecited by 12
  27. 2022FlexiBERT: Are Current Transformer Architectures too Homogeneous and Rigid?cited by 12
  28. 2022CODEBench: A Neural Architecture and Hardware Accelerator Co-Design Frameworkcited by 5
  29. 2019SPRING: A Sparsity-Aware Reduced-Precision Monolithic 3D CNN Accelerator Architecture for Training and Inferencecited by 4
  30. 2023EdgeTran: Co-designing Transformers for Efficient Inference on Mobile Edge Platformscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.