Skip to content

Add project for AD in Combine + Roofit#189

Merged
davidlange6 merged 4 commits intoresearch-software-collaborations:mainfrom
maxgalli:ad
Apr 10, 2026
Merged

Add project for AD in Combine + Roofit#189
davidlange6 merged 4 commits intoresearch-software-collaborations:mainfrom
maxgalli:ad

Conversation

@maxgalli
Copy link
Copy Markdown
Contributor

@maxgalli maxgalli commented Apr 9, 2026

No description provided.

description: |
Statistical inference in High Energy Physics relies on minimizing complex likelihood functions with thousands of parameters. In this regime, numerical gradient computation becomes the dominant cost of the minimization. Automatic differentiation (AD) addresses this problem by producing analytic gradients whose evaluation cost is essentially independent of the parameter count.

RooFit has recently introduced an AD engine based on Clad, an AD tool based on source-code transformation that is implemented as a Clag comiler plugin. The RooFit AD engine is realized by a code generation (codegen) pipeline, which translates RooFit models to simple C++ likelihood code that Clad can process. Benchmarks on ATLAS and CMS models have already shown substantial reductions in minimization time with the Minuit 2 minimizer when using these analytic gradients.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to make the precommit happy, should comiler be compiler?

@davidlange6 davidlange6 merged commit f18e3ed into research-software-collaborations:main Apr 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants