scieee AI-readable full text Open interactive document viewer

Small-layered feed-forward and convolutional neural networks for efficient P wave earthquake detection

Mus León, Sergi,Otero Calviño, Beatriz,Alvarado Vivas, Leonardo,Canal Corretger, Ramon,Rojas Ulacio, Otilio

Abstract

The number and efficiency of seismic networks have steadily increase over time delivering large datasets to be analyzed for earthquake occurrence. Automatic tools for accurate earthquake detection are under emerging and intense development. This paper first proposes a new windowing procedure of seismic traces that highly facilitates earthquake detection. This procedure applies regular trace filtering and normalization, but also performs a strict window alignment to P wave onset. These event-aligned windows represent the input data to our P wave detection networks, with relatively small or moderate number of layers. We then develop Feed-Forward (FFNN) and Convolutional (CNN) neural networks and explore multiple architecture configurations to find relevant hyperparameter patterns for better detection. To assess network performance, we adopt the widely used metrics of accuracy (ACC) and the area under the curve (AUC) of the Receiver Operating Characteristic function. In terms of ACC, the best FFNN and CNN reach performances of 91% and 98%, respectively. On the other hand, the best FFNN and CNN in terms of AUC achieve performances of 96% and 99%, respectively. Thus, our novel trace windowing procedure allows developing networks with few hyperparameters, for correct earthquake detection under low computational costs. Finally, we use the CNN with best AUC performance as an effective trace filtering with the purpose of P wave arrival time estimation.

Full text

