arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.11244cs.SCcs.PL
收藏

步长差分边界矩阵

Strided Difference Bound Matrices

Arjun Pitchanathan, Albert Cohen, Oleksandr Zinenko, Tobias Grosser

AI总结:

本文提出 SDBM 子多面体抽象域,给出判定算法、域算子与复杂度证明,并通过 MLIR 实证验证其适用于机器学习编译器。

摘要:

许多符号分析与优化问题都可以用多面体来形式化。多面体的子类(也称为子多面体域)因其更低的空间和时间复杂度而受到青睐。我们提出了 Strided Difference Bound Matrix(SDBM,步长差分边界矩阵)域,它在优化编译器的背景下代表了一个理想折中点。其表达能力和高效算法尤其适合构建机器学习编译器。我们给出了 SDBM 的判定算法、抽象域算子以及计算复杂度证明。我们还使用 MLIR 编译器框架进行了实证研究,以验证该域的实际适用性。我们刻画了实践中频繁出现的一类 SDBM 子类,并在该子类上展示了更快的算法。

英文摘要:

A wide range of symbolic analysis and optimization problems can be formalized using polyhedra. Sub-classes of polyhedra, also known as sub-polyhedral domains, are sought for their lower space and time complexity. We introduce the Strided Difference Bound Matrix (SDBM) domain, which represents a sweet spot in the context of optimizing compilers. Its expressiveness and efficient algorithms are particularly well suited to the construction of machine learning compilers. We present decision algorithms, abstract domain operators and computational complexity proofs for SDBM. We also conduct an empirical study with the MLIR compiler framework to validate the domain's practical applicability. We characterize a sub-class of SDBMs that frequently occurs in practice, and demonstrate even faster algorithms on this sub-class.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