Electromagnetic signal sequence clustering method based on sample stability relation

Through the combination of autoencoders and sample stable relationship optimization objectives, the problem of traditional clustering methods being sensitive to electromagnetic signal data is solved, efficient electromagnetic signal sequence clustering is achieved, and the accuracy and efficiency of electromagnetic signal sorting and pairing are improved. .

CN118734111APending Publication Date: 2024-10-01SHANXI UNIV
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410872046.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Traditional clustering methods are sensitive to electromagnetic signal data and are difficult to effectively handle high dimensions and noise, resulting in low accuracy and efficiency in electromagnetic signal sorting and pairing.

Method used

The autoencoder is used as the representation learning model to map the electromagnetic signal data to a low-dimensional representation space, and through the optimization goal based on the sample stable relationship, iteratively optimizes the clustering loss and adjusts the neural network parameters to achieve clustering of the electromagnetic signal sequence.

Benefits of technology

It effectively captures the similarities and differences between electromagnetic signals, improves the accuracy and efficiency of sorting and pairing of electromagnetic signals, and can achieve effective clustering in high-dimensional data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734111A_ABST
    Figure CN118734111A_ABST
Patent Text Reader

Abstract

The invention discloses an electromagnetic signal sequence clustering method based on a sample stability relation, and belongs to the technical field of electromagnetic signal processing and artificial intelligence. Aiming at the problem that a traditional clustering method usually needs to manually extract features, is sensitive to noise and abnormal values and is difficult to effectively deal with the problems that the current electromagnetic signal is large in data size and high in dimension, the method comprises the following steps: preprocessing original electromagnetic signal sequence data; the method comprises the following steps of: cutting a whole section of signal into multiple frames of signals and acquiring a frequency spectrum amplitude feature vector of each frame of signal, then adding Gaussian noise to preprocessed data, training a denoising auto-encoder by using the noise-added data, mapping input data to a low-dimensional embedding space, and finally embedding the input data into a low-dimensional embedding space; and finally, clustering electromagnetic signal sequences by using an encoder as a representation learning module and using a sample stability relationship as an optimization target. According to the method, the sample stability relationship is used as an optimization target of clustering, and the similarity between the same electromagnetic signal and the difference between different electromagnetic signals can be effectively captured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of electromagnetic signal processing and artificial intelligence, and specifically relates to an electromagnetic signal sequence clustering method based on sample stability relationship. Background Art

[0002] With the rapid development of science and technology, various radio technologies and services have been widely carried out, and electromagnetic signals play a vital role in the development of informatization. However, with the increase in the number of electromagnetic devices and the development of systems towards large-scale integration, the number of electromagnetic signals in free space has become more and more, resulting in increasingly prominent electromagnetic interference problems, which seriously affects the use of electromagnetic signals. Since electromagnetic interference signals often have the characteristics of high dimensionality, strong nonlinearity and non-stationarity, it makes it a very important issue to effectively sort and pair electromagnetic signals.

[0003] As one of the core tasks in the field of unsupervised learning, clustering methods can divide samples into different categories based on the internal characteristics of the data itself without any labeling information. This feature makes clustering methods very suitable for the problem of sorting and pairing electromagnetic signals. When faced with large and complex electromagnetic signal data sets, using clustering methods to analyze electromagnetic signals is conducive to understanding the inherent differences between electromagnetic signals, helping to distinguish different types of interference signals and quickly identify specific types of electromagnetic signals, thereby improving the accuracy and efficiency of electromagnetic signal sorting and pairing. In practical applications, using clustering methods to process electromagnetic signals is of great significance to fields such as radar signal processing and wireless communications.

