arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.04982cs.AR
收藏

面向文本生成图像的28.6 mJ/iter Stable Diffusion处理器:基于Patch相似度的稀疏增强与基于文本的混合精度

A 28.6 mJ/iter Stable Diffusion Processor for Text-to-Image Generation with Patch Similarity-based Sparsity Augmentation and Text-based Mixed-Precision

Jiwon Choi, Wooyoung Jo, Seongyon Hong, Beomseok Kwon, Wonhoon Park, Hoi-Jun Yoo

AI总结:

提出一种高能效Stable Diffusion处理器,通过PSSA、TIPS和DBSC三项技术降低内存访问能耗并提升FFN层能效,在28nm工艺下实现28.6 mJ/iter的文本生成图像。

摘要:

本文提出了一种用于文本生成图像的高能效Stable Diffusion处理器。尽管Stable Diffusion因高质量的图像合成结果而备受关注,但其固有特性阻碍了其在移动平台上的部署。所提出的处理器通过三个关键特性实现了高吞吐量和高能效:1)基于Patch相似度的稀疏增强(PSSA),将自注意力分数的外部内存访问(EMA)能耗降低60.3%,使总EMA能耗降低37.8%。2)基于文本的重要像素识别(TIPS),允许44.8%的FFN层工作负载以低精度激活值处理。3)双模位切片核心(DBSC)架构,将FFN层的能效提升43.0%。该处理器采用28nm CMOS工艺实现,实现3.84 TOPS峰值吞吐量,平均功耗为225.6 mW。总之,在MS-COCO数据集上可实现28.6 mJ/iteration的高能效文本生成图像处理器。

英文摘要:

This paper presents an energy-efficient stable diffusion processor for text-to-image generation. While stable diffusion attained attention for high-quality image synthesis results, its inherent characteristics hinder its deployment on mobile platforms. The proposed processor achieves high throughput and energy efficiency with three key features as solutions: 1) Patch similarity-based sparsity augmentation (PSSA) to reduce external memory access (EMA) energy of self-attention score by 60.3 %, leading to 37.8 % total EMA energy reduction. 2) Text-based important pixel spotting (TIPS) to allow 44.8 % of the FFN layer workload to be processed with low-precision activation. 3) Dual-mode bit-slice core (DBSC) architecture to enhance energy efficiency in FFN layers by 43.0 %. The proposed processor is implemented in 28 nm CMOS technology and achieves 3.84 TOPS peak throughput with 225.6 mW average power consumption. In sum, 28.6 mJ/iteration highly energy-efficient text-to-image generation processor can be achieved at MS-COCO dataset.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