Abstract
Data Quality Assurance plays an important role in all high-energy physics experiments. Currently used methods rely heavily on manual labour and human expert judgements. Hence, multiple attempts are being undertaken to develop automatic solutions especially based on machine learning techniques as the core part of Data Quality Monitoring systems. However, anomalies caused by detector malfunctioning or sub–optimal data processing are difficult to enumerate a priori and occur rarely, making it difficult to use supervised classification. Therefore, researchers from different experiments including ALICE and CMS work extensively on semi–supervised and unsupervised algorithms in order to distinguish potential outliers without manually assigned labels. In this contribution, we discuss several projects that aim to solve this task. Machine learning based solutions bring several advantages and may provide fast and reliable data quality assurance, simultaneously reducing the manpower requirements.
Introduction
In experiments at the Large Hadron Collider (LHC), such as CMS and ALICE, Data Quality Monitoring (DQM) serves as the primary defense against corrupted data. With data streams reaching gigabytes per second, ensuring the validity of this information is critical. Traditionally, this process has relied on human experts monitoring thousands of histograms 24/7 to identify anomalies. However, as the LHC moves toward higher luminosities, the volume of data is outpacing human capacity. Furthermore, the rarity and unpredictable nature of detector failures make traditional supervised learning difficult due to the lack of labeled "bad" data.
Methodology
To address these challenges, researchers are transitioning from manual checks to automated machine learning pipelines.
Supervised Approaches
For well-defined issues, such as drift tube hit occupancy in CMS, Deep Convolutional Neural Networks (CNNs) have been deployed. These models are trained to recognize specific patterns of failure that have been previously documented.
Unsupervised and Semi-supervised Approaches
To detect "unknown unknowns," the focus has shifted to unsupervised methods:
- Deep Autoencoders: These networks are trained exclusively on certified "good" data. By learning to reconstruct normal data, the model develops a baseline. When presented with anomalous data, the reconstruction error increases, signaling a potential issue.
- Isolation Forests: Particularly in the ALICE experiment, Isolation Forests are used to identify outliers. The algorithm works by randomly partitioning the data; anomalies, being "few and different," are isolated much faster than normal data points.
Data and Implementation
The study utilizes diverse datasets from the LHC experiments:
- CMS Drift Tube Dataset: Comprising 6,280 histograms used for local and global anomaly detection.
- CMS Offline Dataset: 160,000 samples from the 2016 run, characterized by 2,807 features including means and quantiles.
- ALICE TPC Dataset: Data chunks from the Time Projection Chamber representing 10-15 minute acquisition periods.
Results and Discussion
The implementation of these models has shown high efficacy. In CMS, CNN-based local anomaly detection achieved an Area Under the Curve (AUC) of 0.995, effectively matching expert performance. For offline monitoring, Sparse Autoencoders reached an AUC of 0.905. While regional and global anomaly searches are more complex, they currently yield AUCs around 0.944.
In the ALICE experiment, unsupervised autoencoders successfully replicated standard classification boundaries while offering "softer" cuts, which may improve data selection efficiency. Physical validation using the invariant mass of the $K_S^0$ particle confirmed that ML-flagged outliers corresponded to physically degraded data (e.g., smeared mass peaks).
A key advantage of these ML models is interpretability. By analyzing which features contribute most to reconstruction errors, experts can pinpoint specific hardware failures, such as a malfunctioning muon chamber.
Conclusion and Future Work
Automated DQM systems represent a significant step forward in high-energy physics. By reducing the reliance on manual labor and increasing the granularity of data checks (down to 15-minute intervals), these systems ensure higher data purity. Future efforts for LHC Run 3 aim to fully integrate these models into live pipelines, ensuring that rare physical phenomena are preserved while detector anomalies are efficiently filtered.
Summary updated