Missing value interpolation method for cultural relics perception data based on semi-supervised generative adversarial network

By adding denoising autoencoders and class label constraints to the generative adversarial network, the DAE-SemiGAN model is constructed, which solves the problem that existing missing value interpolation methods cannot handle multiple types of data, and achieves more efficient and accurate missing values. Fill effect.

CN114118267BActive Publication Date: 2024-09-27SOUTH CENTRAL UNIVERSITY FOR NATIONALITIES
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111411857.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-25
Publication Date
2024-09-27
Estimated Expiration
2041-11-25

AI Technical Summary

Technical Problem

Existing missing value imputation methods cannot effectively handle multiple types of data and require complete samples for model training, and deep learning-based methods have shortcomings in utilizing label values.

Method used

Using a method based on semi-supervised generative adversarial networks, the DAE-SemiGAN model is constructed by adding denoising autoencoders and class label constraints to the generative adversarial network model, preprocessing and feature learning of the data, and generating similarities with the original data set. The highest sample set, and fill the missing values ​​by constructing the filling order through the similarity graph.

Benefits of technology

It achieves efficient missing value filling for multiple types of data, improves filling accuracy and precision, and improves RMSE, MAE and AUROC indicators by 6.2% compared to traditional methods, significantly reducing missing value prediction errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114118267B
    Figure CN114118267B
Patent Text Reader

Abstract

The present invention discloses a method for interpolating missing values ​​of cultural relic perception data based on a semi-supervised generative adversarial network, including: step 1, obtaining a data set containing cultural relic perception data and preprocessing it, the preprocessing including simulating missing values ​​of the data set, including completely random missing, random missing, and non-random missing; step 2, constructing a DAE-SemiGAN model for missing value prediction for a variety of incomplete types of data sets, and adding a denoising autoencoder before the model, and inputting the preprocessed data set into the model for training; step 3, according to the generated sample set, calculating the similarity between each tuple in the sample set, constructing a similarity graph, and converting the similarity graph from an undirected graph to a directed graph to obtain a filling order; finally, according to the sample set and the filling order generated by the model, the missing data in the data set are filled. The present invention can process various types of data, and can directly and efficiently fill in incomplete data sets.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of big data preprocessing, and in particular to a method for interpolating missing values ​​of cultural relic perception data based on a semi-supervised generative adversarial network. Background Art

[0002] With the continuous development of the big data era, the field of cultural relics protection is generating massive data at an exponential growth rate, and a large amount of data is used for analysis and decision-making. However, in reality, massive data is often complex and chaotic, which will bring about problems such as data missing, data inconsistency, data redundancy and noise. Such chaotic data is not conducive to modeling and analysis, because modeling and analysis require complete high-quality data. Therefore, in order to be able to mine meaningful and valuable information from a large amount of data and provide important decisions for production and life, data preprocessing is very important. Among them, missing data processing is a very important task in data preprocessing, because in practice, various subjective and objective factors will lead to data missing. In order to effectively apply data mining methods and improve data mining efficiency, it is of great significance to study missing data processing methods. Due to the inherent limitations of hardware equipment, the randomness of the deployment environment, and human errors in the data processing process, data missing has become a common problem in the big data environment. The data set inevitably contains a large number of missing values, and most existing upper-level application analysis tools cannot process data sets containing missing values. However, high-quality data is an important guarantee for data analysis and application. "Dirty data" will lead to unreliable results. Data missing will affect the quality of data analysis and the accuracy of the final decision. Therefore, it is valuable and necessary to deal with missing values ​​in the data set.

[0003] At present, the research on missing value interpolation methods and models mainly includes: statistical interpolation, traditional machine learning interpolation and deep learning model interpolation. Among them, the interpolation method based on deep learning technology can reasonably solve the problem that traditional methods can only process certain types of data and must have complete samples for model training. In recent years, deep learning methods have developed rapidly. Deep learning models are often multi-layer neural network models. These neural networks usually have a large number of model parameters and require massive amounts of data for training. Fortunately, in the era of big data, data acquisition is always easy, which has also promoted the development of deep learning. Thanks to this, deep learning has also promoted the research on missing data.

