Multi-label subcellular localization prediction method based on deep transfer learning

By combining deep transfer learning and resampling technology, the problem of multi-label prediction and data imbalance in mRNA subcellular localization is solved, high-accuracy and interpretable prediction results are achieved, and the performance of existing technology is significantly improved.

CN118629486APending Publication Date: 2024-09-10JIANGNAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410752007.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing technology cannot achieve multi-label prediction, has huge calculation parameters, limited feature extraction methods and poor model interpretability, resulting in insufficient accuracy and generalization in predicting the subcellular localization of mRNA.

Method used

A multi-label subcellular localization prediction method based on deep transfer learning was adopted, combined with MDNDO and SMDU resampling techniques to balance the data set, the AlexNet model was used for transfer learning, and the SHAP algorithm was used for interpretability analysis.

Benefits of technology

It achieves effective prediction of multi-label subcellular localization of mRNA, improves the generalization performance and accuracy of the model, and significantly improves the interpretability of prediction results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118629486A
    Figure CN118629486A
Patent Text Reader

Abstract

The invention belongs to artificial intelligence algorithm application-multi-label subcellular localization prediction methods, and relates to a multi-label subcellular localization prediction method based on deep transfer learning. The method comprises the following steps: firstly, performing data cleaning on original data to obtain a data set 1 and a data set 2, removing redundant information, and improving model efficiency; then, an MDDDO and SMDU resampling algorithm is adopted to process the unbalanced data set, and it is ensured that the model can obtain good performance on various types of samples; based on AlexNet, the network structure of the output layer is remodified, the existing structure is fully utilized, the feature information is captured, and finally the prediction result is output at the output layer. The SHAP algorithm is further introduced, the contribution degree of each feature to the model prediction result is quantified, and the user is helped to better understand the working principle and decision basis of the model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of artificial intelligence algorithm application-multi-label prediction, and specifically relates to a multi-label subcellular localization prediction method based on deep transfer learning. Background Art

[0002] Precise subcellular localization of mRNA is a fundamental and essential regulatory mechanism during complex eukaryotic development, with profound effects on protein synthesis. Eukaryotic cells exhibit a dynamic distribution of mRNA, which is often found in different cellular compartments, especially in complex organisms, where it coordinates multiple functions. The localization of mRNA is controlled by complex biological rules, but any disruption may trigger serious health consequences, including cancer, spinal muscular atrophy, Alzheimer's disease, and neurological diseases. Therefore, a comprehensive understanding of the mRNA localization mechanism is of great biological significance. However, given the time-consuming nature of traditional biochemical methods, there is an urgent need to develop a computationally efficient and accurate prediction tool to streamline this process.

[0003] In recent years, more and more machine learning algorithms have been used to predict the subcellular localization of mRNA. Although a lot of research has been done on subcellular localization prediction, many computational tools have been built using machine learning and deep learning methods, and many breakthrough results have been achieved, there are still many limitations:

[0004] 1. Unable to implement multi-label prediction problems: They are usually designed for single-position prediction, while in reality, multiple positions may be relevant.

[0005] 2. The problem of huge computational parameters: Converting multi-location classification into multiple binary problems has a large computational overhead.

[0006] 3. Feature validity issues: The generalization and accuracy of existing models are not optimal, and their feature extraction methods may be limited or unreliable.

[0007] 4. Model interpretability issues: Deep learning models often have complex structures and large parameters, and their interpretability is often poor.

[0008] To address these limitations, it is necessary to develop a computational tool that can handle multi-label predictions more efficiently, consider more sophisticated feature extraction techniques, and improve overall performance and generalizability. The computational tool proposed in this study combines effective up-sampling and down-sampling methods with transfer learning methods to accurately predict multi-label subcellular localization while taking into account interpretability. Summary of the invention

[0009] The technical solution of the present invention is as follows:

