ITA: An Energy-Efficient Attention and Softmax Accelerator for Quantized Transformers

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: İslamoğlu, Gamze, Scherer, Moritz, Paulin, Gianna, Fischer, Tim, Jung, Victor J. B., Garofalo, Angelo, Benini, Luca
Format: Preprint
Publié: 2023
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866907993570803712
author İslamoğlu, Gamze
Scherer, Moritz
Paulin, Gianna
Fischer, Tim
Jung, Victor J. B.
Garofalo, Angelo
Benini, Luca
author_facet İslamoğlu, Gamze
Scherer, Moritz
Paulin, Gianna
Fischer, Tim
Jung, Victor J. B.
Garofalo, Angelo
Benini, Luca
contents Transformer networks have emerged as the state-of-the-art approach for natural language processing tasks and are gaining popularity in other domains such as computer vision and audio processing. However, the efficient hardware acceleration of transformer models poses new challenges due to their high arithmetic intensities, large memory requirements, and complex dataflow dependencies. In this work, we propose ITA, a novel accelerator architecture for transformers and related models that targets efficient inference on embedded systems by exploiting 8-bit quantization and an innovative softmax implementation that operates exclusively on integer values. By computing on-the-fly in streaming mode, our softmax implementation minimizes data movement and energy consumption. ITA achieves competitive energy efficiency with respect to state-of-the-art transformer accelerators with 16.9 TOPS/W, while outperforming them in area efficiency with 5.93 TOPS/mm$^2$ in 22 nm fully-depleted silicon-on-insulator technology at 0.8 V.
format Preprint
id arxiv_https___arxiv_org_abs_2307_03493
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle ITA: An Energy-Efficient Attention and Softmax Accelerator for Quantized Transformers
İslamoğlu, Gamze
Scherer, Moritz
Paulin, Gianna
Fischer, Tim
Jung, Victor J. B.
Garofalo, Angelo
Benini, Luca
Hardware Architecture
Machine Learning
Transformer networks have emerged as the state-of-the-art approach for natural language processing tasks and are gaining popularity in other domains such as computer vision and audio processing. However, the efficient hardware acceleration of transformer models poses new challenges due to their high arithmetic intensities, large memory requirements, and complex dataflow dependencies. In this work, we propose ITA, a novel accelerator architecture for transformers and related models that targets efficient inference on embedded systems by exploiting 8-bit quantization and an innovative softmax implementation that operates exclusively on integer values. By computing on-the-fly in streaming mode, our softmax implementation minimizes data movement and energy consumption. ITA achieves competitive energy efficiency with respect to state-of-the-art transformer accelerators with 16.9 TOPS/W, while outperforming them in area efficiency with 5.93 TOPS/mm$^2$ in 22 nm fully-depleted silicon-on-insulator technology at 0.8 V.
title ITA: An Energy-Efficient Attention and Softmax Accelerator for Quantized Transformers
topic Hardware Architecture
Machine Learning
url https://arxiv.org/abs/2307.03493