A two-dimensional spectrum segmentation method of satellite waves based on physical prior knowledge

By combining deep learning and physical prior knowledge, using Vision Transformer and generative adversarial network, we solve the accuracy and flexibility problems of existing wave spectrum segmentation methods in complex environments, and achieve more efficient and accurate wave spectrum analysis. Ensure the physical plausibility and robustness of the results.

CN117932224BActive Publication Date: 2024-10-18HOHAI UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410119530.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-29
Publication Date
2024-10-18
Estimated Expiration
2044-01-29

AI Technical Summary

Technical Problem

Existing wave spectrum segmentation methods are difficult to provide fast and accurate analysis when dealing with complex and dynamically changing ocean environments, especially under high-frequency data and multi-source wave systems. They lack flexibility and adaptability, and rely on artificial settings. parameters and thresholds, leading to inaccurate segmentation and over-segmentation.

Method used

Using deep learning technology based on physical prior knowledge, combined with the Vision Transformer model and generative adversarial network, through data enhancement and contrastive learning pre-training strategies, the rough segmentation results of CFOSAT's own watershed algorithm are used as soft labels to gradually optimize the segmentation model. And the segmentation effect is evaluated through physical prior knowledge and parameterized models to improve the accuracy and robustness of segmentation.

Benefits of technology

It achieves more accurate and efficient wave spectrum analysis in complex ocean environments, improves the robustness and physical interpretability of the model, and ensures that the analysis results conform to the physical characteristics of actual ocean waves.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117932224B_ABST
    Figure CN117932224B_ABST
Patent Text Reader

Abstract

The present invention discloses a satellite wave two-dimensional spectrum segmentation method based on physical prior knowledge, and relates to the field of automatic analysis and processing of satellite spectral data. Satellite two-dimensional directional spectrum data is collected, and the directional spectrum data is preprocessed; the satellite two-dimensional directional spectrum data is preprocessed; the preprocessed two-dimensional spectrum data is data enhanced and input into a machine learning model with the data enhanced spectrum data for comparative training; the model after comparative training then uses the rough segmentation result based on the watershed algorithm provided by CFOSAT as a soft label and adds a physical prior loss function to guide the model to perform the segmentation task; the wave system features are extracted according to the segmentation result, and the parametric equation is input for spectrum reconstruction; the reconstructed spectrum is compared with the original two-dimensional spectrum, the segmentation effect is evaluated, and the evaluation result is returned to the model, thereby further optimizing the segmentation model. The method is used to accurately segment and analyze satellite spectral data, especially for complex marine environments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automatic analysis and processing of satellite wave spectrum data, and more specifically to a satellite wave two-dimensional spectrum segmentation method based on physical prior knowledge. Background Art

[0002] The analysis of ocean wave spectra is crucial for understanding and predicting ocean dynamics, especially in the fields of maritime navigation safety and wave energy utilization. Traditionally, the analysis of ocean wave spectra relies on empirical methods and physical models, which have limitations in dealing with complex and dynamically changing ocean environments. Especially in the context of high-frequency data and multi-source wave systems, traditional methods are difficult to provide fast and accurate analysis. With the development of remote sensing technology, especially the commissioning of the Sino-French Ocean Satellite (CFOSAT), unprecedented ocean wave spectrum data has been obtained. The advanced equipment carried by CFOSAT, such as fan-beam scanning microwave scatterometers and wave spectrometers, provides a rich data resource for the study of ocean wave spectra. However, the high complexity and huge volume of these data bring new challenges, especially in the automatic segmentation and feature extraction of spectra.

[0003] Existing spectral segmentation methods, such as one-dimensional and two-dimensional spectral segmentation techniques, provide a basis for the classification of wave systems, but they rely on artificially set parameters and thresholds and lack sufficient flexibility and adaptability. For example, the SWIM segmentation product (based on the watershed method) provided by CFOSAT will result in meaningless segmentation of 360° wave directions and over-segmentation. In addition, these methods are limited in accuracy and generalization ability when dealing with complex marine environments.