[0004] Although traditional clustering algorithms such as K-Means algorithm, FCM algorithm, K-Mediods algorithm, etc. have been used for clustering electromagnetic signal sequences, these algorithms usually require manual feature extraction and are sensitive to noise and outliers, making it difficult to effectively deal with the current practical problems of large electromagnetic signal data volume and high dimensionality. With the rapid development of deep learning technology, the powerful representation learning ability of deep neural network models has received extensive attention and research. Deep learning models use deep neural networks to map high-dimensional data to low-dimensional embedding space, while learning the low-dimensional feature representation of input data and retaining the key data information contained in the original data. Deep clustering methods aim to achieve clustering by jointly optimizing representation learning modules and clustering modules, and have achieved good results in clustering high-dimensional data. In the sorting and pairing of electromagnetic signals, deep learning models are used to map complex high-dimensional nonlinear electromagnetic signals to low-dimensional embedding space, while capturing the characteristics of different electromagnetic signals, and then different electromagnetic signals are divided into different categories according to the intrinsic characteristics of these electromagnetic signal sequences, thereby achieving effective separation of electromagnetic signals. This is a feasible solution for clustering electromagnetic signals in actual scenarios. Summary of the invention

[0005] Traditional clustering methods usually require manual feature extraction and are sensitive to noise and outliers, making it difficult to effectively deal with the current problem of large electromagnetic signal data volume and high dimensionality. The present invention provides an electromagnetic signal sequence clustering method based on sample stability relationship. The method uses an autoencoder as a representation learning model to map the input data to a low-dimensional representation space, and designs a function based on the sample stability relationship as an optimization target. The parameters of the neural network are adjusted by iteratively optimizing the clustering loss so that it learns clustering-oriented feature representation, thereby completing the clustering of electromagnetic signal sequence data.

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

[0007] Step 1: Collect the original electromagnetic signal. Preprocess the original electromagnetic signal data set, cut the entire original electromagnetic signal into multiple frames, and then obtain the spectrum amplitude feature vector of each frame to obtain the preprocessed data;

[0008] Step 1.1: Cut a whole segment of the original electromagnetic signal to obtain multiple frame signals, and represent and store each frame signal in the form of a matrix;

[0009] Step 1.2: Perform a discrete Fourier transform on the matrix data obtained in step 1.1 to obtain a complex frequency domain matrix, and then calculate the true amplitude of each frequency point to obtain the frequency domain amplitude eigenvector.

[0010] Step 2: pre-train the denoising autoencoder model. The denoising autoencoder model consists of two symmetrical neural network models, the encoder and the decoder. First, add random Gaussian noise e to the data X obtained in step 1 to obtain the noisy data X'=X+e as the input of the denoising autoencoder model. Then, the denoising autoencoder model is trained by iteratively optimizing the reconstruction loss.

[0011] Step 2.1, add random Gaussian noise e to the data X obtained in step 1, obtain the noisy data X'=X+e, input the noisy data X' into the denoising autoencoder model, and pass the encoder of the denoising autoencoder model Get the embedded representation Z of the data, and then pass it through the decoder of the denoising autoencoder model Get the reconstructed data of the input data The encoder and decoder of the denoising autoencoder model are expressed as:

[0012]

[0013] where θ e and θ ddenote the learnable weight parameters of the encoder and decoder of the denoising autoencoder model, σ denotes the activation function, H denotes a set of potential feature maps, and W l and b l denote the weight and bias of the encoder layer l, respectively. and c l They represent the weight and bias of the decoder layer l, * represents the convolution operation, and Z represents the sample representation in the embedding space;

[0014] Step 2.2: Train the denoising autoencoder model by iteratively optimizing the reconstruction loss. The reconstruction loss L r The calculation method is:

[0015]

[0016] Among them, x' i represents the data after the i-th sample is noised, n represents the total number of data samples, represents the square of the 2-norm.

[0017] Step 3: Perform clustering. Use the encoder part of the denoising autoencoder model obtained in step 2 as the representation learning model to cluster the n data Mapped to the embedding space, and then use the stable relationship between samples as the optimization target to divide n data into k clusters by iteratively optimizing the clustering target.

[0018] Step 3.1: Input the data X obtained in step 1 into the encoder of the denoising autoencoder model obtained in step 2, map it to the embedding space, and obtain the embedded representation Z = {z1, z2, ..., z n}, n represents the total number of data samples, and the K-Means algorithm is executed once in the embedding space to obtain the initial cluster centroid m = {m1,m2,…,m k}, where k represents the number of clusters;

