Data protection method, network structure training method, device, medium and equipment

By using the target feature processing network structure in federated learning to reduce the coupling degree of feature information, the problem of data leakage of passive participants is solved and data security is improved.

CN113190872BActive Publication Date: 2024-08-13FACE CUTE CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202110593862.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-28
Publication Date
2024-08-13
Estimated Expiration
2041-05-28

AI Technical Summary

Technical Problem

In the federated learning process, the original data of passive participants is easily leaked during transmission and processing, resulting in reduced data security, and it is difficult for existing technology to effectively protect data privacy.

Method used

By obtaining the original feature information of the reference sample of the target batch of passive participants in the joint training model, and processing it using the target feature processing network structure, the coupling degree between the original training feature information and the target training feature information is reduced, thereby reducing Data breach risk.

Benefits of technology

It effectively reduces the possibility of inferring the original feature information from the target feature information, improves data security, and protects the original data of passive participants.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113190872B_ABST
    Figure CN113190872B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a data protection method, a network structure training method, a device, a medium and a device. The data protection method includes: obtaining the original feature information of the reference samples of the target batch of the passive participants of the joint training model; processing the original feature information through the target feature processing network structure to obtain the target feature information corresponding to the original feature information; wherein, at least with the goal of minimizing the coupling between the original training feature information of the training samples of the passive participants and the target training feature information, the neural network structure is trained to obtain the target feature processing network structure, and the target training feature information is the feature information corresponding to the original training feature information output by the neural network structure obtained by taking the original training feature information as the input of the neural network structure. Through the above scheme, the risk of leakage of the original data of the passive participants is reduced, the protection of the original data of the passive participants is achieved, and the data security is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular, to a data protection method, a network structure training method, a device, a medium and a device. Background Art

[0002] With the development of artificial intelligence technology, machine learning has been widely used. In recent years, in order to protect data security and solve the problem of data silos, the relevant methods usually adopt joint training models to achieve joint training of machine learning models without exposing the original data. For supervised machine learning models, the party with sample label data is usually called the active party, and the party without sample label data is called the passive party. The data transmitted between the active and passive parties is important data that needs to be protected. Summary of the invention

[0003] This summary is provided to introduce concepts in a brief form that will be described in detail in the detailed description below. This summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.

[0004] In a first aspect, the present disclosure provides a data protection method, the method comprising: obtaining original feature information of a target batch of reference samples of a passive participant in a joint training model; processing the original feature information through a target feature processing network structure to obtain target feature information corresponding to the original feature information; wherein, at least with the goal of minimizing the degree of coupling between the original training feature information of the training samples of the passive participant and the target training feature information, the neural network structure is trained to obtain the target feature processing network structure, the target training feature information being feature information corresponding to the original training feature information output by the neural network structure obtained by taking the original training feature information as input to the neural network structure.

[0005] In a second aspect, the present disclosure provides a feature processing network structure training method, the method comprising: obtaining original training feature information of a specified batch of training samples of a passive participant of a joint training model, and target training feature information output after a neural network structure processes the original training feature information; obtaining target gradient information corresponding to parameters of the neural network structure, wherein the target gradient information is determined based on a preset loss function and the target training feature information, and the preset loss function includes a loss function that characterizes the degree of coupling between the original training feature information and the target training feature information; updating the parameters of the neural network structure based on the target gradient information, wherein the neural network structure is trained at least with the goal of minimizing the degree of coupling between the original training feature information and the target training feature information; determining whether the training of the neural network structure is completed; and obtaining a target feature processing network structure in response to the completion of the training of the neural network structure.

[0006] In a third aspect, the present disclosure provides a data protection device, comprising: an original feature information acquisition module, used to acquire the original feature information of a target batch of reference samples of a passive participant in a joint training model; a target feature information determination module, used to process the original feature information through a target feature processing network structure to obtain target feature information corresponding to the original feature information; wherein, at least with the goal of minimizing the degree of coupling between the original training feature information of the training samples of the passive participant and the target training feature information, the neural network structure is trained to obtain the target feature processing network structure, and the target training feature information is feature information corresponding to the original training feature information output by the neural network structure obtained by taking the original training feature information as the input of the neural network structure.

[0007] In a fourth aspect, the present disclosure provides a feature processing network structure training device, the device comprising: a training feature information acquisition module, used to obtain original training feature information of a specified batch of training samples of a passive participant of a joint training model, and target training feature information output after the neural network structure processes the original training feature information; a target gradient information acquisition module, used to obtain target gradient information corresponding to the parameters of the neural network structure, wherein the target gradient information is determined according to a preset loss function and the target training feature information, and the preset loss function includes a loss function that characterizes the degree of coupling between the original training feature information and the target training feature information; a parameter updating module, used to update the parameters of the neural network structure according to the target gradient information, wherein the neural network structure is trained at least with the goal of minimizing the degree of coupling between the original training feature information and the target training feature information; a judgment module, used to determine whether the training of the neural network structure is completed; and a network structure acquisition module, used to obtain the target feature processing network structure in response to the completion of the training of the neural network structure.

[0008] In a fifth aspect, the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processing device, implements the steps of the method provided in the first aspect of the present disclosure.

[0009] In a sixth aspect, the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processing device, implements the steps of the method provided in the second aspect of the present disclosure.

[0010] In a seventh aspect, the present disclosure provides an electronic device, comprising: a storage device on which a computer program is stored; and a processing device for executing the computer program in the storage device to implement the steps of the method provided in the first aspect of the present disclosure.

[0011] In an eighth aspect, the present disclosure provides an electronic device, comprising: a storage device on which a computer program is stored; and a processing device for executing the computer program in the storage device to implement the steps of the method provided in the second aspect of the present disclosure.

[0012] Through the above technical solution, the original feature information of the reference samples of the target batch of the passive participants of the joint training model is obtained, and the original feature information is processed through the target feature processing network structure to obtain the corresponding target feature information. Among them, the neural network structure is trained to obtain the target feature processing network structure with the goal of at least minimizing the coupling between the original training feature information of the training samples of the passive participants and the target training feature information. In this way, the original feature information of the reference samples of the target batch is processed by the trained target feature processing network to obtain the target feature information, which can reduce the coupling between the target feature information and the original feature information, and reduce the possibility of inferring the original feature information from the target feature information, thereby reducing the risk of leakage of the original data of the passive participants, realizing the protection of the original data of the passive participants, and improving data security.

[0013] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale. In the drawings:

[0015] Figure 1 The figure is a schematic diagram of an implementation environment according to an exemplary embodiment.

[0016] Figure 2 The figure is a flow chart of a data protection method according to an exemplary embodiment.

[0017] Figure 3 The present invention is a flowchart of a feature processing network structure training method according to an exemplary embodiment.

[0018] Figure 4 It is a schematic diagram showing a training of a neural network structure according to an exemplary embodiment.

[0019] Figure 5 The figure is a block diagram of a data protection device according to an exemplary embodiment.

[0020] Figure 6 It is a block diagram of a feature processing network structure training device according to an exemplary embodiment.

