Differential privacy histogram publishing method, system and device based on binary fission

By adopting binary fission division and noise processing methods in histogram data release, the problem of poor grouping effect in the existing technology is solved, the usability and privacy protection effect of data are improved, and more accurate data release is achieved.

CN114780974BActive Publication Date: 2024-10-29SOUTH CENTRAL UNIVERSITY FOR NATIONALITIES +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210361247.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-07
Publication Date
2024-10-29
Estimated Expiration
2042-04-07

AI Technical Summary

Technical Problem

Existing histogram data publishing technology fails to effectively consider the global order when grouping, resulting in large errors and low availability of published data.

Method used

A differential privacy histogram publishing method based on binary fission transformation is adopted. By adding noise, sorting, partitioning and mean processing to the original histogram data, the binary fission transformation partitioning scheme with the smallest error is selected, and finally Laplace noise is added to restore the original histogram order. .

Benefits of technology

It improves data availability and publishing efficiency, reduces publishing data errors, and meets the needs of data privacy protection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114780974B_ABST
    Figure CN114780974B_ABST
Patent Text Reader

Abstract

The present invention discloses a differential privacy histogram publishing method, system and device based on binary fission. The method comprises the steps of privacy budget division, intermediate histogram generation, histogram sorting, binary fission histogram division, grouping averaging, differential privacy histogram generation and histogram publishing. The present invention aims at the problem of low availability of existing histogram publishing technology, improves the accuracy of the grouping stage, thereby improving the availability of published data and improving the publishing efficiency, and can ensure that while de-privacy of data is performed, the error of published data is reduced, making the entire histogram publishing process safer and more efficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of histogram data privacy protection technology, and relates to a method, system and device for privacy protection in histogram data publishing, specifically a differential privacy histogram publishing method, system and device based on binary splitting transformation. Background Art

[0002] As society continues to develop, businesses generate massive amounts of user data every moment, and this data often holds immense value. To better utilize this data and unlock its value, businesses typically collect it and release it to third-party organizations for research. However, directly releasing this data to the outside world also introduces security risks. For example, attackers can easily obtain user privacy by launching maximum background knowledge attacks on the released histogram data, potentially causing real harm to users. Therefore, protecting data privacy is urgently needed.

[0003] Histogram data publishing privacy protection involves adding noise to each bucket of the histogram before publishing it, providing users with interval count queries. De-anonymizing the data before publication can effectively prevent attackers from stealing data privacy.

[0004] Data publishing takes many forms, and histograms are a popular method that uses disjoint buckets to represent the statistical characteristics of the data. Differential privacy histogram publishing is a method based on a differential privacy model. It protects data privacy by adding independently distributed noise to the histogram bucket data. While this protects privacy, it also reduces the accuracy of the published data. Therefore, improving data usability while de-identifying histogram data is a research hotspot in this field. Specific differential privacy histogram data publishing protection methods typically use grouping optimization to reduce the impact of noise on the histogram. However, existing histogram publishing techniques mostly only consider the count of locally adjacent buckets during grouping, without considering the global order, thus failing to aggregate globally similar buckets, resulting in poor grouping performance, larger errors in the published data, and lower usability. Summary of the Invention

[0005] To address the issues of large errors and low usability in existing methods for publishing histogram data, this invention provides a differential privacy histogram publishing method, system, and device based on binary splitting transformation.

[0006] The technical solution adopted by the method of the present invention is: a differential privacy histogram publishing method based on binary splitting transformation, comprising the following steps:

[0007] Step 1: For the original histogram data H{h1,h2,...,h... n}, determine the privacy budget ε, and divide ε into two parts ε1 and ε2, where ε1 > ε2, and n represents the number of histograms;

[0008] Step 2: Process the original histogram data H{h1,h2,...,h... n Add Laplace noise of size ε1 to generate an intermediate histogram.

[0009] Step 3: Sort the intermediate histograms generated in Step 2 in ascending order to obtain the sorted histograms.

[0010] Step 4: Set the number of groups K and perform a binary splitting histogram;

[0011] View the sorted histogram from step 3 Given a group, iterate through the group. Among all possible binary splitting partition schemes, the binary splitting partition scheme with the smallest error is selected as the partitioning result;

[0012] Select the subgroup with the largest error in the partitioning result and iteratively execute the traversal and binary splitting transformation process in step 4 until K groups are obtained and the final partitioning scheme G(G1,G2,...,G) is obtained. k );