[0004] In view of the problem that traditional missing value interpolation methods can only process certain types of data and must have complete samples for model training, it is planned to use the advantages and characteristics of the generative adversarial network to process missing values. Since the generative adversarial network model itself belongs to unsupervised learning, it cannot make good use of the advantage of label values ​​in the process of interpolating missing values ​​for data sets with label values. Therefore, it is planned to add a layer of class label constraints on the generative adversarial network model, improve from unsupervised learning to semi-supervised learning, and increase the branch of the category to which the predicted data belongs. At the same time, before training the model, the denoising autoencoder (DAE) is used to pre-process the data for denoising to improve the accuracy of model prediction. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a missing value interpolation method for cultural relic perception data based on a semi-supervised generative adversarial network in response to the defects in the prior art.

[0006] The technical solution adopted by the present invention to solve its technical problem is:

[0007] The present invention provides a method for interpolating missing values ​​of cultural relic perception data based on a semi-supervised generative adversarial network, the method comprising the following steps:

[0008] Step 1, obtain a data set containing cultural relics perception data and preprocess it. The preprocessing includes simulating missing of the data set. The mechanisms of simulated missing include completely random missing, random missing, and non-random missing.

[0009] Step 2: A DAE-SemiGAN model for missing value prediction is constructed for various types of incomplete data sets. A denoising autoencoder is added to the model. The preprocessed data set is input into the DAE-SemiGAN model for training to generate a sample set with the highest similarity to the original data set.

[0010] Step 3: Based on the generated sample set, calculate the similarity between each tuple in the sample set, construct a similarity graph, convert the similarity graph from an undirected graph to a directed graph, and obtain the filling order; finally, fill in the missing data in the data set based on the sample set and filling order generated by the model.

[0011] Furthermore, the method of step 1 of the present invention is specifically as follows:

[0012] The data set S containing missing values ​​is input and preprocessed, that is, missing values ​​are simulated for the data set. The missing mechanisms include completely random missing, random missing, and non-random missing. According to these three missing mechanisms, missing values ​​are randomly generated for the data set S to generate a data set S' containing a certain proportion of missing values.

[0013] Furthermore, the method of step 2 of the present invention is specifically as follows:

[0014] Step 2.1, obtain the preprocessed data set S' containing missing values ​​and convert it into a vector X = (X1, ..., X d ,y);

[0015] Step 2.2: Build the DAE-SemiGAN model.

[0016] Step 2.3: Set the vector X = (X1,…,X d ,y), passed into the DAE-SemiGAN model, and the DAE-SemiGAN model is used to learn the features of the vector;

[0017] Step 2.4: After training with the DAE-SemiGAN model, output the sample set XG that has the highest similarity with the original data set.

[0018] Furthermore, the DAE-SemiGAN model constructed in step 2.2 of the present invention is specifically:

[0019] The specific structure of the model includes a denoising autoencoder DAE and a semi-supervised generative adversarial network model SemiGAN with an added y label. The vector processed by the denoising autoencoder DAE is passed into the semi-supervised generative adversarial network SemiGAN for model training; the semi-supervised generative adversarial network SemiGAN is a generative model used to generate new samples that obey the distribution of the original data set. It includes a generator G and a discriminator D. That is, when a data set containing missing values ​​is passed into the semi-supervised generative adversarial network SemiGAN, through the game between the generator G and the discriminator D, the generator G will eventually generate a complete new sample set XG that conforms to the distribution of the original data set. This complete sample set XG is used as the basis for filling in missing values.

[0020] Furthermore, the method of step 2.3 of the present invention is specifically as follows:

[0021] Step 2.3.1, the vector X is first passed into the denoising autoencoder DAE, which first loses the original data with a certain probability, and then compresses the original data after noise pollution through the "bottleneck" of the neural network to obtain its feature expression vector, and then uses the decoder to reconstruct the original input data, and finally obtains the weight parameters of the entire network by minimizing the reconstruction loss function, that is, the vector Xz corresponding to the output weight parameters;

[0022] Step 2.3.2, the vector Xz processed by the denoising autoencoder DAE is used as the input of this step and passed into the semi-supervised generative adversarial network model SemiGAN. The generative adversarial network includes a generator G and a discriminator D. It adopts the idea of ​​binary game. The goal of both parties is to maximize their own interests.