[0019] Step 3.2, use Student’s t distribution to calculate the embedding representation z of each data sample i For each cluster centroid m j The probability of assignment q ij :

[0020]

[0021] Where α represents the degrees of freedom of the Student's t distribution;

[0022] Step 3.3, based on the distribution probability of each data sample with respect to all cluster centroids obtained in step 3.2, calculate the certainty fq(q ij ):

[0023]

[0024] Among them, t represents the co-occurrence probability value when the certainty is the lowest, and the value of t is adaptively determined using the Otsu method;

[0025] Step 3.4, based on the certainty of each data sample obtained in step 3.3 about the centroid of all clusters, calculate the stability sq(x i ):

[0026]

[0027] Among them, μ represents the mean of the certainty of the i-th sample about the centroids of all clusters, λ is a coefficient, k represents the number of clusters, and j represents the j-th cluster;

[0028] Step 3.5: Calculate the sample stability loss L according to the stability of each data sample obtained in step 3.4 SS :

[0029]

[0030] Where n represents the total number of data samples;

[0031] Step 3.6, based on the distribution probability of each data sample obtained in step 3.2 with respect to the centroid of all clusters, calculate the cosine similarity cos(q) between the distribution probabilities of all samples:

[0032]

[0033] Where q = {q ij |1≤i≤n,1≤j≤k} represents the probability of all samples being assigned to the centroids of k clusters, q T represents the transpose of q, ||q|| represents the modulus length of q;

[0034] Step 3.7, based on the cosine similarity obtained in step 3.6, calculate the difference between the cosine similarity of each sample with the maximum and minimum cosine similarity as the global similarity of the sample, and take the mean of the global similarities of all samples as the global stability loss L GS :

[0035]

[0036] in, and They represent the similarity value with the maximum cosine similarity to the i-th sample and the similarity value with the minimum cosine similarity to the i-th sample respectively.

[0037] Step 3.8, based on the assignment probability of each data sample to the centroid of all clusters obtained in step 3.2, calculate the hinge loss between each sample and its nearest neighbor sample as the nearest neighbor stability loss L NS :

[0038] L NS =max(neg-pos+1,0) (10)

[0039] in, and Represents the probability of the nearest neighbor sample of the i-th sample being assigned to the j-th cluster.

[0040] Step 3.9, joint sample stability loss L SS , global stability loss L GS and the neighbor stability loss L NS As a clustering module, we optimize the target L c :

[0041] L c =L SS +L GS +L NS (11)

[0042] Step 3.10, by iteratively optimizing formula (11), the back-propagation method is used to fine-tune the parameters of the denoising autoencoder model encoder and update the cluster centroid to obtain the final clustering result.

[0043] Compared with the prior art, the present invention has the following advantages:

[0044] (1) The present invention designs a deep clustering method for clustering electromagnetic signal sequence data. By jointly optimizing the representation learning module (i.e., the autoencoder trained in step 2) and the clustering module (i.e., the clustering optimization target in step 3), the original data is mapped to a clustering-oriented low-dimensional embedding space, thereby fully mining the implicit information in the electromagnetic signal sequence.

[0045] (2) The present invention proposes to use sample stability relationship as the optimization target of clustering, which can effectively capture the similarities between the same electromagnetic signals and the differences between different electromagnetic signals. By iteratively optimizing the clustering target, all samples tend to be stable and are then divided into the clusters to which they belong. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 It is a flowchart of an electromagnetic signal sequence clustering method based on sample stability relationship;

[0047] Figure 2 A schematic diagram of an electromagnetic signal sequence clustering method based on sample stability relationship;

[0048] Figure 3 A schematic diagram of the representation learning phase of an electromagnetic signal sequence clustering method based on sample stability relations;

[0049] Figure 4 A schematic diagram of the clustering stage of an electromagnetic signal sequence clustering method based on sample stability relationship;

