A method for reverse parsing and recovering key attributes of secure coded images

Through the reverse analysis method, including image preprocessing and representation disentanglement network, it solves the problem that existing image security coding technology may leak information on the model, realizes the key attribute recovery and security assessment of image data, and reveals the attack path. , which provides a protection strategy for image security coding technology.

CN118397115BActive Publication Date: 2024-10-01NANJING UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410806267.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-10-01
Estimated Expiration
2044-06-21

AI Technical Summary

Technical Problem

The good performance of existing image security coding technology on the model may reveal more information about the original image, and there are attack paths and weaknesses, resulting in insufficient protection of key attributes.

Method used

Adopt inverse parsing methods, including image preprocessing, mixing coefficient inference, latent code generation and inverse parsing of the representation disentanglement network, remove random symbol flipping noise through autoencoders, infer the mixing coefficients, and utilize deep neural networks and representation disentanglement networks Restore original image features.

Benefits of technology

Effectively restore the key attribute information of the original image data, reveal the attack paths and weaknesses of the image security coding technology, provide strategic guidance for the security of the image security coding technology, and improve the security and reliability of the data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118397115B_ABST
    Figure CN118397115B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of image security processing technology, and discloses a method for reverse parsing and restoring key attributes of securely coded images, including image preprocessing, mixing coefficient inference, classifier training, potential coding generation, and reverse parsing of characterizing disentangled networks, separating highly entangled feature representations and restoring the original features therefrom. Aiming at the weaknesses of existing image security coding technology, the present invention provides an effective coding reverse parsing solution, recovers key attribute information of original image data from coding data sets, reveals attack paths and weaknesses of image security coding technology, and provides strategic guidance for the security of image security coding technology. It has important application prospects in the fields of computer data key attributes, data security analysis, etc.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method for recovering key attributes of an image, and more specifically, to a method for reverse parsing and recovering key attributes of a securely encoded image, and belongs to the technical field of image security processing. Background Art

[0002] As the digitalization process continues to develop, the use and sharing of image data has become more common, but it also brings the potential risk of key attribute leakage. The leakage of sensitive information such as personal characteristics, financial data, and medical records contained in image data may lead to identity theft and other problems. Traditional privacy protection methods protect image data through strict encryption, which may cause the degradation of image quality and the loss of semantic information. Therefore, image security coding technology has emerged, which is committed to preserving the integrity and availability of image data while protecting key attributes.

[0003] Image security coding technology generates a coded data set by encoding and converting image data. This data set retains some of the features and structures of the original image data and can be used in scenarios such as model training and data sharing. At the same time, the encoding process ensures that the coded image will not leak the key attributes of the original data through methods such as image mixing and adding perturbations. Mixup and Instahide are two typical image security coding technologies. The former achieves the expansion of the data set by interpolating multiple images and their labels, while reducing the probability of reverse parsing the original data features from the coded data set. Instahide adds additional perturbations to the Mixup technology, flipping the highest sign bit of each pixel of the image with a certain probability, further hiding the key attribute information of the original image.

[0004] However, the inventors of this application have found that there is a natural contradiction between the availability and privacy of the encoded dataset, that is, its good performance on the model may reveal more information about the original image. Even if the sensitive information in the encoded dataset is intuitively vague or difficult to understand, in some cases, it is still possible to restore the original image or infer sensitive information by analyzing the features and patterns of the encoded dataset.

[0005] Based on the above problems, the inventors proposed a reverse analysis and key attribute recovery scheme for image security coding technology to help understand and evaluate the effectiveness of security coding technology, reveal possible attack paths and weaknesses, verify the key attribute protection performance of security coding technology, and then help formulate corresponding countermeasures. Summary of the invention

[0006] In response to the weaknesses of the above-mentioned existing image security coding technology, this application provides an effective coding reverse parsing solution to recover the key attribute information of the original image data from the coded data set, reveal the attack paths and weaknesses of the image security coding technology, and provide strategic guidance for the security of the image security coding technology.

