带宽高效神经风格迁移的全局辅助实例归一化

Hsiu-Pin Hsu, Chao-Tsung Huang
{"title":"带宽高效神经风格迁移的全局辅助实例归一化","authors":"Hsiu-Pin Hsu, Chao-Tsung Huang","doi":"10.1109/SiPS52927.2021.00019","DOIUrl":null,"url":null,"abstract":"Instance normalization (IN) has been widely considered as a key technique in fast neural style transfer algorithms to generate high-quality stylized images. However, because of the calculations of channel-wise means and standard deviations, instance normalization requires layer-by-layer inference flow for CNN accelerators. This kind of dataflow results in huge DRAM bandwidth which is unaffordable for mobile devices or embedding applications. We propose a novel normalization method named globally assisted instance normalization (GAIN) which receives generated statistics from a global branch without actually calculating channel-wise means and standard deviations. Our method generates comparable stylized results and incorporates block-based inference flows to avoid intermediate data transmission. For fast neural style transfer at Full HD 30 fps and 4K UHD 60 fps, we only need 2.52 GB/s and 15.40 GB/s of DRAM bandwidth respectively, which are 90.22% and 92.53% lower than IN with the layer-by-layer inference flow method.","PeriodicalId":103894,"journal":{"name":"2021 IEEE Workshop on Signal Processing Systems (SiPS)","volume":"2 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Globally Assisted Instance Normalization for Bandwidth-Efficient Neural Style Transfer\",\"authors\":\"Hsiu-Pin Hsu, Chao-Tsung Huang\",\"doi\":\"10.1109/SiPS52927.2021.00019\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Instance normalization (IN) has been widely considered as a key technique in fast neural style transfer algorithms to generate high-quality stylized images. However, because of the calculations of channel-wise means and standard deviations, instance normalization requires layer-by-layer inference flow for CNN accelerators. This kind of dataflow results in huge DRAM bandwidth which is unaffordable for mobile devices or embedding applications. We propose a novel normalization method named globally assisted instance normalization (GAIN) which receives generated statistics from a global branch without actually calculating channel-wise means and standard deviations. Our method generates comparable stylized results and incorporates block-based inference flows to avoid intermediate data transmission. For fast neural style transfer at Full HD 30 fps and 4K UHD 60 fps, we only need 2.52 GB/s and 15.40 GB/s of DRAM bandwidth respectively, which are 90.22% and 92.53% lower than IN with the layer-by-layer inference flow method.\",\"PeriodicalId\":103894,\"journal\":{\"name\":\"2021 IEEE Workshop on Signal Processing Systems (SiPS)\",\"volume\":\"2 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-10-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 IEEE Workshop on Signal Processing Systems (SiPS)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/SiPS52927.2021.00019\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE Workshop on Signal Processing Systems (SiPS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SiPS52927.2021.00019","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

实例归一化(IN)被广泛认为是快速神经风格转移算法中生成高质量风格化图像的关键技术。然而,由于信道均值和标准差的计算,实例归一化需要CNN加速器的逐层推理流。这种数据流导致巨大的DRAM带宽,这是移动设备或嵌入式应用无法承受的。我们提出了一种新的归一化方法,称为全局辅助实例归一化(GAIN),它从全局分支接收生成的统计数据,而无需实际计算通道的平均值和标准差。我们的方法生成可比较的程式化结果,并结合基于块的推理流以避免中间数据传输。对于全高清30fps和4K UHD 60fps的快速神经风格传输,我们分别只需要2.52 GB/s和15.40 GB/s的DRAM带宽,比采用逐层推理流方法的IN低90.22%和92.53%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Globally Assisted Instance Normalization for Bandwidth-Efficient Neural Style Transfer
Instance normalization (IN) has been widely considered as a key technique in fast neural style transfer algorithms to generate high-quality stylized images. However, because of the calculations of channel-wise means and standard deviations, instance normalization requires layer-by-layer inference flow for CNN accelerators. This kind of dataflow results in huge DRAM bandwidth which is unaffordable for mobile devices or embedding applications. We propose a novel normalization method named globally assisted instance normalization (GAIN) which receives generated statistics from a global branch without actually calculating channel-wise means and standard deviations. Our method generates comparable stylized results and incorporates block-based inference flows to avoid intermediate data transmission. For fast neural style transfer at Full HD 30 fps and 4K UHD 60 fps, we only need 2.52 GB/s and 15.40 GB/s of DRAM bandwidth respectively, which are 90.22% and 92.53% lower than IN with the layer-by-layer inference flow method.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信