IBM · Filed Feb 25, 2025 · Published Aug 27, 2026 · verified — real USPTO data

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.

Text prompts, reference data, and model predictions compared to identify leaked training information. Drawing from patent filing US 2026/0252802 A1.
Text prompts, reference data, and model predictions compared to identify leaked training information.
See all 18 drawings from this filing ↓
Publication number US 2026/0252802 A1
Applicant International Business Machines Corporation
Filing date Feb 25, 2025
Publication date Aug 27, 2026
Inventors Abigail GOLDSTEEN, Shlomit SHACHOR IFERGAN, Natalia RAZINKOV
CPC classification 704/9
Grant likelihood Medium
Examiner ARMSTRONG, ANGELA A (Art Unit 2659)
Status Docketed New Case - Ready for Examination (Apr 1, 2025)
Document 20 claims

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.

From the filing · CLAIM 1
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.

From the filing · THE ABSTRACT
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.

Editorial take

Claim 1 is deliberately broad. It covers any computer system that takes AI-generated text, compares it to reference text using a matching operation with positional tracking, and outputs a leak score. There's no restriction on what kind of AI model is used, what the reference data contains, or what the matching algorithm looks like.

That breadth is a double-edged thing. On one hand, it gives IBM a wide perimeter around a genuinely important problem. On the other hand, prior-art challenges will come fast, because semantic similarity matching and memorization detection have been active research areas for years. The specific combination of positional index pairs tied to semantic unit matches may be the narrowest defensible ground here.

In practice, if this patent holds up, anyone building a commercial AI auditing tool that compares model outputs to training data and produces a leakage score could find themselves in IBM's crosshairs. That's a growing market, especially as regulators start demanding proof of data hygiene from AI vendors.

There are more where this came from

We read every patent application Big Tech publishes and send you the ones worth knowing. Plain English, free, every week.

The drawings

18 drawing sheets from US 2026/0252802 A1 · click any drawing to enlarge

Patent filing page

Source. Full patent text and figures from the official USPTO publication PDF.