[0013] Step 5: For the partitioning scheme G(G1,G2,...,G...), k ) Find the average value

[0014] Step 6: Generate a differential privacy histogram;

[0015] Grouping by mean Adding Laplace noise of size ε2 yields the grouped noise histogram. right Restore the original histogram order to obtain the differential privacy histogram.

[0016] Step 7: Generate the de-privacy differential privacy histogram Release it.

[0017] The technical solution adopted by the system of this invention is: a differential privacy histogram publishing system based on binary splitting transformation, comprising the following modules:

[0018] Module 1 is used for processing the original histogram data H{h1,h2,...,h... n}, determine the privacy budget ε, and divide ε into two parts ε1 and ε2, where ε1 > ε2, and n represents the number of histograms;

[0019] Module 2 is used to process the original histogram data H{h1,h2,...,h... n Add Laplace noise of size ε1 to generate an intermediate histogram.

[0020] Module 3 is used to sort the intermediate histograms generated in Module 2 in ascending order to obtain the sorted histogram.

[0021] Module 4 is used to set the number of groups K and to divide the histogram into two parts;

[0022] The sorted histogram view in module 3 Given a group, iterate through the group. Among all possible binary splitting partition schemes, the binary splitting partition scheme with the smallest error is selected as the partitioning result;

[0023] The subgroup with the largest error in the partitioning result is selected, and the traversal and binary splitting process in module 4 is executed repeatedly until K groups are obtained and the final partitioning scheme G(G1,G2,...,G) is obtained. k );

[0024] Module 5 is used to process the partitioning scheme G(G1,G2,...,G...). k ) Find the average value

[0025] Module 6 is used to generate differential privacy histograms;

[0026] Grouping by mean Adding Laplace noise of size ε2 yields the grouped noise histogram. right Restore the original histogram order to obtain the differential privacy histogram.

[0027] Module 7 is used to process the de-privacy differential privacy histogram. Release it.

[0028] The technical solution adopted by the device of the present invention is: a differential privacy histogram publishing device based on binary splitting transformation, comprising:

[0029] one or more processors;

[0030] A storage device for storing one or more programs, which, when executed by one or more processors, cause the one or more processors to implement the differential privacy histogram publishing method based on binary splitting as described in any one of claims 1 to 2.

[0031] This invention provides a differential privacy histogram publishing method based on binary splitting transformation. From the perspectives of data privacy and usability, it rationally partitions histogram data, improving the usability of published data while protecting data privacy. The method first adds noise to the original histogram to create a de-anonymized intermediate histogram. Then, the intermediate histogram is sorted to ensure the accuracy of subsequent partitioning. Next, a binary splitting transformation method is used to partition the sorted intermediate histogram to obtain the optimal partitioning scheme. Finally, the mean of the partitioned histograms is calculated, Laplace noise is added, and the original order is restored to obtain the published differential privacy histogram. This method effectively improves data usability and publishing efficiency while protecting data privacy. Attached Figure Description

[0032] Figure 1 This is a flowchart of the differential privacy histogram publishing method based on binary splitting transformation in an embodiment of the present invention.

[0033] Figure 2 This is the original histogram in an embodiment of the present invention.

[0034] Figure 3 This is the intermediate histogram in an embodiment of the present invention.

[0035] Figure 4 This is the sorting histogram in an embodiment of the present invention.

[0036] Figure 5 This is a histogram of grouped mean values ​​in an embodiment of the present invention.

[0037] Figure 6 This is a grouped noise-added histogram in an embodiment of the present invention.

[0038] Figure 7 This is a differential privacy histogram in an embodiment of the present invention. Detailed Implementation

[0039] To facilitate understanding and implementation of the present invention by those skilled in the art, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the embodiments described herein are for illustration and explanation only and are not intended to limit the present invention.

[0040] Differential privacy is a privacy protection technique based on data distortion. It blurs the data by adding noise while keeping the data attributes unchanged, thus ensuring the statistical characteristics of the data after adding noise. Differential privacy defines a strict attack model, so that even if an attacker has all the records except for one piece of information, he still cannot deduce the privacy attributes of that record.

