- Open Access
Optimizers for stabilizing likelihood-free inference
Phys. Rev. D 112, 092008 – Published 13 November, 2025
DOI: https://doi.org/10.1103/x88j-mv39
Abstract
A growing number of applications in particle physics and beyond use neural networks as unbinned likelihood ratio estimators applied to real or simulated data. Precision requirements on the inference tasks demand a high-level of stability from these networks, which are affected by the stochastic nature of training. We show how physics concepts can be used to stabilize network training through a physics-inspired optimizer. In particular, the energy conserving descent (ECD) optimization framework uses classical Hamiltonian dynamics on the space of network parameters to reduce the dependence on the initial conditions while also stabilizing the result near the minimum of the loss function. We develop a version of this optimizer known as , which has few free hyperparameters with limited ranges guided by physical reasoning. We apply to representative likelihood-ratio estimation tasks in particle physics and find on average that it out-performs the widely used Adam optimizer. We expect that ECD will be a useful tool for wide array of data-limited problems, where it is computationally expensive to exhaustively optimize hyperparameters and mitigate fluctuations with ensembling.
Physics Subject Headings (PhySH)
Article Text
References (55)
- K. Cranmer, J. Brehmer, and G. Louppe, The frontier of simulation-based inference, Proc. Natl. Acad. Sci. U.S.A. 117, 30055 (2020).
- Y. Kahn, S. Roy, J. Shelton, and V. Riki, Systematic uncertainties and data complexity in normalizing flows, Neurips Workshop (2024).
- V. Andreev et al. (H1 Collaboration), Measurement of lepton-jet correlation in deep-inelastic scattering with the H1 detector using machine learning for unfolding, Phys. Rev. Lett. 128, 132002 (2022).
- V. Andreev et al. (H1 Collaboration), Unbinned deep learning jet substructure measurement in high Q2ep collisions at HERA, Phys. Lett. B 844, 138101 (2023).
- G. Aad et al. (ATLAS Collaboration), Simultaneous unbinned differential cross-section measurement of twenty-four kinematic observables with the ATLAS detector, Phys. Rev. Lett. 133, 261803 (2024).
- CMS Collaboration, Measurement of event shapes in minimum bias events from collisions at 13 TeV, Technical Reports No. CMS-SMP-23-008; No. CERN-EP-2025-041, CERN, Geneva, 2024.
- G. Aad et al. (ATLAS Collaboration), Measurement of off-shell Higgs boson production in the decay channel using a neural simulation-based inference technique in 13 TeV collisions with the ATLAS detector, Rep. Prog. Phys. 88, 057803 (2025).
- G. Aad et al. (ATLAS Collaboration), Dijet resonance search with weak supervision using collisions in the ATLAS detector, Phys. Rev. Lett. 125, 131801 (2020).
- V. Chekhovsky et al. (CMS Collaboration), Model-agnostic search for dijet resonances with anomalous jet substructure in proton-proton collisions at , Rep. Prog. Phys. 88, 067802 (2025).
- K. Cranmer, J. Pavez, and G. Louppe, Approximating likelihood ratios with calibrated discriminative classifiers, arXiv:1506.02169.
- K. Kong, K. T. Matchev, S. Mrenna, and P. Shyamsundar, New machine learning techniques for simulation-based inference: InferoStatic nets, kernel score estimation, and kernel likelihood ratio estimation, arXiv:2210.01680.
- J. Brehmer, K. Cranmer, G. Louppe, and J. Pavez, Constraining effective field theories with machine learning, Phys. Rev. Lett. 121, 111801 (2018).
- J. Brehmer, K. Cranmer, G. Louppe, and J. Pavez, A guide to constraining effective field theories with machine learning, Phys. Rev. D 98, 052004 (2018).
- R. T. D’Agnolo and A. Wulzer, Learning new physics from a machine, Phys. Rev. D 99, 015014 (2019).
- B. Nachman and J. Thaler, Learning from many collider events at once, Phys. Rev. D 103, 116013 (2021).
- M. Stoye, J. Brehmer, G. Louppe, J. Pavez, and K. Cranmer, Likelihood-free inference with an improved cross-entropy estimator, arXiv:1808.00973.
- G. V. Moustakides and K. Basioti, Training neural networks for likelihood/density ratio estimation, arXiv:1911.00405.
- N. Jeffrey and B. D. Wandelt, Evidence networks: Simple losses for fast, amortized, neural Bayesian model comparison, Mach. Learn. Sci. Tech. 5, 015008 (2024).
- S. Rizvi, M. Pettee, and B. Nachman, Learning likelihood ratios with neural network classifiers, J. High Energy Phys. 02 (2024) 136.
- G. B. De Luca and E. Silverstein, Born-infeld (BI) for AI: Energy-conserving descent (ECD) for optimization, in Proceedings of the 39th International Conference on Machine Learning, edited by K. Chaudhuri, S. Jegelka, L. Song, C. Szepesvari, G. Niu, and S. Sabato, Vol. 162 of Proceedings of Machine Learning Research (PMLR, Baltimore, Maryland, USA, 2022), pp. 4918–4936.
- G. B. De Luca, A. Gatti, and E. Silverstein, Improving energy conserving descent for machine learning: Theory and practice, arXiv:2306.00352.
- M. P. Kuchera, R. Ramanujan, J. Z. Taylor, R. R. Strauss, D. Bazin, J. Bradt, and R. Chen, Machine learning methods for track classification in the AT-TPC, Nucl. Instrum. Methods Phys. Res., Sect. A 940, 156 (2019).
- A. Chappell and L. H. Whitehead, Application of transfer learning to neutrino interaction classification, Eur. Phys. J. C 82, 1099 (2022).
- F. A. Dreyer, R. Grabarczyk, and P. F. Monni, Leveraging universality of jet taggers through transfer learning, Eur. Phys. J. C 82, 564 (2022).
- H. Beauchesne, Z.-E. Chen, and C.-W. Chiang, Improving the performance of weak supervision searches using transfer and meta-learning, J. High Energy Phys. 02 (2024) 138.
- V. Mikuni and B. Nachman, Solving key challenges in collider physics with foundation models, Phys. Rev. D 111, L051504 (2025).
- D. P. Kingma, Adam: A method for stochastic optimization, arXiv:1412.6980.
- D. E. Rumelhart, G. E. Hinton, and R. J. Williams, Learning representations by back-propagating errors, Nature (London) 323, 533 (1986).
- N. Qian, On the momentum term in gradient descent learning algorithms, Neural Netw. 12 1, 145 (1999).
- X. Chen et al., Symbolic discovery of optimization algorithms, Adv. Neural Inf. Process. Syst. 36, 49205 (2023).
- M. Pagliardini, P. Ablin, and D. Grangier, The ademamix optimizer: Better, faster, older, arXiv:2409.03137.
- J. Robnik, G. B. D. Luca, E. Silverstein, and U. Seljak, Microcanonical Hamiltonian Monte Carlo, J. Mach. Learn. Res. 24, 1 (2023), https://jmlr.org/papers/v24/22-1450.html.
- J. Robnik and U. Seljak, Fluctuation without dissipation: Microcanonical Langevin Monte Carlo, arXiv:2303.18221.
- L. Xiao, Rethinking conventional wisdom in machine learning: From generalization to scaling, arXiv:2409.15156.
- D. Decamp et al. (ALEPH Collaboration), ALEPH: A detector for electron-positron annnihilations at LEP, Nucl. Instrum. Methods Phys. Res., Sect. A 294, 121 (1990); 303, 393(E) (1991).
- T. Sjostrand, P. Eden, C. Friberg, L. Lonnblad, G. Miu, S. Mrenna, and E. Norrbin, High-energy physics event generation with pythia 6.1, Comput. Phys. Commun. 135, 238 (2001).
- R. Brun, F. Bruyant, M. Maire, A. C. McPherson, and P. Zanarini, GEANT3, Report No. CERN-DD-EE-84-1, https://inspirehep.net/literature/252007.
- A. Badea, A. Baty, P. Chang, G. M. Innocenti, M. Maggi, C. Mcginn, M. Peters, T.-A. Sheng, J. Thaler, and Y.-J. Lee, Measurements of two-particle correlations in collisions at 91 GeV with ALEPH archived data, Phys. Rev. Lett. 123, 212002 (2019).
- E. Farhi, A QCD test for jets, Phys. Rev. Lett. 39, 1587 (1977).
- N. Srivastava, G. Hinton, A. Krizhevsky, I. Sutskever, and R. Salakhutdinov, Dropout: A simple way to prevent neural networks from overfitting, J. Mach. Learn. Res. 15, 1929 (2014).
- A. Andreassen, P. T. Komiske, E. M. Metodiev, B. Nachman, and J. Thaler, OmniFold: A method to simultaneously unfold all observables, Phys. Rev. Lett. 124, 182001 (2020).
- M. Bähr et al., Herwig++ physics and manual, Eur. Phys. J. C 58, 639 (2008).
- J. Bellm et al., Herwig 7.0/Herwig++ 3.0 release note, Eur. Phys. J. C 76, 196 (2016).
- J. Bellm et al., Herwig 7.1 Release Note, Technical Reports No. CERN-PH-TH-2017-109; No. CERN-TH-2017-109; No. MAN-HEP-2017-08; No. UWTHPH-2017-10; No. IFJPAN-IV-2017-7N; No. IKHEF-2017-026; No. HERWIG-2017-02; No. KA-TP-19-2017; No. MCNET-17-08; No. IPPP-17-40, 2017, https://herwig.hepforge.org/.
- T. Sjöstrand, S. Mrenna, and P. Skands, A brief introduction to pythia 8.1, Comput. Phys. Commun. 178, 852 (2008).
- T. Sjöstrand, S. Mrenna, and P. Skands, pythia 6.4 physics and manual, J. High Energy Phys. 05 (2006) 026.
- T. Sjöstrand, S. Ask, J. R. Christiansen, R. Corke, N. Desai, P. Ilten, S. Mrenna, S. Prestel, C. O. Rasmussen, and P. Z. Skands, An introduction to pythia 8.2, Comput. Phys. Commun. 191, 159 (2015).
- J. de Favereau, C. Delaere, P. Demin, A. Giammanco, V. Lemaître, A. Mertens, M. Selvaggi (The DELPHES3 Collaboration), delphes 3: A modular framework for fast simulation of a generic collider experiment, J. High Energy Phys. 02 (2014) 057.
- A. J. Larkoski, S. Marzani, G. Soyez, and J. Thaler, Soft drop, J. High Energy Phys. 05 (2014) 146.
- J. Thaler and K. Van Tilburg, Identifying boosted objects with N-subjettiness, J. High Energy Phys. 03 (2011) 015.
- J. Thaler and K. Van Tilburg, Maximizing boosted top identification by minimizing N-subjettiness, J. High Energy Phys. 02 (2012) 093.
- D. Jimenez Rezende and S. Mohamed, Variational inference with normalizing flows, arXiv:1505.05770.
- R. T. D’Agnolo and A. Wulzer, Learning new physics from a machine, Phys. Rev. D 99, 015014 (2019).
- B. Nachman and J. Thaler, Learning from many collider events at once, Phys. Rev. D 103, 116013 (2021).
- https://github.com/zhenghenry/LikelihoodRatioStability/.