Abstract
We present a machine learning based approach for real-time monitoring of particle detectors. The proposed strategy evaluates the compatibility between incoming batches of experimental data and a reference sample representing the data behavior in normal conditions by implementing a likelihood-ratio hypothesis test. The core model is powered by recent large-scale implementations of kernel methods, nonparametric learning algorithms that can approximate any continuous function given enough data. The resulting algorithm is fast, efficient and agnostic about the type of potential anomaly in the data. We show the performance of the model on multivariate data from a drift tube chambers muon detector.
Introduction
In high-energy physics, particle detectors are behemoths of engineering, often featuring millions of sensors firing every few nanoseconds. Ensuring the data coming out of these machines is "clean" is a monumental task known as Data Quality Monitoring (DQM). Traditionally, DQM relies heavily on human experts looking at histograms or simple automated checks. However, as detectors become more complex, the "curse of dimensionality" makes it nearly impossible for humans to spot every possible failure mode. Some errors are predictable, but many are "unforeseen unknowns."
The challenge is to create a system that is agnostic to failure types, fast enough for real-time processing to prevent wasting expensive beam time, and flexible enough to handle high-dimensional data without manual feature engineering.
Methodology
The proposed strategy utilizes a likelihood-ratio hypothesis test powered by a binary classifier. Instead of building a generative model of "normal" data, the system compares a large "reference" sample (known good data) with a smaller "test" sample (current incoming data).
If the model can easily distinguish between the reference and the test data, the test data is likely anomalous. The core engine uses Kernel Methods—specifically the Falkon library. Falkon employs algorithmic tricks like column sub-sampling and GPU acceleration to make kernel methods fast enough for real-time physics applications. The system calculates a test statistic $t$ and a frequentist p-value; an extremely low p-value triggers an alarm.
Experimental Setup
The approach was tested on real experimental data from a drift tube (DT) chamber muon detector at the Legnaro INFN National Laboratory. This setup is a scaled-down version of technology used in the CMS experiment at the Large Hadron Collider (LHC).
The dataset includes:
- Reference Data: $3 \times 10^5$ events collected under standard, healthy conditions.
- Anomalous Data: Four sets of $\sim 10^4$ events with intentionally introduced failures, such as reduced voltage or lowered electronics thresholds.
- Features: Six variables per event, including drift times, particle track angle, and total number of hits.
Key Results and Insights
- High Sensitivity: The model successfully separated all introduced anomalies from the reference data with zero false negatives. Even when the most obvious feature (number of hits) was removed, the model identified anomalies using subtle correlations in the remaining dimensions.
- Extreme Statistical Significance: For difficult anomalies, the model produced p-values as low as $10^{-11}$, indicating a massive departure from normal behavior that 1D histograms might miss.
- Real-time Performance: Training a single classification step took approximately 1.5 seconds for 6D data on a standard NVIDIA Titan Xp GPU, meeting the requirements for monitoring data batches during experimental runs.
- Anomaly Characterization: By re-weighting the reference sample with the learned density ratio, researchers can visualize where in the feature space the data deviates, helping engineers diagnose specific hardware issues like voltage drops or gas leaks.
Conclusion and Future Work
While the Legnaro setup provides a successful proof-of-concept, scaling this approach to the full complexity of the LHC remains a significant engineering challenge. Future work will focus on supervised refinement to specifically name faults and tailoring the algorithm for live deployment within an experiment's trigger system latency requirements.
Summary updated