paper-with-me

Papers

Co-Designing Binarized Transformer and Hardware Accelerator for Efficient End-to-End Edge Deployment

2024-07-16 · Yuhao Ji, Chao Fang, Shaobo Ma, Haikuo Shao, Zhongfeng Wang

Transformer models have revolutionized AI tasks, but their large size hinders real-world deployment on resource-constrained and latency-critical edge devices. While binarized Transformers offer a promising solution by significantly reducing model size, existing approaches suffer from algorithm-hardware mismatches with limited co-design exploration, leading to suboptimal performance on edge devices. Hence, we propose a co-design method for efficient end-to-end edge deployment of Transformers from three aspects: algorithm, hardware, and joint optimization. First, we propose BMT, a novel hardware-friendly binarized Transformer with optimized quantization methods and components, and we further enhance its model accuracy by leveraging the weighted ternary weight splitting training technique. Second, we develop a streaming processor mixed binarized Transformer accelerator, namely BAT, which is equipped with specialized units and scheduling pipelines for efficient inference of binarized Transformers. Finally, we co-optimize the algorithm and hardware through a design space exploration approach to achieve a global trade-off between accuracy, latency, and robustness for real-world deployments. Experimental results show our co-design achieves up to 2.14-49.37x throughput gains and 3.72-88.53x better energy efficiency over state-of-the-art Transformer accelerators, enabling efficient end-to-end edge deployment.

📄 PDF Abstract BibTeX arXiv:2407.12070

Code (0)

등록된 구현이 없습니다.

Tasks

QuantizationScheduling

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Residual Connection 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Ternary Weight Splitting Ternary Weight Splitting is a ternarization approach used in BinaryBERT that exploits the flatness of ternary loss…
Adam 설명 없음

Similar Papers 제목 키워드 기반

BETA: Binarized Energy-Efficient Transformer Accelerator at the Edge

2024-01-22 · Yuhao Ji, Chao Fang, Zhongfeng Wang

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…

BiKA: Kolmogorov-Arnold-Network-inspired Ultra Lightweight Neural Network Hardware Accelerator

2026-02-26 · Yuhao Liu, Salim Ullah, Akash Kumar arxiv

Lightweight neural network accelerators are essential for edge devices with limited resources and power constraints. While quantization and binarization can efficiently reduce hardware cost, they still rely on the conven…

Hardware Accelerator for Multi-Head Attention and Position-Wise Feed-Forward in the Transformer

2020-09-18 · Siyuan Lu, Meiqi Wang, Shuang Liang, Jun Lin 외

Designing hardware accelerators for deep neural networks (DNNs) has been much desired. Nonetheless, most of these existing accelerators are built for either convolutional neural networks (CNNs) or recurrent neural networ…

GPUPosition

Accelerator-driven Data Arrangement to Minimize Transformers Run-time on Multi-core Architectures

2023-12-20 · Alireza Amirshahi, Giovanni Ansaloni, David Atienza

The increasing complexity of transformer models in artificial intelligence expands their computational costs, memory usage, and energy consumption. Hardware acceleration tackles the ensuing challenges by designing proces…

A Survey on Impact of Transient Faults on BNN Inference Accelerators

2020-04-10 · Navid Khoshavi, Connor Broyles, Yu Bi

Over past years, the philosophy for designing the artificial intelligence algorithms has significantly shifted towards automatically extracting the composable systems from massive data volumes. This paradigm shift has be…

Philosophy