Image privacy information measurement and protection method, system, medium and terminal
Through the new image privacy information distance measurement index and the differential privacy perturbation sampling method, the usability problems caused by the inability to provide provable privacy guarantees and excessive noise in image privacy protection in the existing technology are solved, achieving accurate and effective measurement of image privacy. Protection, ensuring privacy security and high availability.
Patent Information
- Application Number
- CN202210138181.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-15
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-02-15
AI Technical Summary
Existing technologies cannot provide provable privacy guarantees and measurable privacy leakage in image privacy protection. Excessive noise leads to poor usability of processed images. The metric used is unreasonable and cannot effectively resist attacks by machine learning models.
Using the new image privacy information distance measurement index d (α × dE (x, y) + β × JS (P (x) | | Q (y))) and the differential privacy perturbation sampling method, the perturbed image z is generated, satisfying ∈× d Differential privacy ensures that no information is leaked during the privacy protection process.
It achieves accurate measurement and effective protection of image privacy information, improves the usability of processed images, can resist detection and recognition attacks of machine learning models, and provides provable privacy security.
Smart Images

Figure CN114638013B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of network security, and in particular relates to a method, system, medium and terminal for measuring and protecting image privacy information. Background Art
[0002] At present, with the promotion of digitalization, images as a common data format can be found almost everywhere. Today, in the process of widespread application of image retrieval technology, there are many images containing personal identity privacy information, such as common face photos, objects, text, etc. with identity information. With the support of advanced intelligent services, powerful image retrieval technologies have emerged in large numbers, which pose a real threat to personal privacy, such as deep learning models applied to face retrieval tasks. There are many opportunities to abuse face retrieval technology, and they can be catastrophic. For example, by retrieving face photos on the Internet, it is possible to build highly accurate facial recognition models without the knowledge of the photo owner. According to reports, Clearview.ai collected 3 billion online photos simply by searching without any consent and trained a huge model that can recognize millions of citizens. In addition, cyberstalkers can find out our identity and social media profiles through a snapshot search, retailers can link our precise in-store shopping behavior with personalized advertising recommendations, and identity thieves can easily identify (and possibly access) personal accounts through online searches. Therefore, it is very important for users to measure the privacy information contained in their images and protect them before posting or transmitting them.
[0003] However, previous image privacy protection work has great limitations in terms of practicality and effectiveness. The image privacy protection provided by traditional obfuscation schemes, such as pixelization and blurring, is completely unable to resist the rise of machine learning technology, especially image processing technology represented by CNN, which can completely break this type of privacy protection. Since then, many studies have used machine learning to protect image privacy. Such schemes are mainly divided into two categories, perturbation schemes represented by adversarial samples and synthesis schemes represented by generative networks. However, these schemes all rely on the characteristics of the data set. In addition to the fact that the generated images cannot provide provable privacy and measurable privacy leakage, they cannot guarantee that privacy will not be leaked during the execution process. Therefore, it is emphasized that there is a need to provide a privacy protection scheme with provable privacy guarantees while ensuring the utility of the images after privacy protection.
[0004] In order to quantify the amount of privacy leakage, differential privacy, as an advanced privacy protection technology, protects the user's data privacy by adding noise to the results of data queries, and provides rigorous mathematical proofs. The two existing schemes, Pix-DP, use standard differential privacy to add noise and achieve epsilon differential privacy. However, the noise of the scheme is too large, resulting in poor usability of the processed image. SVD-priv uses metric dp to perform SVD decomposition on the image, add noise, and then restore it, which alleviates the disadvantage of image unavailability to a certain extent. However, the metric used in this scheme is not reasonable enough, and the usability of the image is further reduced due to the introduction of SVD. Privacy cannot be guaranteed during the SVD process. In addition, there are some obfuscation schemes that manipulate the latent space to disrupt the image, which also face the same problem.
[0005] Through the above analysis, the problems and defects of the prior art are as follows:
[0006] (1) Existing technologies all rely on the characteristics of the dataset. In addition to the fact that the generated images cannot provide provable privacy and measurable privacy leakage, they cannot guarantee privacy during the execution process.
[0007] (2) The existing scheme has too much noise, resulting in poor usability of the processed images. The metric used is not reasonable. At the same time, the usability of images processed by the most advanced scheme SVD-priv is further reduced due to the introduction of SVD, and privacy cannot be guaranteed during the SVD process. Summary of the invention
[0008] In view of the problems existing in the prior art, the present invention provides a method, system, medium and terminal for measuring and protecting image privacy information.
[0009] The present invention is implemented as follows: a method for measuring and protecting image privacy information, wherein the method adopts a measurement index d to measure the privacy information distance between images and retains the structural information of the images; adopts a practical mechanism for image privacy protection; adopts an image differential privacy perturbation sampling method, and theoretically proves that ∈×d differential privacy is satisfied.
[0010] Furthermore, the measurement index d of the image privacy information measurement and protection method is:
[0011] d(x, y) = α × d E (x, y) + β × JS (P (x) || Q (y));
[0012] There are two pictures x, y, c is the number of channels of the image, n and m are the number of horizontal and vertical pixels of the image, dE (x, y) measures the Euclidean distance between two images, and JS(P(x)||Q(y)) is the distribution distance between the two images.
[0013] Furthermore, the image differential privacy perturbation sampling method is adopted, and ∈×d differential privacy is satisfied to generate a perturbed image z from K(x)(z) K ;
[0014] Generate a random number u~U(0,1);
[0015] let if z=z K , and set z to the protected image processed by the mechanism and output it.
[0016] Furthermore, the image privacy information measurement and protection method includes the following steps:
[0017] The first step is to define a new metric for measuring the distance of image privacy information;
[0018] The second step is to sample and generate privacy-preserving images.
[0019] Furthermore, the first step defines a new metric for measuring the distance of image privacy information:
[0020] d(x, y) = α × d E (x, y) + β × JS (P (x) || Q (y));
[0021] There are two pictures x, y, c is the number of channels of the image, n and m are the number of horizontal and vertical pixels of the image, d E (x, y) measures the Euclidean distance between two images, and JS(P(x)||Q(y)) is the distribution distance between the two images; the JS distance is defined as follows:
[0022]
[0023] P, Q represent the pixel distribution of the image,
[0024] Furthermore, the second step of sampling and generating privacy-protected images specifically includes: selecting a probability distribution as a distribution of approach mechanisms, where is the normalization factor;
[0025] Generate a perturbed image z from K(x)(z) K ;
[0026] Generate a random number u~U(0,1);
[0027] let if z=z K , and set z to the protected image processed by the mechanism and output it; otherwise, repeat the above steps until
[0028] Another object of the present invention is to provide a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method for measuring and protecting image privacy information.
[0029] Another object of the present invention is to provide a computer-readable storage medium storing a computer program, which, when executed by a processor, enables the processor to perform the steps of the method for measuring and protecting image privacy information.
[0030] Another object of the present invention is to provide an information data processing terminal, which is used to implement the image privacy information measurement and protection method.
[0031] Another object of the present invention is to provide a system for measuring and protecting image privacy information that implements the method for measuring and protecting image privacy information, the system for measuring and protecting image privacy information comprising:
[0032] The metric definition module is used to define new metric for image privacy information distance;
[0033] The privacy-preserving image generation module is used to sample and generate privacy-preserving images.
[0034] In combination with the above technical solutions and the technical problems solved, please analyze the advantages and positive effects of the technical solutions to be protected by the present invention from the following aspects:
[0035] First, in view of the technical problems existing in the above-mentioned prior art and the difficulty of solving the problems, the technical solutions to be protected by the present invention and the results and data during the research and development process are closely combined to analyze in detail and deeply how the technical solutions of the present invention solve the technical problems, and some creative technical effects brought about after solving the problems. The specific description is as follows:
[0036] The present invention uses a more accurate metric d to measure the privacy information distance between images. In addition to the previous distance between image pixel values, the distribution of the image is also considered, so the structural information of the image is retained as much as possible, thereby improving the usability of the image after privacy protection processing. Practical mechanism for image privacy protection. The image privacy protection mechanism can significantly improve the utility of perturbed images while providing provable privacy guarantees. The new image differential privacy perturbation sampling method of the present invention designs a new sampling method and proves that it satisfies ∈×d differential privacy. In addition, it is extended to any k-dimensional metric space. The present invention can protect various image types, including but not limited to face photos, objects, text, etc.
[0037] Second, considering the technical solution as a whole or from the perspective of the product, the technical effects and advantages of the technical solution to be protected by the present invention are described in detail as follows:
[0038] The present invention measures the amount of privacy leakage of user image identity; protects the privacy of user images; and ensures that privacy is not leaked during the processing process; and the processed images have high usability.
[0039] Compared with the prior art, the present invention has the following advantages:
[0040] (1) It can accurately measure the privacy information distance between the protected image and the original image.
[0041] (2) The processed images are more usable than those in previous work.
[0042] (3) It can be theoretically proven that privacy information security has been achieved.
[0043] (4) Ability to resist detection and recognition attacks of two mainstream types of machine learning models: discriminative and generative.
[0044] (5) No privacy information will be leaked during the implementation process.
[0045] Therefore, it plays an important role in protecting image privacy information.
[0046] Third, as auxiliary evidence of the inventiveness of the claims of the present invention, it is also reflected in the following important aspects:
[0047] (1) The expected benefits and commercial value of the technical solution of the present invention after transformation are: it can be applied to the field of image privacy protection. As a very common data format, images contain a lot of private information, and the image privacy information measurement and protection solution designed by the present invention can effectively protect the private information contained in the image from being recognized by the most advanced machine learning technology. Therefore, the present invention has broad application scenarios and value.
[0048] (2) The technical solution of the present invention fills the technical gaps in the industry at home and abroad: At present, there is a lack of effective image privacy information measurement indicators in the field of image privacy protection. The existing image privacy protection schemes cannot be extended to actual scenarios due to their lack of security and poor usability, so there is a lack of feasible image privacy protection schemes. The present invention proposes image privacy measurement indicators and specific protection schemes, filling these two technical gaps.
[0049] (3) The technical solution of the present invention solves a technical problem that people have been eager to solve but have never been able to solve: the present invention uses the mathematics of differential privacy to theoretically solve how to effectively measure image privacy information. At the same time, an effective image privacy protection solution is designed based on the privacy index. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 It is a flow chart of a method for measuring and protecting image privacy information provided by an embodiment of the present invention.
[0051] Figure 2 It is a structural diagram of a system for measuring and protecting image privacy information provided by an embodiment of the present invention.
[0052] Figure 3 It is a schematic diagram of availability comparison provided by an embodiment of the present invention.
[0053] Figure 4 It is a schematic diagram of performing discriminative machine learning model attack detection on a privacy-protected image provided by an embodiment of the present invention.
[0054] Figure 5 It is a schematic diagram of attack detection of executing a generative machine learning model on a privacy-protected image provided by an embodiment of the present invention.
[0055] In the figure: 1. Metric definition module; 2. Privacy protection image generation module. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0057] 1. Explanatory Examples In order to enable those skilled in the art to fully understand how to implement the present invention, this section provides an illustrative example that expands and describes the technical solution of the claims.
[0058] like Figure 1 As shown, the method for measuring and protecting image privacy information provided by the present invention includes the following steps:
[0059] S101: define a new metric for measuring image privacy information distance;
[0060] S102: Sampling and generating privacy-protected images.
[0061] The method for measuring and protecting image privacy information provided by the present invention specifically includes the following steps:
[0062] The first step is to define a new metric for image privacy information distance:
[0063] d(x, y) = α × d E (x, y) + β × JS (P (x) || Q (y));
[0064] Assume there are two pictures x, y, c is the number of channels of the image, n and m are the number of horizontal and vertical pixels of the image, d E (x, y) is used to measure the Euclidean distance between two images, and JS(P(x)||Q(y)) is the distribution distance between the two images. The JS distance is defined as follows:
[0065]
[0066] P, Q represent the pixel distribution of the image,
[0067] The second step is to sample and generate privacy-protected images, including:
[0068] Since JS distance cannot be directly used for differential privacy calculation, we choose probability distribution as a distribution of approach mechanisms, where is the normalization factor. This probability distribution only contains Euclidean distance and can be easily represented and calculated.
[0069] Generate a perturbed image z from K(x)(z) K .
[0070] Generate a random number u~U(0,1).
[0071] let if Let z = z K , and set z to the protected image processed by the mechanism and output it. Otherwise, repeat the above steps until
[0072] like Figure 2 As shown, the image privacy information measurement and protection system provided by the present invention includes the following steps:
[0073] Metric definition module 1, used to define a new metric for image privacy information distance;
[0074] The privacy protection image generation module 2 is used to sample and generate privacy protection images.
[0075] 2. Application Examples: In order to prove the creativity and technical value of the technical solution of the present invention, this section provides application examples of the technical solution of the claims on specific products or related technologies.
[0076] It can be used for image privacy protection. It only needs to provide the face image to be protected and the privacy protection level, and the present invention can be used to perturb the face image to provide privacy protection, and measure the amount of image privacy information leakage before and after protection. The privacy-protected image can resist the most advanced two mainstream face recognition systems, including generative and discriminative.
[0077] 3. Evidence of the effects of the embodiments. The embodiments of the present invention have achieved some positive effects during the development or use process, and indeed have great advantages over the prior art. The following content is described in conjunction with the data, charts, etc. of the test process.
[0078] In this experiment, face datasets AT&T and PubFig83 are selected as examples and compared with related works Pix-DP and SVD-Priv that can provide image privacy security. Note that the present invention can protect various image types, including but not limited to face photos, objects, text, etc.
[0079] 1. Usability comparison. Figure 3 As shown, the Original row represents the original image, and Our represents the present invention. It can be seen intuitively that our solution achieves the highest availability while ensuring the protection of privacy information.
[0080] 2. Perform discriminative machine learning model attack detection on the privacy-protected images. Figure 4 As shown in the figure, the Dissimilarity value represents the confidence after the machine learning model detection. The lower the value, the more the model believes that it is the same person, which also means that the privacy protection mechanism fails. It can be seen intuitively that our solution has achieved a good balance in terms of usability and privacy protection capabilities.
[0081] 3. Perform attack detection on the privacy-protected images using the generative machine learning model, such as Figure 5 As shown in the figure, it can be seen that the present invention can effectively prevent two existing popular third-party generative machine learning tools (Artline and GENRE) from extracting key information of images, making their generation effect worse or unable to generate, which proves the ability of the present invention to protect key information of images.
[0082] It should be noted that the embodiments of the present invention can be implemented by hardware, software, or a combination of software and hardware. The hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated design hardware. It can be understood by a person of ordinary skill in the art that the above-mentioned devices and methods can be implemented using computer executable instructions and / or contained in a processor control code, such as a carrier medium such as a disk, CD or DVD-ROM, a programmable memory such as a read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. Such code is provided on the carrier medium. The device and its modules of the present invention can be implemented by hardware circuits such as very large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., can also be implemented by software executed by various types of processors, and can also be implemented by a combination of the above-mentioned hardware circuits and software, such as firmware.
[0083] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principle of the present invention should be covered by the protection scope of the present invention.
Claims
1. A method for measuring and protecting image privacy information, characterized in that: The method for measuring and protecting image privacy information comprises the following steps: The first step is to define a new metric for measuring the distance of image privacy information; The second step is to sample and generate privacy-protected images; The first step is to define a new metric for image privacy information distance: ; There are two pictures ; is the number of channels of the image, and is the number of pixels in the image. Measuring the Euclidean distance between two images, is the distribution distance between the two pictures; The distance is defined as follows: ; Represent the pixel distribution of the image, ; The second step of sampling and generating privacy-protected images specifically includes: selecting a probability distribution as a distribution of approach mechanisms, where is the normalization factor; Generate a perturbed image ; Generate a random number ; let ,if , , and Set to the protected image processed by the mechanism and output; otherwise repeat the above steps until .
2. A computer device, characterized in that: The computer device includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method for measuring and protecting image privacy information according to claim 1.
3. A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor executes the steps of the method for measuring and protecting image privacy information according to claim 1.
4. An information data processing terminal, characterized in that: The information data processing terminal is used to implement the image privacy information measurement and protection method described in claim 1.
5. A system for measuring and protecting image privacy information for implementing the method for measuring and protecting image privacy information according to claim 1, characterized in that: The image privacy information measurement and protection system includes: The metric definition module is used to define new metric for image privacy information distance; The privacy-preserving image generation module is used to sample and generate privacy-preserving images.
