← Industry insights
Insights

How to prove a licensed AI training dataset contains no personal information

How do you prove a licensed AI training dataset contains no personal information? The contract terms, layers of validation, and records that let you show your work.

The short answer

You can rarely prove that a large dataset contains no personal information at all. What you can prove is what was done to find it: who removed it, which checks ran, how well those checks perform, what people reviewed, which version of your data passed, and what happened to the unscrubbed copies. That record is what a customer, auditor, regulator, or potential acquirer can actually examine.

A data provider may assure you that its dataset contains no personally identifiable information (PII). But when the dataset holds gigabytes of unstructured text, millions of images, or thousands of hours of audio and video, how much confidence can you place in that assurance on its own?

Proving the complete absence of personal information is extremely difficult. Documenting a chain of accountability, several independent layers of validation, and evidence of every step is not. This article covers what counts as personal information in training data, the layers of checks to put in place, how to record them on a Data Card, what you can honestly claim at the end, and a checklist.

What counts as personal information in AI training data?

Personal information isn’t limited to a name, an email address, or a Social Security number. Depending on your data, its context, and the privacy laws that apply, it can include anything that directly or indirectly identifies a person.

Data type Examples of potentially identifying information
Text Names, addresses, email addresses, medical histories, and account numbers
Images Faces, license plates, identification cards, and visible documents
Video Identifiable people, vehicle registrations, and residential locations
Audio Recognizable voices, spoken names, and personal conversations
Documents Signatures, patient records, employee information, and hidden metadata
3D and sensor data Identifiable physical characteristics, location information, and embedded metadata

Information that doesn’t identify anyone on its own can become identifying when it’s combined with other information. In a 2019 study in Nature Communications, Rocher, Hendrickx, and de Montjoye estimated that 15 demographic attributes would be enough to correctly identify 99.98% of Americans in any dataset. That figure comes from their statistical model, not from identifying real people, but it shows how quickly ordinary details add up.

Removing obvious identifiers is only one part of preparing a dataset that’s meant to contain no personal information.

Get contractual assurance from your data provider

The first layer of assurance starts before you acquire the dataset. If you’re licensing training data from a third party provider, consider requiring contractual representations about the presence of personal information and the steps taken to remove it.

Questions to settle with your data provider:

  • The promise. Does the provider represent or warrant that the delivered dataset contains no personal information?
  • The definition. Which definition of personal information is it using?
  • The starting point. Was personal information present in the original data?
  • The responsibility. Who was responsible for finding and removing it?
  • The method. Which processes and technologies were used?
  • Subcontractors. Were subcontractors involved, and were the same requirements imposed on them?
  • Later discoveries. What happens if personal information is found after delivery?
  • Evidence. Does the provider keep evidence of its validation procedures?

These assurances establish accountability and may give you contractual remedies if the representations turn out to be wrong. They don’t establish that the dataset actually contains no personal information. Independent validation is still an important part of managing that risk.

Document who removed the personal information

If your dataset went through a process to remove personal information, that process belongs in its data provenance. Instead of a single field saying PII has been removed, record:

  • The company responsible for removing personal information
  • The date the work was done
  • The categories of personal information it targeted
  • The tools, models, and methods used
  • The version of the dataset that went through the process
  • The person or team who approved the resulting dataset
  • Any known limitations or exceptions

If several companies handled your data, this record should follow the dataset through its whole life. Your data provider may have outsourced the removal of personal information to another company. Knowing who did the work, and how, gives you a stronger basis for judging the assurance you received.

For documenting data ownership and supplier relationships more broadly, see How to prove you have the rights to your AI training data?

Run rules based checks for personal information

Rules based validation is a practical, repeatable way to scan large volumes of data for known patterns of personal information. For text, rules can be written to detect:

  • Email addresses
  • Telephone numbers
  • Social Security numbers
  • Credit card numbers
  • Passport and identification numbers
  • IP addresses
  • Dates of birth
  • Identifiers specific to your domain, such as patient or policy numbers

These checks use regular expressions, predefined patterns, dictionaries, checksums, and other deterministic methods. They’re especially useful because they apply the same way across a large dataset, and the rules themselves can be documented, versioned, and rerun.