[0007] This application discloses a method for reverse parsing and recovering key attributes of securely encoded images, covering image preprocessing, inference of mixing coefficients, generation of latent codes, and reverse parsing of characterizing disentangled networks. The specific steps are as follows:

[0008] Step 1: Image preprocessing, receiving the securely encoded image encoding dataset and restoring the original unperturbed mixed image dataset;

[0009] The input data is a dataset of images securely encoded by Instahide. First, the image data will be fed into a preprocessing module, which restores the original unperturbed mixed image by removing the random mask on the image. The preprocessing module uses a generative adversarial network to reverse the random sign flipping process to generate multiple mixed image datasets.

[0010] Mixup creates new training samples by linearly interpolating two or more different samples. and ,in and are input features, and is the corresponding label, Mixup will generate a new sample ,in , , is a random variable that follows a Beta distribution. Here, the Mixup security coding process can be expressed as a matrix multiplication form, that is, ,in is a matrix, each element represents the mixing weight of the corresponding sample. Instahide secure encoding generates a new occluded sample ,in Here, Is a matrix used to indicate whether the pixel at the corresponding position is blocked. is a and A discrete random integer matrix whose elements are sampled according to a discrete uniform distribution.

[0011] The present invention presupposes that the decoding algorithm has access to the securely encoded Mixup or Instahide Code samples, represented as or Therefore, the reverse analysis of Instahide can be divided into and The purpose of the preprocessing step is to reverse the masking process. To reverse, find a ,make By constructing image pairs before and after random sign flipping, the present invention uses an autoencoder to remove random sign flipping, and the specific steps include:

[0012] Step 1.1: Build an autoencoder model;

[0013] The encoder synthesizes a set of samples Mapping to a low-dimensional latent representation The encoder is a model consisting of a series of neural network layers that maps input samples to representations in a latent space. The decoder maps the latent representations to Restore as close as possible to the original mixed sample The structure of the image is opposite to that of the encoder.

[0014] Step 1.2: Construct training data pairs;

[0015] Using a mixed sample set And the set of synthetic samples after random sign flipping Construct training data pairs. Each training data pair includes a synthetic sample and a corresponding mixed sample. Mixed sample is known, and the synthetic sample It is obtained by performing a random sign flip operation on the mixed samples.

[0016] Step 1.3: Define the loss function;

[0017] Use the loss function to measure the decoder output Mixed with original sample The difference between . The loss function can be defined as: ,in For the encoder, For the decoder.

[0018] Step 1.4: Train the autoencoder model;

[0019] The autoencoder model is trained by minimizing the above loss function using the stochastic gradient descent optimization algorithm. In each training step, the input sample is fed into the autoencoder model, and the gradient is calculated and the model parameters are updated using the back-propagation algorithm.

[0020] Step 1.5: Reconstruct the sample;

[0021] After the autoencoder model training is completed, the new synthetic sample set Input the encoder and pass through the decoder to obtain the reconstructed sample that eliminates the influence of random symbol flip noise. ,Right now In this way, the autoencoder learns the inverse mapping of the random sign-flipping noise, thereby eliminating the noise to a certain extent and restoring the original features of the mixed samples.

[0022] Step 2: Mixing coefficient inference: Input the mixed image dataset, infer the mixing coefficient λ in each encoded sample label, which represents the contribution of each image in the mixed image, and calculate the mixing coefficient λ; by calculating , we can determine some of the potential codes needed to generate the next step. Specifically:

[0023] 2.1: Private sample mixing coefficient estimation;

[0024] For a given mixed label , it can be observed that each element Assume that non-zero elements, and their corresponding indices are In this case, the mixing coefficient can be inferred to be ,in .

[0025] 2.2: Estimation of mixing coefficient of public samples;

[0026] Based on the prior knowledge given by the sample encoding method, determine whether it is a cross-dataset. If the sample encoding process includes private and public datasets, it belongs to cross-dataset sample encoding, and it is necessary to continue to estimate the mixing coefficient of the public sample. Assume that the sum of the private sample coefficients obtained in step 2.1 is , then the sum of the mixing coefficients of the public samples is ;

