# US 2023/0274133 A1 · Learning method, learning apparatus and program

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

- Number: US 2023/0274133 A1
- Document ID: US20230274133A1
- Status: Published application
- Kind: A1
- Application number: 18/013,237
- Filed: 2020-07-06
- Published: 2023-08-31
- Earliest claimed: 2020-07-06
- Assignees: Nippon Telegraph and Telephone Corporation
- Applicants: Nippon Telegraph and Telephone Corporation
- Inventors: Tomoharu IWATA
- Web page: https://patentgrep.com/patent/US20230274133A1

## CPC

- G06N 3/08: Learning methods
- G06N 3/045: Combinations of networks
- G06N 3/0499: Feedforward networks
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A learning method includes: receiving as input a set of data sets {D1, . . . , DT} wherein Dt for a task tin a task set {1, . . . , T} includes feature amount vectors of cases of t; sampling t from the task set, and sampling a first subset from Dt and a second subset from Dt excluding the first subset; generating a task vector representing a property oft corresponding to the first subset by a first neural network; nonlinearly transforming feature amount vectors included in data included in the second subset by a second neural network using the task vector; calculating scores representing degrees of anomaly of the feature amount vectors using the transformed feature amount vectors and a preset center vector; and learning parameters of the first and second neural networks so as to make an index value representing generalized performance of anomaly detection higher using the scores.

## Claims

### Claim 1

A learning method executed by a computer including a memory and a processor, the learning method comprising:
receiving as input a set of data sets D={D1, . . . , DT} wherein a task set is {1, . . . , T} and a data set including data at least including feature amount vectors representing features of cases of a task t∈{1, . . . , T} is denoted as Dt;
sampling a task t from the task set {1, . . . , T}, and sampling a first subset from a data set Dt of the task t and a second subset from a set obtained by excluding the first subset from the data set Dt;
generating a task vector representing a property of a task t corresponding to the first subset by a first neural network;
nonlinearly transforming feature amount vectors included in data included in the second subset by a second neural network using the task vector;
calculating scores representing respective degrees of anomaly of the feature amount vectors using the nonlinearly transformed feature amount vectors and a preset center vector; and
learning a parameter of the first neural network and a parameter of the second neural network so as to make an index value representing generalized performance of anomaly detection higher using the scores.

### Claim 2 (depends on 1)

The learning method according to claim 1,
wherein the first neural network includes a first feedforward neural network and a second feedforward neural network, and
wherein the generating includes generating the task vector by generating a vector in which each item of data included in the first subset is aggregated by the first feedforward neural network, and then converting the generated vector by the second feedforward neural network.

### Claim 3 (depends on 1)

The learning method according to claim 1,
wherein the calculating of the score includes calculating a distance between values obtained by linearly projecting the nonlinearly transformed feature amount vectors using a linear projection vector {circumflex over ( )}w and a value obtained by linearly projecting the center vector using the linear projection vector {circumflex over ( )}w as the scores.

### Claim 4 (depends on 3)

The learning method according to claim 3,
wherein the linear projection vector {circumflex over ( )}w is a vector calculated such that a distance between anomalous data among data included in the first subset and the center vector is as long as possible, and a distance between normal data among data included in the first subset and the center vector is as short as possible.

### Claim 5 (depends on 1)

The learning method according to claim 1,
wherein the learning learns the parameter of the first neural network and the parameter of the second neural network so as to make the index value higher, by using as the index value, any one of an AUC, an approximate AUC, a negative cross entropy error, or a log likelihood.

### Claim 6

A learning apparatus comprising:
a memory; and
a processor configured to execute:
receiving as input a set of data sets D={D1, . . . , DT} wherein a task set is {1, . . . , T} and a data set including data at least including feature amount vectors representing features of cases of a task t∈{1, . . . , T} is denoted as Dt;
sampling a task t from the task set {1, . . . , T}, and sampling a first subset from a data set Dt of the task t and a second subset from a set obtained by excluding the first subset from the data set Dt;
generating a task vector representing a property of a task t corresponding to the first subset by a first neural network;
nonlinearly transforming feature amount vectors included in data included in the second subset by a second neural network using the task vector;
calculating scores representing respective degrees of anomaly of the nonlinearly transformed feature amount vectors using the feature amount vectors and a preset center vector; and
learning a parameter of the first neural network and a parameter of the second neural network so as to make an index value representing generalized performance of anomaly detection higher using the scores.

### Claim 7 (depends on 1)

A non-transitory computer-readable recording medium having computer-readable instructions stored thereon, which when executed, cause a computer to perform the learning method according to claim 1.