They have limits, though. A person’s name, an informal description of a medical condition, or a reference to someone’s home may not follow any predictable pattern. NIST’s report De-Identification of Personal Information (NISTIR 8053) makes a similar point about tools for medical text: rules based systems tend to work well on the kinds of text they were built for but may not carry over to new domains, and names and addresses may not be clearly marked in the first place.

That’s where AI based validation adds another layer.

Run AI based checks for personal information

AI models can catch personal information that rules miss, especially when recognizing it depends on context. Take this fictional sentence:

“Sarah, the only pediatric surgeon at the town’s hospital, lives in the blue house opposite the library.”

There’s no telephone number, email address, or street address in it. But together, those details could make her identifiable.

AI based validation can look for identifying information across every type of data you have:

Data type AI based validation approach
Text Named entity recognition and contextual analysis
Images Face detection, object detection, and optical character recognition (OCR)
Video Detection of faces, identifying objects, and visible personal information across frames
Audio Speech transcription, contextual analysis, and detection of potentially identifiable voices
Documents Document understanding, OCR, and contextual identification of personal information

Different models have different strengths and weaknesses. For higher risk data, you may choose to run several independent models to raise the chance of catching personal information.

Test your detectors on data where you know the answers

Before you rely on a model, test it on representative data that contains known examples of personal information, so you know how often it misses them. Published benchmarks show why this matters. The Text Anonymization Benchmark (Pilán et al., Computational Linguistics, 2022) measured how completely several tools masked the identifying details in European Court of Human Rights cases, comparing each tool against law students’ annotations (4.37 annotators per test case, on average):

Tool on the TAB test set Direct identifiers fully masked Quasi identifiers fully masked Precision
Microsoft Presidio, default settings 46.0% 75.8% 76.1%
Microsoft Presidio, with organization names enabled 46.3% 80.2% 54.2%
General purpose named entity model (RoBERTa in spaCy) 94.0% 87.4% 44.1%
Longformer model fine tuned on TAB’s own training data 100.0% 91.6% 83.6%

Figures from Tables 6 and 8 (Section 7) of the published paper, on the 127 case test set, shown as percentages. An identifier counts as masked only if every mention of it in the document is masked. Direct identifiers are details such as full names and case numbers; quasi identifiers are details such as gender, nationality, employer, city of residence, and dates that identify someone in combination. Precision is the authors’ standard token level precision: the share of masked text that actually needed masking. The paper tested Presidio version 2.2.23; newer versions may perform differently.

The authors point out that Presidio missed every court case number, a category it wasn’t built to detect, and that a single missed case number can make the rest of the masking useless. The general purpose model caught case numbers only by coincidence, because they happened to be numeric, and masked so much else that more than half of what it tagged didn’t need masking. The model fine tuned on similar data did best on both counts. A detector is only as reliable as its fit to your data, and the only way to know that fit is to measure it.

The same is true for images. Google’s 2009 paper Large-scale Privacy Protection in Google Street View (Frome et al., ICCV) reported how many faces and license plates its fully automatic system blurred well enough that they could no longer be identified, counted by hand:

What was blurred Evaluation set Share sufficiently blurred
Faces Cities Face Set: 1,614 faces in Street View imagery 89.0%
Faces Campus Face Set: 15,075 faces of consenting people, mostly facing the camera 90.7%
License plates, US Street View imagery 96.5%
License plates, EU Street View imagery 93.6%

Hand counted recall from Sections 3.3 and 4.3 of the paper. A plate counted as identifiable if three or more characters were legible. Today’s detectors are different from this 2009 system; the point is that even a purpose built system at very large scale reported its miss rate rather than assuming it was zero.

AI based validation isn’t infallible. It should complement rules based checks and your other privacy controls, not replace them. Make sure, too, that your validation tools don’t send sensitive data to outside AI services that aren’t authorized to see it.

How MLtwist runs these checks on your data