[0004] Therefore, there is an urgent need to develop new methods that can effectively process and analyze satellite spectral data while overcoming the limitations of existing technologies. In particular, a method that can automatically and accurately segment spectral data and combine deep learning and physical prior knowledge to improve the accuracy and robustness of the analysis. Summary of the invention

[0005] In view of this, the present invention provides a satellite wave two-dimensional spectrum segmentation method based on physical prior knowledge. The method adopts advanced deep learning technology combined with physical prior knowledge to accurately segment and analyze satellite spectral data, especially for complex ocean environments.

[0006] In order to achieve the above object, the present invention adopts the following technical solution:

[0007] A satellite wave two-dimensional spectrum segmentation method based on physical prior knowledge comprises the following steps:

[0008] Perform data enhancement on the preprocessed two-dimensional spectrum data;

[0009] The preprocessed two-dimensional spectrum data and the data-enhanced spectrum data are input into the machine learning model for comparative training;

[0010] The machine learning model trained by comparison uses the rough segmentation results based on the watershed algorithm provided by CFOSAT as soft labels and adds a physical prior loss function to guide the model to perform the two-dimensional spectrum segmentation task;

[0011] Extract wave characteristics based on segmentation results and input them into parameter equations for spectrum reconstruction;

[0012] The reconstructed spectrum is compared with the original two-dimensional spectrum to evaluate the segmentation effect, and the evaluation results are returned to the model to further optimize the segmentation model.

[0013] Optionally, the machine learning model includes a Vision Transformer model and a generative adversarial network model. The Vision Transformer model is used for preliminary feature extraction and spectral segmentation; the generative adversarial network model includes a generator and a discriminator based on a spectral reconstruction model, which is used to further optimize and reconstruct the output of the ViT model.

[0014] Optionally, the discriminator receives the segmentation results and the original two-dimensional wave spectrum data from the generator, and uses the data to reconstruct the theoretical spectrum.

[0015] Optionally, the discriminator uses a parameterized model combining the JONSWAP spectrum and cos 2s The directional distribution function reconstructs the segmentation results.

[0016] Optionally, the discriminator includes a convolutional network that compares the original and reconstructed spectrograms and outputs a loss score to assess the quality and realism of the generator output.

[0017] Optionally, preprocessing the directional spectrum data includes data enhancement, and the data enhancement includes spectrum rotation and global and local noise addition.

[0018] Optionally, the data-augmented contrast training model is trained using the NT-Xent loss, and the loss function formula is as follows;

[0019]

[0020] In the formula, x i and x jis a positive sample pair; f(x) is a deep neural network that maps the original data space to the feature space; sim(a,b) defines the similarity of two vectors in the feature space, τ is a temperature parameter that controls the scaling of the similarity between sample pairs, thereby affecting the weights assigned to different sample pairs; N is the total number of samples in a mini-batch, 1 [k≠i] is an indicator function that takes the value 1 when k≠i and 0 otherwise.

[0021] It can be seen from the above technical solutions that, compared with the prior art, the present invention discloses a satellite wave two-dimensional spectrum segmentation method based on physical prior knowledge, which has the following beneficial effects:

[0022] 1. By combining ViT and Generative Adversarial Network (GAN), the present invention can provide more accurate spectral analysis and segmentation than traditional methods. Especially when processing complex marine environment data, this method shows higher accuracy and efficiency.

[0023] 2. The present invention uses data enhancement and contrastive learning pre-training strategies, and the ViT model of the present invention can show stronger robustness in the face of noise and data changes. This makes the model more reliable in practical applications.

[0024] 3. By integrating physical prior knowledge into the learning process, the present invention improves the physical interpretability of the model and ensures that the analysis results are consistent with the physical characteristics of actual ocean waves. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0026] Figure 1 It is an overall process diagram of the present invention;

