The Chain Rule, Forward and Reverse Accumulation
Fundamental to AD is the decomposition of differentials provided by the chain rule. For the simple composition the chain rule gives
Usually, two distinct modes of AD are presented, forward accumulation (or forward mode) and reverse accumulation (or reverse mode). Forward accumulation specifies that one traverses the chain rule from right to left (that is, first one computes and then ), while reverse accumulation has the traversal from left to right.
Read more about this topic: Automatic Differentiation
Famous quotes containing the words chain, reverse and/or accumulation:
“Oft, in the stilly night, Ere Slumbers chain has bound me, Fond Memory brings the light Of other days around me.”
—Thomas Moore (17791852)
“Now listen, buddy, there are a few corny ideas you got to get out of your head if youre going to fly an airplane. Most things are just the reverse from what people think. The higher you are the safer you are. The Earth down there, that, thats your enemy because once you hit that, boy, you splatter.”
—Dalton Trumbo (19051976)
“In societies where modern conditions of production prevail, all of life presents itself as an immense accumulation of spectacles. Everything that was directly lived has moved away into a representation.”
—Guy Debord (b. 1931)