# US 2022/0036134 A1 · Methods and systems for automated document classification with partially labeled data using semi-supervised learning

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

- Number: US 2022/0036134 A1
- Document ID: US20220036134A1
- Status: Published application
- Kind: A1
- Application number: 16/945,420
- Filed: 2020-07-31
- Published: 2022-02-03
- Earliest claimed: 2020-07-31
- Assignees: NetApp, Inc.
- Applicants: NetApp, Inc.
- Inventors: Adam Bali; Yuval Alaluf
- Web page: https://patentgrep.com/patent/US20220036134A1

## CPC

- G06F 18/2155: {characterised by the incorporation of unlabelled data, e.g. multiple instance learning [MIL], semi-supervised techniques using expectation-maximisation [EM] or naïve labelling}
- G06F 21/6245: {Protecting personal data, e.g. for financial or medical purposes}
- G06F 16/355: Creation or modification of classes or clusters
- G06F 18/23213: with fixed number of clusters, e.g. K-means clustering
- G06F 18/24155: {Bayesian classification}
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/00: Machine learning
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/7753: {Incorporation of unlabelled data, e.g. multiple instance learning [MIL]}
- G06V 10/814: {using belief theory, e.g. Dempster-Shafer}
- G06V 30/41: Analysis of document content (recognition of printed characters based on code marks G06V30/224)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A method, a computing device, and a non-transitory machine-readable medium for classifying documents. A document collection is sorted into a plurality of categories. A classifier corresponding to a category of the plurality of categories is trained to output a probability that a document associated with the category is of a selected type (e.g., confidential). The training includes determining, by the processor, that a cardinality of a set of negative samples in a train set is not above a pipeline threshold but is at least one and training the classifier via a first pipeline and a second pipeline using a training group that includes a first portion of a group of positive samples in the train set, a second portion of a set of negative samples in the train set, and a third portion of a group of unlabeled samples in the train set

## Claims

### Claim 1

A method comprising:
sorting, by a processor, a document collection into a plurality of categories;
identifying, by the processor, at least one train set for a category of the plurality of categories;
training, by the processor, a classifier corresponding to the category to output a probability that a document associated with the category belongs to a selected type using the at least one train set, wherein the training comprises:
determining, by the processor, that a cardinality of a set of negative samples in a train set is not above a pipeline threshold but is at least one; and
training, by the processor, the classifier via a first pipeline and a second pipeline using a training group that includes a first portion of a group of positive samples in the train set, a second portion of a set of negative samples in the train set, and a third portion of a group of unlabeled samples in the train set.

### Claim 2 (depends on 1)

The method of claim 1, wherein the training comprises:
training, by the processor, the classifier via the first pipeline using semi-supervised learning, wherein the first portion of the group of positive samples is assigned to a first class and the third portion of the group of unlabeled samples is assigned to a second class.

### Claim 3 (depends on 1)

The method of claim 1, wherein the training comprises:
training, by the processor, the classifier via the second pipeline using semi-supervised learning, wherein the first portion of the group of positive samples is assigned to a first class and the second portion of the set of negative samples and the third portion of the group of unlabeled samples are assigned to a second class.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
training, by the processor, the classifier via the first pipeline, the second pipeline, and a third pipeline in response to the cardinality of the set of negative samples being above the pipeline threshold.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
determining, by the processor, that the cardinality of the set of negative samples in the train set is zero; and
training, by the processor, the classifier via the first pipeline using the first portion of the group of positive samples and the third portion of the group of unlabeled samples.

### Claim 6 (depends on 1)

The method of claim 1, wherein the training comprises:
preprocessing, by the processor, each sample in the training group to form preprocessed positive samples and preprocessed nonpositive samples.

### Claim 7 (depends on 1)

The method of claim 1, wherein the training comprises:
training, by the processor, a Naive Bayes classifier to identify a reliable negative sample set from the group of unlabeled samples for use in training the classifier via the first pipeline and the second pipeline.

### Claim 8