[0027] Figure 2 Flowchart for Generative Adversarial Network (GAN);

[0028] Figure 3 This is the flowchart of the Vision Transformer model;

[0029] Figure 4 Schematic diagram of comparative training under data enhancement;

[0030] Figure 5 Schematic diagram of the two-dimensional wave spectrum of noise injection;

[0031] Figure 6 It is a schematic diagram of the wave age discrimination criterion;

[0032] Figure 7 The segmentation result of CFOSAT's own segmentation product

[0033] Figure 8 is the model segmentation result;

[0034] Fig. 9 is the original two-dimensional spectrum;

[0035] Fig.10 It is the two-dimensional spectrum reconstructed according to the model segmentation result. DETAILED DESCRIPTION

[0036] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0037] The embodiment of the present invention discloses a satellite wave two-dimensional spectrum segmentation method based on physical information adaptive ViT generative adversarial network (PI-ViT-GAN). The method adopts advanced deep learning technology and combines physical prior knowledge to accurately segment and analyze satellite wave spectrum data, especially for complex ocean environments.

[0038] The core of the method lies in the fusion of a data-augmented contrastive learning model, feature extraction and spectral segmentation based on Vision Transformer (ViT), and a generative adversarial network (GAN) consisting of a generator and a discriminator based on a spectral reconstruction model.

[0039] Furthermore, the data enhancement includes global and local noise addition techniques to increase the data diversity and robustness of the model. These enhancement techniques provide rich training samples without changing the physical meaning of the original spectrum.

[0040] Furthermore, the satellite two-dimensional directional spectrum data is 250000*32*12, where 250000 is the sample size (sample size), 32 is the wave frequency at the point, and 12 is the wave direction at the point.

[0041] The ViT model divides the original satellite wave spectrum matrix into 4*4 patches, and a single wave spectrum image has a total of 24 patches. The ViT model efficiently extracts key features through a self-attention mechanism.

[0042] Furthermore, by using contrastive learning strategies and data enhancement techniques, the ViT model can improve feature recognition capabilities and robustness to noise, laying a solid foundation for subsequent spectral segmentation tasks. A ViT network is introduced to map these data variants into a feature space. In this feature space, the model is trained using the NT-Xent (NormalizedTemperature-scaled Cross-Entropy) loss, which encourages the model to reduce the distance between variants of the same original sample (positive sample pairs) while increasing the distance between variants from different original samples (negative sample pairs). Its mathematical form is as follows:

[0043]

[0044] In the formula, x i and x j is a positive sample pair; f(x) is a deep neural network that maps the original data space to the feature space. Here, the ViT model is selected; sim(a,b) defines the similarity of two vectors in the feature space, which is usually measured using cosine similarity; τ is used to control the scaling degree of similarity between sample pairs, thereby affecting the weights assigned to different sample pairs; N is the total number of samples in a mini-batch, 1 [k≠i] is an indicator function that takes the value 1 when k≠i and 0 otherwise.

[0045] Furthermore, the progressive training method uses the rough watershed segmentation provided by CFOSAT as a soft label. Progressive training provides a learning path from simple to complex for the model. The initial rough segmentation can provide a preliminary learning guide for the model to help it quickly master the basic concepts and methods of segmentation. As the training progresses, the model will gradually reduce its reliance on rough segmentation, thereby achieving more accurate and detailed segmentation. Such a strategy not only helps to accelerate the convergence of the model, but also ensures that the model obtains a more robust and high-quality segmentation effect.

[0046] Furthermore, in the initial stage, the ViT model uses its own segmentation products based on the watershed algorithm to provide the model with preliminary and rough segmentation results to help the model establish basic segmentation capabilities. Although these preliminary segmentation results are not perfect, they provide a valuable starting point. Although the segmentation products based on the watershed algorithm have limitations, these segmentation results have a direct correspondence with the actual spectral data and can be used as soft labels to guide the learning process of the segmentation head. This greatly facilitates the training of the model.