[0050] Figure 5 A schematic diagram of some simulated sample characteristics of an embodiment. DETAILED DESCRIPTION

[0051] like Figure 1 , Figure 2 As shown, a method for clustering electromagnetic signal sequences based on sample stability relations comprises the following steps:

[0052] Step 1: Collect the original electromagnetic signal. Preprocess the original electromagnetic signal data set, cut the entire original electromagnetic signal into multiple frames, and then obtain the spectrum amplitude feature vector of each frame to obtain the preprocessed data X. Some simulated data are as follows: Figure 5 As shown;

[0053] Step 1.1: Cut a whole segment of the original electromagnetic signal to obtain multiple frame signals, and represent and store each frame signal in the form of a matrix;

[0054] Step 1.2: Perform a discrete Fourier transform on the matrix data obtained in step 1.1 to obtain a complex frequency domain matrix, and then calculate the true amplitude of each frequency point to obtain the frequency domain amplitude eigenvector.

[0055] Step 2: Pre-train the denoising autoencoder model. The denoising autoencoder model consists of two symmetrical neural network models: an encoder and a decoder. First, add random Gaussian noise e to the data X obtained in step 1 to obtain the noisy data X'=X+e as the input of the denoising autoencoder model. Then, the denoising autoencoder model is trained by iteratively optimizing the reconstruction loss, as shown in Figure 3 As shown;

[0056] Step 2.1, add random Gaussian noise e to the data X obtained in step 1, obtain the noisy data X'=X+e, input the noisy data X' into the denoising autoencoder model, and pass the encoder of the denoising autoencoder model Get the embedded representation Z of the data, and then pass it through the decoder of the denoising autoencoder model Get the reconstructed data of the input data The encoder and decoder of the denoising autoencoder model are expressed as:

[0057]

[0058] where θ e and θ d denote the learnable weight parameters of the encoder and decoder of the denoising autoencoder model, σ denotes the activation function, H denotes a set of potential feature maps, and W l and b l denote the weight and bias of the encoder layer l, respectively. and c l They represent the weight and bias of the decoder layer l, * represents the convolution operation, and Z represents the sample representation in the embedding space;

[0059] Step 2.2: Train the denoising autoencoder model by iteratively optimizing the reconstruction loss. The reconstruction loss L r The calculation method is:

[0060]

[0061] Among them, x' i represents the data after the i-th sample is noised, n represents the total number of data samples, represents the square of the 2-norm.

[0062] Step 3: Perform clustering. Use the encoder part of the denoising autoencoder model obtained in step 2 as the representation learning model to cluster the n data Mapped to the embedding space, and then use the stable relationship between samples as the optimization target, and divide n data into k clusters by iteratively optimizing the clustering target, such as Figure 4 As shown;

[0063] Step 3.1: Input the data X obtained in step 1 into the encoder of the denoising autoencoder model obtained in step 2, map it to the embedding space, and obtain the embedded representation Z = {z1, z2, ..., z n}, n represents the sample size, and the K-Means algorithm is executed once in the embedding space to obtain the initial cluster centroid m = {m1,m2,…,m k}, where k represents the number of clusters;

[0064] Step 3.2, use Student’s t distribution to calculate the embedding representation z of each data sample i For each cluster centroid m j The probability of assignment q ij :

[0065]

[0066] Where α represents the degrees of freedom of the Student's t distribution;

[0067] Step 3.3, based on the distribution probability of each data sample with respect to all cluster centroids obtained in step 3.2, calculate the certainty fq(q ij ):

[0068]

[0069] Among them, t represents the co-occurrence probability value when the certainty is the lowest, and the value of t is adaptively determined using the Otsu method;

[0070] Step 3.4, based on the certainty of each data sample obtained in step 3.3 about the centroid of all clusters, calculate the stability sq(x i ):

[0071]

[0072] Among them, μ represents the mean of the certainty of the i-th sample about the centroids of all clusters, λ is a coefficient, k represents the number of clusters, and j represents the j-th cluster;

