Globally Assisted Instance Normalization for Bandwidth-Efficient Neural Style Transfer

Hsiu-Pin Hsu, Chao-Tsung Huang
{"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}
引用次数: 0

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.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
带宽高效神经风格迁移的全局辅助实例归一化
实例归一化(IN)被广泛认为是快速神经风格转移算法中生成高质量风格化图像的关键技术。然而,由于信道均值和标准差的计算,实例归一化需要CNN加速器的逐层推理流。这种数据流导致巨大的DRAM带宽,这是移动设备或嵌入式应用无法承受的。我们提出了一种新的归一化方法,称为全局辅助实例归一化(GAIN),它从全局分支接收生成的统计数据,而无需实际计算通道的平均值和标准差。我们的方法生成可比较的程式化结果,并结合基于块的推理流以避免中间数据传输。对于全高清30fps和4K UHD 60fps的快速神经风格传输,我们分别只需要2.52 GB/s和15.40 GB/s的DRAM带宽,比采用逐层推理流方法的IN低90.22%和92.53%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Reconfigurable Neural Synaptic Plasticity-Based Stochastic Deep Neural Network Computing Efficient Mind-wandering Detection System with GSR Signals on MM-SART Database Time sliding window for the detection of CCSK frames Implementation of a Two-Dimensional FFT/IFFT Processor for Real-Time High-Resolution Synthetic Aperture Radar Imaging TernGEMM: GEneral Matrix Multiply Library with Ternary Weights for Fast DNN Inference
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1