[0010] The data set of this study comes from the RNALocate database. The resources of this database are dedicated to RNA subcellular localization analysis. Datasets 1 and 2 required for model training are from RNALocate v1.0 and RNALocatev2.0, respectively. Dataset 1 contains 16 categories and Dataset 2 contains 18 categories. There is an imbalance problem in the samples of these two data sets, that is, there are too many categories or too many labels in one of the categories, which greatly increases the difficulty of model training. Therefore, a reasonable up and down sampling algorithm is also used in this study. Using this data set, the present invention proposes a multi-label subcellular localization prediction method based on deep transfer learning. The method is based on raw data conversion, based on the importance of the NC end of the data, based on the MDNDO-SMDU resampling technology to balance the data, based on the AlexNet model to build a transfer learning method, and based on SHAP to perform interpretable analysis. The main steps are as follows:

[0011] Step 1: Data processing. This stage includes the division of training data and test data and the conversion of data formats. The specific processing steps are as follows:

[0012] For deep learning training models, high-quality data sets are the key to ensuring accurate prediction results and model generalization. Therefore, it is essential to reasonably supplement the data and delete invalid information before training. In the mRNA dataset, the data appears in the form of sequences, and the lengths of different mRNA sequences vary greatly. There are also very similar RNA sequences. If the data is not effectively cleaned, it is likely to have a negative impact on the model. At the same time, the features are one-hot encoded to facilitate subsequent calculation of errors.

[0013] 1.1 Dataset processing method

[0014] For dataset 1, there are a total of 7 labels as positions to be predicted. Theoretically, there are 128 categories, that is, 2 to the power of 7. After removing the categories with less than 230 sequences and highly similar categories, they are finally divided into 16 categories. For dataset 2, there are a total of 9 labels as positions to be predicted. After removing the categories with less than 300 sequences, they are finally divided into 18 categories. For the preprocessed datasets, 90% of the two datasets are taken as training samples, and 10% are taken as test samples to train two prediction models.

[0015] 1.2 Data Conversion

[0016] The present invention takes into account the feature importance and feature diversity of the NC end, and extracts features by intercepting the first 35 and last 35 nucleotides of the sequence as image input through a manually written python script.

[0017] The second step is to balance the category distribution in the data set through data resampling technology to improve the model's recognition ability for minority classes. This stage mainly includes two steps: upsampling using MDNDO and downsampling based on SMDU.

[0018] 2.1 MDNDO upsampling algorithm

[0019] In our invention, we propose an upsampling algorithm called MDNDO for synthesizing multi-label data, which aims to balance the data by synthesizing samples with fewer categories.

[0020] Algorithm flow:

[0021] Input: Original k-class training samples: The number of samples per class: n k

[0022] Output: Synthesized M k Training samples:

[0023] (1): First, input the original training sample of the kth category and the number of samples of the kth category, and encode the sequence based on A-1, C-2, G-3, and T-4.

[0024] (2): Calculate the diagonal matrix of the covariance matrix of each sample:

[0025]

[0026] b = size(c, 2);

[0027] z = zeros(b,b);

[0028] m = zeros(2*b, 1);

[0029] (3): Calculate the z matrix and use the multidimensional normal distribution to synthesize samples. The z matrix represents the autocorrelation matrix (correlation coefficient matrix) of x, c(j1) represents the mean of the data to be generated, and 0.05 represents its probability factor:

[0030] z(j1,j2)=0.05*(c(j1))^2;

[0031] Extract the diagonal elements of the z matrix and assign them to the i-th column of the t matrix:

[0032] t(:,i)=diag(z);

[0033] Generate a diagonal matrix and store it in t1:

[0034] t1{i}=diag(t(:,i));

[0035] (4): Generate kp synthetic samples:

[0036]

[0037] (5): Find the minimum norm number between each synthetic sample and all other samples:

[0038]

[0039] m1(i,j1)=min(nn1);

[0040] (6): Rearrange in ascending order according to the calculation results

[0041] (7): Select the best synthetic sample and return it

[0042] 2.2SMDU downsampling algorithm

