Skip to main content

Open library of learned likelihoods from LHC experiments

The release of full statistical models from LHC analyses is a major milestone in the LHC’s legacy. They encapsulate the full information of an analysis, including the likeli- hood given data. Thus, full releases enable collider phenomenology to be performed at full statistical precision. However, this comes with a significant enlargement of computational costs. For most reinterpretation processes, we are interested in the profiled likelihood, which is slow to extract from the statistical model, particularly for analyses with mul- tiple signal regions. To mitigate this, we present OLLL, an Open Library of Learned Likelihoods from LHC experiments. OLLL is composed of profiled likelihood functions modelled with Neural Networks (NNs). We show, through five examples of increasing complexity, that such functions can be well described with simple NNs, published in the ONNX format, and easily used by different reinterpretation tools without compromising statistical precision.

Example usage (taken from ATLAS-SUSY-2018-04):

from nnAdapter import NNAdapter
onnxFile = "atlas-susy-2018-04.onnx"

adapter = NNAdapter ( onnxFile, session_options = {} )

bkg_yields = adapter.onnxMeta["bkg_yields"]
ret = adapter.predict ( bkg_yields, yields_are_signal_yields = False )
print ( "predicting for total yields:" )
print ( "\n".join( f"{key:10s}: {value:.1f}" for key,value in ret.items()) )

sig_yields = { k: 0. for k in bkg_yields }
ret = adapter.predict ( sig_yields, yields_are_signal_yields = True )

print ( )
print ( f"predicting for signal yields:" )
print ( "\n".join( f"{key:10s}: {value:.1f}" for key,value in ret.items()) )
print ( )

This produces as output:

predicting for total yields:
nll_exp_0 : 99.0
nll_exp_1 : 99.0
nll_obs_0 : 99.6
nll_obs_1 : 99.6
nllA_exp_0: 99.0
nllA_exp_1: 99.0
nllA_obs_0: 99.1
nllA_obs_1: 99.1
nll_obs_max: 99.3
sigma_exp : 0.0
sigma_obs : 0.0
sigma_expA: 0.0
sigma_obsA: 0.0

predicting for signal yields:
nll_exp_0 : 99.0
nll_exp_1 : 99.0
nll_obs_0 : 99.6
nll_obs_1 : 99.6
nllA_exp_0: 99.0
nllA_exp_1: 99.0
nllA_obs_0: 99.1
nllA_obs_1: 99.1
nll_obs_max: 99.3
sigma_exp : 0.0
sigma_obs : 0.0
sigma_expA: 0.0
sigma_obsA: 0.0

The NNAdapter can also be installed via

pip install hep_olll

Metadata

Release files for hep-olll 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hep-olll 0.1.0
File Size Uploaded Provenance Actions
hep_olll-0.1.0.tar.gz 10.5 kB Without provenance Details for hep_olll-0.1.0.tar.gz

Release files / hep_olll-0.1.0.tar.gz

Download URL hep_olll-0.1.0.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d36e69595443468a4c9341293593f68617577854fa7816f3fb147154c237a56e
BLAKE2b-256 checksum
How to use checksums
aed81e8843061b90436332fb98e87e414354fd480ffd6736d26b4299c7e1acfb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.8

Security for hep-olll 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page