[0023] Furthermore, the formula for calculating the weight parameter in step 2.3.1 of the present invention is:

[0024] z=Encoder(X+η)

[0025] X Z =Deconder(z)

[0026] Among them, X is the low-dimensional vector expression of the data set, η is the noise in the DAE, which is encoded into z by the encoder Encoder, z is the feature expression vector in the denoising autoencoder DAE, and then z is decoded by the decoder Decoder to obtain Xz, which is the low-dimensional feature expression vector generated after DAE processing.

[0027] Furthermore, the method in step 2.3.2 of the present invention is specifically:

[0028] χ=R d is a d-dimensional numerical data domain, X=(X1,…,X d ,y) represents a random variable from d-dimensional space, and its distribution is represented by P(X); M=(M1,…,M n ) represents a random binary variable with values ​​{0,1}, which is called a mask vector; the mask corresponds to the unobserved values ​​in the vector X, so 0 indicates that the value at the corresponding position is a missing value, and 1 indicates that the value at this position is not missing; the distribution of M corresponds to the distribution of missing values ​​in the data set; in order to directly replace missing values ​​with 0, we introduce in

[0029]

[0030] The goal is to and the non-missing features in M ​​to infer missing values ​​in ; implementing this generatively means learning the conditional distribution

[0031]

[0032] Where Z is a random vector that conforms to the normal distribution; Can be seen as The missing parts in are replaced by normal random vectors;

[0033] If both the generator and the discriminator are subject to some additional condition c, the data generation process can be guided by appending c to the input layer and inputting it into the generator and discriminator for adjustment;

[0034] In the generator, the corresponding condition c is input while the noise is input, and the real data x and condition c are used as the input of the discriminator. Its objective function V(D,G) is shown as follows:

[0035]

[0036] in Indicates the probability of whether the generated data obtained by inputting data x and condition c into D is real data; It represents the probability that the noise vector combined with condition c is input into G and then judged by D as real data; the goal is to maximize the probabilities of the two. Through the above formula, the final output is the generator and discriminator model that can make the generated data have the highest probability of being real data.

[0037] Furthermore, the method of step 3 of the present invention is specifically as follows:

[0038] Step 3.1, similarity calculation: For the n missing tuples MD contained in the missing data set, if x ik With x jk The attribute neighborhood of x has a high similarity, then ik With x jk The difference is not big; based on the introduction of the similarity of different tuples in attributes, the Euclidean distance is used to measure the similarity between different tuples; assuming that there is data missing in the current k-th dimension attribute, the missing tuple D i and D j The multi-dimensional similarity between is:

[0039]

[0040] Step 3.2, neighbor node screening: Get the similarity dist between each missing tuple and the remaining tuples; in order to reduce the computational complexity of similarity graph construction, first screen the neighbor nodes of the missing tuple; the screening rule is that the nodes with similarity less than the given similarity threshold δ will be deleted;

[0041] Step 3.3, similarity graph construction: Based on the screening of the missing tuple's neighboring nodes, obtain the list of n missing tuples' neighboring nodes and the similarity between the missing tuple and each neighboring node; construct a similarity graph centered on the missing tuple based on these data information; since the construction of the similarity graph is mainly used to determine the order of filling the missing tuples, the vertices of the graph only contain the missing tuples; the vertex weights is the result of the fusion of the similarity between the missing tuple and all its relatively complete neighboring nodes; the edge indicates that the two missing tuples are neighboring nodes, and the edge weight is the similarity between the two; thus, an undirected weighted similarity graph is constructed that can intuitively reflect the dependency relationship between missing tuples, and the edge weight reflects the size of the similarity between the two missing tuples, and the vertex weight reflects the distribution of all relatively complete neighboring nodes of each missing tuple. The calculation formula is as follows:

[0042]

[0043] Among them, Sim ik is the similarity between the missing ancestor Di and its nearest complete ancestor, calculated by the formula That is the weight value of the vertex in the similarity graph;

