BETA: Binarized Energy-Efficient Transformer Accelerator at the Edge

Yuhao Ji, Chao Fang, Zhongfeng Wang
1/22/2024
cs.ARcs.AI

No confident code implementation found for this paper.

Abstract

Existing binary Transformers are promising in edge deployment due to their compact model size, low computational complexity, and considerable inference accuracy. However, deploying binary Transformers faces challenges on prior processors due to inefficient execution of quantized matrix multiplication (QMM) and the energy consumption overhead caused by multi-precision activations. To tackle the challenges above, we first develop a computation flow abstraction method for binary Transformers to improve QMM execution efficiency by optimizing the computation order. Furthermore, a binarized energy-efficient Transformer accelerator, namely BETA, is proposed to boost the efficient deployment at the edge. Notably, BETA features a configurable QMM engine, accommodating diverse activation precisions of binary Transformers and offering high-parallelism and high-speed for QMMs with impressive energy efficiency. Experimental results evaluated on ZCU102 FPGA show BETA achieves an average energy efficiency of 174 GOPS/W, which is 1.76~21.92x higher than prior FPGA-based accelerators, showing BETA's good potential for edge Transformer acceleration.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ji2024beta,
  title  = {BETA: Binarized Energy-Efficient Transformer Accelerator at the Edge},
  author = {Yuhao Ji and Chao Fang and Zhongfeng Wang},
  year   = {2024},
  eprint = {2401.11851},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.11851v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.11851.svg)](https://codeofpaper.com/paper/2401.11851)

Discussion