Algorithmic differentiation: application to variational problems in computer vision
Related Experiment Video
Updated: Jul 15, 2026

Deep Neural Networks for Image-Based Dietary Assessment
Published on: March 13, 2021
Thomas Pock1, Michael Pock, Horst Bischof
1Institute for Computer Graphics and Vision, Graz University of Technology, Graz, Austria. pock@icg.tugraz.at
Abstract:
Many vision problems can be formulated as minimization of appropriate energy functionals. These energy functionals are usually minimized, based on the calculus of variations (Euler-Lagrange equation). Once the Euler-Lagrange equation has been determined, it needs to be discretized in order to implement it on a digital computer. This is not a trivial task and, is moreover, error-prone. In this paper, we propose a flexible alternative. We discretize the energy functional and, subsequently, apply the mathematical concept of algorithmic differentiation to directly derive algorithms that implement the energy functional's derivatives. This approach has several advantages: First, the computed derivatives are exact with respect to the implementation of the energy functional. Second, it is basically straightforward to compute second-order derivatives and, thus, the Hessian matrix of the energy functional. Third, algorithmic differentiation is a process which can be automated. We demonstrate this novel approach on three representative vision problems (namely, denoising, segmentation, and stereo) and show that state-of-the-art results are obtained with little effort.
Related Concept Videos
Implicit Differentiation: Problem Solving
Implicit Differentiation with Partial Derivatives
Implicit Differentiation
Application of Differentiation to Business
Gradient Vectors and Their Applications
Maximizing the Directional Derivative