Metraipolis › archive › dc_a3067c30af12

asdex: Automatic Sparse Differentiation in JAX — arXiv:2610.12336

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.12336
License (as archived)
CC0-1.0
Archived
2026-10-09T06:26:22.323Z
SHA-256 of the archived text
6c15968519b1134b54af4bf05a75f4f6d0728da584182849d1650518232d3c4f
Stable URL of this page
https://metraipolis.com/documento/dc_a3067c30af12

How to cite

asdex: Automatic Sparse Differentiation in JAX — arXiv:2610.12336 — arXiv (en), https://arxiv.org/abs/2610.12336 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_a3067c30af12 (Metraipolis archive dc_a3067c30af12, sha256 6c15968519b1134b54af4bf05a75f4f6d0728da584182849d1650518232d3c4f)
BibTeX
@misc{dca3067c30af12,
  title = {asdex: Automatic Sparse Differentiation in JAX — arXiv:2610.12336},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.12336},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_a3067c30af12; sha256 6c15968519b1134b54af4bf05a75f4f6d0728da584182849d1650518232d3c4f},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.12336. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Many tasks in scientific computing and machine learning require the Jacobian or Hessian matrix of a function. Automatic differentiation (AD) computes these derivatives to machine precision, but materializing a dense $m \times n$ Jacobian requires $n$ forward-mode or $m$ reverse-mode AD passes, one per column or row. For a large class of functions, each output depends on only a few inputs, making the derivative matrix sparse. Automatic sparse differentiation (ASD) exploits this structure in four steps: detection of the input-agnostic sparsity pattern, coloring of a graph to group columns or rows that can share an AD pass, compressed differentiation to compute a compressed derivative matrix with one AD pass per color, and finally decompression into the original sparsity pattern. The number of colors, and hence of AD passes, is often independent of the problem dimension: a banded Jacobian with $b$ contiguous bands, for instance, only ever requires $b$ colors, regardless of its size. asdex offers the first standalone ASD toolkit in the popular JAX ecosystem. With this http URL and this http URL , it provides sparse drop-in replacements for this http URL and this http URL .

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.LG, nuovi lavori del giorno).
Categorie arXiv: Mathematical Software (cs.MS) ; Machine Learning (cs.LG); Numerical Analysis (math.NA).
Pagina del lavoro: https://arxiv.org/abs/2610.12336 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-09T05:50:32.293Z dalla pagina https://arxiv.org/list/cs.LG/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).