Forward-Mode Automatic Differentiation in Julia. Revels, J., Lubin, M., & Papamarkou, T. July, 2016. arXiv:1607.07892 [cs]
Paper doi abstract bibtex We present ForwardDiff, a Julia package for forward-mode automatic differentiation (AD) featuring performance competitive with low-level languages like C++. Unlike recently developed AD tools in other popular high-level languages such as Python and MATLAB, ForwardDiff takes advantage of just-in-time (JIT) compilation to transparently recompile AD-unaware user code, enabling efficient support for higher-order differentiation and differentiation using custom number types (including complex numbers). For gradient and Jacobian calculations, ForwardDiff provides a variant of vector-forward mode that avoids expensive heap allocation and makes better use of memory bandwidth than traditional vector mode. In our numerical experiments, we demonstrate that for nontrivially large dimensions, ForwardDiff's gradient computations can be faster than a reverse-mode implementation from the Python-based autograd package. We also illustrate how ForwardDiff is used effectively within JuMP, a modeling language for optimization. According to our usage statistics, 41 unique repositories on GitHub depend on ForwardDiff, with users from diverse fields such as astronomy, optimization, finite element analysis, and statistics. This document is an extended abstract that has been accepted for presentation at the AD2016 7th International Conference on Algorithmic Differentiation.
@misc{revels2016,
title = {Forward-{Mode} {Automatic} {Differentiation} in {Julia}},
url = {http://arxiv.org/abs/1607.07892},
doi = {10.48550/arXiv.1607.07892},
abstract = {We present ForwardDiff, a Julia package for forward-mode automatic differentiation (AD) featuring performance competitive with low-level languages like C++. Unlike recently developed AD tools in other popular high-level languages such as Python and MATLAB, ForwardDiff takes advantage of just-in-time (JIT) compilation to transparently recompile AD-unaware user code, enabling efficient support for higher-order differentiation and differentiation using custom number types (including complex numbers). For gradient and Jacobian calculations, ForwardDiff provides a variant of vector-forward mode that avoids expensive heap allocation and makes better use of memory bandwidth than traditional vector mode. In our numerical experiments, we demonstrate that for nontrivially large dimensions, ForwardDiff's gradient computations can be faster than a reverse-mode implementation from the Python-based autograd package. We also illustrate how ForwardDiff is used effectively within JuMP, a modeling language for optimization. According to our usage statistics, 41 unique repositories on GitHub depend on ForwardDiff, with users from diverse fields such as astronomy, optimization, finite element analysis, and statistics. This document is an extended abstract that has been accepted for presentation at the AD2016 7th International Conference on Algorithmic Differentiation.},
urldate = {2023-09-22},
publisher = {arXiv},
author = {Revels, Jarrett and Lubin, Miles and Papamarkou, Theodore},
month = jul,
year = {2016},
note = {arXiv:1607.07892 [cs]},
keywords = {Computer Science - Mathematical Software},
annote = {Comment: 4 pages},
file = {arXiv Fulltext PDF:/Users/lcneuro/Zotero/storage/WDWEF27D/Revels et al. - 2016 - Forward-Mode Automatic Differentiation in Julia.pdf:application/pdf},
}
Downloads: 0
{"_id":"7Y3NmAihE4z9s9oJk","bibbaseid":"revels-lubin-papamarkou-forwardmodeautomaticdifferentiationinjulia-2016","author_short":["Revels, J.","Lubin, M.","Papamarkou, T."],"bibdata":{"bibtype":"misc","type":"misc","title":"Forward-Mode Automatic Differentiation in Julia","url":"http://arxiv.org/abs/1607.07892","doi":"10.48550/arXiv.1607.07892","abstract":"We present ForwardDiff, a Julia package for forward-mode automatic differentiation (AD) featuring performance competitive with low-level languages like C++. Unlike recently developed AD tools in other popular high-level languages such as Python and MATLAB, ForwardDiff takes advantage of just-in-time (JIT) compilation to transparently recompile AD-unaware user code, enabling efficient support for higher-order differentiation and differentiation using custom number types (including complex numbers). For gradient and Jacobian calculations, ForwardDiff provides a variant of vector-forward mode that avoids expensive heap allocation and makes better use of memory bandwidth than traditional vector mode. In our numerical experiments, we demonstrate that for nontrivially large dimensions, ForwardDiff's gradient computations can be faster than a reverse-mode implementation from the Python-based autograd package. We also illustrate how ForwardDiff is used effectively within JuMP, a modeling language for optimization. According to our usage statistics, 41 unique repositories on GitHub depend on ForwardDiff, with users from diverse fields such as astronomy, optimization, finite element analysis, and statistics. This document is an extended abstract that has been accepted for presentation at the AD2016 7th International Conference on Algorithmic Differentiation.","urldate":"2023-09-22","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Revels"],"firstnames":["Jarrett"],"suffixes":[]},{"propositions":[],"lastnames":["Lubin"],"firstnames":["Miles"],"suffixes":[]},{"propositions":[],"lastnames":["Papamarkou"],"firstnames":["Theodore"],"suffixes":[]}],"month":"July","year":"2016","note":"arXiv:1607.07892 [cs]","keywords":"Computer Science - Mathematical Software","annote":"Comment: 4 pages","file":"arXiv Fulltext PDF:/Users/lcneuro/Zotero/storage/WDWEF27D/Revels et al. - 2016 - Forward-Mode Automatic Differentiation in Julia.pdf:application/pdf","bibtex":"@misc{revels2016,\n\ttitle = {Forward-{Mode} {Automatic} {Differentiation} in {Julia}},\n\turl = {http://arxiv.org/abs/1607.07892},\n\tdoi = {10.48550/arXiv.1607.07892},\n\tabstract = {We present ForwardDiff, a Julia package for forward-mode automatic differentiation (AD) featuring performance competitive with low-level languages like C++. Unlike recently developed AD tools in other popular high-level languages such as Python and MATLAB, ForwardDiff takes advantage of just-in-time (JIT) compilation to transparently recompile AD-unaware user code, enabling efficient support for higher-order differentiation and differentiation using custom number types (including complex numbers). For gradient and Jacobian calculations, ForwardDiff provides a variant of vector-forward mode that avoids expensive heap allocation and makes better use of memory bandwidth than traditional vector mode. In our numerical experiments, we demonstrate that for nontrivially large dimensions, ForwardDiff's gradient computations can be faster than a reverse-mode implementation from the Python-based autograd package. We also illustrate how ForwardDiff is used effectively within JuMP, a modeling language for optimization. According to our usage statistics, 41 unique repositories on GitHub depend on ForwardDiff, with users from diverse fields such as astronomy, optimization, finite element analysis, and statistics. This document is an extended abstract that has been accepted for presentation at the AD2016 7th International Conference on Algorithmic Differentiation.},\n\turldate = {2023-09-22},\n\tpublisher = {arXiv},\n\tauthor = {Revels, Jarrett and Lubin, Miles and Papamarkou, Theodore},\n\tmonth = jul,\n\tyear = {2016},\n\tnote = {arXiv:1607.07892 [cs]},\n\tkeywords = {Computer Science - Mathematical Software},\n\tannote = {Comment: 4 pages},\n\tfile = {arXiv Fulltext PDF:/Users/lcneuro/Zotero/storage/WDWEF27D/Revels et al. - 2016 - Forward-Mode Automatic Differentiation in Julia.pdf:application/pdf},\n}\n\n","author_short":["Revels, J.","Lubin, M.","Papamarkou, T."],"bibbaseid":"revels-lubin-papamarkou-forwardmodeautomaticdifferentiationinjulia-2016","role":"author","urls":{"Paper":"http://arxiv.org/abs/1607.07892"},"keyword":["Computer Science - Mathematical Software"],"metadata":{"authorlinks":{}}},"bibtype":"misc","biburl":"https://bibbase.org/f/8yBxW5neHauDryu9w/LCNeuro Site.bib","dataSources":["qAPjQpsx8e9aJNrSa","ZHHpjMFTPYP8NqJif"],"keywords":["computer science - mathematical software"],"search_terms":["forward","mode","automatic","differentiation","julia","revels","lubin","papamarkou"],"title":"Forward-Mode Automatic Differentiation in Julia","year":2016}