# US 2023/0054706 A1 · Learning apparatus and learning method

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

- Number: US 2023/0054706 A1
- Document ID: US20230054706A1
- Status: Published application
- Kind: A1
- Application number: 17/687,019
- Filed: 2022-03-04
- Published: 2023-02-23
- Earliest claimed: 2021-08-19
- Assignees: DENSO TEN Limited
- Applicants: DENSO TEN Limited
- Inventors: Ryusuke SEKI; Yasutaka OKADA; Yuki KATAYAMA; Rei HIROMI; Aoi OGISHIMA
- Web page: https://patentgrep.com/patent/US20230054706A1

## CPC

- G06N 3/045: Combinations of networks
- G06N 20/00: Machine learning
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/096: Transfer learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A learning apparatus for training a student model with a teacher model includes a processor. The processor computes the performance difference between the teacher and student models. The processor makes at least one of a determination, based on the performance difference, of whether to use the teacher model and a determination, based on the performance difference, of whether to change the weight coefficient in calculating the loss in the student model.

## Claims

### Claim 1

A learning apparatus for training a student model with a teacher model, comprising a processor configured
to compute a performance difference between the teacher and student models and
to make at least one of
a determination, based on the performance difference, of whether to use the teacher model and
a determination, based on the performance difference, of whether to change a weight coefficient in calculating a loss in the student model.

### Claim 2 (depends on 1)

The learning apparatus according to claim 1, wherein
the processor is configured
to change the teacher model based on the performance difference or
to change the weight coefficient based on the performance difference.

### Claim 3 (depends on 2)

The learning apparatus according to claim 2, wherein
the processor is configured, when the performance difference becomes smaller than a predetermined threshold value, to change the teacher model used in training the student model to a teacher model with higher performance than the teacher model currently used.

### Claim 4 (depends on 2)

The learning apparatus according to claim 2, wherein
the weight coefficient is a coefficient for adjusting a balance between a loss from learning data and a loss from the teacher model.

### Claim 5 (depends on 4)

The learning apparatus according to claim 4, wherein
the loss from the teacher model is an error in an inference result, or an error in an intermediate-layer feature map, between the teacher and student models.

### Claim 6 (depends on 2)

The learning apparatus according to claim 2, wherein
the performance is performance of object detection.

### Claim 7 (depends on 1)

The learning apparatus according to claim 1, wherein
the processor is configured
to compute
a first loss, which is a loss in an inference result based on the teacher model with respect to learning data, and
a second loss, which is a loss in an inference result based on the student model with respect to the learning data and
to determine, based on the first and second losses, whether to perform training using the teacher model.

### Claim 8 (depends on 7)

The learning apparatus according to claim 7, wherein
the processor is configured to determine to perform training using the teacher model when the first loss is smaller than the second loss.

### Claim 9 (depends on 8)

The learning apparatus according to claim 8, wherein
the processor is configured,
on determining to perform training using the teacher model, to compute a loss in the student model by using the second loss and the loss from the teacher model and
to subject the student model to learning based on the computed loss.

### Claim 10 (depends on 9)

The learning apparatus according to claim 9, wherein
the processor is configured, on determining not to perform training using the teacher model, to subject the student model to learning by using the second loss as the loss in the student model.

### Claim 11 (depends on 7)

The learning apparatus according to claim 7, wherein
the teacher and student models are models for object detection.

### Claim 12 (depends on 1)

The learning apparatus according to claim 1, wherein
the processor is configured
to compute
a first loss, which is a loss in an inference result based on the teacher model with respect to learning data, and
a second loss, which is a loss in an inference result based on the student model with respect to the learning data,
if the first loss is smaller than the second loss and a difference between the first and second losses is equal to or larger than a predetermined threshold value, to determine to perform training using the teacher model, and
if the first loss is smaller than the second loss and the difference between the first and second losses is less than the predetermined threshold value, or if the first loss is equal to or larger than the second loss, to change the teacher model or change the weight coefficient.

### Claim 13

A learning method for training a student model with a teacher model, comprising:
computing a performance difference between the teacher and student models; and
making at least one of
a determination, based on the performance difference, of whether to use the teacher model and
a determination, based on the performance difference, of whether to change a weight coefficient in calculating a loss in the student model.

### Claim 14 (depends on 13)

The learning method according to claim 13, further comprising:
changing the teacher model based on the performance difference or
changing the weight coefficient based on the performance difference.

### Claim 15 (depends on 13)

The learning method according to claim 13, further comprising:
determining whether to perform training using the teacher model based on
a first loss, which is a loss in an inference result based on the teacher model with respect to learning data, and
a second loss, which is a loss in an inference result based on the student model with respect to the learning data.

### Claim 16 (depends on 13)

The learning method according to claim 13, further comprising:
computing
a first loss, which is a loss in an inference result based on the teacher model with respect to learning data, and
a second loss, which is a loss in an inference result based on the student model with respect to the learning data;
if the first loss is smaller than the second loss and a difference between the first and second losses is equal to or larger than a predetermined threshold value, determining to perform training using the teacher model; and
if the first loss is smaller than the second loss and the difference between the first and second losses is less than the predetermined threshold value, or if the first loss is equal to or larger than the second loss, changing the teacher model or changing the weight coefficient.

### Claim 17

A learning method for training a student model with a teacher model, comprising:
computing a loss in the student model by using a loss from learning data and a loss from the teacher model; and
subjecting the student model to training while changing with predetermined timing a weight coefficient for adjusting a balance between the loss from learning data and the loss from the teacher model.

### Claim 18 (depends on 17)

The learning method according to claim 17, wherein
the predetermined timing is when a performance difference between the teacher and student models becomes smaller than a predetermined threshold value.

### Claim 19 (depends on 17)

The learning method according to claim 17, wherein
the predetermined timing is every predetermined number of epochs.