A non-transitory machine-readable medium having stored thereon instructions for performing a method of classifying documents, the non-transitory machine-readable medium comprising machine-executable code which, when executed by at least one machine, causes the at least one machine to:
sort a document collection into a plurality of categories;
train a classifier corresponding to a category of the plurality of categories to output a probability that a document associated with the category is confidential, wherein the machine-executable code causing the at least one machine to train the classifier comprises the machine-executable code causing the at least one machine to:
determine that a cardinality of a set of nonconfidential samples in the train set is not above a pipeline threshold but is at least one; and
train the classifier via a first pipeline and a second pipeline using a training group that includes a first portion of a group of confidential samples, a second portion of a set of nonconfidential samples, and a third portion of a group of unlabeled samples.

### Claim 9 (depends on 8)

The non-transitory machine-readable medium of claim 8, wherein the machine-executable code further causes the at least one machine, as part of the training, to:
train the classifier via the first pipeline using semi-supervised learning, wherein the first portion of the group of confidential samples is assigned to a first class and the third portion of the group of unlabeled samples is assigned to a second class.

### Claim 10 (depends on 8)

The non-transitory machine-readable medium of claim 8, wherein the machine-executable code further causes the at least one machine, as part of the training, to:
train the classifier via the second pipeline using semi-supervised learning, wherein the first portion of the group of confidential samples is assigned to a first class and the second portion of the set of nonconfidential samples and the third portion of the group of unlabeled samples are assigned to a second class.

### Claim 11 (depends on 8)

The non-transitory machine-readable medium of claim 8, wherein the machine-executable code further causes the at least one machine to:
train the classifier via the first pipeline, the second pipeline, and a third pipeline in response to the cardinality of the set of negative samples being above the pipeline threshold.

### Claim 12 (depends on 8)

The non-transitory machine-readable medium of claim 8, wherein the machine-executable code further causes the at least one machine, as part of the training, to:
determine that the cardinality of the set of nonconfidential samples in the train set is zero; and
train the classifier via the first pipeline using the first portion of the group of positive samples and the third portion of the group of unlabeled samples.

### Claim 13 (depends on 8)

The non-transitory machine-readable medium of claim 8, wherein the machine-executable code further causes the at least one machine, as part of the training, to:
preprocess each sample in the training group to form preprocessed positive samples and preprocessed nonpositive samples; and
generate a feature matrix for each of the preprocessed positive samples and the preprocessed nonpositive samples.

### Claim 14 (depends on 8)

The non-transitory machine-readable medium of claim 8, wherein the machine-executable code further causes the at least one machine, as part of the training, to:
train a Naive B ayes classifier to identify a reliable nonconfidential sample set from the group of unlabeled samples for use in training the classifier via the first pipeline and the second pipeline.

### Claim 15

A computing device comprising:
a memory containing machine-readable medium comprising machine-executable code having stored thereon instructions for performing a method of classifying documents; and
a processor coupled to the memory, the processor configured to execute the machine-executable code to cause the processor to:
sort a document collection into a plurality of categories;
train a classifier corresponding to a category of the plurality of categories to output a probability that a document associated with the category belongs to a selected type using the at least one train set, wherein the processor being configured to execute the machine-executable code to train the classifier comprises the processor being configured to:
determine that a cardinality of a set of negative samples in the train set is zero; and
train the classifier via a first pipeline that uses semi-supervised learning, wherein the training is performed using a portion of a group of positive samples and a portion of a group of unlabeled samples.

### Claim 16 (depends on 15)

The computing device of claim 15, wherein the classifier is constructed from a set of base models and a metamodel that learns from the set of base models.

### Claim 17 (depends on 15)

The computing device of claim 15, wherein the group of positive samples is a group of confidential samples.

### Claim 18 (depends on 15)

The computing device of claim 15, wherein the first portion of the group of positive samples is obtained via K-means clustering.

### Claim 19 (depends on 15)

The computing device of claim 15, wherein the processor being configured to execute the machine-executable code to train the classifier comprises the processor being configured to train a Naive Bayes classifier to identify a reliable negative sample set from the group of unlabeled samples for use in training the classifier via the first pipeline.

### Claim 20 (depends on 15)

The computing device of claim 15, wherein the processor being configured to execute the machine-executable code to train the classifier comprises the processor being configured identify spy samples from the group of positive samples for use in identifying a reliable negative sample set from the group of unlabeled samples.
