Convolutional kernel function algebra
File(s)fcomp-04-921454.pdf (636.5 KB)
Published version
Author(s)
Stow, Edward
Kelly, Paul HJ
Type
Journal Article
Abstract
Many systems for image manipulation, signal analysis, machine learning, and scientific computing make use of discrete convolutional filters that are known before computation begins. These contexts benefit from common sub-expression elimination to reduce the number of calculations required, both multiplications and additions. We present an algebra for describing convolutional kernels and filters at a sufficient level of abstraction to enable intuitive common sub-expression based optimizations through decomposing filters into smaller, repeated, kernels. This enables the creation of an enormous search space of potential implementations of filters via algebraic manipulation. We demonstrate how integral image and sliding window optimizations can be expressed in the context of common sub-expression elimination as well as show the direct use case for this algebra in massively SIMD multiply-free contexts such as in cellular processor arrays. We then show that this algebra is general enough to express and optimize kernels that use non-standard semi-rings to enable shortest path algorithms.
Date Issued
2022-08-22
Date Acceptance
2022-07-18
Citation
Frontiers of Computer Science, 2022, 4, pp.1-13
ISSN
2095-2228
Publisher
Springer
Start Page
1
End Page
13
Journal / Book Title
Frontiers of Computer Science
Volume
4
Copyright Statement
© 2022 Stow and Kelly. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
License URL
Sponsor
Engineering & Physical Science Research Council (E
Engineering & Physical Science Research Council (EPSRC)
Identifier
https://www.webofscience.com/api/gateway?GWVersion=2&SrcApp=PARTNER_APP&SrcAuth=LinksAMR&KeyUT=WOS:000853730700001&DestLinkType=FullRecord&DestApp=ALL_WOS&UsrCustomerID=1ba7043ffcc86c417c072aa74d649202
Grant Number
PO: ERZ1820653
EP/P010040/1
Subjects
Science & Technology
Technology
Computer Science, Interdisciplinary Applications
Computer Science
convolution
stencil
compiler
Focal-Plane Sensor-Processor
algebra
optimization
Publication Status
Published
Article Number
ARTN 921454
Date Publish Online
2022-08-22