[0043] In our invention, we proposed a downsampling algorithm called SMDU for synthesizing multi-label data. The goal of the SMDU downsampling algorithm is to balance the class ratio in the dataset by reducing the number of samples of the majority class.

[0044] Algorithm flow:

[0045] Input: Original training samples of class g: The number of samples per class: n g

[0046] Output: M after undersampling k Training samples:

[0047] (1): Original training samples of the input class, number of samples.

[0048] (2): Use the formula: A-1, C-2, G-3, T-4 to encode the sequence, standardize the matrix of each class, and standardize each column.

[0049] (3): Normalize x g All columns of the matrix.

[0050] w(i,k)=x g (i,k) / n g

[0051] For each sample i, normalize all columns of the matrix xg to obtain the transformation matrix w:

[0052] w(i,k)=x g (i,k) / max(x g (:,k))

[0053] (4): Calculate the Mahalanobis distance between samples and construct a distance matrix.

[0054] D1 = pdist(w,"mahal");

[0055] D = squareform(D1);

[0056] (5): Ignore the self-distance and set the diagonal elements to zero.

[0057] D(i,j)=0;

[0058] (6): Extract non-zero distances and sort them in ascending order.

[0059] D1 = nonzeros(D);

[0060] D2=sort(D1,'ascend');

[0061] (7): Select the most similar sample pairs. Delete one of the samples in each pair to reduce the number of samples.

[0062] (8): Calculate and return the undersampled samples

[0063] The third step, in this stage, the present invention builds a powerful and robust multi-label classification model based on the AlexNet transfer learning method. The whole process involves feature extraction of input data and training of output layer classifiers to optimize overall prediction performance. This stage mainly includes two steps: construction of a migration model based on AlexNet and optimization of MLP (multi-layer perceptron) classifier configuration.

[0064] 3.1 Transfer learning model construction

[0065] Transfer learning allows a model developed for one task to be reused as the starting point of a model for another task and saves the significant computational and time resources required to train a neural network. In this study, the AlexNet model trained on the Computer Vision Challenge with the ImageNet dataset was used to transfer the application to the subcellular localization dataset for retraining (fine-tuning).

[0066] 3.1.1 Data Preparation for Transfer Learning

[0067] First, each sample in the training and test data is converted into an image and then input into the input layer of the AlexNet network.

[0068] 3.1.2 Transfer Learning Downstream Task Transformation

[0069] In order to increase the diversity of the model, the present invention introduces a multilayer perceptron (MLP) as another base classifier. Multilayer perceptron (MLP) is a feedforward neural network that increases the depth and nonlinearity of the model by introducing one or more hidden layers in the network, enabling it to learn more complex data representations. MLP includes an input layer, several hidden layers, and an output layer. Each layer consists of multiple neurons, and the neurons between adjacent layers are connected by weights. For a given input data X, the network generates an output Y through forward propagation. The formula for forward propagation is:

[0070] a [l] =σ(W [l] a [l-1] +b [l] )

[0071] Among them: a [l] Represents the activation value of the lth layer. For the input layer, a [0] =X.W [l] and b [l] Represent the weights and biases of the lth layer respectively. σ is the activation function, such as Sigmoid or ReLU. MLP uses the back-propagation algorithm to calculate the gradient of the loss function with respect to the weights, and uses these gradients to update the weights to reduce the loss. The weight update formula is:

[0072]

[0073]

[0074] Here, α is the learning rate.

[0075] Load the trained network and resize the dataset images to the same size as the network. For the 1000-category classification task, the newly loaded data is not needed, so the last three layers of AlexetNet must be re-adjusted for the new classification problem.

[0076] The transformation steps are as follows:

[0077] (1) Extract all layers except the last three layers;

[0078] (2) Transfer the extracted layers to the new task and replace the last three original layers with a fully connected layer, a softmax layer, and a classification output layer;

[0079] (3) According to our new data, configure the new fully connected layer parameters as follows:

