Pith. sign in

REVIEW 3 cited by

Sparser, Better, Faster, Stronger: Sparsity Detection for Efficient Automatic Differentiation

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2501.17737 v2 pith:6N4LD54U submitted 2025-01-29 cs.LG cs.MS

classification cs.LGcs.MS
keywords sparsitydetectionautomaticdifferentiationmatricestheyableadvances
verification ladder T0 review T1 audit T2 compute T3 formal

Signed reviews

No signed human review yet.

0 comments
read the original abstract

From implicit differentiation to probabilistic modeling, Jacobian and Hessian matrices have many potential use cases in Machine Learning (ML), but they are viewed as computationally prohibitive. Fortunately, these matrices often exhibit sparsity, which can be leveraged to speed up the process of Automatic Differentiation (AD). This paper presents advances in sparsity detection, previously the performance bottleneck of Automatic Sparse Differentiation (ASD). Our implementation of sparsity detection is based on operator overloading, able to detect both local and global sparsity patterns, and supports flexible index set representations. It is fully automatic and requires no modification of user code, making it compatible with existing ML codebases. Most importantly, it is highly performant, unlocking Jacobians and Hessians at scales where they were considered too expensive to compute. On real-world problems from scientific ML, graph neural networks and optimization, we show significant speed-ups of up to three orders of magnitude. Notably, using our sparsity detection system, ASD outperforms standard AD for one-off computations, without amortization of either sparsity detection or matrix coloring.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Revisiting Sparse Matrix Coloring and Bicoloring

    math.NA 2025-05 conditional novelty 6.0 of 10

    Bicoloring of sparse Jacobians is reformulated as star or acyclic coloring of an augmented symmetric matrix, with a new neutral-color post-processing that reduces the number of colors and a new Julia library.

  2. Implicit differentiation with second-order derivatives and benchmarks in finite-element-based differentiable physics

    cs.CE 2025-05 conditional novelty 5.0 of 10

    An implicit Hessian-vector product algorithm for FEM-based differentiable physics, built from JAX JVP/VJP primitives and validated with finite differences and Taylor tests, accelerates Newton-CG on nonlinear inverse problems.

  3. A Common Interface for Automatic Differentiation

    cs.MS 2025-05 accept novelty 5.0 of 10

    A new Julia interface, DifferentiationInterface.jl, unifies a dozen AD backends with a preparation mechanism that amortizes one-time costs and adds sparsity handling.

Pith tools