The invention relates to the technical field of
signal detection and analysis, and discloses a method for enhancing the generalization of an
atrial fibrillation detection
algorithm in combination with a GPT model, and the method comprises the following steps: S1,
feature extraction: carrying out the multi-scale
frequency domain decomposition of an input
ECG signal through
wavelet transform; a multi-head attention mechanism fused with
Gaussian distribution is introduced, subspace feature expression is constructed, and multi-scale time-frequency features are obtained; s2, generalization enhancement is carried out, an
atrial fibrillation model is constructed, dynamic
sequence modeling and feature enhancement are carried out through a transfer learning mode and multi-scale time-frequency features, capturing of long-range dependence and tiny anomalies is achieved,
fine tuning training is carried out in combination with
atrial fibrillation detection task features, and a trained atrial
fibrillation model is obtained; and S3, outputting a result, and outputting an atrial
fibrillation detection result through the trained atrial
fibrillation model. According to the electrocardiosignal atrial fibrillation detection strategy combining the large
language model pre-training technology and the
time sequence feature modeling method, the generalization ability and the detection precision of the model in diversified real scenes are improved.