Method, device and system for privacy protection

CN118715518APending Publication Date: 2024-09-27SONY GROUP CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380017881.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-01-26
Filing Date
2023-01-20
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing privacy protection technologies have problems such as large performance impact, high computing power requirements, slow convergence of the training process, and unstable data generation models in artificial intelligence model training, making it difficult to effectively protect user privacy information.

Method used

By condensing the actual data set, the main features are retained while compressing the data set size, removing private information, and training the model using the condensed data set to ensure that the model does not leak private information during the training process.

Benefits of technology

It can improve the accuracy and efficiency of model training while protecting privacy, ensuring that the model does not leak the private information of the original data, and is suitable for various computer vision classification task scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118715518A
    Figure CN118715518A
Patent Text Reader

Abstract

The invention relates to a privacy protection method, device and system. Various embodiments related to privacy protection are described. In one embodiment, the model training method comprises the following steps: acquiring an actual data set; performing data set concentration on the actual data set to remove privacy information by compressing the size of the actual data set while retaining the main features of the actual data in the actual data set; and training the model by using a concentrated data set obtained by data set concentration.
Need to check novelty before this filing date? Find Prior Art

Description

Method, device and system for privacy protection Technical Field

[0001] The present disclosure relates generally to privacy protection, and particularly to privacy protection in the field of artificial intelligence. Background Art

[0002] With the continuous development of deep learning technology, neural network models have been widely deployed in various systems and devices, including edge computing devices. To better improve the performance of models in real applications, real data can be used to train models. However, because real data may contain membership privacy information such as customer characteristics, directly using real data to train models carries the risk of privacy leakage.

[0003] One existing privacy-preserving approach uses differential privacy. However, this approach significantly impacts performance, requires high computing power, and slows training convergence, making it unsuitable for real-world applications. Another existing privacy-preserving approach utilizes generative models to generate data with the same distribution as the original data. However, the training process for generative models is unstable and still carries the risk of leaking the original data.

[0004] In addition, in the "Internet of Everything Era", the amount of personal privacy information collected and stored by enterprises has experienced explosive growth. How to promote the circulation and sharing of data, boost the upgrading of enterprises and industries, while respecting the personal privacy information of users and ensuring legality and compliance has become a proposition that practitioners need to focus on.

[0005] Summary of the Invention

[0006] One aspect of the present disclosure relates to a model training method. According to an embodiment of the present disclosure, the model training method includes: obtaining a real dataset; performing dataset concentration on the real dataset to remove private information by compressing the size of the real dataset while retaining key features of the real data in the real dataset; and training a model using the concentrated dataset obtained through the dataset concentration.

[0007] One aspect of the present disclosure relates to a model deployment method. According to an embodiment of the present disclosure, the model deployment method includes: deploying a trained model obtained by executing the steps of the model training method according to an embodiment of the present disclosure to process data, wherein the actual data used to obtain the trained model has the same distribution as the data to be processed.

[0008] One aspect of the present disclosure relates to a method for generating a model. According to an embodiment of the present disclosure, the method for generating a model includes: executing the steps of the model training method according to an embodiment of the present disclosure to generate a model.

[0009] One aspect of the present disclosure relates to a training device. According to an embodiment of the present disclosure, the training device includes a data acquisition module configured to acquire a real dataset; a dataset concentration module configured to concentrating the real dataset to remove private information by compressing the size of the real dataset while retaining key features of the real data in the dataset; and a training module configured to train a model using the concentrating dataset.

[0010] One aspect of the present disclosure relates to an application apparatus. According to an embodiment of the present disclosure, the application apparatus includes a processing device configured to execute the steps of the model deployment method according to an embodiment of the present disclosure.

[0011] One aspect of the present disclosure relates to a system for privacy protection. According to an embodiment of the present disclosure, the system for privacy protection includes a training device according to an embodiment of the present disclosure; and an application device configured to deploy a trained model obtained by the training device to process data, wherein the actual data used to obtain the trained model has the same distribution as the data to be processed.

[0012] Yet another aspect of the present disclosure relates to a computer-readable storage medium storing one or more instructions. In some embodiments, the one or more instructions, when executed by a processor, may cause the processor to perform steps of various methods according to embodiments of the present disclosure.

[0013] Yet another aspect of the present disclosure relates to a computer program product comprising one or more instructions. In some embodiments, when the one or more instructions are executed by a processor, the processor may perform the steps of various methods according to embodiments of the present disclosure.

[0014] The above summary is provided to summarize some exemplary embodiments in order to provide a basic understanding of various aspects of the subject matter described herein. Therefore, the above features are merely examples and should not be construed as narrowing the scope or spirit of the subject matter described herein in any way. Other features, aspects, and advantages of the subject matter described herein will become apparent from the detailed description described below in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] A better understanding of the present disclosure may be obtained when the following detailed description of the embodiments is considered in conjunction with the accompanying drawings. The same or similar reference numerals are used in the various drawings to represent the same or similar components. The accompanying drawings, together with the following detailed description, are incorporated into and form a part of this specification and are used to illustrate the embodiments of the present disclosure and to explain the principles and advantages of the present disclosure. In particular:

[0016] FIG1 is a flowchart illustrating an example of steps of a model training method according to an embodiment of the present disclosure.

[0017] FIG2 is a flowchart illustrating an example of steps of performing dataset enrichment on an actual dataset according to an embodiment of the present disclosure.

[0018] FIG3 is a comparison diagram visually illustrating the privacy protection effect of performing dataset concentration on an actual dataset according to an embodiment of the present disclosure.

[0019] FIG4 is a schematic diagram illustrating an example of a configuration of a system for privacy protection according to an embodiment of the present disclosure, which also illustrates main functional modules and information interactions of the constituent devices.

[0020] 5A-5C are schematic diagrams illustrating multiple application scenarios of a solution for privacy protection according to an embodiment of the present disclosure.

[0021] FIG6 shows an example block diagram of a computer that can be implemented as a training device, an application device, or a system according to an embodiment of the present disclosure.

