Policy estimation device, policy estimation method, and program

The MODRL technique addresses the challenge of maximizing arbitrary statistics in vector-valued rewards by employing a policy estimation device and method, ensuring robust and optimal decision-making in Multi-Objective Reinforcement Learning scenarios.

JP7552892B2Active Publication Date: 2024-09-18NIPPON TELEGRAPH & TELEPHONE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2023522180
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-05-21
Publication Date
2024-09-18
Estimated Expiration
2041-05-21

AI Technical Summary

Technical Problem

Existing reinforcement learning techniques fail to maximize arbitrary statistical quantities beyond expected values in settings where rewards are given as vector values, particularly in Multi-Objective Reinforcement Learning (MORL) scenarios.

Method used

A policy estimation device and method that utilizes Multi-Objective Distributional Reinforcement Learning (MODRL) to estimate policies by optimizing arbitrary statistics through a simulator and processor, which processes MOMDP parameters and setting parameters to determine optimal policies in vector-valued reward environments.

Benefits of technology

Enables the maximization of any statistical quantity, including quantiles, in vector-valued reward settings, providing robust and optimal decision-making policies even when state transitions depend on past history.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007552892000051
    Figure 0007552892000051
  • Figure 0007552892000052
    Figure 0007552892000052
  • Figure 0007552892000053
    Figure 0007552892000053
Patent Text Reader

Abstract

Provided is a policy estimation device for estimating a policy of an agent serving as a decision maker, the policy estimation device comprising an algorithm execution unit that generates a function for optimizing the policy by an algorithm that maximizes a certain statistic with a reward given as a vector value on the basis of: a simulator returning a reward vector and the state of the agent at the next time point in response to the state and action of the agent and describing interaction with a multi-objective Markov decision process (MOMDP); the parameters of the MOMDP; and set parameters at the time of execution of the algorithm.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] An embodiment of the present invention relates to a technique for estimating risk-aware decision-making rules (policies) for multi-objective reinforcement learning. [Background technology]

[0002] In the technical field, a policy is a term that means a decision-making rule of a decision-making entity (agent). Reinforcement learning (RL) has been attracting attention as a technique for estimating policies, following its success in the field of games (Non-Patent Document 2). The objective of standard reinforcement learning is to estimate a policy by maximizing the "expected value" of the cumulative discounted sum of rewards (also called profits) expressed as "scalar values". However, in recent years, a number of reinforcement learning techniques with different objectives have been developed in different contexts.

[0003] (Example 1) The first example is a group of techniques called multi-objective reinforcement learning (MORL). MORL considers settings in which rewards are expressed as "vector values" rather than "scalar values". This is equivalent to considering a situation in which there are multiple goals to achieve.

[0004] For example, consider an agent that is a cleaning robot. The robot must make decisions to achieve multiple goals simultaneously: to clean up as much stuff as possible, and to return to a power source from time to time to recharge its batteries so it can continue to operate. The goal of cleaning up as much stuff as possible can be evaluated, for example, by setting the first dimension of the reward vector to a positive value when the item is put in place. The goal of charging the battery can be evaluated, for example, by setting the second dimension of the reward vector to a positive value the closer the battery is to full.

[0005] MORL is generally performed to find a set of Pareto-optimal policies that maximize the profit of multidimensional rewards. For example, various algorithms are known depending on the setting, such as whether the degree of preference for each goal, called Preference, is known or not. Non-Patent Document 5 lists approaches called single policy and multiple policy.

[0006] (Example 2) The second example is a group of techniques called Distributional Reinforcement Learning (DRL) (Non-Patent Documents 1, 3, 4). In DRL, the objective is to maximize "any statistic not limited to the expected value" by estimating the probability distribution of the profit, rather than the "expected value" of the profit. For example, Non-Patent Documents 3 and 4 estimate a strategy to maximize the median or quantile of the profit. By using the median or quantile, it is possible to perform a robust estimation compared to the expected value, which is generally susceptible to the influence of noise (very large or small values).

