https://doi.org/10.1051/epjconf/202024506027
Faster RooFitting: Automated parallel calculation of collaborative statistical models
1
Netherlands eScience Center, Amsterdam, Netherlands
2
ATLAS group, Nikhef, Amsterdam, Netherlands
3
Dept. of Physics and Astronomy, Tufts University, Medford, Massachusetts 02155, USA
4
ROOT Development Team, CERN, Geneva, Switzerland
* e-mail: p.bos@esciencecenter.nl
** e-mail: c.burgard@nikhef.nl
Published online: 16 November 2020
RooFit [1, 2] is the main statistical modeling and fitting package used to extract physical parameters from reduced particle collision data, e.g. the Higgs boson experiments at the LHC [3, 4]. RooFit aims to separate particle physics model building and fitting (the users’ goals) from their technical implementation and optimization in the back-end. In this paper, we outline our efforts to further optimize this back-end by automatically running parts of user models in parallel on multi-core machines. A major challenge is that RooFit allows users to define many different types of models, with different types of computational bottlenecks. Our automatic parallelization framework must then be flexible, while still reducing run time by at least an order of magnitude, preferably more. We have performed extensive benchmarks and identified at least three bottlenecks that will benefit from parallelization. We designed a parallelization framework that allows us to parallelize likelihood minimization with high performance by splitting over partial derivatives in the minimizer. The basis of the framework is a task queue approach. Preliminary results show speed-ups of factor 2 to 20, depending on the exact model and parallelization strategy.
© The Authors, published by EDP Sciences, 2020
This is an Open Access article distributed under the terms of the Creative Commons Attribution License 4.0, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.