[0022] While the embodiments described in this disclosure may be susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and are herein described in detail. However, it should be understood that the drawings and detailed description thereof are not intended to limit the embodiments to the particular forms disclosed, but on the contrary, the intent is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the claims. DETAILED DESCRIPTION

[0023] The following describes representative applications of various aspects of the apparatus and method of the present disclosure. The description of these examples is only to add context and help understand the described embodiments. Therefore, it is clear to those skilled in the art that the embodiments described below can be implemented without some or all of the specific details. In other cases, well-known process steps are not described in detail to avoid unnecessarily obscuring the described embodiments. Other applications are also possible, and the solutions of the present disclosure are not limited to these examples.

[0024] The inventors of the present application recognize that, compared with general models, models trained using actual data can be more accurately applied to specific application scenarios.

[0025] However, models directly derived from real-world data may leak private information contained in the data. For example, in some cases, observing the model's output can be used to determine whether the target data was used to train the model, thereby obtaining private information about the target data members. More specifically, if facial image data captured by a camera is directly used for model training, the trained model may be exploited maliciously, for example, to infer whether a person has entered the camera's field of view based on the model's output. Therefore, when using real-world data to train models, it is essential to protect the private information contained in the data.

[0026] To this end, the applicant proposes in this disclosure to perform dataset condensation on actual datasets to effectively extract features from the data and remove private information, thereby protecting members' private information.

[0027] The solution of this application is applicable to all scenarios requiring privacy protection of actual data used to train models, particularly business scenarios involving various computer vision classification tasks, such as unmanned supermarkets, hospitals, and bus station visitor profiling. In some embodiments, the solution of this application can incorporate time-series information from multiple frames of surveillance video to protect the privacy of, for example, user movement trajectories.

[0028] FIG1 illustrates a flowchart of an example of steps of a model training method according to an embodiment of the present disclosure.

[0029] The method shown in Figure 1 can be performed by any apparatus including a processing device. For example, the method shown in Figure 1 can be performed by a local server (such as an edge server).

[0030] As shown in FIG1 , according to an embodiment of the present disclosure, a model training method 100 may mainly include the following steps:

[0031] In step 110, an actual data set is obtained;

[0032] At step 120 , the actual dataset is condensed to remove the private information by compressing the size of the actual dataset while retaining main features of the actual data in the actual dataset; and

[0033] In step 130 , the condensed dataset obtained by condensing the dataset is used to train a model.

[0034] First, as shown in FIG1 , in step 110 , an actual data set is obtained.

[0035] In some embodiments, obtaining the actual data set 110 includes receiving an encrypted actual data set, and decrypting the encrypted actual data set.

[0036] As mentioned above, the actual data may contain members' private information. Transmitting and receiving the actual data set in an encrypted manner is helpful to avoid illegal access to the actual data set by other devices, thereby reducing the risk of privacy information leakage.

[0037] Next, as shown in FIG1 , in step 120 , the actual dataset is condensed.

[0038] Here, the "concentration" of the data set can vividly indicate the process of retaining the main features of the data in the data set while compressing the size of the data set. Among them, the "main features" of the data in the data set can be understood as the most representative features among all features, that is, the most critical features for training the model. The measurement standard is that the loss obtained by training on the generated small data set is similar to the loss obtained by training on the original data. Therefore, compared with the data subset of the same size extracted from the original data set, the dataset synthesized after concentration (hereinafter referred to as the concentrated dataset) contains more effective features. The accuracy of the neural network trained with the concentrated dataset on the test data is higher than the accuracy of the neural network trained with the above-mentioned extracted subset.

[0039] Optionally, in some embodiments, the method 100 may further include determining whether the acquired actual dataset contains private information (step 170). Thus, in the dataset concentration process (step 120) of the actual dataset, only the actual dataset containing private information may be subjected to dataset concentration. Specifically, by filtering out the datasets containing private information from the actual dataset, only the datasets containing private information may be subjected to dataset concentration. Thus, for datasets containing private information, the concentrated dataset is used to train the model; and for datasets that do not contain private information, the original dataset may be directly used to train the model. Advantageously, through this screening process, dataset concentration can be performed in a targeted manner, thereby improving the accuracy and efficiency of model training while protecting privacy.

[0040] The following will illustrate in detail an example of performing dataset concentration (step 120) on an actual dataset in conjunction with the flowchart of Figure 2. It will be readily understood by those skilled in the art that the method for performing dataset concentration on an actual dataset shown in Figure 2 is only an example, and the present disclosure is not limited thereto. Those skilled in the art can also combine the ideas disclosed in the present disclosure to utilize various existing dataset concentration (DC) and dataset distillation (DD) methods to achieve privacy removal. Specifically, for example, it can be achieved by utilizing an existing dataset concentration scheme that introduces KIP (Kernel Inducing Points), a dataset concentration scheme that introduces DSA (Differentiable Siamese Augmentation), or a dataset distillation scheme that utilizes Infinitely Wide Convolutional Networks. In some embodiments of the present disclosure, dataset "concentration" is a broad concept that is intended to include existing dataset concentration and dataset distillation schemes. Among them, dataset distillation requires more complex calculations than narrow dataset concentration, and can be applied, for example, to the cloud server of the embodiment described below in conjunction with Figure 5C of the present disclosure.

[0041] In some embodiments, performing dataset condensation on the actual dataset may include establishing an initial condensed dataset (step 122). Smaller than the actual dataset In particular, in some embodiments, the condensed dataset Much smaller than the actual dataset It is easy for a person skilled in the art to understand that the condensed data set Compared with the actual dataset The smaller it is, the more concentrated the dataset is.

[0042] In some embodiments, performing dataset concentration on the actual dataset further includes: adjusting a concentration rate of the dataset according to demand.

[0043] For example, in some embodiments, To express the concentration rate.

[0044] The inventors of the present application have recognized that enriching the dataset The size of not only affects the dataset enrichment process itself, but also affects the utilization of the enriched dataset. The process of training a model. For example, by compressing and concentrating the dataset By simplifying the trained model, the hardware conditions required to run the model can be further reduced.

