跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 数据库

arXiv:2002.07951 (cs)
[提交于 2020年2月19日 (v1),最后修订于 2020年12月22日 (此版本, v2)]

标题:SPORES: Sum-Product Optimization via Relational Equality Saturation for Large Scale Linear Algebra

作者:Yisu Remy Wang, Shana Hutchison, Jonathan Leang, Bill Howe, Dan Suciu
查看论文《SPORES: Sum-Product Optimization via Relational Equality Saturation for Large Scale Linear Algebra》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Machine learning algorithms are commonly specified in linear algebra (LA). LA expressions can be rewritten into more efficient forms, by taking advantage of input properties such as sparsity, as well as program properties such as common subexpressions and fusible operators. The complex interaction among these properties' impact on the execution cost poses a challenge to optimizing compilers. Existing compilers resort to intricate heuristics that complicate the codebase and add maintenance cost but fail to search through the large space of equivalent LA expressions to find the cheapest one. We introduce a general optimization technique for LA expressions, by converting the LA expressions into Relational Algebra (RA) expressions, optimizing the latter, then converting the result back to (optimized) LA expressions. One major advantage of this method is that it is complete, meaning that any equivalent LA expression can be found using the equivalence rules in RA. The challenge is the major size of the search space, and we address this by adopting and extending a technique used in compilers, called equality saturation. We integrate the optimizer into SystemML and validate it empirically across a spectrum of machine learning tasks; we show that we can derive all existing hand-coded optimizations in SystemML, and perform new optimizations that lead to speedups from 1.2X to 5X.
主题: 数据库 (cs.DB); 程序设计语言 (cs.PL)
引用方式: arXiv:2002.07951 [cs.DB]
  (或者 arXiv:2002.07951v2 [cs.DB] 对于此版本)
  https://doi.org/10.48550/arXiv.2002.07951

提交历史

来自:Remy Wang
[v1] 2020年2月19日 星期三 01:15:17 UTC
[v2] 2020年12月22日 星期二 19:40:44 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs
< 上一篇   |   下一篇 >
最新 | 近期 | 2020-12
切换浏览方式为:
cs.DB
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站