[0073] Step 3.5: Calculate the sample stability loss L according to the stability of each data sample obtained in step 3.4 SS :

[0074]

[0075] Where n represents the total number of data samples;

[0076] Step 3.6, based on the distribution probability of each data sample obtained in step 3.2 with respect to the centroid of all clusters, calculate the cosine similarity cos(q) between the distribution probabilities of all samples:

[0077]

[0078] Where q = {q ij |1≤i≤n,1≤j≤k} represents the probability of all samples being assigned to the centroids of k clusters, q T represents the transpose of q, ||q|| represents the modulus length of q;

[0079] Step 3.7, based on the cosine similarity obtained in step 3.6, calculate the difference between the cosine similarity of each sample with the maximum and minimum cosine similarity as the global similarity of the sample, and take the mean of the global similarities of all samples as the global stability loss L GS :

[0080]

[0081] in, and They represent the similarity value with the maximum cosine similarity to the i-th sample and the similarity value with the minimum cosine similarity to the i-th sample respectively.

[0082] Step 3.8, based on the assignment probability of each data sample to the centroid of all clusters obtained in step 3.2, calculate the hinge loss between each sample and its nearest neighbor sample as the nearest neighbor stability loss L NS :

[0083] L NS =max(neg-pos+1,0) (10)

[0084] in, and Represents the probability of the nearest neighbor sample of the i-th sample being assigned to the j-th cluster.

[0085] Step 3.9, joint sample stability loss L SS , global stability loss L GS and the neighbor stability loss L NS As a clustering module, we optimize the target L c :

[0086] L c =L SS +L GS +L NS (11)

[0087] Step 3.10, by iteratively optimizing formula (11), the back propagation method is used to fine-tune the parameters of the encoder of the denoising autoencoder model and update the cluster centroid to obtain the final clustering result.

[0088] The contents not described in detail in the specification of the present invention belong to the prior art known to the professional and technical personnel in the field. Although the illustrative specific embodiments of the present invention are described above to facilitate the understanding of the present invention by the technical personnel in the field, it should be clear that the present invention is not limited to the scope of the specific embodiments. For the ordinary technical personnel in the field, as long as various changes are within the spirit and scope of the present invention defined and determined by the attached claims, these changes are obvious, and all inventions and creations using the concept of the present invention are protected.

Claims

1. A clustering method of electromagnetic signal sequences based on sample stability relations, It is characterized in that The following steps are involved: Step 1, collecting the original electromagnetic signal; preprocessing the original electromagnetic signal set data, cutting the entire original electromagnetic signal to obtain multiple frame signals, and then obtaining the spectrum amplitude feature vector of each frame to obtain the preprocessed data X; Step 2, pre-training a denoising autoencoder model; the denoising autoencoder model consists of two symmetrical neural network models, an encoder and a decoder. First, random Gaussian noise e is added to the data X obtained in step 1 to obtain the noisy data X′=X+e as the input of the denoising autoencoder model, and then the denoising autoencoder model is trained by iteratively optimizing the reconstruction loss; Step 3: Perform clustering. Use the encoder part of the denoising autoencoder model as the representation learning model to cluster the n data Mapped to the embedding space, and then use the stable relationship between samples as the optimization target to divide n data into k clusters by iteratively optimizing the clustering target.

2. The electromagnetic signal sequence clustering method based on sample stability relationship according to claim 1, It is characterized in that The specific steps of step 1 are as follows: Step 1.1: Cut a whole segment of the original electromagnetic signal to obtain multiple frame signals, and represent and store each frame signal in the form of a matrix; Step 1.2: Perform a discrete Fourier transform on the matrix data obtained in step 1.1 to obtain a complex frequency domain matrix, and then calculate the true amplitude of each frequency point to obtain the frequency domain amplitude eigenvector.