[0080] fullyconnectedlayer(class, 'WeightLearnRateFactor', 20, 'BiasLearnRateFactor', 20).

[0081] (4) Set the hyperparameters of model training ops = trainingOptions('sgdm', 'InitialLearnRate', 0.0001, 'ValidationData', augimdsTest, 'Plots', 'training-progress', 'MiniBatchSize', 4, 'MaxEpochs', 3, 'ValidationPatience', Inf, 'Verbose', false);

[0082] 3.2 Initialize the model and start training

[0083] Initialize the weights of the output layer to random values, but keep the weights of other layers the same as the initially trained weights. Start training on the two constructed datasets separately

[0084] 3.3 Model Validation

[0085] The optimal model is selected based on five-fold cross validation and five evaluation indicators (Aiming, Coverage, Accuracy, Absolute_True, Absolute_False). The model effect is tested on an independent test set to obtain the evaluation indicators of the independent test results.

[0086] Step 4: Interpretable Analysis

[0087] 4.1 SHAP algorithm

[0088] SHAP is a classic post-attribution explanation framework that performs detailed attribution analysis on the model prediction results by calculating the average marginal contribution of each feature when it is added to the model. By providing each feature with an importance score, the Shapley value, the contribution of each feature to the model prediction results can be quantified, helping researchers understand the impact of each feature on the model. In the SHAP algorithm, all features are considered "contributors", and the Shapley value of each "contributor" is calculated to measure its impact on the final output value. The formula is as follows:

[0089] y i =y base +f(x i,1 )+f(x i,2 )+…+f(x i,k )

[0090] Where: represents the kth feature of the i-th sample; f(x i,k ) represents x i,k Shapely value, y base Represents the baseline of the entire model; y i represents the predicted value of the i-th sample. Intuitively, when f(x i,k )>0 indicates that the feature has a positive effect on the prediction result; on the contrary, when f(x i,k )<0, it means that the feature has a reverse effect on the prediction result.

[0091] 4.2 Feature Importance Calculation

[0092] The complex nature and numerous parameters in deep learning models pose a significant challenge to understanding their inner workings. To address this issue, a game-theoretic method for machine learning interpretability called SHAP (SHapley Additiveexplained) is introduced. SHAP values ​​are assigned to individual features, effectively quantifying their impact on the model's predictions, thereby facilitating a deeper understanding of the model's decision-making process. Therefore, we use the SHAP library to generate waterfall charts, histograms, and bee swarm charts to deeply analyze the 4096 features present in the "fc7" layer of the AlexNet network to explain the impact of these features on the predictions.

[0093] Beneficial effects of the present invention:

[0094] (1) Unlike many traditional methods that can only predict the subcellular localization of one position, the present invention achieves effective prediction of the multi-label subcellular localization of mRNA.

[0095] (2) This paper proposes effective MDNDO and SMDU resampling techniques to greatly solve the data imbalance problem and improve the model generalization performance

[0096] (3) The present invention innovatively combines image information, RNA sequence NC terminal information and transfer learning methods, significantly improving the accuracy of prediction results.

[0097] (4) In the problem of sequence analysis, the present invention applies the SHAP algorithm for the first time to perform interpretability analysis on the test results and proves the effectiveness of feature extraction through transfer learning. BRIEF DESCRIPTION OF THE DRAWINGS

[0098] Figure 1 It is the overall framework diagram of the present invention.

[0099] Figure 2 It is a comparison chart of the sampling method used in the present invention and other sampling methods on data set 1.

[0100] Figure 3 It is a comparison chart of the sampling method used in the present invention and other sampling methods on data set 2.

[0101] Figure 4 It is the prediction result of the interception sequence of different values ​​of the NC end on the data set 1 of the present invention.

[0102] Figure 5 It is the prediction result of the interception sequence of different values ​​of the NC end on the data set 2 of the present invention.

[0103] Figure 6 The present invention applies the SHAP algorithm to analyze the features of category 2 on data set 1.

