vix.ing · top · new · best · stats · spec

A Common Interface for Automatic Differentiation

2025/05/08 by Guillaume Dalle, Adrian Hill, Dalle, Guillaume +1 · 2 voices · 2 citations
Computer Science · Physics and Astronomy · #Model Reduction and Neural Networks #Numerical Methods and Algorithms #Parallel Computing and Optimization Techniques #cs.LG #cs.MS #math.NA

paper · pdf · doi:10.48550/arxiv.2505.05542

openalex publication_date 2025/05/08 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28

Abstract

For scientific machine learning tasks with a lot of custom code, picking the right Automatic Differentiation (AD) system matters. Our Julia package DifferentiationInterface.jl provides a common frontend to a dozen AD backends, unlocking easy comparison and modular development. In particular, its built-in preparation mechanism leverages the strengths of each backend by amortizing one-time computations. This is key to enabling sophisticated features like sparsity handling without putting additional burdens on the user.

Citations

Cited by

Discussions

Related