Sep 12 – 16, 2022
OAC conference center, Kolymbari, Crete, Greece.
Europe/Athens timezone

Automatic Differentiation in ROOT

Sep 14, 2022, 4:40 PM
OAC conference center, Kolymbari, Crete, Greece.

OAC conference center, Kolymbari, Crete, Greece.

Talk Computer Science Progress in Computer Science


Garima Singh (Princeton University (US))


Automatic Differentiation is a powerful technique to evaluate the derivative of a function specified by a computer program. Thanks to the ROOT interpreter, Cling, this technique is available in ROOT for computing gradients and Hessian matrices of multi-dimensional functions.
We will present the current integration of this tool in the ROOT Mathematical libraries for computing gradients of functions that can then be used in numerical algorithms.
For example, we demonstrate the correctness and performance improvements in ROOT’s fitting algorithms. We will show also how gradient and Hessian computation via AD is integrated in the main ROOT minimization algorithm Minuit.
We will show also the present plans to integrate the Automatic Differentiation in the RooFit modelling package for
obtaining gradients of the full model that can be used for fitting and other statistical studies.

Primary authors

Garima Singh (Princeton University (US)) Jonas Rembser (CERN) Lorenzo Moneta (CERN) Vassil Vassilev (Princeton)

Presentation materials