[0021] Figure 7 The diagram is a schematic structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0022] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0023] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0024] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0025] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0026] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0027] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0028] First, the application scenario of the present disclosure is introduced. The present disclosure can be applied to federated learning or joint learning processes. The joint training model is usually used to achieve joint training of machine learning models without exposing the original data. For supervised machine learning models, the party with sample label data is usually called the active party, and the party without sample label data is called the passive party. The active party and the passive party can interact through the network to receive or send messages, etc. The data transmitted between the two is important data that needs to be protected. Figure 1is a schematic diagram of an implementation environment according to an exemplary embodiment. Figure 1 As shown, the implementation environment may include a passive participant 101 and an active participant 102, and the passive participant 101 and the active participant 102 may be communicatively coupled with each other, for example, communication may be performed in any of 3G, 4G, 5G, NB-IOT, eMTC, LTE, LTE-A, etc.

[0029] It is worth noting that when the present disclosure refers to the operations of sending, receiving, and processing data by the passive participant, it can be understood that the passive participant performs these operations through the passive participant's server device, and, when referring to the operations of sending, receiving, and processing data by the active participant, it can be understood that the active participant performs these operations through the active participant's server device.

[0030] The technical solution provided by the embodiments of the present disclosure is described in detail below.

[0031] Figure 2 is a flow chart of a data protection method according to an exemplary embodiment, which can be applied to a passive participant of a joint training model, such as Figure 1 The passive participant 101 shown, such as Figure 2 As shown, the method may include S201 and S202.

[0032] In S201, original feature information of reference samples of a target batch of passive participants of a joint training model is obtained.

[0033] In the joint training model, a batch of samples is usually input into the initial model for training each time during the training process. The reference samples of the target batch are the batch of samples in one training process. The passive participant can select a batch of samples from the sample set as the reference samples of the target batch. The original feature information of the reference samples of the target batch may include the set of original feature information of all reference samples of the target batch.

[0034] In S202, the original feature information is processed by a target feature processing network structure to obtain target feature information corresponding to the original feature information.

[0035] The target feature processing network structure may be a multi-layer neural network structure. After obtaining the original feature information of the reference samples of the target batch, the original feature information may be input into the target feature processing network structure to obtain the target feature information corresponding to the original feature information output by the target feature processing network structure, which is the feature representation (embedding) obtained by processing the original feature information of the reference samples of the passive participants.

[0036] The passive participant can send the target feature information to the active participant. The active participant has real sample label data and can perform label prediction based on the target feature information, thereby calculating the label prediction loss and gradient-related information. Therefore, the target feature information sent by the passive participant to the active participant is data that needs to be protected. The target feature information is obtained by processing the original feature information. If the active participant can infer the original feature information of the passive participant based on the target feature information after receiving the target feature information, then there is a risk of leakage of the original data of the passive participant, thereby reducing the data security in the joint learning process.

[0037] In the present disclosure, the neural network structure is trained with the goal of at least minimizing the degree of coupling between the original training feature information of the training samples of the passive participant and the target training feature information to obtain a target feature processing network structure, wherein the target training feature information is feature information corresponding to the original training feature information output by the neural network structure obtained by taking the original training feature information as the input of the neural network structure.

[0038] Among them, the target feature processing network structure can be pre-trained, the training samples of the passive participants can be the samples used in the process of training the target feature processing network, and the reference samples of the above-mentioned target batch can be the samples used in the process of training the joint training model after the training of the target feature processing network structure is completed. The training samples and the reference samples can be the same or different.

[0039] The higher the coupling degree between the original training feature information and the target training feature information, the greater the correlation between the two, and the greater the possibility of inferring the original training feature information from the target training feature information. Conversely, the lower the coupling degree between the original training feature information and the target training feature information, the smaller the correlation between the two, and the smaller the possibility of inferring the original training feature information from the target training feature information.

[0040] Since the neural network structure is trained with the goal of at least minimizing the coupling between the original training feature information of the training samples of the passive participant and the target training feature information, thereby obtaining the target feature processing network structure, the trained target feature processing network is used to process the original feature information of the reference samples of the target batch to obtain the target feature information, which can reduce the coupling between the target feature information and the original feature information, reduce the possibility of inferring the original feature information from the target feature information, and thus reduce the risk of leakage of the original data of the passive participant.

[0041] Through the above technical solution, the original feature information of the reference samples of the target batch of the passive participants of the joint training model is obtained, and the original feature information is processed through the target feature processing network structure to obtain the corresponding target feature information. Among them, the neural network structure is trained to obtain the target feature processing network structure with the goal of at least minimizing the coupling between the original training feature information of the training samples of the passive participants and the target training feature information. In this way, the original feature information of the reference samples of the target batch is processed by the trained target feature processing network to obtain the target feature information, which can reduce the coupling between the target feature information and the original feature information, and reduce the possibility of inferring the original feature information from the target feature information, thereby reducing the risk of leakage of the original data of the passive participants, realizing the protection of the original data of the passive participants, and improving data security.

[0042] The following describes the process of training the neural network structure to obtain the target feature processing network structure. Figure 3 is a flow chart of a feature processing network structure training method according to an exemplary embodiment. Figure 3 As shown, the method may include S301 to S305.

[0043] In S301, original training feature information of a designated batch of training samples of a passive participant in a joint training model and target training feature information output after the neural network structure processes the original training feature information are obtained.

[0044] In the process of training the neural network structure, a method of inputting a batch of samples into the neural network structure each time may also be adopted, and the designated batch of training samples may be a batch of samples in a training process of the neural network structure.

[0045] In S302, target gradient information corresponding to the parameters of the neural network structure is obtained.

[0046] The target gradient information may be determined according to a preset loss function and target training feature information, and the preset loss function may include a loss function that characterizes the degree of coupling between the original training feature information and the target training feature information.

[0047] In S303, the parameters of the neural network structure are updated according to the target gradient information.

[0048] In S304, it is determined whether the neural network structure has been trained.

[0049] For example, the parameters of the neural network structure may be updated by using a gradient descent method, so that the coupling degree between the original training feature information and the target training feature information may be gradually reduced during the training process. For example, when the function value of the preset loss function is the minimum, it may be determined that the training of the neural network structure is completed, thereby achieving the purpose of training the neural network structure with the goal of at least minimizing the coupling degree between the original training feature information and the target training feature information.

[0050] In S305, in response to the completion of the neural network structure training, a target feature processing network structure is obtained.

[0051] If it is determined that the neural network structure has not been trained, the next batch of training samples can be obtained to train the neural network structure until the neural network structure is trained and the target feature processing network structure is obtained.

[0052] Through the above technical solution, the target gradient information corresponding to the parameters of the neural network structure is determined according to the preset loss function and the target training feature information, and the preset loss function may include a loss function that characterizes the degree of coupling between the original training feature information and the target training feature information. The parameters of the neural network structure are updated according to the target gradient information, and the target feature processing network structure is obtained when the training of the neural network structure is completed. In this way, the target feature information obtained by processing the original feature information of the passive participant through the trained target feature processing network structure has a reduced degree of coupling with the original feature information, thereby reducing the possibility of inferring the original feature information from the target feature information, thereby realizing the protection of the original data of the passive participant and improving data security.

[0053] The following combination Figure 4 The present invention introduces the process of training a neural network structure. Figure 4 is a schematic diagram showing a training of a neural network structure according to an exemplary embodiment. Figure 4 In the figure, the solid arrows indicate forward propagation, and the dotted arrows indicate backward propagation.

[0054] In the present disclosure, the target gradient information may include at least one of distance correlation gradient information, adversarial reconstruction gradient information, and noise regularization gradient information. Accordingly, the preset loss function may include at least one of distance correlation loss function, adversarial reconstruction loss function, and noise regularization loss function.

[0055] Accordingly, obtaining target gradient information corresponding to the parameters of the neural network structure in S302 may include at least one of the following steps (a), (b), and (c).

