This application provides a cross-subject EEG
emotion recognition method based on similarity-based dynamic cue routing, belonging to the field of EEG
emotion recognition technology. The method includes: acquiring target domain samples and multiple source domain samples formed from subject
EEG data and mapping them to target shared latent representation and multiple source domain shared latent representations, respectively; injecting corresponding source domain cue vectors into the source domain shared latent representation of each source domain to obtain enhanced source domain feature representations of multiple source domains; calculating the similarity between each source domain cue vector and the target shared latent representation, converting each vector similarity into sample-level source domain routing weights, and weighting and combining each source domain cue vector to generate dynamic cue; injecting the dynamic cue into the target shared latent representation to obtain enhanced target feature representations; and inputting the enhanced source domain feature representations and enhanced target feature representations of multiple source domains into a multi-
branch neural network to
train and construct an
emotion recognition model.