ParDiff: Efficiently Parallelizing Reverse-Mode Automatic Differentiation with Direct Indexing

View at publisher
Authors: Shuhong Huang, Shizhi Tang, Yuan Wen, Huanqi Cao, Rui Tang, Yidong Chen, Jiping Yu, Yang Li, Chao Jiang, Limin Xiao, Jidong Zhai
Cited by: 0
References: 26

Abstract

Automatic Differentiation (AD) is a technique that computes the derivatives of numerical programs by systematically applying the chain rule, playing a critical role in domains such as machine learning, simulation, and control systems. However, parallelizing differentiated programs remains a significant challenge due to the conflict between tapes (a data structure for intermediate variable storage) and summations: the differentiation process inherently introduces inter-thread summation patterns, which require prohibitively expensive atomic operations; and traditional tape designs tightly couple data retrieval with the program’s control flow, preventing code restructuring needed to eliminate these costly dependencies.

Fields of Study & Subjects

Parallel Computing and Optimization Techniques Logic programming and type systems Numerical Methods and Algorithms

Publication details

Journal / source
ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming
Pages
452–465
Publication date
28 January 2026