[0044] Step 3.4, order decision: Based on the similarity graph of missing tuples constructed, the vertex weight of the similarity graph reflects the number of relatively complete neighboring nodes that can be used to fill the missing tuple and the similarity between the neighboring nodes and the missing tuple. The larger the weight value, the more relatively complete data around it can be used for filling and the higher the similarity, which further reflects that the contribution of its missing neighboring nodes in the filling process is relatively small; while the edge weight reflects the similarity between two missing tuples. The higher the similarity, the greater the mutual influence between the two data sources in the data filling process; when a filling order is given, the filling priority of each pair of mutually neighboring nodes, that is, two missing tuples connected by an edge, can be determined, and then the corresponding undirected weighted similarity graph can be converted into a directed weighted similarity graph;

[0045] Step 3.5, get complete data: when the directed weighted similarity graph is obtained, the missing values ​​in the data set S can be filled in sequence according to the complete sample set XG in this filling order; each category is carried out simultaneously. When the first missing value in each category has been filled, the data set S' is input into the DAE-SemiGAN model in step 2 again. The model will generate a new complete sample set XG'. According to this new sample set and the directed weighted similarity graph, the remaining missing values ​​will continue to be filled, and this cycle will be repeated until all missing values ​​are filled and a complete data set is obtained.

[0046] The beneficial effects of the present invention are as follows: the missing value interpolation method of cultural relics perception data based on semi-supervised generative adversarial network of the present invention constructs a DAE-SemiGAN missing value prediction model to address the defects of traditional missing value interpolation methods, thereby achieving a more effective missing value prediction effect; in the missing value filling process, the filling order is optimally decided, that is, the filling priority between missing tuples is determined, so as to obtain a more accurate filling result.

[0047] The model method proposed in the present invention can process various types of data and can directly and efficiently fill in incomplete data sets. The feasibility and effectiveness of the model were verified by experiments. The experiments proved that this model method has an overall improvement of 6.2% in accuracy compared with the other three methods. The direct experimental results of missing value filling accuracy show that this model method is lower than the other three traditional interpolation methods in terms of RMSE and MAE indicators. It can be concluded that the proposed new model method can effectively reduce the missing value prediction error and can predict missing values ​​more accurately. The indirect experimental results of missing value filling accuracy show that when the filled data set is used to perform classification tasks, this model method is higher than the other three traditional methods in terms of AUROC indicators. It can be concluded that the proposed model method performs better in classification tasks, which indirectly indicates that the missing value filling effect is better. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:

[0049] Figure 1 is a method flow chart of an embodiment of the present invention;

[0050] Figure 2 is the encoding and decoding process of the embodiment of the present invention;

[0051] Figure 3 are the generator and the discriminator of the embodiment of the present invention;

[0052] Figure 4 is a list of neighboring nodes of the missing tuple in an embodiment of the present invention;

[0053] Figure 5 This is a comparison chart of RMSE experiments of an embodiment of the present invention;

[0054] Figure 6 It is a comparison chart of MAE experiments of the embodiments of the present invention. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0056] like Figure 1 As shown, the missing value interpolation method of cultural relic perception data based on a semi-supervised generative adversarial network in an embodiment of the present invention includes the following steps:

[0057] Step 1: Data preprocessing:

[0058] The dataset S containing missing values ​​is input and preprocessed, that is, the dataset is simulated for missing values. The missing mechanisms are divided into three categories: missing completely at random (MCAR), missing at random (MAR), and missing not at random (MNAR). According to these missing mechanisms, the dataset S is randomly generated with missing values ​​to generate a dataset S' containing a certain proportion of missing values.

[0059] Step 2: DAE-SemiGAN model training:

[0060] Step 2.1, obtain the preprocessed data set S' containing missing values, convert it into a vector X = {X1, X2, X3, ..., Xd, y}, and pass it into the model;

[0061] Step 2.2: Build the DAE-SemiGAN model.

[0062] The specific structure of the model includes a denoising autoencoder DAE and a generative adversarial network model SemiGAN with a y label added. The vector processed by the denoising autoencoder DAE is passed to the semi-supervised generative adversarial network SemiGAN for model training. The generative adversarial network is a generative model that can generate new samples that obey the distribution of the original data set. It mainly consists of a generator G and a discriminator D. That is, when a data set containing missing values ​​is passed into the generative adversarial network GAN, through the game between the generator G and the discriminator D, the generator G will eventually generate a complete new sample set XG that conforms to the distribution of the original data set. This complete sample set XG can be used as the basis for filling in missing values.