[0027] Each mixed sample contains For the common samples, their mixing coefficients are set to , that is, the public sample coefficients are evenly distributed.

[0028] For the case of mixing some unlabeled public samples, if we can only access the labels after mixing, we can use a simple method to estimate the mixing coefficient of private and public samples. Assume that the mixing coefficient of private and public samples is and , each mixed sample contains For the public sample part, its mixing coefficient can be set to The reason for this is that, assuming that the public samples are uniformly mixed, the mixing coefficient of each public sample is the same. Therefore, the remaining The part is evenly distributed to each public sample, i.e. .

[0029] It should be noted that this simple estimation method assumes that the mixture between the common samples is uniform and that there are no other complex transformations in the mixing process. In practical applications, more complex methods may be required to estimate the mixing coefficients, depending on the specific problem and the nature of the dataset.

[0030] Step 3: Classifier training: Input the mixed image and its label into a classifier for training. The classifier is a deep neural network that can automatically extract features from the image and classify the image based on these features. The specific steps include:

[0031] Step 3.1: Prepare mixed image data and corresponding label data;

[0032] Step 3.2: Build a deep neural network classifier model; Use the existing VGG-16 network to build a classifier model;

[0033] Step 3.3: Use the mixed image as input data and the label as the target output to form a training sample pair ;

[0034] Step 3.4: Through training sample pairs Optimize the model parameters: ,in are model parameters, is the output of the model, is the loss function;

[0035] Step 3.5: Repeat step 3.4 until the loss reaches a certain threshold or the number of training epochs reaches the maximum number of training epochs.

[0036] Step 4: Latent coding generation; the latent coding includes supervised and unsupervised parts, where the supervised part is composed of the mixing coefficient The unsupervised part is obtained by concatenating the prior knowledge about the secure coding scheme with random noise:

[0037] Step 4.1: Define the random noise latent variable Sampling from a high-dimensional noise distribution (such as a normal or uniform distribution);

[0038] Step 4.2: Define Latent Codes , including supervised and unsupervised parts, controlling the properties of generated samples;

[0039] For the case in the encoded dataset, the latent encoding The random part includes discrete variables, used to control which private images the current image is composed of. The value range of each discrete variable is ,in is the number of private images;

[0040] If the encoded data also contains other public image information, you can use discrete variables to control which public images the current image contains. The value range of each discrete variable is ,in is the number of categories of public images;

[0041] The latent code of the supervision part is used to control the proportion of each private image in the mixed image. This part contains A continuous variable indicating the intensity of mixing;

[0042] Continuous variables By parameters Composition, each parameter changes continuously within a certain range, and the specific range is determined according to the problem requirements;

[0043] Step 4.3: Substitute the random noise latent variable and latent coding Combine to form the input of the generator ,in Represents a vector concatenation operation.

[0044] Step 5: Representation disentanglement and reverse analysis of the image; input the potential code and classifier into the representation disentanglement network for reverse analysis. The representation disentanglement network is a special network structure that can separate highly entangled feature representations and restore the original features from them; the specific steps include:

[0045] Step 5.1: The disentangled network adds a classifier based on the original InfoGAN , Instahide-encoded images are used for training. During the training process, only the weights of the convolutional layer are updated, and the fully connected layer of the classifier is kept fixed. The pre-trained convolutional layer is used as a feature extractor and shared by the discriminator in the InfoGAN network. In the training of the disentangled network, the convolutional layer parameters shared by the discriminator and the generator remain unchanged, and the remaining parameters of the two networks are updated respectively; the discriminator and the classifier of the present invention both use the existing VGG16 network structure.

[0046] Step 5.2: The loss function of the disentangled network consists of three parts: Generator loss function , discriminator loss function and the classifier loss function ;