[0045] For the actual dataset Assume it contains Accordingly, the dataset is condensed The data can be divided into C corresponding categories.

[0046] Among them, the concentrated data of category c (1≤c≤C) Less than the actual data of the same type. In particular, in some embodiments, the condensed data of each class can be much less than the actual data of the same type. In some embodiments, the amount of condensed data of each class can be designated as ipc.

[0047] The inventors of the present application have recognized that random initialization of the concentrated data set can make the initialized data independent of the actual data, that is, it does not contain any privacy information, thereby effectively ensuring the privacy protection effect of the data set concentration process.

[0048] Therefore, in some embodiments, establishing the initial concentrated dataset may include randomly initializing the concentrated dataset. For example, the concentrated dataset may be initialized to a normal distribution, such that the initial concentrated dataset has a normal distribution. However, those skilled in the art will readily appreciate that the method for initializing the concentrated dataset is not limited to this, and may be selected based on needs.

[0049] Subsequently, the condensed dataset is optimized so that the condensed dataset has main features of the actual data in the actual dataset (steps 124 to 128 ).

[0050] The inventors of this application have recognized that similar data will have more consistent feature distributions. Therefore, optimizing the condensed data by category can accelerate convergence. The categories include gender, race, age, etc.

[0051] Therefore, in some embodiments, optimizing the enriched data set may be performed separately for each type of enriched data.

[0052] Alternatively, in other embodiments, the optimization of the condensed data set may be performed on the condensed data of all classes together or on a group of condensed data that aggregates one or more classes.

[0053] In the case of performing optimization on each category of concentrated data separately, optimizing the concentrated data set includes selecting one or more subsets of the same category of actual data in the actual data set for each category of concentrated data.

[0054] In particular, it can be pre-specified that the actual data of the same type in the actual data set will be selected for each type of concentrated data. subsets.

[0055] Then, the concentrated data is optimized accordingly using each subset of the actual data of the same type selected for each type of concentrated data.

[0056] As shown in FIG. 2 , in some embodiments, in step 124 , for each type of concentrated data, a subset of the same type of actual data in the actual data set is selected.

[0057] For example, for the concentrated data of category c (1≤c≤C) Select a subset of the same type of actual data in the actual data set, for example, the kth (1≤k≤K) subset

[0058] In step 126 , a round of optimization is performed on the condensed data using a subset of the actual data of the same type selected for each type of condensed data.

[0059] Optionally, in some embodiments, optimizing the condensed data set includes performing a differentiable data augmentation operation on the actual data and the condensed data used in the optimization (sub-step 1262).

[0060] For example, the differentiable data augmentation operation can be selected from one or more of the following: data flip, rotation, crop, and scale. For ease of description, the differentiable data augmentation operation can be recorded as

[0061] Advantageously, differentiable data augmentation operations can fully explore the details of the data and provide more valuable feature information.

[0062] The inventors of this application have recognized that optimizing a condensed dataset allows the condensed dataset to learn the primary features of the actual data in the actual dataset, thereby exhibiting properties similar to those of the original dataset. Consequently, the condensed dataset can be used to approximate the original dataset. Therefore, the condensed dataset can be optimized by extracting features from the actual data and condensed data used in the optimization and fitting them.

[0063] The inventors also realized that the feature layer of the randomly initialized neural network, especially the penultimate layer, has inherent feature extraction and data clustering functions and can be used to extract features from data.

[0064] Thus, in some embodiments, optimizing the condensed dataset includes performing feature extraction on the actual data and the condensed data used in the optimization using a feature layer of a randomly initialized neural network (sub-step 1264).

[0065] For example, we can first initialize any neural network with a normal distribution, then remove the last layer of the network and keep the feature layer at the second-to-last layer as the output. The resulting neural network is denoted by φ. In particular, φ can be used to calculate the representation vectors of the actual data and enriched data used in the optimization.

[0066] Subsequently, fitting of the representation vectors can be performed to optimize the enriched dataset.

[0067] For example, the following loss function can be calculated:

[0068] [Formula 1]

[0069] Among them, y represents the label of the data.

[0070] Then, fitting is performed using a method such as stochastic gradient descent (sub-step 1266).

[0071] In particular, assuming the learning rate is η, the condensed data is updated as follows:

[0072] [Formula 2]

[0073] in, To find the gradient operator.

[0074] Here, the L2 norm is used to calculate the loss function, but it is easy for those skilled in the art to understand that this is just an example and the present disclosure is not limited thereto.

[0075] The inventors of this application have recognized that the optimizations performed on various types of concentrated data are independent of each other and can therefore be performed simultaneously, thereby improving processing efficiency. Therefore, as shown in Equation 1, in some embodiments, each type of concentrated data can be optimized simultaneously (parallel processing) using a subset of the actual data of the same type selected for each type of concentrated data.

[0076] Alternatively, in some embodiments, various types of concentrated data may be optimized at different times (eg, processed serially) to reduce computing power requirements.

[0077] After step 126 is completed, in step 128 , it is determined whether the subsets of actual data of the same type selected for each type of concentrated data have reached a specified number (such as K).

[0078] If the designated number has been reached ("YES" in step 128), the process ends.

[0079] If the specified number is not reached (“No” in step 128 ), the process returns to step 124 to select another subset of the same type of actual data in the actual data set for each type of condensed data and continue to optimize the condensed data.

[0080] In some embodiments, a subset of similar actual data from the actual data set may be randomly selected each time. However, those skilled in the art will readily appreciate that the method for selecting subsets of actual data is not limited to this. For example, if the amount of concentrated data for each category is far less than the actual data of the same category, it may be possible to specify that the subsets of actual data selected each time do not overlap, thereby utilizing as much actual data as possible for optimization. Those skilled in the art will readily appreciate that the quality of optimization can be improved by selecting a larger number of subsets of actual data.