[0063] Step 2.3, substitute the pre-processed data set S into the model, first convert it into a vector X = {X1, X2, X3, ..., Xn, y}, and then pass it into the DAE-SemiGAN model. The SemiGAN model uses its own advantages and characteristics to learn the features of the samples;

[0064] Step 2.3.1, vector X is first passed into the denoising autoencoder DAE, which first loses the original data with a certain probability, and then compresses the original data after noise pollution through the "bottleneck" of the neural network to obtain its feature expression vector, and then uses the decoder to reconstruct the original input data, and finally obtains the weight parameters of the entire network by minimizing the reconstruction loss function. The encoding and decoding process is as follows Figure 2 shown.

[0065] Step 2.3.2, the vector Xz processed by the denoising autoencoder DAE is used as the input of this step, and is passed into the semi-supervised generative adversarial network model SemiGAN. The generative adversarial network is a generative model that can generate new samples that obey the distribution of the original data set. It mainly consists of a generator G and a discriminator D. The idea of ​​binary game is adopted, and the goal of both parties is to maximize their own interests.

[0066] χ=R d is a d-dimensional numerical data domain, X=(X1,…,X d ,y) represents a random variable from d-dimensional space, and its distribution is represented by P(X). n ) represents a random binary variable with values ​​{0,1}, which is called a mask vector. The mask corresponds to the unobserved values ​​in X, so 0 indicates that the value at the corresponding position is missing, and 1 indicates that the value at this position is not missing. The distribution of M corresponds to the distribution of missing values ​​in the dataset. In order to directly replace missing values ​​with 0, we introduce in

[0067]

[0068] The goal is to and the non-missing features in M ​​to infer To achieve this generatively means learning the conditional distribution

[0069]

[0070] Where Z is a random vector that follows a normal distribution. Can be seen as The missing parts in are replaced by normal random vectors.

[0071] If both the generator and the discriminator are subject to some additional conditions c, such as class labels, then c can be appended to the input layer and fed into the generator and discriminator for conditioning, which can guide the data generation process.

[0072] In the generator, the corresponding condition c is input while the noise is input, and the real data x and condition c are used as the input of the discriminator. Its objective function V(D,G) is shown as follows:

[0073]

[0074] in Indicates the probability of whether the generated data obtained by inputting data x and condition c into D is real data; It represents the probability that the noise vector combined with condition c is input into G and then judged by D as real data. Figure 3 shown.

[0075] Step 2.4: The DAE-SemiGAN model uses its own advantages and characteristics to learn the features of the samples, and generates and outputs a sample set XG with the highest similarity to the original data set to the greatest extent.

[0076] Step 3, filling order decision: Get the complete sample set XG generated by the model in the previous step. In the last part of missing value filling, keep the non-missing values ​​as they are, use the similarity calculation method and similarity graph construction method to make the best decision on the filling order, and then fill the corresponding missing values ​​based on the complete sample set XG.

[0077] Step 3.1, similarity calculation:

[0078] Attribute correlation means that data in different dimensions have certain correlation. For example, the temperature and salinity of seawater, the visibility and wind speed of air all have certain positive correlation. For the n missing tuples MD contained in the missing data set, if x ik With x jk The attribute neighborhood of x has a high similarity, then ik With x jk The difference is not big. Based on the introduction of the similarity of different tuples in attributes, the Euclidean distance is used to measure the similarity between different tuples. Assuming that there is missing data in the current k-th dimension attribute, the missing tuple D i and D j The multi-dimensional similarity between is:

[0079]

[0080] Step 3.2 Neighbor node screening: From the previous step, the similarity dist between each missing tuple and the remaining tuple can be obtained. Since the neighbor nodes of the missing tuple will be used to determine the filling order and the missing value filling process, and the nodes with lower similarity have less influence on the filling order and the filling value. In order to reduce the computational complexity of similarity graph construction, the neighbor nodes of the missing tuple are first screened. The screening rule is that the nodes with similarity less than the given similarity threshold δ will be deleted.