[0056] (a) Determine the distance correlation gradient information based on the original training feature information, the target training feature information, and the distance correlation loss function.

[0057] The distance correlation loss function is a function that characterizes the distance correlation (Distance Correlation) between the original training feature information and the target training feature information. The smaller the distance correlation between the original training feature information and the target training feature information, the lower the coupling between the two. The larger the distance correlation between the original training feature information and the target training feature information, the greater the coupling between the two. The distance correlation loss function can be expressed as the following expression (1):

[0058] L d =DCOR(X,F(X)) (1)

[0059] Among them, L d represents the distance correlation loss function, X represents the original training feature information, and F(X) represents the target training feature information.

[0060] like Figure 4 As shown, in the passive participant, the neural network structure can transmit the target training feature information to the distance correlation loss function value calculation module through forward propagation. The distance correlation loss function value calculation module can calculate the function value of the distance correlation loss function based on the original training feature information, the target training feature information, and the distance correlation loss function. The passive participant can determine the distance correlation gradient information based on the function value, and transmit the distance correlation gradient information back to the neural network structure through back propagation. The method for calculating the distance correlation gradient information can refer to the relevant technology. In this way, the neural network structure can update its parameters according to the distance correlation gradient information and the gradient descent method, so that the distance correlation between the original training feature information and the target training feature information gradually decreases, that is, the coupling between the two becomes lower and lower.

[0061] (b) Determine the first gradient information corresponding to the parameters of the neural network structure according to the original training feature information, the first predicted feature information, and the adversarial reconstruction loss function, and determine the gradient information of the first gradient information after being processed by the gradient reversal layer as the adversarial reconstruction gradient information.

[0062] The first prediction feature information is reconstructed based on the target training feature information, such as Figure 4As shown, in one example, the neural network structure can transmit the target training feature information to the feature reconstruction network structure, and the feature reconstruction network structure can be used to reconstruct the target training feature information, that is, predict the original training feature information according to the target training feature information. The first predicted feature information can be the feature information output by the feature reconstruction network structure obtained by inputting the target training feature information into the feature reconstruction network structure.

[0063] The feature reconstruction network structure can transmit the first predicted feature information to the adversarial reconstruction loss function value calculation module through forward propagation. The adversarial reconstruction loss function value calculation module can calculate the function value of the adversarial reconstruction loss function according to the original training feature information, the first predicted feature information, and the adversarial reconstruction loss function. The passive participant can determine the first gradient information corresponding to the parameters of the neural network structure according to the function value. Among them, the adversarial reconstruction loss function is a function that characterizes the distance between the first predicted feature information and the original training feature information. The distance can be, for example, the Euclidean distance. The smaller the distance between the first predicted feature information and the original training feature information, the greater the similarity between the two, that is, the more similar the original training feature information predicted by the feature reconstruction network structure is to the actual original training feature information, and the greater the coupling between the target training feature information and the original training feature information; conversely, the larger the distance between the first predicted feature information and the original training feature information, the smaller the similarity between the two, that is, the greater the difference between the original training feature information predicted by the feature reconstruction network structure and the actual original training feature information, and the lower the coupling between the target training feature information and the original training feature information. The adversarial reconstruction loss function can be shown as the following expression (2):

[0064] L r =P(X, R1(F(X))) (2)

[0065] Among them, L r represents the adversarial reconstruction loss function, X represents the original training feature information, R1(F(X)) represents the first predicted feature information, and P represents a function for calculating the distance between the first predicted feature information and the original training feature information, for example, it can be a Euclidean distance calculation function.

[0066] like Figure 4As shown, a gradient reversal layer (GRL) may be provided between the neural network structure and the feature reconstruction network structure. In the back propagation process, the passive participant may determine the gradient information of the first gradient information after being processed by the gradient reversal layer as the adversarial reconstruction gradient information, and transmit the adversarial reconstruction gradient information back to the neural network structure. For example, the gradient reversal layer may multiply the first gradient information by -λ, and the passive participant may determine the gradient information after the first gradient information is multiplied by -λ as the adversarial reconstruction gradient information, where λ is a number greater than 0, and its value may be preset.

[0067] Among them, the adversarial reconstruction loss function represents the distance between the first predicted feature information and the original training feature information, so that the smaller the adversarial reconstruction loss function is, the greater the similarity between the first predicted feature information and the original training feature information is, indicating that the original training feature information predicted by the feature reconstruction network structure is more similar to the actual original training feature information, so it is characterized that the actual original training feature information can be easily deduced from the target training feature information, and the greater the coupling between the target training feature information and the original training feature information. The purpose of training the neural network structure is to reduce the coupling between the target training feature information and the original training feature information. Therefore, when the gradient information is fed back to the neural network structure, it is processed by the gradient reversal layer, so that the neural network structure can update its parameters according to the adversarial reconstruction gradient information and the gradient descent method. The goal of training the neural network structure is actually to gradually increase the function value of the adversarial reconstruction loss function, so as to achieve the purpose of increasing the difficulty of deducing the actual original training feature information from the target training feature information as much as possible, thereby gradually reducing the coupling between the target training feature information and the original training feature information.

[0068] It should also be noted that in the forward propagation process, if the target feature information passes through the gradient reversal layer and then is transmitted to the feature reconstruction network structure, the gradient reversal layer does not perform any processing on the target feature information and directly transmits the target feature information to the feature reconstruction network structure.

[0069] (c) Determine noise regularization gradient information based on the second prediction feature information, noise information, and noise regularization loss function.

[0070] The second prediction feature information is reconstructed based on the target training feature information, and the first prediction feature information is the same as or different from the second prediction feature information. Figure 4As shown, the feature reconstruction network structure can transmit the output first prediction feature information to the noise regularization loss function value calculation module, and the first prediction feature information can be used as the second prediction gradient information for determining the noise regularization gradient information, that is, the first prediction feature information is the same as the second prediction feature information. In another example, the second prediction feature information can also be reconstructed by other reconstruction modules in the passive participant according to the target training feature information, and is different from the first prediction feature information. Figure 4 The transmission method shown is only exemplary and does not constitute a limitation to the embodiments of the present disclosure.

[0071] The noise information may be random noise information, such as random Gaussian noise information. The noise regularization loss function may be a function that characterizes the error between the second prediction feature information and the noise information. The smaller the error between the second prediction feature information and the noise information, the more the original training feature information reconstructed according to the target training feature information resembles the noise information, that is, the lower the coupling between the target training feature information and the original training feature information. For example, the noise regularization loss function may be shown as the following expression (3):

[0072]

[0073] Among them, L n represents the noise regularization loss function, R2(F(X)) represents the second prediction feature information, X noise Represents noise information.

[0074] The noise regularization loss function value calculation module can determine the function value of the noise regularization loss function according to the second prediction feature information, the noise information, and the noise regularization loss function, and the passive participant can calculate the noise regularization gradient information according to the function value, and transmit the noise regularization gradient information back to the neural network structure through back propagation, and the neural network structure can use the gradient descent method to update its parameters. In this way, the closer the second prediction feature information is to the noise information, that is, the original training feature information reconstructed according to the target training feature information is more and more like the noise information, so that the coupling degree between the target training feature information and the original training feature information is gradually reduced.

