# US 2024/0005206 A1 · Learning device 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 2024/0005206 A1
- Document ID: US20240005206A1
- Status: Published application
- Kind: A1
- Application number: 18/206,644
- Filed: 2023-06-07
- Published: 2024-01-04
- Earliest claimed: 2022-06-30
- Assignees: Honda Motor Co., Ltd.
- Applicants: Honda Motor Co., Ltd.
- Inventors: Takayuki Osa; Akinobu Hayashi
- Web page: https://patentgrep.com/patent/US20240005206A1

## CPC

- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/00: Machine learning
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0475: Generative networks
- G06N 3/092: Reinforcement learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A learning device includes a dataset acquisition unit configured to acquire a dataset including state information and action information on which a policy is to be learned, a discrete latent variable estimation unit configured to estimate a discrete latent variable representing characteristics of features from the state information and the action information, an optimal action learning unit configured to learn an optimal action using the state information and the discrete latent variable, a value function estimation unit configured to learn an action value from the state information and the action information, and an identification unit configured to identify a discrete latent variable that maximizes the action value using a result from the optimal action learning unit and a result from the value function estimation unit.

## Claims

### Claim 1

A learning device comprising:
a dataset acquisition unit configured to acquire a dataset including state information and action information on which a policy is to be learned;
a discrete latent variable estimation unit configured to estimate a discrete latent variable representing characteristics of features from the state information and the action information;
an optimal action learning unit configured to learn an optimal action using the state information and the discrete latent variable;
a value function estimation unit configured to learn an action value from the state information and the action information; and
an identification unit configured to identify the discrete latent variable that maximizes the action value using a result from the optimal action learning unit and a result from the value function estimation unit.

### Claim 2

A learning method comprising:
an acquisition step of acquiring a dataset including state information and action information on which a policy is to be learned;
an estimation step of estimating a discrete latent variable representing characteristics of features of the dataset from the state information and the action information included in the dataset;
a first learning step of learning an optimal action using the state information and the estimated discrete latent variable;
a second learning step of learning an action value from the state information and the action information; and
an identification step of identifying the discrete latent variable that maximizes the action value using a result of learning of the first learning step and a result of learning of the second learning step.

### Claim 3 (depends on 2)

The learning method according to claim 2, further comprising:
a value function update step of putting the identified discrete latent variable into the second learning step to update the value function;
a latent variable action update step of putting the updated value function into the estimation step and the first learning step to update the discrete latent variable and the optimal action; and
a third learning step of repeating the value function update step and the latent variable action update step to learn the discrete latent variable and the optimal action.

### Claim 4 (depends on 2)

The learning method according to claim 2, wherein, when the learned policy is executed, not all the first learning steps are activated, the discrete latent variable is estimated according to a situation, and a lower policy corresponding to the estimated discrete latent variable is sequentially selected and activated.

### Claim 5 (depends on 3)

The learning method according to claim 3, wherein, when z is the discrete latent variable, z′ is a next discrete latent variable, s is a state, s′ is a next state, Qw is an estimate of a Q value parameterized by a vector w, y is a target value, r is a reward in learning, γ is a discount factor, θ is a vector representing parameters of a policy, ϕ is a vector representing parameters of a model of a posterior distribution, (z˜)′ is the next discrete latent variable that has been estimated, fπ is a function that quantifies performance of a policy π, lcvae is a variational lower bound, and a is an action, the estimation step includes calculating the latent variable using
𝓏
′
=
arg
max
𝓏
~
′
Q
w
(
s
′
,
μ
⁡
(
s
′
,
𝓏
~
′
)
)
,
the value function update step includes calculating the target value y using
y
=
r
+
γ
⁢
min
j
=
1
,
2
⁢
Q
w
j
(
s
,
μ
⁡
(
s
′
,
𝓏
′
)
)
,
the value function update step includes updating an action value function by updating a critic that minimizes Σ∥y−w(s,a)∥2, and
the latent variable action update step includes updating a first model by updating an actor and a posterior distribution to maximize
{
ℒ
⁡
(
θ
,
ϕ
)
=
∑
i
=
1
N
f
π
(
s
i
,
a
i
)
⁢
l
cvae
(
s
i
,
a
i
;
θ
,
ϕ
)
}
.