[0081] Example 1: Taking the credit dataset in the UCI standard database as an example, according to the definition of similarity calculation above, the similarity between each missing tuple and the remaining tuple can be obtained as shown in the following table. Assuming the threshold is 0.8, the neighbor node list of each missing tuple is as follows Figure 4 shown.

[0082] Table 1 The similarity between the missing tuples and the remaining tuples in the credit dataset

[0083]

[0084] Step 3.3 Similarity graph construction: Based on the introduction of the missing tuple neighbor node screening strategy, we can get the neighbor node list of n missing tuples and the similarity between the missing tuple and each neighbor node. This section will construct a similarity graph centered on the missing tuple based on this data information. Since the construction of the similarity graph is mainly used to determine the order of filling the missing tuples, the vertices of the graph only contain missing tuples. Vertex weight is the result of the fusion of the similarity between the missing tuple and all its relatively complete neighboring nodes. The edge indicates that two missing tuples are neighboring nodes to each other, and the edge weight is the similarity between the two. In this way, an undirected weighted similarity graph that can intuitively reflect the dependency relationship between missing tuples is constructed, and the edge weight reflects the size of the similarity between the two missing tuples, and the vertex weight reflects the distribution of all relatively complete neighboring nodes of each missing tuple. The calculation formula is as follows.

[0085]

[0086] Step 3.4 Order decision: Based on the similarity graph of missing tuples constructed, the main problem to be solved in this section is the decision on the order of filling missing tuples. According to the previous step, the vertex weight of the similarity graph reflects the number of relatively complete neighbor nodes that can be used to fill the missing tuple and the similarity between the neighbor nodes and the missing tuple. The larger the weight value, the more relatively complete data around it can be used for filling and the higher the similarity, which further reflects that the contribution of its missing neighbor nodes in the filling process is relatively small. The edge weight reflects the similarity between two missing tuples. The higher the similarity, the greater the mutual influence between the two data sources in the data filling process. When a filling order is given, the filling priority of each pair of missing tuples that are mutually neighboring nodes (i.e. connected by an edge) can be determined, and the corresponding undirected weighted similarity graph can be converted into a directed weighted similarity graph.

[0087] Step 3.5: Get complete data: When the directed weighted similarity graph is obtained, the missing values ​​in the data set S can be filled in sequence according to the complete sample set XG. Each category is carried out simultaneously. When the first missing value in each category has been filled, the data set S' is input into the DAE-SemiGAN model in step 2 again. The model will generate a new complete sample set XG'. According to this new sample set and the directed weighted similarity graph, the remaining missing values ​​will continue to be filled. This cycle continues until all missing values ​​are filled and a complete data set is obtained.

[0088] Experimental analysis:

[0089] The DAE-SemiGAN model method proposed in the embodiment of the present invention conducted multiple comparative experiments with the three methods of GAIN, MissForest, and MICE on real perception datasets. The effectiveness of this model can be demonstrated by the differences in the three metrics of RMSE, MAE, and AUROC, as shown in the following figure.

[0090] Figure 5 , Figure 6 As the missing rate of the data set continues to increase, the RMSE and MAE error experimental comparison charts of the DAE-SemiGAN model method and the GAIN, MissForest, and MICE methods for predicting missing values ​​are shown. As can be seen from the figure, the RMSE and MAE errors generated by the several methods almost increase accordingly with the increasing missing rate of the data set. This is because when the missing rate of the data set is larger, that is, the more missing values ​​it contains, the fewer observations can be used, and the "basis" for predicting missing values ​​becomes less, and the accuracy of the model method for predicting missing values ​​also decreases. Through experiments, it is proved that compared with other methods, this model method has an overall improvement of 6.2% in accuracy.

[0091] It should be understood that those skilled in the art can make improvements or changes based on the above description, and all these improvements and changes should fall within the scope of protection of the appended claims of the present invention.

Claims