[0081] Therefore, by concentrating the data set in the above manner, the main features of the actual data can be retained to the greatest extent, which will not have a significant impact on the trained model. In addition, it converges quickly and has high practical value.

[0082] Furthermore, the inventors of this application have recognized that, under the condition that the amount of concentrated data M is much smaller than the amount of original data N, the presence or removal of any original data will not significantly affect the parameter distribution of the model trained using the concentrated data. Specifically, the change in the distribution of model parameters caused by the removal of any original data (measured by the Kullback-Leibler (KL) divergence) is That is, in theory, dataset enrichment processing can remove private information.

[0083] In addition, Figure 3 can be combined to intuitively show the protection effect of data set concentration on privacy information. Figure 3 shows that when using different concentration rates (γ ipc =0.002, 0.01 and 0.02) after the dataset of facial images was condensed to obtain synthetic data and facial images similar to the synthetic data (i.e., similar data) in the dataset of facial images. Each similar facial image is annotated with its L2 norm and image perceptual similarity index (LPIPS) with the synthetic data. The smaller the L2 norm or the larger the LPIPS, the higher the similarity. It can be seen from observation that the synthetic data and the similar data have similar outlines, but because the similarity of fine-grained facial features is low, it is difficult to confirm identity information based on the synthetic data. This confirms that dataset condensation can visually protect privacy information.

[0084] Furthermore, models trained on enriched data do not leak the membership information of the original data used to generate the enriched data. In other words, the model's loss function cannot be used to determine whether a particular data sample was used to generate the enriched data. Specifically, the accuracy of inferring data membership based on the model's loss function is approximately 50%, close to random guessing. Therefore, dataset enrichment removes traces of private information from the trained model, ensuring the model's privacy protection.

[0085] Therefore, using the concentrated dataset obtained by dataset concentration to train the model can protect privacy information.

[0086] Next, as shown in FIG1 , in step 130 , the condensed dataset is used to train the model.

[0087] In various embodiments, training the model in step 130 may include one or more of retraining the model, performing domain adaptation, or adjusting (updating) the model.

[0088] For devices with limited computing power, such as edge computing devices, in order to reduce the large computational cost required to retrain the neural network model with real data, it is possible to download a pre-trained model and perform domain adaptation using only real data.

[0089] The inventors of this application recognized that while domain adaptation can reduce some workload compared to retraining the model, the computational overhead is still significant and carries the risk of privacy leakage. By performing dataset condensation to remove private information according to the embodiments of this disclosure and using the condensed dataset for domain adaptation, both of these issues can be advantageously addressed simultaneously.

[0090] For example, in some embodiments, the model training method 100 may further include obtaining a pre-trained model (step 140). Thus, in training the model using the concentrated dataset (step 130), the pre-trained model is trained. That is, step 130 is to perform domain adaptation using the concentrated dataset.

[0091] Assume that the pre-trained model obtained is f θ , where θ is the pre-trained model parameter and the learning rate of domain adaptation is r, then by using the concentrated dataset The pre-trained model can be fine-tuned in the following ways:

[0092] [Formula 3]

[0093] in, For A batch of samples randomly drawn from .

[0094] By repeating the above fine-tuning process several times, domain adaptation can be achieved.

[0095] In some embodiments, a pre-trained model can be downloaded from the cloud. Alternatively, in some embodiments, a pre-trained model can be downloaded from an external storage device. It will be readily understood by those skilled in the art that the method for obtaining a pre-trained model is not limited to this and can be selected as needed.

[0096] In addition, in some embodiments, steps 110-130 may be repeatedly performed to adjust the trained model using updated actual data to better adapt to actual conditions and reduce the workload required to retrain the model or re-domain adapt the model each time.

[0097] As shown in FIG1 , optionally, in some embodiments, the model training method 100 further includes performing model compression on the trained model (step 150 ).

[0098] Advantageously, using model compression technology to compress the model before model deployment can not only further reduce the model size, making the model more suitable for application devices such as edge computing devices, but also further reduce model privacy leakage.

[0099] In some embodiments, the model training method 100 further includes distributing the trained model to application devices associated with the acquired actual data set (step 160).

[0100] Here, "correlation" means that the data to be processed by the application device using the trained model has the same distribution as the actual data set. For example, the actual data set is a set of facial images of a specific ethnic minority, and the application device is an image sensor in an unmanned supermarket in an area where the above ethnic minority is concentrated. The customer data of the unmanned supermarket to be processed and the actual data set have the same distribution. For another example, the visit characteristics of customers in different cargo areas within the same supermarket may be different, resulting in differences in the customer data collected from image sensors arranged in different cargo areas. The data to be processed by the image sensor located in a certain cargo area has the same distribution as the actual customer data set collected by the image sensor in that cargo area. Therefore, the trained model can have better performance on the data to be processed.

[0101] In some embodiments, the model training method 100 further includes obtaining a trained model obtained by performing the above steps.

[0102] According to an embodiment of the present disclosure, the method for generating a model may include executing the steps of the model training method according to an embodiment of the present disclosure to generate a model.

[0103] Accordingly, the model deployment method according to an embodiment of the present disclosure may include deploying a trained model obtained by executing the steps of the model training method according to an embodiment of the present disclosure to process data.

[0104] The actual data used to obtain the trained model has the same distribution as the data to be processed.

[0105] The model deployment method according to the embodiment of the present disclosure can be performed by any device including a processing device. For example, in some embodiments, the model deployment method can be performed by an end device (such as an image sensor) with model reasoning testing capabilities.

[0106] It is worth noting that the boundaries between the various steps in the method described above are merely illustrative. In actual operation, the various steps can be combined arbitrarily, or even combined into a single step. In addition, the order in which the various steps are performed is not limited by the order in which they are described, and some steps can be omitted. The operational steps of the various embodiments can also be combined with each other in any appropriate order to similarly implement more or fewer operations than described.

[0107] The following exemplarily describes the device and system for privacy protection according to an embodiment of the present disclosure in conjunction with Figure 4. For ease of understanding, Figure 4 also illustrates the main functional modules of the device and their information interaction.

