paper-with-me

Papers

Sliding Window Sum Algorithms for Deep Neural Networks

2023-05-25 · Roman Snytsar

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.

📄 PDF Abstract BibTeX arXiv:2305.16513

Code (0)

등록된 구현이 없습니다.

Tasks

CPUGPUTime SeriesTime Series Analysis

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

Sliding window property testing for regular languages

2019-09-23 · Moses Ganardi, Danny Hucke, Markus Lohrey, Tatiana Starikovskaya

We study the problem of recognizing regular languages in a variant of the streaming model of computation, called the sliding window model. In this model, we are given a size of the sliding window $n$ and a stream of symb…

Learning-Augmented Frequency Estimation in Sliding Windows

2024-09-17 · Rana Shahout, Ibrahim Sabek, Michael Mitzenmacher

We show how to utilize machine learning approaches to improve sliding window algorithms for approximate frequency estimation problems, under the ``algorithms with predictions'' framework. In this dynamic environment, pre…

Sliding Window 3-Objective Pareto Optimization for Problems with Chance Constraints

2024-06-07 · Frank Neumann, Carsten Witt

Constrained single-objective problems have been frequently tackled by evolutionary multi-objective algorithms where the constraint is relaxed into an additional objective. Recently, it has been shown that Pareto optimiza…

Fast Pareto Optimization Using Sliding Window Selection

2023-05-11 · Frank Neumann, Carsten Witt

Pareto optimization using evolutionary multi-objective algorithms has been widely applied to solve constrained submodular optimization problems. A crucial factor determining the runtime of the used evolutionary algorithm…

Evolutionary Algorithms

Efficient Sliding Window Computation for NN-Based Template Matching

2018-09-01 · ECCV 2018 9 · Lior Talker, Yael Moses, Ilan Shimshoni

Template matching is a fundamental problem in computer vision, with many applications. Existing methods use sliding window computation for choosing an image-window that best matches the tem- plate. For classic algorithms…

Template Matching