- Open Access
Anomaly-preserving contrastive neural embeddings for end-to-end model-independent searches at the LHC
Phys. Rev. D 112, 072011 – Published 23 October, 2025
DOI: https://doi.org/10.1103/5n77-ynsp
Abstract
Anomaly detection—identifying deviations from Standard Model predictions—is a key challenge at the Large Hadron Collider due to the size and complexity of its datasets. This is typically addressed by transforming high-dimensional detector data into lower-dimensional, physically meaningful features. We tackle feature extraction for anomaly detection by learning powerful low-dimensional representations via contrastive neural embeddings. This approach preserves potential anomalies indicative of new physics and enables rare signal extraction using novel machine-learning-based statistical methods for signal-independent hypothesis testing. We compare supervised and self-supervised contrastive learning methods, for both Multilayer perceptron-and transformer-based neural embeddings, trained on the kinematic observables of physics objects in LHC collision events. The learned embeddings serve as input representations for signal-agnostic statistical detection methods in inclusive final states. We achieve significant improvement in discovery power for both rare new physics signals and rare Standard Model processes across diverse final states, demonstrating its applicability for efficiently searching for diverse signals simultaneously. We study the impact of architectural choices, contrastive loss formulations, supervision levels, and embedding dimensionality on anomaly detection performance. We show that the optimal representation for background classification does not always maximize sensitivity to new physics signals, revealing an inherent trade-off between background structure preservation and anomaly enhancement. We demonstrate that combining compression with domain knowledge for label encoding produces the most effective data representation for statistical discovery of anomalies.
Physics Subject Headings (PhySH)
Article Text
References (60)
- OpenAI, GPT-4 technical report, 2024, arXiv:2303.08774.
- Y. Yang, S. Mandt, and L. Theis, An introduction to neural data compression. Found. Trends®, Comput. Graph. Vision 15, 113 (2023).
- V. M. Abazov et al., A quasi model independent search for new physics at large transverse momentum, Phys. Rev. D 64, 012004 (2001).
- B. Abbott et al., A quasi model independent search for new high physics at D0, Phys. Rev. Lett. 86, 3712 (2001).
- A. Aktas et al., A general search for new phenomena in ep scattering at HERA, Phys. Lett. B 602, 14 (2004).
- T. Aaltonen et al., Model-independent and quasi-model-independent search for new physics at CDF, Phys. Rev. D 78, 012002 (2008).
- F. D. Aaron et al., A general search for new phenomena at HERA, Phys. Lett. B 674, 257 (2009).
- T. Aaltonen et al., Global search for new physics with at CDF, Phys. Rev. D 79, 011101 (2009).
- V. M. Abazov et al., Model independent search for new phenomena in collisions at , Phys. Rev. D 85, 092015 (2012).
- , A general search for new phenomena with the ATLAS detector in pp collisions at , ATLAS Report No. ATLAS-CONF-2014-006, 2014, https://cds.cern.ch/record/1666536.
- A. M. Sirunyan et al., MUSiC: A model-unspecific search for new physics in proton–proton collisions at , Eur. Phys. J. C 81, 629 (2021).
- ATLAS Collaboration, Dijet resonance search with weak supervision using collisions in the ATLAS detector, Phys. Rev. Lett. 125, 131801 (2020).
- , Model-agnostic search for dijet resonances with anomalous jet substructure in proton-proton collisions at , Rep. Prog. Phys. 88, 067802 (2025).
- G. Aad et al., Anomaly detection search for new resonances decaying into a Higgs boson and a generic new particle in hadronic final states using collisions with the ATLAS detector, Phys. Rev. D 108, 052009 (2023).
- G. Aad et al., Search for new phenomena in two-body invariant mass distributions using unsupervised machine learning for anomaly detection at with the ATLAS detector. Phys. Rev. Lett. 132, 081801 (2024).
- G. Aad et al., Weakly supervised anomaly detection for resonant new physics in the dijet final state using proton-proton collisions at with the ATLAS detector, arXiv:2502.09770.
- V. Belis, P. Odagiu, and T. K. Aarrestad, Machine learning for anomaly detection in particle physics, Rev. Phys. 12, 100091 (2024).
- T. Finke et al., Back to the roots: Tree-based algorithms for weakly supervised anomaly detection, Phys. Rev. D 109, 034033 (2024).
- M. Freytsis, M. Perelstein, and Y. C. San, Anomaly detection in the presence of irrelevant features, J. High Energy Phys. 02 (2024) 220.
- M. Letizia et al., Learning new physics efficiently with nonparametric methods, Eur. Phys. J. C 82, 879 (2022).
- G. Grosso, Anomaly-aware summary statistic from data batches, J. High Energy Phys. 12 (2024) 093.
- R. T. d’Agnolo, G. Grosso, M. Pierini, A. Wulzer, and M. Zanetti, Learning new physics from an imperfect machine, Eur. Phys. J. C 82, 275 (2022).
- A. Khot, X. Wang, A. Roy, V. Kindratenko, and M. S. Neubauer, Evidential deep learning for uncertainty quantification and out-of-distribution detection in jet identification using deep neural networks, Mach. Learn. Sci. Tech. 6, 035003 (2025).
- S. E. Park, P. Harris, and B. Ostdiek, Neural embedding: Learning the embedding of the manifold of physics data, J. High Energy Phys. 07 (2023) 108.
- P. Harris, M. Kagan, J. Krupa, B. Maier, and N. Woodward, Re-simulation-based self-supervised learning for pre-training foundation models, Phys. Rev. D 111, 032010 (2025).
- B. M. Dillon et al., Symmetries, safety, and self-supervision, SciPost Phys. 12, 188 (2022).
- V. Mikuni and B. Nachman, OmniLearn: A method to simultaneously facilitate all jet physics tasks, Phys. Rev. D 111, L051504 (2025).
- M. Leigh et al., Is tokenization needed for masked particle modelling?, arXiv:2409.12589.
- J. Birk, A. Hallin, and G. Kasieczka, OmniJet-: The first cross-task foundation model for particle physics, Mach. Learn. Sci. Tech. 5, 035031 (2024).
- A. J. Wildridge et al., Bumblebee: Foundation model for particle physics discovery, in Proceedings of the 38th Conference on Neural Information Processing Systems (2024), arXiv:2412.07867.
- J. Bardhan, R. Agrawal, A. Tilak, C. Neeraj, and S. Mitra, HEP-JEPA: A foundation model for collider physics using joint embedding predictive architecture, arXiv:2502.03933.
- T. Golling et al., Masked particle modeling on sets: Towards self-supervised high energy physics foundation models, Mach. Learn. Sci. Tech. 5, 035074 (2024).
- C. Li et al., Accelerating resonance searches via signature-oriented pre-training, arXiv:2405.12972.
- B. M. Dillon, R. Mastandrea, and B. Nachman, Self-supervised anomaly detection for new physics, Phys. Rev. D 106, 056005 (2022).
- L. Favaro, M. Krämer, T. Modak, T. Plehn, and J. Rüschkamp, Semi-visible jets, energy-based models, and self-supervision, SciPost Phys. 18, 042 (2025).
- B. M. Dillon, L. Favaro, F. Feiden, T. Modak, and T. Plehn, Anomalies, representations, and self-supervision, SciPost Phys. Core 7, 056 (2024).
- Y. Bengio, A. Courville, and P. Vincent, Representation learning: A review and new perspectives, IEEE Trans. Pattern Anal. Mach. Intell. 35, 1798 (2013).
- X. Chen and K. He, Exploring simple siamese representation learning, in Proceedings of the 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) (IEEE, New York, 2021), pp. 15745–15753.
- P. Khosla, P. Teterwak, C. Wang, A. Sarna, Y. Tian, P. Isola, A. Maschinot, C. Liu, and D. Krishnan, Supervised Contrastive Learning, in Advances in Neural Information Processing Systems, Vol. 33 (Curran Associates, Inc., Red Hook, NY, 2020), pp. 18661–18673.
- T. Chen, S. Kornblith, M. Norouzi, and G. Hinton, A simple framework for contrastive learning of visual representations, in Proceedings of the 37th International Conference on Machine Learning (PMLR, 2020), Vol. 119, pp. 1597–1607.
- A. Bardes, J. Ponce, and Y. LeCun, VICReg: Variance-invariance-covariance regularization for self-supervised learning, arXiv:2105.04906.
- G. Grosso, M. Letizia, M. Pierini, and A. Wulzer, Goodness of fit by Neyman-Pearson testing, SciPost Phys. 16, 123 (2024).
- R. T. D’Agnolo and A. Wulzer, Learning new physics from a machine, Phys. Rev. D 99, 015014 (2019).
- J. Neyman and E. S. Pearson, On the problem of the most efficient tests of statistical hypotheses, Phil. Trans. R. Soc. A 231, 289 (1933).
- G. Meanti, L. Carratino, L. Rosasco, and A. Rudi, Kernel methods through the roof: Handling billions of points efficiently, in Proceedings of the 34th International Conference on Neural Information Processing Systems (NIPS ’20) (Curran Associates Inc., Red Hook, NY, USA, 2020), pp. 14410–14422.
- E. Govorkova et al., LHC physics dataset for unsupervised new physics detection at 40 MHz, Nat. Sci. Data 9, 118 (2022).
- T. Sjöstrand et al., An introduction to pythia8.2, Comput. Phys. Commun. 191, 159 (2015).
- J. de Favereau et al., delphes3, A modular framework for fast simulation of a generic collider experiment, J. High Energy Phys. 02 (2014) 057.
- https://www.drawio.com/.
- A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, Ł. Kaiser, and I. Polosukhin, Attention is all you need, Adv. Neural Inf. Process. Syst. 30, 5998 (2017).
- Pytorch transformer, https://pytorch.org/docs/stable/generated/torch.nn.Transformer.html.
- M. Caron et al., Self-supervised vision transformers with dino, https://github.com/facebookresearch/dino/tree/main.
- Y. You, I. Gitman, and B. Ginsburg, Large batch training of convolutional networks (2017).
- I. Loshchilov and F. Hutter, Decoupled weight decay regularization, in Proceedings of the 7th International Conference on Learning Representations (ICLR, New Orleans, LA, 2019).
- B. M. Dillon, L. Favaro, F. Feiden, T. Modak, and T. Plehn, Anomalies, representations, and self-supervision, SciPost Phys. 7, 056 (2024).
- E. Govorkova et al., Autoencoders on field-programmable gate arrays for real-time, unsupervised new physics detection at 40 mhz at the large hadron collider, Nat. Mach. Intell. 4, 154 (2022).
- L. McInnes, J. Healy, N. Saul, and L. Großberger, UMAP: Uniform manifold approximation and projection, J. Open Source Softwaare 3, 861 (2018).
- S. E. Park, D. Rankin, S.-M. Udrescu, M. Yunus, and P. Harris, Quasi anomalous knowledge: Searching for new physics with embedded knowledge, J. High Energy Phys. 06 (2021) 030.
- 2024 Data Collected with AXOL1TL anomaly detection at the CMS level-1 trigger (2024), https://cds.cern.ch/record/2904695.
- R. Ardino et al., A 40 MHz level-1 trigger scouting system for the CMS phase-2 upgrade. Nucl. Instrum. Methods Phys. Res., Sect. A 1047, 167805 (2023).