The data flow graph of a computation can be manipulated to calculate the gradient of its original calculation.
Backpropagation of errors in multilayer perceptrons, a technique used in machine learning, is a special case of reverse mode AD.