[0104] Figure 7 This is a histogram of the present invention applying the SHAP algorithm to analyze features for category 2 on data set 1.

[0105] Figure 8 The present invention applies the SHAP algorithm on data set 1 to analyze the features of category 2 in the honeycomb diagram.

[0106] Fig. 9 The present invention applies the SHAP algorithm to analyze the features of category 8 on data set 2.

[0107] Fig.10 This is a histogram of category 8 in which the present invention applies the SHAP algorithm to analyze features on dataset 2.

[0108] Fig.11 This is a honeycomb diagram of category 8 in which the present invention applies the SHAP algorithm to analyze features on dataset 2. DETAILED DESCRIPTION

[0109] The present invention is described in detail below with reference to the accompanying drawings and embodiments.

[0110] The present invention implements a multi-label subcellular localization prediction model of mRNA based on AlexNet transfer learning, and its structure is as follows: Figure 1 As shown in the figure. The first step is to divide the data into training set and test set, with a division ratio of 9:1, where data set 1 contains 16 categories and data set 2 contains 18 categories. The second step is to convert the divided data and convert the data into images using a python script. By comparing various indicators, when 35 nucleotides are intercepted at the NC end, each indicator reaches the best, as shown in the figure. Figure 4 and Figure 5 The following are the prediction results of the present invention when the NC end is intercepted to different lengths on dataset 1 and dataset 2. The third step is to use the MDNDO-SMDU resampling technology to balance the number of categories in the dataset, such as Figure 2 and Figure 3As shown, it is a comparison chart of the sampling method used in the present invention and other sampling methods on data set 1 and data set 2. The fourth step is to build a transfer learning network suitable for the present invention based on AlexNet. The fifth step is to use the divided test set to compare COV (coverage), AIM (hit rate), ACCURACY (accuracy), AT (complete correctness), AF (complete error rate) to pre-select the model with the highest indicators, and finally use the divided independent test set to verify the model.

[0111] The above processes work together to form a well-structured, highly accurate, and efficient classifier, which, combined with the model and predictor provided by the present invention, can effectively achieve subcellular multi-label prediction.

[0112] Please see the following implementation example for details:

[0113] Example 1: Data preprocessing and image conversion

[0114] In this step, we first preprocessed the raw data in detail, including removing outliers, standardizing data, filling missing values, etc. This ensures the quality and consistency of the input data and provides a reliable foundation for subsequent model training. Next, we convert the preprocessed data into image form. Specifically, we encode the sequence information of each mRNA into the pixel value of the image, where different nucleotides or amino acids correspond to different colors or grayscale values. Such an image representation can retain the spatial structural characteristics of the sequence information, which is conducive to the learning and reasoning of the deep learning model.

[0115] Example 2: Sample balancing technique

[0116] In order to solve the problem of class imbalance in the dataset, we adopted a resampling technique called MDNDO-SMDU. This technique first uses multidimensional normalized distance optimization (MDNDO) to calculate the similarity between samples, and then uses the single model single sample undersampling (SMDU) method to resample the samples. This ensures that the number of samples in each category is relatively balanced, avoids the deviation caused by the imbalance of the number of samples in the model, and improves the generalization ability and prediction performance of the model.

[0117] Example 3: Deep transfer learning model construction

[0118] We used deep transfer learning technology to build the prediction model MSlocPRED. This technology transfers the knowledge of the source domain to the target domain by pre-training on the source domain (such as dataset 1) and then fine-tuning on the target domain (such as dataset 2), thereby improving the performance and generalization ability of the model. Specifically, we used a deep learning architecture based on convolutional neural network (CNN) to achieve accurate prediction of multi-label subcellular localization of mRNA through multi-level feature extraction and representation learning.

[0119] Example 4: Model interpretation and evaluation

[0120] In order to better understand the prediction process of the model and evaluate its reliability and interpretability, we use SHAP (SHapley Additive exPlanations) technology to explain the model. This technology is based on the idea of ​​game theory and can explain the prediction results of the model and reveal the contribution of each input feature to the prediction results. By explaining the model prediction process, users can understand the working principle of the model and improve their trust and understanding of the prediction results.