[0047] The goal of the generator is to generate samples that are as realistic as possible and difficult to distinguish by the discriminator. The generator loss function is implemented by minimizing the negative logarithmic expectation of the discriminator probability. The goal of the discriminator is to accurately distinguish between real samples and generated samples. The discriminator loss function consists of the negative logarithmic expectation of the judgment results of real samples and generated samples. The loss function of the classifier is used to classify generated samples and real samples to ensure that the generated samples have the correct category attributes;

[0048] Step 5.3: Disentangle the network by introducing the mutual information term Strengthen the correlation between the generated sample and the latent code. This mutual information term controls the correlation between the generated sample and the latent code in the overall optimization objective;

[0049] Step 5.4: Overall loss function for disentangled networks The generator loss, discriminator loss, mutual information term and classifier loss are combined to train the network by minimizing the generator loss and maximizing the discriminator loss.

[0050] ;

[0051] Step 5.5: After the disentangled network training converges, samples with specific attributes or features can be generated by adjusting the random information and deterministic information input to the generator. By controlling the value of the latent code, private samples with specific attributes can be generated, and by adjusting the value of the continuous variable, a reconstructed image that is closely similar to the private image can be generated.

[0052] This application has at least the following technical effects or advantages:

[0053] 1. The implementation method of reverse parsing and key attribute recovery for image security coding provided by the present invention has a wide range of application scenarios and is particularly suitable for security assessment of sample coding schemes and detection of weaknesses and vulnerabilities in obfuscation technology.

[0054] 2. The reverse parsing solution adopted by the present invention restores the securely encoded image data, helps assess the risks of key data attributes, and takes corresponding protection measures. It has important application prospects in the fields of key attributes of computer data, data security analysis, etc. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 Schematic diagram of image security encoding across data sets in an embodiment of the present invention.

[0056] Figure 2 The figure is a schematic diagram of the reverse parsing process for security coding in an embodiment of the present invention.

[0057] Figure 3 Schematic diagram of the de-entanglement principle in an embodiment of the present invention.

[0058] Figure 4 Schematic diagram of potential coding structure in an embodiment of the present invention.

[0059] Figure 5 Schematic diagram of the de-entanglement network structure in an embodiment of the present invention. DETAILED DESCRIPTION

[0060] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific embodiments of the specification.

[0061] Embodiment: This embodiment proposes a method for reverse parsing and recovering key attributes of secure coded images. Figure 1 The cross-dataset image security encoding process considered by the present invention is presented, wherein represents the mixing coefficient, Indicates random sign flipping, that is, the most significant bit of each pixel of the mixed image is replaced by The probability of flipping (0 is flipped to 1, 1 is flipped to 0). The whole synthesis process is expressed as The mixing process is ,In the preprocessing step, an autoencoder model is developed for ,noise removal of random sign flipping in the encoded image.

[0062] like Figure 2 , Figure 3 As shown, the present invention utilizes the highly entangled characteristics of mixed images in the model intermediate representation, and combines known prior knowledge to design a representation disentanglement network, which can approximately restore the details and content of private images. The following will take the secure encoding scheme Instahide as an example to illustrate how the present invention restores key attributes of the encoded image.

[0063] Step 1: Image and Processing

[0064] 1.1. Construct an autoencoder model, in which the encoder part adopts a convolutional neural network structure, which is responsible for converting a set of image sequences that have been randomly flipped. Mapping to a low-dimensional latent feature space The decoder adopts a mirror-symmetric design with the encoder structure. The goal is to reconstruct a mixed image as close to the original clear and noise-free as possible from these potential features. .

[0065] 1.2. Construct training data pairs. Use the cropped ImageNet public dataset and the selected private dataset to create training datasets. Here are the mixed samples is a series of real mixed images, and the synthetic samples It is generated by simulating random sign flipping operations on mixed samples. Each pair of training data includes a synthetic image with added noise and its corresponding original image without noise.

[0066] 1.3. Define the loss function and quantize the denoised reconstructed image output by the decoder The difference between the actual noise-free mixed image M(X). Here, the mean square error loss function is used to calculate the average pixel-level square difference of all images in the entire training batch: ,in and Represent the encoding and decoding processes respectively.