[0041] Please see Figure 1 The present invention provides a differential privacy histogram publishing method based on binary splitting transformation, comprising the following steps:

[0042] Step 1: For the original histogram data H{h1,h2,...,h... n}, determine the privacy budget ε, and divide ε into two parts ε1 and ε2, where ε1 > ε2, and n represents the number of histograms;

[0043] Please see Figure 2 Suppose there exists an original histogram sequence H{5,6,21,45,23,49,50,8}, the number of groups is set to k=3, the privacy budget is ε=1, and to satisfy ε=ε1+ε2 and ε1>ε2, we set ε1=0.8 and ε2=0.2.

[0044] Step 2: Process the original histogram data H{h1,h2,...,h... n Add Laplace noise of size ε1 to generate an intermediate histogram.

[0045] Please see Figure 3 Adding Laplace noise of size ε1 = 0.8 to the original histogram H{5,6,21,45,23,49,50,8} yields an intermediate histogram.

[0046] Step 3: Sort the intermediate histograms generated in Step 2 in ascending order to obtain the sorted histograms.

[0047] Please see Figure 4 Sort the intermediate histograms to obtain

[0048] Step 4: Set the number of groups K and perform a binary splitting histogram;

[0049] View the sorted histogram from step 3 Given a group, iterate through the group. Among all possible binary splitting partition schemes, the binary splitting partition scheme with the smallest error is selected as the partitioning result;

[0050] Select the subgroup with the largest error in the partitioning result and iteratively execute the traversal and binary splitting transformation process in step 4 until K groups are obtained and the final partitioning scheme G(G1,G2,...,G) is obtained. k );

[0051] Step 4.1: Set the number of groups K, where K can take values ​​of 2, 3, ..., n as needed;

[0052] Step 4.2: Let the binary splitting group be g{h1,h2,...,h...} n}, and the number of buckets in g is n, and they are treated as a group; starting from the first bucket in the group, splitting begins, and the sum of errors of the splitting schemes after splitting is calculated. Then the sum of errors of the splitting schemes after splitting the second bucket is calculated, until the sum of errors of the splitting schemes after splitting the (n-1)th bucket is calculated.

[0053] Among them, the grouping error h i This represents a single sequence within the group. This represents the average value of the group. The error value can be used to visually demonstrate the degree of similarity between data within a group. A smaller error indicates a higher degree of similarity among the data within the group, and thus a higher accuracy in the grouping; conversely, a larger error indicates a higher degree of similarity among the data within the group.

[0054] Step 4.3: Select and save the splitting scheme corresponding to the smallest error value.

[0055] Step 4.4: Determine if the number of groups has reached K; if yes, end the split and proceed to step 4.5 below; if no, proceed to step 4.5 below.

[0056] Step 4.5: Select the subgroup with the largest error in the splitting scheme and continue with steps 4.2-4.4;

[0057] Step 4.6: Save the final grouping scheme to form histogram groupings.

[0058] In this embodiment, the intermediate histogram If we consider it as a group, then K=1, and the total error of this group is 130.32. The binary splitting and grouping process is as follows:

[0059] (1) Seven binary search schemes can be obtained: Scheme 1 = {(5.12),(6.17,7.91,21.15,23.14,44.89,48.81,50.09)};

[0060] Option 2 = {(5.12, 6.17), (7.91, 21.15, 23.14, 44.89, 48.81, 50.09)};

[0061] Option 3 = {(5.12, 6.17, 7.91), (21.15, 23.14, 44.89, 48.81, 50.09)};

[0062] Option 4 = {(5.12, 6.17, 7.91, 21.15), (23.14, 44.89, 48.81, 50.09)};

[0063] Option 5 = {(5.12, 6.17, 7.91, 21.15, 23.14), (44.89, 48.81, 50.09)};

[0064] Option 6 = {(5.12, 6.17, 7.91, 21.15, 23.14, 44.89), (48.81, 50.09)};

[0065] Scheme 7 = {(5.12, 6.17, 7.91, 21.15, 23.14, 44.89, 48.81), (50.09)};

[0066] Calculate the sum of the grouping errors in each grouping scheme according to the error formula:

[0067] error(1) = 0 + 114.3 = 114.3;

[0068] error(2)=1.03+91.59=92.62;

[0069] error(3)=3.02+61.88=64.9;

[0070] error(4)=22.11+37.19=59.3;