[0007] Maximizing a quantile can also be used to estimate a risk-averse or risk-seeking policy. For example, maximizing the 10% quantile can be used to estimate a policy with a risk-averse objective function that has a 90% chance of obtaining a cumulative discounted sum greater than that value. Similarly, maximizing the 90% quantile can be used to estimate a more risk-seeking policy that only has a 10% chance of obtaining a cumulative discounted sum greater than that value. [Prior art documents] [Non-patent literature]

[0008] [Non-Patent Document 1] MarcG Bellemare, Will Dabney, and Remi Munos. A distributional perspective on reinforcement learning. In International Conference on Machine Learning, pages 449-458, 2017.

Outdoor Tool2

Outdoor Tools3

Outdoor Tools 4

[0009] Currently, there is no known technique that can maximize any statistical quantity, not limited to expected values, as in DRL, in a setting where rewards are given as vector values ​​rather than scalar values, as in MORL. The present invention has been made in light of the above circumstances, and aims to provide a technique that makes it possible to maximize any statistical quantity in a setting in which rewards are given as vector values. [Means for solving the problem]

[0010] A policy estimation device according to an aspect of the present invention estimates a policy of an agent that is a decision-making subject. The policy estimation device includes a storage unit that stores a program, a memory into which the program is loaded from the storage unit, and a processor that processes information according to instructions written in the program loaded into the memory. The storage unit stores a simulator, parameters of a multi-objective Markov decision process (MOMDP), and setting parameters. The simulator is a simulator that returns a reward vector and the state of the agent at the next time for the state and action of the agent, and describes an interaction with the MOMDP. The setting parameters are setting parameters when executing an algorithm that maximizes an arbitrary statistic in a setting in which the reward is given as a vector value. The processor includes an input parameter processing unit, an algorithm execution unit, and an execution result processing unit. The input parameter processing unit stores the simulator, parameters of the MOMDP, and setting parameters in the storage unit. The algorithm execution unit acquires the simulator, parameters of the MOMDP, and setting parameters from the storage unit, and generates a function that optimizes a policy based on the algorithm. The execution result processing unit outputs the generated function. Effect of the Invention

[0011] According to one aspect of the present invention, it is possible to maximize any statistic in a setting where rewards are vector-valued, which makes it possible to obtain optimal policies even when the agent's state transitions depend on the past history. [Brief description of the drawings]

[0012] [Figure 1] FIG. 1 is a diagram showing an example of pseudocode of the MODRL algorithm according to the embodiment. [Diagram 2] FIG. 2 is a functional block diagram showing an example of a policy estimation device 1 according to an embodiment of the present invention. [Diagram 3] FIG. 3 is a flowchart showing an example of a processing procedure of the policy estimation device 1 shown in FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. [Preparation] <About Markov Decision Processes (MDPs)> MDP is defined by (1).

[0014]

number

[0015] The state transition probability (also called transition probability) is expressed as (2). The state transition probability represents the probability that the quantity shown in (3) transitions to state s' when action a is executed in state s.

[0016]

number

[0017] The reward function is expressed as (4). The reward function, the quantity shown in (5), represents the reward obtained by performing action a in state s.

[0018]

number

[0019] The discount rate γ is expressed as (6).

[0020]

number

[0021] In distributional reinforcement learning, it is sometimes considered that the reward obtained is determined according to a certain probability distribution. In this case, instead of the reward function, the reward distribution expressed by (7) is treated as being given. The reward distribution in (7) is the probability distribution (density function) that the reward r obtained when the quantity in (8) transitions from state s to state s' by action a follows.

[0022]

number

[0023] In the embodiment, the symbol π is used to represent the decision-making rule (strategy) of the agent. For π, (9) holds. (9) represents the probability that the quantity shown in (10) selects action a when the agent is in state s.

[0024]

number

[0025] Let the history of interactions between the environment and the agent up to time t be expressed by equation (11).

[0026]

number

[0027] <About Value Function> The value function is important in MDP. Value function V π , and Q π represents the expected value of the sum of discounted rewards (profit) that the agent will obtain when deciding on an action according to the policy π, and is defined as follows in equations (12) and (13).

[0028]