[0121] Example 5: Performance Evaluation and Comparison

[0122] In order to evaluate the performance of the prediction model MSlocPRED and compare it with existing prediction tools, we conducted a series of experiments and tests. First, we tested the model independently and applied it to a new dataset for validation. Second, we used a 5-fold cross-validation method and conducted multiple experiments on different data subsets to evaluate the robustness and generalization ability of the model. The experimental results show that MSlocPRED performs significantly better than existing tools in multi-label mRNA subcellular localization prediction, with higher accuracy and generalization ability.

Claims

1. A multi-label subcellular localization prediction method based on deep transfer learning, characterized in that the steps are as follows: Step 1: Data processing; this stage includes the division of training data and test data and the conversion of data formats; 1.1 Dataset processing method 1.2 Data Conversion The first 35 and last 35 nucleotides of the sequence were intercepted as image inputs to extract features through a manually written python script; The second step includes two steps: upsampling using MDNDO and downsampling based on SMDU; 2.1 MDNDO upsampling algorithm Input: Original k-class training samples: The number of samples per class: n k Output: Synthesized M k Training samples: (1): First, input the original training sample of the kth category and the number of samples of the kth category, and encode the sequence based on A-1, C-2, G-3, and T-4. (2): Calculate the diagonal matrix of the covariance matrix of each sample: b = size(c, 2); z = zeros(b,b); m = zeros(2*b,1); (3): Calculate the z matrix and use the multidimensional normal distribution to synthesize samples. The z matrix represents the autocorrelation matrix (correlation coefficient matrix) of x, c(j1) represents the mean of the data to be generated, and 0.05 represents its probability factor: z(j1,j2)=0.05*(c(j1))^2; Extract the diagonal elements of the z matrix and assign them to the i-th column of the t matrix: t(:,i)=diag(z); Generate a diagonal matrix and store it in t1: t1{i}=diag(t(:,i)); (4): Generate kp synthetic samples: (5): Find the minimum norm number between each synthetic sample and all other samples: m1(i,j1)=min(nn1); (6): Rearrange in ascending order according to the calculation results (7): Select the best synthetic sample and return it 2.2SMDU downsampling algorithm Input: Original training samples of class g: The number of samples per class: n g Output: M after undersampling k Training samples: (1): original training samples of the input class, number of samples; (2): Use the formula: A-1, C-2, G-3, T-4 to encode the sequence, standardize the matrix of each class, and standardize each column; (3): Normalized X g All columns of a matrix; w(i,k)=X g (i,k) / n g For each sample i, the normalized matrix X g All columns of , get the transformation matrix w: w(i,k)=X g (i,k) / max(X g (:,k)) (4): Calculate the Mahalanobis distance between samples and construct the distance matrix; D1 = pdist(w,"mahal"); D = squareform(D1); (5): Ignore the self-distance and set the diagonal elements to zero; D(i,j)=0; (6): Extract non-zero elements and sort them in ascending order; D1 = nonzeros(D); D2=sort(D1,'ascend'); (7): Select the most similar sample pairs; delete one of the samples in each pair to reduce the number of samples (8): Calculate and return the undersampled samples The third step is to build a powerful and robust multi-label classification model based on the AlexNet transfer learning method. The whole process involves feature extraction of input data and training of output layer classifiers to optimize the overall prediction performance. Step 4: Interpretable Analysis 4.1 SHAP algorithm In the SHAP algorithm, all features are considered "contributors", and their impact on the final output value is measured by calculating the Shapley value of each "contributor". The formula is as follows: y i =y base +f(x i,1 )+f(x i,2 )+…+f(x i,k ) Where: represents the kth feature of the i-th sample; f(x i,k ) represents x i,k Shapely value, y base Represents the baseline of the entire model; y i represents the predicted value of the i-th sample; intuitively, when f(x i,k )>0 indicates that the feature has a positive effect on the prediction result; on the contrary, when f(x i,k )<0, it means that the feature has a reverse effect on the prediction result; 4.2 Feature Importance Calculation.

