关于相关多面体约简的简化
On Simplifying Dependent Polyhedral Reductions
摘要:
\emph{Reductions}将输入值的集合与关联(通常也是可交换的)运算符组合,以生成单个输出或输出集合。它们在计算中无处不在,特别是在大数据和深度学习方面。当\emph{same}输入值对多个输出值有贡献时,存在减少(双关语)计算工作量的巨大机会。这就是所谓的\emph{simplification}。\emph{Polyhedral reductions}是其中输入和输出数据集合是(密集)多维数组(即,\emph{tensors}),用索引的线性/仿射函数访问。% \emph{generalized tensor contractions} Gautam和Rajopadhye \cite{sanjay-popl06}展示了如何自动简化多面体约简(通过编译时分析)和优化(生成的程序具有最小的渐近复杂性)。Yang、Atkinson和Carbin \cite{yang2020simplifying}将此扩展到(某些)输入值依赖于(某些)输出的情况。具体来说,他们展示了如何将最优简化问题表述为双线性规划问题,并且对于约简算子允许逆的情况,他们给出了一个保持最优性的启发式解决方案。在这份说明中,我们表明,简化的依赖减少可以制定为一个简单的扩展的Gautam-Rajopadhye回溯搜索算法。
英文摘要:
\emph{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 \emph{same} input value contributes to multiple output values, there is a tremendous opportunity for reducing (pun intended) the computational effort. This is called \emph{simplification}. \emph{Polyhedral reductions} are reductions where the input and output data collections are (dense) multidimensional arrays (i.e., \emph{tensors}), accessed with linear/affine functions of the indices. % \emph{generalized tensor contractions} Gautam and Rajopadhye \cite{sanjay-popl06} 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 \cite{yang2020simplifying} 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。