[0067] 1.4. Train the autoencoder model and use the Adam optimizer to perform stochastic gradient descent to train the autoencoder model. By continuously iteratively adjusting the model parameters, the loss function value is continuously reduced. In each iteration, the model receives a batch of randomly sign-flipped images as input, calculates the loss through forward propagation, and then calculates the gradient and updates the model weights through back propagation.

[0068] 1.5. Reconstructed samples. After the autoencoder model has converged, it can be applied to a new set of images with random sign-flipping noise. The encoder extracts the latent representation, and then the decoder reconstructs the image sequence without the noise. In this way, the autoencoder learns the inverse mapping of the random sign-flipping noise, thereby eliminating the noise to a certain extent and restoring the original features of the mixed samples.

[0069] Step 2: Infer the mixing coefficient

[0070] 2.1. In a mixed image, suppose there is a mixed pixel label set ,in Represents the label in the image. Assume that it is known that it comes from the original private images whose pixel values ​​have non-zero contribution to the mixed image. For example, if the label The pixel index of the salient region is , then, the mixing coefficients corresponding to these significant colors We can observe the corresponding label value in the mixed image, that is, , indicating the The influence of a private image in the mixed image.

[0071] 2.2. For mixed images containing Since the specific contributions of these public samples cannot be directly known, it is assumed that they are evenly distributed in the entire mixed image. Therefore, the total mixing coefficient of all public samples can be Evenly distributed to each public sample involved in the mixture, that is, the mixing coefficient of each public sample is Here Represents the sum of the mixing coefficients of all private sample images. For example, in a mixed image, the main image is two private photos and , and their mixing coefficients are and In addition, there are The public texture images C, D, and E are evenly mixed together to form the background. At this time, the mixing coefficient of each public texture image will be set to , which means that under the current simplified model, it can be considered that the direct contribution of public samples to the final mixed image is .

[0072] It should be noted that this simple estimation method in this embodiment assumes that the mixing between the public samples is uniform and that there are no other complex transformations in the mixing process. In practical applications, more complex methods may be required to estimate the mixing coefficients depending on the specific problem and the nature of the data set.

[0073] Step 3: Classifier training

[0074] 3.1. In image classification tasks, each mixed image may contain private sample parts from different categories. For example, an image may contain both frogs and deer, with corresponding labels ,in Represents the proportion of frogs in the image, Represents the proportions of a deer.

[0075] 3.2. Build a multi-label deep neural network classifier, which contains convolutional layers to capture local features, fully connected layers to integrate global features, and uses the softmax function in the output layer to generate the probability distribution of each category in the image.

[0076] 3.3. Constructing training sample pairs For example, take an image of a mixture of frogs and deer as input , the corresponding label y is ;

[0077] 3.4. Through optimization algorithms such as gradient descent, according to the loss function Parameters The goal of iterative updates is to make the probability distribution predicted by the model as close as possible to the true label distribution, that is, ,in The model is The probability vector of the proportion of each category predicted by each sample.

[0078] 3.5. Repeat until the loss function of the model on the training set drops below the set threshold, or reaches the predetermined maximum number of training times.

[0079] After training, the model can automatically identify and quantify the proportion of each category in mixed images.

[0080] Step 4: Latent Code Generation

[0081] For example, a mixed image contains a different private images and The size of the public image and private image dataset is , the number of categories of public images is .

[0082] 4.1. Sampling random noise latent variables from Gaussian white noise distribution or other specified distribution , whose dimension depends on the structural requirements of the generator. Define the latent code , which is divided into two main parts: discrete part and continuous part. Discrete part: For the private image part, there are discrete variables, each variable represents a picture selected from the private image library, and the value range is For the public image part, there are A discrete variable, indicating which type of public image mixing is selected, with a value range of .

[0083] 4.2, such as Figure 4 As shown, for the selected private image, a set of continuous variables is set There are 4 of them, corresponding to the proportion of each private image in the final composite image. , indicating that the second image does not participate in the blending, while the first image occupies , the fourth picture accounts for , the third picture accounts for . The random noise latent variable With latent coding The discrete and continuous parts are concatenated ( ), which constitutes the input of the generator .