[0075] It should be noted that at least one of the three methods (a), (b), and (c) can be used to determine the target gradient information corresponding to the parameters of the neural network structure. If more than one of the three methods is used, that is, the target gradient information includes more than one of the distance correlation gradient information, the adversarial reconstruction gradient information, and the noise regularization gradient information, the neural network structure updates its own parameters according to the multiple gradient information. In addition, Figure 4The feature reconstruction network structure, gradient reversal layer, distance correlation loss function value calculation module, adversarial reconstruction loss function value calculation module, and noise regularization loss function value calculation module shown are only used when training the neural network structure. After the neural network structure training is completed to obtain the target feature processing network structure, these modules are not involved in the actual training of the joint training model.

[0076] Through the above scheme, the distance correlation loss function, the adversarial reconstruction loss function, and the noise regularization loss function can all characterize the coupling degree between the original training feature information and the target training feature information. The neural network structure updates its own parameters according to at least one of the distance correlation gradient information, the adversarial reconstruction gradient information, and the noise regularization gradient information, so as to achieve the purpose of training the neural network structure with the goal of minimizing the coupling degree between the original training feature information and the target training feature information of the training samples of the passive participants.

[0077] Optionally, when the target gradient information includes adversarial reconstruction gradient information and the preset loss function includes adversarial reconstruction loss function, the training process of the target feature processing network structure may further include:

[0078] Determine second gradient information corresponding to parameters of the feature reconstruction network structure according to the original training feature information, the first predicted feature information, and the adversarial reconstruction loss function;

[0079] The second gradient information is fed back to the feature reconstruction network structure, so that the feature reconstruction network structure updates the parameters of the feature reconstruction network structure according to the second gradient information.

[0080] Among them, the first predicted feature information and the adversarial reconstruction loss function have been introduced above. The adversarial reconstruction loss function is a function that characterizes the distance between the first predicted feature information and the original training feature information. The second gradient information is used to update Figure 4 The parameters of the feature reconstruction network structure shown in FIG. 4 , the feature reconstruction network structure can update its own parameters using the gradient descent method.

[0081] In this way, two gradient information can be determined according to the function value of the adversarial reconstruction loss function. One is the second gradient information used to update the parameters of the feature reconstruction network structure, that is, to make the first predicted feature information reconstructed by the feature reconstruction network closer to the actual original training feature information. The other is the adversarial reconstruction gradient information used to update the parameters of the neural network structure, that is, to increase the difficulty of inferring the actual original training feature information based on the target training feature information as much as possible, so as to achieve the purpose of adversarial training.

[0082] Furthermore, the feature reconstruction network structure is trained so that the reconstruction effect of the feature reconstruction network structure becomes better and better. The purpose of training the neural network structure also includes reducing the similarity between the predicted original training feature information and the actual original training feature information after the target training feature information passes through the feature reconstruction network structure with better reconstruction effect.

[0083] In the present disclosure, in addition to training the neural network structure with the goal of minimizing the coupling between the original training feature information and the target training feature information of the training samples of the passive participants, the neural network structure can also be trained with the goal of minimizing the difference in label data prediction.

[0084] The target gradient information may further include cross entropy gradient information, and the preset loss function may further include a cross entropy loss function;

[0085] Acquiring target gradient information corresponding to the parameters of the neural network structure in S302 may also include:

[0086] Sending the target training feature information to the active participant of the joint training model so that the active participant predicts the label data according to the target training feature information, and determining the cross entropy gradient information according to the label data prediction result and the cross entropy loss function, wherein the cross entropy loss function is a function that characterizes the cross entropy between the label data prediction result and the true label data;

[0087] Receive the cross entropy gradient information sent by the active participant.

[0088] like Figure 4 As shown, the passive participant can send the target training feature information to the active participant, and the active participant can input the target training feature information into the label data prediction network structure to obtain the label data prediction result output by the label data prediction network structure. The cross entropy loss function value calculation module can determine the function value of the cross entropy loss function according to the label data prediction result and the cross entropy loss function (Cross Entropy Loss), and the active participant can calculate the cross entropy gradient information according to the function value. The cross entropy loss function is a function that characterizes the cross entropy between the label data prediction result and the real label data. The active participant can send the cross entropy gradient information to the passive participant, and the neural network structure of the passive participant can use the gradient descent method to update the parameters of the neural network structure according to the cross entropy gradient information.

[0089] In this way, not only the need to protect the original data of passive participants is taken into consideration, but also the accuracy of the joint training model is taken into consideration. The neural network structure can also update its own parameters according to the cross-entropy gradient information to ensure the accuracy of label prediction by active participants based on the target training feature information output by the neural network structure, thereby ensuring the accuracy of the joint training model.

[0090] In the present disclosure, determining whether the neural network structure is trained in S304 may include:

[0091] When the function value of the cross entropy loss function and the sum of the product of the objective function value and the corresponding weight are minimized, it is determined that the training of the neural network structure is completed, wherein the objective function value includes at least one of the function value of the distance correlation loss function, the function value of the adversarial reconstruction loss function, and the function value of the noise regularization loss function.

[0092] For example, taking the preset loss function including the distance correlation loss function, the adversarial reconstruction loss function, and the noise regularization loss function as an example, when L is determined to be the smallest, it can be determined that the neural network structure training is completed, where L = L c +α d L d +α n L n +α r L r , L c represents the function value of the cross entropy loss function, α d Represents the weight corresponding to the function value of the distance correlation loss function, α n Represents the weight corresponding to the function value of the noise regularization loss function, α r The weights corresponding to the function values ​​of the adversarial reconstruction loss function are represented, and the values ​​of each weight can be preset. It should be noted that this example is only for explanation and does not constitute a limitation on the embodiments of the present disclosure.

[0093] The purpose of minimizing the function value of the cross entropy loss function is to minimize the difference between the predicted result of the label data and the real label data, and to ensure the accuracy of the joint training model. The purpose of minimizing the product of the objective function value and the corresponding weight is to minimize the coupling degree between the original training feature information of the training sample of the passive participant and the target training feature information. In this way, the original data of the passive participant can be protected, and the accuracy of the joint training model can be guaranteed.

[0094] The data protection method provided by the present disclosure may also include:

[0095] Sending the target feature information to the active participant of the joint training model so that the active participant determines the gradient transfer information of the parameters of the joint training model according to the target feature information;

[0096] Receive the gradient transfer information sent by the active participant and update the parameters of the joint training model based on the gradient transfer information.

[0097] The gradient transfer information can be used to characterize the basis transferred from the active participant of the joint training model to the passive participant for adjusting the parameters of the joint training model. As an example, the gradient transfer information may include the gradient corresponding to each neuron in the output layer of the model trained by the passive participant of the joint training model using the cross entropy loss function corresponding to the reference samples of the target batch of the passive participant.

[0098] Therefore, the original feature information of the reference samples of the target batch is processed through the target feature processing network structure to obtain the corresponding target feature information, so that the coupling degree between the target feature information and the original feature information is reduced, and the possibility that the active participant can reversely infer the original feature information of the passive participant from the target feature information is reduced, thereby reducing the risk of leakage of the original data of the passive participant and achieving protection of the original data of the passive participant.

[0099] The present disclosure also provides a feature processing network structure training method, the specific process of which has been described above, and the main technical problem solved by the training method is how to improve data security. The target feature processing network structure trained by the training method can process the original data of the passive participant, so that the coupling degree between the processed data and the original data is reduced, the risk of leakage of the original data of the passive participant is reduced, the original data of the passive participant is protected, and data security is improved.

[0100] Based on the same inventive concept, the present disclosure also provides a data protection device. Figure 5 is a block diagram of a data protection device according to an exemplary embodiment. Figure 5 As shown, the device 500 may include:

