# US 2025/0094600 A1 · Machine learning-based filtering of false positive pattern matches for personally identifiable information

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0094600 A1
- Document ID: US20250094600A1
- Status: Published application
- Kind: A1
- Application number: 18/468,962
- Filed: 2023-09-18
- Published: 2025-03-20
- Earliest claimed: 2023-09-18
- Assignees: Palo Alto Networks, Inc.
- Applicants: Palo Alto Networks, Inc.
- Inventors: Jesse Mie Kim; Sannisth Amitkumar Soni; Anirudh Mittal
- Web page: https://patentgrep.com/patent/US20250094600A1

## CPC

- G06F 21/60: Protecting data
- G06F 16/35: Clustering; Classification
- G06F 40/40: Processing or translation of natural language (natural language analysis G06F40/20; semantic analysis G06F40/30)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data loss prevention (DLP) pipeline is presently disclosed filters non-sensitive documents from DLP with two stages—a first filtering stage that filters documents that do not match one or more patterns corresponding to personally identifiable information (PII) and a second filtering stage that filters documents matching the one or more patterns that are classified with non-sensitive verdicts by a machine learning (ML) ensemble. The ML ensemble comprises a character-level convolutional neural network that generates pattern-based embeddings, a language model that generates context-based embeddings, and a classification model that receives concatenated embeddings as input to generate sensitive/non-sensitive verdicts.

## Claims

### Claim 1

A method comprising:
identifying one or more sub-documents of one or more documents that match one or more patterns for sensitive data;
inputting at least subsets of the one or more sub-documents into one or more natural language models to obtain one or more embeddings as output;
based on concatenating the one or more embeddings, providing the concatenated embeddings as input to a classification model to obtain one or more verdicts for each of the one or more embeddings as output, wherein each verdict of the one or more verdicts indicates whether a corresponding sub-document in the one or more sub-documents comprises sensitive data; and
filtering, from the one or more documents, those documents that do not comprise a sub-document in the one or more sub-documents having a verdict in the one or more verdicts that indicates sensitive data.

### Claim 2 (depends on 1)

The method of claim 1, wherein the sensitive data comprises fields in driver's license data.

### Claim 3 (depends on 1)

The method of claim 1, wherein identifying the one or more sub-documents comprises,
extracting text data from the one or more documents; and
applying one or more patterns to the text data to identify the one or more sub-documents as subsets of the text data.

### Claim 4 (depends on 1)

The method of claim 1, wherein the one or more sub-documents comprise fields of text data in the one or more documents encoded in a schema, wherein inputting the at least subsets of the one or more documents into the one or more natural language models comprises,
identifying fields in the one or more sub-documents to input into each of the one or more natural language models, wherein identifying fields in the one or more sub-documents is according to the schema where the fields are encoded; and
for each sub-document in the one or more sub-documents, inputting identified fields for the sub-document into corresponding ones of the one or more natural language models.

### Claim 5 (depends on 1)

The method of claim 1, wherein the one or more natural language models comprise a one-dimensional convolutional neural network and a context-based language model.

### Claim 6 (depends on 5)

The method of claim 5, wherein the context-based language model comprises Sentence-Bidirectional Encoder Representations from Transformers.

### Claim 7 (depends on 1)

The method of claim 1, wherein the classification model comprises a gradient boosting model.

### Claim 8

One or more non-transitory machine-readable media having program code stored thereon, the program code comprising instructions to:
classify a document as comprising sensitive data, wherein the program code to classify the document as comprising sensitive data comprises instructions to identify one or more sub-documents of the document that comprise sensitive data, wherein each of the one or more sub-documents comprises text data that matches one or more patterns of sensitive data;
input at least a subset of each of the one or more sub-documents into an ensemble of one or more natural language models and a classification model to obtain one or more verdicts for each of the one or more sub-documents as output; and
based on a determination that each of the one or more verdicts indicates that a corresponding sub-document of the one or more sub-documents does not comprise sensitive data, indicating the document as having a false positive sensitive data classification.

### Claim 9 (depends on 8)

The non-transitory machine-readable media of claim 8, wherein the sensitive data comprises fields in driver's license data.

### Claim 10 (depends on 8)

The non-transitory machine-readable media of claim 8, wherein program code to identify the one or more sub-documents comprises instructions to,
extracting text data from the document; and
apply the one or more patterns to the text data to identify the one or more sub-documents as subsets of the text data.

### Claim 11 (depends on 8)

The non-transitory machine-readable media of claim 8, wherein the one or more sub-documents comprise fields of text data in the document encoded in a schema, wherein the program code to input each of the document into the ensemble comprises instructions to,
identify fields in the one or more sub-documents to input into each of the one or more natural language models, wherein identifying fields in the one or more sub-documents is according to the schema where the fields are encoded; and
for each sub-document in the one or more sub-documents,
input identified fields for the sub-document into corresponding ones of the one or more natural language models; and
input output of the one or more natural language models into the classification model.

### Claim 12 (depends on 8)

The non-transitory machine-readable media of claim 8, wherein the one or more natural language models comprise a one-dimensional convolutional neural network and a context-based language model.

### Claim 13 (depends on 12)

The non-transitory machine-readable media of claim 12, wherein the context-based language model comprises Sentence-Bidirectional Encoder Representations from Transformers.

### Claim 14 (depends on 8)

The non-transitory machine-readable media of claim 8, wherein the classification model comprises a gradient boosting model.

### Claim 15

An apparatus comprising:
a processor; and
a machine-readable medium having instructions stored thereon that are executable by the processor to cause the apparatus to,
preprocess documents to identify one or more documents comprising sensitive data for data loss prevention, wherein the instructions to identify the one or more documents comprise instructions executable by the processor to cause the apparatus to identify one or more patterns of sensitive data in text data of one or more sub-documents of the one or more documents;
input at least a subset of each of the one or more sub-documents into an ensemble comprising one or more natural language models and a classification model to obtain one or more verdicts of each of the one or more sub-documents as output; and
filter, from the one or more documents, those documents that do not comprise a sub-document in the one or more sub-documents having a verdict in the one or more verdicts indicating sensitive data.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the sensitive data comprises fields in driver's license data.

### Claim 17 (depends on 15)

The apparatus of claim 15, wherein instructions to preprocess documents to identify the one or more documents comprise instructions executable by the processor to cause the apparatus to,
extracting text data from the one or more documents; and
apply the one or more patterns to the text data to identify the one or more sub-documents as subsets of the text data.

### Claim 18 (depends on 15)

The apparatus of claim 15, wherein the one or more sub-documents comprise fields of text data in the one or more documents encoded in a schema, wherein the instructions to input each of the one or more documents into the ensemble comprise instructions executable by the processor to cause the apparatus to,
identify fields in the one or more sub-documents to input into each of the one or more natural language models, wherein identifying fields in the one or more sub-documents is according to the schema where the fields are encoded; and
for each sub-document in the one or more sub-documents,
input identified fields for the sub-document into corresponding ones of the one or more natural language models; and
input output of the one or more natural language models into the classification model.

### Claim 19 (depends on 15)

The apparatus of claim 15, wherein the one or more natural language models comprise a one-dimensional convolutional neural network and a context-based language model.

### Claim 20 (depends on 15)

The apparatus of claim 15, wherein the classification model comprises a gradient boosting model.