[0108] According to an embodiment of the present disclosure, a system 400 for privacy protection may include a training device 410. Specifically, in various embodiments, the training device 410 may be configured to perform the steps of the model training method according to an embodiment of the present disclosure. The content described above in conjunction with FIG. 1 and FIG. 2 may also apply to the corresponding features, and descriptions of some repetitive content will be omitted.

[0109] In an embodiment of the present disclosure, as shown in FIG4 , a training device 410 may include:

[0110] The data acquisition module 412 is configured to acquire the actual data set;

[0111] a dataset concentrating module 414 configured to perform dataset concentrating on the actual dataset to remove private information by compressing the size of the actual dataset while retaining main features of the actual data in the actual dataset; and

[0112] The training module 416 is configured to train a model using the condensed dataset obtained through dataset condensation.

[0113] Optionally, in some embodiments, the data acquisition module 412 includes a decryption submodule 4122. The decryption submodule 4122 is configured to decrypt the received encrypted actual data set.

[0114] In some embodiments, the dataset concentration module 414 may be configured to create an initial concentrated dataset and optimize the concentrated dataset so that the concentrated dataset has the main features of the actual data in the actual dataset. Smaller than the actual dataset In particular, in some embodiments, the condensed dataset Much smaller than the actual dataset

[0115] In some embodiments, the dataset concentration module 414 may adjust the concentration rate of the dataset according to needs.

[0116] In some embodiments, the dataset concentration module 414 may be configured to randomly initialize the concentrated dataset, for example, to initialize the dataset with a normal distribution, when establishing the initial concentrated dataset.

[0117] In some embodiments, the dataset enrichment module 414 may be configured to optimize enriched data for each category separately.

[0118] Alternatively, in other embodiments, the dataset enrichment module 414 may be configured to optimize the enriched data of all classes together or for a group that aggregates the enriched data of one or more classes.

[0119] When optimizing each category of concentrated data separately, the data set concentration module 414 can be configured to select one or more subsets of similar actual data in the actual data set for each category of concentrated data, and use each subset of similar actual data selected for each category of concentrated data to optimize the concentrated data accordingly.

[0120] Optionally, in some embodiments, the dataset enrichment module 414 may be configured to perform differentiable data augmentation operations on the actual data and the enriched data used in the optimization.

[0121] In some embodiments, the dataset enrichment module 414 may be configured to perform feature extraction on the actual data and enriched data used in the optimization using a feature layer of a randomly initialized neural network, and then perform fitting using a method such as stochastic gradient descent.

[0122] In some embodiments, the training device 410 may include a pre-trained model acquisition module (not illustrated) to acquire a pre-trained model. Thus, the training module 416 may use the concentrated data set to train the pre-trained model, that is, perform domain adaptation.

[0123] In some embodiments, the training device 410 may further include a model distribution module 418. The model distribution module 418 is configured to distribute the trained model to application devices that are related to the acquired actual dataset. Here, "related" means that the data to be processed by the application device using the trained model has the same distribution as the actual dataset.

[0124] Optionally, in some embodiments, the training device 410 may further include a model compression module 417. The model compression module 417 is configured to compress the model using a model compression technology.

[0125] According to an embodiment of the present disclosure, the system 400 for privacy protection may include an application device 420. The application device 420 may be configured to deploy a trained model obtained by executing the steps of the model training method according to an embodiment of the present disclosure, that is, the trained model obtained by the training device 410, to process data.

[0126] The actual data used to obtain the trained model has the same distribution as the data to be processed. That is, the model deployed by application device 420 is obtained using a concentrated dataset of the actual dataset with the same distribution as the data to be processed as training data. As analyzed above, this helps improve the adaptability and accuracy of the model for actual application scenarios.

[0127] In particular, in various embodiments, the application device 420 may be configured to perform the steps of the model deployment method according to an embodiment of the present disclosure.

[0128] In some embodiments, the application device 420 may be configured to directly collect the data to be processed. Alternatively, in some embodiments, the application device 420 may be configured to obtain the data to be processed from an external device and process the data.

[0129] In some embodiments, the system 400 further includes a data collection device 430. The data collection device 430 may be configured to collect an actual data set used to obtain a trained model deployed by the application device 420, and transmit the actual data set to the training device.

[0130] Optionally, the data collection device 430 may include an encryption submodule 4302 to encrypt the actual data set to be transmitted.

[0131] In order to ensure that the actual data collected has a consistent data distribution with the data to be processed, the data collection device 430 can be arranged in a related manner to the application device 420. For example, the data collection device 430 and the application device 420 can be arranged at the same or similar location.

[0132] In other embodiments, application device 420 may also be configured to collect actual datasets used to obtain the trained model deployed by the application device and transmit this actual dataset to the training device. In other words, the data processing model deployed by application device 420 is trained using a condensed dataset of the actual dataset it collects. In other words, the corresponding functions of data collection device 430 shown in FIG4 can be implemented by application device 420.

[0133] Alternatively, in some embodiments, the system 400 may not include a dedicated data acquisition device 430, but may acquire the actual data set from outside the system.

[0134] The system 400 illustrated in FIG4 can be applied in various scenarios, especially business scenarios of various computer vision classification tasks.

[0135] 5A-5C illustrate multiple application examples of the solution for privacy protection according to an embodiment of the present disclosure.

[0136] In the example shown in FIG5A , the edge server performs dataset concentration on the images containing privacy (i.e., the actual dataset), and provides the synthetic image dataset obtained after concentration (i.e., the concentrated dataset) to the cloud for model training, thereby effectively preventing the leakage of privacy data. Specifically, (one or more) image sensors 530 transmit the collected images containing privacy to the edge server 520. The edge server 520 performs dataset concentration on the received image dataset, obtains a synthetic image dataset that does not contain privacy after the dataset concentration, and uploads it to the cloud server 510 for model training, thereby obtaining a privacy-removed model. The corresponding model can be deployed to the application end to effectively prevent the leakage of privacy data on the application end.

