On Simplifying Dependent Polyhedral Reductions

10/06/2020
by   Sanjay Rajopadhye, et al.
0

Reductions combine collections of input values with an associative (and usually also commutative) operator to produce either a single, or a collection of outputs. They are ubiquitous in computing, especially with big data and deep learning. When the same input value contributes to multiple output values, there is a tremendous opportunity for reducing (pun intended) the computational effort. This is called simplification. Polyhedral reductions are reductions where the input and output data collections are (dense) multidimensional arrays (i.e., tensors), accessed with linear/affine functions of the indices. tensor contractions Gautam and Rajopadhye <cit.> showed how polyhedral reductions could be simplified automatically (through compile time analysis) and optimally (the resulting program had minimum asymptotic complexity). Yang, Atkinson and Carbin <cit.> extended this to the case when (some) input values depend on (some) outputs. Specifically, they showed how the optimal simplification problem could be formulated as a bilinear programming problem, and for the case when the reduction operator admits an inverse, they gave a heuristic solution that retained optimality. In this note, we show that simplification of dependent reductions can be formulated as a simple extension of the Gautam-Rajopadhye backtracking search algorithm.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/21/2023

Maximal Simplification of Polyhedral Reductions

Reductions combine multiple input values with an associative operator to...
research
07/22/2020

Simplifying Multiple-Statement Reductions with the Polyhedral Model

A Reduction – an accumulation over a set of values, using an associative...
research
01/18/2018

Scheduling and Tiling Reductions on Realistic Machines

Computations, where the number of results is much smaller than the input...
research
04/14/2021

Dimension-Preserving Reductions Between SVP and CVP in Different p-Norms

We show a number of reductions between the Shortest Vector Problem and t...
research
06/28/2023

On the complexity of isomorphism problems for tensors, groups, and polynomials IV: linear-length reductions and their applications

Many isomorphism problems for tensors, groups, algebras, and polynomials...
research
03/17/2016

Optimal Black-Box Reductions Between Optimization Objectives

The diverse world of machine learning applications has given rise to a p...
research
08/21/2020

Optimal Metric Search Is Equivalent to the Minimum Dominating Set Problem

In metric search, worst-case analysis is of little value, as the search ...

Please sign up or login with your details

Forgot password? Click here to reset