2. The multi-label subcellular localization prediction method based on deep transfer learning according to claim 1, characterized in that: In the step 1.1, the specific operations are as follows: For dataset 1, there are a total of 7 labels as positions to be predicted, divided into 16 categories; for dataset 2, there are a total of 9 labels as positions to be predicted, divided into 18 categories; 90% of the two datasets are taken as training samples, and 10% are taken as test samples to train two prediction models.

3. The multi-label subcellular localization prediction method based on deep transfer learning according to claim 1 or 2, characterized in that: The third step includes building a migration model based on AlexNet and MLP; 3.1 Transfer learning model construction The AlexNet model trained on the Computer Vision Challenge using the ImageNet dataset was used to transfer the application to the subcellular localization dataset for retraining; 3.2 Initialize the model and start training Initialize the weights of the output layer to random values, but keep the weights of other layers the same as the initially trained weights; start training on the two constructed datasets separately 3.3 Model Validation The optimal model is selected based on five-fold cross-validation and five evaluation indicators (Aiming, Coverage, Accuracy, Absolute_True, Absolute_False); the model effect is tested on an independent test set to obtain the evaluation indicators of the independent test results.

4. The multi-label subcellular localization prediction method based on deep transfer learning according to claim 3, characterized in that: In the above-mentioned Section 3.1, the specific operations are as follows: 3.1.1 Data Preparation for Transfer Learning First, each sample in the training and test data is converted into an image, and then input into the input layer of the AlexNet network; 3.1.2 Transfer Learning Downstream Task Transformation MLP consists of an input layer, several hidden layers, and an output layer; each layer consists of multiple neurons, and the neurons between adjacent layers are connected by weights; for a given input data X, the network generates output Y through forward propagation; the formula for forward propagation is: a [l] =σ(W [l] a [l-1] +b [l] ) Among them: a [l] Represents the activation value of the lth layer. For the input layer, a [0] =X;W [l] and b [l] Represent the weight and bias of the lth layer respectively; σ is the activation function, such as Sigmoid or ReLU; MLP uses the back-propagation algorithm to calculate the gradient of the loss function with respect to the weight, and uses these gradients to update the weight to reduce the loss; the weight update formula is: Among them, α is the learning rate; Load the trained network and resize the dataset images to the same size as the network; for the 1000-category classification task, no newly loaded data is needed, so the last three layers of Alexnet must be re-adjusted for the new classification problem. The transformation steps are as follows: (1) Extract all layers except the last three layers; (2) Transfer the extracted layers to the new task and replace the last three original layers with a fully connected layer, a softmax layer, and a classification output layer; (3) According to our new data, configure the new fully connected layer parameters as follows: fullyconnectedlayer(class,'WeightLearnRateFactor',20,'BiasLearnRateFactor',20); (4) Set the hyperparameters of model training ops = trainingOptions('sgdm', 'InitialLearnRate', 0.0001, 'ValidationData', augimdsTest, 'Plots', 'training-progress', 'MiniBatchSize', 4, 'MaxEpochs', 3, 'ValidationPatience', Inf, 'Verbose', false) respectively.

5. The multi-label subcellular localization prediction method based on deep transfer learning according to claim 1, 2 or 4, characterized in that: In step 4.2, the specific operations are as follows: The SHAP library is used to generate waterfall plots, histograms, and beeswarm plots to deeply analyze the 4096 features present in the "fc7" layer of the AlexNet network to explain the impact of these features on the prediction results.

6. The multi-label subcellular localization prediction method based on deep transfer learning as claimed in claim 3, characterized in that: In step 4.2, the specific operations are as follows: The SHAP library is used to generate waterfall plots, histograms, and beeswarm plots to deeply analyze the 4096 features present in the "fc7" layer of the AlexNet network to explain the impact of these features on the prediction results.