Second Order Derivatives with ADTAGEO
Algorithmic Differentiation Through Automatic Graph Elimination Ordering Andreas Griewank Jan Riehme
Institute for Applied Mathematics Humboldt Universit¨ at zu Berlin {griewank,riehme}@math.hu-berlin.de
15th April 2005
Automatic Differentiation Workshop Nice, France
Griewank, Riehme (HU Berlin) Second Order Derivatives with ADTAGEO 15th April 2005 Automatic Differentiation Workshop Nice, France 1 / 40
Second Order Derivatives with ADTAGEO
ADjoints and TAngents by Graph Elimination Ordering Andreas Griewank Jan Riehme
Institute for Applied Mathematics Humboldt Universit¨ at zu Berlin {griewank,riehme}@math.hu-berlin.de
15th April 2005
Automatic Differentiation Workshop Nice, France
Griewank, Riehme (HU Berlin) Second Order Derivatives with ADTAGEO 15th April 2005 Automatic Differentiation Workshop Nice, France 2 / 40
Outline
1
ADTAGEO Gradient-Mode
2
ADTAGEO at a glance
3
Implementation
4
Hessian Elimination
5
Hessian implementation
6
Outlook
7
Conclusions
Griewank, Riehme (HU Berlin) Second Order Derivatives with ADTAGEO 15th April 2005 Automatic Differentiation Wo / 40
ADTAGEO Gradient-Mode – Example
Computational graph of statement: y = x1 + x2 + x3; with v0 = x1, v−1 = x2, v−2 = x3 v0 v−1 v−2 y v1 c1,0 c1,−1 v1 = v0 + v−1 cij = ∂vi
∂vj , j ≺ i
v2 v2 = v1 + v−2 c2,1 c2,−2 cy,2 = 1
Griewank, Riehme (HU Berlin) Second Order Derivatives with ADTAGEO 15th April 2005 Automatic Differentiation Wo / 40