Nothing Special   »   [go: up one dir, main page]

Next Article in Journal
The Gender Productivity Gap in Croatian Science: Women Are Catching up with Males and Becoming Even Better
Previous Article in Journal
Structural and Thermodynamic Peculiarities of Core-Shell Particles at Fluid Interfaces from Triangular Lattice Models
You seem to have javascript disabled. Please note that many of the page functionalities won't work as expected without javascript enabled.
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Comparative Analysis of Machine Learning Techniques for Muon Count in UHECR Extensive Air-Showers

by
Alberto Guillén
1,*,
José Martínez
2,
Juan Miguel Carceller
2 and
Luis Javier Herrera
1
1
Computer Technology and Architecture, University of Granada, 18071 Granada, Spain
2
Cosmos and Theoretical Physics Department, Univerisity of Granada, 18071 Granada, Spain
*
Author to whom correspondence should be addressed.
Entropy 2020, 22(11), 1216; https://doi.org/10.3390/e22111216
Submission received: 7 September 2020 / Revised: 9 October 2020 / Accepted: 18 October 2020 / Published: 26 October 2020

Abstract

:
The main goal of this work is to adapt a Physics problem to the Machine Learning (ML) domain and to compare several techniques to solve it. The problem consists of how to perform muon count from the signal registered by particle detectors which record a mix of electromagnetic and muonic signals. Finding a good solution could be a building block on future experiments. After proposing an approach to solve the problem, the experiments show a performance comparison of some popular ML models using two different hadronic models for the test data. The results show that the problem is suitable to be solved using ML as well as how critical the feature selection stage is regarding precision and model complexity.

1. Introduction

The way in which ultra-high-energy cosmic rays (UHECRs) are originated is one of the main mysteries nowadays in Astroparticle Physics. To understand these particles, the Pierre Auger Observatory [1] was designed and built. A very ambitious project was started that ended up as the biggest experiment in the world. A large area of 3000 square kilometers is instrumented with water-Cherenkov Detectors (WCDs) that are able to record the signals generated by the particles that reach the ground as they travel through the water of the WCDs.
The interactions of UHECRs with molecules of air at the atmosphere produce what is known as Extensive Air Showers (EAS): the primary particle collides at the top of the atmosphere and generates a cascade of secondary particles like photons, electrons, positrons and muons.
From the signals measured, scientists have to figure out answers to many questions, such as: what type of particle arrived at the top of the atmosphere and where it came from. To answer the first question, it is key to know how many muons were generated during the shower development in the atmosphere. As particles collide in the atmosphere and reach the ground, they generate on each WCD a signal which is a combination of the signal generated by the electromagnetic component of the shower and the muonic one. Thus, if it is desired to estimate the particle nature using the muonic component, it becomes a challenge with the devices available nowadays.
This paper deals with the problem of using machine learning techniques to analyze the signals in WCDs and compute the contribution of muons to the total recorded signal. After describing how the problem has been tackled and the data used in Section 2, all the models used are presented in Section 3. Finally, experiments are shown in Section 4 and Conclusions are drawn.

2. Problem Definition and Data Description

This work is based on the use of simulated data. Figure 1 summarizes all the stages of the simulation process. The package in control of how the extensive-air shower develops in the atmosphere is CORSIKA [2]. Hadronic interactions are modelled through the use of QGSJET-II [3] or EPOS-LHC [4]. The signals left in the detectors by the particles that traverse them are generated using the Auger Off ¯ line ̲ software [5]. Finally, the ROOT package [6] is used to store the data that will be used as input for the machine learning methods.
Each simulation requires high computational time and a large amount of disk space, thus, a reduced amount of data is available. Nonetheless, the simulations computed can be enough for the models used. It is worth noting that these simulators include noise to make the simulation closer to reality. Furthermore, Off ¯ line ̲ models all the electronic components (such as triggers, sensors, and other analogue elements included in the real detector) so few aspects from the real world are left behind. Regarding the simulations available done with the QGSJET-II package, there are four types of primary nuclei: for proton, oxygen, helium and iron, there are over 20,000 samples. This number was divided into two subsets that will be used respectively for training and testing. The final number of samples for each primary is:
  • Helium, training: 16,007, test: 4001. Total: 20,008.
  • Iron, training: 16,019, test: 4004. Total: 20,023.
  • Oxygen, training: 16,021, test: 4005. Total: 20,026.
  • Proton, training: 16,026, test: 4006. Total: 20,032.
The algorithms will be trained and tested using these data. For the tests, however, another testing stage will be carried out using the data available from simulations using the EPOS LHC model. In this way, it is possible to test if the models are able to generalise properly the natural phenomenon modelled independently of the simulator used to generate the data. Regarding the data available in this case, there are 86,923 showers initiated by iron nuclei and 78,659 by protons.

2.1. Problem Definition

