EDNTOM: An Ensemble Learning and Weight Mechanism-Based Nanopore Methylation Detection Tool
수소연료전지 · (6) PEM(고분자전해질막)
기본 정보
- 저자
- DOI
- 10.1021/acsomega.5c01924
- 저널
- ACS Omega
- 발행년도
- 2025
- 발행기관
- American Chemical Society
- 피인용수
- 0
- 라이선스
- cc-by-nc-nd
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1021/acsomega.5c01924
- 토픽
- Fuel Cells and Related Materials
- OpenAlex ID
- W4412585999
평가 내용
- 관련도
- 사업분야
- 수소연료전지 · (6) PEM(고분자전해질막)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '수소연료전지 > PEM(고분자전해질막)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 64,716자
본문 펼치기
섹션 본문 83문단 · 37,654자
(제목 없음)
1DNA methylation is an epigenetic modification that plays a crucial role in genome stability and cellular specialization, essential for maintaining normal cellular function and development, also a manifestation indicator of some diseases.Various tools have been proposed for methylation detection, typically leveraging a third-generation sequencing technology called nanopore sequencing, which provides more accurate DNA sequencing data.However, existing tools have their own limitations and advantages in terms of computational resources and information processing, without achieving a good balance.In this situation, we developed EDNTOM (Ensemble Deep Network Tool Of Methylation), a DNA methylation detection tool based on deep learning technology.We employed ensemble learning techniques, integrating predictions from multiple pretrained single models, and introduced an attention weight mechanism to provide accurate and reliable detection, reducing the consumption of computational resources.Results demonstrate that EDNTOM outperforms individual models.Additionally, in cross-species transfer experiments, EDNTOM exhibits strong transfer learning capabilities.We hope this work can provide a more powerful and reliable solution for methylation detection, contributing to the fields of biological science and medicine.The project code is available at https://github.com/ViceMusic/EDNTOM.
INTRODUCTION
2DNA methylation is an epigenetic modification that primarily occurs on cytosine molecules in DNA molecules.This modification is achieved by adding a methyl group to the fifth carbon atom of cytosine.DNA methylation plays a crucial role in gene expression regulation, maintaining genome stability, 1 and cell differentiation and development. 2Abnormal DNA methylation is closely associated with the occurrence and development of various diseases. 3,4Luan et al. 5 revealed the relationship between Netrin-1 (NTN1) gene methylation and the prognosis of Skin Cutaneous Melanoma (SKCM).−11 As an epigenetic modification on DNA, DNA methylation can be detected using DNA sequencing 12 data.The secondgeneration sequencing methods include Illumina sequencing, 13 which uses PCR technology to amplify DNA samples and relies on fluorescent or chemically labeled bases for sequencing.These operations limit the ability to analyze repetitive sequences and genomic structures.Especially in low copy number samples, PCR amplification may lead to distortion. 14And the secondgeneration sequencing technology cannot achieve singlemolecule sequencing.Fortunately, we now have many methods and tools that can obtain labeling information without damaging the molecules, such as the work of An et al. 15 using Surfaceenhanced Raman spectroscopy (SERS) to detect molecular markers.It will not affect the molecule itself.From this perspective, we have chosen the third-generation sequencing technologies. 16In third-generation DNA sequencing methods, we choose to use nanopore sequencing data, which is a direct sequencing technique. 17Nanopore sequencing directly detects nucleotide sequences by analyzing current changes as DNA traverses the pore, bypassing chemical modification and PCR amplification to preserve native DNA integrity while generating high-quality data.
3With the rise of deep learning, researchers have begun to use information methods for computational biology, such as the work of Li et al., 18 which used deep learning techniques for N7-m7G site prediction.In the medical field, we use methylation markers to determine lymph node metastasis in gastric cancer. 19−23 The predominant tools for methylation detection leveraging deep learning technology principally fall into three categories: those utilizing convolutional neural networks (CNNs 24 ), those employing recurrent neural networks (RNNs 25 ), and those based on other deep learning architectures.
4CNN-based deep learning tools can capture dependencies within a limited range, extracting sequence features from the data while parallel computing, reducing computational cost. 26ajor works and tools based on CNN include DeepMP, 27 DInoPORE. 28DeepMP is a DNA methylation prediction tool that utilizes CNN to determine whether the sequence is methylated.DInoPORE is a CNN-based model, distinguishing RNA editing sites by nanopore sequencing.RNN-based deep learning tools capture long-range dependencies through the learning and progression of hidden states.Major works based on RNN and its variants include DeepSignal 29 and DeepMod. 30eepSignal is a deep learning tool utilizing bidirectional long short-term memory (LSTM) 31 models to capture sequence information.DeepMod, similar to DeepSignal, employs LSTM for methylation site detection.Additionally, there are other model architectures-based deep learning tools.MethBERT 32 utilizes BERT 33 for DNA methylation state prediction.Deep-Methyl 34 is another methylation prediction software based on stacked denoising autoencoders, used to predict the methylation status of DNA.In addition, NanoCon 35 is also a methylation detection tool that utilizes transformer architecture and contrastive learning techniques.
5However, CNN and RNN may encounter issues with insufficient long-term memory and may lose dependencies over long distances.Tools based on other models, such as BERT, show improvements in methylation prediction. 32evertheless, the computational cost of BERT models will increase with the input length, leading to more expensive training.In summary, each popular tool retains advantages and limitations due to underlying architectures.Given this situation, we aim to find a framework that integrates the strengths of mainstream tools.
6We have observed the application of ensemble learning in this field.Ensemble learning 36−38 is a machine learning method that combines multiple learners to improve overall performance.In the field of bioinformatics, the METEORE 39 integrates the predictions of multiple models for methylation prediction, demonstrating the universality of ensemble learning in bioinformatics.In the work by Lasantha et al., 40 ensemble deep learning method is observed to outperform single models too.In the field of biology, the ensemble learning based model tool LightGBM 41 has achieved the function of detecting genome assisted breeding.In emotion recognition, Wang et al. 42 's work also utilized ensemble learning techniques in emotion recognition tasks.In the medical field, Kazemi and Mirroshandel 43 proposed a kidney stone detection model using ensemble learning.
7Inspired by the aforementioned work, we decided to adopt an ensemble learning mechanism, integrating models.This choice aims to leverage the strengths of different models and mitigate the impact of their weaknesses.
8By combining ensemble learning with attention mechanisms, we have developed an artificial intelligence tool called EDNTOM (Ensemble Deep Network Tool Of Methylation), further improving the performance of DNA methylation prediction.We have achieved promising prediction and transfer effects on both human data sets and data sets of two plant species (Oryza sativa and Arabidopsis thaliana).Compared with mainstream methylation detection tools such as DeepSignal and DeepMod, EDNTOM's prediction results not only come from one model, but also can extract features in different dominant dimensions based on CNN, BERT and RNN, avoiding the preference of a single model.Moreover, we have designed a new attention mechanism that replaces the voting operation in traditional ensemble learning with linear projection, resulting in excellent learning ability.We fully open source the code and encourage other developers to integrate models according to their own needs in integrated learning.
9EDNTOM typically achieves lower costs and more persistent convergence effects, providing great assistance for studying bioinformatics with complex and uneven data.
10In the future, we expect this research to assist exploration in this field and gain more disease-related research or practical applications related to medical devices.For example, using EDNTOM to promote research and analysis of multimodal data related to methylation in the field of disease associations.We will continue to update this tool, and promote its implementation, such as with Qian et al.'s work on biocompatible materials and sensor integration. 44n addition, in the integrated learning module, we have opensourced our data processing methods.We look forward to interested researchers exploring the boundaries of algorithm tools based on their computing resources.
Data Set.
11Nanopore sequencing data of Arabidopsis (A. thaliana, or A. thaliana, GCF_000001735.4_TAIR10.1 45 ) and rice (Oryza sativa, or O. sativa, IRGSP-1.0 46 ) compiled by Ni et al. were used in this study.Because the study of the 5 mC locus is often associated with human diseases with certain specific traits in mammals, the human data set was added to these data sets as a representative 5 mC methylation data set for mammalian DNA.NA12878 is a widely used reference sample of the human genome and is part of the International Human Genome Project (HGP).NA12878 has become one of the most widely used reference samples in genomic research due to the high quality of its genomic data and the wide range of available data sets and has become an important reference point in genomic research and genomics applications.20,000 reads from each species were randomly selected during the construction of the data set, and each Read is the electrical signal sequence information on a segment of nucleic acid sequence obtained from a DNA sample by nanopore sequencing technology.
12In the data sets of the three species we used, the human data set NA12878 is a slightly imbalanced data set with a data ratio of 2:1.On the data sets of the other two species, the ratio of methylated to nonmethylated data is 1:1.In addition, NA12878 contains a total of approximately 3.5 million pieces of data.The rice and Arabidopsis data sets contain approximately 300,000 pieces of data.
13Through the data processing method provided by Ni. 29 The methylation data we obtained were processed into the same structure, including DNA sequence information, nanopore sequencing current mean, electrical signal standard deviation, and signal length.Each data represents a k-mer base sequence.In this article, we set k to 13, which is an experience-based choice.In some mainstream methylation frameworks, such as Deep-Signal, a k-mer with a length of 13 is used, so we have decided to adopt this design.
14For subsequent training, we divided the data set into a 9:1 ratio, with 90% being the training set and 10% being the validation set.We first define the data set as
15extract subsets based on methylation labels (0 or 1), calculate segmentation points , divide them according to the index position of the segmentation point
16x y 0, 1 min( 0.9 , 1)
17: , :
18and finally randomly shuffle to ensure the rationality of the data.This division method is relatively simple, but convenient and rigorous.
Structure of Model.
19As illustrated in Figure 1, EDNTOM is a deep learning neural network model that performs nanopore methylation detection through ensemble learning and weighting mechanisms.According to the sequence of data flow, we divide the entire model into four main parts: the data preprocessing module, the symmetric encoding module, the attention weight calculation module, and the classifier module.
Data Preprocessing Module.
20In the data preprocessing module, we transform the acquired data from the data set into tensor forms suitable for input into the model.The data in our data set follows a uniform format, consisting of DNA base sequences (referred to as "seq"), nanopore data (including means, stds, and lengths), and methylation labels ("label").As for the nanopore data, we extract the "means", "stds" and "lens" corresponding to each base, and arrange the nanodata into a matrix of size K*3.The specific image operations are illustrated in Figure 2.
Symmetric Encoding Module.
21We call this module symmetric encoding because of its symmetric structure (as shown in Figure 3).In this module, the data are input into three single models (CNN, RNN and BERT 47 ) to obtain their respective prediction results ο i .
22After obtaining the original output of a single model, the data needs to be shaped to adapt to the downstream attention weight layer.Each model comes with a structure and a processing method that is completely consistent in calculation.By linear projection, all outputs of the model are projected to the same size.
23Due to the identical prediction and classifier processing methods in each model, the data flow presents a symmetrical shape.Therefore, we refer to this module as the symmetric encoding module.This structure ensures consistency and data independence in downstream tasks after the outputs of all models are projected.
Attention Weight Calculation Module.
24In the attention weight module (as shown in Figure 4), we used a neural network-based attention mechanism to extract from the output results f of the models.In all experiments in this article, we trained these three models using a human data set, which is similar to pretraining.(We also provide the weights of these basic models trained and saved on different data sets in opensource code to meet users' pursuit of higher accuracy).
25We will concatenate f i (i ∈ {RNN,BERT,CNN})in one dimension, and then use linear layers and activation functions for linear projection.In this process, we train two weight matrices, projection matrix W 2 , and concatenation matrix W 1 , as well as their corresponding biases.Finally, through calculation, we obtain the integrated weight α.The mathematical expression of its operation is as follows
26In addition, we combine the original input f i with integrated weight and fuse the calculated results.The mathematical operation expression is as follows
27Based on this attention weighting mechanism, we can dynamically assign weights to each individual input data based on the prediction results of each model.Added the problem of insufficient flexibility of trained single weights for diverse data in traditional voting.
282.2.4.Classifier Module.The final classifier module is responsible for classifying input data and mapping it to a smaller dimension to obtain the final prediction output.The architecture of this layer is shown in Figure 2. Through processing in this layer, the model integrates and refines information from all preceding layers to generate the final prediction output.The design of this fully connected layer aims to enable the model to capture key features in the input data optimally and produce highly accurate final predictions.
292.3.Metrics.−54 These evaluation metrics are commonly used performance metrics in deep learning to assess the accuracy and efficacy of classification models. 55.4.Setup.On the server, we configured four NVIDIA GeForce RTX 3090 GPUs and utilized the PyTorch Lightning framework.During the training process, we employed the Adam optimizer to optimize model parameters and combined it with a learning rate decay strategy for better control over the learning process.To ensure fair evaluation, we adopted a strict data set partitioning scheme, splitting each data set into training, and validation sets in a 9:1 ratio.This partitioning scheme aims to achieve more stable and reliable computational results.
30During the training process of the model, we set the batch to 100, the initial learning rate of the Adam optimizer to 0.001, and used binary cross loss to calculate the loss value.Unless otherwise specified, the default training epochs are 25.
31In the ensemble module, our individual models (CNN, RNN, and BERT) have already been pretrained, and each has demonstrated promising performance.During the training of our overall model, the parameters of individual models are frozen and do not participate in training iterations.This separation training approach effectively reduces training pressure and difficulty, yielding better results with fewer computational rounds.Additionally, it mitigates the risk of overfitting that could arise from excessive parameters and layer depths.
Comparing with Single Models.
32We present the actual performance results of EDNTOM and compare them with other models, including CNN, RNN, and BERT models.In this experiment, we compared the performance differences between EDNTOM and the other three models.We conducted this work on data sets of three species: humans, O. sativa, and A. thaliana.For any of the data sets, we follow the settings in the setup section and divide the data set into two parts: training and validation.Each model was trained and tested on the same data set.
33We compared the performance of models trained and validated on the same data set.Through the experiment, we compared EDNTOM with three other model tools under the same training and validation conditions on the same data set.It can be observed that compared to RNN, BERT, and CNN, EDNTOM shows improvement in accuracy, especially compared to RNN.BERT performs similarly to EDNTOM, and during the training and testing process on the Arabidopsis data set, BERT even outperforms EDNTOM in terms of recall.However, we attribute this to the selection of AUROC as the metric for comparison and saving when selecting the saved model.In conclusion, the test proves that EDNTOM integrated by a single model is not inferior to any single model in six indicators including ACC.
Comparative Experiment with Popular Tools.
34In order to verify the performance of our model in multiple aspects, we compared EDNTOM with two popular tools in the same field, DeepSignal and DeepMod.In this experiment, we compared multiple indicators including loss, Auroc, etc.And the same hyperparameters were tested on the Arabidopsis data In summary, we believe that EDNTOM not only has superior learning abilities, but can also achieve better accuracy in a shorter period of time.Furthermore, in over 20 training sessions, EDNTOM maintained a steady improvement trend, while DeepSignal failed to fully converge and exhibited oscillations in the later stages DeepMod experienced a gradient explosion in the midterm, which seriously affected its performance.From this, it can be seen that EDNTOM can adapt to more complex data and classification tasks, reducing the time consumption of users when adjusting hyperparameters.At the same time, this experiment shows that EDNTOM may still not reach its performance limit, and has considerable practical value.
35Meanwhile, as shown in Table 2, in terms of time consumption, by implementing a strategy of freezing parameters, EDNTOM effectively reduces the pressure on training parameters while preventing gradient explosion caused by excessively deep neural networks EDNTOM's total parameters are only 35.4% of DeepSignal's, but its performance metrics still lead by 1.2%.In terms of inference speed, although DeepMod has achieved the fastest speed, its unit parameter inference time reaches 0.951, reflecting its complex structure and high computational density.The computational density of EDN-TOM and DeepSignal is relatively low.At the same time, in In summary, by comparing its performance and accuracy with two other widely used tools in the field of methylation detection, EDNTOM not only leads in accuracy, but also demonstrates extremely high stability and good parameter efficiency during training.This is beneficial for us to extend EDNTOM and ensemble learning to more complex and time-consuming tasks.Although the current inference training time is slightly slower, our future work will focus on simplifying tensor calculations in the prediction process and improving the computational speed of EDNTOM.
Ablation and Exploration Experiment.
36In the experiment, we mainly focused on two aspects: 1. Conduct ablation experiments on a single model to check the impact of a single model on the whole two.2. Our code and subsequent experiments have confirmed the structure described in the previous section, but there must be some replaceable methods locally.We conduct experiments and demonstrate them here, such as not freezing parameters, convolution weights, etc.We used a human data set in this experiment, and the hyperparameters remained unchanged.
37As shown in the following Figure 7, we compare them in six different ways: the original version of EDNTOM, unfreeze the parameters in the integration module (refer as unfrozen), cover different single models (refer as mask_RNN, mask_BERT, and mask_CNN), and replace the original attention weight module (refer as Conv) with a convolution module, and another gate attention mechanism (refer as Gate).
38As mentioned earlier, in this work, the CNN, RNN, and BERT models used for ensemble learning have been trained, and their parameters were frozen during ensemble learning.Here, we conducted an ablation experiment by unfreezing the parameters of the three single models and allowing them to participate in consistent training methods, enabling their internal parameters to continue learning data features.The results, as shown in Figure 7 and Table 3, demonstrate that allowing single models to continue training leads to a decrease in performance.We believe that the reason for this phenomenon is the increase in the number of parameters that need to be trained, which leads to an increased training burden.By the way, in Figure 6, it can be seen that mask CNN performs well on indicators ACC, F1 score, and recall.This indicates that the model has improved by removing CNN from these evaluation indicators, as CNN's prediction results may be slightly worse than other models in the entire EDNTOM.
39In addition, we also designed another experiment: in order to explore the importance of different models in the overall structure, we covered the single model in the symmetric encoding module of EDNTOM respectively, and called them "mask_RNN", "mask_BERT", "mask_CNN" according to the different models covered.And conducted the same training method, the results obtained are shown in Figure 7 and Table 3.
40In this result, it can be seen that there was no improvement in the The unit parameter time is set as the time required for updating every million parameters.results after ablation of our main evaluation metric AUROC.On the three evaluation indicators of ACC, F1 score, and recall, the results of mask CNN reached the level of EDNTOM.It is worth noting that there are serious shortcomings in the evaluation results of mask-BERT, which proves that RNN plays a more critical role in EDNTOM.This result is also consistent with our findings in comparative experiments (as shown in Figure 5 and Table 1): BERT performs better than RNN and CNN.This demonstrates the logic and accuracy of our experiment.
41We concatenate the models along the channel dimension to obtain a tensor, where dim is the length of the output features of each model, and b is the batch size.By training a convolutional kernel and performing convolutional operations, we obtain features, thereby integrating the output results of the three models.
42By training under the same conditions as the main method, we obtained models with performance similar to EDNTOM, as shown in Figure 8.The results were comparable to our original attention weight module, possibly because both methods produced three weight values, albeit obtained differently.The attention weight module trains a neural network block to calculate weights based on inputs, allowing for flexibility with different input features.In contrast, the convolutional module learns convolutional kernels similar to weights based on inputs.We believe this extension is an effective data aggregation strategy given the current data scale.We anticipate that on larger data sets, the performance of convolutional kernels may slightly degrade because they cannot flexibly adjust weight values based on input features.
43In addition, we also used the gate attention model shown in Figure 9 to replace our original attention mechanism, which helped us verify the feasibility of other attention mechanisms in this experiment.After experimental verification, it has been proven that using this gate attention model does not bring breakthrough results.
44In summary, in this part of the experiment, we not only conducted ablation experiments, but also experimented with some replaceable content.Under the current experimental setup, no significant differences were observed.We encourage researchers using EDNTOM to adjust these modules according to their different needs.
Comparison with Soft
45Voting.In the ablation experiment above, in order to demonstrate the effectiveness of the ensemble learning part, we chose to remove the voting step and use simple concatenation for ablation comparison experiments.In this experiment, in order to demonstrate the effectiveness of the attention mechanism designed in the ensemble learning part, we used the commonly used soft voting in ensemble learning as the experimental object.
46Soft voting is an algorithm widely used in ensemble learning mechanisms, which adds up the classification probabilities obtained by each learner and resets the threshold to integrate the results of all learners and make judgments.In our model, the comprehensive scoring formula for soft voting is
47RNN BERT CNN And, since we used three models, we set the weights to 1.5 and used this to construct the decision function
48The final label is determined by the decision function
49Through this method, the experimental results we obtained on the Arabidopsis data set are shown in Figure 10.Through experimental comparison, it can be concluded that the attention weight mechanism designed in EDNTOM has better convergence speed than traditional ensemble learning methods such as soft voting.The speed of loss reduction and accuracy improvement in attention weight mechanism is significantly higher than that of soft voting, and in the later stage, while maintaining performance growth, the training time of attention weight mechanism is significantly lower than that of soft voting.
50By analyzing the trend of curve changes, we can find that the attention weighting mechanism can analyze features more deeply and provide reasonable weight assignments.While soft voting has already converged to its own limit, EDNTOM still maintains a good performance improvement trend.We encourage open source workers to explore the limits of this mechanism by increasing training volume, adjusting hyper-parameters, and other methods within their own computing power.
Transfer Experiment.
51To evaluate the cross-data set transferability of EDNTOM, we conducted experiments on three species: human, O. sativa, and A. thaliana.The model was trained on one species and tested on the other two, resulting in six cross-species transfer settings.These experiments highlight EDNTOM's ability to generalize across diverse biological data sets, demonstrating its potential in transfer learning. 56n the transfer learning experiments, we prepared two types of data sets: the pretraining data set and the transfer data set.After training the model on one data set, we fine-tuned it on another, following the same training procedure and hyperparameter settings as described in the Setup section.Each of the three species data sets served both as a pretraining and a transfer data set, resulting in a total of nine pretraining−transfer data set pairs through combinatorial permutation.During training, we monitored multiple evaluation metrics and recorded the bestperforming weights.The final results were visualized using a heatmap to illustrate the model's transferability across species.
52Verify the generalization ability of the EDNTOM model through three sets of cross species migration experiments.As shown in Figure 11 and Table 4, when the model was trained on human data and transferred to the rice (O.sativa) and Arabidopsis (A. thaliana) test sets, its performance showed a moderate level (AUROC: 0.917−0.937).It is worth noting that reverse migration (from plants to humans) showed similar performance degradation, such as a decrease in ACC of 0.81892 for the rice training model on human data, indicating significant differences in methylation patterns between animals and plants.
53In the migration within the plant domain, the model exhibits excellent adaptability.When trained on rice and transferred to Arabidopsis, AUPRC reached 0.98679 (±0.002) and F1 score increased to 0.93838, significantly better than the results of cross domain transfer.This pattern also holds true in the Arabidopsis rice migration (AUROC: 0.96808), confirming that the methylation characteristics between species with similar evolutionary distances are highly conserved.
54This experiment demonstrates for the first time that EDNTOM exhibits excellent migration mobility between species with similar evolutionary distances, providing a new computational tool for cross species epigenetic research.Subsequent work will integrate more species data to establish a quantitative relationship between evolutionary distance and model performance.
553.6.Interpretability Experiment.To make the experimental results more reasonable and intuitive, we designed the following experiment: we aggregated the features of three models into one feature sequence and then reduced its dimensionality to two-dimensional space using UMAP. 57ubsequently, we differentiated between methylated and unmethylated samples based on the corresponding labels and plotted them on a two-dimensional space.Throughout the interpretative operation, we selected 1000 samples from the human data set.To enhance the comparison and demonstrate the superiority of our model, we performed the same feature extraction and analysis on other individual models as well.
56As shown in the Figure 12, the data points form two distinct clusters on the graph, indicating that our model has successfully differentiated between methylated and unmethylated data features in the output.This geometric representation provides a more intuitive illustration of the effectiveness of our model.Through such dimensionality reduction plots, we achieve a more intuitive display of results than the raw data.In terms of feature classification performance, EDNTOM demonstrates better classification results compared to other models by integrating predictions from a single model.We attribute this improvement to the reasonable configuration of our attention weights, which incorporate the advantages of different models.
573.7.Performance Testing on Imbalanced Data Sets.In the above experiments, we have fully demonstrated that EDNTOM not only has performance comparable to mainstream tools.It also has good resistance to overfitting.However, our experiments mainly focused on balanced data sets.Therefore, in this experiment, we extracted a new data set from the existing Arabidopsis data set with a data size of 30,000 and set the methylation ratio to 5:1.And conduct experiments on indicators such as loss.And by sliding the variance, setting each window length to 5 (to get the change of variance in a shortrange), calculate the trend of variance change to display its variation.
58In addition, we a dynamic threshold to determine the degree of variance change.
59= × Threshold 2 median(Var , ..., Var )
60When the variance exceeds the dynamic threshold
61Then the position will be marked in gray, indicating a significant change in the data.
62The experimental results show that the EDNTOM model exhibits good robustness under imbalanced data conditions: in the early stages of training.(As shown in the Figure 13), it quickly adapts to the data distribution through high gradient updates (loss curve slope >60°), although accompanied by high variance fluctuations (dense gray blocks), it quickly enters a stable optimization stage within 5 epochs, and the fluctuation amplitude of key indicators is controlled within ±0.005.Although isolated variance exceeded the standard in the middle and later stages, the original indicators did not show significant deviation, indicating that the model has self-stabilization ability.This characteristic makes EDNTOM particularly suitable for epigenetic research scenarios where there are differences in data distribution between species.
RESULTS AND DISCUSSION
63In this study, we proposed EDNTOM, a nanopore-based methylation prediction model combining ensemble learning and attention mechanisms.Compared with models like DeepSignal and DeepMod, EDNTOM demonstrated faster convergence and better generalization, while using a moderate number of parameters.Additionally, compared to traditional soft-voting methods, it showed improved robustness against overfitting.Although we did not explore its performance limits due to computational constraints, the code is fully open-sourced to encourage further optimization and customization for diverse tasks.
CONCLUSION
64In this study, we presented EDNTOM, a deep learning tool based on ensemble learning and attention mechanisms, designed to accurately predict methylation patterns using nanopore sequencing data.What sets this tool apart is its integration of multiple models and its clever model fusion strategy, which achieves performance compared to individual models, enabling efficient methylation prediction.This ensemble learning approach not only enhances overall performance but also, through a series of ablation experiments, we further demonstrated that the current model state has reached a considerable level of suitability.The method proposed in this study has made certain progress in this field, and we hope that these explorations can provide new research ideas for the development of genomics and bioinformatics..
Formulas
65These metrics can be calculated using the following formulas.where TP is true positive, the number of positive samples correctly predicted; TN is true negative, the number of negative samples correctly predicted; FP is false positive, the number of negative samples incorrectly predicted as positive samples; and FN denotes false negative, the number of positive samples incorrectly classified as negative samples.
Figure 1 .
66Figure 1.Architecture of EDNTOM.After processing the input data through the model, the output of the single model is then fed into the attention mechanism.Finally, the attention mechanism produces the ultimate prediction results.
Figure 2 .
67Figure 2. We extract and parse the input data, converting it into the tensor format required by our model tool.
Figure 3 .
68Figure 3. Workflow of symmetric encoding module.Based on the prediction results obtained from each model, they are further processed through a classifier to obtain data of the same scale.
Figure 4 .
69Figure 4. Workflow of attention weight calculation module, we concatenate the results of model outputs and train a linear layer based on the concatenated result.This linear layer learns individual weights for each model output.Then, we multiply the weight results by the model outputs to obtain the weighted features.Finally, classification is achieved through the classifier layer to obtain the prediction result.
Figure 5 .
70Figure 5. Showcased the performance of EDNTOM, RNN, BERT, and CNN trained on the NA12878 human data set on three species data sets in (a− c).(a) As shown in figure (a), the performance of EDNTOM and other models trained on human data sets.(b) As shown in figure (b), the performance of EDNTOM trained on the O. sativa data set.(c) As shown in figure (c), the performance of EDNTOM and other models trained on the Thalina data set.
Figure 6 .
71Figure 6.We recorded the performance changes of the models on the test set with increasing training epochs on six metrics: loss, AUROC, Acc, precision, recall, and F1.Among them, EDNTOM performs better than the other two models in all aspects, demonstrating the potential of ensemble learning technology.
Figure 7 .
72Figure 7. Results of ablation implementation were compared under different evaluation indicators.
Figure 8 .
73Figure 8. Workflow of new module that can replace the attention weight module, using convolutional neural networks to train convolutional kernels, achieving the effect of integrating predictions from multiple models.
Figure 9 .
74Figure 9. Workflow of new module that can replace the attention weight module, we use the product of two gate values and calculate the weight, which provides two attention values.
Figure 10 .
75Figure 10.We compared the differences between our attention mechanism and soft voting on six indicators, including loss and recorded the changes in training time consumption.
Figure 11 .
76Figure 11.Performance of EDNTOM transfers on the different data sets.We trained EDNTOM on a single data set of one of the three (human, O. sativa and A. thaliana), and then conducted transfer validation on the other two data sets."Train" represents the training of EDNTOM on a certain data set, and "transfer" represents the validation of EDNTOM on which data set after completing the training.We conducted three sets of experiments like this.
Figure 12 .
77Figure 12.As shown in the figure, panels (a)−(d) display the UMAP-reduced outputs of RNN, BERT, CNN, and our model (EDNTOM), respectively, with methylated and unmethylated data labeled in green and orange.Among them, EDNTOM exhibits the clearest boundary between the two classes, highlighting its superior ability to distinguish methylation status compared to the other models.
Figure 13 .
78Figure 13.We have analyzed the changes in four indicators, including loss.The first row of images shows the original data changes of the indicators, while the second row represents the changes in sliding variance.
79o o o o o o o o o o o o o o o o o o o o o o o o o n o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Table 1 .
80Performance of EDNTOM, RNN, BERT, and CNN Trained on Different Datasets
Table 2 .
81Under the Same Hardware and Hyperparameter Conditions, We Conducted a Statistical Analysis of the Model's Parameter Count, Inference Time, etc. a
82Table Comparison between the Original Model and the Ablation Experimental Conditions, and We use AUROC as the Main Evaluation Indicator
Table 4 .
83Performance of Different Migration Models on Different Datasets
참고문헌 56건
- DNA Methylation and Cancer Advances in genetics · Elsevier BV · 2010 10.1016/b978-0-12-380866-0.60002-2
- Linking DNA methylation and histone modification: patterns and paradigms Nature Reviews Genetics · Nature Portfolio · 2009 10.1038/nrg2540
- Sentiment classification: The contribution of ensemble learning Decision Support Systems · Elsevier BV · 2013 10.1016/j.dss.2013.08.002
- Nanopores and nucleic acids: prospects for ultrarapid sequencing Trends in biotechnology · Elsevier BV · 2000 10.1016/s0167-7799(00)01426-8
- Long Short-Term Memory Neural Computation · The MIT Press · 1997 10.1162/neco.1997.9.8.1735
- Epigenetics in cancer Carcinogenesis · Oxford University Press · 2009 10.1093/carcin/bgp220
- Gradient-based learning applied to document recognition Proceedings of the IEEE · Institute of Electrical and Electronics Engineers · 1998 10.1109/5.726791
- Genome sequencing in microfabricated high-density picolitre reactors Nature · Nature Portfolio · 2005 10.1038/nature03959
- Third-generation sequencing and the future of genomics bioRxiv (Cold Spring Harbor Laboratory) · Cold Spring Harbor Laboratory · 2016 10.1101/048603
- Predicting DNA Methylation State of CpG Dinucleotide Using Genome Topological Features and Deep Networks Scientific Reports · Nature Portfolio · 2016 10.1038/srep19598
- Sources of Error in Mammalian Genetic Screens G3 Genes Genomes Genetics · Genetics Society of America · 2016 10.1534/g3.116.030973
- A novel method for predicting kidney stone type using ensemble learning Artificial Intelligence in Medicine · Elsevier BV · 2017 10.1016/j.artmed.2017.12.001
- UMAP: Uniform Manifold Approximation and Projection for Dimension Reduction arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1802.03426
- Detection of DNA base modifications by deep recurrent neural network on Oxford Nanopore sequencing data Nature Communications · Nature Portfolio · 2019 10.1038/s41467-019-10168-2
- Tumor origin detection with tissue-specific miRNA and DNA methylation markers Bioinformatics · Oxford University Press · 2017 10.1093/bioinformatics/btx622
- DeepSignal: detecting DNA methylation state from Nanopore sequencing reads using deep-learning Bioinformatics · Oxford University Press · 2019 10.1093/bioinformatics/btz276
- A survey on ensemble learning Frontiers of Computer Science · Higher Education Press · 2019 10.1007/s11704-019-8208-z
- BioSeq-Analysis2.0: an updated platform for analyzing DNA, RNA and protein sequences at sequence level and residue level based on machine learning approaches Nucleic Acids Research · Oxford University Press · 2019 10.1093/nar/gkz740
- Ensembl Genomes 2020—enabling non-vertebrate genomic research Nucleic Acids Research · Oxford University Press · 2019 10.1093/nar/gkz890
- IDP-Seq2Seq: identification of intrinsically disordered regions based on sequence to sequence learning Bioinformatics · Oxford University Press · 2020 10.1093/bioinformatics/btaa667
- Next-generation sequencing technologies: An overview Human Immunology · Elsevier BV · 2021 10.1016/j.humimm.2021.02.012
- Epigenetic Regulation of Genomic Stability by Vitamin C Frontiers in Genetics · Frontiers Media · 2021 10.3389/fgene.2021.675780
- Systematic benchmarking of tools for CpG methylation detection from nanopore sequencing Nature Communications · Nature Portfolio · 2021 10.1038/s41467-021-23778-6
- LightGBM: accelerated genomically designed crop breeding through ensemble learning Genome biology · BioMed Central · 2021 10.1186/s13059-021-02492-y
- DeepM6ASeq-EL: prediction of human N6-methyladenosine (m6A) sites with LSTM and ensemble learning Frontiers of Computer Science · Higher Education Press · 2021 10.1007/s11704-020-0180-0
- BioSeq-BLM: a platform for analyzing DNA, RNA and protein sequences based on biological language models Nucleic Acids Research · Oxford University Press · 2021 10.1093/nar/gkab829
- DeepMP: a deep learning tool to detect DNA base modifications on Nanopore sequencing data Bioinformatics · Oxford University Press · 2021 10.1093/bioinformatics/btab745
- NmRF: identification of multispecies RNA 2’-O-methylation modification sites from RNA sequences Briefings in Bioinformatics · Oxford University Press · 2021 10.1093/bib/bbab480
- On the application of BERT models for nanopore methylation detection 2021 IEEE International Conference on Bioinformatics and Biomedicine (BIBM) · 2021 10.1109/bibm52615.2021.9669841
- Database resources of the National Center for Biotechnology Information Nucleic Acids Research · Oxford University Press · 2007 10.1093/nar/gkm1000
- Direct identification of A-to-I editing sites with nanopore native RNA sequencing Nature Methods · Nature Portfolio · 2022 10.1038/s41592-022-01513-3
- Modality-DTA: Multimodality Fusion Strategy for Drug–Target Affinity Prediction IEEE/ACM Transactions on Computational Biology and Bioinformatics · Institute of Electrical and Electronics Engineers · 2022 10.1109/tcbb.2022.3205282
- iDNA-ABF: multi-scale deep biological language learning model for the interpretable prediction of DNA methylations Genome biology · BioMed Central · 2022 10.1186/s13059-022-02780-1
- A deep multiple kernel learning-based higher-order fuzzy inference system for identifying DNA N4-methylcytosine sites Information Sciences · Elsevier BV · 2023 10.1016/j.ins.2023.01.149
- DNA methylation and cardiovascular disease in humans: a systematic review and database of known CpG methylation sites Clinical Epigenetics · BioMed Central · 2023 10.1186/s13148-023-01468-y
- Deep learning and ensemble deep learning for circRNA-RBP interaction prediction in the last decade: A review Engineering Applications of Artificial Intelligence · Elsevier BV · 2023 10.1016/j.engappai.2023.106352
- Low Rank Matrix Factorization Algorithm Based on Multi-Graph Regularization for Detecting Drug-Disease Association IEEE/ACM Transactions on Computational Biology and Bioinformatics · Institute of Electrical and Electronics Engineers · 2023 10.1109/tcbb.2023.3274587
- Recall DNA methylation levels at low coverage sites using a CNN model in WGBS PLoS Computational Biology · Public Library of Science · 2023 10.1371/journal.pcbi.1011205
- BioSeq-Diabolo: Biological sequence similarity analysis using Diabolo PLoS Computational Biology · Public Library of Science · 2023 10.1371/journal.pcbi.1011214
- Rm-LR: A long-range-based deep learning model for predicting multiple types of RNA modifications Computers in Biology and Medicine · Elsevier BV · 2023 10.1016/j.compbiomed.2023.107238
- A First Computational Frame for Recognizing Heparin-Binding Protein Diagnostics · Multidisciplinary Digital Publishing Institute · 2023 10.3390/diagnostics13142465
- Sequence Alignment/Map format: a comprehensive review of approaches and applications Briefings in Bioinformatics · Oxford University Press · 2023 10.1093/bib/bbad320
- Accurately identifying hemagglutinin using sequence information and machine learning methods Frontiers in Medicine · Frontiers Media · 2023 10.3389/fmed.2023.1281880
- Geometric deep learning for drug discovery Expert Systems with Applications · Elsevier BV · 2023 10.1016/j.eswa.2023.122498
- Highly Accurate Estimation of Cell Type Abundance in Bulk Tissues Based on Single‐Cell Reference and Domain Adaptive Matching Advanced Science · Wiley · 2023 10.1002/advs.202306329
- Identifying disease-related microbes based on multi-scale variational graph autoencoder embedding Wasserstein distance BMC Biology · BioMed Central · 2023 10.1186/s12915-023-01796-8
- Towards retraining-free RNA modification prediction with incremental learning Information Sciences · Elsevier BV · 2024 10.1016/j.ins.2024.120105
- Deep-STP: a deep learning-based approach to predict snake toxin proteins by using word embeddings Frontiers in Medicine · Frontiers Media · 2024 10.3389/fmed.2023.1291352
- NanoCon: contrastive learning-based deep hybrid network for nanopore methylation detection Bioinformatics · Oxford University Press · 2024 10.1093/bioinformatics/btae046
- Rational Electrochemical Design of Cuprous Oxide Hierarchical Microarchitectures and Their Derivatives for SERS Sensing Applications Small Methods · Wiley · 2024 10.1002/smtd.202300910
- A BERT-based model for the prediction of lncRNA subcellular localization in Homo sapiens International Journal of Biological Macromolecules · Elsevier BV · 2024 10.1016/j.ijbiomac.2024.130659
- An overview of polylactic acid (PLA) nanocomposites for sensors Advanced Composites and Hybrid Materials · Springer Science+Business Media · 2024 10.1007/s42114-024-00887-6
- GenoM7GNet: An Efficient N <sup>7</sup> -Methylguanosine Site Prediction Approach Based on a Nucleotide Language Model IEEE/ACM Transactions on Computational Biology and Bioinformatics · Institute of Electrical and Electronics Engineers · 2024 10.1109/tcbb.2024.3459870
- Evaluation of a three-gene methylation model for correlating lymph node metastasis in postoperative early gastric cancer adjacent samples Frontiers in Oncology · Frontiers Media · 2024 10.3389/fonc.2024.1432869
- SBSM-Pro: support bio-sequence machine for proteins Science China Information Sciences · Springer Nature · 2024 10.1007/s11432-024-4171-9
- Comprehensive pan-cancer analysis reveals NTN1 as an immune infiltrate risk factor and its potential prognostic value in SKCM Scientific Reports · Nature Portfolio · 2025 10.1038/s41598-025-85444-x