Real-time sound speed profile prediction method based on multimodal data fusion and self-attention

The SE-MDF-CNN model through multi-modal data fusion and self-attention mechanism solves the problem of traditional methods relying on sonar data, achieves real-time prediction of ocean sound velocity profile distribution, reduces cost and time requirements, and provides more Efficient sound velocity profile prediction effect.

CN118296556BActive Publication Date: 2024-08-23OCEAN UNIV OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410719206.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-08-23
Estimated Expiration
2044-06-05

AI Technical Summary

Technical Problem

The existing technology relies on sonar observation data when obtaining ocean sound velocity profile distribution, which makes it impossible to invert the sound velocity distribution in areas where it is inconvenient to deploy sonar systems. Moreover, traditional methods are time-consuming and costly, and are difficult to meet the needs of marine environment monitoring and submarines. Detection needs.

Method used

A real-time sound speed profile prediction method based on multi-modal data fusion and self-attention is used to construct the SE-MDF-CNN model by acquiring Argo grid data and remote sensing sea surface data, and combines the principal component characteristics of historical sound speed distribution with remote sensing sea temperature data. , establish the internal relationship of sound velocity profile distribution and achieve real-time prediction.

Benefits of technology

It gets rid of the dependence on sonar observation data and can quickly construct sound velocity profile distribution in a wider spatial area, with lower root mean square error (RMSE) and higher robustness, with the average RMSE reaching about 0.1m/s. , suitable for shallow sea and deep sea environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118296556B
    Figure CN118296556B
Patent Text Reader

Abstract

The present invention discloses a real-time sound speed profile prediction method based on multimodal data fusion and self-attention, which belongs to the field of ocean observation technology. The present invention first obtains the Argo grid data set and the remote sensing sea surface data set SST, and then grids the target sea area, and then constructs the sound speed profile EOF function, and fuses the SST data, the first three order EOF coefficients of the historical SSP, the historical temperature under the sea surface during the same period, and the longitude and latitude coordinate data; finally, the SE‑MDF‑CNN model is constructed and trained, and the model is used to output the distribution of SSP under the specified coordinates. The present invention gets rid of the dependence on sonar observation data; the present invention establishes the intrinsic relationship between the main component characteristics of the historical sound speed distribution and the remote sensing sea temperature data and the sound speed sampling space coordinates, and through real-time SST, the SSP distribution of the target area can be quickly constructed, which can be applied to a wider range of spatial areas.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of ocean observation, and in particular, relates to a real-time sound speed profile prediction method based on multimodal data fusion and self-attention. Background Art

[0002] Communication and positioning are two key technologies for underwater wireless systems such as ocean observation systems and underwater positioning, navigation and timing systems. Due to the influence of energy attenuation, sound waves are more suitable as carriers for long-distance underwater signal transmission than radio waves. However, due to the influence of temperature, salinity and static pressure, the distribution of underwater sound velocity is uneven, which brings great difficulties to accurate underwater ranging and positioning and effective use of communication energy. Therefore, obtaining real-time estimation of the sound velocity field distribution is crucial for underwater systems using sound waves as carriers.

[0003] As an important field in marine acoustic research, sound speed profile (SSP) inversion involves the use of various data and methods to predict and analyze the distribution of sound speed in the ocean. Research in this field is of great significance for marine environmental monitoring, submarine detection, and other marine engineering activities. Although traditional measurement methods such as the use of sound velocity profilers (SVPs) can provide accurate data, their operation process is time-consuming and costly. Therefore, researchers began to explore more efficient methods, such as using satellite remote sensing technology to obtain sea surface temperature data, combined with underwater temperature and salinity data, and inverting the sound speed profile through the sound speed empirical formula. With the advancement of technology, the methods of sound speed profile inversion are also constantly developing. For example, genetic algorithms and radial basis function neural networks are used to establish inversion prediction models. These models can combine measured data and historical data to provide more accurate sound speed profile predictions. In addition, the empirical orthogonal function (EOF) model is also widely used in the description and inversion of sound speed profiles. It can effectively capture the main characteristics of the sound speed field and simplify the calculation process of the sound speed profile.