As described above, there are some inputs that consist of the simulation of a particle being recorded by the WCD. That signal encompasses the muonic component μ as well as the electromagnetic component e m . The question is how to obtain the muonic component to determine the composition of the primary particle. As stated, it seems straightforward as a blind source separation problem which can be tackled using Independent Component Analysis. The problem can be thought as a room with several microphones, each one recording in a different position. The room is the tank and each microphone is one of the three PMTs inside one tank. From this point of view, the direct application of ICA seems straightforward (although there are some differences as the signals in water behave differently than in air). After some trials, we could not find a successful solution as the standard ICA (using implementation of the FastICA [7] algorithm provided by Sci-kit learn toolbox [8]) algorithm was not able to separate the muonic and the electromagnetic component. Therefore, the proposed solution was to map this problem to a ML classical approach. In this case, the muonic signal can be integrated, providing a continuous value. Thus, it is possible to end up with a set of inputs x i R d , i = 1 , , m (particles of the EAS interacting in a surface detector) and a continuous output value Y = [ y i ] , i = 1 , , m which corresponds to the integral of the muonic signal generated.
With this formulation, the mapping from Physics to ML results in a classical regression problem where it is desired to obtain a function f such that f ( x i ) y i , i .

Feature Extraction

As working with the raw signal might be too expensive in terms of memory and CPU requirements, the variables used to define x i where taken from the output of the Off ¯ line ̲ software package [5]. Nevertheless, according to the experts, the trace can be fully characterized by adding some features that can help the model to learn the function f. For example, the Risetime is used to infer information about mass composition in [9,10]. In these examples, the Δ method is presented performing a feature engineering. The Risetime has been used in later studies [11]. Thus the subset of variables remained as follows:
Input variables:
  • Monte Carlo Energy E: the total energy (in EeV, Exaelectron Volts) of the primary cosmic ray. It has been transformed applying log 10 .
  • Monte Carlo Zenith angle: angle in degrees between the zenith and the trajectory of the primary cosmic ray.
  • Distance to the core r: distance between each station and the reconstucted position of the core of the shower at the ground, given in meters.
  • Total signal S t o t a l : real value in Vertical Equivalent Muons (VEMs) of the signal retrieved by the WCD.
  • Trace length: number of bins with signal recorded (each bin considers 25 nanoseconds).
Engineered variables:
  • Azimuth Angle ζ : measured in radians.
  • Signal Risetime t 1 / 2 : measured in nanoseconds [9].
  • Signal Falltime: real value showing when the signal starts falling.
  • Area over peak of the signal: sum of the signals in each trace divided by the maximum value of each trace.
Output:
  • Muonic signal: in VEMs.

2.2. Normalization

Each row, corresponding to an event, has several columns that contain different magnitudes, as detailed above. Therefore to avoid problems with distances and error measures, the data has been normalised using the Z-Score (mean 0 and std 1).
One of the main advantages of this method, in comparison with Min-Max, is that test values that might be out of the range of training or validation will not get unrealistic representations.

3. Models Considered and Design Issues

This section will describe briefly the models that have been used in the comparison, and the criteria used to set the hyperparameters. For each model, two sets of hyperparameters were chosen depending on the subset of variables selected as described in detail in the next section.

3.1. Linear Regression (Lr)

The model known as LR is defined as:
y i = β 0 + j = 1 d β j x i ( j ) + ε
where β i are the coefficients that weigh each regressor, β 0 the intercept and ε the noise. The idea is to find a hyperplane that fits linearly the target output.
Due to the complexity of this natural phenomena, it is quite probable that non-linear relationships arise in the problem. However, it is interesting to maintain the linear approach due to its simplicity and interpretability.
The implementation used for this model is the one available at the SciKit Learn library [8].

3.2. Decision Tree (DT)

These types of trees are built based on partitions of the input space. The more partitions, higher accuracy can be obtained. There are several algorithms that divide the input space such as CART (Classification And Regression Trees) [12], C4.5 [13], CHAID [14], etc.
One of the main advantages of these models is the interpretability coming from simple if/else rules associated with the created partitions. However, this approach, in general, provides a lower accuracy in comparison with other methods.
Regarding the design of these models, the hyperparameter considered for computing the results shown in Section 4 is the maximum depth for the tree. For this parameter, all values in the range [ 1 , 50 ] were tested. The values chosen for the comparison were 12 for the first variable selection and 14 for the second.

3.3. Random Forest (RF)

The idea of this model is to build several decision trees to overcome their limited accuracy and combine them in an ensemble. Each subtree uses a different subset of regressors so, even though a subtree has less information than a DT that uses all the regressors, the combination of them outperforms the original approach.
However, this improvement in performance has the inconvenient of losing interpretability. As the number of subtrees increases, it is much more challenging to understand the final output of the model.
The hyperparameters considered to obtain the results were the maximum depth the forest can have and the number of estimators. The values considered for these parameters were [ 1 , 50 ] for the depth and [ 50 , 550 ] with a step of 50. The best value obtained was 500 for the number of estimators and 20 for the first variable selection and 450 estimators with 25 of maximum depth for the second variable selection.

3.4. Support Vector Regressor (SVR)

