The invention discloses a method for improving the generalization ability of an emotion recognition system, and the method comprises the following steps: 1, collecting an electroencephalogram signal: collecting the electroencephalogram signal, and making the electroencephalogram signal into a 310-dimensional vector sample; step 2, establishing an emotion recognition model: firstly mapping 310-dimensional electroencephalogram features into 256 dimensions, then mapping the 310-dimensional electroencephalogram features into 128 dimensions, and respectively inputting four branches: an emotion classification branch, an age regression branch, a gender classification branch and a number classification branch; the gender, age and serial number information of the trainee are input, emotional response is induced through external stimulation, electroencephalogram signals are collected and input into the model to obtain the gender, age and serial number information, and the obtained information and the input information of the trainee are subjected to pairing training; and 4, inputting a to-be-tested sample into the model, and outputting corresponding emotion, age, gender and serial number by the model. The method has the advantages that the cross-testee adaptive capacity of the model can be improved on the premise that a pre-experiment is not carried out, and the generalization capacity of the model can be effectively improved.
Method for improving generalization ability of emotion recognition system