Figures
Abstract
The characterization and analysis of rock types based on acoustic emission (AE) signals have long been focal points in earth science research. However, traditional analysis methods struggle to handle the influx of big data. While signal processing methods combined with deep learning have found widespread use in various process analyses and state identification, effective feature extraction using progressive fusion technology still faces challenges in the field of intelligent rock type identification. To address this issue, our study proposes a novel framework for rock type identification based on AE and introduces a new signal identification model called 3CTNet. This model integrates convolutional neural networks (CNNs) and Transformer encoder, intelligently identifying AE of different rock fractures by establishing dependencies between adjacent positions within the data and gradually extracting advanced features. Furthermore, we experimentally compare five oversampling methods, ultimately selecting the adaptive synthetic sampling method (ADASYN) to balance the dataset and enhance the model’s robustness and generalization ability. Comparison of the internal structure of our model with a series of time series processing models demonstrates the effectiveness of the proposed model structure. Experimental results showcase the high identification accuracy of the intelligent rock type identification model based on 3CTNet, with an overall identification accuracy reaching 98.780%. Our proposed method lays a solid foundation for the efficient and accurate identification of formation rock types in geological exploration and oil and gas development endeavors.
Citation: Wang T, Qin Y, P. G. R, Zhao W, Jiang J, Xu H, et al. (2024) A new method of rock type identification based on transformer by utilizing acoustic emission. PLoS ONE 19(8): e0309165. https://doi.org/10.1371/journal.pone.0309165
Editor: Luan Carlos de Sena Monteiro Ozelim, Instituto Tecnologico de Aeronautica, BRAZIL
Received: April 21, 2024; Accepted: July 10, 2024; Published: August 27, 2024
Copyright: © 2024 Wang et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: The data underlying the results presented in the study are available from (DOI:10.1029/2021jb022532).
Funding: 1. The National Natural Science Foundation of China (Grant No. 52074088, Grant No. 52174022). 2. Heilongjiang Province postdoctoral Research initiation project (LBH-Q21086). 3. ‘Open bidding for selecting the best candidates’ Heilongjiang Province Science and Technology Research Project (DQYT-2022-JS-758). 4. Special Project of Northeast Petroleum University Characteristic Domain Team (2022TSTD-03). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: We declare that we have no financial and personal relationships with other people or organizations that can inappropriately influence our work, there is no professional or other personal interest of any nature or kind in any product, service and company that could be construed as influencing the position presented in, or the review of, the manuscript entitled.
Introduction
Rock type identification has always been an important topic of research in the fields of geology and resource extraction. Accurate identification of rock information can provide critical data support for geologic analysis, resource assessment, and extraction strategies [1–3], which can not only help to predict subsurface structure [4] and resource distribution [5], but also improve the efficiency of exploration and development, and reduce the risk and cost. Application techniques related to rock type identification include resource assessment, stratigraphic analysis, drilling strategy development [6–8], and reservoir characterization [9], mining technology selection and environmental protection etcetera [10–12]. Therefore, accurately identifying and analyzing the rock structural composition is crucial to effectively develop oil and gas strategies that optimize resource production.
There are many data tools for rock structural analysis, including traditional physical measurements and image-based processing methods, such as electron microscope scanning technology [13], computed tomography (CT) scanner [14], infrared remote sensing [15], numerical simulation [16], electrical impedance [17], rock images [18] and acoustic emission signals (AE) [19] etcetera. Researchers have conducted a series of studies combining various data tools. Shehata, Amer A et al. utilized an artificial neural network (ANN) in combination with core and borehole image data, logging data to identify five rock phases, and clarified the specific parameters that contribute to rock phase identification [20]. Liu, Haiqiang et al. propose a novel hybrid attention semantic segmentation (HASS) network for semantic segmentation of martian terrain rocks for Mars rover route planning and autonomous navigation [21]. These methods of using images to identify rocks may have limitations for structures deep in the earth. As AE measurement instruments become increasingly sophisticated, scholars begun to use AE to explore areas that are visually unreachable [22, 23]. AE refers to the generation of transient elastic waves due to the rapid release of localized energy in a material or structure. For instance, Lee, Choi. et al. proposed an AE processing method based on the Hilbert Huang transform (HHT), and the processed AE can be combined with signal parameters (AESP) to jointly identify rock fracture deformation stages [24]. Zhang et al. utilized short-time Fourier transform (STFT) to analyze the acoustic emission signal and obtain the peak frequency of the signal and used the fuzzy C-means method to classify the four types of acoustic emission signals [25]. These primitive AE processing methods are in urgent need of scientific and technological innovation at the present time, its susceptibility to noise interference, limited processing samples, low accuracy, slow speed, high operating costs and other shortcomings make it difficult to sustain the development. Rock structure identification based on traditional acoustic emission signal analysis methods still dominates, but these methods are gradually becoming auxiliary and are clearly unable to meet the growing engineering demand for high efficiency and high precision. At present, various engineering fields are facing the massive influx of sensor data from job platforms, which is increasing the demand for intelligent signal processing [26, 27]. Certain fundamental artificial intelligence algorithms are steadily gaining popularity, including support vector machines (SVMs) [28], convolutional neural networks (CNNs) [29], and generating adversarial networks (GANs) [30] and so on. The application of intelligent methods greatly improves the recognition efficiency and accuracy while also providing time and labor savings. Such as Byun, H. et al. proposed a method that employs a deep CNN to segment rock crack images, achieving effective recognition by effectively distinguishing cracks from various interference features [31]. However, AE is an unstructured continuous time sequence [32], rock fracture identification requires the determination of more parameters than just images, which result in multimodal data [33]. The recognition of rock activity processes based on AE signals entails analyzing the intricate features of material movement.
Summarize the changes from traditional methods to intelligent methods mentioned above, there are three challenges that require attention: (1) The risk of overfitting when dealing with strongly noisy data. (2) The problem of recognition accuracy, the robustness of the model. (3) Experimental uncertainty leads to unbalanced sample sizes for different categories and scarce labeling data. Given these considerations, we propose a novel method for recognizing rock fracturing acoustic emission signals using a combination of CNNs. Currently, there have been many researches around transformer, but most of them are focused on processing machine language [34, 35] or visual images [36, 37], and there is no method to apply CNNs combined with transformer encoder to rock fracturing AE recognition.
To address these challenges and improve the identification of rock fracture types, this study introduces a computational model called 3CTNet. To tackle the overfitting issues and sample imbalance problems associated with noisy data, the raw data are first wavelet denoised [27]. Solving the problem of imbalanced samples, five data oversampling methods were compared, including random process sampling [29], ADASYN [30], synthetic minority oversampling technique (SMOTE) [31], SVM-SMOTE and Kmeans-SMOTE [32]. Then, the AE are processed using the ADASYN oversampling for the first time, enhancing both the internal features of the data and the distinguishing features between different classes. To enhance the robustness of the model, we conbined CNNs with a transformer encoder and reconstructed the position encoding module. This combination allows the model to extract local features and capture global connections within the data. Additionally, the model employs Dropout, which randomly drops some neurons during the training process to prevent overfitting. For the validation of the new model, we carried out ablation experiments within the model and comparison experiments between the models, and quantitatively analyzed the effects of noise changes and data sample size changes on the robustness of the model, and finally concluded that the model’s recognition accuracy reaches 98.78%, and has good robustness to changes in noise and sample size.
In the following article, the proposed model describes in detail the CNNs part and transformer encoder part of the model as well as the overall architecture and detailed parameters. Method describes the data processing and the rock mechanics analysis based on the AE. Experiments describes the overall implementation process of the architecture, the model comparison experiments and model evaluation indexes. Results and discussion describes the review of the experiments and the analysis and discussion of the results, and Conlusion is the summary of the overall study.
Proposed model
This section introduces the relevant modules proposed for the AE processing model. The model comprises three sequential convolution modules and a transformer module, leveraging fracturing AE signals for rock type identification. In this study, the proposed model separates the position encoding module of the transformer encoder from the multihead attention module. Initially, position encoding is applied to the original input data, mapping the discrete data representation into a continuous vector space. Subsequently, convolutional feature extraction is conducted on the output information pertaining to the mark’s relative position. These extracted high-level features are then input into the multihead attention layer for rock type classification. This model, termed 3CTNet, is introduced as part of our contributions.
Feature extraction by CNN
To extract high-level representations from AE signals, a CNN module comprising three convolutional layers is utilized for low-level feature extraction. This module consists of three CNNs connected sequentially. Following the addition of positional encoding to each time point record of the original AE signal, discrete time series are transformed into dense embedding vector representations. These representations are then fed into a three-layer concatenated CNNs with filters (64) and kernel_size (64x1) with a stride of 64, filters (128) and kernel_size (16x1) with a stride of 1, and filters (16) and kernel_size (16x1) with a stride of 1. Additionally, a dropout rate of 30% is applied to each layer to mitigate overfitting, and the rectified linear unit (ReLU) [38] activation function is used, defined as yi = max(0,xi). The softmax output of the classifier calculation is , where n denotes the number of inputs to the neuron. Finally, maximum pooling (MaxPooling) is applied to reduce the feature size, which aids in alleviating model overfitting. The convolutional layer’s operation on the input signal is illustrated in (Fig 1).
Multihead attention encoder
The utilization of convolutional layer-based transformers is inspired by the success of transformers and their variants in audio signal processing applications [39, 40]. Given the similarity between audio signals and AE signals, the transformer is applied to AE signal recognition. However, transformers typically exhibit high computational complexity. When dealing with time-series data at the basic unit level, significant computing resources are consumed. To address this challenge, a CNN is employed to extract detailed features and preprocess the data before inputting it into the transformer. This approach ensures optimal utilization of the transformer’s advanced computational capabilities.
After traversing the convolutional layer, the output xα size is 2x256. The processed input then undergoes further refinement through the multihead attention layer, followed by weight adjustment via layer normalization and residual connections. Additionally, a feedforward neural network is introduced between the multihead attention layer and the normalization layer. In this configuration, two fully connected layers are utilized to nonlinearly transform the output from the attention module. The constructed encoder architecture is illustrated in (Fig 2).
For multihead attention modules, linearly project the query , key
and value
m times with different linear projections. Here, m is the number of heads:
(1)
(2)
(3)
where
are trainable parameters. Here, assuming dm as the output feature dimension.
On each of these projected versions of queries , keys
and values
Next, the dot-product attention is performed in parallel, and the outputs of the attention functions, denoted as headi, i∈[1,m], are concatenated to obtain the final values Hhead, which are computed as follows:
(4)
If the original input signal X is segmented into n segments, each segment undergoes linear transformations separately. Subsequently, the aforementioned steps are executed independently for each segment. Finally, the transformed segments are concatenated to form a complete sequence with the same dimensionality. This process embodies the execution of the multihead attention mechanism:
(5)
where
Therefore, the sequence length of the outputs Hhead is equal to the sequence length of the query Q.
Model structure
For the data (T is the sequence length, d is the embedding dimension), positional embedding was used to add information to each position of the sequence so that the model could capture the sequential relationship in the sequence, expressed as:
(6)
where pos was employed to denote the position within the input sequence, with a range of [1, T], and i represented the index of the embedded dimension, with a range of [0, d]. This process involved generating various periodic patterns using sine and cosine functions, and subsequently combining these patterns to generate a code corresponding to a specific position within the input sequence. Subsequently, the position code was incorporated into the input sequence to embed positional information. This process is mathematically represented as follows:
(7)
where Input is the original input matrix and Pos_emb is the positional embedding. After that, Output = X′∈ℝT×d. When the data reached the CNN blocks, convolve X′ with kernel k in width and height, used ReLU to activate the neurons to obtain the output y:
(8)
Regularize the output y and randomly discard 30% of the neurons, which is expressed as:
(9)
where E is a binary mask matrix with the same shape as the input y, and p is the discard probability. Then, these features were passed to the max-pooling layer, the most popular max-pooling operation that divides the input into nonoverlapping parts and obtains the highest gain from each relevant region. The proposed model went through 3 described blocks and finally reached the encoder. Assuming that the arrival sequence is Y∈ℝT×d, the encoding process is expressed as:
(10)
(11)
(12)
(13)
(14)
(15)
where FFN is a feedforward neural network and obtains Output = Z∈ℝT×d after encoding. Then, batch normalization was performed on Z, followed by global average pooling to reduce the number of parameters:
(16)
Zijk represents the i-th channel, j-th row, and k-th column element of the input feature matrix. Z represents the i-th feature channel of the output and was sent to two fully connected layers for classification. Then, softmax was used for activation:
(17)
softmax(Z)i represents the probability of the i-th category, and C represents the number of categories. In this manner, after fully connected layers and softmax activation, the model output can be expressed as a probability distribution for each category. The detailed model architecture is illustrated in (Fig 3).
The number of layers, convolution kernel size, pooling kernel size, and stride were fine-tuned in the model through iterative trials. The specific parameters of the model are presented in Table 1.
Method
Data preprocessing
Datasets and statistical characteristics.
The AE data processed for the experiments were obtained from the Brazilian splitting tests conducted by Song et al. [41] on six sets of rock samples prepared in the laboratory. These specimens comprised three types of natural rocks with different mineral compositions and moduli of elasticity: dolomite (mainly composed of dolomite and calcite) (dl), sandstone (mainly composed of quartz and feldspar) (ss) and shale (mainly composed of quartz, kaolinite and pyrite) (sh). Three types of artificial rocks with different particle contents, pure cement (pc), cement and sand (1:1) (cs:1) and cement and sand (2:1) (cs2:1), formed rock-like concrete, and data visualization is shown in (Fig 4). Subsequently, the interquartile range (IQR) was employed to analyze the statistical characteristics of the dataset and observe its distribution shape, as depicted in (Fig 5). The IQR was compared with the full range (difference between maximum and minimum values) (FRD) of the data to glean information regarding the degree of data dispersion, as illustrated in (Fig 6). It is evident that the overall characteristics of the dataset exhibit a small IQR but a large FRD, indicating that the data are concentrated in the middle area with notable outliers or abnormal values, considerable overall variation, and uneven distribution.
The tests were conducted by treating each of the six specimens as a disk with a thickness-to-diameter ratio of 1:2. To collect the AE data released by each specimen after Brazilian splitting, eight AE transducers were placed on the surface of each disk specimen, three on the front and back sides and two on the sides. Following the operating principles of the sensors and the rock fracture mechanism, AE data were collected from the fracture of the six rock specimens. Each dataset comprises signal amplitudes measured at 1024 consecutive time points.
Wavelet threshold denoising.
To mitigate noise in the original AE signal, wavelet threshold denoising was utilized. This method involves separating the low-frequency and high-frequency signals and then effectively processing the high-frequency signals to isolate noise from the main information, thus preserving important features. The wavelet transform is a well-suited approach for signal and image denoising, characterized by its ability to efficiently capture both temporal and frequency-domain information. The principle of the wavelet transform can be succinctly expressed as follows:
(18)
where the wavelet basis functions are:
(19)
The study employs the Daubechies 4 (db4) wavelet basis function for the denoising process. The selection of the 4th order wavelet basis function was made after comparing it with other order wavelet functions. It was observed that the db4 function effectively preserves crucial signal information while efficiently filtering out noise. Through the application of this denoising technique, clean AE signal data are obtained, minimizing any potential impact on the accuracy of the model training.
ADASYN oversampling.
The acquired dataset, influenced by the physical properties of the rock and various factors during testing, is unevenly distributed. This uneven distribution has led to poor detection results for certain classes of samples, thereby affecting the overall recognition accuracy of the model [42]. To address this issue, the dataset was processed by filtering out the more disturbed data from the six sample classes. Subsequently, five data oversampling methods were validated: random process sampling, ADASYN, SMOTE, SVM-SMOTE, and Kmeans-SMOTE. It was found that when the model was trained on the dataset obtained using the ADASYN oversampling method, it achieved better fitting and higher recognition accuracy on a real test dataset. The ADASYN oversampling method accomplished two critical objectives: it mitigated the learning bias introduced by the initial data imbalance and dynamically adjusted the decision boundary to prioritize challenging-to-learn samples [43].
For the ADASYN sampling method, suppose the AE training dataset has m samples: {xi, yi}, (i = 1,2,3,…,m) where xi is an instance in the n-dimensional feature space X, yi∈Y = {1,−1} is the category label associated with xi, and ms and ml are defined as the number of minority samples and the number of majority samples, respectively. Then, it follows that ms≤ml and ms+ml = m. The specific implementation process of the ADASYN algorithm:
1) Calculate the degree of category imbalance:
(20)
where d∈[0,1].
2) if d<dth (dth is a preset threshold for the maximum tolerated degree of class imbalance ratio) then:
(a) Calculate the number of synthetic samples that need to be generated for the minority class:
(21)
where β∈[0, 1] is used to specify the expected balance level of the dataset after synthesizing the data. β = 1 means a fully balanced dataset is created after the generalization process.
(b) For each sample xi∈minorityclass, ind the K nearest neighbors based on Euclidean distances in n-dimensional space and compute the ratio ri, defined as:
(22)
where Δi is the number of samples belonging to the majority class among the K nearest-neighbor samples of xi; hence, ri∈[0,1];
(c) Normalize ri according to , so that
is a density distribution (
);
(d) Calculate the sample size of synthetic data needed for each minority class sample xi:
(23)
where G is the total number of data samples to be synthesized for the minority class defined in Eq (8);
(e) For each minority sample, example xi generates gi synthetic sample examples according to the following steps:
Perform a loop from 1 to gi:
(i) Randomly select a minority sample example xzi from the K nearest neighbor samples of the data xi.
(ii) Generate a synthetic sample example:
(24)
where (xzi−xi) is the difference vector in n−dimensional space, λ∈[0,1], and finally ends the loop [43].
Here, for a better understanding of ADASYN, calculate the degree of imbalance d for each category of imbalance first, then elect the category with the highest degree of imbalance from all imbalanced categories and calculate K nearest samples for each sample using Euclidean distance. Calculate the imbalance ratio for each minority category sample ri and determine the number of gi to be synthesized. Create composite samples using random interpolation or other methods between a few category samples and their K-nearest neighbor samples, then merge the synthesized samples with a few category samples from the original dataset to create a new balanced dataset. This process is repeated until all categories of the dataset are balanced.
The ADASYN oversampled dataset not only achieves a balanced representation of the data distribution but also forces the learning algorithm to focus on sample classes that are difficult to learn features from. After filtering out data with obvious interference from the original dataset, the ADASYN oversampling method was selected to address the dataset imbalance.This resulted in a dataset with a reasonable sample size and a uniform data distribution, as depicted in (Fig 7). Finally, the total data samples were divided in an 8 : 2 (train : test) ratio for input into the model for training.
(a) Dataset distribution before oversampling. (b) Dataset distribution after oversampling.
Rock mechanics analysis based on AE
The Brazilian split test induces a tensile stress perpendicular to the vertical diameter that is essentially constant in the area around the center of the specimen [44], The crack stress state under the Brazilian splitting test is shown in (Fig 8). Indirect tensile strength is usually calculated based on the assumption that failure occurs at the point of maximum tensile stress, i.e., the center of the disc. The calculation formula of Brazilian split tensile strength σt (MPa) is expressed as:
(25)
where P represents the load at failure, D is the diameter of the specimen, and t is the thickness of the specimen measured at the center point [45].
The AE signal used in this study originates from the elastic waves released from multi-scale cracks in rock materials after being subjected to Brazilian cleavage loading. At different stages of rock fracture, the AE signal will exhibit different waveform characteristics. According to existing research and analysis [46, 47], the whole process of rock fracture can be defined as five stages: (1) crack closure stage (2) linear elastic stage (3) crack initiation threshold and stable crack development stage (4) critical energy release and unstable crack development stage (5) rupture and post-peak stage. When a rock receives external force, tiny cracks released at different stages will form inside or on the surface of the rock and release weak acoustic signals. When the stress reaches the critical point of material rupture, the cracks accelerate and expand, thereby generating more AE signals. The quantity and characteristic intensity of these signals can determine whether cracks have occurred. Rock samples with different chemical compositions have different physical properties, so fracturing tests on different samples will result in AE signals with different characteristics. Finally, the rupture modes corresponding to different types of specimens can be inferred from the AE signals, and provide a data basis for feature training of deep learning.
Experiments
Workflow
This study presents a workflow framework for rock type recognition based on acoustic emission (AE) signals, as depicted in (Fig 9). The framework comprises three main components: data preprocessing, CNN feature extraction, and a transformer encoder. The data preprocessing involves denoising and standardization. Denoising is performed using wavelet thresholding with the db4 wavelet basis function to reduce noise in the original signal. Specifically, the soft thresholding (IST) method is employed, where wavelet coefficients smaller than 3 x σ are set to zero, and larger coefficients undergo special treatment, resulting in a smoother denoised signal that effectively filters out subtle noises. Following denoising, standardization is applied using the StandardScaler method. This method scales the data to a normal distribution with a mean of 0 and a standard deviation of 1, ensuring that all sample features are on the same scale. This is advantageous for classification problems requiring distance-based similarity measurements, where the StandardScaler method has demonstrated superior performance.
To address dataset imbalances, the ADASYN oversampling method is employed post-denoising to further balance the data distribution. This prepares the data for deep learning model training and testing. Following continuous fine-tuning, the feature extraction component establishes an optimal structure using a three-layer CNN. Each layer applies the ReLU activation function for nonlinear transformation of input information, which is then passed to the next layer. To enhance model generalization, a dropout layer follows each convolutional layer, selectively deactivating neurons. Additionally, a MaxPooling layer is included to further improve generalization capabilities.
The final architecture connects the output of the CNN feature extraction to a transformer encoder and subsequently to the classification layer. The transformer encoder segments the input sequence, assigning weight information to critical feature regions in each segment to enhance the model’s focus on key features. This structure facilitates efficient recognition by the final classification layer for each type of rock based on AE signals, providing both individual class recognition accuracy and overall model accuracy.
Model training and comparative experiment
Ablation experiment.
The groups of models for which the ablation experiments were performed were first identified based on the structural features of the proposed models as one layers of CNN, two layers of CNNs, four layers of CNNs, six layers of CNNs, two layers of encoder in series, two layers of encoder in parallel, three layers of encoder in series. The hyperparameters of the model were determined by comparison experiments, and the experimental data are shown in Table 2. The denoised data only were input into the above model for recognition comparison respectively, the comparison accuracy of the model is shown in Table 3, and the training loss curve is shown in (Fig 10).
(a) Convolutional layer comparison. (b) Encoder layer comparison.
From tables and loss curves obtained from the experiments, determined the optimal hyperparameter collocation for learning rate is 1.8e-4, batch size is 128, and number of epochs is 1000. Meanwhile, it is evident that utilizing only a single layer of CNN within the model results in a relatively simple architecture that converges quickly, but does not achieve optimal final convergence. To balance computational resource constraints with model performance, a three-layer CNNs configuration was found to offer the best convergence. By adjusting the structure of the transfomer encoder collocation, it is finally determined that the effect of using one layer of encoder is optimal, so it can be concluded that for the original denoised data, our proposed model 3CTNet has the optimal recognition effect.
Data augmentation experiment.
The confusion matrix is a valuable tool for visualizing and evaluating the performance of a classification model. It displays the true class labels in the rows and the predicted class labels in the columns, providing four key metrics to assess the model’s predictions against the true classes, as shown in Table 4. True positive (TP) represents the model correctly predicts positive examples as positive examples. True negative (TN) represents the model correctly predicts negative examples as negative examples. False positive (FP) represents the model incorrectly predicts negative examples as positive examples. False negative (FN) represents the model incorrectly predicts positive examples as negative examples.
These metrics allow for a comprehensive evaluation of the model’s performance in terms of both correct and incorrect predictions.
The accuracy is obtained by dividing the sum of true and true negative values by the sum of positive and negative values in Eq (26), the precision is obtained by dividing the true value by the sum of true and false positive values in Eq (27), and the recall is obtained by dividing the sum of all true values by the sum of all true values and false negative values:
(26)
(27)
(28)
The f1-score evaluation metric, which consists of precision and recall, is a harmonic mean between precision and recall in the evaluation process and can be more useful when dealing with datasets with a large number of categories [48]:
(29)
The initial recognition accuracy achieved by training the new model with denoised data is 90.15±0.55(%). Subsequently five data enhancement methods including Kmeans-SMOTE, SVM-SMOTE, SMOTE, random process sampling and ADASYN were compared respectively.And our model was used to process six sets of data including the raw data.The experimental comparison confusion matrix is shown in (Fig 11) and the detailed parameters of model and dataset evaluation are shown in Table 5. In the confusion matrix, the diagonal lines indicate the recognition accuracy of the various AE signals, with darker colours indicating higher accuracies.
(a) Original dataset. (b) Kmeans-SMOTE oversampling dataset. (c) SVM-SMOTE Oversampling dataset. (d) SMOTE Oversampling dataset. (e) Random process sampling dataset. (f) ADASYN Oversampling dataset.
The model recognition accuracy increased to 94.257%, 96.801%, 96.203%, 97.652% and 98.876% respectively for the data processed by the five data enhancement methods. Among those methods, ADASYN demonstrated the highest performance, achieving a recognition accuracy about 98.876%. Based on the comparison of the results, the ADASYN oversampling method was ultimately selected as the most suitable approach for balancing the rock AE dataset, as it resulted in the highest recognition accuracy.
Table 5 contains the parameters of accuracy, precision, recall, f1-score, etc. Finally, as we can see, after ADASYN processing of the dataset and inputting the model for recognition, the precision, recall, and f1-score of four specimens of dl, pc, sh ss reached 100%, and the evaluation indicators of other two samples reached almost 100%. By analyzing these evaluation indicators, we can conclude that the constructed model of ADASYN data process exhibits superior recognition performance.
Model performance and evaluation.
To highlight the recognition advantages of our proposed model, 3CTNet, has been validated through comparison with other models, including pure CNN, Transformer, CNN-SENet, LSTM, and GRU. The comparative accuracy and loss curves for the model are shown in (Fig 12). The results showed that 3CTNet exhibited rapid improvement in recognition accuracy within the first 200 epochs, eventually reaching a high and stable level. Loss curve converged quickly and reached a stable and low loss rate. Then, we used the datasets obtained from each of the five data enhancement methods to verify the performance of the comparison models, and the experimental results are shown in Table 6. The proposed model achieves an accuracy of 98.876% in recognising the data processed by the ADASYN method, compared to 92.596% for CNN, 96.527% for Transformer, 93.859 for LSTM, 93.698 for GRU, and 89.999% for CNN-SENet. Based on these comparative tests, it can be concluded that the proposed model structure, 3CTNet, demonstrates significant recognition advantages over the other models, and the ADASYN data processing method has a good feature enhancement effect.
(a) Accuracy of multiple model comparison. (b) Loss of multiple model comparison.
The recognition accuracy of the validated model under noise interference with different signal-to-noise ratios (SNR) is illustrated in (Fig 13), where the noise gradually decreases and the signal quality gradually increases as the SNR rises. Compared with other models, 3CTNet still shows better recognition accuracy under high noise interference. Therefore, in a strong noise environment, the deep Transformer model 3CTNet can well mitigate the sensitivity to noise, with higher noise resistance and feature learning ability.
Results and discussion
All results are from a series of experiments carried out in the laboratory with measured AE signals. The sample size of the dataset used here is appropriate for the parameters of the chosen model, and may require further adjustment if models with more complex architectures and larger numbers of parameters are used. Overall, analyzing the above experimental procedure, the rupture process of the rock specimen under Brazilian splitting conditions can be divided into five stages, and the AE energy signals released at each stage with distinctive features can be effectively recognized by the Deep Transformer model and achieve a high recognition accuracy.
The AE signals obtained from the laboratory were processed using wavelet thresholding for noise reduction and oversampling and then used as input data for the deep learning network model. This study emphasizes the significance of the model’s ability to capture long-term dependencies, considering both the historical and future context of the AE process. Understanding the long-term contextual information in the AE signal is crucial, and the stress state of reservoir rock cracks can help determine the direction of crack expansion and guide project construction, thereby improving energy extraction efficiency. It should be noted that the deep learning model for rock type recognition based on AE signals is just a tool, and its application in reservoir research is the primary focus of our research group. Future studies will concentrate on the utilization of AE signals in reservoir evaluation and diagenesis, aiming to develop a set of quantitative and accurate reservoir application methods based on intelligent processing of AE signals.
Conclusion
This study proposed a new multimodal called 3CTNet for recognizing different AE signals released from six types of rock fracturing experiments. This is the first attempt to apply a variant of the transformer to rock fracturing AE signal recognition. The model establishes relationships within and between modalities based on the five stages of AE signal generation and utilizes oversampled datasets. Experimental results on the comparative dataset demonstrate the effectiveness of 3CTNet. Through a series of experiments and comparative data analysis, the following conclusions can be drawn:
Firstly, experiments were conducted on five data oversampling methods for AE data, and found that high-quality datasets provide a solid foundation for accurate rock type recognition using intelligent models. Among the five oversampling methods, the ADASYN method maximizes the recognition accuracy of the model, with results surpassing the other five methods by 1.8% to 8.8%.
Secondly, a deep transformer model named 3CTNet was innovatively developed, specifically designed to efficiently recognize rock types based on AE signals.The model achieves a recognition accuracy of 98.78% on the oversampled dataset. This innovative application of a deep convolutional transformer model to multimodal AE signal recognition for rock types demonstrates the feasibility and effectiveness of the proposed model architecture.
Furthermore, the ADASYN oversampling method plays a significant role in expanding and balancing the AE signal dataset. The proposed method was the first to identify rock types based on AE signals with a transformer and set a new record. This provides a reference for further research on the embedded recognition system of rock fracturing AE signals in the future. Research based on the embedded system of rock fracturing AE signals will provide convenience for resource explorers’ field operations.
The current study relies on data collected within a controlled laboratory environment. Moving forward, the research will shift its focus towards exploring the diversity of AE data in real-world settings. Future investigations will involve capturing AE signals directly from engineering sites, aiming to enhance the efficiency of rock type identification by incorporating additional parameters. Leveraging the strengths of deep learning algorithms and advancements in computer hardware, the research aims to propel its development towards embedded applications. This approach will facilitate the identification of rock types in offline engineering sites, offering increased convenience and practicality.
Acknowledgments
We express our gratitude to any funding institutions, departments, or individuals who have provided assistance in the project.
References
- 1. Yan T., et al., A real-time intelligent lithology identification method based on a dynamic felling strategy weighted random forest algorithm. Petroleum Science, 2024. 21(2): p. 1135–1148.
- 2. Li Q.H., et al., An image recognition method for the deformation area of open-pit rock slopes under variable rainfall. Measurement, 2022. 188: p. 17.
- 3. Celik E. and Gul M., Hazard identification, risk assessment and control for dam construction safety using an integrated BWM and MARCOS approach under interval type-2 fuzzy sets environment. Automation in Construction, 2021. 127: p. 12.
- 4. Li N., et al., Predicting rock displacement in underground mines using improved machine learning-based models. Measurement, 2022. 188: p. 18.
- 5. Dong H.M., et al., A novel hybrid method for gas hydrate filling modes identification via digital rock. Marine and Petroleum Geology, 2020. 115: p. 13.
- 6. Haque S., et al., Identification of groundwater resource zone in the active tectonic region of Himalaya through earth observatory techniques. Groundwater for Sustainable Development, 2020. 10: p. 14.
- 7. Zhao C.H., et al., Sequence Stratigraphic Analysis of the Volcanic Rock-Evaporite-Clastic Rock Symbiotic Zone in the Fourth Member of the Shahejie Formation in the South of Laizhou Bay. Applied Sciences-Basel, 2024. 14(2): p. 25.
- 8. Vezhapparambu V.S., Eidsvik J., and Ellefmo S.L., Rock Classification Using Multivariate Analysis of Measurement While Drilling Data: Towards a Better Sampling Strategy. Minerals, 2018. 8(9): p. 23.
- 9. Hu C., et al., A new Siamese CNN model for calculating average reservoir pressure through surface vertical deformation. Geomechanics and Geophysics for Geo-Energy and Geo-Resources, 2022. 8(6): p. 1–13.
- 10. Aliakbardoust E. and Rahimpour-Bonab H., Integration of rock typing methods for carbonate reservoir characterization. Journal of Geophysics and Engineering, 2013. 10(5): p. 11.
- 11. Hoseinie S.H., Ghorbani S., and Ghodrat B., Selection of suitable drilling method in razgah nepheline syenite mine, a systematic approach. Eurasian Mining, 2020(1): p. 56–60.
- 12. Zhong W., et al., Ecological Taxonomy of Hydropower Rock High Slope and Its Environmental Application in Southwest China. Ekoloji, 2018. 27(106): p. 1417–1426.
- 13. Liu Z.L., Ma C.D., and Wei X.A., Electron scanning characteristics of rock materials under different loading methods: a review. Geomechanics and Geophysics for Geo-Energy and Geo-Resources, 2022. 8(2): p. 27.
- 14. Sun X.K., et al., Study on the progressive fracturing in soil and rock mixture under uniaxial compression conditions by CT scanning. Engineering Geology, 2020. 279: p. 9.
- 15. Huang J.W., et al., Experimental Study on the Thermal Infrared Spectral Variation of Fractured Rock. Remote Sensing, 2021. 13(6): p. 17.
- 16. Pressacco M., Kangas J.J., and Saksala T., Numerical modelling of microwave heating assisted rock fracture. Rock Mechanics and Rock Engineering, 2022: p. 1–23.
- 17. Das A.K. and Leung C.K.Y., A strategy for in situ determination of self-healing state for strain hardening cementitious composites. Cement & Concrete Composites, 2020. 112: p. 12.
- 18. Xiao X.M., et al., A Kernel-Based Multi-Featured Rock Modeling and Detection Framework for a Mars Rover. Ieee Transactions on Neural Networks and Learning Systems, 2023. 34(7): p. 3335–3344. pmid:34890338
- 19. Zhao W., et al., Experimental exploration of damage propagation in rocks using acoustic emission. Geomechanics and Geophysics for Geo-Energy and Geo-Resources, 2021. 80(8): p. 1–11.
- 20. Shehata A.A., Osman O.A., and Nabawy B.S., Neural network application to petrophysical and lithofacies analysis based on multi-scale data: an integrated study using conventional well log, core and borehole image data. Journal of natural gas science and engineering, 2021. 93: p. 104015.
- 21. Liu H.Q., et al., A hybrid attention semantic segmentation network for unstructured terrain on Mars. Acta Astronautica, 2023. 204: p. 492–499.
- 22. Zhang H., et al., Acoustic emission characteristics of different brittle rocks and its application in brittleness evaluation. Geomechanics and Geophysics for Geo-Energy and Geo-Resources, 2021. 7(2): p. 1–14.
- 23. Zhao W., et al., Experimental exploration of damage propagation in rocks using acoustic emission. Bulletin of Engineering Geology and the Environment, 2021. 80(8): p. 1–11.
- 24. Lee J.M., Choi Y., and Lee J.R., Laser structural training, artificial intelligence-based acoustic emission localization and structural/noise signal distinguishment in a thick FCEV fuel tank. International Journal of Hydrogen Energy, 2022. 47(6): p. 4236–4254.
- 25. Zhang J., et al., Monitoring Rock Failure Processes Using the Hilbert-Huang Transform of Acoustic Emission Signals. Rock Mechanics and Rock Engineering, 2016. 49(2): p. 427–442.
- 26. Mustapha S., et al., Sensor Networks for Structures Health Monitoring: Placement, Implementations, and Challenges-A Review. Vibration, 2021. 4(3): p. 551–585.
- 27. Bocu R., Bocu D., and Iavich M., An Extended Review Concerning the Relevance of Deep Learning and Privacy Techniques for Data-Driven Soft Sensors. Sensors, 2023. 23(1): p. 31.
- 28. Otchere D.A., et al., Application of supervised machine learning paradigms in the prediction of petroleum reservoir properties: Comparative analysis of ANN and SVM models. Journal of Petroleum Science and Engineering, 2021. 200: p. 108182.
- 29. Zhang Z., A physics-informed deep convolutional neural network for simulating and predicting transient Darcy flows in heterogeneous reservoirs without labeled data. Journal of Petroleum Science and Engineering, 2022. 211: p. 11.
- 30. Abarkane C., et al., Acoustic emission as a reliable technique for filiform corrosion monitoring on coated AA7075-T6: Tailored data processing. Corrosion Science, 2023. 214: p. 14.
- 31. Byun H., et al., A deep convolutional neural network for rock fracture image segmentation. Earth Science Informatics, 2021. 14(4): p. 1937–1951.
- 32. Lynn H.M., Pan S.B., and Kim P., A Deep Bidirectional GRU Network Model for Biometric Electrocardiogram Classification Based on Recurrent Neural Networks. Ieee Access, 2019. 7: p. 145395–145405.
- 33. Al Alkeem E., et al., Robust Deep Identification using ECG and Multimodal Biometrics for Industrial Internet of Things. Ad Hoc Networks, 2021. 121: p. 13.
- 34. Wolf T., et al. Transformers: State-of-the-Art Natural Language Processing. in Proceedings of the 2020 conference on empirical methods in natural language processing: system demonstrations. 2020. Electr Network: Assoc Computational Linguistics-Acl.
- 35. Peer D., et al., Greedy-layer pruning: Speeding up transformer models for natural language processing. Pattern Recognition Letters, 2022. 157: p. 76–82.
- 36. Liu H.Q., et al., RockFormer: A U-Shaped Transformer Network for Martian Rock Segmentation. Ieee Transactions on Geoscience and Remote Sensing, 2023. 61: p. 16.
- 37. Liu H.Q., et al., MarsScapes and UDAFormer: A Panorama Dataset and a Transformer-Based Unsupervised Domain Adaptation Framework for Martian Terrain Segmentation. Ieee Transactions on Geoscience and Remote Sensing, 2024. 62: p. 17.
- 38. Glorot X., Bordes A., and Bengio Y. Deep sparse rectifier neural networks. in Proceedings of the fourteenth international conference on artificial intelligence and statistics. 2011. JMLR Workshop and Conference Proceedings.
- 39. Wang Y., et al. Learning Mutual Correlation in Multimodal Transformer for Speech Emotion Recognition. in Interspeech. 2021.
- 40. Wang X., et al. A novel end-to-end speech emotion recognition network with stacked transformer layers. in ICASSP 2021-2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). 2021. IEEE.
- 41. Song Z.L., et al., Identifying the Types of Loading Mode for Rock Fracture via Convolutional Neural Networks. Journal of Geophysical Research-Solid Earth, 2022. 127(2): p. 16.
- 42. Cao H., et al., Integrated Oversampling for Imbalanced Time Series Classification. Ieee Transactions on Knowledge and Data Engineering, 2013. 25(12): p. 2809–2822.
- 43. He H., et al. ADASYN: Adaptive synthetic sampling approach for imbalanced learning. in 2008 IEEE international joint conference on neural networks (IEEE world congress on computational intelligence). 2008. Ieee.
- 44. Li D.Y. and Wong L.N.Y., The Brazilian Disc Test for Rock Mechanics Applications: Review and New Insights. Rock Mechanics and Rock Engineering, 2013. 46(2): p. 269–287.
- 45.
D, A., 3967, Standard Test Method for Splitting Tensile Strength of Intact Rock Core Specimens. ASTM International, West Conshohocken, PA.
- 46. Bieniawski Z. Mechanism of brittle rock fracture: Part 1-Theory of the fracture process. in International Journal of Rock Mechanics and Mining Sciences & Geomechanical Abstracts. 1967.
- 47. Diederichs M., Kaiser P., and Eberhardt E., Damage initiation and propagation in hard rock during tunnelling and the influence of near-face stress rotation. International Journal of Rock Mechanics and Mining Sciences, 2004. 41(5): p. 785–812.
- 48. Caelen O., A Bayesian interpretation of the confusion matrix. Annals of Mathematics and Artificial Intelligence, 2017. 81(3): p. 429–450.