[0137] In this example, DC algorithms such as DM, KIP, and DSA can be used to concentrate the dataset. These algorithms are relatively simple to calculate and are suitable for edge devices with limited computing power.

[0138] Figure 5B illustrates another application example of the privacy protection solution according to an embodiment of the present disclosure. The example illustrated in Figure 5B differs from the example illustrated in Figure 5A in that, after performing dataset concentration on the privacy-containing images (i.e., the actual dataset), the edge server does not provide the resulting synthetic image dataset (i.e., the concentrated dataset) to the cloud. Instead, it directly uses the dataset to perform domain adaptation of the pre-trained model. Specifically, (one or more) image sensors 530 transmit the captured privacy-containing images to the edge server 520. In addition, the edge server 520 downloads the pre-trained model from the cloud server 510. The edge server 520 performs dataset concentration on the received image dataset to obtain a synthetic image dataset that does not contain privacy after the dataset concentration. The dataset is then used to perform domain adaptation of the pre-trained model, thereby obtaining a privacy-removed model. The corresponding model can be deployed to the application end to effectively prevent the leakage of privacy data on the application end. For example, in an unmanned supermarket, a local edge server can be used to perform dataset concentration and domain adaptation. The trained privacy-removed model can be deployed on an end device (application device) such as a sensor that has inference testing capabilities.

[0139] In this example, DC algorithms suitable for the edge, such as DM, KIP, and DSA, can also be used to concentrate the data set.

[0140] In the example shown in Figure 5C, the cloud server performs dataset concentration on the received images containing private information (i.e., the actual dataset) and uses the resulting synthetic image dataset (i.e., the concentrated dataset) for model training. Specifically, (one or more) image sensors 530 transmit the captured images containing private information to the cloud server 510. The cloud server 510 performs dataset concentration on the received image dataset to obtain a synthetic image dataset that does not contain private information after the dataset concentration, and uses this dataset to train the model, thereby obtaining a model that removes private information. The corresponding model can be deployed to the application end to effectively prevent the leakage of private data on the application end.

[0141] In this example, not only DC (narrow data concentration) algorithms such as DM, KIP, and DSA can be used to concentrate the dataset, but also various DD (data distillation) algorithms that are relatively complex and require high computing power can be used.

[0142] Those skilled in the art should understand that the application of the solution for privacy protection is not limited to the above examples.

[0143] Furthermore, those skilled in the art will appreciate that although FIG4 illustrates only one application device 420, the number of application devices is not limited thereto. For example, in some embodiments, system 400 may include multiple application devices 420. Training device 410 may distribute and deploy a corresponding trained model to each of these application devices to process data.

[0144] In some embodiments, the training device 410 may distribute and deploy the same trained model to each of these application devices 420 .

[0145] Alternatively, in some embodiments, the training device 410 may distribute and deploy different trained models to at least two of the application devices 420 .

[0146] As analyzed above, for each application device 420, the actual data used to derive the deployed model has the same distribution as the data to be processed. When the data to be processed by multiple application devices 420 differ significantly, or when an application device 420 requires high model accuracy, an experimental dataset consistent with the distribution of the data to be processed can be obtained for each application device 420, and the corresponding dataset can be enriched and trained to obtain a proprietary model specifically suitable for that application device.

[0147] For example, customers visiting different aisles within a supermarket may have different visitor patterns, resulting in discrepancies in the customer data collected by image sensors deployed in different aisles. By deploying a model trained with a concentrated dataset of the customer data for a particular aisle on an image sensor located in that aisle, the processing accuracy of that image sensor can be improved.

[0148] In addition, appropriate models can be flexibly deployed according to the hardware conditions, importance, etc. of individual application devices. As analyzed above, the operating requirements of the trained models distributed to application devices can be adjusted by setting an appropriate concentrated data compression ratio and performing model compression.

[0149] The inventors of this application recognize that in the data trading market of the big data era, there is a lack of a technical means to balance privacy protection and data quality. To address this need, the present invention provides a new solution. Specifically, data enrichment is introduced between the original data provider (e.g., user), data supplier, and data demander to enable flexible data product transactions based on different information protection laws in different countries or the privacy protection requirements of data providers.

[0150] In some embodiments, the data provider may provide information on privacy protection strength and training model performance corresponding to different enrichment ratios for each supplied dataset, and store the information in a storage device of a corresponding processing device (e.g., a computer). Generally speaking, a smaller enrichment ratio indicates higher privacy protection strength and lower training model performance, and vice versa.

[0151] For example, in some embodiments, the data provider can provide a data list of privacy protection strength and training model performance corresponding to discrete enrichment rates. Alternatively, in some embodiments, the data provider can provide a graph showing the privacy protection strength and training model performance as the enrichment rate changes. Alternatively, in some embodiments, the data provider can provide example original datasets and their enriched datasets for different enrichment rates to intuitively demonstrate the privacy protection strength and training model performance at different enrichment rates. Those skilled in the art will readily appreciate that the specific method is not limited to this.

[0152] On the one hand, in some embodiments, based on the accuracy requirements of the model application scenario and / or local information protection laws and regulations regarding privacy protection, the data demander can independently select or be recommended a corresponding enrichment rate to ensure the corresponding training model performance and / or privacy protection strength. In response to the demander's selection or confirmation, the computer performs the corresponding data enrichment process and generates a enriched dataset.

[0153] On the other hand, in some embodiments, the raw data provider may also specify the privacy protection strength requirements for the raw data provided. When collecting raw data, the data provider specifies a concentration ratio for the raw data based on the raw data provider's requirements to ensure the corresponding privacy protection strength requirements, thereby facilitating the subsequent generation of a concentrated dataset that meets the specified requirements.

[0154] The embodiments of the present disclosure also provide a computer-readable storage medium storing one or more instructions, which, when executed by a processor, can cause the processor to perform the steps of the model training method or model deployment method in the above embodiments.

