Formalizing Data Deletion in the Context of the Right to Be Forgotten

Sanjam Garg, Shafi Goldwasser, Prashant Nalini Vasudevan

The "Right to be Forgotten," enshrined in regulations like Europe’s General Data Protection Regulation (GDPR) and California’s Consumer Privacy Act (CCPA), empowers individuals to request the deletion of their personal data. However, these legal mandates often lack technical precision. From a computer science perspective, "deletion" is rarely a simple operation. Does it mean merely marking a database record as deleted, or does it require the complete removal of any influence that data might have had on the system?

This paper provides the first rigorous cryptographic formalization of the Right to be Forgotten. By defining deletion-compliance through a "leave no trace" standard, the authors bridge the gap between legal intuition and mathematical verification. A system is compliant if its internal state after a deletion request is indistinguishable from a state where the deleted data was never collected in the first place.

The Persistence of Data "Ghosts"

A primary challenge in data deletion is that information often leaves "ghosts" or traces within a system. Even if a specific file is removed, its former existence might be inferred from system metadata, such as memory allocation patterns or file system logs.

Furthermore, in the age of artificial intelligence, data's influence is even more pervasive. If a user's data was used to train a machine learning model, that model's weights might "memorize" specific features of the user's information. Simply deleting the raw data from a database does not remove its impact on the model. The authors argue that a system truly "forgets" only if its internal state after a deletion request is indistinguishable from a state where the data was never collected at all.

Methodology: The Real vs. Ideal World Paradigm

To formalize this concept, the authors utilize the Universal Composability (UC) framework, a cornerstone of modern cryptography. They propose a comparison between two distinct scenarios:

  1. The Real World: A user provides data to a collector, the system processes it, and the user subsequently issues a deletion request.
  2. The Ideal World: The user never provides the data to the collector in the first place.
The Real World vs. Ideal World paradigm for defining deletion-compliance.

A system is considered deletion-compliant if an external observer (an adversary) cannot distinguish between the final state of the system in the Real World and its state in the Ideal World. This definition (Definition 2.2 in the paper) ensures that the deletion process is so thorough that it effectively rewrites the system's history to exclude the deleted data.

Technical Requirements for Compliance

Achieving this "leave no trace" standard requires specific technical properties and data structures:

History-Independent Data Structures

Standard data structures, such as binary search trees, often reveal the sequence of operations (insertions and deletions) that created them through their physical layout in memory. To be deletion-compliant, a system must utilize history-independent data structures. These structures ensure that the memory layout depends solely on the current set of data, leaving no structural artifacts of previously deleted items.

The Role of Authentication

A surprising finding of the research is that deletion-compliance is impossible without a robust, randomized authentication mechanism. Without authentication, an adversary could "guess" a user's data and issue a deletion request. If the system's response (or its internal state change) differs based on whether the guessed data actually existed, the system inadvertently leaks information about the user's data history.

Differential Privacy and Machine Unlearning

The paper highlights Differential Privacy (DP) as a powerful tool for achieving deletion-compliance. Since DP ensures that an algorithm's output does not change significantly when one individual's data is removed, it can often provide deletion-compliance "for free" in statistical contexts. Additionally, the authors integrate Machine Unlearning techniques, which allow for the efficient removal of specific data points from trained models without requiring a full retraining from scratch.

Key Results and Implications

The research yields several foundational results:

  • Formal Definitions: It successfully translates vague legal concepts into a precise mathematical definition.
  • Provable Constructions: The authors demonstrate that a storage system combining history-independent dictionaries with randomized authentication tokens can achieve statistical deletion-compliance.
  • Compositionality: They prove that compliance scales; a system that is compliant for a single user remains compliant when scaled to many independent users (showing linear growth of error).

Limitations and Future Directions

While this framework provides a solid foundation, it has limitations. It currently assumes an "honest collector" who intends to comply with the law; it does not address malicious actors who might secretly retain data. Furthermore, the model assumes sequential execution and does not yet account for the complexities of parallel processing or side-channel attacks (e.g., timing or power analysis). Future work aims to extend these definitions to distributed systems and more complex "derived data" scenarios.

Summary updated

Abstract

The right of an individual to request the deletion of their personal data by an entity that might be storing it – referred to as the right to be forgotten – has been explicitly recognized, legislated, and exercised in several jurisdictions across the world, including the European Union, Argentina, and California. However, much of the discussion surrounding this right offers only an intuitive notion of what it means for it to be fulfilled – of what it means for such personal data to be deleted. In this work, we provide a formal definitional framework for the right to be forgotten using tools and paradigms from cryptography. In particular, we provide a precise definition of what could be (or should be) expected from an entity that collects individuals’ data when a request is made of it to delete some of this data. Our framework captures most, though not all, relevant aspects of typical systems involved in data processing. While it cannot be viewed as expressing the statements of current laws (especially since these are rather vague in this respect), our work offers technically precise definitions that represent possibilities for what the law could reasonably expect, and alternatives for what future versions of the law could explicitly require. Finally, with the goal of demonstrating the applicability of our framework and definitions, we consider various natural and simple scenarios where the right to be forgotten comes up. For each of these scenarios, we highlight the pitfalls that arise even in genuine attempts at implementing systems offering deletion guarantees, and also describe technological solutions that provably satisfy our definitions. These solutions bring together techniques built by various communities.
BibTeX
@inproceedings{garg2020formalizing,
  author = {Sanjam Garg and Shafi Goldwasser and Prashant Nalini Vasudevan},
  title = {{Formalizing Data Deletion in the Context of the Right to Be Forgotten}},
  booktitle = {EUROCRYPT},
  year = {2020},
  url = {https://openreview.net/forum?id=BHSlQ0jb3uI},
}
Figure