Small-layered Feed-Forward and Convolutional Neural Networks for Efficient P wave Earthquake Detection Sergi Mus Le´ona([email protected]), Beatriz Otero Calvi˜noa ([email protected]), Leonardo Alvarado Vivasb,c ([email protected]), Ramon Canal Corretgera([email protected]), Otilio Rojas Ulaciob,d ro[email protected] aC/Jordi Girona, 1-3, Universitat Polit`ecnica de Catalunya (UPC), C6, Campus Nord, 08034. Barcelona, Spain. bAv. Los Ilustres, Los Chaguaramos, Municipio Libertador, Distrito Capital, Universidad Central de Venezuela, Facultad de Ciencias, Caracas, 1040, Venezuela. cAv. Guaicaipuro con calle Tiuna, final de la calle Mara, Venezuelan Foundation for Seismological Research, FUNVISIS, El Llanito, Caracas, 1070, Venezuela. dPaseo de Tilos, 13, Barcelona Supercomputing Center (BSC), 08034. Barcelona, Spain. Corresponding Author: Beatriz Otero Calvi˜no C/Jordi Girona, 1-3, Universitat Polit`ecnica de Catalunya (UPC), C6-204, Campus Nord, 08034. Barcelona, Spain. Tel: (+34) 934054046 Email: [email protected] © 2022 Elsevier. This manuscript version is made available under the CC-BY-NC-ND 4.0 license http://creativecommons.org/licenses/by-nc-nd/4.0/ Small-layered Feed-Forward and Convolutional Neural Networks for Efficient P wave Earthquake Detection Sergi Mus Le´ona, Beatriz Otero Calvi˜noa,∗ , Leonardo Alvarado Vivasb,c, Ramon Canal Corretgera, Otilio Rojas Ulaciob,d aC/Jordi Girona, 1-3, Universitat Polit`ecnica de Catalunya (UPC), C6, Campus Nord, 08034. Barcelona, Spain. bAv. Los Ilustres, Los Chaguaramos, Municipio Libertador, Distrito Capital, Universidad Central de Venezuela, Facultad de Ciencias, Caracas, 1040, Venezuela. cAv. Guaicaipuro con calle Tiuna, final de la calle Mara, Venezuelan Foundation for Seismological Research, FUNVISIS, El Llanito, Caracas, 1070, Venezuela. dPaseo de Tilos, 13, Barcelona Supercomputing Center (BSC), 08034. Barcelona, Spain. Abstract The number and efficiency of seismic networks have steadily increase over time delivering large datasets to be analyzed for earthquake occurrence. Automatic tools for accurate earthquake detection are under emerging and intense development. This paper first proposes a new windowing procedure of seismic traces that highly facilitates earthquake detection. This procedure applies regular trace filtering and normalization, but also performs a strict window alignment to P wave onset. These event-aligned windows represent the input data to our P wave detection networks, with relatively small or moderate number of layers. We then develop Feed-Forward (FFNN) and Convolutional (CNN) neural networks and explore multiple architecture configurations to find relevant hyperparameter patterns for better detection. To assess network performance, we adopt the widely used metrics of accuracy (ACC) and the area under the curve (AUC) of the Receiver Operating Characteristic function. In terms of ACC, the best FFNN and CNN reach performances of 91% and 98%, respectively. On the other hand, the best FFNN and CNN in terms of AUC achieve performances of ∗Corresponding author. Email addresses: [email protected] (Sergi Mus Le´on), [email protected] (Beatriz Otero Calvi˜no ), [email protected] (Leonardo Alvarado Vivas), [email protected] (Ramon Canal Corretger), [email protected] (Otilio Rojas Ulacio) Preprint submitted to Expert Systems with Applications April 24, 2022 96% and 99%, respectively. Thus, our novel trace windowing procedure allows developing networks with few hyperparameters, for correct earthquake detection under low computational costs. Finally, we use the CNN with best AUC performance as an effective trace filtering with the purpose of P wave arrival time estimation. Keywords: Artificial Neural Networks, Feed-Forward, Convolutional, Earthquake detection, P waves 1. Introduction Earthquake detection and wave phase picking are routinely and time consuming procedures carried out by human analysts when processing seismic records. Event detection concerns with the identification of earthquakes by processing seismic records, where noise and signals from alternative sources can be also present. Phase picking consists of estimating the arrival times of the primary (P) and secondary (S) waves to the seismic monitoring station. Detection and phase picking involves a significant amount of pattern recognition to identify P and S arrivals from their amplitude, signal polarization and propagation speed. Along these processing steps, seismic analysts are usually assisted by technical software to analyze time and spectral properties of seismic records. Some authors study the theoretical formulation and application guidelines of standard detection and picking methods of seismic phases (Bormann et al. (2014); Diehl et al. (2012); Kulh´anek (1990)). Additionally, well established software libraries for routinely analysis of seismic traces can be downloaded from the web sites of the United State Geological Survey1and the Incorporated Research Institutes for Seismology2. It is worth nothing that human analysts rely on their own knowledge and experience when processing seismic waveforms. Thus, human identification and picking of seismic phases are not flawless, and misinterpretations translate through following processing steps leading to uncertainties on 1https://earthquake.usgs.gov/research/software/ 2https://www.iris.edu/hq/data and software/ 2 hypocenter location, focal source mechanism and other relevant data of earthquake catalogs. In addition, high noise levels induced by human or industrial activities may lead to detection deficiencies of small events. The consequences of error detection and location of earthquakes have been the subject of several discussions (Husen & Hardebeck (2010); Zaliapin & Ben-Zion (2015); Stabile et al. (2020)). Note also that seismic monitoring networks steadily increase in number and recording efficiency delivering large datasets to be processed (Vidal-Villegas et al. (2018); Quintanar et al. (2018)). Any additional remote stations with no continuous data communications create special needs of fast processing. These facts call for efficient and robust interpretation tools that replace or supplement the labor of trained seismic analysts. Applications of Artificial Neural Networks (ANN) to seismic phase detection have actively evolved in the last thirty years, due to their excellent performance for complex pattern recognition. Comprehensive reviews of this formidable evolution can be found in the survey papers (der Baan & Jutten (2000); Florido et al. (2016); Kong et al. (2018); Rojas et al. (2019)), and here we only comment on some related works to this contribution. Some early works apply FFNN to local and regional seismic data and use seismic traces as input data (Dai & Mac- Beth (1995); Enescu (1996); Dai & MacBeth (1997); Zhao & Takano (1999)). The network in Dai & MacBeth (1995) operates on the amplitude of threecomponent seismographs and reports successful detections of P and S phases for more than 90% of testing traces. Their dataset comprises about 850 local earthquakes, and was later used by same Authors in Dai & MacBeth (1997). This latter network processes single components of input traces, and achieve correct P and S detection on approximately 80% of tested cases, with accuracy variations among the processed signal components, probably due to energy directivity effects and the station location. The ANN in Enescu (1996) processes band-pass filtered of original seismic traces and its prediction accuracy of P wave onsets consistently varies with the noise level present in input data. Finally, the network in Zhao & Takano (1999) reaches 95% of successful identification of P waves on a dataset of 1254 seismograms recorded by the IRIS network. 3 Some modern and highly efficient detection networks are fully deep CNN (Perol et al. (2018); Ross et al. (2018); Wu et al. (2019); Tous et al. (2020)). ConvNetQuake is proposed in Perol et al. (2018) and works on time windows of three-channel seismograms from a single and local station for P wave identification. Data preprocessing of each signal component is based on trace splitting, mean subtraction and normalization by the absolute peak amplitude. ConvNetQuake training employs over 2000 events occurred during 2014-2016 in Oklahoma, USA, and then testing proceeds on an additional sample of 209 events reaching a detection precision of 95%. ConvNetQuake also achieves an optimal detection performance on a Northern California dataset of 21 earthquakes of magnitude below 4.1 Mw. The network UPC-UCV presented in Tous et al. (2020) builds upon ConvNetQuake and finds applications for a dataset of 949 earthquakes with a magnitude range between 1.1 to 5.2 Mw, occurred in North-Central Venezuela from April 2018 to April 2019. For this dataset, UPCUCV successfully detects 95.27% of P arrivals. In addition, this network has been also tested on the Oklahoma dataset and compared to ConvNetQuake, exhibiting a slightly superior accuracy, as evidence of the low regional dependency of UPC-UCV. Authors in Ross et al. (2018) developed the generalized phase detection (GPD) framework for classification of seismic body wave phases in three-component seismograms. The first set of network layers behaves as a feature extraction system, that applies an elaborate data preprocessing based on subsequent filtering and decimation, where raw acceleration traces can be optionally integrated to velocities. Next, P and S detection is carried out by a fully connected ANN in terms of probability time series and reference thresholds. GPD training and validation proceeds on a dataset of 4.5 millions window traces recorded by the Southern California Seismic Network for events of magnitude below 5.7 Mw, and detection efficiency reaches 99% in best cases. Subsequent tests of GPD consider data of the 2016 Mw 7.0 Kumamoto earthquake, and reliable phase detection is observed when using original acceleration traces. Lastly, the ANN introduced in Wu et al. (2019) presents a densely connected architecture of convolutional layers and shows high detection proficiency for laboratory 4 slip events of different sizes and durations. The experimental acoustic dataset presents 1000 hand-picked events and 800 were used for network training. Hybrid ANN architectures for reliable wave phase detection and picking that include convolutional components, have been recently developed in Mousavi et al. (2019); Zhou et al. (2019); Mousavi et al. (2020). In Zhou et al. (2019), the first processing stage of phase detection is performed by a convolutional network, and then time picking is carried out by two-layers of bidirectional gated recurrent units. In Mousavi et al. (2019), the residual architecture CRED combines a convolutional, a recurrent and a fully connected feed forward nertworks, to perform feature extraction, recognition of temporal patterns and final identification of seismic phases, respectively. Training and validation of this network employ a dataset of 550,000 three-component seismograms recorded by 889 stations in North California. In Mousavi et al. (2020), the involved EQTransformer model integrates a very-deep encoder to generate high-level features from seismic signals, with three separate decoders to identify either seismic phases or noise. Decoders are composed of convolutional layers, bi-directional and unidirectional long short term memory (LSTM) units, feed-forward layers, among other components. EQTransformer training and validation are performed using seismograms of 450,000 earthquakes worldwide, most with magnitudes less than 2.5 Mw. Both CRED and EQTransformer have been further tested in scenarios not observed during training, and results support their good detection and picking proficiency. As commented above, highly deep ANN have shown good results in identifying earthquake signals under a variety of noise, regional and tectonic conditions. In favor of this generality, large datasets with millions of labeled data samples are necessary for network training and a sizeable amount of computing power must be spent in this process. Dense networks would require complex hyperparametrizations and need millions of parameters, so their tuning towards optimal performance is intense and it demands a great computational capacity. However, early ANN applications to earthquake analyses have exploited data preprocessing procedures (e.g. trace standardization, normalization, filtering, 5 resampling) and present simplified architectural designs, that allows reducing time for network training. In this sense, the main contributions of this work can be summarized as follows: 1. A novel approach for data preprocessing that allows a strict window alignment to P wave arrival time. These aligned windows are the input data to the neural networks of few hyperparameters developed in this work. 2. The advantages of this preprocessing technique towards training simplification and reduction of network parameters, have been exhibited in terms of a new challenging dataset of analyst-labelled P wave phases from events in Northern Venezuela. 3. A new algorithm for P wave arrival time estimation based on using the CNN with best AUC performance as an effective filtering of the input seismic trace. The remainder of this paper is organized as follows: Section 2 describes the study dataset recording 27 month seismicity in Western and Central regions of Venezuela. Section 3 explains the data preprocessing, trace slicing and window alignment. Section 4 mainly focuses on the network detection performance metrics used in this work. Sections 6 and 7 show the best FFNN and CNN configurations experimentally found, respectively. Section 8 describes an approach for automatic time picking of P wave arrival. Finally, our conclusions are presented in Section 9. 2. Study Dataset: 2017-2019 seismicity in North Western Venezuela The Venezuelan Foundation for Seismological Research (FUNVISIS) is the official agency in charge of installation and maintenance of the seismic monitoring network in this country. The FUNVISIS seismological network has 35 broadband stations that record three-channel continuous data at 100 Hz. The higher seismic activity occurs in North Western regions of the country, so recording stations are distributed accordingly. FUNVISIS earthquake catalogs compile and publish the seismic activity of this region. 6 Our study dataset includes 2026 local events with magnitudes varying between 1.1 and 5.2 Mw, that have occurred Western and Central Venezuela, at the region limited from 6◦to 12◦North latitude and from 67◦and 73◦West longitude. For these events, the arrival times of P and S waves, along with magnitude and hypocenter locations are reported in the seismological bulletins (FUNVISIS (2017, 2018, 2019)). Sample waveforms have been recorded by ten seismic stations since January 2017 until April 2019, and the corresponding to analystlabeled traces have been provided by FUNVISIS. The local seismicity is mainly associated with the Bocon´o and Oca-Anc´on geological faults in the West, and the San Sebasti´an and La Victoria faults in North and Central regions of this country (see, figure 1). All these geological faults are right-lateral strike-slip, and joint to the eastern El Pilar fault (not shown in figure 1), constitute a large system that lies on the contact zone between the Caribbean and the South American tectonic plates (P´erez & Mendoza (1998); Audemard et al. (2006)). 3. Data preprocessing and trace slicing In this section, we describe the new preprocessing technique of seismic waveforms highly suitable for earthquake detection and its promising application to our study dataset. This dataset presents two relevant kinds of information related to the 2026 local events. First, metadata of FUNVISIS earthquake catalogues corresponding to analyst-picked arrival times of P waves, hipocenter location and additional phase information (e.g., Pg, Pn, Sg and Sn arrivals). Secondly, this dataset collection of seismic traces or waveforms, which are subject to our preprocessing strategy, described below. A FUNVISIS catalogue is saved in Nordic format (NorDB (2020)), while seismic traces or waveforms are stored in MiniSEED format (Research Institutions for Seismology (2020)). Hereinafter, we may refer to a file storing waveforms as a stream file. 3.1. Catalogue preprocessing In order to speed up the computational handling of FUNVISIS catalogues, we only extract crucial data for our applications and store it into CSV files. Pre- 7 Figure 1: Epicenter map of the seismic activity in the Western and Central regions of Venezuela (yellow circles) from Jan 2017 to April 2019, including the distribution of FUNVISIS broadband stations (triangles). In addition, the mapped geological faults (red lines) are shown according to Audemard et al. (2000) 8 our reported candidates on their particular dataset. 4.2. Performance metrics In this work, we use two metrics for ANN performance evaluation. The first one is the area under the curve (AUC) of the Receiver Operating Characteristic (ROC) function, and the second one is the detection accuracy (ACC) given by the ratio of the number of correct event identifications and the total predicted positive observations. These metrics give complementary insights into the frequency of correct classification of a trace window. 4.2.1. The area under the ROC curve: AUC The ROC curve is given by the ratio of the true positive rate (TPR) and the false positive rate (FPR) window classifications (Mandrekar (2010)). This curve provides a visual representation of the trade-off between the classification sucesses TPR and failures FPR, in relation to data distributions. The AUC area ranges between 0 and 1, and increases as ROC improves. Figure 4 shows an expected empirical ROC curve of area AUC and also illustrates the performance of a random classifier (the diagonal line) based on pure chance. TPR(γ) = FPR(γ) (1) This metric is suitable for evaluating our ANN for automatic time picking, because it shows the estimation performance independently of the prediction threshold. Time picking estimation is presented in section 8. 4.2.2. The detection accuracy: ACC As well known, ACC is the fraction of correctly classified predictions with respect to the total number of instances evaluated. For ANN, ACC is the most commonly used prediction metric, giving a real and easy estimation of network efficacy. In our applications based on a balanced training datataset, ACC is an excellent indicator, since it precisely states the probability of a correct window classification. The only ACC drawback is being insensitive to threshold 15 Figure 4: The receiver operating characteristic (ROC) evaluation metric of classification performance variations in our automatic estimation of P wave arrival time, described in section 8. Therefore, we also use AUC as a better suited metric for assessing such estimation procedure. Discussions on the AUC advantages over the ACC metric, including AUC independence of the decision threshold, are provided in Bradley (1997); Huang & Ling (2005). 5. P wave arrival time estimation 6. Feed Forward Detection Neural Networks 6.1. Architecture configurations The most straightforward model to solve the binary window classification problem is using FFNN. Although, this type of neural networks has proven to perform poorly for these problems (Enescu (1996)), we here successfully use FFNN thanks to our effective waveform preprocessing. Our conjecture about deficient FFNN performances in similar applications, is related to the different offsets of P wave onsets on trace windows (Kauderer-Abrams (2018)). Thus, our window-to-event alignment makes FFNN behave reliably. Figure 5 depicts the general fully connected configuration of FFNN used in this work. Connection 16 weights determine the correlation degree between neurons’ activity, which is given by the sum of node inputs modified by an activation function. Figure 5: General configuration of a FFNN We test several architecture configurations by varying the number of hidden layers, in addition to the number of units at each layer. For the former hyperparameter, we test from a single network layer up to four layers. Using models with more than four layers becomes computationally demanding, and may lead to large and complex networks. Concerning the number of neurons per layer, we have chosen as possible values 16, 32, 64, 128 and 256. All possible configurations have been tested, which represents a total of 780 different networks, out of which five models have one hidden layer, 25 models have two hidden layers, 125 models have three hidden layers, and finally, 625 models present four hidden layers. In addition, the output layer is a single perceptron layer with a Sigmoid activation function, that enables the output to be enclosed between 0 and 1. In this way, we can interpret network output as the probability of having an event in a given window. Our FFNN use Binary Cross-Entropy function as loss function given its excellent performance on binary classification problems (Ramos et al. (2018)). Also, the Adam model in Kingma & Ba (2014) is used as optimizer with a learning rate of 0.001. Each network is trained for ten epochs with a batch size 17 of 1 (Smith (2018)). Moreover, at the end of each epoch, the ACC and AUC values are recorded for further analyses and comparisons. These values are not only recorded after each training epoch, but also during the validation process to detect overfitting. 6.2. Best network configurations In this section, we identify best FFNN configurations in terms of aforementioned performance metrics. Table 1 lists the best 15 candidates in decreasing optimality order according to ACC. Most of these models have four layers as a consequence of deeper learning leading to better performance. Another common feature within these networks is having a second layer, smaller than the first one, as a clear consequence of the complexity of the input signal windows with many data points. Precisely, only in a couple of models in Table 1, the second layer presents half of the units existing in the first layer, but for the majority of these networks, the second layer is even smaller. Thus, these networks aggregate their complex input, i.e., windows with several trace samples, into a smaller set of values that allow a better information extraction. This observation is consistent with most ANN, where the number of units in layers that come after the first one are within the smaller allowed values. The information extracted by the first layer, is then compressed to its essential components. Furthermore, architectures 1 and 10 are interesting from a computational complexity standpoint, having relatively few layers with a small amount of filters. This would allow fast training, validation and use of these networks on new datasets. Table 2 presents the 15 FFNN with best AUC results. Coarsely speaking, these architectures are very similar to those in Table 1, and therefore, same previous configuration comments about layer sizes also apply to these networks. 18 Ranking Hidden Units per layer ACC according to ACC layer count 1 2 3 4 1 4 128 16 16 32 0.912 2 4 128 32 16 128 0.912 3 4 256 32 16 32 0.910 4 4 128 64 16 64 0.909 5 3 256 64 16 - 0.908 6 4 128 32 16 16 0.907 7 4 256 64 32 16 0.907 8 4 256 32 32 64 0.906 9 4 128 32 64 32 0.906 10 4 64 16 16 32 0.906 11 4 64 32 16 32 0.906 12 4 128 64 64 32 0.906 13 4 64 16 16 64 0.906 14 3 128 16 16 - 0.905 15 4 128 32 32 256 0.904 Table 1: Best 15 FFNN according to validation ACC 19 Ranking Hidden Units per layer AUC according to AUC layer count 1 2 3 4 1 4 256 16 32 32 0.962 2 4 128 32 64 32 0.962 3 4 128 16 16 32 0.960 4 4 256 64 32 32 0.960 5 4 128 32 16 128 0.960 6 4 256 32 32 64 0.960 7 4 256 64 32 16 0.960 8 4 256 16 32 64 0.959 9 4 64 16 16 64 0.959 10 3 256 64 16 - 0.959 11 4 64 32 64 32 0.959 12 4 256 32 16 32 0.959 13 4 128 32 64 64 0.958 14 4 128 16 16 256 0.958 15 4 64 16 64 16 0.958 Table 2: Best 15 FFNN according to validation AUC 20 7. Convolutional Detection Neural Networks 7.1. Architecture configurations Next, we use CNN for earthquake detection and figure 6 shows a general model architecture, where each convolutional layer comprises a set of filters and max-pooling layers. Following the same approach used in the previous section, we test several hyperparameterizations in search for optimal configurations. In this process, we also consider the parameter of kernel size of our CNN candidates. Figure 6: General configuration of a CNN The first hyperparameter we vary is the number of convolutional layers and to limit the computational effort of configuration optimization, we only test networks with 1, 2 and 3 layers. Next, we consider variations of the number of filters and take the same options as the values used for the number of FFNN units, i.e., 16, 32, 64, 128 and 256. Finally, our last testing hyperparameter is the kernel size of convolutional layers, and we only explore with two values corresponding to 3 and 12. In our configuration exploration, we test all possible convolutional layer types resulting from combining several filter and kernel sizes. These combinations 21 result in 10 different possibilities for each convolutional layer. These layers use a rectified linear activation function, and the max-pooling layers always use a pool size of 2. By combining all layer possibilities and layer types, we finally test 1110 different networks, which result in 10 models with one layer, 100 with two layers and 1000 with three convolutional layers. The same datasets used in the previous section are used here for testing CNN models. For this reason, we use the same output layer with one fully connected neuron with a Sigmoid activation function, a loss Binary Cross Entropy function, and a Adam optimizer function. In addition, these networks are trained with a batch size of 1 and for ten epochs. As mentioned above, we limit the layer number of our CNN models to a maximum of 3 layers, to make network training and validation feasible in our current computational resources. We were unable to explore architectures with 4 layers, since it would imply to test 10.000 additional networks. However, previous results observed for FFNN models, suggest having a fourth layer would bring minor improvements. 7.2. Best network configurations Along the intense hyperparameter exploration described above, we observe best ACC and AUC performances in networks with 3 layers. These results may be easily explain, being three the maximum number of tested layers (hidden layer count). The deeper the network the more complex features can be modeled, which favors prediction. In the validation process, we identify CNN configuration patterns with best performances and Table 3 lists the top 15 candidates in decreasing ACC optimality order. As detailed in this table, the most common pattern of kernel sizes for our three-layer CNN are 12, 3, and 12, that remarkably follows an alternating behavior. Our last observation concerns with the relationship between the number of kernels and filters. The alternating pattern of kernel numbers per layer is roughly followed by the number of filters. In most cases, a large number of filters is used by the first layer, then we find a significant smaller filter amount 22 Ranking Hidden Filter Kernel size ACC according to ACC layer count per layers per layer 1 2 3 1 2 3 1 3 64 32 128 12 3 12 0.982 2 3 64 16 256 12 3 12 0.982 3 3 16 32 256 12 12 12 0.981 4 3 16 16 128 12 3 12 0.981 5 3 256 32 64 12 3 12 0.981 6 3 128 16 128 12 3 12 0.981 7 3 32 16 64 12 3 12 0.981 8 3 64 16 128 12 3 12 0.980 9 3 128 32 64 12 3 12 0.980 10 3 32 32 64 12 3 12 0.980 11 3 32 16 64 12 12 12 0.980 12 3 64 16 128 3 3 12 0.980 13 3 32 64 128 12 3 12 0.980 14 3 64 32 256 12 3 12 0.980 15 3 16 64 64 12 3 12 0.980 Table 3: Best 15 CNN according to validation ACC at the medium layer, and finally the last layer employs another large number of filters. Table 4 presents the best 15 three-layer CNN configurations in terms of AUC. The optimal number of filters and kernel sizes follow similar alternating behavior, from the first and shallowest layer to the third and deepest layer. However, the last layer of these CNN tends to present more filters relative to those networks with best ACC. 23 Ranking Hidden Filter Kernel size AUC according to AUC layer count per layers per layer 1 2 3 1 2 3 1 3 64 16 256 12 3 12 0.997 2 3 64 16 128 12 3 12 0.997 3 3 128 16 128 12 3 12 0.997 4 3 16 16 128 12 3 12 0.997 5 3 32 16 64 12 3 12 0.997 6 3 128 32 64 12 3 12 0.997 7 3 16 16 64 12 3 12 0.997 8 3 32 128 128 12 3 12 0.997 9 3 16 32 256 12 12 12 0.997 10 3 16 64 64 12 3 12 0.997 11 3 32 32 256 3 3 12 0.997 12 3 32 16 256 3 3 3 0.997 13 3 64 32 128 12 3 12 0.996 14 3 128 64 128 12 3 12 0.996 15 3 64 16 256 3 3 12 0.996 Table 4: Best 15 CNN according to validation AUC 24 Mousavi, S. M., Zhu, W., Sheng, Y., & Beroza, G. C. (2019). CRED: A Deep Residual Network of Convolutional and Recurrent Units for Earthquake Signal Detection. Scientific Report,9, 1–23. doi:10.1038/ s41598-019-45748-1. NorDB (2020). Nordic format. Perol, T., Gharbi, M., & Denolle, M. (2018). Convolutional neural network for earthquake detection and location. Science Advances,4, e1700578. doi:10.1126/sciadv.1700578. P´erez, J. O., & Mendoza, J. S. (1998). Sismicidad y tect´onica en Venezuela y ´areas vecinas, . (pp. 87–110). Quintanar, L., C´ardenas-Ram´ırez, A., Bello-Segura, D., Esp´ındola, V., P´erez- Santana, J., C´ardenas-Monroy, C., Carmona-Gallegos, A., & Rodr´ıguez- Rasilla, I. (2018). A seismic network for the valley of mexico: Present status and perspectives. Seismological Research Letters,89, 356–362. Ramos, D., Franco-Pedroso, J., Lozano-Diez, A., & Gonzalez-Rodriguez, J. (2018). Deconstructing Cross-Entropy for Probabilistic Binary Classifiers. Entropy,20. doi:10.3390/e20030208. Rojas, O., Otero, B., Alvarado, L., Mus, S., & Tous, R. (2019). Artificial Neural Networks as Emerging Tools for Earthquake Detection. Computaci´on y Sistemas,23 , 335–350. doi:10.13053/CyS-23-2-3197. Ross, Z. E., Meier, M. A., Hauksson, E., & Heaton, T. H. (2018). Generalized Seismic Phase Detection with Deep Learning. Bulletin of the Seismological Society of America,108 , 2894–2901. doi:10.1785/0120180080. Research Institutions for Seismology, N. (2020). miniseed. Smith, L. N. (2018). A disciplined approach to neural network hyperparameters: Part 1 - Learning rate, batch size, momentum, and 31 weight decay. CoRR,abs/1803.09820. doi:10.48550/arXiv.1803.09820. arXiv:1803.09820. Stabile, T. A., Serlenga, V., Satriano, C., Romanelli, M., Gueguen, E., Gallipoli, M. R., Ripepi, E., Saurel, J.-M., Panebianco, S., Bellanova, J. et al. (2020). The insieme seismic network: a research infrastructure for studying induced seismicity in the high agri valley (southern italy). Earth System Science Data,12, 519–538. Tous, R., Alvarado, L., Otero, B., Cruz, L., & Rojas, O. (2020). Deep Neural Networks for Earthquake Detection and Source Region Estimation in North-Central Venezuela. Bulletin of the Seismological Society of America, 110, 2519–2529. doi:10.1785/0120190172. Vidal-Villegas, J. A., Mungu´ıa, L., Gonz´alez-Ortega, J. A., Nu˜nez-Leal, M. A., Ram´ırez, E., Mendoza, L., Castro, R. R., & Wong, V. (2018). The northwest mexico seismic network: Real-time seismic monitoring in northern baja california and northwestern sonora, mexico. Seismological Research Letters,89, 324–337. Wu, Y., Lin, Y., Zhou, Z., Bolton, D. C., Liu, J., & Johnson, P. (2019). Deep- Detect: A cascaded region-based densely connected network for seismic event detection. IEEE Transactions on Geoscience and Remote Sensing, 57, 62–75. doi:10.1109/TGRS.2018.2852302. Zaliapin, I., & Ben-Zion, Y. (2015). Artefacts of earthquake location errors and short-term incompleteness on seismicity clusters in southern California. Geophysical Journal International,202, 1949–1968. doi:10.1093/gji/ ggv259. Zhao, Y., & Takano, K. (1999). An artificial neural network approach for broadband seismic phase picking. Bulletin of the Seismological Society of America,89 , 670–680. doi:10.1785/BSSA0890030670. 32 Zhou, Y., Yue, H., Kong, Q., & Zhou, S. (2019). Hybrid Event Detection and Phase Picking Algorithm Using Convolutional and Recurrent Neural Networks. Seismological Research Letters,90, 1079–1087. doi:10.1785/ 0220180319. 33