[0101] The original feature information acquisition module 501 is used to obtain the original feature information of the reference samples of the target batch of the passive participants of the joint training model;

[0102] A target feature information determination module 502 is used to process the original feature information through a target feature processing network structure to obtain target feature information corresponding to the original feature information;

[0103] Wherein, the neural network structure is trained with the goal of at least minimizing the degree of coupling between the original training feature information of the training samples of the passive participant and the target training feature information to obtain the target feature processing network structure, and the target training feature information is feature information corresponding to the original training feature information output by the neural network structure obtained by taking the original training feature information as the input of the neural network structure.

[0104] Optionally, the target feature processing network structure is obtained by training through a feature processing network structure training device. Figure 6 is a block diagram of a feature processing network structure training device according to an exemplary embodiment. Figure 6 As shown, the device 600 may include:

[0105] The training feature information acquisition module 601 is used to acquire the original training feature information of the training samples of the designated batch of the passive participants of the joint training model, and the target training feature information output after the neural network structure processes the original training feature information;

[0106] A target gradient information acquisition module 602 is used to acquire target gradient information corresponding to the parameters of the neural network structure, wherein the target gradient information is determined according to a preset loss function and the target training feature information, and the preset loss function includes a loss function that characterizes the degree of coupling between the original training feature information and the target training feature information;

[0107] A parameter updating module 603 is used to update the parameters of the neural network structure according to the target gradient information, wherein the neural network structure is trained with the goal of at least minimizing the coupling between the original training feature information and the target training feature information;

[0108] A judgment module 604 is used to determine whether the neural network structure has been trained;

[0109] The network structure acquisition module 605 is used to obtain the target feature processing network structure in response to the completion of the neural network structure training.

[0110] Optionally, the target gradient information includes at least one of distance correlation gradient information, adversarial reconstruction gradient information, and noise regularization gradient information, and correspondingly, the preset loss function includes at least one of distance correlation loss function, adversarial reconstruction loss function, and noise regularization loss function;

[0111] Accordingly, the target gradient information acquisition module 602 includes at least one of the following:

[0112] A distance correlation gradient information determination module, used to determine the distance correlation gradient information according to the original training feature information, the target training feature information, and the distance correlation loss function, wherein the distance correlation loss function is a function that characterizes the distance correlation between the original training feature information and the target training feature information;

[0113] an adversarial reconstruction gradient information determination module, configured to determine first gradient information corresponding to the parameters of the neural network structure according to the original training feature information, the first predicted feature information, and the adversarial reconstruction loss function, and determine the gradient information of the first gradient information after being processed by a gradient reversal layer as the adversarial reconstruction gradient information, wherein the first predicted feature information is reconstructed according to the target training feature information, and the adversarial reconstruction loss function is a function that characterizes the distance between the first predicted feature information and the original training feature information;

[0114] A noise regularization gradient information determination module is used to determine the noise regularization gradient information according to second prediction feature information, noise information, and the noise regularization loss function, wherein the second prediction feature information is reconstructed according to the target training feature information, the first prediction feature information is the same as or different from the second prediction feature information, and the noise regularization loss function is a function that characterizes the error between the second prediction feature information and the noise information.

[0115] Optionally, the first prediction feature information is feature information output by the feature reconstruction network structure obtained by inputting the target training feature information into the feature reconstruction network structure;

[0116] In a case where the target gradient information includes the adversarial reconstruction gradient information, and the preset loss function includes the adversarial reconstruction loss function, the device 600 further includes:

[0117] A gradient determination module, used to determine second gradient information corresponding to the parameters of the feature reconstruction network structure according to the original training feature information, the first predicted feature information, and the adversarial reconstruction loss function;

[0118] A gradient feedback module is used to feedback the second gradient information to the feature reconstruction network structure, so that the feature reconstruction network structure updates the parameters of the feature reconstruction network structure according to the second gradient information.

[0119] Optionally, the target gradient information further includes cross entropy gradient information, and the preset loss function further includes a cross entropy loss function;

[0120] The target gradient information acquisition module 602 further includes:

[0121] A first sending module is used to send the target training feature information to an active participant of the joint training model, so that the active participant predicts the label data according to the target training feature information, and determines the cross entropy gradient information according to the label data prediction result and the cross entropy loss function, wherein the cross entropy loss function is a function that characterizes the cross entropy between the label data prediction result and the true label data;

[0122] The first receiving module is used to receive the cross entropy gradient information sent by the active participant.

[0123] Optionally, the judging module 604 is used to:

[0124] When the function value of the cross entropy loss function and the sum of the product of the objective function value and the corresponding weight are minimized, it is determined that the training of the neural network structure is completed, wherein the objective function value includes at least one of the function value of the distance correlation loss function, the function value of the adversarial reconstruction loss function, and the function value of the noise regularization loss function.

[0125] Optionally, the device 500 further includes:

[0126] A second sending module is used to send the target feature information to an active participant of the joint training model, so that the active participant determines the gradient transfer information of the parameters of the joint training model according to the target feature information;

[0127] The second receiving module is used to receive the gradient transfer information sent by the active participant and update the parameters of the joint training model according to the gradient transfer information.

[0128] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0129] Reference below Figure 7 , which shows a schematic diagram of the structure of an electronic device 700 suitable for implementing the embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0130] like Figure 7As shown, the electronic device 700 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0131] Typically, the following devices may be connected to the I / O interface 705: an input device 706 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 707 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 708 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 709. The communication device 709 may allow the electronic device 700 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 7 The electronic device 700 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0132] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 709, or installed from a storage device 708, or installed from a ROM 702. When the computer program is executed by the processing device 701, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0133] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0134] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0135] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0136] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains the original feature information of the reference samples of the target batch of the passive participants of the joint training model; processes the original feature information through the target feature processing network structure to obtain the target feature information corresponding to the original feature information; wherein, at least with the goal of minimizing the coupling between the original training feature information of the training samples of the passive participants and the target training feature information, the neural network structure is trained to obtain the target feature processing network structure, and the target training feature information is the feature information corresponding to the original training feature information obtained by outputting the neural network structure by taking the original training feature information as the input of the neural network structure.

[0137] Alternatively, the computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device: obtains original training feature information of a specified batch of training samples of a passive participant in the joint training model, and target training feature information output after the neural network structure processes the original training feature information; obtains target gradient information corresponding to the parameters of the neural network structure, wherein the target gradient information is determined based on a preset loss function and the target training feature information, and the preset loss function includes a loss function that characterizes the degree of coupling between the original training feature information and the target training feature information; updates the parameters of the neural network structure based on the target gradient information, wherein the neural network structure is trained at least with the goal of minimizing the degree of coupling between the original training feature information and the target training feature information; determines whether the training of the neural network structure is completed; and obtains a target feature processing network structure in response to the completion of the training of the neural network structure.

[0138] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0139] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0140] The modules involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a module does not limit the module itself in some cases. For example, the original feature information acquisition module may also be described as an "information acquisition module".

[0141] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0142] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0143] According to one or more embodiments of the present disclosure, Example 1 provides a data protection method, which includes: obtaining original feature information of a target batch of reference samples of a passive participant in a joint training model; processing the original feature information through a target feature processing network structure to obtain target feature information corresponding to the original feature information; wherein, at least with the goal of minimizing the degree of coupling between the original training feature information of the training samples of the passive participant and the target training feature information, the neural network structure is trained to obtain the target feature processing network structure, and the target training feature information is feature information corresponding to the original training feature information output by the neural network structure obtained by taking the original training feature information as the input of the neural network structure.

