Parallelism-preserving automatic differentiation for second-order array languages

Adam Paszke, Matthew J. Johnson, Roy Frostig, D. Maclaurin
{"title":"Parallelism-preserving automatic differentiation for second-order array languages","authors":"Adam Paszke, Matthew J. Johnson, Roy Frostig, D. Maclaurin","doi":"10.1145/3471873.3472975","DOIUrl":null,"url":null,"abstract":"We develop automatic differentiation (AD) procedures for reductions and scans—parameterized by arbitrary differentiable monoids—in a way that preserves parallelism, by rewriting them as other reductions and scans. This is in contrast with the literature and with existing AD systems, which are either general, but force sequential execution of the derivative program, or only include hand-crafted rules for a select few monoids (usually (0, +), (1, ×), (−∞, max) and (∞, min)) and thus lack the general flexibility of second-order languages.","PeriodicalId":195605,"journal":{"name":"Proceedings of the 9th ACM SIGPLAN International Workshop on Functional High-Performance and Numerical Computing","volume":"76 5 Pt 1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-08-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 9th ACM SIGPLAN International Workshop on Functional High-Performance and Numerical Computing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3471873.3472975","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5

Abstract

We develop automatic differentiation (AD) procedures for reductions and scans—parameterized by arbitrary differentiable monoids—in a way that preserves parallelism, by rewriting them as other reductions and scans. This is in contrast with the literature and with existing AD systems, which are either general, but force sequential execution of the derivative program, or only include hand-crafted rules for a select few monoids (usually (0, +), (1, ×), (−∞, max) and (∞, min)) and thus lack the general flexibility of second-order languages.
二阶数组语言的保持并行性的自动微分
我们开发了自动微分(AD)程序的约简和扫描-参数化的任意可微模-以一种保留并行性的方式,通过重写它们作为其他约简和扫描。这与文献和现有的AD系统形成对比,它们要么是通用的,但强制衍生程序的顺序执行,要么只包括针对少数monoids(通常是(0,+),(1,x),(−∞,max)和(∞,min))的手工制作规则,因此缺乏二阶语言的一般灵活性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书