[0071] error(5)=38.51+6.08=44.59;

[0072] error(6)=59.98+1.92=61.9;

[0073] error(7) = 99.66 + 0 = 99.66;

[0074] By observing the total error of each grouping scheme, it can be seen that scheme 5 has the smallest total error of 44.59, which is the largest reduction compared to the error of 130.32 before splitting. Therefore, this scheme is the optimal partitioning scheme and is selected as the result of the first partitioning. At this time, the number of groups K = 2.

[0075] (2) Next, the second split will occur.

[0076] Since the previous split yielded the groups {(5.12,6.17,7.91,21.15,23.14),(44.89,48.81,50.09)}, and the error of the first group is known to be 38.51, and the error of the second group is known to be 6.08, according to step 4.5, the group with the largest error is selected to continue the iterative binary splitting transformation.

[0077] The second splitting process is as follows: Grouping into {(5.12, 6.17, 7.91, 21.15, 23.14)}, the total error is 37.79, and the number of buckets in this group is 5. Therefore, four partitioning schemes can be obtained:

[0078] Option 1: {(5.12),(6.17,7.91,21.15,23.14)};

[0079] Option 2: {(5.12,6.17),(7.91,21.15,23.14)};

[0080] Option 3: {(5.12,6.17,7.91),(21.15,23.14)};

[0081] Option 4: {(5.12,6.17,7.91,21.15),(23.14)};

[0082] error(1) = 0 + 30.21 = 30.21;

[0083] error(2)=1.03+18.98=20.01;

[0084] error(3)=3.02+1.99=5.01;

[0085] error(4) = 22.11 + 0 = 22.11;

[0086] By observing the total error of each grouping scheme, it can be seen that scheme 3 has the smallest total error of 5.01, which is the largest reduction compared to the error of 37.79 before splitting. Therefore, this scheme is the optimal partitioning scheme, and it is selected as the result of the first partitioning. At this time, the number of groups K = 3. After the splitting is completed, the final grouping scheme is obtained: G{(5.12,6.17,7.91),(21.15,23.14),(44.89,48.81,50.09)}.

[0087] Step 5: For the partitioning scheme G(G1,G2,...,G...), k ) Find the average value

[0088] Please see Figure 5 The mean histogram is obtained by calculating the mean value of the grouped histogram G{(5.12,6.17,7.91),(21.15,23.14),(44.89,48.81,50.09)}.

[0089] Step 6: Generate a differential privacy histogram;

[0090] Grouping by mean Adding Laplace noise of size ε2 yields the grouped noise histogram. right Restore the original histogram order to obtain the differential privacy histogram.

[0091] Please see Figure 6 Grouping by mean Adding Laplace noise of size ε² = 0.2 yields a noise histogram.

[0092] Please see Figure 7 The recovered histogram yields the differential privacy histogram to be published.

[0093] Step 7: Generate the de-privacy differential privacy histogram Release it.

[0094] This invention employs a binary splitting transformation to perform global optimization on the de-anonymized sorted histogram, improving the accuracy of grouping and thus enhancing the usability of published data. Because this method operates on the de-anonymized histogram, the entire sorting and partitioning process does not leak data privacy. This method reduces published data errors and improves publishing efficiency while satisfying differential privacy protection.

[0095] It should be understood that the above description of the preferred embodiments is quite detailed, but it should not be considered as a limitation on the scope of protection of this invention. Those skilled in the art, under the guidance of this invention, can make substitutions or modifications without departing from the scope of protection of the claims of this invention, and all such substitutions or modifications fall within the scope of protection of this invention. The scope of protection of this invention should be determined by the appended claims.

Claims

1. A differential privacy histogram publishing method based on binary fission, characterized in that: The following steps are involved: Step 1: For the original histogram data H{h1,h2,...,h n }, determine the privacy budget ε, and divide ε into two parts ε1 and ε2, and ε1>ε2, where n represents the number of histograms; Step 2: For the original histogram data H{h1,h2,...,h n }Add Laplace noise of size ε1 to generate the intermediate histogram Step 3: Sort the intermediate histogram generated in step 2 in ascending order to obtain the sorted histogram Step 4: Set the number of groups K and divide the histogram by binary fission; View the sorted histogram in step 3 For a group, traverse the group Among all possible binary fission partitioning schemes, the binary fission partitioning scheme with the smallest error is selected as the partitioning result; Select the sub-group with the largest error in the partition result and repeat the traversal and binary fission partition process in step 4 until K groups are divided and the final partition scheme G (G1, G2, ..., G k ); Step 5: For the partitioning scheme G(G1,G2,...,G k ) to obtain the average value Step 6: Generate differential privacy histogram; Grouping Means Add Laplace noise of size ε2 to get the grouped noise histogram right Restore the original histogram order to obtain the differential privacy histogram Step 7: De-privatized differential privacy histogram to publish.