[0144] According to one or more embodiments of the present disclosure, Example 2 provides the method of Example 1, wherein the target feature processing network structure is trained in the following manner: obtaining original training feature information of a specified batch of training samples of the passive participant, and target training feature information output after the neural network structure processes the original training feature information; obtaining target gradient information corresponding to parameters of the neural network structure, wherein the target gradient information is determined based on a preset loss function and the target training feature information, and the preset loss function includes a loss function that characterizes the degree of coupling between the original training feature information and the target training feature information; updating parameters of the neural network structure based on the target gradient information; determining whether the neural network structure has been trained; and obtaining the target feature processing network structure in response to the completion of the training of the neural network structure.

[0145] According to one or more embodiments of the present disclosure, Example 3 provides the method of Example 2, wherein the target gradient information includes at least one of distance correlation gradient information, adversarial reconstruction gradient information, and noise regularization gradient information, and accordingly, the preset loss function includes at least one of distance correlation loss function, adversarial reconstruction loss function, and noise regularization loss function; accordingly, the target gradient information corresponding to the parameters of the neural network structure is obtained, including at least one of the following: determining the distance correlation gradient information according to the original training feature information, the target training feature information, and the distance correlation loss function, wherein the distance correlation loss function is a function that characterizes the distance correlation between the original training feature information and the target training feature information; determining the distance correlation gradient information according to the original training feature information, the first prediction feature information, and the adversarial reconstruction loss function; Reconstruction loss function, determine the first gradient information corresponding to the parameters of the neural network structure, and determine the gradient information of the first gradient information after being processed by the gradient reversal layer as the adversarial reconstruction gradient information, wherein the first prediction feature information is reconstructed according to the target training feature information, and the adversarial reconstruction loss function is a function that characterizes the distance between the first prediction feature information and the original training feature information; determine the noise regularization gradient information according to the second prediction feature information, noise information, and the noise regularization loss function, wherein the second prediction feature information is reconstructed according to the target training feature information, the first prediction feature information is the same as or different from the second prediction feature information, and the noise regularization loss function is a function that characterizes the error between the second prediction feature information and the noise information.

[0146] According to one or more embodiments of the present disclosure, Example 4 provides the method of Example 3, wherein the first predicted feature information is the feature information output by the feature reconstruction network structure obtained by inputting the target training feature information into the feature reconstruction network structure; when the target gradient information includes the adversarial reconstruction gradient information and the preset loss function includes the adversarial reconstruction loss function, the training process of the target feature processing network structure also includes: determining the second gradient information corresponding to the parameters of the feature reconstruction network structure based on the original training feature information, the first predicted feature information, and the adversarial reconstruction loss function; and transmitting the second gradient information back to the feature reconstruction network structure, so that the feature reconstruction network structure updates the parameters of the feature reconstruction network structure based on the second gradient information.

[0147] According to one or more embodiments of the present disclosure, Example 5 provides the method of Example 3, wherein the target gradient information also includes cross entropy gradient information, and the preset loss function also includes a cross entropy loss function; the obtaining of the target gradient information corresponding to the parameters of the neural network structure also includes: sending the target training feature information to the active participant of the joint training model, so that the active participant performs label data prediction based on the target training feature information, and determines the cross entropy gradient information based on the label data prediction result and the cross entropy loss function, wherein the cross entropy loss function is a function that characterizes the cross entropy between the label data prediction result and the actual label data; receiving the cross entropy gradient information sent by the active participant.

[0148] According to one or more embodiments of the present disclosure, Example 6 provides the method of Example 5, wherein determining whether the training of the neural network structure is completed comprises: determining that the training of the neural network structure is completed when the sum of the function value of the cross entropy loss function and the product of the objective function value and the corresponding weight is minimized, wherein the objective function value comprises at least one of the function value of the distance correlation loss function, the function value of the adversarial reconstruction loss function, and the function value of the noise regularization loss function.

[0149] According to one or more embodiments of the present disclosure, Example 7 provides the method of Example 1, which also includes: sending the target feature information to an active participant of the joint training model so that the active participant determines the gradient transfer information of the parameters of the joint training model based on the target feature information; receiving the gradient transfer information sent by the active participant, and updating the parameters of the joint training model based on the gradient transfer information.

[0150] According to one or more embodiments of the present disclosure, Example 8 provides a feature processing network structure training method, the method comprising: obtaining original training feature information of a specified batch of training samples of a passive participant of a joint training model, and target training feature information output after the neural network structure processes the original training feature information; obtaining target gradient information corresponding to the parameters of the neural network structure, wherein the target gradient information is determined based on a preset loss function and the target training feature information, and the preset loss function includes a loss function that characterizes the degree of coupling between the original training feature information and the target training feature information; updating the parameters of the neural network structure based on the target gradient information, wherein the neural network structure is trained at least with the goal of minimizing the degree of coupling between the original training feature information and the target training feature information; determining whether the training of the neural network structure is completed; and obtaining a target feature processing network structure in response to the completion of the training of the neural network structure.

[0151] According to one or more embodiments of the present disclosure, Example 9 provides the method of Example 8, wherein the target gradient information includes at least one of distance correlation gradient information, adversarial reconstruction gradient information, and noise regularization gradient information, and accordingly, the preset loss function includes at least one of distance correlation loss function, adversarial reconstruction loss function, and noise regularization loss function; accordingly, the acquisition of the target gradient information corresponding to the parameters of the neural network structure includes at least one of the following: determining the distance correlation gradient information based on the original training feature information, the target training feature information, and the distance correlation loss function, wherein the distance correlation loss function is a function that characterizes the distance correlation between the original training feature information and the target training feature information; obtaining the target gradient information corresponding to the parameters of the neural network structure based on the original training feature information, the target training feature information, and the distance correlation loss function, wherein the distance correlation loss function is a function that characterizes the distance correlation between the original training feature information and the target training feature information; obtaining the target gradient information corresponding to the parameters of the neural network structure based on the original training feature information, the first prediction feature information, and the adversarial reconstruction loss function Reconstruction loss function, determine the first gradient information corresponding to the parameters of the neural network structure, and determine the gradient information of the first gradient information after being processed by the gradient reversal layer as the adversarial reconstruction gradient information, wherein the first prediction feature information is reconstructed according to the target training feature information, and the adversarial reconstruction loss function is a function that characterizes the distance between the first prediction feature information and the original training feature information; determine the noise regularization gradient information according to the second prediction feature information, noise information, and the noise regularization loss function, wherein the second prediction feature information is reconstructed according to the target training feature information, the first prediction feature information is the same as or different from the second prediction feature information, and the noise regularization loss function is a function that characterizes the error between the second prediction feature information and the noise information.

[0152] According to one or more embodiments of the present disclosure, Example 10 provides the method of Example 9, wherein the first predicted feature information is the feature information output by the feature reconstruction network structure obtained by inputting the target training feature information into the feature reconstruction network structure; when the target gradient information includes the adversarial reconstruction gradient information and the preset loss function includes the adversarial reconstruction loss function, the method further includes: determining the second gradient information corresponding to the parameters of the feature reconstruction network structure based on the original training feature information, the first predicted feature information, and the distance correlation loss function; and transmitting the second gradient information back to the feature reconstruction network structure, so that the feature reconstruction network structure updates the parameters of the feature reconstruction network structure based on the second gradient information.

