The invention relates to the technical field of
protein engineering and
bioinformatics, and particularly provides a
protein fitness prediction method and device, a terminal and a storage medium, and the method comprises the steps: extracting a wild-type sequence-level representation and a
mutant-type sequence-level representation through a pre-trained
protein language model, and calculating a representation
difference vector between the wild-type sequence-level representation and the
mutant-type sequence-level representation; deducing co-evolution
coupling information from the multi-
sequence comparison information, and constructing paired evolution constraint information reflecting a spatial proximity relationship; further modeling interaction between the characterization
difference vector and the paired evolution constraint information through an attention mechanism, enabling the paired co-evolution information to guide propagation and weighting of the characterization
difference vector among residues, and generating enhanced characterization; and inputting the enhanced representation into a downstream prediction head, and outputting a
scalar value as a fitness prediction result through regression. According to the method,
interactive modeling is carried out on the sequence-level difference vector and the paired evolution constraints, so that the non-additive effect between
mutation is accurately captured under the condition of not depending on any experimental structure.