mlsanityData to 13 Oct 2026

Dynamic Transformer for Efficient Machine Translation on Embedded Devices

arXiv 2107.08199 ↗First posted 17 Jul 2021cs.CL cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

The Transformer architecture is widely used for machine translation tasks. However, its resource-intensive nature makes it challenging to implement on constrained embedded devices, particularly where available hardware resources can vary at run-time. We propose a dynamic machine translation model that scales the Transformer architecture based on the available resources at any particular time. The proposed approach, 'Dynamic-HAT', uses a HAT SuperTransformer as the backbone to search for SubTransformers with different accuracy-latency trade-offs at design time. The optimal SubTransformers are sampled from the SuperTransformer at run-time, depending on latency constraints. The Dynamic-HAT is tested on the Jetson Nano and the approach uses inherited SubTransformers sampled directly from the SuperTransformer with a switching time of <1s. Using inherited SubTransformers results in a BLEU score loss of <1.5% because the SubTransformer configuration is not retrained from scratch after sampling. However, to recover this loss in performance, the dimensions of the design space can be reduced to tailor it to a family of target hardware. The new reduced design space results in a BLEU score increase of approximately 1% for sub-optimal models from the original design space, with a wide range for performance scaling between 0.356s - 1.526s for the GPU and 2.9s - 7.31s for the CPU.

Key facts. Cited by 4 papers in the map (data through 13 Oct 2026). Builds on 14 of its 18 references that are in the map. First posted on arXiv 17 Jul 2021.

Builds on

14 of 18 references.

References · 14

  1. 2017Attention Is All You Needcited by 60,106
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
  3. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,315
  4. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,585
  5. 2019Once-for-All: Train One Network and Specialize it for Efficient Deploymentcited by 783
  6. 2017To prune, or not to prune: exploring the efficacy of pruning for model compressioncited by 602
  7. 2020DynaBERT: Dynamic BERT with Adaptive Width and Depthcited by 247
  8. 2018NetAdapt: Platform-Aware Neural Network Adaptation for Mobile Applicationscited by 146
  9. 2020HAT: Hardware-Aware Transformers for Efficient Natural Language Processingcited by 136
  10. 2020Lite Transformer with Long-Short Range Attentioncited by 127
  11. 2020Dynamic Sparsity Neural Networks for Automatic Speech Recognitioncited by 23
  12. 2021Dynamic-OFA: Runtime DNN Architecture Switching for Performance Scaling on Heterogeneous Embedded Platformscited by 18
2 more
  1. 2021Optimising Resource Management for Embedded Machine Learningcited by 5
  2. 2021Scalable Transformers for Neural Machine Translationcited by 2

Built on by

Cited by year (2026 to 13 Oct)

Citing papers per year: 2023: 1; 2024: 2; 2025: 0; 2026: 1.

4 papers.