[0084] 4.3. This combined latent vector Input into the generator network, the generator will generate a new image that is a mixture of specified private and public image components based on the encoded information and the noise variable, and the proportion of each part of the image in the new image conforms to the given continuous variable The numerical value of .

[0085] Step 5: Characterize the disentangled network and reverse analysis

[0086] like Figure 5 As shown, in the process of training the disentangled network, the generator is first initialized , Discriminator And the classifier Next, for each training batch, we randomly extract encodings from the latent space and feed these combinations into the generator In this way, a new batch of image samples are generated .

[0087] Then, the discriminator is calculated using the extracted real data samples Loss of real data , which usually uses cross entropy or other suitable discriminative task loss functions. Next, the loss of the discriminator for the samples generated by the generator is also calculated . Combine these two losses to form the overall discriminator loss , and then update the discriminator parameters to maximize this total loss.

[0088] On this basis, the classifier parameters are also updated. In this process, some parameters will be fixed and those shared with the discriminator will be adjusted accordingly. At the same time, in order to optimize the performance of the generator, we need to calculate the generator loss, which includes the loss of the discriminator on the generated sample output and the loss reflecting the mutual information between the potential code and the generated sample. The total loss of the generator These two components are included and the generator parameters are updated accordingly, with the goal of minimizing this combined loss.

[0089] Throughout the training process, the quality of the generated images is regularly evaluated based on indicators such as the Structural Similarity Index (SSIM) and the Learning Perceptual Image Representation Distance (LPIPS). Once the model performance reaches the preset convergence criteria or the number of training rounds reaches the upper limit, the training process will terminate. After the training is completed, the private samples can be restored by combining the trained generator with a specific latent code.

[0090] The above description is only a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements without departing from the principle of the present invention. These improvements should also be regarded as within the scope of protection of the present invention.

Claims

1. A method for reverse parsing and recovering key attributes of secure coded images, Features include: Image preprocessing, receiving the securely encoded image encoding dataset and restoring the original unperturbed mixed image dataset; Mixing coefficient inference: input the mixed image dataset, infer the mixing coefficient λ in each encoded sample label that represents the contribution of each image in the mixed image, and calculate the mixing coefficient λ; Classifier training, training mixed images and their labels input into the classifier, automatically extracting features from the image, and classifying the image based on the features; Latent code generation, which generates a latent code consisting of a supervised part determined by the mixing coefficient λ and an unsupervised part obtained by concatenating the prior knowledge of the secure coding scheme with random noise; Representation disentanglement and reverse analysis of images, input the potential code and classifier into the representation disentanglement network for reverse analysis, separate the highly entangled feature representations, and restore the original features from them; In the image preprocessing step, if the coded image undergoes random sign flipping, the coded image is first subjected to inverse removal of random sign flipping using an autoencoder to obtain a mixed image data set, and the construction and training steps of the autoencoder include: 1.

1. Build an autoencoder model The encoder synthesizes a set of samples Mapping to a low-dimensional latent representation The encoder is a model consisting of a series of neural network layers that maps input samples to representations in the latent space, and the decoder maps from the latent representations to Recover close to the original mixed sample The image has a structure opposite to that of the encoder; 1.

2. Construct training data pairs Using a mixed sample set And the set of synthetic samples after random sign flipping Construct training data pairs, each training data pair includes a synthetic sample and a corresponding mixed sample, the mixed sample It is known that the synthetic sample It is obtained by performing a random sign flip operation on the mixed samples; 1.

3. Define the loss function Use the loss function to measure the decoder output Mixed with original sample The difference between , the loss function is defined as: ,in For the encoder, For the decoder; 1.

