The invention relates to the technical field of
data processing, and discloses a multi-
modal attention
deep learning method for enhancing
virus recognition in metagenome data, which comprises five main steps of data preprocessing, sequence embedding, multi-
modal feature extraction,
dynamic feature fusion and prediction, and hyper-parameter tuning and training. The method comprises the following steps: respectively extracting graph structure features, potential features, spatial-temporal features and global features of a sequence through four model paths, namely GAT, an auto-
encoder, a convolutional long-short-
term memory network and Transform, introducing the graph structure features, the potential features, the spatial-temporal features and the global features into a self-attention mechanism, adaptively adjusting the contribution weight of each path according to the features of an input sequence, carrying out sequence embedding by utilizing the GAT and the auto-
encoder, and carrying out sequence embedding by utilizing the GAT and the auto-
encoder. Capturing a long-distance dependency relationship and potential features, adopting ConvLSTM and Transform model paths, extracting space-time and global features, and performing hyper-parameter tuning and training strategy optimization; according to the method, the
virus sequence recognition capability is improved, meanwhile, the accuracy of
feature fusion is improved, and the performance and robustness of the model are further improved.