[0153] According to one or more embodiments of the present disclosure, Example 11 provides the method of Example 9, wherein the target gradient information also includes cross entropy gradient information, and the preset loss function also includes a cross entropy loss function; the obtaining of the target gradient information corresponding to the parameters of the neural network structure also includes: sending the target training feature information to the active participant of the joint training model, so that the active participant performs label data prediction based on the target training feature information, and determines the cross entropy gradient information based on the label data prediction result and the cross entropy loss function, wherein the cross entropy loss function is a function that characterizes the cross entropy between the label data prediction result and the actual label data; receiving the cross entropy gradient information sent by the active participant.

[0154] According to one or more embodiments of the present disclosure, Example 12 provides the method of Example 11, wherein determining whether the training of the neural network structure is completed comprises: determining that the training of the neural network structure is completed when the function value of the cross entropy loss function and the sum of the product of the objective function value and the corresponding weight are minimized, wherein the objective function value comprises at least one of the function value of the distance correlation loss function, the function value of the adversarial reconstruction loss function, and the function value of the noise regularization loss function.

[0155] According to one or more embodiments of the present disclosure, Example 13 provides a data protection device, comprising: an original feature information acquisition module, used to acquire the original feature information of a target batch of reference samples of a passive participant in a joint training model; a target feature information determination module, used to process the original feature information through a target feature processing network structure to obtain target feature information corresponding to the original feature information; wherein, at least with the goal of minimizing the degree of coupling between the original training feature information of the training samples of the passive participant and the target training feature information, the neural network structure is trained to obtain the target feature processing network structure, and the target training feature information is feature information corresponding to the original training feature information obtained by outputting the neural network structure by taking the original training feature information as the input of the neural network structure.

[0156] According to one or more embodiments of the present disclosure, Example 14 provides a feature processing network structure training device, the device comprising: a training feature information acquisition module, used to obtain original training feature information of a specified batch of training samples of a passive participant of a joint training model, and target training feature information output after the neural network structure processes the original training feature information; a target gradient information acquisition module, used to obtain target gradient information corresponding to the parameters of the neural network structure, wherein the target gradient information is determined according to a preset loss function and the target training feature information, and the preset loss function includes a loss function that characterizes the degree of coupling between the original training feature information and the target training feature information; a parameter updating module, used to update the parameters of the neural network structure according to the target gradient information, wherein the neural network structure is trained at least with the goal of minimizing the degree of coupling between the original training feature information and the target training feature information; a judgment module, used to determine whether the training of the neural network structure is completed; and a network structure acquisition module, used to obtain the target feature processing network structure in response to the completion of the training of the neural network structure.

[0157] According to one or more embodiments of the present disclosure, Example 15 provides a computer-readable medium having a computer program stored thereon, which, when executed by a processing device, performs the steps of the method described in any one of Examples 1-7, or, when executed by a processing device, implements the steps of the method described in any one of Examples 8-12.

[0158] According to one or more embodiments of the present disclosure, Example 16 provides an electronic device, comprising: a storage device on which a computer program is stored; a processing device for executing the computer program in the storage device to implement the steps of the method described in any one of Examples 1-7, or to implement the steps of the method described in any one of Examples 8-12.

[0159] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0160] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0161] Although the subject matter has been described in language specific to structural features and / or method logic actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims. Regarding the device in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.

Claims

1. A data protection method, characterized in that: The method comprises: Obtaining original feature information of reference samples of the target batch of passive participants of the joint training model; The original feature information is processed by a trained target feature processing network structure to obtain target feature information corresponding to the original feature information; Sending the target feature information to an active participant of the joint training model, so that the active participant determines the gradient transfer information of the parameters of the joint training model according to the target feature information; Receiving the gradient transfer information sent by the active participant, and updating the parameters of the joint training model according to the gradient transfer information; Wherein, the neural network structure is trained with the goal of at least minimizing the degree of coupling between the original training feature information of the training samples of the passive participant and the target training feature information to obtain the target feature processing network structure, wherein the target training feature information is feature information corresponding to the original training feature information output by the neural network structure obtained by taking the original training feature information as the input of the neural network structure; the reference samples of the target batch are samples used in the process of training the joint training model after the training of the target feature processing network structure is completed.

2. The method according to claim 1, characterized in that The target feature processing network structure is trained in the following way: Acquire original training feature information of a designated batch of training samples of the passive participant, and target training feature information output after the neural network structure processes the original training feature information; Obtaining target gradient information corresponding to the parameters of the neural network structure, wherein the target gradient information is determined according to a preset loss function and the target training feature information, and the preset loss function includes a loss function that characterizes the degree of coupling between the original training feature information and the target training feature information; Updating the parameters of the neural network structure according to the target gradient information; Determining whether the neural network structure has been trained; In response to the completion of the training of the neural network structure, the target feature processing network structure is obtained.

3. The method according to claim 2, characterized in that The target gradient information includes at least one of distance correlation gradient information, adversarial reconstruction gradient information, and noise regularization gradient information. Accordingly, the preset loss function includes at least one of distance correlation loss function, adversarial reconstruction loss function, and noise regularization loss function; Accordingly, the step of obtaining target gradient information corresponding to the parameters of the neural network structure includes at least one of the following: Determining the distance correlation gradient information according to the original training feature information, the target training feature information, and the distance correlation loss function, wherein the distance correlation loss function is a function that characterizes the distance correlation between the original training feature information and the target training feature information; Determine the first gradient information corresponding to the parameters of the neural network structure according to the original training feature information, the first predicted feature information, and the adversarial reconstruction loss function, and determine the gradient information of the first gradient information after being processed by the gradient reversal layer as the adversarial reconstruction gradient information, wherein the first predicted feature information is reconstructed according to the target training feature information, and the adversarial reconstruction loss function is a function that characterizes the distance between the first predicted feature information and the original training feature information; The noise regularization gradient information is determined according to the second prediction feature information, the noise information, and the noise regularization loss function, wherein the second prediction feature information is reconstructed according to the target training feature information, the first prediction feature information is the same as or different from the second prediction feature information, and the noise regularization loss function is a function that characterizes the error between the second prediction feature information and the noise information.

4. The method according to claim 3, characterized in that The first prediction feature information is feature information output by the feature reconstruction network structure obtained by inputting the target training feature information into the feature reconstruction network structure; In a case where the target gradient information includes the adversarial reconstruction gradient information and the preset loss function includes the adversarial reconstruction loss function, the training process of the target feature processing network structure further includes: Determine second gradient information corresponding to the parameters of the feature reconstruction network structure according to the original training feature information, the first predicted feature information, and the adversarial reconstruction loss function; The second gradient information is transmitted back to the feature reconstruction network structure, so that the feature reconstruction network structure updates the parameters of the feature reconstruction network structure according to the second gradient information.

5. The method according to claim 3, characterized in that: The target gradient information also includes cross entropy gradient information, and the preset loss function also includes a cross entropy loss function; The step of obtaining target gradient information corresponding to the parameters of the neural network structure further includes: Sending the target training feature information to an active participant of the joint training model, so that the active participant predicts label data according to the target training feature information, and determining the cross entropy gradient information according to the label data prediction result and the cross entropy loss function, wherein the cross entropy loss function is a function that characterizes the cross entropy between the label data prediction result and the true label data; Receive the cross entropy gradient information sent by the active participant.