The model known as SVR is based on the Support Vector Machine for classification. The latter tries to find the support vector that linearly separates the input data. However, it is not always possible to do it, so these models use the kernel trick [15], projecting the input space into a higher dimensional feature space where the linear separation might be almost achieved. This ‘almost’ is regulated by parameters that regulate how many misclassifications can be made.
In the regression case, the parameter that regulates the SVR determines the maximum error that can be made when approximating an input vector.
Thus, the SVR proposed by Vapnik in [16] can be looked at a generalization of the original approach but providing a continuous output instead a label within a given subset.
The generalisation is achieved by introducing the ϵ that, together with the hyperplane, defines a tube that fits the output while keeping a permited error.
Formally, the problem consists of:
min w , b , ε , ε 1 2 w T w + C i = 1 m ε i + C i = 1 m ε i
subject to the following constraints:
w T ϕ ( x i ) + b y i ε + ε i ,
y i w T ϕ ( x i ) b ε + ε i ,
ε i , ε i 0 , i = 1 , , m .
where ϕ is the kernel function and c and ϵ the parameters that control how much flexibility to errors the model should have.
This paper has used the implementation available at [8] which integrates the libsvm presented in [17].
For further details, please refer to [18] and [19]. The number of parameters considered to evaluate SVRs were:
  • Type of kernel function: Radial Base, Polynomial (from 3 to 5 degrees) and Sigmoid.
  • C: values ∈ [10,100] in steps of 10.
  • ϵ : values [ 1 e 4 , 1 e 3 , 1 e 2 , 1 e 1 ] .
The best values obtained to carry out the comparisons were:
  • Type of kernel function: Radial Basis Function (Gaussian)
  • C: 60
  • ϵ : 0.1
for the first variable selection and:
  • Type of kernel function: RBF
  • C: 10
  • ϵ : 0.1
for the second.

3.5. eXtreme Gradient Boost (XGBoost)

