A Fast and Flexible FPGA-based Accelerator for Natural Language Processing Neural Networks

Author:

Hur Suyeon1ORCID,Na Seongmin1ORCID,Kwon Dongup1ORCID,Kim Joonsung1ORCID,Boutros Andrew2ORCID,Nurvitadhi Eriko2ORCID,Kim Jangwoo1ORCID

Affiliation:

1. Seoul National University, Seoul, Republic of Korea

2. MangoBoost Inc., United States

Abstract

Deep neural networks (DNNs) have become key solutions in the natural language processing (NLP) domain. However, the existing accelerators customized for their narrow target models cannot support diverse NLP models. Therefore, naively running complex NLP models on the existing accelerators often leads to very marginal performance improvements. For these reasons, architects are now in dire need of a new accelerator that can run various NLP models while taking its full performance potential. In this article, we propose FlexRun, an FPGA-based modular accelerator to efficiently support diverse and complex NLP models. First, we identify key components commonly used by NLP models and implement them on top of a current state-of-the-art FPGA-based accelerator. Next, FlexRun conducts an in-depth design space exploration to find the best accelerator architecture for a target NLP model. Last, FlexRun automatically reconfigures the accelerator based on the exploration results. Our FlexRun design outperforms the current state-of-the-art FPGA-based accelerator by 1.21×–2.73× and 1.15×–1.50× for BERT and GPT2, respectively. Compared to Nvidia’s V100 GPU, FlexRun achieves 2.69× higher performance on average for various BERT and GPT2 models.

Funder

Ministry of Science and ICT

Korean Government

Creative Pioneering Researchers Program through Seoul National University

Automation and Systems Research Institute (ASRI) and Inter-university Semiconductor Research Center (ISRC) at Seoul National University

Publisher

Association for Computing Machinery (ACM)

Subject

Hardware and Architecture,Information Systems,Software

Reference43 articles.

1. 2017. Nvidia Tesla V100 GPU Architecture The World’s Most Advanced Data Center GPU.Retrieved from https://images.nvidia.com/content/volta-architecture/pdf/volta-architecture-whitepaper.pdf.

2. 2021. DeepLearningExamples. Retrieved from https://github.com/NVIDIA/DeepLearningExamples/tree/master/TensorFlow.

3. 2021. Nsight Systems Release Notes. Retrieved from https://docs.nvidia.com/nsight-systems/ReleaseNotes/index.html.

4. Martín Abadi, Paul Barham, Jianmin Chen, Zhifeng Chen, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Geoffrey Irving, Michael Isard, et al. 2016. Tensorflow: A system for large-scale machine learning. In 12th USENIX Symposium on Operating Systems Design and Implementation (OSDI’16). 265–283.

5. Neural machine translation by jointly learning to align and translate;Bahdanau Dzmitry;arXiv preprint arXiv:1409.0473,2014

Cited by 5 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. A Low-Latency and Scalable Vector Engine with Operation Fusion for Transformers;2024 IEEE 6th International Conference on AI Circuits and Systems (AICAS);2024-04-22

2. Understanding the Potential of FPGA-Based Spatial Acceleration for Large Language Model Inference;ACM Transactions on Reconfigurable Technology and Systems;2024-04-04

3. Winols: A Large-Tiling Sparse Winograd CNN Accelerator on FPGAs;ACM Transactions on Architecture and Code Optimization;2024-03-23

4. An LPDDR-based CXL-PNM Platform for TCO-efficient Inference of Transformer-based Large Language Models;2024 IEEE International Symposium on High-Performance Computer Architecture (HPCA);2024-03-02

5. A Low-Latency and Lightweight FPGA-Based Engine for Softmax and Layer Normalization Acceleration;2023 IEEE International Conference on Consumer Electronics-Asia (ICCE-Asia);2023-10-23

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3