Block Walsh–Hadamard Transform-based Binary Layers in Deep Neural Networks

Author:

Pan Hongyi1ORCID,Badawi Diaa1,Cetin Ahmet Enis1

Affiliation:

1. Department of Electrical and Computer Engineering, University of Illinois Chicago, Chicago, Illinois, USA

Abstract

Convolution has been the core operation of modern deep neural networks. It is well known that convolutions can be implemented in the Fourier Transform domain. In this article, we propose to use binary block Walsh–Hadamard transform (WHT) instead of the Fourier transform. We use WHT-based binary layers to replace some of the regular convolution layers in deep neural networks. We utilize both one-dimensional (1D) and 2D binary WHTs in this article. In both 1D and 2D layers, we compute the binary WHT of the input feature map and denoise the WHT domain coefficients using a nonlinearity that is obtained by combining soft-thresholding with the tanh function. After denoising, we compute the inverse WHT. We use 1D-WHT to replace the 1 × 1 convolutional layers, and 2D-WHT layers can replace the 3 × 3 convolution layers and Squeeze-and-Excite layers. 2D-WHT layers with trainable weights can be also inserted before the Global Average Pooling layers to assist the dense layers. In this way, we can reduce the number of trainable parameters significantly with a slight decrease in trainable parameters. In this article, we implement the WHT layers into MobileNet-V2, MobileNet-V3-Large, and ResNet to reduce the number of parameters significantly with negligible accuracy loss. Moreover, according to our speed test, the 2D-FWHT layer runs about 24 times as fast as the regular 3 × 3 convolution with 19.51% less RAM usage in an NVIDIA Jetson Nano experiment.

Funder

University of Illinois Chicago Discovery Partners Institute Seed Funding Program and NSF

Publisher

Association for Computing Machinery (ACM)

Subject

Hardware and Architecture,Software

Reference60 articles.

1. Imagenet classification with deep convolutional neural networks;Krizhevsky Alex;Adv. Neural Inf. Process. Syst.,2012

2. Very deep convolutional networks for large-scale image recognition;Simonyan Karen;arXiv:1409.1556,2014

3. Going deeper with convolutions

4. Residual Attention Network for Image Classification

5. Deep Residual Learning for Image Recognition

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

1. Exploring an efficient frequency-guidance transformer for single image deraining;Signal, Image and Video Processing;2023-12-16

2. Soft threshold iteration-based anti-noise compressed sensing image reconstruction network;Signal, Image and Video Processing;2023-08-25

3. Soft threshold iteration-based anti-noise compressed sensing image reconstruction network;SIGNAL IMAGE VIDEO P;2023

4. Real-Time Wireless ECG-Derived Respiration Rate Estimation using an Autoencoder with a DCT Layer;ICASSP 2023 - 2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP);2023-06-04

5. DCTNet: deep shrinkage denoising via DCT filterbanks;Signal, Image and Video Processing;2023-06-02

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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