Sep 1 – 7, 2026
OAC conference center, Kolymbari, Crete, Greece.
Europe/Athens timezone

Automatic Differentiation in CMS Combine: From Integration to Physics-Grade Fits

Sep 2, 2026, 12:30 PM
30m
OAC conference center, Kolymbari, Crete, Greece.

OAC conference center, Kolymbari, Crete, Greece.

Talk Methods and tools Methods and Tools

Speaker

Vassil Vasilev (Princeton University (US))

Description

At the previous MODE workshop we presented the beginning of a collaborative effort to enable automatic differentiation (AD) in CMS Combine through RooFit's Clad-based AD framework. In this talk we report on the progress made since: the integration has moved from a proof of feasibility toward a usable capability for realistic CMS statistical models.

We will discuss the RooFit-side developments that closed the gap to Combine's modeling primitives, and the Clad-side compiler work that makes the generated gradients scale: improved activity and to-be-recorded analyses that avoid worst-case tape growth on large likelihoods, and a restructured analysis pipeline informed by an audit against established AD tooling. We will also present the newly-added support for higher-order derivatives (Hessians) in RooFit with Clad.

We will present performance results on cutting-edge Higgs measurements with LHC Run-3 data, comparing AD-based minimization against numerical differentiation in fit time, minimizer robustness, and memory footprint. We will also candidly discuss what did not work: the modeling patterns that resist source transformation, the debugging and validation burden of generated gradients, and what this implies for AD adoption across the wider HEP statistics ecosystem. We aim to turn the lessons from Combine into a reusable recipe for other RooFit-based frameworks.

Authors

Jonas Rembser (CERN) Vassil Vasilev (Princeton University (US))

Presentation materials