面向应用的线性代数算法:基于搜索的方法
Application-tailored Linear Algebra Algorithms: A search-based Approach
AI总结:
提出一种知识感知的线性代数编译器,利用问题特定信息自动生成算法,在敏感性和基因组研究中实现100倍和1000倍加速。
摘要:
本文通过利用问题特定知识,解决了自动生成线性代数运算算法的问题。在大多数情况下,用户对当前问题拥有的信息比当前库和计算环境所能接受的要多得多;证据表明,如果合理利用这些信息,将带来不寻常/意想不到的加速。我们引入了一种知识感知的线性代数编译器,允许用户输入矩阵方程以及关于操作数和问题本身的属性;例如,他们可以指定方程是序列的一部分,以及连续实例之间如何相互关联。编译器利用所有这些信息来指导算法的生成,限制搜索空间的大小,并避免冗余计算。我们将该编译器应用于敏感性和基因组研究中出现的方程;生成的算法分别实现了100倍和1000倍的加速。
英文摘要:
In this paper, we tackle the problem of automatically generating algorithms for linear algebra operations by taking advantage of problem-specific knowledge. In most situations, users possess much more information about the problem at hand than what current libraries and computing environments accept; evidence shows that if properly exploited, such information leads to uncommon/unexpected speedups. We introduce a knowledge-aware linear algebra compiler that allows users to input matrix equations together with properties about the operands and the problem itself; for instance, they can specify that the equation is part of a sequence, and how successive instances are related to one another. The compiler exploits all this information to guide the generation of algorithms, to limit the size of the search space, and to avoid redundant computations. We applied the compiler to equations arising as part of sensitivity and genome studies; the algorithms produced exhibit, respectively, 100- and 1000-fold speedups.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。