[0155] The embodiments of the present disclosure also provide a computer program product comprising one or more instructions, which, when executed by a processor, can cause the processor to perform the steps of the model training method or model deployment method in the above embodiments.

[0156] It should be understood that the instructions in the computer-readable storage medium according to the embodiments of the present disclosure can be configured to perform operations corresponding to the above-mentioned system and method embodiments. When referring to the above-mentioned system and method embodiments, the embodiments of the computer-readable storage medium are clear to those skilled in the art and are therefore not described again. Computer-readable storage media for carrying or including the above-mentioned instructions also fall within the scope of the present disclosure. Such computer-readable storage media may include, but are not limited to, floppy disks, optical disks, magneto-optical disks, memory cards, memory sticks, and the like.

[0157] The embodiments of the present disclosure also provide various devices including components or units for executing the steps of the model training method or model deployment method in the above embodiments.

[0158] It should be noted that the above-mentioned various components or units are only logical modules divided according to the specific functions implemented by them, rather than being used to limit specific implementation methods, such as can be implemented in the form of software, hardware or a combination of software and hardware. In actual implementation, the above-mentioned various components or units can be implemented as independent physical entities, or can also be implemented by a single entity (for example, a processor (CPU or DSP, etc.), an integrated circuit, etc.). For example, a plurality of functions included in a unit in the above embodiments can be implemented by separate devices. Alternatively, a plurality of functions implemented by a plurality of units in the above embodiments can be implemented by separate devices respectively. In addition, one of the above functions can be implemented by a plurality of units.

[0159] Additionally, it should be understood that the aforementioned series of processes and devices can also be implemented via software and / or firmware. When implemented via software and / or firmware, the programs constituting the software are installed from a storage medium or network onto a computer with dedicated hardware, such as the general-purpose computer 600 shown in FIG6 . When various programs are installed, the computer can perform various functions, etc. FIG6 illustrates an example block diagram of a computer that can be implemented as a training device, application device, and system according to an embodiment of the present disclosure.

[0160] 6 , a central processing unit (CPU) 601 executes various processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage section 608 to a random access memory (RAM) 603. In the RAM 603, data required when the CPU 601 executes various processes and the like is also stored as needed.

[0161] The CPU 601, the ROM 602, and the RAM 603 are connected to one another via a bus 604. An input / output interface 605 is also connected to the bus 604.

[0162] The following components are connected to the input / output interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a display such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet.

[0163] A drive 610 is also connected to the input / output interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is mounted on the drive 610 as needed so that a computer program read therefrom is installed in the storage section 608 as needed.

[0164] In the case of realizing the above-described series of processing by software, a program constituting the software is installed from a network such as the Internet or a storage medium such as the removable medium 611 .

[0165] Those skilled in the art will appreciate that such storage media are not limited to the removable medium 611 shown in FIG6 , which stores the program and is distributed separately from the device to provide the program to the user. Examples of the removable medium 611 include magnetic disks (including floppy disks (registered trademark)), optical disks (including compact disk read-only memories (CD-ROMs) and digital versatile disks (DVDs)), magneto-optical disks (including minidiscs (MDs) (registered trademark)), and semiconductor memories. Alternatively, the storage medium may be a ROM 602, a hard disk included in the storage section 608, or the like, in which the program is stored and distributed to the user together with the device containing the program.

[0166] The exemplary embodiments of the present disclosure are described above with reference to the accompanying drawings, but the present disclosure is certainly not limited to the above examples. Those skilled in the art may obtain various changes and modifications within the scope of the appended claims, and it should be understood that these changes and modifications will naturally fall within the technical scope of the present disclosure.

[0167] Although the present disclosure and its advantages have been described in detail, it should be understood that various changes, substitutions and transformations can be made without departing from the spirit and scope of the present disclosure as defined by the appended claims. Moreover, the terms "comprises," "comprising," or any other variations thereof in the embodiments of the present disclosure are intended to cover non-exclusive inclusions, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article, or device. In the absence of further restrictions, an element defined by the statement "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or device comprising the element.

[0168] Embodiments of the present disclosure also include:

[0169] 1. A model training method, comprising:

[0170] Get the actual dataset;

[0171] performing dataset concentration on the actual dataset to remove private information by compressing the size of the actual dataset while retaining main features of the actual data in the actual dataset; and

[0172] The model is trained using the condensed dataset obtained by dataset condensation.

[0173] 2. The method according to item 1, wherein enriching the actual dataset comprises:

[0174] Creating an initial condensed data set, wherein the created condensed data set is smaller than the actual data set; and

[0175] The condensed data set is optimized so that the condensed data set has main features of the actual data in the actual data set.

[0176] 3. The method according to item 2, wherein the optimization of the concentrated data set is performed separately for each type of concentrated data.

[0177] 4. The method of item 3, wherein optimizing the enriched dataset comprises:

[0178] For each type of enriched data, one or more subsets of the actual data of the same type in the actual data set are selected; and

[0179] The concentrated data is optimized accordingly using each subset of the actual data of the same type selected for each type of concentrated data.

[0180] 5. The method according to item 2, wherein optimizing the enriched dataset comprises:

[0181] Perform differentiable data augmentation operations on both the real and enriched data used in optimization.

[0182] 6. The method according to item 2, wherein optimizing the enriched dataset comprises:

[0183] The feature layers of a randomly initialized neural network are used to extract features from both the actual data and the enriched data used in the optimization.

[0184] 7. The method according to item 1, wherein enriching the actual dataset further comprises:

[0185] Adjust the enrichment ratio of the dataset based on your needs.

[0186] 8. The method according to item 1, further comprising:

[0187] Get the pre-trained model, and

[0188] In training a model using a condensed dataset, the pre-trained model is trained.

[0189] 9. The method according to item 1, further comprising:

[0190] Determine whether the actual data set obtained contains private information, and

[0191] In the dataset enrichment of the actual dataset, only the actual dataset containing private information is enriched.

[0192] 10. The method according to item 1, further comprising:

