PITT-PACC-2311-v5
Nanosecond anomaly detection with decision trees
and real-time application to exotic Higgs decays
Abstract
We present an interpretable implementation of the autoencoding algorithm, used as an anomaly detector, built with a forest of deep decision trees on FPGA, field programmable gate arrays. Scenarios at the Large Hadron Collider at CERN are considered, for which the autoencoder is trained using known physical processes of the Standard Model. The design is then deployed in real-time trigger systems for anomaly detection of unknown physical processes, such as the detection of rare exotic decays of the Higgs boson. The inference is made with a latency value of 30 ns at percent-level resource usage using the Xilinx Virtex UltraScale+ VU9P FPGA. Our method offers anomaly detection at low latency values for edge AI users with resource constraints.
Keywords: Data processing methods, Data reduction methods, Digital electronic circuits, Trigger algorithms, and Trigger concepts and systems (hardware and software).
Introduction
Unsupervised artificial intelligence (AI) algorithms enable signal-agnostic searches for beyond the Standard Model (BSM) physics at the Large Hadron Collider (LHC) at CERN [1]. The LHC is the highest energy proton and heavy ion collider that is designed to discover the Higgs boson [2, 3] and study its properties [4, 5] as well as to probe the unknown and undiscovered BSM physics (see, e.g., [6, 7, 8]). Due to the lack of signs of BSM in the collected data despite the plethora of searches conducted at the LHC, dedicated studies look for rare BSM events that are even more difficult to parse among the mountain of ordinary Standard Model processes [9, 10, 11, 12, 13]. An active area of AI research in high energy physics is in using autoencoders for anomaly detection, much of which provides methods to find rare and unanticipated BSM physics. Much of the existing literature, mostly using neural network-based approaches, focuses on identifying BSM physics in already collected data [14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 42, 36, 37, 38, 39, 40, 41, 43, 44, 45, 46, 47, 70, 69, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 60, 59, 61, 62, 63, 64, 65, 66, 67, 68]. Such ideas have started to produce experimental results on the analysis of data collected at the LHC [71, 72, 73, 74]. A related, but separate endeavor, which is the subject of this paper, is enabling the identification of rare and anomalous data on the real-time trigger path for more detailed investigation offline.
The LHC offers an environment with an abundance of data at a 40 MHz collision rate, corresponding to the 25 ns time period between successive collisions. The real-time trigger path of the ATLAS and CMS experiments [75, 76], e.g., processes data using custom electronics using field programmable gate arrays (FPGA) followed by software trigger algorithms executed on a computing farm. The first-level FPGA portion of the trigger system accepts between 100 kHz to 1 MHz of collisions, discarding the remaining 99% of the collisions. Therefore, it is essential for discovery that the FPGA-based trigger system is capable of triggering on potential BSM events. A previous study aimed for LHC data has shown that an anomaly detector based on neural networks can be implemented on FPGA with latency values between 80 to 1480 ns, depending on the design [77].
In this paper, we present an interpretable implementation of an autoencoder using deep decision trees that makes inferences in 30 ns. As discussed previously [78, 79], decision tree designs depend only on threshold comparisons resulting in fast and efficient FPGA implementation with minimal reliance on digital signal processors. We train the autoencoder on known Standard Model (SM) processes to help trigger on the rare events that may include BSM.
In scenarios for which a specific BSM model is targeted and its dynamics are known, a dedicated supervised training against the SM sample, i.e., BSM-vs-SM classification, would likely outperform an unsupervised approach of SM-only training. The physics scenarios considered in this paper are examples to demonstrate that our autoencoder is able to trigger on BSM scenarios as anomalies without this prior knowledge of the BSM specifics. Nevertheless, we consider a benchmark where our autoencoder outperforms the existing conventional cut-based algorithms.
Our focus is to search for Higgs bosons decaying to a pair of BSM pseudoscalars with a lack of sensitivity due to a bottleneck in the triggering step. We examine the scenario in which one pseudoscalar with 10 GeV subsequently decays to a pair of photons and the second pseudoscalar with a larger mass decays to a pair of hadronic jets, i.e., [80], one of the channels of the so-called exotic Higgs decays [81]. The recent result for this final state [82] does not probe the phase space corresponding to 20 GeV due to a bottleneck from the trigger. The study presented here considers various general experimental aspects of the ATLAS and CMS experiments to show that our tool may benefit ATLAS, CMS, and other physics programs generally. We demonstrate that the use of our autoencoder can increase signal acceptance in this region with a minimal addition to the overall trigger bandwidth.
Beyond our benchmark study, we consider an existing dataset with a range of different BSM models, referred to here as the LHC physics dataset [83], to compare our tool with the results of the previously mentioned neural network-based autoencoder designed for FPGA [77]. Lastly, the robustness of our general method is considered by training with samples having varying levels of signal contamination.
This paper uses Higgs bosons to explore the unknown using real-time computing. But more generally, such inferences made on edge AI may be of interest in other experimental setups and situations with resource constraints and latency requirements. It may also be of interest in situations in which interpretability is desirable [84].
Results
We describe the design of a decision tree-based autoencoder and the training methodology. We then present our benchmark results of a scenario in which an anomaly detector could trigger on BSM exotic Higgs decays in the real-time trigger path. As a test case, we also consider the LHC physics dataset [83] with which our results are compared using a neural network implementation [77]. Lastly, a study showing our autoencoder’s effectiveness to signal contamination of training data is presented.
Autoencoder as anomaly detector
Our autoencoder (AE) is related to, and extends beyond, those based on random forests [85, 86]. We note that there are related concepts in the literature with various level of algorithmic sophistication [87, 88, 89, 90], but these approaches may be more challenging to implement on the FPGA. We build on the deep decision tree architecture that uses parallel decision paths of fwXmachina [78, 79]. A general discussion of the tree-based autoencoder is given below. The subsections that follow will detail the ML training, the firmware design, including verification and validation, and the simulation samples.
A tree of maximum depth takes an input vector , encodes it to the latent space as , then decodes to an output vector . Typically both and are elements of while is an element of , where is the number of input variables and is the number of trees, i.e.,
(1) |
Typically the latent space is smaller than the input-output space, i.e., , but it is not a requirement. A decision tree divides up the input space into a set of partitions labeled by bin number . The is a -bit integer, where , since the tree is a sequence of binary splits.
The encoding occurs when the decision tree processes an input vector to place it into a one of the partitions labeled by . If more than one tree is used, then generalizes to a vector . The decoding occurs when produces using the same forest. The bin number corresponds to a partition in , which is a hyperrectangle defined by a set of extrema in dimensions.
A metric provides an anomaly score calculated as a distance between the input and output, , which is our analogue of the loss function used in neural network-based approaches. Our choice for the estimator of is the dimension-wise central tendency of the training data sample in the considered bin, . The median minimizes the norm, or Manhattan distance, with respect to input data resembling the training sample.
The encoding and decoding are conceptually two steps, with the latent space separating the two. But, as explained in the next section, our design executes both steps simultaneously and bypasses the latent space altogether by a process we call coder (star-coder), i.e., ,
(2) |
Finally, the anomaly score is the sum of the distances for each tree in the forest, i.e.,
(3) |
When the parameters of the autoencoder are trained on known SM events, the autoencoder ideally produces a relatively small when it encounters an SM event and a relatively large when it encounters a BSM event. The metric sums the individual distances for variables of different types, such as angles and momenta, so the ranges of each variable must be carefully considered. At the LHC they are naturally defined by the physical constraints, e.g., 0 to 2 for angles and 0 to , the kinematic endpoint, for momenta. The values are transformed to binary bits to design the firmware; see Appendix C.3 of Ref. [78] for a detailed discussion.
An illustrative example of the decision tree structure is given in Supplementary Figure 1 and a demonstration of the autoencoder using the MNIST dataset [91] is given in Supplementary Figure 2.
ML training
The machine learning (ML) training of the autoencoder described here is novel and is suitable for the physics problems at hand. Qualitatively, the training puts small-sized bins around regions with high event density and large-sized bins around regions of sparse event density. An illustration of the bin sizes is given with a 2d toy example in Supplementary Figure 3, which shows the decreasing sizes of bins as the tree depth increases.
The following steps are executed. To start, is a vector of length , the number of input variables, that describes the training sample . (1) Initialize with in steps 2–4 and depth . (2) For the sample , the PDF is the marginal distribution of bit-integer-valued input variable for a given . The PDF is the distribution of the maximum values of the set . Sampling the maximum-weighted PDF gives that corresponds to the . (3) The PDF is for the under consideration. Sampling yields a threshold value . (4) The sample is split by a cut . (5) The steps 2–4 are continued recursively for the two subsamples until one of two stop** conditions are met: (condition-i) the number of splits exceeds the maximum allowed depth , (condition-ii) the split in step 3 produces a sample that is below the smallest allowed fraction of . (6) When stopped, the procedure breaks out of the recursion by appending the requirement to the set . (7) In the end, the algorithm produces a partition of the training sample called the decision tree grid (DTG) that corresponds to a deep decision tree (DDT) illustrated in Figure 1. The pseudocode given below finds .
0.35
0:1: if () then2: return3: end if \tab Identify the variable to cut on4: \tab Build set of pdfs for input variables5: \tab Build pdf of max of input pdfs6: \tab Sample max-weighted pdf7: \tab Find variable index \tab Find threshold to cut on8: \tab Sample variable pdf9: \tab Make selection \tab Build partition10: \tab Add to the new selection \tab Recursively build the decision tree11: call \tab Call DTG on subset passing12: call \tab Call DTG on subset failing13: return
Weighted randomness in both variable selection and threshold selection allow for the construction of a forest of non-identical decision trees to provide better accuracy in the aggregate. As our ML training is agnostic to the signal process, the so-called boost weights are not relevant because misclassification does not occur in one-sample training.
An information bottleneck may exist, where the input data is compressed in the latent layer of a given autoencoder design, then subsequently decompressed for the output. For our design, the latent layer is the output of the set of decision trees in the forest. Accordingly, the latent data is the set of bin numbers from each decision tree, i.e., . Compression occurs if is smaller than the number of input variables , i.e., 1. We will see later that the benchmark physics process is not compressed with of about four, while the LHC Physics problem is compressed with of about half. This demonstrates that the autoencoder does not necessarily rely on the information bottleneck, but rather on the density estimation of the feature space.
Simulated training and testing samples
The training and testing samples are generated using the Monte Carlo method that is standard practice in high energy physics. In our study, we use offline quantities for physics objects to approximate the input values provided at the trigger level, as offline-like reconstruction will be available after the High Luminosity LHC (HL-LHC) upgrade of the level-1 trigger systems of the experiments [92, 93]. A brief summary of the samples is given below (see Methods for technical details).
The training sample consist of half a million simulated proton-proton collision events at 13 TeV. It is comprised of a cocktail of SM processes that produce a final state, where represents light flavor hadronic jets, weighted according to the the SM cross sections.
The testing is done on half a million of the above process as the background sample as well as on a signal sample for the benchmark of the Higgs decay process with asymmetric pseudoscalar masses of 10 and 70 GeV, respectively. To show that our training is more generally applicable to other signal models beyond the benchmark, we consider an alternate cross-check scenario with a Higgs-like scalar of a smaller mass at 70 GeV, , decaying to pseudoscalars with masses of 5 and 50 GeV, respectively.
The benchmark and the alternate cross-check sample consists of 100 k events each. The and bosons are produced by gluon-gluon fusion. MadGraph5aMC 2.9.5 is used for event generation at leading order [94]. Decay and showers are done with Pythia8 [95]. Detector simulation and event reconstruction are done with Delphes 3.5.0 [96, 97] using the CMS card [98].
The input variables to the autoencoder depends only on the two photons and the two jets. The photons are denoted as and , which are the two photons with the highest momenta transverse to the beam direction () in the event. Similarly, the two leading jets are denoted as and . Photons are reconstructed in Delphes with a minimum of 0.5 GeV. Jets are reconstructed with the anti-k algorithm with a minimum of 20 GeV. The input variables to the autoencoder include the of these four objects, along with invariant masses of the diphoton () and dijet () subsystems, and the Cartesian - distance (), where is the pseudorapidity variable defined using polar angle and is the azimuthal angle.
The input variable distributions for the full list of eight variables—, , , , , , , —are shown in five plots with white background in Figure 2. The left-most plots show the distribution for the jets and photons, along with the cuts imposed in Delphes for object reconstruction. The middle column plots show the and two distributions; the distribution shows a peak at for SM processes, which reveals the back-to-back signature in the azimuthal coordinate of the dijet system with respect to the beam direction. The top-right plot shows the distribution with the pre-selection requirement discussed in the next section; the peak at 10 GeV for corresponds to the in the intermediate state. The bottom-right plot with the shaded background shows the distribution after a cut on the anomaly score from the autoencoder, which is described in the next section.
Benchmark: Exotic Higgs decays
In order to define and quantify the gain using the autoencoder trigger in the FPGA-based systems over conventional approaches, we consider the threshold-based algorithm typically deployed at the LHC, such as at the ATLAS and CMS experiments. The most recent analysis of the final state [82] used the diphoton () trigger so we take this to be representative of the conventional approach. Moreover, as trigger performance is generally comparable between the ATLAS and CMS experiments, we take the ATLAS results from the Run-2 data taking period (2015–2018) as typical of the situation at the LHC. ATLAS reports a peak event rate of 3 kHz for a diphoton trigger in the FPGA-based first level trigger system in 2018 out of a peak total rate of about 90 kHz [99]. The threshold is 20 GeV for each photon at the first level trigger, but the refined threshold is 35 and 25 GeV for the leading and subleading photon, respectively, in the subsequent CPU-based high level trigger [100]. The high level values are more representative of the thresholds for which the first level trigger becomes fully efficient, so we approximate the situation by requiring 25 GeV for each of the two reconstructed photons. We consider this to be the ATLAS-inspired cut-based diphoton trigger.
The events of interest containing constitutes a subset of all events that pass the diphoton requirement, as events accompanied with zero or one jet ( or , respectively) would also pass. However, determining the precise composition of the events passing the diphoton trigger is a nontrivial task. So for our comparisons below we consider the worst case scenario to assume that the event rate equals the entire event rate of the diphoton trigger. It is considered the worst case scenario because the more likely case that the rate is less than the rate would give a more favorable result for the autoencoder in comparison.
The overall rate is estimated by comparing the fraction of the simulated background sample accepted by the autoencoder with the diphoton trigger, which has a known event rate. The SM processes that contribute to this trigger rate have been studied using a procedure similar to the one we describe [101]. The study identifies two dominant scenarios that yield two reconstructed photons: (1) the SM process in which originate from the interaction vertex and (2) the SM process in which one photon is accompanied by a jet that has photon-like characteristics (). The study shows that the shape of the distribution for events from the process and are similar. Therefore, we conclude that a comparison of equal acceptance using a sample dominated by the is a conservative approximation for the totality of these SM processes, comprised of both and , corresponding to the above-mentioned 3 kHz.
The diphoton trigger performance is approximated by applying the 25 GeV threshold as discussed above, to the subleading reconstructed photon in the simulated sample described in the previous section. Compared to the previous results [82], we note that non-negligible amount of passes the diphoton trigger in this study in the 20 GeV region because we are assuming an offline-like reconstruction after the HL-LHC upgrade of the level-1 trigger systems of the experiments [92, 93]. In the SM sample, 0.31% of events passed this ATLAS-inspired diphoton trigger. For the benchmark Higgs decay, 2.2% of the events passed. For the alternate cross-check decay, 0.01% passed; the small acceptance is due to the soft photon spectrum from the decay.
The autoencoder trigger performance is evaluated after the following pre-selection. In both training and testing, the autoencoder is exposed only to events that (1) have two or more reconstructed photons and two or more reconstructed jets and (2) have two photons that fall within the previously unexamined range 20 GeV. Events that do not meet these requirements are discarded. A total of 38% of the SM background sample pass the pre-selection, as did 53% of the sample and 29% of the sample.
The autoencoder is trained using a forest of 30 decision trees at a maximum depth of 6 on the training sample of the SM process. In the training step, measured quantities corresponding to the offline reconstruction of physics objects are used as input variables. The trained autoencoder model is applied to both the testing sample of the SM considered as the background process and the benchmark sample as the signal process. In the evaluation step, offline quantities are converted to bitwise values to mimic the firmware [78]. The cross-check sample is also considered as an alternate signal process to demonstrate that the autoencoder is effective over a wide kinematic range.
Anomaly scores for each event are calculated and their distributions are shown in the top-left plot of Figure 3. The corresponding ROC curves are shown on the top-right plot in the same figure. The plots in the bottom row are for a different physics scenario, which is discussed in the next section.
The autoencoder trigger achieves 6.1% acceptance for the benchmark signal at the 3 kHz SM rate, nearly triple the 2.2% value using the diphoton trigger. Similarly, the acceptance of the cross-check sample is 1.4%, drastically increased from negligible value of the diphoton trigger at 0.01% for the same rate.
For the FPGA cost, the configuration is run on an Xilinx Virtex UltraScale+ FPGA VCU118 Evaluation Kit (with FPGA model xcvu9p) with a clock speed of 200 MHz. Algorithm latency is 10 clock ticks (30 ns) and the interval is 1 clock tick (5 ns). About 7% of available look up tables (LUT) are used; 1% of flip flops (FF) are used; a negligible number of digital signal processors (DSP) is used; no BRAM or URAM is used. The results are summarized in the first column of Table 1.
This paper | This paper | Govorkova et al. [77] | ||||
ML training and setup | ||||||
Framework | fwXmachina | fwXmachina | hls4ml | |||
Architecture | Deep decision tree | Deep decision tree | Variational autoencoder | |||
Dataset | LHC physics [83] | LHC physics [83] | ||||
Input variables | 8 | 56 | 56 | |||
No. of trees | 30 | 30 | NA for neural networks | |||
Max. depth | 6 | 4 | NA for neural networks | |||
Phys. performance | See text | Comparable to [77] | [77] | |||
FPGA and firmware setup | ||||||
Chip family | Xilinx Virtex UltraSc+ | Xilinx Virtex UltraSc+ | Xilinx Virtex UltraScale+ | |||
Chip model | xcvu9p-flga2104-2L-e | xcvu9p-flga2104-2L-e | xcvu9p-flgb2104-2-e | |||
Platform | Vivado 2019.2 | Vitis 2022.2 | Vivado 2020.1 | |||
Clock | 200 MHz, | 5 ns | 200 MHz, | 5 ns | 200 MHz, | 5 ns |
Precision | ap_int | ap_int | ap_fixed | |||
FPGA cost | ||||||
Latency | 6 ticks, | 30 ns | 6 ticks, | 30 ns | 16 ticks, | 80 ns |
Interval | 1 tick, | 5 ns | 1 tick, | 5 ns | 1 tick, | 5 ns |
FF | 15k, | 0.6% | 15k, | 0.6% | 12k,∗ | 0.5% |
LUT | 63k, | 5.4% | 109k, | 9.2% | 35k,∗ | 3% |
DSP | 8, | 0.1% | 56, | 0.8% | 68,∗ | 1% |
BRAM | 0, | 0% | 0, | 0% | 13,∗ | 0.3% |
Comparison: LHC physics dataset
Our autoencoder is applied to the LHC physics dataset [83] and compared to the results of the neural network implementation [77] that involves discrimination of several different BSM signals from a mixture of SM background. In this dataset, all events include the existence of an electron with momentum transverse to the beam axis 23 GeV and pseudorapidity 3.0 or a muon with 23 GeV and 2.1. This preselection is designed to limit the data to events that would already pass a real-time single-lepton trigger. We note that this requirement limits the ability of the study to be generalized for events that do not pass an existing real-time algorithm.
The background is composed of a cocktail of Standard Model processes (SM) that would pass the above-mentioned preselection composed of , , , and QCD multijet in proportions similar to that of collisions at the LHC. The dataset’s features are 56 variables consisting of sets of from the 10 leading hadronic jets, 4 leading electrons, and 4 leading muons, along with and its orientation. A cross-check using only 26 of these training variables is presented later in the section.
In our training, a forest of 30 trees at a maximum depth of 4 is trained on a training set of the SM cocktail and evaluated on both a testing portion of the SM cocktail each of the BSM samples. As the plots in the bottom row of Figure 3 show, the anomaly detector is able to isolate all signal samples from background. The areas under the ROC curves (AUC) demonstrate comparable performance. For TPR-FPR convention chosen in Figure 3, the area under the curve in the plot corresponds to , i.e., an AUC of 1 is an ideal classifier. Our AUC values are listed for the four signal scenarios and neural network-based results for DNN VAE PTQ 8-bit, the configuration highlighted in Ref. [77], in parentheses. \TabPositions0.06.15.30
-
•
\tab\tabAUC = 0.93 \tab(0.92 [77]),
-
•
\tab \tab0.93 \tab(0.94 [77]),
-
•
\tab \tab0.85 \tab(0.81 [77]), and
-
•
\tab \tab0.94 \tab(0.94 [77]).
For the scenarios, the masses of the resonances are given in the subscript. Like the background, each signal scenario requires at least one electron or muon above the above-mentioned trigger threshold in the final state. The samples with lepton final states are dominated by the leptonic decays because of the trigger selection. Our AUC performance is comparable to the range of previous results [77].
For the FPGA cost, the configuration is run on an xcvu9p FPGA with a clock speed of 200 MHz. With similar physics performance compared to previous results [77], our FPGA resource utilization is at comparable values to the low end of the range of FF and LUT usage, but fewer DSP and BRAM usage. Our design yields a lower latency value at six clock ticks (30 ns) and the lower bound of the range given at one clock tick (5 ns) for the interval. The results are summarized in the second column of Table 1.
As a cross-check of our FPGA cost, we implemented the two additional designs. The first cross-check uses only 26 variables on the same xcvu9p FPGA at 200 MHz. Due to the nature of the samples, many of the features are zero-valued, e.g., very few events have more than 3 jets. Therefore, we train with a subset of 26 input variables consisting of the for the 4 leading jets, 2 leading electrons, and 2 leading muons, along with and its orientation. There is no difference in AUC using only 26 variables to within a percent of the 56 variable result above. The design is executed with a similar latency of seven ticks (35 ns) and the same interval of one tick (5 ns). However, the resource usage is significantly less than the 56 variable configuration at 9k FF, 61k LUT, 26 DSP, and no BRAM.
The second cross-check uses the 26 variable configuration on a smaller FPGA, on Xilinx Zynq UltraScale+ xczu7ev. The FPGA cost is nearly identical as reported above. The design is executed with the same latency and interval; the resource usage is within 5% of the above values.
We note that the differences in the FPGA cost with respect to previous results [77] may be due to a number of factors. The factors include differences in the ML architecture as well as details about the FPGA configuration such as model compression methods, the number bits per input, type of input representation, such as fixed-point precision, and Xilinx versions.
With respect to the last item in the list, both Vivado HLS and Vitis HLS have been used to synthesize our designs with the latter being the more recent version of the same platform. Both are platforms that synthesize C code into an RTL implementation. For the benchmark scenario, the Vivado result is given in Table 1. The corresponding result using Vitis produced a increased latency value of 4 more ticks at the same clock speed and an increase 50% increase in flip flops and an increase of 30% in LUT with no change in DSP or BRAM. We have generally used Vivado to synthesize our designs, but it had difficulty with large designs such as the second configuration in Table 1. Although Vitis yielded a a less performant FPGA design compared to Vivado for the benchmark, Vitis was able to synthesize the larger configuration for the comparison.
Signal-contaminated training
A promising use case of the anomaly detector is to use collected data to train the autoencoder itself, rather than to use simulated samples, and to deploy it on subsequent incoming data. In this scenario, while the majority of the training sample would remain background, a fraction would consist of signal since the data would contain the signal that would cause the anomaly. To study the autoencoder’s performance using incoming data, we consider the results from the models trained with various levels of signal-contaminated simulated SM samples.
In Figure 4, we show a family of ROC curves with varying levels of signal contamination in the training sample from 1% to a third of the total number of events. As expected, there is degradation of performance with increasing fraction of the signal contamination in the training dataset. Nevertheless, training the autoencoder with a sample that has 33% contamination still outperforms the ATLAS-inspired diphoton trigger with about a factor of two higher acceptance at the same SM rate. Our findings are consistent with the anomaly detection study that reported a similar behavior for percent-level signal contamination [19].
For the benchmark physics process, an approximate upper bound of the signal contamination is estimated to be 1%. This bound considers known SM processes [94] and assumes that all Higgs bosons [102] decay to the final state. Therefore, the resistance to contamination at the percent level—like that demonstrated in the study above—is promising for the rare BSM signals sought in high energy physics experiments. A possible experimental setup to prepare for varying levels of contaminated data could be to employ a set of autoencoder triggers trained with varying levels of simulated signal contamination. A sketch of the setup is given in the Supplementary Figure 4.
Discussion
An implementation of a decision tree-based autoencoder anomaly detector was presented. The fwXmachina framework is used to implement the algorithm on FPGA with the goal of conducting real-time anomaly detection for physics beyond the Standard Model at real-time trigger systems at high energy physics experiments. The implementation is tested on two problems: detection of exotic Higgs decays to through pseudoscalar intermediates and an LHC physics anomaly detection dataset [83]. In both problems, the ML is trained only on background processes and evaluated on both signal and background. The anomaly detector shows the promise to identify several different realistic exotic signals that may be seen at a trigger system with comparable physics performance to existing neural network-based anomaly detectors. The efficient firmware implementation and low latency of 30 ns is well suited for the timing constraints of FPGA-based first level triggers at LHC experiments.
A study of classifier performance with signal contamination shows the promise for the possibility to train on the collected data at the LHC. If the collected data already has BSM processes mixed in that we are trying to discover, then this possibility allows one to train the ML with the data anyway then deploy it on future data to detect the BSM signal [103]. These approaches may also be of interest at the HL-LHC, which will increase the rate of proton collisions at the cost of higher background levels.
Existing approaches of the real-time trigger path anomaly detector, including the one in this paper, make assumptions about the availability of the preprocessed objects such as electrons that are reconstructed from more basic inputs such as calorimetric data. The next step would consider such inputs ranging from 1 k to 100 M channels, depending on the experimental setup, which may require a drastic redesign of existing approaches.
An added advantage of using decision tree-based anomaly detectors such as the algorithm presented here is that it allows for interpretability. As Figure 1 and Supplementary Figure 3 demonstrate, it is possible to examine the cuts used to construct the decision trees either by examining the feature space or the constructed trees. This enables visual interpretation of the anomaly detection. The large majority of autoencoders rely on neural networks and other black box models that have resisted easy interpretation [84] of the latent space and intermediate node values. Interpretability may be desirable in understanding trigger behavior in high energy physics when disentangling BSM events from flaws in the apparatus leading to similar anomalous signals. Fields in which black box models are undesirable may also find our tool useful.
A challenging aspect of the analysis of anomalous events, which may affect other methods as well, is that the map** of the input space to the anomaly score is not necessarily unique due to the Jacobian arising from the coordinate transformation [66]. That is, how rare a given event is depends on the choice of variables. In such cases, the events selected by a threshold on the score can be studied with variables orthogonal to the input space [74] or the latent space of the autoencoder [48]. Adding to the difficulty is what to do with the selected anomalous sample. We list three ideas in the literature that may help identify the BSM events in this sample. The first two methods use variables orthogonal to the input space. First, a bump hunt was conducted using invariant masses in [74]. Second, a control sample could be obtained using a sideband to help identify the BSM events in the sample of anomalous events [70, 69]. Lastly, an analysis of the latent space could help separate BSM from the other events [48]. For any of these methods, the BSM may not populate smoothly across the anomalous score distribution, so the BSM fraction would likely be extracted by a statistical treatment. As is commonly done in high energy physics, e.g., [104], a simultaneous maximum likelihood fit can extract the BSM composition in the various subsamples.
Methods
Details of simulated samples
Samples of the multistage process of simulating the proton collisions that produce our final state followed by the simulation of the detector effects, so called Monte Carlo samples, are considered in order to test the autoencoder’s performance in real-time triggers.
We produced a sample of one million simulated proton-proton collision events in the SM composed of all processes that produce the final state, which we consider the background process during the evaluation of physics performance.
Additionally, two signal samples of one hundred thousand events each that simulate the production and decay of scalar bosons are generated, which we consider the anomaly processes. Scalar bosons produced from the gluon-gluon fusion production mode in proton-proton collisions are decayed as and . The lighter decays to and the heavier decays to . All samples, both background and anomaly, use the Higgs effective field theory model in MadGraph5aMC 2.9.5 [94].
The input variables are the reconstructed values calculated by Delphes 3.5.0 [96, 97]. Jets are reconstructed with the anti- algorithm with a radius parameter 0.4 and a minimum of 20 GeV [107]. Photons are reconstructed with a radius parameter of 0.2 and a minimum of 0.5 GeV. All samples are produced with the above-mentioned MadGraph5 and decayed and showered with Pythia8 [95]. Detector simulation and event reconstruction is simulated with Delphes, which uses the CMS card to simulate the behavior of the CMS detector [98]. We note the similarities between the physics capabilities of the CMS and ATLAS detectors allow a generic interpretation of the results presented in the next section. Without mitigation, multiple proton-proton interactions (pileup) impact the number of jets reconstructed in each event. Due to the importance of hadronic jets in the HL-LHC, a variety of algorithms have been proposed for removing pileup contributions in jets [108, 109, 110], and therefore we neglect the effects of pileup. More details can be found with the samples [105]. The input variable distributions are given in Figure 2.
Firmware design
The structure of the firmware is based on fwXmachina [78, 79]. The Autoencoder Processor, whose block diagram is shown in Figure 5, takes in input data and outputs the anomaly score. In the firmware implementation, we approximate of the input-output space by -bit integers .
In the diagram, input enters from the left and copies are distributed to deep decision trees, each tree corresponding to one latent dimension. Once the outputs of the engine are available, the distance processor computes the with respect to the input. The Deep Decision Tree Engine (DDTE) [79] is modified to output a vector of values. The Distance Processor takes the outputs of DDTE and computes the distance for each set of outputs followed by a sum.
We note that further modification of DDTE would allow for efficient transmission of compressed data [111], but is beyond the scope of this paper.
Verification and validation
We validate and verify our design using the benchmark physics scenario.
For validation of our algorithm, first we run test vectors through our design using C simulation in Vivado HLS and compare the outputs to that of the expected firmware outputs simulated in Python. Then co-simulation is done, which creates an RTL model of the design, simulates it, and compares the RTL model against the C design. In all cases, the simulation outputs match the expected outputs.
For the physical verification of our algorithm, we program select configurations onto the xcvu9p at a clock speed of 200 MHz, which is the setup used for the benchmark results in this paper. We test a handful of test vector inputs and use the Xilinx Integrated Logic Analyzer IP core to observe the outputs. In all cases, the outputs match the expected outputs received from software and co-simulation.
Data availability
Two datasets were used in this paper. The data generated by us for this study have been deposited in Mendeley Datasets under DOI 10.17632/44t976dyrj.1 and is cited as Ref. [105]. The LHC physics dataset was taken from Ref. [83] and is publicly available in Zenodo under DOIs 10.5281/zenodo.3675210, 10.5281/zenodo.3675206, 10.5281/zenodo.3675203, 10.5281/zenodo.3675199, and 10.5281/zenodo.5046388.
Code availability
The repository with the files to evaluate the FPGA performance is publicly available at D-Scholarship@Pitt, which is an institutional repository for the research output of the University of Pittsburgh [106]. More specifically, the IP core design for the benchmark scenario is available along with a testbench and associated test vectors.
General information about fwXmachina can be found at http://fwx.pitt.edu.
References
- [1] L. Evans and P. Bryant, LHC Machine, J. Instrum. 3, S08001 (2008).
- [2] ATLAS Collaboration, Observation of a new particle in the search for the Standard Model Higgs boson with the ATLAS detector at the LHC, Phys. Lett. B 716, no. 1, 1 (2012).
- [3] CMS Collaboration, Observation of a new boson at a mass of 125 GeV with the CMS experiment at the LHC, Phys. Lett. B 716, no. 1, 30 (2012).
- [4] ATLAS Collaboration, A detailed map of Higgs boson interactions by the ATLAS experiment ten years after the discovery, Nature 607, 52–59 (2022).
- [5] CMS Collaboration, A portrait of the Higgs boson by the CMS experiment ten years after the discovery, Nature 607, 60–68 (2022).
- [6] N. Arkani-Hamed and S. Dimopoulos, Supersymmetric unification without low energy supersymmetry and signatures for fine-tuning at the LHC, J. High Energy Phys. 06, 073 (2005).
- [7] X. Tata, Natural supersymmetry: status and prospects, Eur. Phys. J. Spec. Top. 229, 3061–3083 (2020).
- [8] O. Buchmueller, C. Doglioni, and LT. Wang, Search for dark matter at colliders, Nat. Phys. 13, 217–223 (2017).
- [9] T. Golling, LHC searches for exotic new particles, Prog. Part. Nucl. Phys. 90, 156-200 (2016).
- [10] F. Kahlhoefer, Review of LHC Dark Matter Searches, Int. J. Mod. Phys. A 32, no. 13, 1730006 (2017).
- [11] S. Rappoccio, The experimental status of direct searches for exotic physics beyond the standard model at the Large Hadron Collider, Rev. Phys. 4, 100027 (2019).
- [12] A. Canepa, Searches for Supersymmetry at the Large Hadron Collider, Rev. Phys. 4, 100033 (2019).
- [13] M. Cepeda, S. Gori, V. M. Outschoorn, and J. Shelton, Exotic Higgs Decays, Ann. Rev. of Nucl. and Part. Sci. 72, 119–149 (2022).
- [14] J. A. Aguilar-Saavedra, J. H. Collins, and R. K. Mishra, A generic anti-QCD jet tagger, J. High Energy Phys. 11, 163 (2017).
- [15] J. H. Collins, K. Howe, and B. Nachman, Anomaly Detection for Resonant New Physics with Machine Learning, Phys. Rev. Lett. 121, 241803 (2018).
- [16] R. T. D’Agnolo and A. Wulzer, Learning New Physics from a Machine, Phys. Rev. D 99, no. 1, 015014 (2019).
- [17] O. Cerri, T. Q. Nguyen, M. Pierini, M. Spiropulu, and J. R. Vlimant, Variational Autoencoders for New Physics Mining at the Large Hadron Collider, J. High Energy Phys. 05, 036 (2019).
- [18] J. H. Collins, K. Howe, and B. Nachman, Extending the search for new resonances with machine learning, Phys. Rev. D 99, no. 1, 014038 (2019)
- [19] M. Farina, Y. Nakai, and D. Shih, Searching for New Physics with Deep Autoencoders, Phys. Rev. D 101, 075021 (2020).
- [20] T. Heimel, G. Kasieczka, T. Plehn, and J. M. Thompson, QCD or What?, SciPost Phys. 6, no. 3, 030 (2019).
- [21] A. Blance, M. Spannowsky, and P. Waite, Adversarially-trained autoencoders for robust unsupervised new physics searches, J. High Energy Phys. 10, 047 (2019).
- [22] A. De Simone and T. Jacques, Guiding New Physics Searches with Unsupervised Learning, Eur. Phys. J. C 79, no. 4, 289 (2019).
- [23] B. M. Dillon, D. A. Faroughy, and J. F. Kamenik, Uncovering latent jet substructure, Phys. Rev. D 100, no. 5, 056002 (2019).
- [24] J. Hajer, Y. Y. Li, T. Liu, and H. Wang, Novelty Detection Meets Collider Physics, Phys. Rev. D 101, no. 7, 076015 (2020).
- [25] A. Andreassen, B. Nachman, and D. Shih, Simulation Assisted Likelihood-free Anomaly Detection, Phys. Rev. D 101, no. 9, 095004 (2020).
- [26] B. Nachman and D. Shih, Anomaly Detection with Density Estimation, Phys. Rev. D 101, 075042 (2020).
- [27] B. M. Dillon, D. A. Faroughy, J. F. Kamenik, and M. Szewc, Learning the latent structure of collider events, J. High Energy Phys. 10, 206 (2020).
- [28] A. A. Pol, V. Berger, G. Cerminara, C. Germain, and M. Pierini, Anomaly Detection With Conditional Variational Autoencoders, 2020, [2010.05531].
- [29] R. T. D’Agnolo, G. Grosso, M. Pierini, A. Wulzer, and M. Zanetti, Learning multivariate new physics, Eur. Phys. J. C 81, no. 1, 89 (2021).
- [30] A. Mullin, S. Nicholls, H. Pacey, M. Parker, M. White, and S. Williams, Does SUSY have friends? A new approach for LHC event analysis, J. High Energy Phys. 02, 160 (2021).
- [31] M. Crispim Romão, N. F. Castro, and R. Pedro, Finding New Physics without learning about it: Anomaly Detection as a tool for Searches at Colliders, Eur. Phys. J. C 81, no.1, 27 (2021), [erratum: 81, no. 11, 1020 (2021)].
- [32] M. van Beekveld, S. Caron, L. Hendriks, P. Jackson, A. Leinweber, S. Otten, R. Patrick, R. Ruiz De Austri, M. Santoni, and M. White, Combining outlier analysis algorithms to identify new physics at the LHC, J. High Energy Phys. 09, 024 (2021).
- [33] G. Kasieczka, B. Nachman, D. Shih, O. Amram, A. Andreassen, K. Benkendorfer, B. Bortolato, G. Brooijmans, F. Canelli, J. H. Collins, et al., The LHC Olympics 2020 a community challenge for anomaly detection in high energy physics, Rept. Prog. Phys. 84, no. 12, 124201 (2021).
- [34] J. A. Aguilar-Saavedra, F. R. Joaquim, and J. F. Seabra, Mass Unspecific Supervised Tagging (MUST) for boosted jets, J. High Energy Phys. 03, 012 (2021), [erratum: 04, 133 (2021)].
- [35] V. Mikuni and F. Canelli, Unsupervised clustering for collider physics, Phys. Rev. D 103, no. 9, 092007 (2021).
- [36] T. Finke, M. Krämer, A. Morandini, A. Mück, and I. Oleksiyuk, Autoencoders for unsupervised anomaly detection in high energy physics, J. High Energy Phys. 06, 161 (2021).
- [37] K. Benkendorfer, L. L. Pottier, and B. Nachman, Simulation-assisted decorrelation for resonant anomaly detection, Phys. Rev. D 104, no. 3, 035003 (2021).
- [38] J. H. Collins, P. Martín-Ramiro, B. Nachman, and D. Shih, Comparing weak- and unsupervised methods for resonant anomaly detection, Eur. Phys. J. C 81, no. 7, 617 (2021).
- [39] B. M. Dillon, T. Plehn, C. Sauer, and P. Sorrenson, Better Latent Spaces for Better Autoencoders, SciPost Phys. 11, 061 (2021).
- [40] O. Atkinson, A. Bhardwaj, C. Englert, V. S. Ngairangbam, and M. Spannowsky, Anomaly detection with convolutional Graph Neural Networks, J. High Energy Phys. 08, 080 (2021).
- [41] A. Kahn, J. Gonski, I. Ochoa, D. Williams, and G. Brooijmans, Anomalous jet identification via sequence modeling, J. Instrum. 16, no. 08, P08012 (2021).
- [42] T. Aarrestad, M. van Beekveld, M. Bona, A. Boveia, S. Caron, J. Davies, A. De Simone, C. Doglioni, J. M. Duarte, A. Farbin, et al., The Dark Machines Anomaly Score Challenge: Benchmark Data and Model Independent Event Classification for the Large Hadron Collider, SciPost Phys. 12, no. 1, 043 (2022).
- [43] V. Mikuni, B. Nachman, and D. Shih, Online-compatible Unsupervised Non-resonant Anomaly Detection, Phys. Rev. D 105, no. 5, 055006 (2022).
- [44] P. Jawahar, T. Aarrestad, N. Chernyavskaya, M. Pierini, K. A. Wozniak, J. Ngadiuba, J. Duarte, and S. Tsan, Improving Variational Autoencoders for New Physics Detection at the LHC With Normalizing Flows, Front. Big Data 5, 803685 (2022).
- [45] S. Chekanov and W. Hopkins, Event-Based Anomaly Detection for Searches for New Physics, Universe 8, no. 10, 494 (2022).
- [46] A. Hallin, J. Isaacson, G. Kasieczka, C. Krause, B. Nachman, T. Quadfasel, M. Schlaffer, D. Shih, and M. Sommerhalder, Classifying anomalies through outer density estimation, Phys. Rev. D 106, no. 5, 055006 (2022).
- [47] K. Fraser, S. Homiller, R. K. Mishra, B. Ostdiek, and M. D. Schwartz, Challenges for unsupervised anomaly detection in particle physics, J. High Energy Phys. 03, 066 (2022).
- [48] B. Bortolato, A. Smolkovič, B. M. Dillon, and J. F. Kamenik, Bump hunting in latent space, Phys. Rev. D 105, no. 11, 115009 (2022).
- [49] S. Caron, L. Hendriks, and R. Verheyen, Rare and Different: Anomaly Scores from a combination of likelihood and out-of-distribution models to detect new physics at the LHC, SciPost Phys. 12, no. 2, 077 (2022).
- [50] S. Volkovich, F. De Vito Halevy, and S. Bressler, A data-directed paradigm for BSM searches: the bump-hunting example, Eur. Phys. J. C 82, no. 3, 265 (2022).
- [51] B. Ostdiek, Deep Set Auto Encoders for Anomaly Detection in Particle Physics, SciPost Phys. 12, no. 1, 045 (2022).
- [52] J. A. Aguilar-Saavedra, Anomaly detection from mass unspecific jet tagging, Eur. Phys. J. C 82, no. 2, 130 (2022).
- [53] R. Tombs and C. G. Lester, A method to challenge symmetries in data with self-supervised learning, J. Instrum. 17, no. 8, P08024 (2022).
- [54] 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, no. 3, 275 (2022).
- [55] F. Canelli, A. de Cosa, L. L. Pottier, J. Niedziela, K. Pedro, and M. Pierini, Autoencoders for semivisible jet detection, J. High Energy Phys. 02, 074 (2022).
- [56] L. Bradshaw, S. Chang, and B. Ostdiek, Creating simple, interpretable anomaly detectors for new physics in jet substructure, Phys. Rev. D 106, no. 3, 035014 (2022).
- [57] J. A. Aguilar-Saavedra, Taming modeling uncertainties with mass unspecific supervised tagging, Eur. Phys. J. C 82, no. 3, 270 (2022).
- [58] B. M. Dillon, R. Mastandrea, and B. Nachman, Self-supervised anomaly detection for new physics, Phys. Rev. D 106, no. 5, 056005 (2022).
- [59] M. Birman, B. Nachman, R. Sebbah, G. Sela, O. Turetz, and S. Bressler, Data-directed search for new physics based on symmetries of the SM, Eur. Phys. J. C 82, no. 6, 508 (2022).
- [60] M. Letizia, G. Losapio, M. Rando, G. Grosso, A. Wulzer, M. Pierini, M. Zanetti, and L. Rosasco, Learning new physics efficiently with nonparametric methods, Eur. Phys. J. C 82, no. 10, 879 (2022).
- [61] C. Fanelli, J. Giroux, and Z. Papandreou, Flux+Mutability: a conditional generative approach to one-class classification and anomaly detection, Mach. Learn. Sci. Tech. 3, no. 4, 045012 (2022).
- [62] R. Verheyen, Event Generation and Density Estimation with Surjective Normalizing Flows, SciPost Phys. 13, no. 3, 047 (2022).
- [63] T. Cheng, J. F. Arguin, J. Leissner-Martin, J. Pilette, and T. Golling, Variational autoencoders for anomalous jet tagging, Phys. Rev. D 107, no. 1, 016002 (2023).
- [64] S. Caron, R. R. de Austri, and Z. Zhang, Mixture-of-Theories training: can we find new physics and anomalies better by mixing physical theories?, J. High Energy Phys. 03, 004 (2023).
- [65] T. Dorigo, M. Fumanelli, C. Maccani, M. Mojsovska, G. C. Strong, and B. Scarpa, RanBox: anomaly detection in the copula space, J. High Energy Phys. 01, 008 (2023).
- [66] G. Kasieczka, R. Mastandrea, V. Mikuni, B. Nachman, M. Pettee, and D. Shih, Anomaly detection under coordinate transformations, Phys. Rev. D 107, no. 1, 015009 (2023).
- [67] J. F. Kamenik and M. Szewc, Null hypothesis test for anomaly detection, Phys. Lett. B 840, 137836 (2023).
- [68] K. Krzyżańska and B. Nachman, Simulation-based anomaly detection for multileptons at the LHC, J. High Energy Phys. 01, 061 (2023).
- [69] A. Hallin, G. Kasieczka, T. Quadfasel, D. Shih, and M. Sommerhalder, Resonant anomaly detection without background sculpting, Phys. Rev. D 107, no. 11, 114012 (2023).
- [70] E. Buhmann, C. Ewen, G. Kasieczka, V. Mikuni, B. Nachman, and D. Shih, Full phase space resonant anomaly detection, Phys. Rev. D 109, no. 5, 055015 (2024).
- [71] ATLAS Collaboration, Dijet resonance search with weak supervision using TeV collisions in the ATLAS detector, Phys. Rev. Lett. 125, no. 13, 131801 (2020).
- [72] O. Knapp, O. Cerri, G. Dissertori, T. Q. Nguyen, M. Pierini, and J. R. Vlimant, Adversarially Learned Anomaly Detection on CMS Open Data: re-discovering the top quark, Eur. Phys. J. Plus 136, no. 2, 236 (2021).
- [73] ATLAS Collaboration, Anomaly detection search for new resonances decaying into a Higgs boson and a generic new particle in hadronic final states using TeV pp collisions with the ATLAS detector, Phys. Rev. D 108, 052009 (2023).
- [74] ATLAS Collaboration, Search for New Phenomena in Two-Body Invariant Mass Distributions Using Unsupervised Machine Learning for Anomaly Detection at TeV with the ATLAS Detector, Phys. Rev. Lett. 132, no. 8, 081801 (2024).
- [75] ATLAS Collaboration, The ATLAS Experiment at the CERN Large Hadron Collider, J. Instrum. 3, S08003 (2008).
- [76] CMS Collaboration, The CMS Experiment at the CERN LHC, J. Instrum. 3, S08004 (2008).
- [77] E. Govorkova, E. Puljak, T. Aarrestad, T. James, V. Loncar, M. Pierini, A.A. Pol, N. Ghielmetti, M. Graczyk, S. Summers, 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-161 (2022), [author correction: 4, 414 (2022)].
- [78] T.M. Hong, B.T. Carlson, B.R. Eubanks, S.T. Racz, S.T. Roche, J. Stelzer, and D.C. Stumpp, Nanosecond machine learning event classification with boosted decision trees in FPGA for high energy physics, J. Instrum. 16, P08016 (2021).
- [79] B.T. Carlson, Q. Bayer, T.M. Hong, and S.T. Roche, Nanosecond machine learning regression with deep boosted decision trees in FPGA for high energy physics, J. Instrum. 17, P09039 (2022).
- [80] A. Martin, Higgs Cascade Decays to gamma gamma + jet jet at the LHC, 2007, [hep-ph/070324].
- [81] D. Curtin, R. Essig, S. Gori, P. Jaiswal, A. Katz, T. Liu, Z. Liu, D. McKeen, J. Shelton, M. Strassler, et al., Exotic decays of the 125 GeV Higgs boson, Phys. Rev. D 90, no. 7, 075004 (2014).
- [82] ATLAS Collaboration, Search for Higgs boson decays into pairs of light (pseudo)scalar particles in the final state in collisions at TeV with the ATLAS detector, Phys. Lett. B 782, 750-767 (2018).
- [83] E. Govorkova, E. Puljak, T. Aarrestad, M. Pierini, K. A. Woźniak and J. Ngadiuba, LHC physics dataset for unsupervised New Physics detection at 40 MHz, Sci. Data 9, no. 118 (2022).
- [84] C. Rudin, Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead, Nat. Mach. Intell. 1, 206–215 (2019).
- [85] J. Feng and Z. Zhou, AutoEncoder by Forest, AAAI Conference on Artificial Intelligence, 2017, [1709.09018 (cs-LG)].
- [86] O. İrsoy and E. Alpaydın, Unsupervised feature extraction with autoencoder trees, Neurocomputing 258, 63-73 (2017).
- [87] F. T. Liu, K. M. Ting, and Z. Zhou, Isolation forest, 8 IEEE Int’l Conf. on Data Mining, 413-422 (2008).
- [88] Mohd Adli Md Ali, N. Badrud’din, H. Abdullah, and F. Kemi, Alternate methods for anomaly detection in high-energy physics via semi-supervised learning, Int’l. J. Mod. Phys. A 35, no. 23, 2050131 (2020).
- [89] Y.-C. Guo, L. Jiang, and J.-C. Yang, Detecting anomalous quartic gauge couplings using the isolation forest machine learning algorithm, Phys. Rev. D 104, no. 3, 035021 (2021).
- [90] J. C. Yang, Y. C. Guo and L. H. Cai, Using a nested anomaly detection machine learning algorithm to study the neutral triple gauge couplings at an collider, Nucl. Phys. B 977, 115735 (2022).
- [91] L. Deng, The MNIST Database of Handwritten Digit Images for Machine Learning Research, IEEE Sig. Proc. Mag. 29, no. 6, 141-142 (2012).
- [92] ATLAS Collaboration, Technical Design Report for the Phase-II Upgrade of the ATLAS TDAQ System, report no. CERN-LHCC-2017-020 and ATLAS-TDR-029, 2022, http://cds.cern.ch/record/2285584.
- [93] CMS Collaboration, The Phase-2 Upgrade of the CMS Data Acquisition and High Level Trigger, report no. CERN-LHCC-2021-007 and CMS-TDR-022, 2021, http://cds.cern.ch/record/2759072.
- [94] J. Alwall et al., The automated computation of tree-level and next-to-leading order differential cross sections, and their matching to parton shower simulations, J. High Energy Phys. 07, 079 (2014).
- [95] T. Sjöstrand et al., An introduction to PYTHIA 8.2, Comput. Phys. Commun. 191, 159–177 (2015).
- [96] S. Ovyn, X. Rouby, and V. Lemaitre, DELPHES, a framework for fast simulation of a generic collider experiment, report no. CP3-09-01, 2009, [hep-ph/0903.2225].
- [97] DELPHES 3 Collaboration, DELPHES 3, A modular framework for fast simulation of a generic collider experiment, J. High Energy Phys. 02, 057 (2014).
- [98] M. Selvaggi et al., The delphes_card_CMS.tcl file in Delphes (3.5.1pre07) Zenodo code repository, 2023, doi:10.5281/zenodo.7733551, accessed September 6, 2023.
- [99] ATLAS Collaboration, Trigger Menu in 2018, report no. ATL-DAQ-PUB-2019-001, 2019, http://cds.cern.ch/record/2693402.
- [100] ATLAS Collaboration, Performance of the ATLAS Trigger System in 2015, Eur. Phys. J. C 77, no. 5, 317 (2017).
- [101] S. Knapen, S. Kumar and D. Redigolo, Searching for axionlike particles with data scouting at ATLAS and CMS, Phys. Rev. D 105, no.11, 115012 (2022).
- [102] D. de Florian et al. [LHC Higgs Cross Section Working Group], Handbook of LHC Higgs Cross Sections: 4. Deciphering the Nature of the Higgs Sector, CERN Yellow Reports: Monographs 2, 2017, [hep-ph/1610.07922].
- [103] ATLAS and CMS Collaborations, Snowmass White Paper Contribution: Physics with the Phase-2 ATLAS and CMS Detectors, report no. ATL-PHYS-PUB-2022-018 and CMS PAS FTR-22-001, 2022, http://cds.cern.ch/record/2800319.
- [104] ATLAS Collaboration, Observation and measurement of Higgs boson decays to WW∗ with the ATLAS detector, Phys. Rev. D 92, no. 1, 012006 (2015).
- [105] S.T. Roche, B.T. Carlson, and T.M. Hong, fwXmachina example: Anomaly detection for two photons and two jets, Mendeley Data, 2024, doi:10.17632/44t976dyrj.1.
- [106] T.M. Hong and P. Serhiayenka, Xilinx inputs for nanosecond anomaly detection with decision trees for two photons and two jets, D-Scholarship@Pitt #45784, 2024, doi:10.18117/xaw2-9319.
- [107] M. Cacciari, G. P. Salam, and G. Soyez, The anti- jet clustering algorithm, J. High Energy Phys. 04, 063 (2008).
- [108] P.T. Komiske, E.M. Metodiev, B. Nachman and M.D. Schwartz, Pileup Mitigation with Machine Learning (PUMML), J. High Energy Phys. 12, 051 (2017).
- [109] M. Cacciari, G.P. Salam and G. Soyez, SoftKiller, a particle-level pileup removal method, Eur. Phys. J. C 75, no. 2, 59 (2015).
- [110] ATLAS Collaboration, Convolutional Neural Networks with Event Images for Pileup Mitigation with the ATLAS Detector, report no. ATL-PHYS-PUB-2019-028, 2019, http://cds.cern.ch/record/2684070.
- [111] G. Di Guglielmo, F. Fahim, C. Herwig, M. Blanco Valentin, J. Duarte, C. Gingu, P. Harris, J. Hirschauer, M. Kwok, V. Loncar, et al., A Reconfigurable Neural Network ASIC for Detector Front-End Data Compression at the HL-LHC, IEEE Trans. Nucl. Sci. 68, no. 8, 2179–2186 (2021).
Acknowledgements
We thank David Shih, Matthew Low, Joseph Boudreau, James Mueller, Elliot Lipeles, Dylan Rankin, and Eli Ullman-Kissel for the physics discussions. We thank Kushal Parekh, Stephen Racz, Brandon Eubanks, Yuvaraj Elangovan, and Kemal Emre Ercikti for the firmware discussions. We thank Santiago Cané for assistance in testing. We thank Gracie Jane Gollinger for computing infrastructure support. TMH was supported by the US Department of Energy [award no. DE-SC0007914]. JS was supported by the US Department of Energy [award no. DE-SC0012704]. BTC was supported by the National Science Foundation [award no. NSF-2209370]. STR was supported by the Emil Sanielevici Undergraduate Research Scholarship.
Author contribution statement
STR, JS, WCO, and TMH designed the ML training algorithm. QB and PS implemented and tested the firmware design. STR, BTC, and TMH created the simulated dataset and performed the physics analysis. STR led the project execution while TMH managed and coordinated the overall effort. TMH and STR drafted and edited the manuscript with significant inputs from BTC. All authors reviewed the manuscript.
Competing interests statement
The authors declare competing interests. TMH, BTC, JS, STR, and QB have filed a patent on the firmware design of the autoencoder with the University of Pittsburgh. It is currently pending as US Patent Application Publication No. US 2024/0054399. Other authors declare no competing interests.