mlsanityData to 14 Oct 2026

DaCe AD: Unifying High-Performance Automatic Differentiation for Machine Learning and Scientific Computing

arXiv 2509.02197 ↗First posted 2 Sep 2025cs.LG cs.PF cs.PLcited by 1

Not on the map. Why?

Abstract (arXiv)

Automatic differentiation (AD) is a set of techniques that systematically applies the chain rule to compute the gradients of functions without requiring human intervention. Although the fundamentals of this technology were established decades ago, it is experiencing a renaissance as it plays a key role in efficiently computing gradients for backpropagation in machine learning algorithms. AD is also crucial for many applications in scientific computing domains, particularly emerging techniques that integrate machine learning models within scientific simulations and schemes. Existing AD frameworks have four main limitations: limited support of programming languages, requiring code modifications for AD compatibility, limited performance on scientific computing codes, and a naive store-all solution for forward-pass data required for gradient calculations. These limitations force domain scientists to manually compute the gradients for large problems. This work presents DaCe AD, a general, efficient automatic differentiation engine that requires no code modifications. DaCe AD uses a novel ILP-based algorithm to optimize the trade-off between storing and recomputing to achieve maximum performance within a given memory constraint. We showcase the generality of our method by applying it to NPBench, a suite of HPC benchmarks with diverse scientific computing patterns, where we outperform JAX, a Python framework with state-of-the-art general AD capabilities, by more than 92 times on average without requiring any code changes.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 13 of its 48 references that are in the map. First posted on arXiv 2 Sep 2025.

Builds on

13 of 48 references.

References · 13

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Automatic differentiation in machine learning: a surveycited by 855
  3. 2016Training Deep Nets with Sublinear Memory Costcited by 848
  4. 2023Neural General Circulation Models for Weather and Climatecited by 239
  5. 2019Checkmate: Breaking the Memory Wall with Optimal Tensor Rematerializationcited by 91
  6. 2019A Differentiable Programming System to Bridge Machine Learning and Scientific Computingcited by 83
  7. 2016Memory-Efficient Backpropagation Through Timecited by 78
  8. 2020Instead of Rewriting Foreign Code for Machine Learning, Automatically Synthesize Fast Gradientscited by 27
  9. 2019Optimal checkpointing for heterogeneous chains: how to train deep neural networks with limited memorycited by 22
  10. 2019Stateful Dataflow Multigraphs: A Data-Centric Model for Performance Portability on Heterogeneous Architecturescited by 21
  11. 2020Memory Optimization for Deep Networkscited by 15
  12. 2021A Data-Centric Optimization Framework for Machine Learningcited by 3
1 more
  1. 2021Source-to-Source Automatic Differentiation of OpenMP Parallel Loopscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.