The application relates to the technical field of
data processing, and discloses a multi-
modal attention
deep learning method for enhancing
virus identification in metagenomic data, which comprises five main steps of data preprocessing, sequence embedding, multi-
modal feature extraction,
dynamic feature fusion and prediction, and
hyperparameter optimization and training; through four model paths of GAT, a self-
encoder, a convolutional long short-
term memory network and a
Transformer, the graph structure features, the latent features, the space-time features and the global features of sequences are respectively extracted, the self-attention mechanism is introduced, the contribution weights of the paths are adaptively adjusted according to the features of the input sequences, the sequence embedding is carried out by using the GAT and the self-
encoder, the long-distance dependence relationship and the latent features are captured, the space-time and global features are extracted by using the ConvLSTM and the
Transformer model paths, and the
hyperparameter optimization and the training strategy optimization are carried out; the application improves the
virus sequence identification capability, improves the
feature fusion accuracy, and further improves the performance and the robustness of the model.