In MLtwist, each step in your pipeline runs as a Twist. Ready made Twists handle import, conversion, prelabeling, and export, and when your data needs a check they don’t cover, a custom Twist can be written in the Twist AI Builder, a browser editor where an AI assistant helps write the code, then test built and published as a version. Every run records who started it, which version ran, its settings, and the files it touched, so a rules based scan or a detection model can be rerun the same way on your next batch and explained months later. Quality control is built in, automated and human, and your files stay in your own GCS, S3, or Azure bucket, encrypted at rest. Learn more about AI workloads and pipelines at MLtwist.

Add human review where it matters

Human review adds another layer, especially when models flag something ambiguous. Instead of asking people to read every record in gigabytes of text, combine automated validation with targeted review of:

  • Records flagged by automated checks
  • Records where models disagree
  • Files from sources you consider higher risk
  • Representative samples of records that passed automated checks
  • Records that went through automated redaction

Reviewing a sample of records that passed is the most important item on that list. Reviewing only flagged records tells you little about the personal information your automated checks missed.

When personal information turns up, the affected data can be quarantined, redacted, or excluded from the training dataset, and then validated again. How much human review you need should reflect how sensitive the data is and what it would cost to miss something.

Validate the final training dataset, not just the original files

Personal information can be introduced or exposed at different stages of preparation:

  • Metadata. An image may show nothing personal but carry GPS coordinates in its metadata. NIST’s report notes that embedded headers can hold details such as the GPS location of a person’s house, a camera’s serial number, or a person’s name.
  • Hidden layers. A document may look redacted but still contain the original text in a hidden layer.
  • Enrichment. A dataset that already passed may later be enriched with annotations, transcripts, or other information that contains personal identifiers.

That’s why validation should run on the final version of the dataset you intend to train on, and cover file contents, annotations, filenames, metadata, and associated records. Whenever your datasets are modified, combined, or supplemented, decide whether they need to be validated again. It’s one of the reasons data versioning and data provenance are central to AI data governance.

Delete the unscrubbed data once the clean version is approved

When a clean version of your dataset has been validated and approved, delete the versions you know contained personal information: the original delivery, the working copies made while it was being cleaned, and anything you quarantined.

Many companies keep those files as a backup, in case the cleaning has to be redone. That’s tempting, but every copy of data you know held personal information is still exposure. It can be breached, shared by mistake, or pulled back into a training run months later by someone who doesn’t know its history. And it’s hard to say your training data is free of personal information while an unscrubbed copy of it still sits in your storage. Removing datasets you know contained personal information, once your process is done, limits your exposure.

Look for copies wherever your data has been:

  • Storage. The buckets and folders the original delivery landed in, and any staging areas used during cleaning.
  • Tools. Labeling and review tools that received the data before it was cleaned.
  • Vendors. Companies that removed personal information or labeled the data for you. Ask them to delete their working copies and confirm it in writing.
  • Local copies. Files downloaded to laptops or shared drives for inspection.
  • Backups and snapshots. These can outlive the original files if no one includes them in the cleanup.

If a contract, legal hold, or regulation requires you to keep the originals, keep them on purpose rather than by default: access restricted, stored apart from your training data, and with a set date for deletion.

Then record the deletion: which copies were deleted, when, by whom, and which approved version replaced them. That record lets you show the cleanup happened without keeping the data that needed cleaning.

Record personal information validation on a Data Card

Running checks is only part of the answer. You also need evidence that they ran, attached to the data itself.

MLtwist’s Data Card already records the origin, ownership, processing history, and rights of each file. The same approach can be extended to document personal information validation. A Data Card that supports it could include fields like these:

Data Card field What it documents
Data owner The company responsible for the data
Data provider The company that supplied the data
Data acquisition agreement The contract governing the acquisition and its privacy assurances
PII removal provider The company responsible for removing personal information
PII removal date When personal information was removed
PII removal method How personal information was found and removed
Rules based validation The validation rules and versions applied
AI based validation The AI models, versions, and configurations used
Human verification The scope and outcome of human review
Validation date When the dataset was last validated
Validation coverage Which files, records, and fields were checked
Validation results The outcome of the checks and any unresolved exceptions
Remediation history Whether personal information found was removed, redacted, or excluded
Unscrubbed data deletion Which copies of the original data were deleted, when, and by whom
Dataset version The specific version that was validated
Supporting evidence References to validation reports and contract documents