1. A missing value interpolation method for cultural relic perception data based on semi-supervised generative adversarial network, It is characterized in that The method comprises the following steps: Step 1, obtain a data set containing cultural relics perception data and preprocess it. The preprocessing includes simulating missing of the data set. The mechanisms of simulated missing include completely random missing, random missing, and non-random missing. Step 2: A DAE-SemiGAN model for missing value prediction is constructed for various types of incomplete data sets. A denoising autoencoder is added to the model. The preprocessed data set is input into the DAE-SemiGAN model for training to generate a sample set with the highest similarity to the original data set. Step 3: Based on the generated sample set, calculate the similarity between each tuple in the sample set, construct a similarity graph, convert the similarity graph from an undirected graph to a directed graph, and obtain the filling order; finally, fill in the missing data in the data set based on the sample set and filling order generated by the model; The method of step 2 is specifically as follows: Step 2.1: Get the preprocessed data set S' containing missing values ​​and convert it into a vector ; Step 2.2: Build the DAE-SemiGAN model. Step 2.3: Vector , passed into the DAE-SemiGAN model, and the DAE-SemiGAN model is used to learn the features of the vector; Step 2.4: After training with the DAE-SemiGAN model, output the sample set XG that has the highest similarity with the original data set; The DAE-SemiGAN model constructed in step 2.2 is specifically: The specific structure of the model includes a denoising autoencoder DAE and a semi-supervised generative adversarial network model SemiGAN with an added y label. The vector processed by the denoising autoencoder DAE is passed into the semi-supervised generative adversarial network SemiGAN for model training; the semi-supervised generative adversarial network SemiGAN is a generative model used to generate new samples that obey the distribution of the original data set. It includes a generator G and a discriminator D. That is, when a data set containing missing values ​​is passed into the semi-supervised generative adversarial network SemiGAN, through the game between the generator G and the discriminator D, the generator G will eventually generate a complete new sample set XG that conforms to the distribution of the original data set. This complete sample set XG is used as the basis for filling in missing values.

2. According to claim 1, the missing value interpolation method of cultural relics perception data based on semi-supervised generative adversarial network, It is characterized in that The method of step 1 is specifically as follows: The data set S containing missing values ​​is input and preprocessed, that is, missing values ​​are simulated for the data set. The missing mechanisms include completely random missing, random missing, and non-random missing. According to these three missing mechanisms, missing values ​​are randomly generated for the data set S to generate a data set S' containing a certain proportion of missing values.

3. According to claim 1, the missing value interpolation method of cultural relics perception data based on semi-supervised generative adversarial network, It is characterized in that The method of step 2.3 is specifically as follows: Step 2.3.1, the vector X is first passed into the denoising autoencoder DAE, which first loses the original data with a certain probability, and then compresses the original data after noise pollution through the "bottleneck" of the neural network to obtain its feature expression vector, and then uses the decoder to reconstruct the original input data, and finally obtains the weight parameters of the entire network by minimizing the reconstruction loss function, that is, the vector Xz corresponding to the output weight parameters; Step 2.3.2, the vector Xz processed by the denoising autoencoder DAE is used as the input of this step and passed into the semi-supervised generative adversarial network model SemiGAN. The generative adversarial network includes a generator G and a discriminator D. It adopts the idea of ​​binary game. The goal of both parties is to maximize their own interests.

4. According to claim 3, the missing value interpolation method of cultural relics perception data based on semi-supervised generative adversarial network, It is characterized in that The formula for calculating the weight parameter in step 2.3.1 is: Among them, X is the low-dimensional vector expression of the data set, is the noise in the DAE, which is encoded into z by the encoder Encoder. z is the feature expression vector in the denoising autoencoder DAE. Then z is decoded by the decoder Decoder to obtain Xz, which is the low-dimensional feature expression vector generated after DAE processing.

