A Benchmark of Selected Algorithmic Differentiation Tools on Some Problems in Computer Vision and Machine Learning
July 26, 2018 Β· Declared Dead Β· π Optim. Methods Softw.
"No code URL or promise found in abstract"
Evidence collected by the PWNC Scanner
Authors
Filip Ε rajer, Zuzana Kukelova, Andrew Fitzgibbon
arXiv ID
1807.10129
Category
cs.MS: Mathematical Software
Cross-listed
cs.CV,
cs.LG
Citations
25
Venue
Optim. Methods Softw.
Last Checked
2 months ago
Abstract
Algorithmic differentiation (AD) allows exact computation of derivatives given only an implementation of an objective function. Although many AD tools are available, a proper and efficient implementation of AD methods is not straightforward. The existing tools are often too different to allow for a general test suite. In this paper, we compare fifteen ways of computing derivatives including eleven automatic differentiation tools implementing various methods and written in various languages (C++, F#, MATLAB, Julia and Python), two symbolic differentiation tools, finite differences, and hand-derived computation. We look at three objective functions from computer vision and machine learning. These objectives are for the most part simple, in the sense that no iterative loops are involved, and conditional statements are encapsulated in functions such as {\tt abs} or {\tt logsumexp}. However, it is important for the success of algorithmic differentiation that such `simple' objective functions are handled efficiently, as so many problems in computer vision and machine learning are of this form. Of course, our results depend on programmer skill, and familiarity with the tools. However, we contend that this paper presents an important datapoint: a skilled programmer devoting roughly a week to each tool produced the timings we present. We have made our implementations available as open source to allow the community to replicate and update these benchmarks.
Community Contributions
Found the code? Know the venue? Think something is wrong? Let us know!
π Similar Papers
In the same crypt β Mathematical Software
π
π
Old Age
π
π
Old Age
CSR5: An Efficient Storage Format for Cross-Platform Sparse Matrix-Vector Multiplication
R.I.P.
π»
Ghosted
Mathematical Foundations of the GraphBLAS
R.I.P.
π»
Ghosted
The DUNE Framework: Basic Concepts and Recent Developments
R.I.P.
π»
Ghosted
Format Abstraction for Sparse Tensor Algebra Compilers
R.I.P.
π»
Ghosted
AMReX: Block-Structured Adaptive Mesh Refinement for Multiphysics Applications
Died the same way β π» Ghosted
R.I.P.
π»
Ghosted
Language Models are Few-Shot Learners
R.I.P.
π»
Ghosted
PyTorch: An Imperative Style, High-Performance Deep Learning Library
R.I.P.
π»
Ghosted
XGBoost: A Scalable Tree Boosting System
R.I.P.
π»
Ghosted