scieee AI-readable full text Open interactive document viewer

Syntactic privacy in dynamic publication

Ochoa Suárez, Lilianne María

Abstract

In the domain of privacy-preserving data publication, conventional approaches have primarily emphasized the creation of unique releases. However, these approaches often fail to address the challenge of republishing microdata after updates that involve insertions and deletions. This limitation has notable implications, as it hinders publishers from providing continuously updated datasets to researchers. Fortunately, an innovative approach documented in the literature offers a promising solution to this limitation. At its core, this solution is grounded in the novel concept of m-invariance, a generalization principle. This thesis aims to address the lack of a publicly available code implementing the m-invariance principle, followed by a comprehensive analysis of the results obtained through its implementation. The algorithm was tested using a real database. The results indicate that the published data complies with the principle of m-invariance. In terms of code efficiency, the execution times are within acceptable limits. The analysis of the counterfeits reveals a higher rate of addition for larger dataset sizes or higher m values. However, as the update volume increases, the number of counterfeits added decreases.

Full text

Syntactic privacy in dynamic publication Master Thesis submitted to the Faculty of the Escola T`ecnica d’Enginyeria de Telecomunicaci´o de Barcelona Universitat Polit`ecnica de Catalunya by Lilianne Ochoa Suarez In partial fulfillment of the requirements for the master in Cybersecurity Advisors: Javier Parra Arnau, Adrian Tobar Nicolau Barcelona, Date June 10, 2024 Contents List of Figures 3 List of Tables 3 1 Introduction 8 1.1 Context ..................................... 8 1.2 Motivation.................................... 9 1.3 Problemstatement ............................... 10 1.4 Thesisoutline.................................. 10 2 Syntactic Privacy: background and state of the art 11 2.1 Datageneralization............................... 13 2.1.1 k-anonymity............................... 14 2.1.2 l-diversity ................................ 16 2.1.3 m-invariance............................... 17 3 m-Invariance algorithm 21 3.1 Divisionphase.................................. 23 3.2 Balancingphase................................. 24 3.3 Assignmentphase................................ 27 3.4 Splitphase.................................... 29 4 Algorithm evaluation 31 4.1 m-Invariance generalization . . . . . . . . . . . . . . . . . . . . . . . . . . 31 4.2 Number of counterfeits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 4.3 Executiontime ................................. 34 5 Conclusions and future development 39 References 40 2 List of Figures 1 Classification of the privacy techniques . . . . . . . . . . . . . . . . . . . . 9 2 Centralized publication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 3 Distributedpublication............................. 12 4 Dynamic dataset categories . . . . . . . . . . . . . . . . . . . . . . . . . . 19 5 Input-OutputDiagram............................. 21 6T1and T∗ 1.................................... 23 7T2and T∗ 2.................................... 23 8 Buckets after the division phase . . . . . . . . . . . . . . . . . . . . . . . . 25 9 Buckets after the balancing phase . . . . . . . . . . . . . . . . . . . . . . . 27 10 Buckets after the assignment phase . . . . . . . . . . . . . . . . . . . . . . 29 11 Buckets after the split phase . . . . . . . . . . . . . . . . . . . . . . . . . . 30 12 Section of T∗ OCC (j) at time j∈[1,10] ..................... 32 13 Counterfeits vs. dataset size . . . . . . . . . . . . . . . . . . . . . . . . . . 33 14 Counterfeitsvs.m ............................... 33 15 Counterfeitsvs.r ................................ 34 16 Execution time vs. dataset size . . . . . . . . . . . . . . . . . . . . . . . . 35 17 Execution time per phases vs. dataset size . . . . . . . . . . . . . . . . . . 35 18 Executiontimevs.r .............................. 36 19 Executiontimevs.m.............................. 36 20 Execution time per phases vs. r . . . . . . . . . . . . . . . . . . . . . . . . 37 21 Execution time per phases vs. m . . . . . . . . . . . . . . . . . . . . . . . . 38 List of Tables 1 Medicaldataset................................. 14 2 Generalization of the medical dataset with 2-anonymity . . . . . . . . . . . 15 3 Generalization of the medical dataset with 2-anonymity and 2-diversity . . 17 4 Medical dataset for re-publication . . . . . . . . . . . . . . . . . . . . . . . 18 3 5 Generalization of the republished medical dataset with 2-anonymity and 2-diversity.................................... 19 6 Generalization of the republished medical dataset with m-invariance . . . . 20 7S∩=T2∩T1.................................. 25 8S=T2−T1................................... 27 4 Revision history and approval record Revision Date Purpose 0 01/10/2023 Document creation 1 18/10/2023 Document revision 2 23/5/2024 Document revision 3 10/6/2024 Document final DOCUMENT DISTRIBUTION LIST Name e-mail Lilianne Ochoa Suarez [email protected] Javier Parra Arnau [email protected] Adrian Tobar Nicolau [email protected] Written by: Reviewed and approved by: Date 01/10/2023 Date 6/6/2024 Name Lilianne Ochoa Name Javier Parra Position Project Author Position Project Supervisor 5 Abstract In the domain of privacy-preserving data publication, conventional approaches have primarily emphasized the creation of unique releases. However, these approaches often fail to address the challenge of republishing microdata after updates that involve insertions and deletions. This limitation has notable implications, as it hinders publishers from providing continuously updated datasets to researchers. Fortunately, an innovative approach documented in the literature offers a promising solution to this limitation. At its core, this solution is grounded in the novel concept of m-invariance, a generalization principle. This thesis aims to address the lack of a publicly available code implementing the m-invariance principle, followed by a comprehensive analysis of the results obtained through its implementation. The algorithm was tested using a real database. The results indicate that the published data complies with the principle of m-invariance. In terms of code efficiency, the execution times are within acceptable limits. The analysis of the counterfeits reveals a higher rate of addition for larger dataset sizes or higher m values. However, as the update volume increases, the number of counterfeits added decreases. 6 Resumen En el campo de la privacidad de datos, los enfoques convencionales se han enfocado en el procesamiento de los datos para una ´unica publicaci´on. Estos m´etodos, a menudo, no logran abordar el desaf´ıo de republicar microdatos despu´es de actualizaciones que involucran inserciones y eliminaciones. Esta limitaci´on conlleva grandes implicaciones, debido a que impide que los editores proporcionen conjuntos de datos actualizados para publicar. Afortunadamente, se documenta en la literatura una estrateg´ıa innovadora que ofrece una soluci´on a dicha limitaci´on. En esencia, esta soluci´on se basa en el novedoso concepto de m-invariancia, un principio de generalizaci´on. Esta tesis tiene como objetivo generar un c´odigo que este disponible p´ublicamente e implemente el principio de minvariancia, seguido de un an´alisis exhaustivo de los resultados obtenidos a trav´es de su implementaci´on. El algoritmo fue probado utilizando una base de datos real. Los resultados indican que los datos publicados cumplen con el principio de m-invarianza. En cuanto a la eficiencia del c´odigo, los tiempos de ejecuci´on est´an dentro de l´ımites aceptables. El an´alisis de las falsificaciones revela una tasa de adici´on m´as alta para tama˜nos de conjunto de datos m´as grandes o valores m´as altos de m. Sin embargo, a medida que aumenta el volumen de actualizaciones, la cantidad de falsificaciones agregadas disminuye. 7 1 Introduction The concept of data privacy concerns to the protection and control of personal information, ensuring that their data is kept confidential, secure, and used only for authorized purposes. This thesis addresses one of the challenges that this definition presents. 1.1 Context Privacy concerns initially appeared within the statistical field, particularly in the context of releasing census data. First works date since the 70s, for example in [1]. Later, the field of computer science also developed a interest in this subject, involving people working on database, data mining and data communications. In recent years, the emergence of Big Data and the adoption of Cloud Computing have increased the significance of data privacy [2]. In this context, various methods have been proposed to process and analyze data without compromising privacy and to publish data while guaranteeing some levels of privacy. One of the primary techniques is syntactic privacy, which aims to mask the structure and content of data to prevent individual identification. Other important data privacy techniques include differential privacy, which involves adding noise to data to protect privacy. This technique often provides lower utility compared to syntactic privacy. Additionally, cryptography privacy uses encryption techniques to protect sensitive data. Figure 1 shows some privacy methods applied to different scenarios according to [3] and [4]. Each technique has its own advantages and weaknesses, and the choice of the most suitable technique depends on the nature of the data and the context of its use. In particular, syntactic privacy remains as one of the most common and effective techniques for safeguarding the privacy. This technique modifies the dataset before publication to guarantee that each entry has multiple associated sensitive values. Syntactic privacy aims to find a balance between data utility and privacy. The main techniques of syntactic privacy are typically developed with the assumption of static datasets where information remains unchanged over time. However, dynamic data is a significant area of study. It is common that entities need to consecutively release 8 Figure 1: Classification of the privacy techniques information, for instance in daily or weekly reports. The regular updates or continuous modifications increases the risk of sensitive information disclosure. It is fundamental not only to hide sensitive information per release but also to avoid inferring sensitive information by the comparison of consecutive releases. Therefore, not effectively adapting to dynamic data represents a significant limitation. 1.2 Motivation As it has been previously mentioned, privacy is a fundamental human right and an obligation for companies that wish to publish or share private information with third parties. Therefore, there are laws in place to protect data privacy. In the European Union, the General Data Protection Regulation (GDPR, EU 2016/679) (European Union, 2016) provides a very strict and compulsory framework for the protection of personal and sensitive information. Numerous cases of data breaches continue to be reported despite the existence of current laws. Considering the context described above, the study and implementation of algorithms that allow the re-publication of datasets while guarantee data privacy are imperative. 9 2.1.2 l-diversity One of the most prominent approaches to complement k-anonymity is l-diversity. While k-anonymity focuses on anonymization by grouping records into groups of at least k individuals with similar attributes, it does not adequately address the diversity of sensitive values within a group. This leaves room for potential privacy breaches, especially in situations where diversity is critical. l-diversity tackles this limitation by ensuring that, in addition to anonymization, every quasi-identifiers group contain at least l“well-represented” sensitive values [8, 9]. The term “well-represented” can be elucidated as per the following principles [10]: •Distinct l-diversity: This privacy model extends l-Diversity by requiring that in a group of kindividuals, not only must there be at least ldistinct sensitive values, but these distinct values must also occur with some frequency. This technique aims to prevent attacks that exploit the presence of a single rare sensitive value in a group. •Entropy l-diversity: The entire table must have at least log(l) as entropy to be able to meet entropy l-diversity for every equivalence class [10]. This model focuses on increasing the diversity and unpredictability of sensitive information, making it harder for attackers to infer specific values. •Recursive (c, l)-diversity: This privacy model introduces the concept of recursive partitioning of data into smaller groups or partitions to achieve l-diversity. The key goal is to make sure that within each of these smaller groups, there are at least ldifferent sensitive values. This approach is especially valuable when dealing with organized data structures that have different levels, ensuring that privacy is preserved across various levels of the hierarchy. Returning to the medical records shown in Table 1. A version of the table with 2-diversity is presented in Table 3, here each group of records also includes at least ldifferent sensitive values, for l= 2. It becomes evident that the security vulnerabilities observed in the Table 2 are mitigated effectively. For example it becomes impossible to infer that an individual with the characteristics of Bob, such as being a 14-year-old American residing in zip code 13053, has a specific medical condition like heart disease. In this case, there are two 16 possible diseases. Zip Code Age Nationality Conditions 1 130∗∗ <= 20 ∗Heart Disease 3 130∗∗ <= 20 ∗Viral Infection 2 130∗∗ (20,30) ∗Heart Disease 4 130∗∗ (20,30) ∗Cancer 5 1485∗>= 30 ∗Cancer 6 1485∗>= 30 ∗Heart Disease 7 1486∗>= 30 ∗Viral Infection 8 1486∗>= 30 ∗Heart Disease Table 3: Generalization of the medical dataset with 2-anonymity and 2-diversity l-diversity is an advanced privacy model that enhances data protection, but it has its limitations. l-diversity can be redundant and complicated to achieve. This technique is prone to attacks such as skewness attack and similarity attack as it is inadequate to avoid attribute exposure due to the semantic relationship between the sensitive attributes [2, 11]. 2.1.3 m-invariance The previously described techniques, along with others like t-closeness[11], have played a pivotal role in the realm of syntactic privacy for preserving sensitive information within static datasets. Nonetheless, their adaptability and effectiveness in dynamic data environments pose substantial challenges. They are restricted to only one-time publication. To explain the limitations, proceed with the same example. Table 1 displays the initial dataset for the first release, the hospital presents the generalized version in Table 3. As time progresses to the second release, Table 4 illustrates the dataset, which now excludes the tuple 3. In their place, 9 and 10 tuples have been inserted. Consequently, the hospital releases the generalized version of this updated data in Table 5. The new generalized table complies with the principles of k-anonymity and l-diversity. 17 However, the only shared condition in both publications for someone with a profile similar to Bob is a heart condition. Therefore, if Alice knows that Bob is still hospitalized, she can deduce that he has a heart condition. In practical terms, the situation is regrettably even more challenging. Given that each tuple in the microdata can be part of numerous subsequent publications, until it is removed, there are simply too many potential correlations among various snapshots that may be utilized to derive sensitive values [5]. Therefore, a new generalization principle to ensure privacy in dynamic datasets is required. Zip Code Age Nationality Conditions 1 13053 14 American Heart Disease 2 13054 29 American Heart Disease 4 13068 26 American Cancer 5 14852 50 Indian Cancer 6 14853 55 Russian Heart Disease 7 14860 47 American Viral Infection 8 14860 49 American Heart Disease 9 13043 17 Japan Cancer 10 13056 23 American Viral Infection Table 4: Medical dataset for re-publication Dynamic data publishing involves the continuous updating of data between publications. This process includes the insertion of new data entries, the deletion of existing ones, updates to microdata, and the reinsertion of previously deleted entries. As illustrated Figure 4, there are three levels of dynamicity [12]. The incremental level involves dataset growth through the addition of new user data, effectively increasing the number of rows. At the external dynamic level, rows can be added and deleted, but it is crucial to note that a row from a deleted user cannot be reinserted. Finally, at the fully dynamic level, the most comprehensive level of dynamism, data can be subject to additions, deletions, re-insertions, and even updates of microdata. 18 Zip Code Age Nationality Conditions 1 130∗∗ <= 20 ∗Heart Disease 9 130∗∗ <= 20 ∗Cancer 2 130∗∗ (20,30) ∗Heart Disease 4 130∗∗ (20,30) ∗Cancer 10 130∗∗ (20,30) ∗Viral Infection 5 1485∗>= 30 ∗Cancer 6 1485∗>= 30 ∗Heart Disease 7 1486∗>= 30 ∗Viral Infection 8 1486∗>= 30 ∗Heart Disease Table 5: Generalization of the republished medical dataset with 2-anonymity and 2-diversity The research conducted by [13] was the first effort to recognize potential privacy vulnerabilities associated with data re-publication and to devise a protective mechanism against such threats. Nevertheless, their solution exclusively addresses data insertions and proves inadequate when confronted with data deletions. Numerous concepts and algorithms have been suggested to address different types of attackers and publication scenarios in the context of dynamic data [14, 15, 16, 17, 18, 5]. Out of these approaches, m-invariance emerged as the initial, well-defined generalization Figure 4: Dynamic dataset categories 19 principle that constrains the capabilities of an attacker [12]. According with the definition in [5], a generalized table is m-invariant, if each quasiidentifier group contains at least m tuples, and all the tuples in the group have different sensitive values. For instance, Table 6 has been publised by the hospital as part of the second data release, in strict compliance with the principles of m-invariance. Unlike Table 5, Alice would not be able to infer that Bob has a heart disease. This is because Table 6 displays a variety of health conditions similar to those in the previously published version of the table (See Table 3): Heart Disease and Viral Infection. Zip Code Age Nationality Conditions 1 130∗∗ <= 15 ∗Heart Disease c 130∗∗ <= 15 ∗Viral Infection 2 130∗∗ (25,30) ∗Heart Disease 4 130∗∗ (25,30) ∗Cancer 5 1485∗>= 30 ∗Cancer 6 1485∗>= 30 ∗Heart Disease 7 1486∗>= 30 ∗Viral Infection 8 1486∗>= 30 ∗Heart Disease 9 130∗∗ (15,25) ∗Cancer 10 130∗∗ (15,25) ∗Viral Infection Table 6: Generalization of the republished medical dataset with m-invariance The research in [5] explores the preservation of privacy in the publication of fully dynamic datasets. Additionally, to enhance the enforcement of m-invariance in cases of crucial data absence, an innovative counterfeiting technique is introduced. Notably, Table 6 introduces an counterfeit tuple denoted as c. In the literature, in addition to [5], there are other research [12, 19, 20] efforts that address the principle of m-invariance with various modifications. However, none of these studies provide a publicly available code that can serve as a simple tool for ensuring syntactic privacy in dynamic data publication. 20 3 m-Invariance algorithm The public version of the m-invariance code provided in this thesis is available on GitHub at https://github.com/LiliOchoa/m invariance. The implementation is based on the algorithm described in [5], utilizing MATLAB as the software platform. The following sections provide a detailed description of each phase of the algorithm, employing examples and pseudo-codes to enhance comprehension. First, some definitions are necessary. Let Tbe a microdata table maintained by the publisher. Let Tnbe the snapshot of Tat time n. The publisher releases T∗ nwhich anonymizes Tn. In order to compute T∗ nthe tables Tn,Tn−1and the last published relation T∗ n−1are necessary. It is also require to define the value of m-invariance that needs to be ensured. The figure shows the input and output diagram of the algorithm for calculating the n publication of T. For the case of the 1st publication (n= 1), Tn−1and T∗ n−1are not necessary. Figure 5: Input-Output Diagram According with [5], the nth publication is permitted only when Tn−Tn−1satisfies the m-eligibility requirement. This implies that, only a fraction of 1 mor less of the tuples can share the same sensitive value in Tn−Tn−1. Mathematically is defined as x |Tn−Tn−1|≤1 m, where xrepresents the number of tuples with the same sensitive value in Tn−Tn−1. For the 1st publication only Tnwill be taken into account. 21 The algorithm consists of four primary phase: division, balancing, assignment, and split. Each phase will be described in detail in the following sections. For the initial publication (n= 1), only the assignment and division phases will be executed. For any other case (n > 1), all phases will be executed. For a better understanding of the main code, the algorithm is presented in 1. The tuples are divided into two sets: S∩=Tn∩Tn−1and S=Tn−Tn−1,Sessentially represents the set of new tuples in Tn. Algorithm 1 Main procedure main(n, m, Tn, Tn−1, T ∗ n−1) if n== 1 then if Tnis m-eligible then bucketArray ←[ ] ▷Empty array for storing buckets bucketArray ←assignment(bucketArray, Tn, m) bucketArray ←split(bucketArray) T∗ n←create a table from bucketArray return T∗ n end if end if if n > 1then S←Tn−Tn−1 S∩ ← Tn∩Tn−1 if S is m −eligible then bucketArray ←division(S∩, T ∗ n−1) [bucketArray, S , counterfeit ]←balancing(bucketArray, S ) bucketArray ←assignment(bucketArray, S , m) bucketArray ←split(bucketArray) T∗ n←create a table from bucketArray return T∗ n, counterfeit end if end if end procedure 22 To illustrate the algorithm, we will use the same example described in Chapter 2 about medical records. Figure 6 groups the tables corresponding to the first publication. The table on the right corresponds to T1, and the one on the left to T∗ 1. Similarly, in Figure 7, the same occurs for the second publication. In this case, for n= 2 and m= 2, the tables T1,T2, and T∗ 1will be used to obtain T∗ 2. Figure 6: T1and T∗ 1 Figure 7: T2and T∗ 2 3.1 Division phase First, a signature is defined as the set of sensitive values for each set of quasi-identifiers [5]. For example, in T∗ 1(See Figure 6) the signatures are: {Heart Disease,Viral Infection}, {Heart Disease, Cancer},{Cancer, Heart Disease}and {Viral Infection, Heart Disease}. 23 The division phase entails partitioning S∩into buckets, such that each bucket contains only the tuples with the same signature. The algorithm 2 shows the flow for this phase. bucketArray is defined as an array that aggregates each of the created buckets. To optimize the code, each bucket is defined in MATLAB as a containers.Map. This data type is efficient when you need to search, retrieve, or update data based on specific keys. It is structured as a key-value pair, where each key can be assigned a set of values. In the context of our algorithm, the keys of each bucket represent the signature. Algorithm 2 Division phase procedure Division(S , T∗ n−1) bucketArray ←[ ] ▷Empty array for storing buckets for signature in T∗ n−1do create a new bucket keys ←signature values ←S(signature) bucket(keys)←values bucketArray(end + 1) ←bucket end for group buckets with identical keys in bucketArray return bucketArray end procedure For the example described, Table 7 illustrates S∩=T2∩T1. Figure 8 shows bucketArray after the division phase. The tuples 2 and 4 are regrouped with tuples 5 and 6 in Bucket 2 because they share the same signature. Something similar occurs in Bucket 1. 3.2 Balancing phase According with [5] the goal of this phase is to ensure that all buckets are balanced. A bucket is defined as balanced if every sensitive value in its signature is owned by the same number of tuple in the bucket. Each bucket is analyzed, and if it is not balanced, there 24 Zip Code Age Nationality Conditions 1 13053 14 American Heart Disease 2 13054 29 American Heart Disease 4 13068 26 American Cancer 5 14852 50 Indian Cancer 6 14853 55 Russian Heart Disease 7 14860 47 American Viral Infection 8 14860 49 American Heart Disease Table 7: S∩=T2∩T1 Figure 8: Buckets after the division phase are two possible solutions. First, if Sremains m-eligible after removing a tuple and a tuple in Scarries the required sensitive, this tuple is moved to the bucket. Second, in any other case, a counterfeit is inserted to balance the bucket. The algorithm 3 shows in detail this process. For example, in Figure 9 Bucket 2 is balanced, since it has an equal number of tuples for both Heart Disease and Viral Infection. In other case, Bucket 1 is not balanced and cannot move a tuple from Sbecause it is not still 2-eligible, see Table 8. The solution to balance this bucket is to insert a counterfeit as shows Figure 9. 25 Figure 12: Section of T∗ OCC (j) at time j∈[1,10] 4.2 Number of counterfeits The implemented algorithm takes into account the concept of counterfeited generalization described in Section 3.2. It is essential to analyze if the amount of data in each publication is significantly increased by the introduction of the counterfeits. This section evaluates the behavior of the counterfeits in three scenarios: variations in the dataset size, the m-invariance value , and, the update volume r. In the first scenario, the generalization table versions T∗ OCC (2) with m= 2 are computed for dataset sizes between 1000 and 50000 tuples, with an step size of 1000 tuples in each iteration. The Figure 13 demonstrate that the number of introduced counterfeits increases with the size of the datasets. According to the results in Figure 13, the added tuples do not exceed 2% of the dataset size. In the second scenario, the generalization table versions T∗ OCC (2) are computed for m∈ 32 [2,10] with a fixed dataset size of 1000 tuples. The Figure 14 exhibits that an increase in mresults in a corresponding increase in added counterfeits, reaching up to 10% of the dataset size. Figure 13: Counterfeits vs. dataset size Figure 14: Counterfeits vs. m In the third scenario, the generalization table versions T∗ OCC (2) are computed with a fixed dataset size of 1000 tuples. In this instance, r varies between 5% and 100%, with an step size of 5% in each iteration. Figure 15 illustrates that beyond a value of r, the number 33 of counterfeits tends to decrease. This behavior is predictable, because the probability of facing a situation of critical absence is less when a larger number of tuples are inserted at each timestamp. For the lower values of r, a distinct behavior is apparent, which may be linked to the properties of the dataset. Figure 15: Counterfeits vs. r 4.3 Execution time The evaluation of the algorithm in terms of execution time is fundamental to measure its performance and to identify areas where improvements can be made. This analysis ensures that the code delivers optimal outcomes within acceptable time-frames. The tests are executed on a PC equipped with an Intel(R) Core(TM) i5-8265U CPU operating at a base speed of 1.60 GHz and 8.00 GB of RAM. In this section, three scenarios are analyzed, with the same characteristics as those described in Section 4.2. In the first scenario, the execution time behavior is analyzed as a function of the dataset size. The Figure 16 shows the results, which indicate that the execution time increases significantly as the dataset size increases. This can be a limitation in applications that rely on processing extensive datasets. The execution time for each phase of the algorithm is graphed in Figure 17 to identify the 34 Figure 16: Execution time vs. dataset size reason of behavior in Figure 16. The phases of the algorithm described in Section 3 are: division, balancing, assignment and split. The graphs for the balancing and assignment functions span from 0 to 20 seconds, while those for the division and split functions cover the range from 0 to 3500 seconds. The Figure 17 demonstrate that the split phase consumes more computational resources. Its execution time increases more rapidly compared to the other phases. Figure 17: Execution time per phases vs. dataset size 35 The second scenario analyzes analyzes the behavior of execution time as function of r, while the third scenario examines it as function of m. The results are shown in Figures 18 and 19, respectively. The highlighted red line in both figures represents the closest linear function to the set of results of these tests. The observations suggest an almost linear relationship between the time and the variation of both r and m. Figure 18: Execution time vs. r Figure 19: Execution time vs. m 36 Additionally, Figures 20 and 21 illustrates the behavior for the different phases of the algorithm in the second and third scenarios, respectively. The graphs for all phases span from 0 to 1 seconds. The execution time of the division phase decreases in both scenarios. This phase entails partitioning S∩into buckets as described in Section 3.1. An increase in rleads to a reduction in the size of S∩. On the other hand, an increase in mresults in the division of S∩into fewer buckets for a fixed dataset size. 0 50 100 update volume r (%) 0 0.2 0.4 0.6 0.8 1 execution time (s) Division 0 50 100 update volume r (%) 0 0.2 0.4 0.6 0.8 1 execution time (s) Balancing 0 50 100 update volume r (%) 0 0.2 0.4 0.6 0.8 1 execution time (s) Assignment 0 50 100 update volume r (%) 0 0.2 0.4 0.6 0.8 1 execution time (s) Split Figure 20: Execution time per phases vs. r 37 2 4 6 8 10 m 0 0.2 0.4 0.6 0.8 1 execution time (s) Division 2 4 6 8 10 m 0 0.2 0.4 0.6 0.8 1 execution time (s) Balancing 2 4 6 8 10 m 0 0.2 0.4 0.6 0.8 1 execution time (s) Assignment 2 4 6 8 10 m 0 0.2 0.4 0.6 0.8 1 execution time (s) Split Figure 21: Execution time per phases vs. m 38 5 Conclusions and future development Privacy data publication literature has predominantly concentrated on performing ”onetime” releases. However, numerous contemporary applications demand successive releases that support data addition and deletion while avoiding data disclosure. The concept of m-invariance addresses these limitations. This thesis implements an algorithm based on m-invariance, which has been made publicly available for use. The code, development in MATLAB, employs containers.Maps as the primary data structure. This facilitates efficient coding for tasks related to key-based data operations. In this context, keys represent sensitive values. Furthermore, the pseudocode for each main phases of the algorithm is outlined: division, balancing, assignment, and split. This not only improves comprehension of the algorithm but also facilitates its development in different programming languages. The implemented algorithm was tested using a real database obtained from IPUMS to ensure its correct functionality. The published data hold the m-invariance principle. Additionally, the analysis of the counterfeits reveals a higher rate of addition for larger dataset sizes or higher m values. However, as the update volume increases, the number of counterfeits added decreases. In terms of code efficiency, the results indicate execution times within acceptable limits. The findings suggest that as the dataset size grows, there is a notable increase in execution time. This can have scalability implications. The split phase consumes more computational resources than the other phases. This thesis has provided a solid algorithm based on m-invariance. However, there are several areas that could be explored in future work to further address potential limitations. First, it would be advantageous to modify the sections of the code experiencing scalability issues to leverage parallel loops. This would facilitate the distribution of operations across multiple processing cores. Second, it would be interesting to extend the algorithm implemented to handle various quasi-identifiers. 39 References [1] Tore Dalenius. Towards a methodology for statistical disclosure control. 1977. Publisher: Statistics Sweden. [2] Priyank Jain, Manasi Gyanchandani, and Nilay Khare. Big data privacy: a technological perspective and review. Journal of Big Data, 3(1):25, November 2016. [3] Javier Parra-Arnau, David Rebollo-Monedero, and Jordi Forn´e. Privacy-Enhancing Technologies and Metrics in Personalized Information Systems. In Guillermo Navarro-Arribas and Vicen¸c Torra, editors, Advanced Research in Data Privacy, pages 423–442. Springer International Publishing, Cham, 2015. [4] Alpa Shah and Ravi Gulati. Privacy Preserving Data Mining: Techniques, Classification and Implications - A Survey. International Journal of Computer Applications, 137:40–46, March 2016. [5] Xiaokui Xiao and Yufei Tao. M-invariance: towards privacy preserving re-publication of dynamic datasets. In Proceedings of the 2007 ACM SIGMOD international conference on Management of data, SIGMOD ’07, pages 689–700, New York, NY, USA, June 2007. Association for Computing Machinery. [6] P. Samarati and L. Sweeney. Protecting privacy when disclosing information: kanonymity and its enforcement through generalization and suppression. 1998. [7] Djordje Slijepˇcevi´c, Maximilian Henzl, Lukas Daniel Klausner, Tobias Dam, Peter Kieseberg, and Matthias Zeppelzauer. k-Anonymity in practice: How generalisation and suppression affect machine learning classifiers. Computers & Security, 111:102488, December 2021. [8] A. Machanavajjhala, J. Gehrke, D. Kifer, and M. Venkitasubramaniam. L-diversity: privacy beyond k-anonymity. In 22nd International Conference on Data Engineering (ICDE’06), pages 24–24, April 2006. ISSN: 2375-026X. [9] Jordi Casas-Roma, Jordi Herrera-Joancomart´ı, and Vicen¸c Torra. A survey of graphmodification techniques for privacy-preserving on networks. Artificial Intelligence 40 Review, 47(3):341–366, March 2017. [10] Keerthana Rajendran, Manoj Jayabalan, and Muhammad Ehsan Rana. A Study on k-anonymity, l-diversity, and t-closeness Techniques focusing Medical Data. 2017. [11] Ninghui Li, Tiancheng Li, and Suresh Venkatasubramanian. t-Closeness: Privacy Beyond k-Anonymity and l-Diversity. In 2007 IEEE 23rd International Conference on Data Engineering, pages 106–115, April 2007. ISSN: 2375-026X. [12] Adrian Tobar, Jordi Castro, and Claudio Gentile. A New Mathematical Optimization-Based Method for the m-invariance Problem, June 2023. arXiv:2306.15371 [cs, math]. [13] Ji-Won Byun, Yonglak Sohn, Elisa Bertino, and Ninghui Li. Secure Anonymization for Incremental Datasets. In Willem Jonker and Milan Petkovi´c, editors, Secure Data Management, Lecture Notes in Computer Science, pages 48–63, Berlin, Heidelberg, 2006. Springer. [14] Hasina Attaullah, Tehsin Kanwal, Adeel Anjum, Ghufran Ahmed, Suleman Khan, Danda B. Rawat, and Rizwan Khan. Fuzzy-Logic-Based Privacy-Aware Dynamic Release of IoT-Enabled Healthcare Data. IEEE Internet of Things Journal, 9(6):4411– 4420, March 2022. Conference Name: IEEE Internet of Things Journal. [15] Xiaolin Zhang and Hongjing Bi. Secure and effective anonymization against republication of dynamic datasets. In 2010 2nd International Conference on Computer Engineering and Technology, volume 7, pages V7–399–V7–403, April 2010. [16] Joochang Lee, Hyuk-Jin Ko, Eunju Lee, Wongil Choi, and Ung-Mo Kim. A Data Sanitization Method for Privacy Preserving Data Re-publication. In 2008 Fourth International Conference on Networked Computing and Advanced Information Management, volume 2, pages 28–31, September 2008. [17] WonGil Choi, JoonSuk Ryu, WonYoung Kim, and UngMo Kim. Simple data transformation method for privacy preserving data re-publication. In 2009 1st IEEE Symposium on Web Society, pages 209–212, August 2009. ISSN: 2158-6993. 41