Guardado en:
Detalles Bibliográficos
Autores principales: Zhang, Zhiyi, Zhang, Pengfei, Xu, Zhuopin, Wang, Qi
Formato: Preprint
Publicado: 2023
Materias:
Acceso en línea:https://arxiv.org/abs/2306.15951
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866912001312161792
author Zhang, Zhiyi
Zhang, Pengfei
Xu, Zhuopin
Wang, Qi
author_facet Zhang, Zhiyi
Zhang, Pengfei
Xu, Zhuopin
Wang, Qi
contents Convolutional neural networks necessitate good algorithms to reduce complexity, and sufficient utilization of parallel processors for acceleration. Within convolutional layers, there are three types of operators: convolution used in forward propagation, deconvolution and dilated-convolution utilized in backward propagation. During the execution of these operators, zeros are typically added to tensors, leading to redundant calculations and unnecessary strain on hardware. To circumvent these inefficiencies, we propose the C-K-S algorithm, accompanied by efficient GPU implementations. C-K-S trims filters to exclude zero-padding. For deconvolution and dilated-convolution, C-K-S transforms sparse tensors into dense tensors, and standardizes the local computational rules to simplify the hardware control. The experimental results demonstrate that C-K-S offers good performance in terms of speed and convergence, surpassing the capabilities of PyTorch and cuDNN in certain scenarios.
format Preprint
id arxiv_https___arxiv_org_abs_2306_15951
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Reduce Computational Complexity for Convolutional Layers by Skipping Zeros
Zhang, Zhiyi
Zhang, Pengfei
Xu, Zhuopin
Wang, Qi
Machine Learning
Artificial Intelligence
Convolutional neural networks necessitate good algorithms to reduce complexity, and sufficient utilization of parallel processors for acceleration. Within convolutional layers, there are three types of operators: convolution used in forward propagation, deconvolution and dilated-convolution utilized in backward propagation. During the execution of these operators, zeros are typically added to tensors, leading to redundant calculations and unnecessary strain on hardware. To circumvent these inefficiencies, we propose the C-K-S algorithm, accompanied by efficient GPU implementations. C-K-S trims filters to exclude zero-padding. For deconvolution and dilated-convolution, C-K-S transforms sparse tensors into dense tensors, and standardizes the local computational rules to simplify the hardware control. The experimental results demonstrate that C-K-S offers good performance in terms of speed and convergence, surpassing the capabilities of PyTorch and cuDNN in certain scenarios.
title Reduce Computational Complexity for Convolutional Layers by Skipping Zeros
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2306.15951