The invention discloses a few-sample
underwater acoustic target recognition method based on weighted mixing generation and adversarial
domain adaptation. The method comprises the following steps: step 1, carrying out category balance operation based on weighted mixing on an original
signal; 2, extracting a Mel power spectrum of the
underwater acoustic
signal through short-time
Fourier transform and Mel filtering; step 3, performing further enhancement operations such as masking on the obtained Mel power spectrum so as to improve the generalization ability; 4, performing
feature extraction on information in the
frequency spectrum by using an
encoder based on a
convolutional neural network; step 5; classifying the extracted features by using a
linear classifier, and calculating loss based on a
classification result for training; step 6, performing
feature extraction on the unlabeled data and the training data of the target domain by using the pre-trained
convolutional neural network; step 7, trying to distinguish data sources by using a
discriminator realized based on a multi-layer
perceptron; 8, calculating the loss of an output result of the
discriminator, and carrying out the adversarial
domain adaptation fine tuning of the pre-trained
convolutional neural network according to the result; 9, carrying out the test
verification through employing the fine-tuned
convolution to cooperate with a pre-trained
linear classifier; and step 10, storing the trained model and performing deployment.