arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2110.02307cs.PLcs.AIcs.LG
收藏

可微规划的粗化优化

Coarsening Optimization for Differentiable Programming

North Carolina State University(北卡罗来纳州立大学);CoCoPIE LLC(CoCoPIE有限责任公司);Facebook Inc.(脸书公司)
Xipeng Shen, Guoqiang Zhang, Irene Dea, Samantha Andow, Emilio Arroyo-Fang, Neal Gafter, Johann George, Melissa Grueter, Erik Meijer, Steffi Stumpos, Alanna Tem… 展开作者

Xipeng Shen, Guoqiang Zhang, Irene Dea, Samantha Andow, Emilio Arroyo-Fang, Neal Gafter, Johann George, Melissa Grueter, Erik Meijer, Steffi Stumpos, Alanna Tempest, Christy Warden, Shannon Yang

摘要:

提出了一种新的可微规划优化方法-粗化优化。它提供了一种系统的方法来协同符号微分和算法微分(AD)。通过它,AD中每个步骤所区分的计算粒度可以变得比单个操作大得多,从而大大减少了AD中的运行时计算和数据分配。为了规避控制流在粗化中对符号微分造成的困难,这项工作引入了一种新的方法,允许符号推理和涉及分支和循环的计算的微分。通过以重用为中心的兴趣段标识设计,进一步避免符号分化中的“表情膨胀”,平衡重用和粗化。在一组实际应用程序上的实验表明,粗化优化在加速AD方面是有效的,可以产生几倍到两个数量级的加速比。

英文摘要:

This paper presents a novel optimization for differentiable programming named coarsening optimization. It offers a systematic way to synergize symbolic differentiation and algorithmic differentiation (AD). Through it, the granularity of the computations differentiated by each step in AD can become much larger than a single operation, and hence lead to much reduced runtime computations and data allocations in AD. To circumvent the difficulties that control flow creates to symbolic differentiation in coarsening, this work introduces phi-calculus, a novel method to allow symbolic reasoning and differentiation of computations that involve branches and loops. It further avoids "expression swell" in symbolic differentiation and balance reuse and coarsening through the design of reuse-centric segment of interest identification. Experiments on a collection of real-world applications show that coarsening optimization is effective in speeding up AD, producing several times to two orders of magnitude speedups.

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

↑