# US 2021/0174242 A1 · Automatic multilabel classification using machine learning

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

- Number: US 2021/0174242 A1
- Document ID: US20210174242A1
- Status: Published application
- Kind: A1
- Application number: 16/706,037
- Filed: 2019-12-06
- Published: 2021-06-10
- Earliest claimed: 2019-12-06
- Assignees: International Business Machines Corporation; University of Massachusetts
- Applicants: International Business Machines Corporation; University of Massachusetts
- Inventors: Shashanka Ubaru; Sanjeeb Dash; Oktay Gunluk; Lior Horesh; Arya Mazumdar
- Web page: https://patentgrep.com/patent/US20210174242A1

## CPC

- G06N 20/00: Machine learning
- G06N 20/20: Ensemble learning
- G06N 5/04: Inference or reasoning models
- G06N 3/08: Learning methods
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A computer-implemented method for automatic multilabel classification includes receiving a label matrix Y for multiple training instances. The label matrix Y includes multiple labels, each label representing a respective category. The method further includes computing an intermediate matrix YYT, where YT is a transpose of the label matrix Y. The method further includes computing a basis matrix H by a non-negative matrix factorization of the intermediate matrix YYT. The method further includes generating a group testing matrix A by sampling the basis matrix H. The method further includes generating, for each training instance from the training instances, a reduced label vector z by computing a product of the group testing matrix A and a label vector y for respective training instance from the label matrix Y. The method further includes predicting multiple labels associated with an input based on the reduced label vector z.

## Claims

### Claim 1

A computer-implemented method for automatic multilabel classification, the computer-implemented method comprising:
receiving, by a processor, a label matrix Y for a plurality of training instances, the label matrix Y comprising a plurality of labels, each label representing a respective category;
computing, by the processor, an intermediate matrix YYT, where YT is a transpose of the label matrix Y;
computing, by the processor, a basis matrix H by a non-negative matrix factorization of the intermediate matrix YYT;
generating, by the processor, a group testing matrix A by sampling the basis matrix H;
generating, by the processor, for each training instance from the plurality of training instances, a reduced label vector z by computing a product of the group testing matrix A and a label vector y for respective training instance from the label matrix Y and
predicting, by the processor, multiple labels associated with an input based on the reduced label vector z.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein, the basis matrix is computed with a predetermined rank m.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein the predetermined rank m is computed as k·log(d), wherein k is average sparsity of the label vector y and d is a number of labels in the label vector y.

### Claim 4 (depends on 2)

The computer-implemented method of claim 2, wherein predicting the multiple labels comprises training m binary classifiers, m being number of entries in the reduced label vector z.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein generating the group testing matrix comprises selection of one or more columns hi from the basis matrix H.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the selection of the columns hi is based on a weight assigned to each column of the basis matrix H.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the reduced label vector z is computed as A ∨ y, where ∨ is a Boolean OR operation.

### Claim 8

A system comprising:
a memory; and
a processor coupled with the memory, the processor is configured to perform a method for automatic multilabel classification, the method comprising:
receiving a label vector y comprising a plurality of labels, each label representing a respective category;
computing an intermediate matrix yyT, where yT is a transpose of the label vector y;
computing a basis matrix H by a non-negative matrix factorization of the intermediate matrix yyT;
generating a group testing matrix A by sampling the basis matrix H;
generating a reduced label vector z by computing a product of the group testing matrix A and the label vector y; and
predicting multiple labels associated with an input based on the reduced label vector z.

### Claim 9 (depends on 8)

The system of claim 8, wherein, the basis matrix is computed with a predetermined rank m.

### Claim 10 (depends on 9)

The system of claim 9, wherein the predetermined rank m is computed as k·log(d), wherein k is average sparsity of the label vector y, and d is a number of labels in the label vector y.

### Claim 11 (depends on 9)

