liveBook · Manning

PII scrubbing

Also called PII redaction

PII scrubbing is the detection and removal, replacement, or concealment of personally identifiable information in data or content to reduce its exposure.

How 2 Manning books explain it

Designing AI Systems

PII redaction is the removal or masking of personally identifiable information from generated or transmitted content.

How it is used
Protects recipients by removing or masking personally identifiable information from assistant responses before transmission.
How deep it goes
Defines output filtering, response replacement, and safety flags but does not detail detection or masking algorithms.
Examples
Uses an assistant response containing a user's email address and a frontend safety indicator as concrete examples.
What you can do after
Operate output filtering that replaces unsafe responses and reports applied safety modifications to the frontend.

Read how Designing AI Systems explains PII scrubbing →

LLM Customization and Fine-Tuning

The removal or masking of personally identifiable information from data.

How it is used
Protects training-data pipelines by removing personal information before review, annotation, storage, or model training.
How deep it goes
Distinguishes structured from indirect identifiers and recommends automated scrubbing followed by documented human review of at least 10% of examples.
Examples
Uses Presidio placeholders such as [PERSON] and [EMAIL], and identifies combinations like age, job title, and employer as potential indirect identifiers.
What you can do after
Apply Microsoft Presidio for structured identifiers and document human review of a sample for indirect identifiers.

Read how LLM Customization and Fine-Tuning explains PII scrubbing →

Also covered in

What to know first

Related concepts

Questions about PII scrubbing

What is PII scrubbing?

PII scrubbing is the detection and removal, replacement, or concealment of personally identifiable information in data or content to reduce its exposure.

Which Manning books explain PII scrubbing?

Designing AI Systems and LLM Customization and Fine-Tuning.

What should I know before learning PII scrubbing?

Manning books that teach PII scrubbing usually introduce personal data, knowledge base, fine-tuning and privacy first.

What is PII scrubbing part of?

PII scrubbing is part of logging pipeline. A logging pipeline is a sequence of components or processes that collects, routes, transforms, and stores log records.

What is PII scrubbing also called?

PII scrubbing is also called PII redaction.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.