[0047] As training progresses, the weight of the watershed algorithm results is gradually reduced, allowing the model to rely more on its own learned features for segmentation rather than external algorithm guidance. This design enables the segmentation head to gradually transition from simple tasks to complex tasks, which helps improve the stability and performance of the model.

[0048] In the final stage, the model finally retains a certain soft label weight to ensure that the model does not deviate from the segmentation goal.

[0049] Furthermore, the difference loss between the segmentation head and the watershed segmentation is defined as L wat , the other loss of the model is defined as L model :

[0050]

[0051] L part =αL wat +(1-α)L model ;

[0052] In the formula, y ij is the wave group category corresponding to the i-th pixel, p ij is the probability of the jth class predicted by the model for the i-th pixel, δ(y ij ) is an indicator function, when y ij 1 if true, 0 otherwise.

[0053] Furthermore, the discriminator receives the segmentation result and the original two-dimensional spectrum data from the generator.

[0054] Furthermore, the discriminator uses a parameterized model (combining the JONSWAP spectrum and cos 2s Directional distribution function) to reconstruct the segmentation result, and compare the reconstructed spectrogram with the original spectrogram through a convolutional network. This method can evaluate the quality and authenticity of the generator output and further optimize the spectral segmentation results.

[0055] JONSWAP Spectrum:

[0056]

[0057] cos 2s Direction distribution:

[0058] D(θ)=cos 2s (θ-θ m );

[0059] In the formula, H s : effective wave height; f p: peak frequency; α: is a proportional constant; γ: kurtosis parameter, which controls the sharpness of the spectrum peak; σ: a parameter that controls the peak width. In this expression, the effective wave height is used to adjust the amplitude of the spectrum so that it can reflect the wave conditions in the actual ocean. θ is the wave direction angle; θ m is the average wave direction angle; s is the directional diffusion parameter that controls the width of the angular distribution.

[0060] The GAN model training adopts an iterative learning process, in which the generator and the discriminator compete with each other to improve the authenticity of the spectral image. This training method not only improves the generalization ability of the model, but also ensures the accuracy and reliability of the segmentation results.

[0061] Furthermore, the loss function of the GAN model is set to

[0062] L GAN (D,G)=E x [logD(S(ω,θ))]+E x [log(1-D(S p ar (ω,θ; G(x))))];

[0063] In the formula, E represents the expected value, which is estimated by the average value on the training set. S(ω,θ) represents the original two-dimensional spectrum, and S par (ω,θ; G(x)) is the theoretical spectrum reconstructed by the characteristic parameters output by the generator G. The output of the discriminator is a probability value, D(S par (ω,θ; G(x))) represents the possibility that the reconstructed theoretical spectrum is the real two-dimensional spectrum. This probability value is obtained through the Sigmoid function as a score with a value range between 0 and 1.

[0064] The training process of the ViT model and the GAN model embeds physical prior knowledge, such as wave group classification loss and wave group merging loss. This method not only improves the physical rationality of the model, but also enhances the application ability of the model in complex marine environments.

[0065] Furthermore, the physical prior knowledge includes two parts: classification loss and merging loss.

[0066] Classification loss:

[0067]

[0068]

[0069] In the formula, f p Represents the peak frequency of wind waves; U 10represents the wind speed at a height of 10 meters; δ represents the angle between the wind direction and the wave propagation direction; 1.5 is a coefficient. pred,i Represents the model for the i-th th The continuous label value (ranging from 0 to 1, where values ​​close to 1 represent wind waves and values ​​close to 0 represent swells) for each wave group prediction.

[0070] Combined losses:

[0071]

[0072] In the formula, and are the two peak frequencies; and is the average wave direction of the two wave systems is the Euclidean distance of the wave system on the spectrum. N is the total number of partitions. Setting the loss function in this way can encourage the model to merge wave groups with similar peak frequencies.