The system of claim 9, wherein predicting the multiple labels comprises training m binary classifiers, m being number of entries in the reduced label vector z.

### Claim 12 (depends on 8)

The system of claim 8, wherein generating the group testing matrix comprises selection of one or more columns hi from the basis matrix H.

### Claim 13 (depends on 12)

The system of claim 12, wherein the selection of the columns h is based on a weight assigned to each column of the basis matrix H.

### Claim 14 (depends on 8)

The system of claim 8, wherein the reduced label vector z is computed as A ∨ y, where ∨ is a Boolean OR operation.

### Claim 15

A computer program product comprising a computer-readable storage medium having program instructions embodied therewith, the program instructions when executed by a processor cause the processor to perform a method for automatic multilabel classification, the method comprising:
receiving a label vector y comprising a plurality of labels, each label representing a respective category;
computing an intermediate matrix yyT, where yT is a transpose of the label vector y;
computing a basis matrix H by a non-negative matrix factorization of the intermediate matrix yyT;
generating a group testing matrix A by sampling the basis matrix H;
generating a reduced label vector z by computing a product of the group testing matrix A and the label vector y; and
predicting multiple labels associated with an input based on the reduced label vector z.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein, the basis matrix is computed with a predetermined rank m.

### Claim 17 (depends on 16)

The computer program product of claim 16, wherein the predetermined rank m is computed as k·log(d), wherein k is average sparsity of the label vector y, and d is a number of labels in the label vector y.

### Claim 18 (depends on 16)

The computer program product of claim 16, wherein predicting the multiple labels comprises training m binary classifiers, m being number of entries in the reduced label vector z.

### Claim 19 (depends on 15)

The computer program product of claim 15, wherein generating the group testing matrix comprises selection of one or more columns hi from the basis matrix H.

### Claim 20 (depends on 12)

The computer program product of claim 12, wherein the selection of the columns hi is based on a weight assigned to each column of the basis matrix H.

### Claim 21

A computer-implemented method for automatic multilabel classification, the computer-implemented method comprising:
receiving, by a processor, a label vector y, which comprises d labels, each label representing a respective category;
computing, by the processor, a reduced label vector z from the label vector y, the reduced label vector z comprises m labels, m=k·log(d), where k is an average sparsity of the label vector y;
training, by the processor, a plurality of m binary classifiers respectively corresponding to the m labels from the reduced label vector, each binary classifier is trained to identify features associated with a corresponding label; and
in response to receiving an input, predicting, by the processor, multiple labels that are applicable to the input based on the m binary classifiers.

### Claim 22 (depends on 21)

The computer-implemented method of claim 21, wherein computing the reduced label vector comprises:
generating a group testing matrix A; and
computing z=A ∨ y, where ∨ is a Boolean OR operation.

### Claim 23 (depends on 22)

The computer-implemented method of claim 22, wherein generating the group testing matrix A comprises:
computing, by the processor, an intermediate matrix yyT, where yT is a transpose of the label vector y;
computing, by the processor, a basis matrix H by a non-negative matrix factorization of the intermediate matrix yyT;
generating, by the processor, a group testing matrix A by sampling the basis matrix H.

### Claim 24

A system comprising:
a memory; and
a processor coupled with the memory, the processor configured to perform a method comprising:
receiving a label vector y, which comprises d labels, each label representing a respective category;
computing a reduced label vector z from the label vector y, the reduced label vector z comprises m labels, m=k·log(d), where k is an average sparsity of the label vector y;
training a plurality of m binary classifiers respectively corresponding to the m labels from the reduced label vector, each binary classifier is trained to identify features associated with a corresponding label; and
in response to receiving an input, predicting multiple labels that are applicable to the input based on the m binary classifiers.

### Claim 25 (depends on 24)

The system of claim 24, wherein computing the reduced label vector comprises:
generating a group testing matrix A; and
computing z=A ∨ y, where ∨ is a Boolean OR operation.