number

[0029] Here, the expression (14) on the right-hand side of equations (12) and (13) is the history of the agent following the policy π. t Equations (15) and (16) represent the expected value of the outcome of (shown in (11)). Equations (15) and (16) are called the optimal value function.

[0030]

number

[0031] The optimal value function satisfies the following Bellman equations (equations (17) and (18)).

[0032]

number

[0033] However, the expression (19) on the right-hand side of equations (17) and (18) represents the expected value regarding the outcome of s' according to the transition probability in (3).

[0034] A policy π that satisfies (20) * is called the optimal policy.

[0035]

number

[0036] The optimal policy is given by equation (21). The expression (22) on the right-hand side of equation (21) represents an indicator function. The indicator function in (22) returns 1 if the · in ( ) is true, and 0 otherwise.

[0037]

number

[0038] From the above discussion, the problem of finding the optimal policy is reduced to the problem of finding the optimal value function.

[0039] If the state transition probability and reward function are known, the optimal value function can be obtained using planning algorithms such as value iteration, policy iteration, or linear programming. If the state transition probability and reward function are unknown, the optimal value function can be estimated using RL algorithms such as Q-learning, SARSA, and actor-critic methods. In the following discussion, the optimal value function is sometimes abbreviated to value function, but the two are synonymous.

[0040] <About Distributional Reinforcement Learning (DRL)> As mentioned above, in normal reinforcement learning, a value function that represents the expected value of the revenue is estimated. On the other hand, in DRL, a probability distribution of the revenue is estimated. The symbol η is introduced to represent the revenue (cumulative discounted sum). For η, (23) holds.

[0041]

number

[0042] Revenue is a value determined by a sequence of transitions that fluctuate probabilistically, and is a random variable. If we express this as the random variable E, the probability distribution of revenue (revenue distribution) can be expressed by equation (24).

[0043]

number

[0044] This return distribution satisfies the distributional Bellman equation in equation (25).

[0045]

number

[0046] B π is the distributional Bellman operator. Non-Patent Documents 3 and 4 develop a method for estimating the return distribution based on this distributional Bellman equation.

[0047] In parametric estimation (Non-Patent Document 4), we use a model ^P with a parameter θ that represents the distribution of earnings. E Consider the parameter estimation problem of a distribution (such as normal distribution, Laplace distribution, or asymmetric Laplace distribution). The parameters are learned so as to reduce the Kullback-Leiblar (KL) divergence of the probability distributions on the left and right sides of the distribution Bellman equation shown in equation (26).

[0048]

number

[0049] Specifically, if we treat the parameter (θ′) in (27) and the parameter (θ) in (28) as separate entities, as in TD learning, the partial derivative of the KL divergence is given by equation (29).

[0050]

number

[0051] From this, it is sufficient to repeatedly update the parameter θ using the gradient method as shown in equation (30).

[0052]

number

[0053] It is also possible to use optimization methods other than gradient methods, such as the natural gradient method. In addition, when the state transition probability and reward function are unknown, it is not possible to perform averaging of the transition probability s' and reward r in the distributed Bellman operator strictly, but it is possible to calculate (approximately) using the history of the interaction between the agent and the environment (s, a, r, s').

[0054] Specifically, the update equation should be modified as shown in (31).

[0055]

number

[0056] ~P in equation (31) E differs depending on the method used. When using an off-policy learning method such as Q-learning, it can be set as in formula (32). When using an on-policy learning method such as the SARSA method, it can be set as in formula (33).

[0057]

number

[0058] In Non-Patent Document 4, a model ^P E As described above, a simple model such as a normal distribution is used for the distribution of the profit. Alternatively, a complex model such as a neural network can be used. In fact, in Non-Patent Document 1, although it is slightly different from the method shown here, a method for estimating the distribution of the profit is developed by developing Deep Q-network, which is a representative method of deep reinforcement learning, and is constructed.

[0059] (Nonparametric Estimation) In Non-Patent Document 3, a particle filter approach is used to represent the revenue distribution. The revenue distribution of Equation (34) is estimated.

[0060]

number