2. The differential privacy histogram publishing method based on binary fission according to claim 1 is characterized in that: The specific implementation of step 4 includes the following sub-steps: Step 4.1: Set the number of groups K; Step 4.2: Note that the binary fission groups are g{h1,h2,...,h n }, and the number of buckets in g is n, and it is regarded as a group; start splitting after the first bucket in the group, calculate the sum of the errors of the splitting schemes after the split, and then calculate the sum of the errors of the splitting schemes after the second bucket, until the sum of the errors of the splitting schemes after the n-1th bucket is calculated; Among them, the error of grouping h i represents a single sequence in this group, represents the average value of the group. Step 4.3: Select the splitting scheme corresponding to the minimum error value and save it; Step 4.4: Determine whether the number of groups reaches K; if so, end the splitting and execute the following step 4.6; if not, execute the following step 4.5; Step 4.5: Select the sub-group with the largest error in the splitting scheme and continue to execute steps 4.2 to 4.4; Step 4.6: Save the final grouping scheme to form a histogram grouping.

3. A differential privacy histogram publishing system based on binary fission, characterized in that: Includes the following modules: Module 1 is used for the original histogram data H{h1,h2,...,h n }, determine the privacy budget ε, and divide ε into two parts ε1 and ε2, and ε1>ε2, where n represents the number of histograms; Module 2 is used to process the original histogram data H{h1,h2,...,h n }Add Laplace noise of size ε1 to generate the intermediate histogram Module 3 is used to sort the intermediate histogram generated in module 2 in ascending order to obtain the sorted histogram Module 4, used to set the number of groups K and divide the histogram into two groups; View the sorted histogram in module 3 For a group, traverse the group Among all possible binary fission partitioning schemes, the binary fission partitioning scheme with the smallest error is selected as the partitioning result; Select the sub-group with the largest error in the partition result and execute the traversal and binary fission partition process in module 4 repeatedly until K groups are divided and the final partition scheme G (G1, G2, ..., G k ); Module 5 is used to partition the scheme G(G1,G2,...,G k ) to obtain the average value Module 6, used to generate differential privacy histograms; Grouping Means Add Laplace noise of size ε2 to get the grouped noise histogram right Restore the original histogram order to obtain the differential privacy histogram Module 7 is used to convert the deprived differential privacy histogram to publish.

4. The binary fission-based differential privacy histogram publishing system according to claim 3, characterized in that: Module 4 includes the following submodules: Module 4.1, used to set the number of groups K; Module 4.2, used to record binary fission groups as g{h1,h2,...,h n }, and the number of buckets in g is n, and it is regarded as a group; start splitting after the first bucket in the group, calculate the sum of the errors of the splitting schemes after the split, and then calculate the sum of the errors of the splitting schemes after the second bucket, until the sum of the errors of the splitting schemes after the n-1th bucket is calculated; Among them, the error of grouping h i represents a single sequence in this group, represents the average value of the group. Module 4.3 is used to select and save the splitting scheme corresponding to the minimum error value; Module 4.4 is used to determine whether the number of groups reaches K; if so, the splitting is terminated and the following module 4.6 is executed; if not, the following module 4.5 is executed; Module 4.5 is used to select the sub-group with the largest error in the splitting scheme to continue executing modules 4.2 to 4.4; Module 4.6 is used to save the final grouping scheme and form histogram grouping.

5. A differential privacy histogram publishing device based on binary fission, characterized in that: include: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the one or more processors to implement the differential privacy histogram publishing method based on binary fission as described in any one of claims 1 to 2.

Citation Information

Patent Citations

  • Data publishing method based on differential privacy

    CN111737744A

  • Privacy-protected data flow statistical publishing method

    CN112417500A