[0193] Perform model compression on the trained model.

[0194] 11. The method according to item 1, further comprising:

[0195] The trained model is distributed to application devices associated with the acquired real-world dataset.

[0196] 12. A model deployment method, comprising:

[0197] Deploy the trained model obtained by executing the method according to any one of items 1-11 to process data,

[0198] The actual data used to obtain the trained model has the same distribution as the data to be processed.

[0199] 13. A training device comprising:

[0200] A data acquisition module, configured to acquire an actual data set;

[0201] a dataset concentration module configured to perform dataset concentration on the actual dataset to remove private information by compressing the size of the actual dataset while retaining main features of the actual data in the actual dataset; and

[0202] The training module is configured to train a model using the enriched dataset obtained by dataset enrichment.

[0203] 14. The apparatus according to item 13, wherein the dataset enrichment module is configured to:

[0204] Creating an initial condensed data set, wherein the created condensed data set is smaller than the actual data set; and

[0205] The condensed data set is optimized so that the condensed data set has main features of the actual data in the actual data set.

[0206] 15. An application apparatus comprising a processing device, wherein the processing device is configured to perform the steps of the method according to item 12.

[0207] 16. A system for privacy protection, comprising:

[0208] A training device according to any of items 13-14; and

[0209] an application device configured to deploy the trained model obtained by the training device to process data,

[0210] The actual data used to obtain the trained model has the same distribution as the data to be processed.

[0211] 17. The system according to item 16, wherein the application device is further configured to collect an actual data set used to obtain the trained model deployed by the application device, and transmit the actual data set to the training device.

[0212] 18. The system according to item 16 further includes a data collection device configured to collect an actual data set for obtaining a trained model deployed by the application device, and transmit the actual data set to the training device.

[0213] 19. A computer-readable storage medium having one or more instructions stored thereon, which, when executed by a processor, causes the processor to perform the steps of the method according to any one of items 1-11 and / or the steps of the method according to item 12.

[0214] 20. A computer program product comprising one or more instructions, which, when executed by a processor, cause the processor to perform the steps of the method according to any one of items 1 to 11 and / or the steps of the method according to item 12.

[0215] 21. A method for generating a model, comprising performing the steps of the method according to any one of items 1 to 11 to generate the model.

Claims

1. A model training method, comprising: Get the actual dataset; Performing dataset enrichment on the actual dataset to remove private information by compressing the size of the actual dataset while retaining the main features of the actual data in the actual dataset; as well as The model is trained using the condensed dataset obtained by dataset condensation.

2. The method according to claim 1, wherein Dataset enrichment for the actual dataset includes: Creating an initial condensed data set, wherein the created condensed data set is smaller than the actual data set; and The condensed data set is optimized so that the condensed data set has main features of the actual data in the actual data set.

3. The method according to claim 2, wherein: The optimization of the condensed data set is performed separately for each category of condensed data.

4. The method according to claim 3, wherein: Optimization of the condensed dataset includes: For each type of enriched data, one or more subsets of the actual data of the same type in the actual data set are selected; and The concentrated data is optimized accordingly using each subset of the actual data of the same type selected for each type of concentrated data.

5. The method according to claim 2, wherein: Optimization of the condensed dataset includes: Perform differentiable data augmentation operations on both the real and enriched data used in optimization.

6. The method according to claim 2, wherein: Optimization of the condensed dataset includes: The feature layers of a randomly initialized neural network are used to extract features from both the actual data and the enriched data used in the optimization.

7. The method according to claim 1, wherein Dataset enrichment for the actual dataset also includes: Adjust the enrichment ratio of the dataset based on your needs.

8. The method according to claim 1, wherein The method further comprises: Get the pre-trained model, and In training a model using a condensed dataset, the pre-trained model is trained.

9. The method according to claim 1, wherein The method further comprises: Determine whether the actual data set obtained contains private information, and In the dataset enrichment of the actual dataset, only the actual dataset containing private information is enriched.

10. The method according to claim 1, wherein The method further comprises: Perform model compression on the trained model.

11. The method according to claim 1, wherein The method further comprises: The trained model is distributed to application devices associated with the acquired real-world dataset.

12. A model deployment method, comprising: Deploy and execute the trained model obtained by the method according to any one of claims 1 to 11 to process data, wherein the actual data used to obtain the trained model has the same distribution as the data to be processed.

13. A training device comprising: A data acquisition module, configured to acquire an actual data set; a dataset concentration module configured to perform dataset concentration on the actual dataset to remove privacy information by compressing the size of the actual dataset while retaining main features of the actual data in the actual dataset; as well as The training module is configured to train a model using the enriched dataset obtained by dataset enrichment.

14. The device according to claim 13, wherein The dataset enrichment module is configured as follows: Creating an initial condensed data set, wherein the created condensed data set is smaller than the actual data set; and The condensed data set is optimized so that the condensed data set has main features of the actual data in the actual data set.

15. An application apparatus comprising a processing device, wherein the processing device is configured to execute the steps of the method according to claim 12.

16. A system for privacy protection, comprising: The training device according to any one of claims 13-14; as well as an application device configured to deploy the trained model obtained by the training device to process data, The actual data used to obtain the trained model has the same distribution as the data to be processed.

17. The system according to claim 16, wherein: The application device is also configured to collect an actual data set used to obtain a trained model deployed by the application device, and transmit the actual data set to the training device.

18. The system according to claim 16 further includes a data collection device configured to collect an actual data set for obtaining a trained model deployed by the application device, and transmit the actual data set to the training device.

19. A computer-readable storage medium having one or more instructions stored thereon, which, when executed by a processor, causes the processor to perform the steps of the method according to any one of claims 1 to 11 and / or the steps of the method according to claim 12.

20. A computer program product comprising one or more instructions, which, when executed by a processor, cause the processor to perform the steps of the method according to any one of claims 1 to 11 and / or the steps of the method according to claim 12.

21. A method for generating a model, comprising: The model is generated by performing the steps of the method according to any one of claims 1 to 11.