paper-with-me

Papers

Im2win: An Efficient Convolution Paradigm on GPU

2023-06-25 · Shuai Lu, Jun Chu, Luanzheng Guo, Xu T. Liu

Convolution is the most time-consuming operation in deep neural network operations, so its performance is critical to the overall performance of the neural network. The commonly used methods for convolution on GPU include the general matrix multiplication (GEMM)-based convolution and the direct convolution. GEMM-based convolution relies on the im2col algorithm, which results in a large memory footprint and reduced performance. Direct convolution does not have the large memory footprint problem, but the performance is not on par with GEMM-based approach because of the discontinuous memory access. This paper proposes a window-order-based convolution paradigm on GPU, called im2win, which not only reduces memory footprint but also offers continuous memory accesses, resulting in improved performance. Furthermore, we apply a range of optimization techniques on the convolution CUDA kernel, including shared memory, tiling, micro-kernel, double buffer, and prefetching. We compare our implementation with the direct convolution, and PyTorch's GEMM-based convolution with cuBLAS and six cuDNN-based convolution implementations, with twelve state-of-the-art DNN benchmarks. The experimental results show that our implementation 1) uses less memory footprint by 23.1% and achieves 3.5$\times$ TFLOPS compared with cuBLAS, 2) uses less memory footprint by 32.8% and achieves up to 1.8$\times$ TFLOPS compared with the best performant convolutions in cuDNN, and 3) achieves up to 155$\times$ TFLOPS compared with the direct convolution. We further perform an ablation study on the applied optimization techniques and find that the micro-kernel has the greatest positive impact on performance.

📄 PDF Abstract BibTeX arXiv:2306.14316

Code (1)

seth-lu/im2win 공식 구현

Tasks

GPU

Methods 이 논문이 사용한 방법론

Convolution A convolution is a type of matrix operation, consisting of a kernel, a small matrix of weights, that slides over input data performing element-wise multiplication with the…

Similar Papers 제목 키워드 기반

Spectral GNN via Two-dimensional (2-D) Graph Convolution

2024-04-06 · Guoming Li, Jian Yang, Shangsong Liang, Dongsheng Luo

Spectral Graph Neural Networks (GNNs) have achieved tremendous success in graph learning. As an essential part of spectral GNNs, spectral graph convolution extracts crucial frequency information in graph data, leading to…

Graph Learning

A Unified Weight Initialization Paradigm for Tensorial Convolutional Neural Networks

2022-05-28 · Yu Pan, Zeyong Su, Ao Liu, Jingquan Wang 외

Tensorial Convolutional Neural Networks (TCNNs) have attracted much research attention for their power in reducing model parameters or enhancing the generalization ability. However, exploration of TCNNs is hindered even …

Tensor Decomposition

Convolutional optimization with convex kernel and power lift

2025-03-28 · Zhipeng Lu

We focus on establishing the foundational paradigm of a novel optimization theory based on convolution with convex kernels. Our goal is to devise a morally deterministic model of locating the global optima of an arbitrar…

EEGNet: A Compact Convolutional Network for EEG-based Brain-Computer Interfaces

2016-11-23 · Vernon J. Lawhern, Amelia J. Solon, Nicholas R. Waytowich, Stephen M. Gordon 외

Brain computer interfaces (BCI) enable direct communication with a computer, using neural activity as the control signal. This neural signal is generally chosen from a variety of well-studied electroencephalogram (EEG) s…

EEGElectroencephalogram (EEG)Motor Imagery

Classification of Visual Perception and Imagery based EEG Signals Using Convolutional Neural Networks

2020-05-15 · Ji-Seon Bang, Ji-Hoon Jeong, Dong-Ok Won

Recently, visual perception (VP) and visual imagery (VI) paradigms are investigated in several brain-computer interface (BCI) studies. VP and VI are defined as a changing of brain signals when perceiving and memorizing v…

Binary ClassificationBrain Computer InterfaceEEGElectroencephalogram (EEG)+1