6. The method according to claim 5, characterized in that The step of determining whether the neural network structure has been trained includes: When the function value of the cross entropy loss function and the sum of the product of the objective function value and the corresponding weight are minimized, it is determined that the training of the neural network structure is completed, wherein the objective function value includes at least one of the function value of the distance correlation loss function, the function value of the adversarial reconstruction loss function, and the function value of the noise regularization loss function.

7. A feature processing network structure training method, characterized in that: The method comprises: Obtaining original training feature information of a designated batch of training samples of a passive participant of the joint training model, and target training feature information output after the neural network structure processes the original training feature information; Obtaining target gradient information corresponding to the parameters of the neural network structure, wherein the target gradient information is determined according to a preset loss function and the target training feature information, and the preset loss function includes a loss function that characterizes the degree of coupling between the original training feature information and the target training feature information; The parameters of the neural network structure are updated according to the target gradient information, wherein the neural network structure is trained at least with the goal of minimizing the coupling between the original training feature information and the target training feature information; Determining whether the neural network structure has been trained; In response to the completion of the training of the neural network structure, a target feature processing network structure is obtained; The trained target feature processing network structure is used to process the original feature information of the reference samples of the target batch of the passive participant to obtain target feature information, and the target feature information is used to be sent to the active participant of the joint training model so that the active participant determines the gradient transfer information of the parameters of the joint training model according to the target feature information, and the gradient transfer information is used to be sent by the active participant to the passive participant so that the passive participant updates the parameters of the joint training model according to the gradient transfer information; the reference samples of the target batch are samples used in the process of training the joint training model after the training of the target feature processing network structure is completed.

8. The method according to claim 7, characterized in that The target gradient information includes at least one of distance correlation gradient information, adversarial reconstruction gradient information, and noise regularization gradient information. Accordingly, the preset loss function includes at least one of distance correlation loss function, adversarial reconstruction loss function, and noise regularization loss function; Accordingly, the step of obtaining target gradient information corresponding to the parameters of the neural network structure includes at least one of the following: Determining the distance correlation gradient information according to the original training feature information, the target training feature information, and the distance correlation loss function, wherein the distance correlation loss function is a function that characterizes the distance correlation between the original training feature information and the target training feature information; Determine the first gradient information corresponding to the parameters of the neural network structure according to the original training feature information, the first predicted feature information, and the adversarial reconstruction loss function, and determine the gradient information of the first gradient information after being processed by the gradient reversal layer as the adversarial reconstruction gradient information, wherein the first predicted feature information is reconstructed according to the target training feature information, and the adversarial reconstruction loss function is a function that characterizes the distance between the first predicted feature information and the original training feature information; The noise regularization gradient information is determined according to the second prediction feature information, the noise information, and the noise regularization loss function, wherein the second prediction feature information is reconstructed according to the target training feature information, the first prediction feature information is the same as or different from the second prediction feature information, and the noise regularization loss function is a function that characterizes the error between the second prediction feature information and the noise information.

9. The method according to claim 8, characterized in that The first prediction feature information is feature information output by the feature reconstruction network structure obtained by inputting the target training feature information into the feature reconstruction network structure; In a case where the target gradient information includes the adversarial reconstruction gradient information, and the preset loss function includes the adversarial reconstruction loss function, the method further includes: Determine second gradient information corresponding to the parameters of the feature reconstruction network structure according to the original training feature information, the first predicted feature information, and the distance correlation loss function; The second gradient information is transmitted back to the feature reconstruction network structure, so that the feature reconstruction network structure updates the parameters of the feature reconstruction network structure according to the second gradient information.

10. The method according to claim 8, characterized in that The target gradient information also includes cross entropy gradient information, and the preset loss function also includes a cross entropy loss function; The step of obtaining target gradient information corresponding to the parameters of the neural network structure further includes: Sending the target training feature information to an active participant of the joint training model, so that the active participant predicts label data according to the target training feature information, and determining the cross entropy gradient information according to the label data prediction result and the cross entropy loss function, wherein the cross entropy loss function is a function that characterizes the cross entropy between the label data prediction result and the true label data; Receive the cross entropy gradient information sent by the active participant.

11. The method according to claim 10, characterized in that The step of determining whether the neural network structure has been trained includes: The training of the neural network structure is determined to be completed when the function value of the cross entropy loss function and the sum of the product of the objective function value and the corresponding weight are minimized, wherein the objective function value includes at least one of the function value of the distance correlation loss function, the function value of the adversarial reconstruction loss function, and the function value of the noise regularization loss function.

12. A data protection device, characterized in that: The device comprises: The original feature information acquisition module is used to obtain the original feature information of the reference samples of the target batch of the passive participants of the joint training model; A target feature information determination module is used to process the original feature information through a trained target feature processing network structure to obtain target feature information corresponding to the original feature information; A second sending module is used to send the target feature information to an active participant of the joint training model, so that the active participant determines the gradient transfer information of the parameters of the joint training model according to the target feature information; A second receiving module, configured to receive the gradient transfer information sent by the active participant, and update the parameters of the joint training model according to the gradient transfer information; Wherein, the neural network structure is trained with the goal of at least minimizing the degree of coupling between the original training feature information of the training samples of the passive participant and the target training feature information to obtain the target feature processing network structure, wherein the target training feature information is feature information corresponding to the original training feature information output by the neural network structure obtained by taking the original training feature information as the input of the neural network structure; the reference samples of the target batch are samples used in the process of training the joint training model after the training of the target feature processing network structure is completed.

13. A feature processing network structure training device, characterized in that: The device comprises: A training feature information acquisition module, used to acquire original training feature information of a specified batch of training samples of a passive participant of the joint training model, and target training feature information output after the neural network structure processes the original training feature information; A target gradient information acquisition module, used to acquire target gradient information corresponding to the parameters of the neural network structure, wherein the target gradient information is determined according to a preset loss function and the target training feature information, and the preset loss function includes a loss function that characterizes the degree of coupling between the original training feature information and the target training feature information; A parameter updating module, configured to update the parameters of the neural network structure according to the target gradient information, wherein the neural network structure is trained with the goal of at least minimizing the coupling between the original training feature information and the target training feature information; A judgment module, used to determine whether the neural network structure has been trained; A network structure acquisition module, used for obtaining the target feature processing network structure in response to completion of the neural network structure training; The trained target feature processing network structure is used to process the original feature information of the reference samples of the target batch of the passive participant to obtain target feature information, and the target feature information is used to be sent to the active participant of the joint training model so that the active participant determines the gradient transfer information of the parameters of the joint training model according to the target feature information, and the gradient transfer information is used to be sent by the active participant to the passive participant so that the passive participant updates the parameters of the joint training model according to the gradient transfer information; the reference samples of the target batch are samples used in the process of training the joint training model after the training of the target feature processing network structure is completed.

14. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processing device, the steps of the method described in any one of claims 1 to 6 are implemented; or, when the program is executed by a processing device, the steps of the method described in any one of claims 7 to 11 are implemented.

15. An electronic device, characterized in that: include: a storage device having a computer program stored thereon; A processing device, used to execute the computer program in the storage device to implement the steps of the method described in any one of claims 1 to 6, or to implement the steps of the method described in any one of claims 7 to 11.

Citation Information

Patent Citations

  • Model generation method and device

    CN108256646A

  • Neural network terminal deployment fine-tuning training method

    CN111310897A

  • Data protection method and device, server and medium

    CN111783142A

  • Neural network training method, image recognition method, device, equipment and medium

    CN111797976A

  • Power grid oscillation mode evaluation and safety active early warning method based on deep learning

    CN112307677A