5. According to claim 3, the missing value interpolation method of cultural relics perception data based on semi-supervised generative adversarial network, It is characterized in that The method in step 2.3.2 is specifically as follows: is a d-dimensional numerical data domain, represents a random variable from d-dimensional space, whose distribution is express; represents a random binary variable with values ​​{0,1}, which is called a mask vector; the mask corresponds to the unobserved values ​​in the vector X, so 0 indicates that the value at the corresponding position is a missing value, and 1 indicates that the value at this position is not missing; the distribution of M corresponds to the distribution of missing values ​​in the data set; in order to directly replace missing values ​​with 0, we introduce ,in The goal is to and Infer the information of non-missing features missing values ​​in ; implementing this generatively means learning the conditional distribution ; in is a random vector that conforms to the normal distribution; Can be seen as The missing parts in are replaced by normal random vectors; If both the generator and the discriminator are subject to certain additional conditions , by Attached to the input layer, the input is fed into the generator and discriminator for adjustment, which can guide the data generation process; In the generator, input the noise and the corresponding conditions , and the real data and conditions As the input of the discriminator, its objective function As shown below: in Indicates that the data With conditions enter Get the probability of whether the generated data is real data; Denotes the noise vector combined condition enter Then pass Determine the probability that it is real data; the goal is to maximize the probabilities of the two. Through the above formula, the final output is the generator and discriminator model that can make the generated data have the highest probability of being real data.

6. According to claim 1, the missing value interpolation method of cultural relics perception data based on semi-supervised generative adversarial network, It is characterized in that The method of step 3 is specifically as follows: Step 3.1, similarity calculation: for the missing data set Missing tuples ,like and The attribute neighborhood of has a high similarity, then and The difference is not big; based on the introduction of the similarity of different tuples in attributes, the Euclidean distance is used to measure the similarity between different tuples; assuming that the current If there is missing data in the dimension attribute, the tuple is missing and The multi-dimensional similarity between is: Step 3.2, neighbor node screening: Get the similarity dist between each missing tuple and the remaining tuples; in order to reduce the computational complexity of similarity graph construction, first screen the neighbor nodes of the missing tuple; the screening rule is that the similarity is less than the given similarity threshold The nodes will be deleted; Step 3.3, similarity graph construction: According to the screening of the neighboring nodes of the missing tuple, we get The list of neighboring nodes of the missing tuples and the similarity between the missing tuples and each neighboring node; based on this data information, a similarity graph centered on the missing tuple is constructed; since the construction of the similarity graph is mainly used to determine the order of filling the missing tuples, the vertices of the graph only contain missing tuples; the vertex weights is the result of the fusion of the similarity between the missing tuple and all its relatively complete neighboring nodes; the edge indicates that the two missing tuples are neighboring nodes, and the edge weight is the similarity between the two; thus, an undirected weighted similarity graph is constructed that can intuitively reflect the dependency relationship between missing tuples, and the edge weight reflects the size of the similarity between the two missing tuples, and the vertex weight reflects the distribution of all relatively complete neighboring nodes of each missing tuple. The calculation formula is as follows: Among them, Sim ik is the similarity between the missing ancestor Di and its nearest complete ancestor, calculated by the formula , which is the weight value of the vertex in the similarity graph; Step 3.4, order decision: Based on the similarity graph of missing tuples constructed, the vertex weight of the similarity graph reflects the number of relatively complete neighboring nodes that can be used to fill the missing tuple and the similarity between the neighboring nodes and the missing tuple. The larger the weight value, the more relatively complete data around it can be used for filling and the higher the similarity, which further reflects that the contribution of its missing neighboring nodes in the filling process is relatively small; while the edge weight reflects the similarity between two missing tuples. The higher the similarity, the greater the mutual influence between the two data sources in the data filling process; when a filling order is given, the filling priority of each pair of mutually neighboring nodes, that is, two missing tuples connected by an edge, can be determined, and then the corresponding undirected weighted similarity graph can be converted into a directed weighted similarity graph; Step 3.5, get complete data: when the directed weighted similarity graph is obtained, the missing values ​​in the data set S can be filled in sequence according to the complete sample set XG in this filling order; each category is carried out simultaneously. When the first missing value in each category has been filled, the data set S' is input into the DAE-SemiGAN model in step 2 again. The model will generate a new complete sample set XG'. According to this new sample set and the directed weighted similarity graph, the remaining missing values ​​will continue to be filled, and this cycle will be repeated until all missing values ​​are filled and a complete data set is obtained.

Citation Information

Patent Citations

  • Missing value filling method and system based on linear self-learning network, and storage medium

    CN112085125A

  • Multiple imputation of missing data in multi-dimensional retail sales data sets via tensor factorization

    US20130036082A1