4. Training the Autoencoder Model Using a stochastic gradient descent optimization algorithm, the autoencoder model is trained by minimizing the loss function. In each training step, a sample is input into the autoencoder model, and the gradient is calculated and the model parameters are updated by a back-propagation algorithm. 1.5 Reconstruction Sample After the autoencoder model training is completed, the new synthetic sample set Input the encoder and pass through the decoder to obtain the reconstructed sample that eliminates the influence of random symbol flip noise. ,Right now ; The mixing coefficient inference step comprises: 2.1 Private Sample Mixing Coefficient Estimation For a given mixed label , observe each element The value of non-zero elements, and their corresponding indices are , then the inferred mixing coefficient is ,in ; 2.2 Estimation of the mixing coefficient of public samples According to the prior knowledge given by the sample encoding method, it is determined whether it is a cross-dataset. If the sample encoding process includes private and public datasets, it belongs to cross-dataset sample encoding, and it is necessary to continue to estimate the mixing coefficient of the public sample. Assume that the sum of the private sample coefficients obtained in step 2.1 is , then the sum of the mixing coefficients of the public samples is ; Each mixed sample contains For the common samples, their mixing coefficients are set to , that is, the public sample coefficients are evenly distributed; The potential code generation step includes 4.

1. Defining random noise latent variables , sampled from a high-dimensional noise distribution; 4.

2. Defining Latent Coding , which contains supervised and unsupervised parts, controlling the properties of generated samples. The supervised part is determined by the mixing coefficient Determining that the unsupervised part is obtained by concatenating prior knowledge of the secure coding scheme with random noise; 4.

3. Random noise latent variables and latent coding Combine to form the input of the generator ,in Represents the concatenation operation of vectors; The reverse analysis step of characterizing the disentangled network includes: 5.

1. The disentangled network adds a classifier to the original InfoGAN , Instahide-encoded images are used for training. During the training process, only the weights of the convolutional layer are updated, and the fully connected layer of the classifier is kept fixed. The pre-trained convolutional layer is used as a feature extractor and shared by the discriminator in the InfoGAN network. In the training of the disentangled network, the convolutional layer parameters shared by the discriminator and the generator remain unchanged, and the remaining parameters of the two networks are updated separately; 5.

2. The loss function of the disentangled network consists of three parts: Generator loss function , the generator loss function is implemented by minimizing the negative logarithmic expectation of the discriminator probability; Discriminator loss function , the discriminator loss function consists of the negative logarithmic expectation of the judgment results of the real samples and the generated samples; Classifier loss function, used to classify generated samples and real samples to ensure that the generated samples have the correct category attributes; 5.

3. Disentanglement of Networks by Introducing Mutual Information Strengthening the correlation between the generated sample and the latent code, the mutual information term controls the correlation between the generated sample and the latent code in the overall optimization objective; 5.

4. Overall loss function of the disentangled network The generator loss, discriminator loss, mutual information term, and classifier loss are combined to train the network by minimizing the generator loss and maximizing the discriminator loss: ; 5.

5. After the disentanglement network training converges, samples with specific attributes or features are generated by adjusting the random information and deterministic information input to the generator. Private samples with specific attributes are generated by controlling the value of the latent code. Reconstructed images that are closely similar to the private images are generated by adjusting the values ​​of continuous variables.

2. The method for reverse parsing and recovering key attributes of secure coded images according to claim 1, Features: The classifier training step comprises: 3.

1. Prepare mixed image data and corresponding label data; 3.

2. Build a deep neural network classifier model; 3.

3. Use mixed images as input data and labels as target output to form training sample pairs ; 3.

4. Through training samples Optimize the model parameters: ,in are model parameters, is the output of the model, is the loss function; 3.

5. Repeat step 3.4 until the loss reaches a certain threshold or the number of training rounds reaches the maximum number of training rounds.

3. The method for reverse parsing and recovering key attributes of secure coded images according to claim 1, Features: In step 4.2, the potential code The random part includes discrete variables, used to control which private images the current image is composed of. The value range of each discrete variable is ,in is the number of private images.

4. The method for reverse parsing and recovering key attributes of secure coded images according to claim 1, Features: In step 4.2, if the coded data also contains other public image information, discrete variables to control which public images the current image contains. The value range of each discrete variable is ,in is the number of categories of public images.