ACORNS: An Easy-To-Use Code Generator for Gradients and Hessians

Deshana Desai, Etai Shuchatowitz, Zhongshi Jiang, Teseo Schneider, Daniele Panozzo
7/9/2020
cs.MScs.SC

Official code: deshanadesai/acorns (31 stars, Python, MIT, last commit 2021-09-22).

Abstract

The computation of first and second-order derivatives is a staple in many computing applications, ranging from machine learning to scientific computing. We propose an algorithm to automatically differentiate algorithms written in a subset of C99 code and its efficient implementation as a Python script. We demonstrate that our algorithm enables automatic, reliable, and efficient differentiation of common algorithms used in physical simulation and geometry processing.

View on arXivView PDF

Code Implementations(1)

MIT

https://arxiv.org/pdf/2007.05094.pdf An Easy-To-Use Code Generator for Gradients and Hessians

316Python, Jupyter NotebookMar 19, 20205 years agoMIT

Similar Papers

Cite this paper

@article{desai2020acorns,
  title  = {ACORNS: An Easy-To-Use Code Generator for Gradients and Hessians},
  author = {Deshana Desai and Etai Shuchatowitz and Zhongshi Jiang and Teseo Schneider and Daniele Panozzo},
  year   = {2020},
  eprint = {2007.05094},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.05094}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2007.05094.svg)](https://codeofpaper.com/paper/2007.05094)

Discussion