Marine passive sound signal identification method based on lightweight convolutional neural network
Through a lightweight first-order fully convolutional neural network based on attention optimization, the time-frequency characteristics of ocean passive acoustic signals are extracted and the low-frequency characteristics are amplified, which solves the problem of low accuracy of underwater acoustic signal recognition in complex ocean environments and achieves High accuracy and real-time recognition capabilities.
Patent Information
- Application Number
- CN202410817083.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-24
AI Technical Summary
Existing underwater acoustic signal recognition methods have low recognition accuracy in complex marine environments, rely on manual observation and cannot identify in real time. It is difficult for traditional methods to effectively extract the time-frequency characteristics of underwater acoustic signals, especially low-frequency local features.
A lightweight first-order fully convolutional neural network based on attention optimization is used to extract the time-frequency characteristics of ocean passive acoustic signals through a multi-scale feature extraction module and a feature fusion module, and a low-frequency feature amplification module is added to construct full-band and low-frequency Signal recognition model realizes multi-target recognition and frequency information extraction of signals.
It improves the recognition accuracy of underwater acoustic signals and enhances the recognition ability of low-frequency signals. It can accurately identify small target signals in multi-target and wide-band scenarios, and generate signal category and frequency information in real time.
Smart Images

Figure CN118571218A
Abstract
Description
Technical Field
[0001] The invention relates to a signal recognition method in the field of underwater acoustic signal processing, and in particular to an ocean passive acoustic signal recognition method based on a lightweight convolutional neural network. Background Art
[0002] As human beings continue to develop the ocean, collecting and analyzing a large amount of ocean data in a complex ocean environment and transmitting it quickly and reliably have become necessary means of ocean development. As the main carrier of ocean information, acoustic signals include ocean background noise, active sonar signals, underwater acoustic communication signals, ship radiation noise, marine animal signals and other types. Their detection and identification are of great significance for ensuring marine safety and protecting marine animals.
[0003] The recognition of underwater acoustic signals is divided into two modules: feature extraction and signal recognition. For the feature extraction module, the features should be extractable and distinguishable. Fourier transform is the most commonly used technology for extracting frequency domain features, and it is also a bridge for establishing the time domain and frequency domain features of signals; however, there are many non-stationary signals in underwater acoustic signals, and it is impossible to complete the recognition of such signals by only extracting frequency domain features. Therefore, the time domain and frequency domain features are combined and transformed and mapped to the two-dimensional time-frequency space to obtain a time-frequency spectrum in the form of a time-frequency-energy function triple structure, which can not only provide time domain and frequency domain information, but also reflect the local change characteristics of the signal. The most commonly used time-frequency feature extraction method is short-time Fourier transform.
[0004] Signal recognition module, traditional signal recognition methods include decision trees, naive Bayes, support vector machines and other methods. Such methods are subject to many conditions and have low recognition accuracy in complex underwater acoustic channels. Therefore, in practice, existing underwater target recognition methods are still based on manual observation and listening to the audio and image signals received by underwater acoustic signal equipment, and on this basis, manual recognition is completed in combination with accumulated experience. However, it costs a lot to train excellent recognition personnel, and it is difficult to train them. The completion of recognition work mainly depends on subjective judgment, and real-time judgment is impossible. The deep learning method based on convolutional neural network can better extract deep features and has been widely used in the field of target detection and recognition. Therefore, it is necessary to develop an intelligent recognition method for passive ocean acoustic signals that fully considers the characteristics of various types of underwater acoustic signals and is suitable for complex underwater acoustic channels. Summary of the invention
[0005] In order to overcome the shortcomings of the prior art, the present invention provides a method for identifying passive ocean acoustic signals based on a lightweight convolutional neural network. An attention-optimized lightweight first-order fully convolutional network is used to extract key features with high discrimination and good generalization in the target samples to be identified, and low-frequency local features are amplified to enhance the ability to extract low-frequency features, thereby realizing the detection and identification of underwater acoustic signals.
[0006] The purpose of the present invention is achieved through the following technical solutions.
[0007] 1. A method for ocean passive acoustic signal recognition based on lightweight convolutional neural network
[0008] Step 1: Use sonar signal data to construct an ocean passive acoustic signal dataset containing signal time-frequency spectrum characteristics;
[0009] Step 2: Build a lightweight first-order fully convolutional detection network based on attention optimization. Use the image recognition dataset to pre-train the lightweight first-order fully convolutional detection network based on attention optimization. Then use the ocean passive sound signal dataset to re-train the pre-trained lightweight first-order fully convolutional detection network to obtain a full-band signal recognition model.
[0010] Step 3: Use the sonar signal data to construct a low-frequency sound signal dataset containing low-frequency band time-frequency features, and use the low-frequency sound signal dataset to train the full-band signal recognition model to obtain a low-frequency signal recognition model;
[0011] Step 4: Input the sound signal to be identified into the full-band signal recognition model and the low-frequency signal recognition model respectively, and the models output the full-band signal recognition results and the low-frequency signal recognition results respectively; generate the final sound signal recognition results based on the full-band signal recognition results and the low-frequency signal recognition results.
[0012] The lightweight first-order fully convolutional detection network based on attention optimization includes an attention-based multi-scale feature extraction module, a feature fusion module and a detection head which are connected in sequence.
[0013] The attention-based multi-scale feature extraction module includes a connected attention module and a multi-scale feature extraction backbone network, the multi-scale feature extraction backbone network is connected to the feature fusion module, wherein the attention module includes a connected spatial attention layer and an unsupervised three-dimensional attention layer, and the unsupervised three-dimensional attention layer is connected to the multi-scale feature extraction backbone network.
[0014] The feature fusion module is a feature pyramid structure.
[0015] In the step four, the signal category and start and end frequency information of the sound signal to be identified are calculated based on the full-band signal recognition result, and the signal category and start and end frequency information of the sound signal to be identified are calculated based on the low-band signal recognition result. The signal category and start and end frequency information corresponding to the two recognition results are fused to obtain the final sound signal recognition result.
[0016] In the step three, the step of extracting low-frequency band time-frequency features from the sonar signal data includes signal windowing and framing, Fourier transform, low-frequency bandwidth extraction, sound pressure level conversion and data normalization.
[0017] 2. A computer device
[0018] The device comprises a memory and a processor, wherein the memory stores a computer program, and the steps of the method are implemented when the processor executes the computer program.
[0019] 3. A computer-readable storage medium
[0020] The medium stores a computer program, which implements the steps of the method when executed by a processor.
[0021] IV. A COMPUTER PROGRAM PRODUCT
[0022] The product comprises a computer program / instructions which, when executed by a processor, implement the steps of the method.
[0023] The beneficial effects of the present invention are:
[0024] 1. The present invention uses a first-order fully convolutional detection network, which can not only identify the category of the target signal and obtain the signal duration and frequency information, but also is suitable for multi-target and wide-band scenarios, and has a high recognition accuracy for small target signals.
[0025] 2. The present invention improves the network's ability to extract frequency information by introducing an optimized spatial attention mechanism module, thereby enhancing the recognition of underwater acoustic signals in different frequency bands.
[0026] 3. The present invention effectively improves the recognition capability of various low-frequency underwater acoustic signals by locally amplifying the low-frequency band time-frequency features and performing post-feature fusion. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0028] Figure 1 A schematic diagram of the process of the ocean passive acoustic signal recognition method based on a lightweight convolutional neural network proposed in the present invention;
[0029] Figure 2 A schematic diagram of a lightweight first-order fully convolutional network structure adopted by the present invention;
[0030] Figure 3 This is a schematic diagram of the information fusion strategy of the low-frequency signal recognition model recognition results and the full-band signal recognition model recognition results proposed by the present invention. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical solution and advantages of the implementation of the present invention clearer, the technical solution in the embodiment of the present invention will be described in more detail below with reference to the accompanying drawings in the embodiment of the present invention.
[0032] The present invention provides a method for identifying passive ocean acoustic signals based on a lightweight convolutional neural network. Figure 1 As shown, the present invention comprises the following steps:
[0033] Step 1: Use sonar signal data to construct an ocean passive acoustic signal dataset containing signal time-frequency spectrum characteristics; in this embodiment, all collected sonar signal data, public acoustic data sets and some simulation data are obtained. The sonar signal data includes multiple types of underwater acoustic signals such as communication signals, active sonar signals, marine animal signals and ship signals. The signal time-frequency spectrum characteristics corresponding to all the above signals are calculated to generate an ocean passive acoustic signal dataset.
[0034] Step 1 is as follows:
[0035] 1.1) Obtain data collected by underwater sonar equipment, including hydroacoustic communication signals, active sonar signals and ship radiation noise; obtain public data set data, including marine animal signals and ship radiation noise; and simulate and generate some hydroacoustic communication signals and active sonar signal supplementary data sets to balance the distribution of various signal samples.
[0036] 1.2) After pre-processing the above data, feature extraction is performed. The extraction of time-frequency spectrum features mainly consists of four steps: signal windowing and framing, Fourier transform, sound pressure level conversion, and data normalization. Finally, a tensor suitable for network model input is obtained. The window function, frame length, Fourier point number, and step size parameters are obtained based on actual conditions.
[0037] Step 2: Build a lightweight first-order fully convolutional detection network based on attention optimization. Use a public image recognition dataset to pre-train the lightweight first-order fully convolutional detection network based on attention optimization. Then use the ocean passive sound signal dataset to re-train the pre-trained lightweight first-order fully convolutional detection network to obtain a full-band signal recognition model.
[0038] like Figure 2 As shown, the lightweight first-order fully convolutional detection network based on attention optimization includes an attention-based multi-scale feature extraction module, a feature fusion module and a detection head connected in sequence.
[0039] The attention-based multi-scale feature extraction module includes a connected attention module and a multi-scale feature extraction backbone network, and the multi-scale feature extraction backbone network is connected to the feature fusion module, wherein the attention module includes a connected spatial attention layer and an unsupervised three-dimensional attention layer, and the unsupervised three-dimensional attention layer is connected to the multi-scale feature extraction backbone network.
[0040] The attention module consists of a spatial attention layer (SA-Module) and an unsupervised three-dimensional attention layer (SimAM). For the feature map F, the calculation process of the spatial attention layer is as follows:
[0041]
[0042] Among them, M space (F) represents the weight of the feature map on the spatial scale, M space (F)∈R H×W ,σ() represents the activation function sigmoid, f 7×7 () indicates a convolution with a kernel size of 7×7. Represents the feature map after average pooling in the channel dimension, Represents the feature map after maximum pooling in the channel dimension, H and W are the width and height of the feature map, respectively. AvgPool() represents the average pooling operation, and MaxPool() represents the maximum pooling operation.
[0043] ShuttleNetV2 is selected as the backbone network for multi-scale feature extraction. In order to increase the number of channels without significantly increasing the amount of calculation, ShuffleNetV2 adopts two technologies: point-by-point group convolution and bottleneck-like structure. In addition, ShuffleNetV2 introduces channel shuffling operation, which enables information exchange between channels in different groups and improves the network feature extraction capability.
[0044] The feature fusion module uses a lightweight feature pyramid structure that can transfer features from top to bottom or from bottom to top. For feature maps at different levels, high-level feature maps are upsampled using the neighboring interpolation method to fuse adjacent feature maps and complete the top-down feature transfer; the bottom-level feature maps are reduced in dimension through convolution to match the higher-level features.
[0045] The detection head selects each layer of features and uses a set of 5×5 depth-separable convolutions for calculation to obtain the results of bounding box regression and signal classification.
[0046] In this embodiment, a teacher-student model framework is used to train a lightweight first-order fully convolutional detection network based on attention optimization. The specific structures of the teacher model and the student model are both lightweight first-order fully convolutional detection networks based on attention optimization. The teacher model is used as a training auxiliary module. Unlike the student model structure, its detection head consists of four 3×3×256 convolutions, that is, the number of parameters of the teacher model is greater than that of the student model, and parameters are shared at different feature layers. During the training process, the inference results of the teacher model are used as soft labels to calculate the loss function, provide guidance for the training of the student model, and improve the training efficiency; and the training auxiliary module will be discarded after training, which will not affect the inference speed of the model. The trained student model is used as a signal recognition model.
[0047] Step 3: Due to the large number of low-frequency signals and interference, a low-frequency auxiliary recognition module is added to amplify the low-frequency local features to better identify low-frequency underwater acoustic signals. A low-frequency acoustic signal dataset containing low-frequency time-frequency features is constructed using sonar signal data. After training the full-band signal recognition model using the low-frequency acoustic signal dataset, a low-frequency signal recognition model is obtained, and the low-frequency signal recognition model is used as an auxiliary recognition module; wherein the low-frequency band is below 2k. Among them, the steps of extracting low-frequency time-frequency features of sonar signal data include signal windowing and framing, Fourier transform, intercepting low-frequency bandwidth, sound pressure level conversion and data normalization. Among them, the frame length and Fourier point number parameters select larger parameters to improve the frequency resolution; and the low-frequency feature dataset of the passive acoustic signal is obtained.
[0048] Step 4: Input the sound signal to be identified into the full-band signal recognition model and the low-frequency signal recognition model respectively, and the models output the full-band signal recognition results and the low-frequency signal recognition results respectively; generate the final sound signal recognition results based on the full-band signal recognition results and the low-frequency signal recognition results.
[0049] The final sound signal recognition result is generated according to the full-band signal recognition result and the low-band signal recognition result, specifically:
[0050] The signal category and start and end frequency information of the sound signal to be identified are calculated based on the full-band signal recognition result, and the signal category and start and end frequency information of the sound signal to be identified are calculated based on the low-band signal recognition result. The signal category and start and end frequency information corresponding to the two recognition results are fused to obtain the final sound signal recognition result, such as Figure 3 As shown in the figure, the fusion result is the union of the two. If the target signal is a low-frequency signal, the latter reasoning result shall prevail.
[0051] The format of the signal recognition result is [class,x c ,y c,width,height,score], class represents the signal category, x c ,y c The normalized horizontal and vertical coordinates of the center of the detection frame are represented respectively, width and height represent the normalized width and height of the detection frame respectively, and score represents the confidence score of the signal. The coordinates of the detection frame are transformed as follows to obtain the starting frequency f of the signal start and the stop frequency f end .
[0052] f start =(y c -height / 2)*f s / 2
[0053] f end =(y c +height / 2)*f s / 2
[0054] The above steps describe in detail how to start from obtaining the ocean passive acoustic signal dataset, build and train an attention-optimized lightweight first-order detection network, and add an auxiliary recognition module to finally achieve the recognition of underwater acoustic signals. This process involves multiple links such as data processing, feature extraction, network optimization, model training, and information fusion, each of which is aimed at improving the accuracy and efficiency of underwater acoustic signal recognition.
[0055] Finally, it should be noted that the above embodiments and explanations are only used to illustrate the technical solution of the present invention rather than to limit it. Those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope disclosed in the technical solution of the present invention, which should be included in the scope of protection of the claims of the present invention.
Claims
1. A method for identifying ocean passive acoustic signals based on lightweight convolutional neural networks. It is characterized in that The steps include: Step 1: Use sonar signal data to construct an ocean passive acoustic signal dataset containing signal time-frequency spectrum characteristics; Step 2: Build a lightweight first-order fully convolutional detection network based on attention optimization. Use the image recognition dataset to pre-train the lightweight first-order fully convolutional detection network based on attention optimization. Then use the ocean passive sound signal dataset to re-train the pre-trained lightweight first-order fully convolutional detection network to obtain a full-band signal recognition model. Step 3: Use the sonar signal data to construct a low-frequency sound signal dataset containing low-frequency band time-frequency features, and use the low-frequency sound signal dataset to train the full-band signal recognition model to obtain a low-frequency signal recognition model; Step 4: Input the sound signal to be identified into the full-band signal recognition model and the low-frequency signal recognition model respectively, and the models output the full-band signal recognition results and the low-frequency signal recognition results respectively; generate the final sound signal recognition results based on the full-band signal recognition results and the low-frequency signal recognition results.
2. According to claim 1, a method for identifying passive ocean acoustic signals based on a lightweight convolutional neural network, It is characterized in that The lightweight first-order fully convolutional detection network based on attention optimization includes an attention-based multi-scale feature extraction module, a feature fusion module and a detection head which are connected in sequence.
3. The method for identifying passive ocean acoustic signals based on a lightweight convolutional neural network according to claim 2, It is characterized in that The attention-based multi-scale feature extraction module includes a connected attention module and a multi-scale feature extraction backbone network, the multi-scale feature extraction backbone network is connected to the feature fusion module, wherein the attention module includes a connected spatial attention layer and an unsupervised three-dimensional attention layer, and the unsupervised three-dimensional attention layer is connected to the multi-scale feature extraction backbone network.
4. The method for identifying passive ocean acoustic signals based on a lightweight convolutional neural network according to claim 2, It is characterized in that The feature fusion module is a feature pyramid structure.
5. The method for identifying passive ocean acoustic signals based on a lightweight convolutional neural network according to claim 1, It is characterized in that In the step four, the signal category and start and end frequency information of the sound signal to be identified are calculated based on the full-band signal recognition result, and the signal category and start and end frequency information of the sound signal to be identified are calculated based on the low-band signal recognition result. The signal category and start and end frequency information corresponding to the two recognition results are fused to obtain the final sound signal recognition result.
6. The method for identifying passive ocean acoustic signals based on a lightweight convolutional neural network according to claim 1, It is characterized in that In the step three, the step of extracting low-frequency band time-frequency features from the sonar signal data includes signal windowing and framing, Fourier transform, low-frequency bandwidth extraction, sound pressure level conversion and data normalization.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer program product comprising a computer program / instructions, It is characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Passive underwater acoustic target recognition method based on multi-scale convolutional neural network
CN114299356A
Multi-scale time-frequency feature extraction-based whale sound signal identification method and system
CN115547347A
Multi-angle sonar image target classification method based on lightweight convolutional network
CN116343016A
Underwater acoustic signal noise reduction and recognition combined training method, system and equipment and medium
CN117765966A
Underwater target sound automatic classification method based on lightweight multi-scale convolution attention neural network
CN117831572A
Cited By
System and method for identifying panic stress of cage-rearing laying hens in intensive farm based on lightweight acoustic model
CN122435948A
