liveBook · Manning

Privacy-enhancing technology

As explained in Introduction to Generative AI, Second Edition

A privacy-enhancing technology is a technical method that reduces the collection, exposure, linkability, or identifiability of personal information.

A large language model can sometimes repeat text from its training data. If that data contains a private message or a credit card number, the repetition becomes a privacy risk. Privacy-enhancing technologies (PETs) are methods used to reduce such risks when data is prepared or a model is trained. They help, but they do not make sensitive data safe to use without further care. section 3.4 section 10.18

PETs take different approaches:

  • Anonymization and pseudonymization reduce the direct link between data and a person. They may still leave clues from which someone can infer an identity or other personal information. section 3.17
  • Obfuscation, sanitization, and data masking hide or alter sensitive content. A blocklist, for example, can filter known sensitive patterns from a training dataset, but it cannot catch every unseen or rare item. section 3.4
  • Differential privacy introduces statistical noise during training to limit how much any one data point affects a model. Applying it effectively to large language models is difficult: privacy and model performance must be balanced, and it does not eliminate every memorization risk. section 3.4

The strongest first step is to avoid training on data known to contain substantial amounts of personally identifiable information (PII). That is hard to guarantee at scale: public datasets can contain hidden or mislabeled sensitive content. Masking is also imperfect because sensitive items are difficult to find reliably, while replacing them can disrupt the language patterns a model learns. PETs therefore complement careful data selection rather than replace it. section 3.4 section 10.18

When identifiers slip through

Researchers studying a model trained on the Enron Email Dataset, a collection of internal emails, extracted credit card and Social Security numbers. The case illustrates why removing obvious identifiers or filtering known patterns cannot be assumed to prevent disclosure. section 3.4

PETs belong within a broader privacy approach. Organizations also use policies governing AI tools, privacy risk assessments, and reviews of how models are trained and deployed. Even when direct identifiers have been removed, seemingly innocuous details may reveal personal information. The practical question is not whether a system has a PET, but which risk that method reduces—and which risks remain. section 3.17 section 3.17

How Introduction to Generative AI, Second Edition covers it

How deep it goes
Defines PETs, compares several methods and their limitations, and explains differential privacy intuitively without implementation steps.
Examples
Uses blocklists, masked training data, and extracted numbers from Enron emails to show both applications and limits.
What it assumes
Introduces PETs and personally identifiable information in plain terms without relying on implementation knowledge.
What you can do after
Evaluate/understand which privacy risk a PET addresses and why data selection and organizational controls remain necessary.
How it connects
Connects PETs to personally identifiable information, unintended memorization, reidentification, differential privacy, and corporate AI governance.

Also explained in

Compare how 2 books explain privacy-enhancing technology →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Introduction to Generative AI, Second Edition. The section links point to the parts of the book it draws on.