The invention discloses a cross-subject electroencephalogram
emotion recognition method and
system based on dynamic domain invariant representation decoupling and recombination, and belongs to the technical field of
artificial intelligence. The invention provides a non-personalized decoupling and recombination framework for cross-subject electroencephalogram
emotion recognition, and aims to separate emotion-related individual invariant features from cross-subject individual invariant features through complex electroencephalogram
signal characterization obtained through dynamic decoupling, so that individual differences are eliminated while
emotion classification performance is guaranteed. Specifically, the method comprises the following steps: carrying out original
EEG data analysis and preprocessing by using
MATLAB and Python MNE libraries;
frequency spectrum and space features of EEG signals are extracted through a multi-channel
frequency spectrum space self-attention mechanism module, and capture of emotional features is enhanced in combination with a self-attention mechanism and a cross-attention mechanism; a joint distribution alignment method based on a category prototype is adopted, and decoupled feature distribution is optimized, so that invariant features in subjects and invariant features among subjects have higher distinction degree in
emotion classification; the optimized decoupling features are recombined through a
linear network, the two features are coordinated to perform more sufficient emotion representation extraction, and
emotion classification is performed through a multi-layer
perceptron. According to the method, excellent cross-subject
emotion recognition performance is obtained on multiple data sets, and the emotion recognition rate of the electroencephalogram signals in a cross-subject scene can be effectively improved.