Evaluation of Novel Fast Machine Learning Algorithms for Knowledge-Distillation-Based Anomaly Detection at CMS
Lino Gerlach, Elliott Kauffman, Abhishikth Mallampalli
TL;DR
The paper addresses the challenge of real-time, flexible anomaly detection in the CMS Level-1 Trigger by distilling a high-capacity CICADA autoencoder into small, fast student models. It introduces and compares three quantization strategies—HGQ, LGN, and a QKeras baseline—using quantization-aware training and outlier exposure to preserve anomaly-detection performance while drastically reducing resource use, enabling sub-200 ns FPGA inference. Open CMS data is used to demonstrate that HGQ and LGN match or surpass the baseline in ROC AUC while requiring far fewer hardware resources, facilitating finer calorimeter input granularity. The work has practical impact for deploying advanced ML in latency-constrained environments and offers broader relevance to fast ML on resource-limited hardware in current and future high-energy physics facilities.
Abstract
The CICADA (Calorimeter Image Convolutional Anomaly Detection Algorithm) project aims to detect anomalous physics signatures without bias from theoretical models in proton-proton collisions at the Compact Muon Solenoid (CMS) experiment at the Large Hadron Collider. CICADA identifies anomalies in low-level calorimeter trigger data using a convolutional autoencoder, whose behavior is transferred to compact student models via knowledge distillation. Careful model design and quantization ensure sub-200 ns inference times on FPGAs. We investigate novel student model architectures that employ differentiable relaxations to enable extremely fast inference at the cost of slower training -- a welcome tradeoff in the knowledge distillation context. Evaluated on CMS open data and under emulated FPGA conditions, these models achieve comparable anomaly detection performance to classically quantized baselines with significantly reduced resource usage. The savings in resource usage enable the possibility to look at a richer input granularity.