These fields show what to record for personal information validation; they aren’t a list of the Data Card’s current fields.

Dataset level reports can supplement individual Data Cards by documenting overall coverage, detection performance, sampling methods, and outstanding risks.

There’s a real difference between a field that says “PII Free” and a documented record of the steps taken to remove and validate personal information. One is an assertion. The other is evidence someone can examine independently.

The validation records themselves should be designed so they don’t keep or expose the personal information they were meant to detect.

How the Data Card connects your checks to your files

The platform writes the Data Card as the work runs, so no one fills it in by hand. When a file enters MLtwist, its source, owner, and usage terms are recorded. Each Twist that processes it is logged with its version and settings, and the record shows who labeled and reviewed each file and which companies and tools were involved. Each delivery is a version you can diff, roll back, and cite, and if a file is corrected or removed later, the next version shows it. That’s how you can say exactly which version of your data a model was trained on. Learn more about data provenance at MLtwist.

Can you ever prove a training dataset contains zero personal information?

In practice, it’s extremely difficult to guarantee that a large, unstructured dataset contains no personal information at all. Models miss contextual identifiers, people make mistakes, and data that looks anonymous today may become identifiable when combined with other datasets later.

NIST’s report covers this in detail. It notes that researchers have shown some data stripped of identifiers can sometimes be traced back to the people in it, and that this risk tends to grow over time as techniques improve and more outside information becomes available.

There’s also an important difference between anonymization and pseudonymization. Replacing a person’s name with a code doesn’t make the data anonymous if the person can still be identified from other information. The same NIST report cites the EU’s Article 29 Data Protection Working Party, which said that “pseudonymized data cannot be equated to anonymized information.”

The goal is to reduce the risk of personal information entering your training data through several independent, documented controls, and then to decide whether the remaining risk meets your contractual, operational, and legal requirements.

A more defensible statement than “contains no PII” might read:

“No personal information was detected in the delivered dataset using the documented validation methods and review procedures. The scope, results, and limitations of these procedures are kept in the associated data provenance records.”

That doesn’t remove all privacy risk, but it’s far more transparent than relying on a data provider’s assurance alone.

A checklist: can you show your licensed dataset is free of personal information?

Instead of relying on an unsupported claim, you should be able to show:

  • Contract. Which assurances you obtained from your data provider, and what happens if they prove wrong.
  • Responsibility. Who removed personal information, when, and how.
  • Independent checks. Which rules based and AI based checks ran, and on which version of your data.
  • Effectiveness. How well those checks perform on data with known personal information.
  • Human review. What people reviewed, including a sample of records that passed.
  • Remediation. How the personal information you found was resolved.
  • Final dataset. Which version was approved for training, and whether it was validated after its last change.
  • Cleanup. Whether the unscrubbed originals and working copies were deleted, including at your vendors, and when.
  • Records. Whether all of this is attached to your data, where a customer, auditor, or acquirer can examine it.

If you can’t answer these, you may have gaps to close before you rely on that data.

Build personal information checks into your data pipeline

Personal information validation shouldn’t be a one off exercise after a dataset has been bought, processed, and used for training. It belongs in your data preparation pipeline itself, where every check runs the same way on every batch and leaves a record behind.

Whether you collect your own data, license it from providers, or combine datasets from several sources, knowing what was done to protect personal information is part of making your data ready for AI. Don’t just ask whether your training data contains personal information. Ask what evidence you have to support the answer.

MLtwist prepares, validates, and labels your data with our team, yours, or both, and delivers it in versions with a Data Card on every file. Learn more about data provenance at MLtwist, or get in touch about validating and documenting your own data.

This article is general information, not legal advice. Privacy obligations and anonymization requirements vary by jurisdiction, data type, and intended use; talk to your counsel about the ones that apply to your data. Research findings are as published in the documents linked above.

Get your data ready for AI

Tell us what data you have and where it lives. We'll set it up on the platform, run by your team, ours, or both — and deliver it versioned, in your format.

Also available through Carahsoft and Google Cloud Marketplace.