[0061] In this case, the model ^ - P E For each state, there are K particles v s ={v s,1 ,…,v s,K} to construct it as shown in equation (35).

[0062]

number

[0063] When the interaction with the environment (s, a, r, s′) is obtained, the pth particle in state s and the qth particle in state s′ are randomly extracted, and the particles are updated as shown in (36) to obtain the profit distribution - P π E can be estimated.

[0064]

number

[0065] <On Reinforcement Learning for Maximizing Quantiles> By estimating the above-mentioned earnings distribution, a reinforcement learning method can be developed that aims to maximize statistics other than expected values. For example, Non-Patent Document 4 develops a method for maximizing quantiles. In this method, a function Q representing the quantiles of the earnings distribution is defined as shown in Equation (37) and used as an alternative to the conventional value function.

[0066]

number

[0067] Estimate of the return distribution^P π E The estimated value of this function, which is obtained by replacing s with the profit distribution in equation (37), is denoted as ^Q(s,a;q,θ). If the profit distribution is obtained using a nonparametric method, θ is expressed as {v s} is replaced by . Non-Patent Document 4 proposes a method of determining an action by replacing the value function of the ε-greedy policy or the soft-max policy, which are often used in Q-learning, with the function ^Q. For example, when using the soft-max policy, an action can be determined at each time according to the policy of Equation (38).

[0068]

number

[0069] In addition, ^Q(s,a;q,θ) can be calculated easily in many cases. For example, if the revenue distribution is normal distribution N(η|μ,σ 2 ), it can be calculated using equation (39).

[0070]

number

[0071] A method of determining actions and updating the revenue distribution at each step using a policy using ^Q as described above is a reinforcement learning method that maximizes statistics other than expected values, such as qQ learning and q-SARSA.

[0072] <On Multiobjective Markov Decision Processes (MOMDPs)> The MOMDP is defined by replacing the reward function R in the MDP with a (M-dimensional) function that returns a vector value, as in (40).

[0073]

number

[0074] That is, the MOMDP is defined by (41).

[0075]

number

[0076] Let Rm(s,a) denote the m-th dimension of the reward obtained by performing action a in state s. The interaction between the agent and the environment is the same as that of an MDP, except that the reward is a vector value. In the following explanation, the reward vector obtained at time t is represented by (42), and the history of the interaction between the agent and the environment up to time t is represented by (43).

[0077]

number

[0078] In MOMDP, we use a value function V that returns the following vector value: π (s), Q π (s, a) are used. They are expressed as (44) and (45), respectively.

[0079]

number

[0080] These value functions are vector-valued functions. Therefore, unlike scalar-valued functions, there are cases where the order (magnitude) cannot be defined. For example, when (46) holds in a certain state s, it is impossible to determine which of the policies π and π′ is better (in the sense that the value function value in this state s is larger).

[0081]

number

[0082] Therefore, in MOMDP, the concept of Pareto optimality used in the optimization of multi-objective functions is utilized, and the goal is to define and obtain a Pareto optimal policy.

[0083] <Definition (Pareto Dominance)> For some policies π and π′, if (47) holds for any dimension m, and if there is a dimension m′ such that (48) holds, then policy π Pareto dominates policy π′ (or if the value function V π V π′ is Pareto dominated), and is denoted as (49).

[0084]

number

[0085] <Definition (Pareto solution)> When there is no policy that Pareto dominates a certain policy π, the policy π is called a Pareto optimal policy. The value function of the Pareto optimal policy π is called the Pareto optimal value function. In general, there are multiple Pareto optimal policies. Therefore, we define the set of Pareto optimal policies as follows.

[0086] <Definition (Pareto solution set and Pareto front)> The set of Pareto optimal policies in a MOMDP is called the Pareto solution set. The set of Pareto optimal value functions is called the Pareto front.

[0087] <About scalarized functions> In constructing an algorithm for solving MOMDPs, an approach that utilizes techniques used in situations where rewards are given as scalars, such as in normal MDPs, is being considered, and the key here is the scalarization function. The scalarization function in MOMDPs is the vector-valued value function V π (s) is expressed as a scalar value V π w (s) is the function F that scalarizes (51). L Or, the augmented Chebyshev scalarization function (52) (the sign inversion) F C is often used.

