Sliding Window Sum Algorithms for Deep Neural Networks

05/25/2023
by   Roman Snytsar, et al.
0

Sliding window sums are widely used for string indexing, hashing and time series analysis. We have developed a family of the generic vectorized sliding sum algorithms that provide speedup of O(P/w) for window size w and number of processors P. For a sum with a commutative operator the speedup is improved to O(P/log(w)). Even more important, our algorithms exhibit efficient memory access patterns. In this paper we study the application of the sliding sum algorithms to the training and inference of the Deep Neural Networks. We demonstrate how both pooling and convolution primitives could be expressed as sliding sums and evaluated by the compute kernels with the shared structure. We show that the sliding sum convolution kernels are more efficient than the commonly used GEMM kernels on the CPU, and could even outperform their GPU counterparts.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/25/2018

Parallel approach to sliding window sums

Sliding window sums are widely used in bioinformatics applications, incl...
research
12/03/2019

Classifying Pattern and Feature Properties to Get a Θ(n) Checker and Reformulation for Sliding Time-Series Constraints

Given, a sequence X of n variables, a time-series constraint ctr using t...
research
05/17/2018

Disparity Sliding Window: Object Proposals From Disparity Images

Sliding window approaches have been widely used for object recognition t...
research
05/18/2021

Combinatorics of minimal absent words for a sliding window

A string w is called a minimal absent word (MAW) for another string T if...
research
04/26/2021

A Sliding-Window Approach to Automatic Creation of Meeting Minutes

Meeting minutes record any subject matters discussed, decisions reached ...
research
06/10/2020

Sliding Window Algorithms for k-Clustering Problems

The sliding window model of computation captures scenarios in which data...
research
11/30/2014

Untangling Local and Global Deformations in Deep Convolutional Networks for Image Classification and Sliding Window Detection

Deep Convolutional Neural Networks (DCNNs) commonly use generic `max-poo...

Please sign up or login with your details

Forgot password? Click here to reset