paper-with-me

Papers

The Indirect Convolution Algorithm

2019-07-03 · Marat Dukhan

Deep learning frameworks commonly implement convolution operators with GEMM-based algorithms. In these algorithms, convolution is implemented on top of matrix-matrix multiplication (GEMM) functions, provided by highly optimized BLAS libraries. Convolutions with 1x1 kernels can be directly represented as a GEMM call, but convolutions with larger kernels require a special memory layout transformation - im2col or im2row - to fit into GEMM interface. The Indirect Convolution algorithm provides the efficiency of the GEMM primitive without the overhead of im2col transformation. In contrast to GEMM-based algorithms, the Indirect Convolution does not reshuffle the data to fit into the GEMM primitive but introduces an indirection buffer - a buffer of pointers to the start of each row of image pixels. This broadens the application of our modified GEMM function to convolutions with arbitrary kernel size, padding, stride, and dilation. The Indirect Convolution algorithm reduces memory overhead proportionally to the number of input channels and outperforms the GEMM-based algorithm by up to 62% on convolution parameters which involve im2col transformations in GEMM-based algorithms. This, however, comes at cost of minor performance reduction on 1x1 stride-1 convolutions.

📄 PDF Abstract BibTeX arXiv:1907.02129

Code (4)

TinkerBoard2-Android/external-XNNPACK tf
annxingyuan/XNNPACK tf
google/XNNPACK tf
liuluyang530/XNNPACK-gpt tf

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 제목 키워드 기반

MEC: Memory-efficient Convolution for Deep Neural Network

2017-06-21 · ICML 2017 8 · Minsik Cho, Daniel Brand

Convolution is a critical component in modern deep neural networks, thus several algorithms for convolution have been developed. Direct convolution is simple but suffers from poor performance. As an alternative, multiple…

Dilated filters for edge detection algorithms

2021-06-14 · Ciprian Orhei, Victor Bogdan, Cosmin Bonchis

Edges are a basic and fundamental feature in image processing, that are used directly or indirectly in huge amount of applications. Inspired by the expansion of image resolution and processing power dilated convolution t…

Edge Detection

Indirect Adversarial Attacks via Poisoning Neighbors for Graph Convolutional Networks

2020-02-19 · Tsubasa Takahashi

Graph convolutional neural networks, which learn aggregations over neighbor nodes, have achieved great performance in node classification tasks. However, recent studies reported that such graph convolutional node classif…

General ClassificationNode Classification

“I’ll be there for you”: The One with Understanding Indirect Answers

2021-11-01 · CODI 2021 11 · Cathrine Damgaard, Paulina Toborek, Trine Eriksen, Barbara Plank

Indirect answers are replies to polar questions without the direct use of word cues such as ‘yes’ and ‘no’. Humans are very good at understanding indirect answers, such as ‘I gotta go home sometime’, when asked ‘You wann…

Dual Convexified Convolutional Neural Networks

2022-05-27 · Site Bai, Chuyang Ke, Jean Honorio

We propose the framework of dual convexified convolutional neural networks (DCCNNs). In this framework, we first introduce a primal learning problem motivated by convexified convolutional neural networks (CCNNs), and the…