IBM Patents a System for Catching AI Models That Leak Private Training Data
When an AI is trained on private data and then starts repeating it back word-for-word, that's a data leak. IBM has filed a patent for a system that can actually measure how often that's happening.

- Publication number
- US 2026/0252802 A1(US20260252802A1)
- Applicant
- International Business Machines Corporation
- Filed · Published
- Feb 25, 2025 · Aug 27, 2026
- Inventors
- Abigail GOLDSTEEN, Shlomit SHACHOR IFERGAN, Natalia RAZINKOV
- Status when we published
- Waiting for an examiner
- Document
- 20 claims
- US classification
- 704/9
- Examiner
- ARMSTRONG, ANGELA A (Art Unit 2659)
How IBM's data-leak score for AI models works
Today, when a company deploys an AI language model, it has almost no reliable way to tell whether that model is spitting out chunks of the private documents it was trained on. That's a real legal and privacy problem, and it's largely gone unmeasured.
IBM's patent describes a tool that compares what an AI outputs against a set of reference documents (the original private data) and produces a score showing how much overlap there is. The closer the AI's answers are to the original source text, the higher the leak score.
The idea is that compliance teams or developers could run this check routinely, the same way you'd run a virus scan, and get a concrete number showing their risk. If the score is too high, the model needs retraining or the training data needs to be scrubbed.
obtaining a prediction dataset comprising a set of prediction semantic units generated by a generative language model based on one or more model inputs; obtaining a reference dataset comprising a set of reference semantic units …
Translation: The system collects outputs from an AI model and compares them against a trusted set of reference data.
Inside IBM's semantic matching and scoring pipeline
The system works in three main steps:
- Collect outputs: It gathers a set of responses produced by the AI model, called "prediction semantic units" (essentially meaningful chunks of text the AI generated).
- Collect reference data: It also holds a set of "reference semantic units" from the original private training documents.
- Match and score: It pairs up AI-generated chunks with reference chunks using a matching operation, tracking exactly which positions in each text corresponded to each other. From those pairs, it calculates at least one data leak score.
The key technical detail is the indices set pair that accompanies every matched pair. An index here is just a positional marker, like a page-and-line reference, that records where in both the AI output and the original document a match was found. That positional tracking is what separates this from a simple copy-paste check.
The final output is a structured result showing the leak score, which could be displayed as a dashboard readout, a flag in a compliance report, or an automated alert. The patent doesn't restrict the form of that output, just that it must represent the score in a readable way.
The approach is model-agnostic. It works by examining outputs rather than inspecting model internals, which means it could in theory be applied to any generative language model, whether the company built it or licensed it from a third party.
At least one data leak score associated with the prediction dataset is determined based on the matched dataset. Results data comprising a representation indicative of the at least one data leak score is output.
Translation: It calculates a leak score from the comparison and outputs the results to show if private data escaped.
What this means for AI privacy and compliance teams
Privacy regulators in the EU and the US are increasingly asking companies to prove their AI systems aren't memorizing and repeating personal data. Right now, most organizations have no systematic way to answer that question. A scoring tool like this one could become a standard part of AI auditing, the same way penetration testing became standard for web security.
For companies deploying AI on sensitive data, like medical records, legal documents, or internal HR files, this kind of measurement tool fills a real gap. IBM's focus on AI governance has been a consistent thread in its recent filings, and this patent fits squarely in that effort. It's the sort of behind-the-scenes infrastructure work that shows up across new tech patents in the AI privacy space as companies race to build auditable, regulatorily defensible AI systems.
This is the 38th IBM filing we've tracked since May in the AI guardrails race, building on gap-finding in safety filters and catching two kinds of AI lies.
Source: US 2026/0252802 A1 at the USPTO (PDF). Full patent text and figures are in the official publication.
Get our take in your Top Stories
Liked this breakdown? Add Patentlyze as a preferred source on Google, and our plain-English take shows up more often in your Top Stories the next time IBM patent news breaks.
We read the new patents from Big Tech, carmakers and more and send you the ones worth knowing. Plain English, free, every week.
The drawings · 18 sheets
18 drawing sheets from US 2026/0252802 A1 · click any drawing to enlarge