[0088]

number

[0089] where vector v = (v1, ..., vm) is an M-dimensional vector, and vector w is a weight vector. The definitions of zm and ε will be described later. As is clear in the case of the linear scalarization function, the weight vector can be interpreted as determining the degree of preference for each dimension. When a linear scalarization function is used, it can be written as (53), so the value function V π wFinding a policy that maximizes (s) (at any state s) is equivalent to finding the optimal policy for a normal MDP with the reward function (54) (where the reward is given as a scalar value). In addition to the above, scalar functions such as those based on the Minkowski norm may also be used. In general, the scalarization function used is a strictly monotonically increasing function defined as follows:

[0090]

number

[0091] <Definition (strictly monotonically increasing)> If a policy π Pareto dominates policy π', then when (55) holds for a scalarization function F using any weight vector w, the scalarization function F is said to be strictly monotonically increasing.

[0092]

number

[0093] As is clear from the definition, we can use strictly monotonically increasing functions to solve MOMDPs with scalar objective functions, as in the case of ordinary MDPs, to obtain Pareto-optimal policies and value functions. Linear scalar functions (where wi is all positive) and augmented Chebyshev scalarized functions are strictly monotonically increasing.

[0094] zm in the augmented Chebyshev scalarization function corresponds to the reference point or target value of the value function, and may be a fixed value or may be a value function V π In some cases, values ​​updated using (56) are used.

[0095]

Mathematics

[0096] ε is an arbitrary positive value (generally a sufficiently small value), and the terms related to this sum are introduced so that they are strictly monotonically increasing. Also, as the extended Chebyshev scalarization, the expression (57) obtained by removing the absolute value symbol from the above formula may be used in some cases.

[0097]

Mathematics

[0098] <Reinforcement Learning Algorithms in MOMDP> Reinforcement learning algorithms in MOMDP are designed using a strictly monotonically increasing scalar-valued function. The methods are mainly classified into a method called the single policy approach and a method called the multiple policy approach (Non-Patent Document 5).

[0099] In the single policy approach, basically, one weight vector w is determined and one (Pareto) optimal policy is obtained. When it is necessary to obtain the set of Pareto optimal policies, it is executed multiple times (while changing the value of w as necessary). For example, in Non-Patent Document 6, a method based on Q-Learning is constructed. In this method, the estimated value ^Q of the value function expressed as a vector value is learned through interaction with the environment as described below. An agent in state s determines and executes the action a using the estimated value of the value function (Equation (58)) scalarized by the scalarization function F, receives the reward r, and transitions to the next state s'.

[0100]

Mathematics

[0101] In addition, the above action decision may use the ε-greedy policy or the soft-max policy. Using this one-step history (s, a, r, s′), the estimated value of the value function is updated according to equation (60) using the update formula based on Q-learning for each dimension.

[0102]

number

[0103] Here, α is the learning rate. By repeating this process a sufficient number of times, the value function can be estimated.

[0104] Non-Patent Document 6 reports that by using an (augmented) Chebyshev scalarization function and estimating a value function while adaptively updating a reference point zm, a variety of Pareto-optimal policies can be obtained even when a fixed w is used. The MODRL method described in the embodiment can be regarded as an extension of this single policy approach.

[0105] <Summary> The technology we disclose is Multi-Objective Distributional RL (MODRL), which maximizes "any statistic not limited to expected values" like DRL in a setting where rewards are given as "vector values" rather than "scalar values" like MORL.

[0106] In building MODRL, we developed existing technology in two ways: (i) In DRL, we consider the probability distribution of the discounted sum of scalar rewards, so the estimated revenue distribution is one-dimensional. However, we extend this to estimating the revenue distribution of a multidimensional distribution. (ii) Develop a policy model that uses multidimensional revenue distributions to determine actions.

[0107] In the following explanation, we assume that the MOMDP is given a multidimensional reward distribution (shown in (61)) rather than a multidimensional reward function.

