Panacea: Novel DNN Accelerator using Accuracy-Preserving Asymmetric Quantization and Energy-Saving Bit-Slice Sparsity
Low bit-precisions and their bit-slice sparsity have recently been studied to accelerate general matrix-multiplications (GEMM) during large-scale deep neural network (DNN) inferences. While the conventional symmetric quantization facilitates low-resolution processing with bit-slice sparsity for both...
Gespeichert in:
Hauptverfasser: | , , , , , |
---|---|
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
container_end_page | |
---|---|
container_issue | |
container_start_page | |
container_title | |
container_volume | |
creator | Kam, Dongyun Yun, Myeongji Yoo, Sunwoo Hong, Seungwoo Zhang, Zhengya Lee, Youngjoo |
description | Low bit-precisions and their bit-slice sparsity have recently been studied to
accelerate general matrix-multiplications (GEMM) during large-scale deep neural
network (DNN) inferences. While the conventional symmetric quantization
facilitates low-resolution processing with bit-slice sparsity for both weight
and activation, its accuracy loss caused by the activation's asymmetric
distributions cannot be acceptable, especially for large-scale DNNs. In efforts
to mitigate this accuracy loss, recent studies have actively utilized
asymmetric quantization for activations without requiring additional
operations. However, the cutting-edge asymmetric quantization produces numerous
nonzero slices that cannot be compressed and skipped by recent bit-slice GEMM
accelerators, naturally consuming more processing energy to handle the
quantized DNN models.
To simultaneously achieve high accuracy and hardware efficiency for
large-scale DNN inferences, this paper proposes an Asymmetrically-Quantized
bit-Slice GEMM (AQS-GEMM) for the first time. In contrast to the previous
bit-slice computing, which only skips operations of zero slices, the AQS-GEMM
compresses frequent nonzero slices, generated by asymmetric quantization, and
skips their operations. To increase the slice-level sparsity of activations, we
also introduce two algorithm-hardware co-optimization methods: a zero-point
manipulation and a distribution-based bit-slicing. To support the proposed
AQS-GEMM and optimizations at the hardware-level, we newly introduce a DNN
accelerator, Panacea, which efficiently handles sparse/dense workloads of the
tiled AQS-GEMM to increase data reuse and utilization. Panacea supports a
specialized dataflow and run-length encoding to maximize data reuse and
minimize external memory accesses, significantly improving its hardware
efficiency. Our benchmark evaluations show Panacea outperforms existing DNN
accelerators. |
doi_str_mv | 10.48550/arxiv.2412.10059 |
format | Article |
fullrecord | <record><control><sourceid>arxiv_GOX</sourceid><recordid>TN_cdi_arxiv_primary_2412_10059</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2412_10059</sourcerecordid><originalsourceid>FETCH-arxiv_primary_2412_100593</originalsourceid><addsrcrecordid>eNqFjssKgkAUQGfTIqoPaNX8gKalUO16GK3EsL1cpptc0FHujNL09aG0b3XgcBZHiGUY-NEujoM18Jt6fxOFGz8Mgng_FV0GGhTCQaZNj5W8pKk8KoUVMtiGZWdIl4PpGJTzMkaD3I_OuLpGy6TkvQNt6QOWGi1BP2WikUvn5TCWJ7JeXpFCmbfAhqybi8kLKoOLH2didU0e55s3DhYtUw3simG0GEe3_4svhydKEg</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>Panacea: Novel DNN Accelerator using Accuracy-Preserving Asymmetric Quantization and Energy-Saving Bit-Slice Sparsity</title><source>arXiv.org</source><creator>Kam, Dongyun ; Yun, Myeongji ; Yoo, Sunwoo ; Hong, Seungwoo ; Zhang, Zhengya ; Lee, Youngjoo</creator><creatorcontrib>Kam, Dongyun ; Yun, Myeongji ; Yoo, Sunwoo ; Hong, Seungwoo ; Zhang, Zhengya ; Lee, Youngjoo</creatorcontrib><description>Low bit-precisions and their bit-slice sparsity have recently been studied to
accelerate general matrix-multiplications (GEMM) during large-scale deep neural
network (DNN) inferences. While the conventional symmetric quantization
facilitates low-resolution processing with bit-slice sparsity for both weight
and activation, its accuracy loss caused by the activation's asymmetric
distributions cannot be acceptable, especially for large-scale DNNs. In efforts
to mitigate this accuracy loss, recent studies have actively utilized
asymmetric quantization for activations without requiring additional
operations. However, the cutting-edge asymmetric quantization produces numerous
nonzero slices that cannot be compressed and skipped by recent bit-slice GEMM
accelerators, naturally consuming more processing energy to handle the
quantized DNN models.
To simultaneously achieve high accuracy and hardware efficiency for
large-scale DNN inferences, this paper proposes an Asymmetrically-Quantized
bit-Slice GEMM (AQS-GEMM) for the first time. In contrast to the previous
bit-slice computing, which only skips operations of zero slices, the AQS-GEMM
compresses frequent nonzero slices, generated by asymmetric quantization, and
skips their operations. To increase the slice-level sparsity of activations, we
also introduce two algorithm-hardware co-optimization methods: a zero-point
manipulation and a distribution-based bit-slicing. To support the proposed
AQS-GEMM and optimizations at the hardware-level, we newly introduce a DNN
accelerator, Panacea, which efficiently handles sparse/dense workloads of the
tiled AQS-GEMM to increase data reuse and utilization. Panacea supports a
specialized dataflow and run-length encoding to maximize data reuse and
minimize external memory accesses, significantly improving its hardware
efficiency. Our benchmark evaluations show Panacea outperforms existing DNN
accelerators.</description><identifier>DOI: 10.48550/arxiv.2412.10059</identifier><language>eng</language><subject>Computer Science - Artificial Intelligence ; Computer Science - Hardware Architecture</subject><creationdate>2024-12</creationdate><rights>http://creativecommons.org/licenses/by/4.0</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>228,230,780,885</link.rule.ids><linktorsrc>$$Uhttps://arxiv.org/abs/2412.10059$$EView_record_in_Cornell_University$$FView_record_in_$$GCornell_University$$Hfree_for_read</linktorsrc><backlink>$$Uhttps://doi.org/10.48550/arXiv.2412.10059$$DView paper in arXiv$$Hfree_for_read</backlink></links><search><creatorcontrib>Kam, Dongyun</creatorcontrib><creatorcontrib>Yun, Myeongji</creatorcontrib><creatorcontrib>Yoo, Sunwoo</creatorcontrib><creatorcontrib>Hong, Seungwoo</creatorcontrib><creatorcontrib>Zhang, Zhengya</creatorcontrib><creatorcontrib>Lee, Youngjoo</creatorcontrib><title>Panacea: Novel DNN Accelerator using Accuracy-Preserving Asymmetric Quantization and Energy-Saving Bit-Slice Sparsity</title><description>Low bit-precisions and their bit-slice sparsity have recently been studied to
accelerate general matrix-multiplications (GEMM) during large-scale deep neural
network (DNN) inferences. While the conventional symmetric quantization
facilitates low-resolution processing with bit-slice sparsity for both weight
and activation, its accuracy loss caused by the activation's asymmetric
distributions cannot be acceptable, especially for large-scale DNNs. In efforts
to mitigate this accuracy loss, recent studies have actively utilized
asymmetric quantization for activations without requiring additional
operations. However, the cutting-edge asymmetric quantization produces numerous
nonzero slices that cannot be compressed and skipped by recent bit-slice GEMM
accelerators, naturally consuming more processing energy to handle the
quantized DNN models.
To simultaneously achieve high accuracy and hardware efficiency for
large-scale DNN inferences, this paper proposes an Asymmetrically-Quantized
bit-Slice GEMM (AQS-GEMM) for the first time. In contrast to the previous
bit-slice computing, which only skips operations of zero slices, the AQS-GEMM
compresses frequent nonzero slices, generated by asymmetric quantization, and
skips their operations. To increase the slice-level sparsity of activations, we
also introduce two algorithm-hardware co-optimization methods: a zero-point
manipulation and a distribution-based bit-slicing. To support the proposed
AQS-GEMM and optimizations at the hardware-level, we newly introduce a DNN
accelerator, Panacea, which efficiently handles sparse/dense workloads of the
tiled AQS-GEMM to increase data reuse and utilization. Panacea supports a
specialized dataflow and run-length encoding to maximize data reuse and
minimize external memory accesses, significantly improving its hardware
efficiency. Our benchmark evaluations show Panacea outperforms existing DNN
accelerators.</description><subject>Computer Science - Artificial Intelligence</subject><subject>Computer Science - Hardware Architecture</subject><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2024</creationdate><recordtype>article</recordtype><sourceid>GOX</sourceid><recordid>eNqFjssKgkAUQGfTIqoPaNX8gKalUO16GK3EsL1cpptc0FHujNL09aG0b3XgcBZHiGUY-NEujoM18Jt6fxOFGz8Mgng_FV0GGhTCQaZNj5W8pKk8KoUVMtiGZWdIl4PpGJTzMkaD3I_OuLpGy6TkvQNt6QOWGi1BP2WikUvn5TCWJ7JeXpFCmbfAhqybi8kLKoOLH2didU0e55s3DhYtUw3simG0GEe3_4svhydKEg</recordid><startdate>20241213</startdate><enddate>20241213</enddate><creator>Kam, Dongyun</creator><creator>Yun, Myeongji</creator><creator>Yoo, Sunwoo</creator><creator>Hong, Seungwoo</creator><creator>Zhang, Zhengya</creator><creator>Lee, Youngjoo</creator><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20241213</creationdate><title>Panacea: Novel DNN Accelerator using Accuracy-Preserving Asymmetric Quantization and Energy-Saving Bit-Slice Sparsity</title><author>Kam, Dongyun ; Yun, Myeongji ; Yoo, Sunwoo ; Hong, Seungwoo ; Zhang, Zhengya ; Lee, Youngjoo</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-arxiv_primary_2412_100593</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2024</creationdate><topic>Computer Science - Artificial Intelligence</topic><topic>Computer Science - Hardware Architecture</topic><toplevel>online_resources</toplevel><creatorcontrib>Kam, Dongyun</creatorcontrib><creatorcontrib>Yun, Myeongji</creatorcontrib><creatorcontrib>Yoo, Sunwoo</creatorcontrib><creatorcontrib>Hong, Seungwoo</creatorcontrib><creatorcontrib>Zhang, Zhengya</creatorcontrib><creatorcontrib>Lee, Youngjoo</creatorcontrib><collection>arXiv Computer Science</collection><collection>arXiv.org</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Kam, Dongyun</au><au>Yun, Myeongji</au><au>Yoo, Sunwoo</au><au>Hong, Seungwoo</au><au>Zhang, Zhengya</au><au>Lee, Youngjoo</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Panacea: Novel DNN Accelerator using Accuracy-Preserving Asymmetric Quantization and Energy-Saving Bit-Slice Sparsity</atitle><date>2024-12-13</date><risdate>2024</risdate><abstract>Low bit-precisions and their bit-slice sparsity have recently been studied to
accelerate general matrix-multiplications (GEMM) during large-scale deep neural
network (DNN) inferences. While the conventional symmetric quantization
facilitates low-resolution processing with bit-slice sparsity for both weight
and activation, its accuracy loss caused by the activation's asymmetric
distributions cannot be acceptable, especially for large-scale DNNs. In efforts
to mitigate this accuracy loss, recent studies have actively utilized
asymmetric quantization for activations without requiring additional
operations. However, the cutting-edge asymmetric quantization produces numerous
nonzero slices that cannot be compressed and skipped by recent bit-slice GEMM
accelerators, naturally consuming more processing energy to handle the
quantized DNN models.
To simultaneously achieve high accuracy and hardware efficiency for
large-scale DNN inferences, this paper proposes an Asymmetrically-Quantized
bit-Slice GEMM (AQS-GEMM) for the first time. In contrast to the previous
bit-slice computing, which only skips operations of zero slices, the AQS-GEMM
compresses frequent nonzero slices, generated by asymmetric quantization, and
skips their operations. To increase the slice-level sparsity of activations, we
also introduce two algorithm-hardware co-optimization methods: a zero-point
manipulation and a distribution-based bit-slicing. To support the proposed
AQS-GEMM and optimizations at the hardware-level, we newly introduce a DNN
accelerator, Panacea, which efficiently handles sparse/dense workloads of the
tiled AQS-GEMM to increase data reuse and utilization. Panacea supports a
specialized dataflow and run-length encoding to maximize data reuse and
minimize external memory accesses, significantly improving its hardware
efficiency. Our benchmark evaluations show Panacea outperforms existing DNN
accelerators.</abstract><doi>10.48550/arxiv.2412.10059</doi><oa>free_for_read</oa></addata></record> |
fulltext | fulltext_linktorsrc |
identifier | DOI: 10.48550/arxiv.2412.10059 |
ispartof | |
issn | |
language | eng |
recordid | cdi_arxiv_primary_2412_10059 |
source | arXiv.org |
subjects | Computer Science - Artificial Intelligence Computer Science - Hardware Architecture |
title | Panacea: Novel DNN Accelerator using Accuracy-Preserving Asymmetric Quantization and Energy-Saving Bit-Slice Sparsity |
url | https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-10T02%3A08%3A08IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-arxiv_GOX&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Panacea:%20Novel%20DNN%20Accelerator%20using%20Accuracy-Preserving%20Asymmetric%20Quantization%20and%20Energy-Saving%20Bit-Slice%20Sparsity&rft.au=Kam,%20Dongyun&rft.date=2024-12-13&rft_id=info:doi/10.48550/arxiv.2412.10059&rft_dat=%3Carxiv_GOX%3E2412_10059%3C/arxiv_GOX%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true |