Gradient Boosted Regression Trees (GBRTs), also known as Gradient Boosting Machines (GBMs), were first presented in [20]. Among the different approaches for boosted trees available, the one presented in [21] and available at [22] provides effective results with an optimised implementation.
This type of model creates an ensemble of decision trees which is built in an incremental way like greedy algorithms. In the first stage, a weak tree that makes a poor approximation (always returning the average value) is formed. Afterwards, from the errors obtained a gradient is computed, and a new tree learns that gradient, and so on.
Let L ( θ ) be a loss function and o b j ( θ ) be the objective function to be minimised by the model, which includes a regularisation term Ω ( θ ) :
o b j ( θ ) = L ( θ ) + Ω ( θ )
The regularisation term allows to avoid overfitting which usually occurs when performing Gradient Boosting [20]. The output provided by the ensemble of trees if given as:
y ^ = k = 1 K f k ( x i )
where f k is the output of a single tree (which has independent structure q and weights w for the leaves). As these parameters cannot be optimised in Euclidian space, one option is to follow a greedy iterative approach to minimise:
L ( t ) = i = 1 n l ( y i , y ^ ( t + 1 ) + f t ( x i ) + Ω ( f t )
where t refers to the iteration number. By reformulation the previous equation, it is possible to obtain a score which indicates the impurity of a tree and compare it with other trees to make a selection.
Thus, there is a wide variety of hiperparemeters to be optimised and some values regarding the structure of the tree and the ensemble (maximum tree depth, number of estimators), their values (learning rate for the leave weights) and how they split (minimum impurity decrease), among others.
To carry out the experiments to compare with the other models, the parameter selection was:
  • maximum tree depth: values [ 5 , 55 ] in steps of 5
  • learning rate: values [0.001, 0.01, 0.1]
  • number of estimators: values [ 50 , 550 ] in steps of 5
  • minimum impurity decrease: 0.05 s t d ( y t r a i n )
and after performing the training stage, the best configuration achieved was:
  • maximum tree depth: 45
  • learning rate: 0.01
  • number of estimators: 500
  • minimum impurity decrease: 10
for the first variable selection and:
  • maximum tree depth: 20
  • learning rate: 0.1
  • number of estimators: 50
  • minimum impurity decrease: 17
for the second.

3.6. Single and Multi Layer Perceptron

Artificial Neural Networks (ANNs) have been used widely in classification and regression tasks.
These models are inspired in biological neural networks, representing a mathematical simplification of those. The first approach consisted on the modeling of an artificial neuron and corresponded to McCulloh and Pitts in [23]. The output of such neuron can be seen as a weigthed sum of the activation function when it receives an input, formally:
y i ^ = ϕ j = 1 d w j x i ( j ) + w 0 .
Instead of using just one neuron, or unit, several can compute their corresponding activation functions grouped in the same layer (like Radial Basis Function Neural Networks [24]) or can have more layers (hidden layers) that can be trained using back-propagation like in [25]. Hence, the j-th unit in the layer h + 1 receives as input:
x j h + 1 = k = 1 U h y k h w j i h
where w j i is the corresponding weight for those two units and y h = ϕ h ( x h 1 ) the output of the units of the previous layer.
There have been recent advances thanks to the use of GPUs and stochastic training [26]. Nonetheless, a single layer still remains as a feasible architecture (Extreme Learning Machines are based on this architecture [27]). Therefore both shallow and deep configurations have been considered for this problem.
Other aspects that were evaluated as critical aspects for the design of the network are the number of units and the learning rate used to update the weights during the parameter adjustment. This algorithm iterates until it reaches convergence or the maximum number of iterations (epochs). For this work, the implementation of a MLP available (MLPRegressor) from [8] has been used with the following configurations:
  • Activation function: ReLu
  • Architectures evaluated: [(10, 10, 10, 10), (50, 50, 50), (100, 100), (250)]
  • Learning rate: Adaptive using α { 0.0001 , 0.001 , 0.01 }
  • Max. epochs: 300
and after performing the training stage, the best configuration achieved was:
  • Architecture: (50, 50, 50)
  • Learning rate: α = 0.01
for the first variable selection and:
  • Architecture: (250)
  • Learning rate: α = 0.001
for the second method.

4. Experiments and Discussion

This section first describes how the dimensionality of the problem was reduced and then, it shows a comparison of the models previously described based on tests.

4.1. Feature Selection

As there are new variables proposed by the experts and due to the curse of dimensionality, it is desirable to reduce the number of them. For that purpose, an analysis of the linear correlation between the variables was done.
As Figure 2 shows, the maximum correlation between the output variable and a regressor is achieved by the Total Signal. The maximum correlation between regressors is of 0.77 obtained by the energy and the distance to the core. However, this value, although being high, is considered lower than a threshold decided in accordance with the experts already cited ( α = 0.85 ). To complement this analysis, two additional methods were tested in the search for dimensionality reduction for this problem.

4.1.1. Using Mutual Information

The idea of using Mutual Information to carry out feature selection has been proposed in the literature in several ways [28,29,30,31]. Let X = { x k } and Y = { y k } for k = 1 n be the input sample pairs, then, the Mutual Information between these two variables can be defined as the amount of information that can be extracted from Y given X. It is formally defined as:
I ( X , Y ) = H ( Y ) H ( Y | X ) = H ( X ) + H ( Y ) H ( X | Y ) .
where H ( ) is the entropy. In the case of dealing with continuous variables, this entropy is defined as:
H ( Y ) = μ Y ( y ) log μ Y ( y ) d y ,
H ( X | Y ) = μ X ( x ) μ Y ( y | X = x ) log μ Y ( y | X = x ) d y d x .
where μ Y ( y ) is the density marginal function, leading to:
I ( X , Y ) = μ X , Y ( x , y ) log μ X , Y ( x , y ) μ X ( x ) μ Y ( y ) d x d y .
Hence, to be able to obtain a value for the MI, it is required to estimate the the joint probability density function between X and Y. Although there are several procedures to do so [32], one of the most popular is the one based in the K nearest neighbours proposed by [33].
A well-known approach to use MI to perform variable selection is the minimum redundancy and maximum relevance one (mRMR) [34].
The algorithm is based on the following heuristic: minimise redundancy among features but maximise relevance. Thus, it is possible to crop features already represented by others but keeping the features that are most important to the output. The criterion to determine both metrics is based on the mutual information defining redundancy as:
R = 1 | S | 2 x i , x j S I ( x i , x j )
and relevance as:
D = 1 | S | x i I ( x i , Y )
where S is the subset of features being evaluated.
This approach has several advantages like the feasibility of finding a solution faster than evolutive approaches and that mRMR can be considered as an optimal first-order approximation of the mutual information.
Table 1 shows the feature ranking using the mRMR algorithm where the higher the score is, the better is the variable to approximate the output.
The first six variables ranked have similar score meanwhile the rest decreases significantly.

4.1.2. Using XGBoost

Table 2 shows the importance of each variable according to XGBoost. This importance is given by the number of times each variable is used in all the subtrees built. The higher the importance is, the more relevant the feature.
After comparing the results, it seems reasonable to keep the first six variables in both methods and compare them, thus the following variables are kept (the experiments carried out with this subset of variables are notated as VS2):
  • Monte Carlo Energy E.
  • Monte Carlo Zenith angle
  • Distance to the core r.
  • Total signal S t o t a l .
  • Signal Risetime t 1 / 2 .
  • Area over the Peak.

4.2. Model Comparisons

After obtaining the data from the two hadronic models (EPOS LHC and QGSJET-II), some of them were used for training and some others were kept to be used in the test comparison. The reason to consider only QGSJET-II for training is that there are more types of primary particles available for training in comparison with EPOS LHC (only proton and iron nuclei).
After performing the feature selection considering the two criteria described previously (mRMR and XGBoost), the training data was used to select the best hyperparameters that each model requires. Once the hyperparameters were fixed, as detailed in Section 3, a 100-fold cross-validation procedure was carried out for each type of model considered to obtain mean performances according to several criteria: Mean Absolute Error (MAE) | y y ^ | , Mean Squared Error (MSE) and R 2 (determination coefficient). Table 3 and Table 4 show the results for the mean and standard deviations obtained when looking only to the validation data during the 100-fold Cross-Validation (CV).
The work flow followed to obtain the final result is depicted in Figure 3.
Table 5 shows the space in permanent storage after serializing the corresponding model objects using the method dump from the joblib library [35].

4.2.1. ANOVA Results for MAE, MSE and R 2

In order to determine which model/algorithm performed the best, a test ANOVA [36] was carried out to see if there were significant differences in the results. The analysis was based on a one-way ANOVA considering as unique factor the model used and the dependent variable, the approximation error (considering isolatedly MAE, MSE and R 2 ). The null hypothesis established is that both models behave equally well and the differences in the errors are due to randomness introduced by hyperparameters initialization.
Before applying ANOVA, a test (Shapiro–Wilk [37]) to check if the distribution of the results belonged to a normal distribution (as ANOVA requires) was applied. Results showed p-values over 0.05 so it is feasible to assume that the error measures in the CV fall within a normal distribution.
Figure 4, Figure 5 and Figure 6 show the ANOVA p-values for the results obtained after the 100-fold CV using the two types of feature selection. The less informative criterion is R 2 as it shows very few differences in comparison with the other two. Dark blue means that there is a statistical difference of one model versus the other (p-value < 0.05).

4.2.2. Discussion

From the statistical point of view, after considering the ANOVA tables, it is not possible to claim a clear winner. However, it is possible to identify the models that perform worse. For this non-linear problem, LR has a poor performance in comparison with the other approaches and DT are always outperformed by its improvements like RF and Boosted trees.
Taking a closer look to Table 3 and Table 4, it is possible to find a minimum for the MSE criterion. The best result is provided by the SVR and, in second place, MLP, both showing as well the smallest values for the standard deviation. In consequence, for the next section (the test comparison of the two hadronic models), only the results provided by the SVR will be used.
It is interesting that, even in the ANOVA tables, the variable selection procedure is important and just by swapping one variable can lead to better results. In this case, the variable selection provided by the XGBoost allows all the models to obtain better results. This is remarkable and should be a warning for those practitioners considering only the mutual information as a valid criterion, when the reality is that the values used are just an estimation of it.
A usually ignored aspect about the models is the complexity or implementation restrictions that they might present. Table 5 shows significant differences in the memory requirements for the different models. The more data-driven is the model, the higher the space it requires. In the case of implementing an ad-hoc system to detect anomalies in real measurement devices like the ones being installed in the Pierre Auger Observatory (AugerPrime [38]), this element should be considered carefully. From this point of view, there is no doubt regarding the model that should be used: Neural networks. The MLP used in this paper without considering a reduced subset of variables fits in a few Kibibytes. Nonetheless, considering today’s memory capacities and seeing the good performance achieved by SVR, it is advisable to consider this approach as the winner as it obtains the best results in validation keeping a reasonable size for the model.

4.3. Test Results between Hadronic Models

As the SVR obtains on average the best results with validation data, this section tests the behaviour of this model with the test data sets. Firstly, the test data is the one obtained using the same hadronic model that provided the training/validation dataset. Afterwards, a comparison with data generated with the other model (EPOS LHC) will be done.
This is a very interesting experiment as it will show if the model was able to learn the natural phenomenon that both simulators are generating.
Figure 7 shows results for test data generated using QGSJET-II.
The metrics for the test data are shown in Table 6.
Figure 8a shows the results of the SVR when receiving as input the data generated by the EPOS LHC simulator.
With the following results shown in Table 7.
Both Figure 7 and Figure 8 represent the histogram of the error and a scatter plot of the real output versus the predicted output from the model for different types of particles: helium, iron, oxygen and proton for QGSJET-II, and iron and proton for EPOS LHC.
In both cases, for all particles, the histogram is centered in 0 and it has a narrow spread, indicating that the predictions are quite accurate. As Table 6 and Table 7, regardless of the simulator used and according to MAE and MSE metrics, particles such as protons seem more difficult to predict, probably due to the higher variability in the output value in comparison with the other particles.
When feeding the model with the EPOS LHC data, the behaviour is well reproduced although there are larger errors for particles that produce a higher number of muons in the shower. However, it is very interesting to observe that, as the model has learned from data from QGSJET-II, it tends to always underestimate the number of muons in comparison with the EPOS LHC output. This result confirms the study carried out in [39].

5. Conclusions

The use of machine learning models to provide solutions in the field of Physics is becoming popular. In this context, this paper has tackled the muon count estimation in water-Cherenkov tanks using simulations provided by the Pierre Auger Collaboration. The paper presents a comparative of the state-of-the-art models showing very good performance for all non-linear models regarding several error approximations. From the required space to implement the models, however, the results have shown that differences are critical and Neural Networks are the best ones. This aspect is usually ignored but should be carefully treated in monitoring and embedded systems. Finally, variable selection still is a must in the machine learning pipeline showing how the errors and model size are reduced when is applied. Overall, it is possible to conclude that the approaches presented in the paper are suitable to be deployed as a supplement to the improvement planned for the Observatory, in order to complement those stations not covered by Auger Prime, and to help monitoring the output provided by the physical systems in order to diagnose malfunction. Further experiments and analysis should be done using real data registered by the stations to analyse the homogeneity in the model’s behaviour.

Author Contributions

Conceptualization, A.G.; methodology, A.G. and L.J.H.; software, A.G. and J.M.; validation, A.G., L.J.H. and J.M.C.; formal analysis, A.G., L.J.H. and J.M.C.; investigation, A.G., L.J.H. and J.M.C.; resources, A.G., L.J.H. and J.M.C.; data curation, J.M.C. and A.G.; writing–original draft preparation, A.G. and L.J.H.; writing–review and editing, A.G., L.J.H. and J.M.C.; visualization, A.G., L.J.H. and J.M.C.; supervision, A.G.; project administration, A.G.; funding acquisition, A.G. and L.J.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research has been possible thanks to the support of projects: FPA2015-70420-C2-2-R, FPA2017-85197-P and RTI2018-101674-B-I00 (Spanish Ministry of Economy and Competitiveness—MINECO—and the European Regional Development Fund—ERDF).

Acknowledgments

The authors want to thank the help and advice given by Antonio Bueno (Department of Theoretic Physics and Cosmos at University of Granada) and the Pierre Auger Collaboration for allowing the authors to use the simulated data and the revisions and comments on the paper.

Conflicts of Interest

The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

References

  1. The Pierre Auger Cosmic Ray Observatory. Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment. Nucl. Instrum. Methods Phys. Res. A 2015, 798, 172–213. [Google Scholar]
  2. Heck, D.; Knapp, J.; Capdevielle, J.N.; Schatz, G.; Thouw, T. CORSIKA: A Monte Carlo Code to Simulate Extensive Air Showers; Forschungszentrum Karlsruhe GmbH: Karlsruhe, Germany, 1998. [Google Scholar]
  3. Ostapchenko, S. QGSJET-II: Towards reliable description of very high energy hadronic interactions. Nucl. Phys. Proc. Suppl. 2006, 151, 143–146. [Google Scholar] [CrossRef] [Green Version]
  4. Pierog, T.; Karpenko, I.; Katzy, J.M.; Yatsenko, E.; Werner, K. EPOS LHC: Test of collective hadronization with data measured at the CERN Large Hadron Collider. Phys. Rev. C 2015, 92, 034906. [Google Scholar] [CrossRef] [Green Version]
  5. Fraenkel, E.; Pierre Auger Collaboration. The offline software package for analysis of radio emission from air showers at the Pierre Auger Observatory. Nucl. Instrum. Methods Phys. Res. Sect. A 2012, 662, S226–S229. [Google Scholar] [CrossRef]
  6. Brun, R.; Rademakers, F. ROOT—An object oriented data analysis framework. Nucl. Instrum. Methods Phys. Res. Sect. A 1997, 389, 81–86. [Google Scholar] [CrossRef]
  7. Hyvärinen, A.; Oja, E. Independent component analysis: Algorithms and applications. Neural Netw. 2000, 13, 411–430. [Google Scholar] [CrossRef] [Green Version]
  8. Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V.; Thirion, B.; Grisel, O.; Blondel, M.; Prettenhofer, P.; Weiss, R.; Dubourg, V.; et al. Scikit-learn: Machine Learning in Python. J. Mach. Learn. Res. 2011, 12, 2825–2830. [Google Scholar]
  9. Aab, A.; Abreu, P.; Aglietta, M.A.; Al Samarai, I.; Albuquerque, I.F.; Allekotte, I.; Almela, A.; Castillo, J.A.; Alvarez-Muñiz, J.; Anastasi, G.A.; et al. Inferences on mass composition and tests of hadronic interactions from 0.3 to 100 EeV using the water-Cherenkov detectors of the Pierre Auger Observatory. Phys. Rev. D 2017, 96, 122003. [Google Scholar] [CrossRef] [Green Version]
  10. Sánchez Lucas, P. The 〈Δ〉 Method: An Estimator for the Mass Composition Of Ultra-High-Energy Cosmic Rays; University of Granada: Granada, Spain, 2016. [Google Scholar]
  11. Guillén, A.; Bueno, A.; Carceller, J.; Martínez-Velázquez, J.; Rubio, G.; Todero Peixoto, C.; Sanchez-Lucas, P. Deep learning techniques applied to the physics of extensive air showers. Astropart. Phys. 2019, 111, 12–22. [Google Scholar] [CrossRef] [Green Version]
  12. Breiman, L.; Friedman, J.; Olshen, R.; Stone, C. Classification and Regression Trees; Wadsworth and Brooks: Monterey, CA, USA, 1984. [Google Scholar]
  13. Quinlan, J.R. C4.5: Programs for Machine Learning; Morgan Kaufmann Publishers Inc.: San Francisco, CA, USA, 1993. [Google Scholar]
  14. Kass, G.V. An Exploratory Technique for Investigating Large Quantities of Categorical Data. Appl. Stat. 1980, 29, 119. [Google Scholar] [CrossRef]
  15. Hofmann, T.; Schölkopf, B.; Smola, A.J. Kernel methods in machine learning. Ann. Stat. 2008, 36, 1171–1220. [Google Scholar] [CrossRef] [Green Version]
  16. Vapnik, V.N. Statistical Learning Theory; Wiley: Hoboken, NJ, USA, 1998. [Google Scholar]
  17. Chang, C.C.; Lin, C.J. LIBSVM: A Library for Support Vector Machines. ACM Trans. Intell. Syst. Technol. 2011, 2. [Google Scholar] [CrossRef]
  18. Schölkopf, B.; Smola, A. Learning with Kernels: Support Vector Machines, Regularization, Optimization, and Beyond; Adaptive Computation and Machine Learning; MIT Press: Cambridge, MA, USA, 2001. [Google Scholar]
  19. Smola, A.J.; Schölkopf, B. A Tutorial on Support Vector Regression. Stat. Comput. 2004, 14, 199–222. [Google Scholar] [CrossRef] [Green Version]
  20. Friedman, J.H. Greedy function approximation: A gradient boosting machine. Ann. Stat. 2001, 29, 1189–1232. [Google Scholar] [CrossRef]
  21. Chen, T.; Guestrin, C. XGBoost: A Scalable Tree Boosting System. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining; ACM: New York, NY, USA, 2016; pp. 785–794. [Google Scholar] [CrossRef] [Green Version]
  22. XGBoost Developers. XGBoost Python Package. 2020. Available online: https://xgboost.readthedocs.io/en/latest/python/index.html (accessed on 1 October 2020).
  23. McCulloch, W.S.; Pitts, W. A logical calculus of the ideas immanent in nervous activity. Bull. Math. Biophys. 1943, 5, 115–133. [Google Scholar] [CrossRef]
  24. Broomhead, D.S.; Lowe, D. Multivariable Functional Interpolation and Adaptive Networks. Complex Syst. 1988, 2, 321–355. [Google Scholar]
  25. Rumelhart, D.; Hinton, G.; Williams, R. Learning representations by back-propagating errors. Nature 1986, 323, 533–536. [Google Scholar] [CrossRef]
  26. Goodfellow, I.; Bengio, Y.; Courville, A. Deep Learning; MIT Press: Cambridge, MA, USA, 2016. [Google Scholar]
  27. Akusok, A.; Gritsenko, A.; Miche, Y.; Björk, K.; Nian, R.; Lauren, P.; Lendasse, A. Adding reliability to ELM forecasts by confidence intervals. Neurocomputing 2017, 219, 232–241. [Google Scholar] [CrossRef]
  28. Guillén, A.; Herrera, L.J.; Pomares, H.; Rojas, I.; Liébana-Cabanillas, F.J. Decision Support System to Determine Intention to Use Mobile Payment Systems on Social Networks: A Methodological Analysis. Int. J. Intell. Syst. 2016, 31, 153–172. [Google Scholar] [CrossRef]
  29. Guillén, A.; Rubio, G.; Toda, I.; Rivera, A.J.; Pomares, H.; Ruiz, I.R. Applying multiobjective RBFNNs optimization and feature selection to a mineral reduction problem. Expert Syst. Appl. 2010, 37, 4050–4057. [Google Scholar] [CrossRef]
  30. Eirola, E.; Lendasse, A.; Karhunen, J. Variable selection for regression problems using Gaussian mixture models to estimate mutual information. In Proceedings of the 2014 International Joint Conference on Neural Networks (IJCNN 2014), Beijing, China, 6–11 July 2014; pp. 1606–1613. [Google Scholar] [CrossRef] [Green Version]
  31. Coelho, F.; de Pádua Braga, A.; Verleysen, M. A Mutual Information estimator for continuous and discrete variables applied to Feature Selection and Classification problems. Int. J. Comput. Intell. Syst. 2016, 9, 726–733. [Google Scholar] [CrossRef] [Green Version]
  32. Bonnlander, B.V.; Weigend, A.S. Selecting input variables using mutual information and nonparametric density estimation. In Proceedings of the 1994 International Symposium on Artificial Neural Networks (ISANN’94), Sorrento, Italy, 26–29 May 1994. [Google Scholar]
  33. Kraskov, A.; Stögbauer, H.; Grassberger, P. Estimating mutual information. Phys. Rev. 2004, 69, 066138. [Google Scholar] [CrossRef] [Green Version]
  34. Peng, H.; Long, F.; Ding, C. Feature selection based on mutual information criteria of max-dependency, max-relevance, and min-redundancy. IEEE Trans. Pattern Anal. Mach. Intell. 2005, 27, 1226–1238. [Google Scholar] [CrossRef]
  35. Joblib: Running Python Functions as Pipeline Jobs. Available online: https://joblib.readthedocs.io/en/latest/ (accessed on 1 October 2020).
  36. Rosner, B. Fundamentals of Biostatistics; Brooks/Cole, Cengage Learning: Boston, MA, USA, 2011; Chapter 12; pp. 516–576. [Google Scholar]
  37. Shapiro, S.S.; Wilk, M.B. An analysis of variance test for normality (complete samples). Biometrika 1965, 52, 591–611. [Google Scholar] [CrossRef]
  38. The Pierre Auger Collaboration. The Pierre Auger Observatory Upgrade-Preliminary Design Report. 2016. Available online: http://xxx.lanl.gov/abs/1604.03637 (accessed on 1 October 2020).
  39. Knurenko, S.; Sabourov, A. QGSjet II and EPOS hadronic interaction models: Comparison with the Yakutsk EAS array data. In Nuclear Physics B-Proceedings Supplements, Proceedings of the XV International Symposium on Very High Energy Cosmic Ray Interactions (ISVHECRI 2008), Paris, France, 1–6 September 2009; Elsevier: Amsterdam, The Netherlands, 2009; Volume 196, pp. 1–494. [Google Scholar] [CrossRef]
Figure 1. Data generation flow from Monte Carlo simulations until data are ready to be used by Machine Learning models.
Figure 1. Data generation flow from Monte Carlo simulations until data are ready to be used by Machine Learning models.
Entropy 22 01216 g001
Figure 2. Correlation coefficients for each pair of variables.
Figure 2. Correlation coefficients for each pair of variables.
Entropy 22 01216 g002
Figure 3. Experiments’ work flow of the comparative.
Figure 3. Experiments’ work flow of the comparative.
Entropy 22 01216 g003
Figure 4. p-values for the ANOVA test using the criterion MAE.
Figure 4. p-values for the ANOVA test using the criterion MAE.
Entropy 22 01216 g004
Figure 5. p-values for the ANOVA test using the criterion MSE.
Figure 5. p-values for the ANOVA test using the criterion MSE.
Entropy 22 01216 g005
Figure 6. p-values for the ANOVA test using the criterion R 2 .
Figure 6. p-values for the ANOVA test using the criterion R 2 .
Entropy 22 01216 g006
Figure 7. Results for the test data set generated using the QGSJET-II hadronic model.
Figure 7. Results for the test data set generated using the QGSJET-II hadronic model.
Entropy 22 01216 g007
Figure 8. Results for test data set generated using the EPOS hadronic model.
Figure 8. Results for test data set generated using the EPOS hadronic model.
Entropy 22 01216 g008
Table 1. Ranking and scores obtained after applying the mRMR algorithm to perform variable selection.
Table 1. Ranking and scores obtained after applying the mRMR algorithm to perform variable selection.
RankingScoreVariable Name
10.2549Total signal registered by the station
20.0368Signal Risetime
30.0233Signal Falltime
40.0189Monte Carlo Energy
50.0183Distance to the core
60.0113Area over Peak
70.0070Trace length
80.0067Monte Carlo Zenith angle
90.0039Azimuthal angle
Table 2. Feature importance as XGBoost criterion.
Table 2. Feature importance as XGBoost criterion.
RankingImportanceVariable Name
1234Total signal registered by the station
294Distance to the core
386Signal Risetime
468Monte Carlo Energy
562Area over Peak
647Monte Carlo Zenith angle
729Signal Falltime
824Azimuthal angle
92Trace length
Table 3. Results for the mean and standard deviation (in brackets) for 100-fold CV using the variable selection XGBoost based.
Table 3. Results for the mean and standard deviation (in brackets) for 100-fold CV using the variable selection XGBoost based.
MAEMSE R 2
LR2.53 (0.32)12.09 (3.52)0.87 (0.06)
DT2.23 (0.20)9.80 (2.17)0.89 (0.05)
RF1.82 (0.17)6.62 (1.35)0.92 (0.03)
XGBoost1.83 (0.16)6.65 (1.39)0.92 (0.03)
SVR1.86 (0.13)6.47 (1.13)0.93 (0.04)
MLP1.87 (0.13)6.52 (1.05)0.92 (0.04)
Table 4. Results for the mean and standard deviation (in brackets) for 100-fold CV using the variable selection using mRMR.
Table 4. Results for the mean and standard deviation (in brackets) for 100-fold CV using the variable selection using mRMR.
MAEMSE R 2
LR2.55 (0.33)12.27 (3.53)0.86 (0.06)
DT2.27 (0.18)10.74 (2.07)0.88 (0.06)
RF1.81 (0.14)6.71 (1.17)0.92 (0.04)
XGBoost1.87 (0.12)7 (1.11)0.92 (0.04)
SVR1.88 (0.09)6.79 (0.87)0.92 (0.04)
MLP1.89 (0.10)6.78 (0.88)0.92 (0.04)
Table 5. Resources required to store and access the models for the two subsets of features selected. Sizes are expressed in Mebibytes ( 2 20 10 6 Megabyte) and Kibibytes ( 2 10 10 3 Kilobyte).
Table 5. Resources required to store and access the models for the two subsets of features selected. Sizes are expressed in Mebibytes ( 2 20 10 6 Megabyte) and Kibibytes ( 2 10 10 3 Kilobyte).
Space in Storage
XGBoost646.7 MiB
SVR4.2 MiB
MLP183.6 KiB
XGBoost-VS229.4 MiB
SVR-VS24.2 MiB
MLP-VS274.1 KiB
Table 6. Metrics obtained for each type of particle.
Table 6. Metrics obtained for each type of particle.
ParticleMAEMSE R 2
Helium1.8496.3840.94
Iron1.8996.8370.96
Oxygen1.86.0240.94
Proton1.9527.3510.95
Table 7. Metrics obtained for each type of particle using EPOS LHC simulations.
Table 7. Metrics obtained for each type of particle using EPOS LHC simulations.
ParticleMAEMSE R 2
Iron1.9637.3470.96
Proton2.0127.7510.95
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Guillén, A.; Martínez, J.; Carceller, J.M.; Herrera, L.J. A Comparative Analysis of Machine Learning Techniques for Muon Count in UHECR Extensive Air-Showers. Entropy 2020, 22, 1216. https://doi.org/10.3390/e22111216

AMA Style

Guillén A, Martínez J, Carceller JM, Herrera LJ. A Comparative Analysis of Machine Learning Techniques for Muon Count in UHECR Extensive Air-Showers. Entropy. 2020; 22(11):1216. https://doi.org/10.3390/e22111216

Chicago/Turabian Style

Guillén, Alberto, José Martínez, Juan Miguel Carceller, and Luis Javier Herrera. 2020. "A Comparative Analysis of Machine Learning Techniques for Muon Count in UHECR Extensive Air-Showers" Entropy 22, no. 11: 1216. https://doi.org/10.3390/e22111216

APA Style

Guillén, A., Martínez, J., Carceller, J. M., & Herrera, L. J. (2020). A Comparative Analysis of Machine Learning Techniques for Muon Count in UHECR Extensive Air-Showers. Entropy, 22(11), 1216. https://doi.org/10.3390/e22111216

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop