A Benchmark of Selected Algorithmic Differentiation Tools on Some Problems in Computer Vision and Machine Learning
Filip \v{S}rajer, Zuzana Kukelova, Andrew Fitzgibbon

TL;DR
This paper benchmarks fifteen algorithmic differentiation tools across computer vision and machine learning problems, providing insights into their efficiency and implementation challenges for simple objective functions.
Contribution
It offers a comprehensive comparison of diverse AD tools and methods, highlighting their performance on common objectives in vision and ML.
Findings
Different AD tools vary significantly in efficiency
Implementation skill impacts performance results
Open-source benchmarks enable reproducibility and future updates
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}.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSmart Agriculture and AI · Error Correcting Code Techniques · Leaf Properties and Growth Measurement