[0073] The present invention combines the advanced technology of deep learning with the prior knowledge of ocean physics, as shown in the accompanying drawings:

[0074] like Figure 1 As shown in Figures 2 and 3, the model consists of two parts: the generator and the discriminator. The generator is based on ViT. Considering the large amount of satellite data, it can meet the model requirements. In addition, the wave spectrum can be naturally regarded as a collection of patches, where each patch contains information of a specific frequency and direction. When ViT processes the image, it divides it into multiple patches, which is consistent with the matrix form of the wave spectrum. ViT can effectively process this data structure through its self-attention mechanism, so that it is possible to identify and utilize complex patterns in the wave spectrum. The contrastive learning strategy combined with data enhancement can help the model improve robustness while learning richer and more discriminative features. At the top of ViT, a segmentation head is integrated, which is composed of a simple fully connected network. Its main task is to extract segmentation information from the feature map and upsample the obtained feature map. A segmentation head is integrated on the top of ViT. It is a simple fully connected network. Its main task is to establish a mapping between ViT extracted features and segmentation tasks. Specifically, the segmentation head adopts progressive training, making full use of the segmentation results of CFOSAT's own products as soft labels, gradually getting rid of label dependence, and combining physical prior knowledge to output segmentation results.

[0075] The discriminator accepts two inputs: the segmentation result from the generator and the original two-dimensional wave spectrum data. The discriminator first uses the segmentation result combined with the parameterized model (combining the JONSWAP spectrum and cos 2sThe theoretical spectrum is reconstructed using a model of the directional distribution function. Afterwards, the original spectrum is compared with the reconstructed spectrum through a simple convolutional network, and a loss score is output, indicating the quality and authenticity of the generator output. The model then backpropagates based on the loss and updates the parameters of the discriminator (and the generator).

[0076] like Figure 1 As shown, satellite two-dimensional directional spectrum data is collected, and the data dimension of each sample is 250000*32*12, where 250000 is the number of samples, 32 is the wave frequency, and 12 is the wave direction. Spectral rotation, global and local noise addition and other techniques are applied to the spectral data to increase the diversity and robustness of the data. For example, Figure 5 A schematic diagram of the 2D wave spectrum of noise injection is shown. Enhance the sample: inject spectral noise. Contrastive learning: the enhanced features are compared with the unenhanced feature maps of the same source for training.

[0077] like Figure 3 As shown in the figure, the original satellite spectrum image is divided into 4*4 patches, with a total of 24 patches in each image. The self-attention mechanism of the ViT model is used to extract key features. Figure 3 A flow chart of the ViT model is provided.

[0078] like Figure 4 Schematic diagram of contrastive training under data augmentation. The ViT model performs contrastive learning pre-training to enhance its robustness to noise.

[0079] , gradually reducing its weight, and finally achieving independent spectral segmentation. Set an iteration number to change the weight. In the first 40% of iterations, the watershed algorithm has a higher weight of 0.9; then the weight is gradually reduced in the next 15% of iterations: after each epoch, the weight of the watershed algorithm is multiplied by 0.95 to gradually reduce it; finally, the soft label weight is 0.19

[0080] The generative adversarial network (GAN) model constructs a GAN model including a generator and a discriminator based on a spectral reconstruction model. Figure 2 The flowchart of the GAN model is shown. Through the iterative learning process, the generator and the discriminator compete with each other to improve the authenticity of the spectral image.

[0081] The loss function of the physical prior knowledge sets the loss function to evaluate the performance of the model, including wave group classification loss and wave group merging loss. Figure 6 A schematic diagram showing the wave age discrimination criterion.

[0082] Model evaluation and tuning,Refer to Table 1 to adjust and optimize the model parameters.

[0083] Table 1

[0084]

[0085]

[0086] During the training process, physical prior knowledge is embedded, and the JONSWAP spectrum and cos2s directional distribution function are used to ensure the physical rationality of the analysis results and the conservation of total energy. Figure 7 This is the segmentation result of CFOSAT's own product. Figure 8 is the result of wave system segmentation, Fig. 9 is the original two-dimensional spectrum, Fig.10 is the two-dimensional spectrum reconstructed according to the segmentation results.

[0087] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0088] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A satellite wave two-dimensional spectrum segmentation method based on physical prior knowledge, characterized in that: The following steps are involved: Perform data enhancement on the preprocessed two-dimensional spectrum data; The preprocessed two-dimensional spectrum data and the data-enhanced spectrum data are input into the machine learning model for comparative training; The machine learning model trained by comparison uses the rough segmentation results based on the watershed algorithm provided by CFOSAT as soft labels and adds a physical prior loss function to guide the model to perform the two-dimensional spectrum segmentation task; The machine learning model includes a Vision Transformer model and a Generative Adversarial Network model. The Vision Transformer model is used for preliminary feature extraction and spectral segmentation. The Generative Adversarial Network model includes a generator and a discriminator based on a spectral reconstruction model, which is used to further optimize and reconstruct the output of the ViT model. Extract wave characteristics based on segmentation results and input them into parameter equations for spectrum reconstruction; The discriminator uses a parameterized model combining JONSWAP spectrum and cos 2s The directional distribution function reconstructs the segmentation results; Furthermore, the discriminator uses a parameterized model, combining the JONSWAP spectrum and cos 2s Directional distribution function, reconstructs the segmentation result, and compares the reconstructed spectrum with the original spectrum through a convolutional network; this method can evaluate the quality and authenticity of the generator output and further optimize the spectrum segmentation result; JONSWAP Spectrum: cos 2s Direction distribution: D(θ)=cos 2s (θ-θ m ); In the formula, H s : effective wave height; f p : peak frequency; α: is the proportional constant; γ: kurtosis parameter, which controls the sharpness of the spectrum peak; σ: parameter that controls the peak width; In this expression, the effective wave height is used to adjust the amplitude of the spectrum so that it can reflect the wave conditions in the actual ocean; θ is the wave direction angle; θ m is the mean wave direction angle; s is the directional diffusion parameter that controls the width of the angular distribution; The reconstructed spectrum is compared with the original two-dimensional spectrum to evaluate the segmentation effect, and the evaluation results are returned to the model to further optimize the segmentation model.