3. The electromagnetic signal sequence clustering method based on sample stability relationship according to claim 1, It is characterized in that The specific steps of step 2 are as follows: Step 2.1, add random Gaussian noise e to the data X obtained in step 1, obtain the noisy data X′=X+e, input the noisy data X′ into the denoising autoencoder model, and pass the encoder of the denoising autoencoder model Get the embedded representation Z of the data, and then pass it through the decoder of the denoising autoencoder model Get the reconstructed data of the input data The encoder and decoder of the denoising autoencoder model are expressed as: where θ e and θ d denote the learnable weight parameters of the encoder and decoder of the denoising autoencoder model, σ denotes the activation function, H denotes a set of potential feature maps, and W l and b l denote the weight and bias of the encoder layer l, respectively. and c l They represent the weight and bias of the decoder layer l, * represents the convolution operation, and Z represents the sample representation in the embedding space; Step 2.2: Train the denoising autoencoder model by iteratively optimizing the reconstruction loss. The reconstruction loss L r The calculation method is: Among them, x′ i represents the data after the i-th data sample is noised, n represents the total number of data samples, represents the square of the 2-norm.

4. The electromagnetic signal sequence clustering method based on sample stability relationship according to claim 1, It is characterized in that The specific steps of step 3 are as follows: Step 3.1: Input the data X into the encoder of the denoising autoencoder model and map it to the embedding space to obtain the embedding representation Z = {z 1 , z 2 , …, z n }, n represents the total number of data samples, and executes the K-Means algorithm once in the embedding space to obtain the initial cluster centroid m = {m 1 , m 2 ,…,m k }, where k represents the number of clusters; Step 3.2, use Student’s t distribution to calculate the embedding representation z of each data sample i For each cluster centroid m j The probability of assignment q ij : Where α represents the degrees of freedom of the Student's t distribution; Step 3.3, based on the distribution probability of each data sample with respect to all cluster centroids obtained in step 3.2, calculate the certainty fq(q ij ): Among them, t represents the co-occurrence probability value when the certainty is the lowest, and the value of t is adaptively determined using the Otsu method; Step 3.4, based on the certainty of each data sample obtained in step 3.3 about the centroid of all clusters, calculate the stability sq(x i ): Among them, μ represents the mean of the certainty of the i-th sample about the centroids of all clusters, λ is a coefficient, k represents the number of clusters, and j represents the j-th cluster; Step 3.5: Calculate the sample stability loss L according to the stability of each data sample obtained in step 3.4 SS : Where n represents the total number of data samples; Step 3.6, based on the distribution probability of each data sample obtained in step 3.2 with respect to the centroid of all clusters, calculate the cosine similarity cos(q) between the distribution probabilities of all samples: Where q = {q ij |1≤i≤n, 1≤j≤k} represents the probability of all samples being assigned to the centroids of k clusters, q T represents the transpose of q, ||q|| represents the modulus length of q; Step 3.7, based on the cosine similarity obtained in step 3.6, calculate the difference between the cosine similarity of each data sample with the maximum and minimum cosine similarity as the global similarity of the data sample, and take the mean of the global similarities of all data samples as the global stability loss L GS : in, and Respectively represent the similarity value with the maximum cosine similarity with the i-th data sample and the similarity value with the minimum cosine similarity with the i-th data sample; Step 3.8, based on the assignment probability of each data sample to the centroid of all clusters obtained in step 3.2, calculate the hinge loss between each sample and its nearest neighbor sample as the nearest neighbor stability loss L NS : L NS =max(neg-pos+1,0) (10) in, and represents the probability of the nearest neighbor sample of the ith sample being assigned to the ith cluster; Step 3.9, joint sample stability loss L SS , global stability loss L GS and the neighbor stability loss L NS As a clustering module, we optimize the target L c : L c =L SS +L GS +L NS (11) Step 3.10, by iteratively optimizing formula (11), the back propagation method is used to fine-tune the parameters of the encoder of the denoising autoencoder model and update the cluster centroid to obtain the final clustering result.

Citation Information

Cited By

  • High-voltage transmission line non-contact electromagnetic electricity-taking energy-storage supervision system

    CN119577656A

  • A non-contact electromagnetic power supply and energy storage monitoring system for high-voltage transmission lines

    CN119577656B