[0004] The existing SSP inversion framework is highly dependent on sonar observation data, which places strict requirements on the deployment of sonar observation systems. In areas where it is not convenient to deploy sonar observation systems, the inversion of sound speed distribution cannot be achieved due to the lack of data sources. It is worth noting that the sound speed distribution has temporal and spatial regularity, and the ocean sound speed distribution observation data is accumulated over a long period of time, and the historical reference data increases year by year. These characteristics make it possible to estimate the sound speed distribution by combining the historical sound speed distribution characteristics with the correlation of sampling time and space. In addition, with the development of modern satellite technology, satellites can obtain the real-time distribution of sea surface temperature through remote sensing, providing a reliable real-time sea surface temperature data source for estimating sound speed. Summary of the invention

[0005] The purpose of the present invention is to provide a real-time sound speed profile prediction method based on multimodal data fusion and self-attention to make up for the deficiencies of the prior art.

[0006] To achieve the above object, the present invention is achieved through the following technical solutions:

[0007] A real-time sound velocity profile prediction method based on multimodal data fusion and self-attention comprises the following steps:

[0008] S1: Get Argo grid dataset and remote sensing sea surface dataset SST. Argo grid dataset includes historical temperature and longitude and latitude coordinate data under the sea surface.

[0009] S2: Grid processing is performed on the target sea area, and the coordinate position of any depth h is expressed as:

[0010] , (1);

[0011] Among them, n, m are the latitude and longitude coordinate indexes, and h is the depth;

[0012] S3: Construct the sound velocity profile EOF function, and use the first three order eigenvectors of the historical SSP data as training data to describe the sound velocity sample characteristics of the target area. At the same time, the linear combination of the eigenvectors itself can reconstruct any profile in the area. Assuming that there are J real sound velocity profile data in a certain survey area, they are interpolated to K depth standard layers to form a matrix. Then, the EOF analysis is performed on this matrix to obtain the basis function and the first three order EOF coefficients.

[0013] S4: Multimodal data fusion: Fusion of SST data, the first three EOF coefficients of historical SSP, historical temperatures below the sea surface, and longitude and latitude coordinate data;

[0014] S5: constructing a SE-MDF-CNN model, and establishing the intrinsic relationship between the main component characteristics of the historical sound speed distribution and the remote sensing sea temperature data and the sound speed sampling spatial coordinates through SE-MDF-CNN; the SE-MDF-CNN model includes: an input layer, a flattening layer, a self-attention layer, a convolution layer, a pooling layer, an activation layer, a fully connected layer and a regression layer;

[0015] S6: Use the SE-MDF-CNN model to process the data fused in S3, and finally output the distribution of SSP under the specified coordinates.

