# US 2025/0156705 A1 · Learning apparatus and method, and trained model

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

- Number: US 2025/0156705 A1
- Document ID: US20250156705A1
- Status: Published application
- Kind: A1
- Application number: 18/815,913
- Filed: 2024-08-27
- Published: 2025-05-15
- Earliest claimed: 2023-11-10
- Assignees: Kabushiki Kaisha Toshiba
- Applicants: Kabushiki Kaisha Toshiba
- Inventors: Shintaro HARADA
- Web page: https://patentgrep.com/patent/US20250156705A1

## CPC

- G06N 3/08: Learning methods
- G06N 20/00: Machine learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

According to one embodiment, a learning apparatus includes a processor. The processor acquires a first token sequence in which input data is divided into tokens. The processor generates a second token sequence in which noise is added to the first token sequence. The processor calculates a first feature from the first token sequence and a second feature from the second token sequence using a model for extracting features. The processor calculates a transport cost required for approximating the second feature to the first feature. The processor updates the model based on the transport cost.

## Claims

### Claim 1

A learning apparatus comprising a processor configured to:
acquire a first token sequence in which input data is divided into tokens;
generate a second token sequence in which noise is added to the first token sequence;
calculate a first feature from the first token sequence and a second feature from the second token sequence using a model for extracting features;
calculate a transport cost required for approximating the second feature to the first feature; and
update the model based on the transport cost.

### Claim 2 (depends on 1)

The apparatus according to claim 1, wherein the processor is configured to calculate the transport cost, based on a transport matrix pertaining to an optimal transport problem.

### Claim 3 (depends on 1)

The apparatus according to claim 1, wherein the processor is configured to execute at least one of token rearranging processing and token masking processing as processing for adding the noise.

### Claim 4 (depends on 1)

The apparatus according to claim 1, wherein the processor is configured to determine whether or not training of the model has ended, based on a loss function including the transport cost.

### Claim 5 (depends on 1)

The apparatus according to claim 1, wherein the processor is further configured to cause a display device to display to a user a transport matrix relating to calculation the transport cost.

### Claim 6 (depends on 5)

The apparatus according to claim 5, wherein the processor is further configured to:
acquire from the user feedback information pertaining to training of the model based on the transport matrix,
calculate a new transport cost, based on the feedback information.

### Claim 7

A learning method comprising:
acquiring a first token sequence in which input data is divided into tokens;
generating a second token sequence in which noise is added to the first token sequence;
calculating a first feature from the first token sequence and a second feature from the second token sequence by using a model for extracting features;
calculating a transport cost required for approximating the second feature to the first feature; and
updating the model based on the transport cost.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the calculating the transport cost is calculating the transport cost based on a transport matrix pertaining to an optimal transport problem.

### Claim 9 (depends on 7)

The method according to claim 7, wherein the generating the second token sequence processor is executing at least one of token rearranging processing and token masking processing as processing for adding the noise.

### Claim 10 (depends on 7)

The method according to claim 7, wherein the updating the model is determining whether or not training of the model has ended, based on a loss function including the transport cost.

### Claim 11 (depends on 7)

The method according to claim 7, further comprising displaying to a user a transport matrix relating to calculation the transport cost.

### Claim 12 (depends on 11)

The method according to claim 11, further comprising:
acquiring from the user feedback information pertaining to training of the model based on the transport matrix; and
calculating a new transport cost, based on the feedback information.

### Claim 13

A trained model comprising a network layer that processes input data and infers output data, the trained model being trained by:
a generation step of generating a second token sequence in which noise is added to a first token sequence;
a feature calculation step of calculating a first feature from the first token sequence and a second feature from the second token sequence by using a model for extracting features;
a cost calculation step of calculating a transport cost required for approximating the second feature to the first feature; and
an update step of updating the model based on the transport cost,
the trained model causing a computer to input the input data to the network layer to which an updated parameter is assigned and to infer the output data.
