Lune

SC2022顶会

AD for an Array Language with Nested Parallelism

Robert Schenck, Ola Rønning, Troels Henriksen, Cosmin E. Oancea

摘要

We present a technique for applying (forward and) reversemode automatic differentiation (AD) on a non-recursive secondorder functional array language that supports nested parallelism and is primarily aimed at efficient GPU execution.

The key idea is to eliminate the need for a "tape" by relying on redundant execution to bring into each new scope all program variables that may be needed by the differentiated code. Efficient execution is enabled by the observation that perfectly-nested scopes do not introduce re-execution, and such perfect nests are produced by known compiler transformations, e.g., flattening. Our technique differentiates loops and bulk-parallel operators-such as map, reduce, histogram, scan, scatter-by specific rewrite rules, and aggressively optimizes the resulting nested-parallel code. We report an experimental evaluation that compares with established AD solutions and demonstrates competitive performance on nine common benchmarks from recent applied AD literature.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Verifying Array Properties in Pure Data-Parallel Programs 引用了 Compiling generalized histograms for GPU
  • Reverse-mode automatic differentiation and optimization of GPU kernels via enzyme 引用了 Instead of Rewriting Foreign Code for Machine Learning, Automatically Synthesize Fast Gradients
  • Efficient CHAD 引用了 Efficient Dual-Numbers Reverse AD via Well-Known Program Transformations
  • Efficient Dual-Numbers Reverse AD via Well-Known Program Transformations 引用了 Efficient CHAD
  • Scalable Automatic Differentiation of Multiple Parallel Paradigms through Compiler Augmentation 引用了 Reverse-mode automatic differentiation and optimization of GPU kernels via enzyme
  • Scalable Automatic Differentiation of Multiple Parallel Paradigms through Compiler Augmentation 引用了 Instead of Rewriting Foreign Code for Machine Learning, Automatically Synthesize Fast Gradients
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Scalable Automatic Differentiation of Multiple Parallel Paradigms through Compiler AugmentationWilliam S. Moses, Sri Hari Krishna Narayanan, Ludger Paehler, Valentin Churavy 等SC 2022 · 25 次引用
  2. Efficient Dual-Numbers Reverse AD via Well-Known Program TransformationsTom Smeding, Matthijs VákárPOPL 2023 · 10 次引用
  3. Efficient CHADTom Smeding, Matthijs VákárPOPL 2024 · 6 次引用
  4. Verifying Array Properties in Pure Data-Parallel ProgramsNikolaj Hey Hinnerskov, Robert Schenck, Cosmin E. OanceaPLDI 2026 · 1 次引用

它引用的 Paper3

  1. Instead of Rewriting Foreign Code for Machine Learning, Automatically Synthesize Fast GradientsWilliam S. Moses, Valentin ChuravyNeurIPS 2020 · 144 次引用
  2. Reverse-mode automatic differentiation and optimization of GPU kernels via enzymeWilliam S. Moses, Valentin Churavy, Ludger Paehler, Jan Hückelheim 等SC 2021 · 50 次引用
  3. Compiling generalized histograms for GPUTroels Henriksen, Sune Hellfritzsch, Ponnuswamy Sadayappan, Cosmin E. OanceaSC 2020 · 10 次引用

相关 Paper

  1. ParDiff: Efficiently Parallelizing Reverse-Mode Automatic Differentiation with Direct IndexingShuhong Huang, Shizhi Tang, Yuan Wen, Huanqi Cao 等PPoPP 2026
  2. Provably correct, asymptotically efficient, higher-order reverse-mode automatic differentiationFaustyna Krawiec, Simon Peyton Jones, Neel Krishnaswami, Tom Ellis 等POPL 2022 · 27 次引用
  3. Collapsing Taylor Mode Automatic DifferentiationFelix Dangel, Tim Siebert, Marius Zeinhofer, Andrea WaltherNeurIPS 2025 · 1 次引用
  4. A simple differentiable programming languageMartín Abadi, Gordon D. PlotkinPOPL 2020 · 49 次引用
  5. Locality-Aware Automatic Differentiation on the GPU for Mesh-Based ComputationsAhmed H. Mahmoud, Rahul Goel, Jonathan Ragan-Kelley, Justin SolomonSIGGRAPH 2026
黄昏的海面,两侧是细线勾勒的悬崖