A Fully Integrated Energy-Scalable Transformer Accelerator for Language Understanding on Edge Devices
Text and spoken language have become standard ways to interface with edge devices. Due to tight power and compute constraints, they require efficient natural language processing that can adapt the computation to the hardware conditions. This paper presents a Transformer accelerator running a custom-trained SuperTransformer model from which SubTransformers of various sizes can be sampled enabling adaptive model configuration. The test chip contains a variable-depth adder tree to support different model dimensions, a word elimination unit to prune redundant tokens, and dedicated softmax and layer normalization units. It achieves up to 6.9× scalability in network latency and energy between the largest and smallest SubTransformers, under the same operating conditions. Word elimination can reduce network energy by 16%, with a 14.5% drop in F1 score. At 0.68V and 80MHz, processing a 32-length input with our custom 2-layer Transformer model for intent detection and slot filling takes 0.61 ms and 1.6 μJ.
Authors
- Zexi Ji
- Meng‐Fan Chang (ORCID: https://orcid.org/0000-0001-6905-6350)
- Hanrui Wang (ORCID: https://orcid.org/0000-0002-7229-4015)
- Miaorong Wang (ORCID: https://orcid.org/0009-0000-5896-5014)
- Song Han (ORCID: https://orcid.org/0000-0002-4186-7618)
- Win-San Khwa (ORCID: https://orcid.org/0000-0002-6283-3564)
- Anantha P. Chandrakasan (ORCID: https://orcid.org/0000-0002-5977-2748)
Institutions
- Taiwan Semiconductor Manufacturing Company (Taiwan) (TW)
- Massachusetts Institute of Technology (US)
Publication Details
- Journal
- IEEE Open Journal of the Solid-State Circuits Society
- Published
- 2024-12-31
- DOI
- https://doi.org/10.1109/ojsscs.2024.3524359
- Primary Topic
- Speech and dialogue systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Science Foundation
- Taiwan Semiconductor Manufacturing Company