[0016] Furthermore, in S1, the historical SSP data of the Pacific Ocean provided by the Global Ocean Argo System of the Ministry of Natural Resources is used; GDCSM-Argo data is a global grid data set with a spatial resolution of 1 and a temporal resolution of monthly. The SSP in GDCSM-Argo is divided into 58 layers according to depth. Due to different ocean depths, the part exceeding the ocean depth will be set to a null value, and the SSP interpolation is performed every 1 meter to extract the historical temperature, longitude and latitude coordinates, and the historical monthly average SSP data below the sea surface in this data set. Satellite remote sensing data mainly include sea surface temperature (Sea Surface

[0017] The SST product is derived from the daily Optimum Interpolation Sea Surface Temperature (OISST) of the National Oceanic and Atmospheric Administration (NOAA).

[0018] Furthermore, the S2 is specifically:

[0019] The target sea area is divided into grids with a horizontal spatial resolution of 1°×1°, N latitudes lat, M longitudes lon, and a time resolution of one month. For the grids divided into the selected sea area, the coordinate position of any depth h is expressed as formula (1); a coordinate range of 3°×3° is selected in the divided grid as a single training set and test data range; with a step size of 1°, a 3°×3° grid is selected in the selected sea area, and the intermediate coordinate is The 8 coordinates around are used as training data The horizontal space coordinates are expressed as:

[0020] , , (2);

[0021] As the coordinates of the i-th training set divided in the selected sea area at depth h, .

[0022] Furthermore, in S3, fewer parameters are used to represent the sound velocity profile, thereby reducing the difficulty and uncertainty of the inversion:

[0023] (3);

[0024] The matrix represents the sound velocity value of the Kth depth standard layer of the Jth sound velocity profile;

[0025] Calculate the mean of formula (3) by row, and get , and then calculate the sound velocity profile matrix With the average sound speed matrix The difference between ; Calculate the covariance matrix of the sound velocity disturbance :

[0026] (4);

[0027] Decompose its features:

[0028] (5);

[0029] in, is the eigenvector matrix, i.e., the EOF basis function, is the eigenvalue matrix; project EOF onto the sound velocity perturbation :

[0030] (6);

[0031] Get the corresponding The EOF coefficient of is, specifically, Each column in the matrix corresponds to the EOF sound velocity perturbation coefficient of a sound velocity profile.

[0032] Further, S4 is specifically as follows: for a given task of estimating sea temperature at a specified coordinate, when real-time remote sensing sea temperature data is input, the distribution of SSP at the specified coordinate can be quickly estimated. The historical average SSP at the coordinates of the grid divided by the selected sea area can be described as , indicating the The historical depth for the same period is h, and the coordinates are Similarly, using Indicates the real-time remote sensing temperature at this coordinate , indicating the The historical depth for the same period is h, and the coordinates are The monthly average temperature under Substituting in, we get the first three order eigenvectors of the monthly average SSP in the same period of history , indicating the coordinates when the depth is h The first three order eigenvectors of the historical monthly average SSP in the same period.

[0033] For each , the main component features of the historical sound speed distribution are integrated with SST and the spatial coordinates of the sound speed sampling, and the SE-MDF-CNN model is constructed so that it can learn the main component features of the historical sound speed distribution, the intrinsic relationship between SST, the spatial coordinates of the sound speed sampling and the target SSP. For each fused data, it is expressed as:

[0034] = [ , , ] (7);

[0035] in, represents the coordinate space, express Real-time remote sensing sea surface temperature sst under coordinates, express Monthly average temperature below the sea surface in coordinates, express The monthly average ssp in the coordinates. Therefore, for each , which integrates the location information under the latitude and longitude coordinates, SST and the main component characteristics of the historical sound speed distribution. For each layer depth h:

[0036] =[ , , ] (8);

[0037] Obviously, since the model structure of the entire selected sea area is a three-dimensional structure, for each sampling depth h , should contain the latitude and longitude coordinates of its depth, SST, the average temperature below the sea surface and the first three eigenvectors of the historical SSP.

[0038] Furthermore, in S5: the batch normalization layer is a commonly used data preprocessing technique, which can normalize each batch of data so that it has a distribution with a mean of 0 and a variance of 1. In addition, batch normalization can also be used as a regularization term, that is, adding a term proportional to the standard deviation of the data to the loss function to prevent overfitting. The ReluLayer activation layer is a nonlinear transformation layer, which can perform nonlinear transformation on the output of the convolution layer or the pooling layer to increase the expressive power of the model. The activation layer can make the model better fit complex data distributions and improve the generalization ability of the model. The pooling layer is a downsampling operation layer, which can downsample the output of the convolution layer or the activation layer to reduce the number of parameters and the amount of calculation. The pooling layer can make the model more stable and robust, and can improve the convergence speed and efficiency of the model. The fully connected layer is a special neural network layer, which can perform a fully connected operation on the output of the pooling layer or the activation layer, and convert features of different scales and numbers of channels into a unified vector. A fully connected layer is set before the regression layer to fully connect the convolutional feature map. The output dimension of the fully connected layer is the dimension size of the target SSP. The fully connected layer contains several hidden units (also called neurons), each of which has a weight and a bias. The fully connected layer can achieve nonlinear transformations of arbitrary complexity and can extract high-dimensional and highly abstract features. The regression layer calculates the loss function of the regression task, that is, the difference between the predicted value and the true value.

[0039] Furthermore, the S6 is specifically:

[0040] S6-1: Remote sensing data for model fusion , spatial information , historical ssp information , temperature below sea surface The above fusion data As the input of the SE-MDF-CNN model, each row of the input data represents the fused data The depth h at which the fusion is performed. For each column of the input data, it indicates the current depth h. , so that the two-dimensional matrix contains At one of the surrounding 8 coordinates ; The number of channels in the input matrix indicates the number of selected surrounding coordinate points. For example, the number of channels in the input matrix is ​​8; fusion data After entering the input layer, it enters the multi-head self-attention layer. The attention mechanism is mainly used to process sequence data. Its core idea is to calculate the degree of association between each element in the sequence and other elements. In the calculation process, first, each element of the input sequence is converted into a query vector (Query), a key vector (Key), and a value vector (Value) through a linear transformation. Then, for the query vector of each element, the similarity score between it and the key vectors of all other elements is calculated, usually using dot product and other methods. These similarity scores are normalized (such as using the Softmax function) to obtain the attention weight. Finally, the value vector of each element is weighted and summed according to the corresponding attention weight to obtain the output of the element. Specifically, multi-head self-attention, that is, multiple attentions are generated in the network to act on the features in parallel. The task-related query is represented as Q, and the input features and other information are represented as the query vector K and the content vector V in the form of key-value pairs. The process of attention is expressed as:

[0041] (9);

[0042] in is the dimension corresponding to K. Multi-head self-attention generates multiple attentions in parallel, and combines the results of these attentions to obtain the final output, which is expressed as:

[0043] (10);

[0044] in Corresponding to each single attention result, it is expressed as:

[0045] (11);

[0046] in Both are projection matrices.

[0047] S6-2: Convolutional layer is used to extract fusion data , the convolutional layer inputs the fused data Perform convolution operations to extract local features, and adjust the size of the convolution kernel and the sliding window step size by setting , SE-MDF-CNN extracts fused data Each data component , , Each convolutional layer has one or more convolution kernels, with stride lengths Used to slide in input data Then normalize it to get a feature map and calculate the weight of each convolutional layer output and bias ;

[0048] S6-3: Fusion of input data After passing through the input layer and the convolution layer, the output of the convolution layer is batch normalized. This is because for each For the normalized data, the data components come from different sources, have different distribution intervals, and have different feature distributions. This can reduce the internal covariate shift, that is, the impact of data differences between different batches on the model. At the same time, it can also speed up the convergence of the model because the normalized data is easier for the model to learn.

[0049] Then enter the pooling layer, which is a downsampling operation layer. It downsamples the output of the convolution layer or activation layer, reduces the number of parameters and the amount of calculation, makes the model more stable and robust, and can improve the convergence speed and efficiency of the model. The activation layer performs nonlinear transformation on the output of the convolution layer or pooling layer, increases the expressiveness of the model, enables the model to better fit complex data distribution, and improves the generalization ability of the model. The fully connected layer is a special neural network layer that can perform a fully connected operation on the output of the pooling layer or activation layer, and converts features of different scales and numbers of channels into a unified vector. A fully connected layer is set before the regression layer to fully connect the feature map after convolution. The output dimension of the fully connected layer is the dimension size of the target ssp. The fully connected layer contains several hidden units (also called neurons), each of which has a weight and a bias. The fully connected layer can realize nonlinear transformation of arbitrary complexity and can extract high-dimensional and highly abstract features. The regression layer calculates the loss function of the regression task, that is, the difference between the predicted value and the true value.

[0050] Compared with the prior art, the advantages and beneficial effects of the present invention are:

[0051] The present invention proposes a real-time sound speed profile (SSP) prediction method based on a convolutional neural network (SE-MDF-CNN) driven by multimodal data fusion and self-attention mechanism. The method gets rid of the dependence on sonar observation data. The present invention establishes the intrinsic relationship between the main component characteristics of historical sound speed distribution and remote sensing sea temperature data and the spatial coordinates of sound speed sampling. Through real-time SST, the SSP distribution of the target area can be quickly constructed, which can be applied to a wider range of spatial areas.

[0052] Compared with other algorithms, the SE-MDF-CNN algorithm proposed in the present invention has a lower RMSE, and the prediction performance is not affected by depth changes. It has the advantage of lower RMSE regardless of shallow sea or deep sea. At the same time, the RMSE fluctuation range is smaller and more robust. The average RMSE can reach about 0.1m / s. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 It is the overall flow chart of the present invention.

[0054] Figure 2 This is the SE-MDF-CNN network structure model diagram.

[0055] Figure 3 It is the self-attention calculation flowchart.

[0056] Figure 4 The result of Example 2 Figure 1 , is the comparison of real-time SSP results predicted by different algorithms at 7.5°N, 157.5°E and a depth of 200m.

[0057] Figure 5 The result of Example 2 Figure 2 , is the comparison of real-time SSP results predicted by different algorithms at 7.5°N, 157.5°E and a depth of 300m.

[0058] Figure 6 The result of Example 2 Figure 3 , is the comparison of real-time SSP results predicted by different algorithms at 7.5°N, 157.5°E and a depth of 400m.

[0059] Figure 7 The result of Example 2 Figure 4 , is the comparison of real-time SSP results predicted by different algorithms at 7.5°N, 157.5°E and a depth of 500m.

[0060] Figure 8 The result of Example 2 Figure 5 , is a comparison of the real-time SSP error disturbance distribution results predicted by different algorithms at 7.5°N, 157.5°E and a depth of 200m.

[0061] Fig. 9 The result of Example 2 Figure 6 , is a comparison of the real-time SSP error disturbance distribution results predicted by different algorithms at 7.5°N, 157.5°E and a depth of 300m.

[0062] Fig.10 The result of Example 2 Figure 7 , is a comparison of the real-time SSP error disturbance distribution results predicted by different algorithms at 7.5°N, 157.5°E and a depth of 400m.

[0063] Fig.11 The result of Example 2 Figure 8, is a comparison of the real-time SSP error disturbance distribution results predicted by different algorithms at 7.5°N, 157.5°E and a depth of 500m. DETAILED DESCRIPTION

[0064] The technical solution of the present invention is further described below in conjunction with embodiments.

[0065] Embodiment 1:

[0066] A real-time sound speed profile (SSP) prediction method based on a convolutional neural network (SE-MDF-CNN) driven by multimodal data fusion and self-attention mechanism includes the following steps:

[0067] Step 1: Gridding of target sea area

[0068] The sea area between 5.5°-45.5°N and 150.5°-170.5°E was selected and its spatial resolution was 1°×1°. The grid was divided into N latitudes lat and M longitudes lon. The multimodal fusion data in the selected sea area was used as the training data and test data of the model. The time resolution was one month. For the grid divided into the selected sea area, the coordinate position of any depth h can be expressed as:

[0069] , (1);

[0070] Select coordinates of 3°×3° in the divided grid as the single training set and test data range. With a step size of 1°, select a 3°×3° grid in the selected sea area, and the middle coordinates are The 8 coordinates around are used as training data The horizontal space coordinates are expressed as:

[0071] , , (2);

[0072] As the coordinates of the i-th training set divided in the selected sea area at depth h, .

[0073] Step 2: Construct the sound velocity profile EOF function

[0074] The first three order eigenvectors of the historical SSP data of the same period are used as training data to describe the characteristics of the sound velocity samples in the target area. At the same time, the linear combination of the eigenvectors themselves can reconstruct any profile in the area. Assuming that there are J real sound velocity profile data in a certain survey area, they can be interpolated to K depth standard layers to form a matrix. Then perform EOF analysis on this matrix to obtain basis functions and coefficients. In this way, the sound velocity profile can be represented by fewer parameters, thereby reducing the difficulty and uncertainty of inversion:

[0075] (3);

[0076] The matrix Represents the sound velocity value of the Kth depth standard layer of the Jth sound velocity profile.

[0077] Calculate the mean of equation (3) by row, and then we can get: , then calculate the sound velocity profile matrix With the average sound speed matrix The difference between , calculate the covariance matrix of the sound velocity disturbance :

[0078] (4);

[0079] Decompose its features:

[0080] (5);

[0081] in, is the eigenvector matrix, i.e., the EOF basis function, is the eigenvalue matrix.

[0082] Projecting EOF to sound velocity perturbation :

[0083] (6);

[0084] Get the corresponding The EOF coefficient of is, specifically, Each column in the matrix corresponds to the EOF sound velocity perturbation coefficient of a sound velocity profile.

[0085] Step 3: Multimodal data fusion

[0086] The intrinsic relationship between the main component characteristics of the historical sound speed distribution and the remote sensing sea temperature data and the spatial coordinates of the sound speed sampling is established through SE-MDF-CNN. Therefore, for a given task of estimating the sea temperature at a specified coordinate, when the real-time remote sensing sea temperature data is input, the distribution of the SSP at the specified coordinate can be quickly estimated. The historical average SSP at the coordinates of the grid divided by the selected sea area can be described as, , indicating the The historical depth for the same period is h, and the coordinates are Similarly, using Indicates the real-time remote sensing temperature at this coordinate. Indicates The historical depth for the same period is h, and the coordinates are The monthly average temperature under Substituting in, we get the first three order eigenvectors of the monthly average SSP in the same period of history , represents the coordinates when the depth is h The first three order eigenvectors of the historical monthly average SSP in the same period.

[0087] For each ,This paper fuses the main component features of historical sound speed distribution with SST and sound speed sampling space coordinates to construct a CNN-DF model, so that it can learn the main component features of historical sound speed distribution, the intrinsic relationship between SST, sound speed sampling space coordinates and target SSP. For each fused data, it is expressed as:

[0088] = [ , , ] (7);

[0089] in, represents the coordinate space, express Real-time remote sensing sea surface temperature sst under coordinates, express Monthly average temperature below the sea surface in coordinates, express The monthly average ssp in the coordinates. Therefore, for each , which integrates the location information under the latitude and longitude coordinates, SST and the main component characteristics of the historical sound speed distribution. For each layer depth h:

[0090] =[ , , ] (8);

[0091] Obviously, since the model structure of the entire selected sea area is a three-dimensional structure, for each sampling depth h , should contain the latitude and longitude coordinates of its depth, SST, the average temperature below the sea surface and the first three eigenvectors of the historical SSP.

[0092] Step 4: Construction of SE-MDF-CNN network model, such as Figure 2 As shown;

[0093] This paper proposes a MIMO-RCNN-DF network model, which integrates remote sensing data , spatial information , historical ssp information , temperature below sea surface Etc., integrate the above data As the input of the MIMO-RCNN-DF network, each row of the input data represents the fused data The depth h at which the fusion is performed. For each column of the input data, it indicates the current depth h. , so that the two-dimensional matrix contains At one of the surrounding 8 coordinates The number of channels in the input matrix indicates the number of selected surrounding coordinate points. For example, in this article, the number of channels in the input matrix is ​​8. The convolutional layer is used to extract fused data. , the convolutional layer takes input data Perform convolution operation to extract local features.

[0094] Adjust the size of the convolution kernel and the sliding window step by setting , MIMO-RCNN-DF can extract fused data Each data component , , Each convolutional layer has one or more convolution kernels, with stride lengths Used to slide in input data Then normalize it to get a feature map and calculate the weight of each convolutional layer output and bias The batch normalization layer is a commonly used data preprocessing technique that normalizes each batch of data so that it has a distribution with a mean of 0 and a variance of 1.

[0095] For the input vector Represents the input multimodal data fusion sequence data, and performs preliminary embedding on them through the flatten layer (optional):

[0096] (12);

[0097] Substituting into formula (12), we get . According to the formula:

[0098] ;

[0099] (13);

[0100] ;

[0101] Then, using three matrices Multiplying them respectively, we get :

[0102] (14);

[0103] According to formula (13), Calculate the vector dot product and get , for formula (14):

[0104] (15);

[0105] Will After softmax processing, Between 0 and 1, we get ; The previous step obtained Respectively with the corresponding position Multiply and then sum, and you get the same value as the input The corresponding output Then It enters the convolution layer, pooling layer, and fully connected layer, and finally outputs the real-time SSP of the target sea area through the regression layer.

[0106] Example 2: Verification Experiment

[0107] The monthly average SSP data of July 2020 in the GDCSM-Argo dataset were selected for algorithm verification and compared with the convolutional neural network (CNN), spatial interpolation method (SITP), and mean method (Mean) respectively.

[0108] The comparison results are as follows Figure 4-Figure 11 As shown, from Figure 4-Figure 7It can be clearly seen that the real-time SSP prediction results of the SE-MDF-CNN algorithm proposed in the present invention at depths of 200m, 300m, 400m, and 500m in the same coordinate sea area are significantly closer to the true values ​​than those of the convolutional neural network (CNN), spatial interpolation method (SITP), and mean method (Mean), indicating the effectiveness and superiority of the algorithm proposed in the present invention. Figure 8-Figure 11 It can be clearly seen that the real-time SSP prediction results of the SE-MDF-CNN algorithm proposed in the present invention at depths of 200m, 300m, 400m and 500m respectively in the same coordinate sea area are compared with those of the convolutional neural network (CNN), the spatial interpolation method (SITP) and the mean method (Mean). The error distribution disturbance of the algorithm proposed in the present invention is smaller, indicating that the algorithm proposed in the present invention is more robust than other traditional algorithms.

[0109] Through verification by public data sets, the SE-MDF-CNN algorithm proposed in the present invention has a lower RMSE than other algorithms in sea areas with complex SSP fluctuations. In sea areas with a small SSP fluctuation range, the accuracy is still superior. At the same time, the prediction and estimation performance is not affected by changes in the predicted depth. Whether in shallow sea or deep sea, it has the advantage of lower RMSE. At the same time, the RMSE fluctuation range is smaller and more robust. The average RMSE can reach about 0.1m / s.

[0110] On the basis of the above embodiments, the present invention continues to describe in detail the technical features involved therein and the functions and roles played by the technical features in the present invention, so as to help technicians in this field fully understand the technical solution of the present invention and reproduce it.

[0111] Finally, although this specification is described according to implementation methods, not every implementation method contains only one independent technical solution. This narrative method of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment can also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.

Claims

1. A real-time sound velocity profile prediction method based on multimodal data fusion and self-attention, characterized in that: The steps include: S1: Get Argo grid dataset and remote sensing sea surface dataset SST. Argo grid dataset includes historical temperature and longitude and latitude coordinate data under the sea surface. S2: Grid processing is performed on the target sea area, and the coordinate position of any depth h is expressed as: Among them, n, m are the latitude and longitude coordinate indexes, and h is the depth; S3: Construct the EOF function of the sound velocity profile, take the first three order eigenvectors of the historical SSP data as training data, assume that there are J real sound velocity profile data in a certain survey area, interpolate them to K depth standard layers to form a matrix; then perform EOF analysis on this matrix to obtain the basis function and the first three order EOF coefficients; S4: Multimodal data fusion: Fusion of SST data, the first three EOF coefficients of the historical SSP, the historical temperature below the sea surface, and the longitude and latitude coordinate data; S5: constructing a SE-MDF-CNN model, and establishing the intrinsic relationship between the main component characteristics of the historical sound speed distribution and the remote sensing sea temperature data and the sound speed sampling spatial coordinates through SE-MDF-CNN; the SE-MDF-CNN model includes: an input layer, a flattening layer, a self-attention layer, a convolution layer, a pooling layer, an activation layer, a fully connected layer and a regression layer; S6: Use the SE-MDF-CNN model to process the data fused in S3, and finally output the distribution of ssp under the specified coordinates; specifically: S6-1: Integrating models with remote sensing data Spatial Information Historical SSP information Temperature below sea surface As the input of the SE-MDF-CNN model, each row of the input data represents the fused data The depth h at which the fusion is performed. For each column of the input data, it indicates the current depth h. The number of channels in the input matrix indicates the number of selected surrounding coordinate points; fusion data After entering the input layer, it enters the multi-head self-attention layer. During the calculation process, each element of the input sequence is first converted into a query vector, a key vector, and a value vector through a linear transformation; then, for each element's query vector, the similarity score between it and the key vectors of all other elements is calculated. These similarity scores are normalized to obtain the attention weight; finally, the value vector of each element is weighted and summed according to the corresponding attention weight to obtain the output of the element. The task-related query is represented as Q, and the input feature information is represented as the query vector K and the content vector V in the form of key-value pairs. The process of attention is expressed as: where d k is the dimension corresponding to K; multi-head self-attention generates multiple attentions in parallel, and combines the results of these attentions to obtain the final output, expressed as: MultiHead(Q,K,V)=Concat(head1,…,head h )W O (10) Among them head i Corresponding to each single attention result, it is expressed as: in All are projection matrices; S6-2: Convolutional layer is used to extract fusion data Convolutional layer fusion input data Perform convolution operations to extract local features. By adjusting the size of the convolution kernel and the sliding window step size ρ, SE-MDF-CNN extracts fused data. Each data component The nonlinear intrinsic relationship between them; each convolution layer has one or more convolution kernels, which are used to slide on the input data with a step size of ρ. , and normalize it to get a feature map, and calculate the weight ω and bias θ of each convolutional layer output; S6-3: Fusion of input data After passing through the input layer and the convolution layer, the output of the convolution layer is batch normalized and then enters the pooling layer. The activation layer performs nonlinear transformation on the output of the convolution layer or the pooling layer. The fully connected layer performs a fully connected operation on the output of the pooling layer or the activation layer, and converts the features of different scales and numbers of channels into a unified vector. The output dimension of the fully connected layer is the dimension size of the target SSP. The loss function of the regression task is calculated based on the regression layer, that is, the difference between the predicted value and the true value; finally, the target SSP is output.

2. The real-time sound velocity profile prediction method according to claim 1, characterized in that: Specifically, S2 is as follows: the target sea area is divided into grids with a horizontal spatial resolution of 1°×1°, N latitudes lat, M longitudes lon, and a time resolution of one month. For the grids divided into the selected sea area, the coordinate position of any depth h is expressed by formula (1); a coordinate range of 3°×3° is selected in the divided grid as a single training set and test data range; a 3°×3° grid is selected in the selected sea area with a step size of 1°, and the intermediate coordinates are The 8 coordinates around are used as training data The horizontal space coordinates are expressed as: As the coordinates of the i-th training set divided in the selected sea area at depth h, where i∈[0,(n-2)*(m-2)].

3. The real-time sound velocity profile prediction method according to claim 1, characterized in that: In S3, the sound velocity profile is represented by parameters: Among them, the matrix C k (J) represents the sound velocity value of the Kth depth standard layer of the Jth sound velocity profile; Calculate the mean of formula (3) by row and get Then calculate the sound velocity profile matrix C K*J With the average sound speed matrix The difference between the two is expressed as the sound velocity disturbance ΔC k×J ; Calculate the covariance matrix COV of the sound velocity disturbance K×K : Decompose its features: COV K×K ×V K×K =λ K×K ×V K×K , (5) Among them, V K×K is the eigenvector matrix, i.e., EOF basis function, λ K×K is the eigenvalue matrix; Projecting EOF to the acoustic velocity perturbation ΔC k×J : Get the corresponding C K*J The EOF coefficient is PC K*J Each column in the matrix corresponds to the EOF sound velocity perturbation coefficient of a sound velocity profile.

4. The real-time sound velocity profile prediction method according to claim 1, characterized in that: In S4: the historical average SSP in the grid coordinates of the selected sea area is described as Indicates that the historical depth of the γth year is h, and the coordinates are (lat n ,lon m ) under the historical monthly average ssp; Similarly, using Υ n,m Indicates the real-time remote sensing temperature at this coordinate Indicates that the historical depth of the γth year is h, and the coordinates are (lat n ,lon m ) under the monthly average temperature; then use formula (5) to Substituting in, we get the first three order eigenvectors of the monthly average SSP in the same period of history Indicates the coordinates (lat n ,lon m ) under the historical monthly average ssp first three order eigenvectors of the same period; For each The SE-MDF-CNN model is constructed by integrating the main component features of the historical sound speed distribution with SST and the spatial coordinates of the sound speed sampling. The intrinsic relationship between SST, the spatial coordinates of the sound speed sampling and the target SSP is expressed as follows for each fused data: in, represents the coordinate space, express Real-time remote sensing sea surface temperature sst under coordinates, express Monthly mean temperature below the sea surface in coordinates, express The monthly average SSP under the coordinates; therefore, for each They all integrate the location information under the longitude and latitude coordinates, the main component characteristics of the SST and historical sound speed distribution, for each layer depth h: For each sampling depth h They should all contain the latitude and longitude coordinates of their depth, SST, the average temperature below the sea surface and the first three eigenvectors of the historical SSP.