[0108]

number

[0109] For simplicity, we consider a situation in which the reward distribution can be written as P for each dimension independently, but the present invention is not limited to this case.

[0110] PRm(rm|s, a, s') represents the probability distribution (density function) followed by the m-dimensional element rm of reward r obtained when transitioning from state s to state s' with action a.

[0111] First, we explain the estimation of multidimensional profit distribution. Let us denote the profit vector by the symbol (62). For the profit vector, (63) holds.

[0112]

number

[0113] The profit vector is a random variable, a value determined by a sequence of transitions that fluctuate probabilistically. If we express this as the random variable in equation (64), the probability distribution (profit distribution) that the m-dimensional element of the profit vector follows can be expressed by equation (65).

[0114]

number

[0115] This return distribution satisfies the distributional Bellman equation in equation (66).

[0116]

number

[0117] This corresponds to substituting (67) in equation (25).

[0118]

number

[0119] If we use an independent model for each dimension (shown in equation (68)) as a model representing the revenue distribution, the parameter θm can be estimated independently for each dimension, so that the quantity (69) can be estimated using the existing DRL method in which the reward is given as a scalar value.

[0120]

number

[0121] Specifically, similarly to equation (31), the parameter θm may be updated based on the environmental interaction (shown in (70)) as shown in (71).

[0122]

number

[0123] Next, we explain the policy model using a multidimensional distribution of rewards. Here, we consider using the function (72) that represents multidimensional quantiles, as in existing research on DRL that deals with scalar rewards.

[0124]

number

[0125] Other statistics can be treated in a similar manner by changing the definition of the function in (72).

[0126] Estimate of the return distribution^P π Em The distribution of returns P π EmThe estimate of function (72) obtained by substituting

[0127]

number

[0128] Since the function (72) is multidimensional, an order relationship cannot be introduced, as in the case of a multidimensional value function in MOMDP. Therefore, as in MOMDP, an action is determined using a scalarized function F. A function scalarized by a scalar function F and a weight vector w is expressed as (75). (75) can be expressed as (76).

[0129]

number

[0130] As the scalar function, a linear scalarization function or an augmented Chebyshev scalarization function can be used. Alternatively, a strictly monotonically increasing scalarization function can be used, which is expected to obtain a Pareto optimal solution. Using this, actions can be determined using a policy model such as the ε-greedy policy or the soft-max policy, just like with MOMDP. For example, when using the soft-max policy, actions can be determined at each time step according to the policy in equation (77).

[0131]

number

[0132] This made it possible to construct MODRL, which can maximize any statistical quantity, not just expected values, like DRL, in a setting where rewards are given as vector values ​​rather than scalar values ​​like MORL. An example of pseudocode of the MODRL algorithm according to the embodiment is shown in Fig. 1. Based on the above discussion, the embodiment of the present invention will now be described.

[0133] [One embodiment] (composition) 2 is a functional block diagram showing an example of a policy estimation device 1 according to an embodiment of the present invention. The policy estimation device 1 optimizes and estimates decision-making rules (policies) of a decision-making entity (agent) using the MODRL algorithm, and is configured, for example, by a personal computer or a server computer.

[0134] In FIG. 2, the policy estimation device 1 includes an interface unit 50 connected to an external device 2 such as an operation terminal, a storage 40 as a storage unit such as an SSD (Solid State Drive) or an HDD (Hard Disk Drive), a memory 60 such as a ROM (Read Only Memory) or a RAM (Random Access Memory), a processor 70, and a bus 80 connecting these.

[0135] The storage 40 includes an area (first area, second area) for storing MOMDP parameters 41, an area (third area) for storing setting parameters 42, an area for storing execution results 43, and an area for storing programs. The area for storing the MOMDP parameters 41 also stores a simulator according to the embodiment. The simulator returns a reward vector and the agent's state at the next time for the agent's state and action. This simulator describes the interaction with a multi-objective Markov decision process (MOMDP).

[0136] The setting parameters 42 are setting parameters for executing an algorithm that maximizes an arbitrary statistic (e.g., an expected value) in a setting where a reward is given by a vector value. In the embodiment, the setting parameters for executing the algorithm shown in FIG. 1 (the MODRL algorithm) are stored in the setting parameters 42 area.

[0137] The processor 70 is an arithmetic element, such as a CPU (Central Processing Unit) or an MPU (Micro Processing Unit), that processes information according to instructions written in a program loaded from the storage 40 to the memory 60 .

[0138] The processor 70 includes an input parameter processing unit 10, a MODRL algorithm execution unit 20, and an execution result processing unit 30 as processing functions according to the embodiment. The input parameter processing unit 10 stores the above simulator, MOMDP parameters, and setting parameters in the storage 40.

[0139] The MODRL algorithm execution unit 20 obtains the simulator, the MOMDP parameters, and the setting parameters from the storage 40, and generates a function that optimizes the policy based on the MODRL algorithm.

[0140] The execution result processing unit 30 outputs the function generated by the MODRL algorithm executing unit 20 to the external device 2 etc. In addition, the execution result processing unit 30 outputs the final result of the policy model calculated using the generated function.

[0141] (action) Next, the operation of the policy estimation device 1 according to the embodiment will be described. FIG. 3 is a flowchart showing an example of a processing procedure of the policy estimation device 1 shown in FIG. 2. In FIG. 3, the processor 70 stores in the storage 40 a simulator describing the interaction with the MOMDP (step S1). Next, the processor 70 stores the parameters of the MOMDP (discount rate γ) in the storage 40 (step S2). Next, the processor 70 stores the parameters at the time of algorithm execution (scalarized function F to be used, weight vector w, and revenue distribution model ^P E , quantile q, policy model π, parameter β of the policy model, and other settings of the optimization method and learning rate to be used) are stored in storage 40 (step S3).

[0142] Next, the processor 70 reads out the simulator and each parameter including the discount rate γ and the setting parameters from the storage 40 (step S4), and calculates a function ^ for optimizing the policy by the RL algorithm shown in FIG. - Generate Q (step S5). In this step, the policy model may be calculated using the generated function.

[0143] The processor 70 then calculates the generated function function ^ - Q or a policy model calculated using the generated function is output (step S6), and the calculation result by the MODRL algorithm is stored in the storage 40 (execution result 43).

[0144] Note that, although an example of optimizing a function defined using quantiles as the MODRL algorithm has been shown here, any statistic that can be calculated from the profit distribution can be used. In addition, any distribution can be used for the profit distribution model, such as a normal distribution, Laplace distribution, asymmetric Laplace distribution, mixed distribution, or a distribution defined using a neural network, or a parametric or non-parametric model. In addition, any optimization method can be used to update the parameters of the profit distribution, such as the gradient method, natural gradient method, or Adam, an optimization method used in deep learning.

[0145] (effect) As described above, according to the embodiment, in a setting where rewards are given as "vector values" rather than "scalar values", it is possible to construct a multi-objective distributional reinforcement learning (MODRL) that maximizes "any statistic not limited to expected values" like DRL. That is, according to the embodiment, it is possible to expand the estimated payoff distribution to one that estimates a multidimensional payoff distribution, and to construct a policy model that determines actions using the multidimensional payoff distribution.

[0146] The present invention is not limited to the above embodiment. For example, in the embodiment, an example in which the income distribution is estimated using a parametric model has been described. However, the present invention is not limited to this, and a non-parametric model may be used. In addition, when a complex model such as a neural network is used, an optimization method used in deep learning such as Adam may be used to update the parameters of the income distribution.

[0147] Moreover, each functional unit included in the policy estimation device 1 may be distributed among a plurality of devices, and these devices may perform processing by coordinating with each other. Each functional unit may be realized by using a circuit. The circuit may be a dedicated circuit for realizing a specific function, or may be a general-purpose circuit such as a processor.

[0148] Furthermore, the flow of each process described above is not limited to the procedure described above, and the order of some steps may be changed, or some steps may be performed simultaneously in parallel. Also, the series of processes described above do not need to be performed consecutively in time, and each step may be performed at any timing.

[0149] Processor 70 may also be implemented in a variety of other forms, including, for example, an integrated circuit such as an Application Specific Integrated Circuit (ASIC) or a field-programmable gate array (FPGA).

[0150] The program for implementing the above-mentioned processing may be provided by being stored in a computer-readable recording medium (or storage medium). The program is stored in the recording medium as a file in an installable format or an executable format. Examples of recording media include magnetic disks, optical disks (CD-ROM, CD-R, DVD-ROM, DVD-R, etc.), magneto-optical disks (MO, etc.), and semiconductor memories. The program for implementing the above-mentioned processing may also be stored on a computer (server) connected to a network such as the Internet, and downloaded to a computer (client) via the network.

[0151] In addition, the specific types of algorithms and the configuration of the neural network can be modified in various ways without departing from the spirit and scope of the present invention.

[0152] The operation of each component of the policy estimation device according to the embodiment can be constructed as a program, which can be installed and executed on a computer used as the policy estimation device, or distributed via a network. The present invention is not limited to the above-mentioned embodiments, and various modifications and applications are possible.

[0153] In short, this invention is not limited to the above-mentioned embodiment, and can be modified in various ways in the implementation stage without departing from the gist of the invention. In addition, each embodiment may be implemented in appropriate combination, in which case the combined effect can be obtained. Furthermore, the above-mentioned embodiment includes various inventions, and various inventions can be extracted by combinations selected from the multiple constituent elements disclosed. For example, if the problem can be solved and the effect can be obtained even if some constituent elements are deleted from all the constituent elements shown in the embodiment, the configuration from which the constituent elements are deleted can be extracted as an invention. [Explanation of symbols]

[0154] 1...Policy estimation device 2...External device 10... Input parameter processing section 20…MODRL algorithm execution unit 30...Execution result processing section 40…Storage 41...MOMDP parameters 42...Setting parameters 43...Execution result 50...Interface section 60…Memory 70…Processor 80...bus.

Claims

1. A policy estimation device that estimates a policy of an agent that is a decision-making subject, comprising: A storage unit that stores a program; a memory into which the program is loaded from the storage unit; a processor for processing information according to instructions contained in a program loaded into said memory; The storage unit is a first area for storing a simulator describing the interaction with a multi-objective Markov decision process (MOMDP) ​​that returns a reward vector for the state and action of the agent and the state of the agent at the next time; a second area for storing parameters of the MOMDP; and a third area for storing setting parameters for executing an algorithm for maximizing an arbitrary statistic in a setting in which a reward is given by a vector value; The processor, an input parameter processing unit that stores the simulator, the parameters of the MOMDP, and the setting parameters in the storage unit; an algorithm execution unit that acquires the simulator, the parameters of the MOMDP, and the setting parameters from the storage unit, and generates a function that optimizes the policy based on the algorithm; and an execution result processing unit that outputs the generated function.

2. The policy estimation device according to claim 1 , wherein the execution result processing unit outputs a final result of the policy model calculated using the function.

3. The policy estimating device according to claim 1 , wherein the statistic is a quantile.

4. The policy estimating device according to claim 1 , wherein the algorithm is a MODRL algorithm.

5. 1. A policy estimation method for estimating a policy of an agent that is a decision-making entity, using a computer having a storage unit that stores a program, a memory into which the program is loaded from the storage unit, and a processor that processes information in accordance with instructions written in the program loaded into the memory, comprising: The processor returns a reward vector and the state of the agent at the next time for the state and action of the agent, and stores in the storage unit a simulator describing the interaction with a multi-objective Markov decision process (MOMDP); The processor stores parameters of the MOMDP in the storage unit; Storing in the storage unit setting parameters when the processor executes an algorithm for maximizing an arbitrary statistic in a setting where a reward is given by a vector value; The processor acquires the simulator, the MOMDP parameters, and the setting parameters from the storage unit, and generates a function that optimizes the strategy based on the algorithm; and outputting the generated function by the processor.

6. A program causing the processor to execute processing by each unit of the device according to any one of claims 1 to 4.