The invention provides an EEG self-supervised representation learning method based on a potential
diffusion model, and the method comprises the steps: carrying out the preprocessing of a multi-channel EEG original
signal, and segmenting the multi-channel EEG original
signal into a plurality of EEG samples; each EEG sample and a channel enhancement
signal thereof are input into an EEG
encoder to generate an EEG representation, and the channel enhancement comprises zero
mask and
amplitude scaling; performing
principal component analysis (PCA)
processing on the EEG sample, and mapping the EEG sample to a
potential space with a high signal-to-
noise ratio to obtain a potential representation; the potential representation is input into a conditional
diffusion model, the conditional
diffusion model conducts conditional guidance based on the
noise time step and the EEG representation, reconstructed potential representation is generated through the denoising process, the reconstructed potential representation is mapped back to an original space through inverse PCA, and a reconstructed EEG signal is obtained. In the tasks of
anomaly detection,
event type classification and the like, the EEG self-supervised representation learning model based on the potential diffusion model provided by the invention obtains the performance equivalent to that of the most advanced method with less pre-training data, and shows the advantages of the model in the aspect of EEG
signal reconstruction.