2. The satellite wave two-dimensional spectrum segmentation method based on physical prior knowledge according to claim 1, characterized in that: The discriminator receives the segmentation results and the original two-dimensional wave spectrum data from the generator and uses the data to reconstruct the theoretical spectrum.

3. The satellite wave two-dimensional spectrum segmentation method based on physical prior knowledge according to claim 1, characterized in that: The discriminator consists of a convolutional network that compares the original and reconstructed spectrograms and outputs a loss score to assess the quality and realism of the generator output.

4. The satellite wave two-dimensional spectrum segmentation method based on physical prior knowledge according to claim 1, characterized in that: Preprocessing the directional spectrum data includes data enhancement, which includes global and local noise addition.

5. The satellite wave two-dimensional spectrum segmentation method based on physical prior knowledge according to claim 1, characterized in that: The data-enhanced contrast training model is trained using NT-Xent loss, and the formula for the loss function is as follows; In the formula, x i and x j is a positive sample pair; f(x) is a deep neural network that maps the original data space to the feature space; sim (a, b) defines the similarity of two vectors in the feature space. τ is a temperature parameter that controls the scaling of the similarity between sample pairs, thereby affecting the weights assigned to different sample pairs. N is the total number of samples in a mini-batch, 1 [k≠i] is an indicator function that takes the value 1 when k≠i and 0 otherwise.

Citation Information

Patent Citations

  • Effective wave height and ocean wave spectrum assimilation method for ocean wave weather forecast

    CN117313436A

  • Vector-quantized image modeling

    WO2023059699A1