Learning device, learning method, and learning program

The learning device stabilizes inverse reinforcement learning in combinatorial optimization problems by using the Wasserstein distance to ensure Lipschitz continuity, addressing the instability in existing methods and enabling effective learning in complex scenarios.

JP7537517B2Active Publication Date: 2024-08-21NEC CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2022570960
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-12-25
Publication Date
2024-08-21
Estimated Expiration
2040-12-25

AI Technical Summary

Technical Problem

Inverse reinforcement learning and imitation learning struggle to effectively apply to combinatorial optimization problems due to difficulties in setting probability distributions, particularly in non-continuous values, leading to unstable performance.

Method used

A learning device and method that utilize the Wasserstein distance as a measure to stabilize inverse reinforcement learning by ensuring the Lipschitz continuity of reward function features, allowing for trajectory estimation and parameter updates that maximize this distance.

Benefits of technology

Stable implementation of inverse reinforcement learning in combinatorial optimization problems, enabling effective learning in complex scenarios like routing, scheduling, and packing problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007537517000012
    Figure 0007537517000012
  • Figure 0007537517000010
    Figure 0007537517000010
  • Figure 0007537517000014
    Figure 0007537517000014
Patent Text Reader

Abstract

A function input means 91 receives an input of a reward function in which a feature quantity is set so as to satisfy the Lipschitz continuity condition. An estimation means 92 estimates a trajectory that minimizes a Wasserstein distance that represents the distance between the probability distribution of a trajectory of an expert and the probability distribution of a trajectory that is determined on the basis of a parameter of the reward function. An update means 93 updates the parameter of the reward function so as to maximize the Wasserstein distance on the basis of the estimated trajectory.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a learning device, a learning method, and a learning program for performing inverse reinforcement learning. [Background technology]

[0002] Reinforcement learning (RL) is known as one of the machine learning techniques. Reinforcement learning is a technique for learning actions that maximize value through trial and error of various actions. In reinforcement learning, a reward function is set to evaluate this value, and actions that maximize this reward function are explored. However, setting the reward function is generally difficult.

[0003] Inverse Reinforcement Learning (IRL) is known as a method to easily set this reward function. Inverse Reinforcement Learning uses the decision-making history data of an expert to generate a reward function that reflects the expert's intention by repeating optimization using the reward function and updating the parameters of the reward function.

[0004] Non-Patent Document 1 describes maximum entropy inverse reinforcement learning (ME-IRL), which is one type of inverse reinforcement learning. In the method described in Non-Patent Document 1, data D={τ 1 , τ 2 ,…τ N}(where τ i =((s 1 ,a 1 ),(s 2 ,a 2 ),…,(s N ,a N ))) We estimate a single reward function R(s,a) = θ f(s,a). Using this estimated θ, we can reproduce the decision-making of an expert.

[0005] In addition, Non-Patent Document 2 describes GCL (Guided Cost Learning), which is one of the inverse reinforcement learning methods that improves maximum entropy inverse reinforcement learning. In the method described in Non-Patent Document 2, the weights of the reward function are updated using importance sampling.

[0006] In addition, imitation learning is also known, which combines inverse reinforcement learning, which learns a reward function, and behavioral imitation, which directly learns a policy, to reproduce a given behavioral history (see, for example, Non-Patent Document 3). [Prior art documents] [Non-patent literature]

[0007] [Non-Patent Document 1] BD Ziebart, A. Maas, JA Bagnell, and AK Dey, “Maximum entropy inverse reinforcement learning”, In AAAI, AAAI'08, 2008. [Non-Patent Document 2] Chelsea Finn, Sergey Levine, Pieter Abbeel, "Guided Cost Learning: Deep Inverse Optimal Control via Policy Optimization", Proceedings of The 33rd International Conference on Machine Learning, PMLR 48, pp.49-58, 2016. [Non-Patent Document 3] Jonathan Ho, Stefano Ermon, "Generative adversarial imitation learning", NIPS'16: Proceedings of the 30th International Conference on Neural Information Processing Systems, pp.4572-4580, December 2016 Summary of the Invention [Problem to be solved by the invention]

[0008] In inverse reinforcement learning and imitation learning, a reward function is learned so as to reduce the difference between the action history of an expert to be reproduced and an optimized execution result. In the inverse reinforcement learning and imitation learning described in Non-Patent Documents 1 to 3, the above-mentioned difference is defined by a probabilistic distance such as KL (Kullback-Leibler) divergence or JS (Jensen-Shannon) divergence.

[0009] In general, gradient methods are used to update the parameters of the reward function. However, it is difficult to set a probability distribution in combinatorial optimization problems, which is the case for most real-world problems, and it is difficult to apply the above-mentioned inverse reinforcement learning to combinatorial optimization problems.

[0010] Therefore, an object of the present invention is to provide a learning device, a learning method, and a learning program that can stably perform inverse reinforcement learning in combinatorial optimization problems. [Means for solving the problem]

[0011] The learning device according to the present invention is characterized by comprising a function input means for receiving an input of a reward function whose features are set to satisfy the Lipschitz continuity condition, an estimation means for estimating a trajectory that minimizes a Wasserstein distance that represents the distance between the probability distribution of an expert's trajectory and the probability distribution of a trajectory determined based on the parameters of the reward function, and an update means for updating the parameters of the reward function based on the estimated trajectory so as to maximize the Wasserstein distance.

[0012] The learning method according to the present invention includes receiving an input of a reward function in which a feature amount is set so as to satisfy the Lipschitz continuity condition, estimating a trajectory that minimizes a Wasserstein distance that represents the distance between a probability distribution of an expert's trajectory and a probability distribution of a trajectory determined based on the parameters of the reward function, and updating the parameters of the reward function based on the estimated trajectory so as to maximize the Wasserstein distance. The purpose of the program is to make a computer execute the program. It is a sign.

[0013] The learning program according to the present invention is characterized in that it causes a computer to execute a function input process that accepts input of a reward function whose features are set to satisfy the Lipschitz continuity condition, an estimation process that estimates a trajectory that minimizes the Wasserstein distance, which represents the distance between the probability distribution of an expert's trajectory and the probability distribution of a trajectory determined based on the parameters of the reward function, and an update process that updates the parameters of the reward function based on the estimated trajectory so as to maximize the Wasserstein distance. Effect of the Invention

[0014] According to the present invention, inverse reinforcement learning can be stably performed for combinatorial optimization problems. [Brief description of the drawings]

[0015] [Figure 1] 1 is a block diagram showing an example of the configuration of an embodiment of a learning device according to the present invention; [Diagram 2] FIG. 1 is an explanatory diagram showing an example of inverse reinforcement learning using Wasserstein distance. [Diagram 3] 13 is a flowchart showing an example of the operation of the learning device. [Figure 4] 1 is a block diagram showing an overview of a learning device according to the present invention; [Diagram 5] FIG. 1 is a schematic block diagram illustrating a configuration of a computer according to at least one embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] First, we explain why it is difficult to apply general inverse reinforcement learning to combinatorial optimization problems. In ME-IRL described in Non-Patent Document 1, in order to resolve the uncertainty of the existence of multiple reward functions that reproduce the trajectory (action history) of an expert, the distribution of trajectories is specified using the maximum entropy principle, and the reward function is learned by approximating the true distribution (i.e., maximum likelihood estimation).

[0017] In ME-IRL, the trajectory τ is expressed by the following formula 1, and the distribution of the trajectory p θ The probability model representing (τ) is expressed by the following formula 2. θ (τ) is the cost function, which is reversed in sign (i.e., -c θ (τ)) to obtain the reward function r θ (τ) (see Equation 3). Also, Z represents the sum of rewards for all trajectories (see Equation 4).

[0018]

number

[0019] The update rule for the weights of the reward function by maximum likelihood estimation (specifically, the gradient ascent method) is expressed by the following formulas 5 and 6. In formula 5, α is the step size, and L ME (θ) is the distance measure between distributions used in ME-IRL.

[0020]

number

[0021] As described above, the second term in Equation 6 is the sum of rewards for all trajectories. ME-IRL assumes that the value of this second term can be calculated exactly. However, in reality, it is difficult to calculate the sum of rewards for all trajectories, so in GCL described in Non-Patent Document 2, this value is calculated approximately by importance sampling.

[0022] However, combinatorial optimization problems involve discrete values ​​(in other words, values ​​that are not continuous), so it is difficult to set a probability distribution that returns the probability corresponding to a given input value. This is because in combinatorial optimization problems, even a small change in the value of the objective function can result in a large change in the outcome.

[0023] For example, typical examples of combinatorial optimization problems include the routing problem, the scheduling problem, the cut-and-pack problem, and the allocation-matching problem. Specifically, the routing problem is, for example, the transportation routing problem and the traveling salesman problem, the scheduling problem is, for example, the job shop problem and the work schedule problem, the cut-and-pack problem is, for example, the knapsack problem and the bin packing problem, and the allocation-matching problem is, for example, the maximum matching problem and the generalized allocation problem.

[0024] By using the learning device of the present disclosure, it becomes possible to stably perform inverse reinforcement learning in these combinatorial optimization problems. MODE FOR CARRYING OUT THE PRESENT DISCLOSURE Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

[0025] 1 is a block diagram showing an example of the configuration of an embodiment of a learning device according to the present invention. The learning device 100 of this embodiment is a device that performs inverse reinforcement learning to estimate a reward function from the behavior of a subject (expert) by machine learning, and specifically performs information processing based on the behavioral characteristics of the expert. The learning device 100 includes a storage unit 10, an input unit 20, a feature amount setting unit 30, a weight initial value setting unit 40, a mathematical optimization execution unit 50, a weight update unit 60, a convergence determination unit 70, and an output unit 80.

[0026] Since the inverse reinforcement learning described below is performed by the mathematical optimization execution unit 50, the weight update unit 60 and the convergence determination unit 70, an apparatus including the mathematical optimization execution unit 50, the weight update unit 60 and the convergence determination unit 70 can be referred to as an inverse reinforcement learning apparatus.

[0027] The storage unit 10 stores information necessary for the learning device 100 to perform various processes. The storage unit 10 may store decision-making history data (trajectory) of an expert received by an input unit 20 described later. The storage unit 10 may also store feature value candidates of a reward function used for learning by a mathematical optimization execution unit 50 and a weight update unit 60 described later. However, the feature value candidates do not necessarily need to be feature values ​​used in the objective function.

[0028] The storage unit 10 may also store a mathematical optimization solver for implementing a mathematical optimization execution unit 50, which will be described later. The content of the mathematical optimization solver is arbitrary and may be determined according to the environment or device on which it is executed.

[0029] The input unit 20 accepts input of information necessary for the learning device 100 to perform various processes. The input unit 20 may accept, for example, input of the decision-making history data of the expert described above (specifically, pairs of states and actions). The input unit 20 may also accept input of a constraint z of an initial state used when an inverse reinforcement learning device described later performs inverse reinforcement learning.

[0030] The feature setting unit 30 sets the feature of the reward function from data including the state and the action. Specifically, the feature setting unit 30 sets the feature of the reward function so that the gradient of the tangent is finite throughout the function, so that an inverse reinforcement learning device described later can use Wasserstein distance as a distance measure between distributions. The feature setting unit 30 may set the feature of the reward function so that the Lipschitz continuity condition is satisfied, for example.

[0031] For example, f τ Let be the feature vector of the trajectory τ. The cost function c θ (τ)=θ T f τ If we restrict it to linear, then the mapping F:τ→f τ If is Lipschitz continuous, then c θ (τ) is also Lipschitz continuous. Therefore, the feature setting unit 30 may set the feature so that the reward function becomes a linear function.

[0032] For example, the following formula 7 is 0 Since the gradient becomes infinite at , this is an inappropriate reward function for the present disclosure.

[0033]

number

[0034] The feature amount setting unit 30 may, for example, determine a reward function in which feature amounts are set in accordance with an instruction from a user, or may obtain a reward function that satisfies the Lipschitz continuity condition from the storage unit 10.

[0035] The weight initial value setting unit 40 initializes the weights of the reward function. Specifically, the weight initial value setting unit 40 sets the weights of the individual feature amounts included in the reward function. Note that the method for initializing the weights is not particularly limited, and the weights may be initialized based on any method predetermined according to the user or the like.

[0036] The mathematical optimization execution unit 50 calculates a trajectory τ that minimizes the distance between the probability distribution of the expert's trajectory (action history) and the probability distribution of a trajectory determined based on the optimized parameters (of the reward function). ^ (τ ^ Specifically, the mathematical optimization execution unit 50 uses the Wasserstein distance instead of the KL / JS divergence as a distance measure between distributions, and executes mathematical optimization to minimize the Wasserstein distance, thereby deriving the expert's trajectory τ ^ Estimate.

[0037] The Wasserstein distance is defined by the following formula 8. Note that due to the constraints of the Wasserstein distance, the cost function c θ(τ) needs to be a function that satisfies the Lipschitz continuity condition. On the other hand, in this embodiment, the feature setting unit 30 sets the feature of the reward function so as to satisfy the Lipschitz continuity condition, so that the mathematical optimization execution unit 50 can use the Wasserstein distance as shown in the following example.

[0038]

number

[0039] The Wasserstein distance defined by the above-mentioned formula 8 takes a value less than or equal to 0, and increasing this value corresponds to bringing the distributions closer together. Also, in the second term of formula 8, the cost function c θ The arguments of (i.e., τ ^ (θ,z (i) )) represents the i-th trajectory optimized with the parameter θ. Note that z is the trajectory parameter. The second term in Equation 8 is a term that can also be calculated for combinatorial optimization problems. Therefore, by using the Wasserstein distance shown in Equation 8 as a distance measure between distributions, it becomes possible to stably perform inverse reinforcement learning in combinatorial optimization problems.

[0040] The weight update unit 60 updates the estimated expert's trajectory τ ^ The weight update unit 60 updates the parameter θ of the reward function so as to maximize the distance measure between the distributions based on the estimated trajectory τ ^ may be fixed and the parameters updated by gradient ascent.

[0041] In addition, in this embodiment, the weight update unit 60 may use an update rule based on a non-expansive map (hereinafter, also referred to as a non-expansive map gradient method) in order to monotonically increase the Wasserstein distance when updating the parameters of the reward function. The non-expansive map gradient method will be described in detail below.

[0042] Here, we will use a linear function as the reward function. As described above, the feature vector of the trajectory τ is expressed as f τ Then, the reward function is expressed as shown in Equation 9 below.

[0043]

number

[0044] In this case, to guarantee the monotonically increasing nature of the Wasserstein distance, a and the locus τ b , and the feature vector f τa and feature vector f τb There must be a constant K that satisfies the relationship illustrated in the following equation 10.

[0045]

number

[0046] Here, the above-mentioned formula 10 can be rewritten as the following formula 11.

[0047]

number

[0048] The parameter of the reward function updated at the tth time is θ t , the Wasserstein distance is W(θ t ), and the step size is α t In this case, the update rule for the parameters of the reward function can be expressed as shown in Equation 12 below.

[0049]

number

[0050] The weight update unit 60 searches for a gradient step size that increases the Wasserstein distance under the constraint that the update rule for the parameters of the reward function (i.e., θ(t)→θ(t+1)) is a non-expansive mapping, and updates the parameters of the reward function with the step size. Specifically, the weight update unit 60 searches for a step size α t Update the reward function parameters with

[0051]

number

[0052] Equations 13 and 14 show that the Wasserstein distance increases after parameter updates (W(θ t+1 )>W(θ t )) the Wasserstein distance W(θ t-1 ) gradient ∇W(θ t-1 ) for the current update t, the Wasserstein distance W(θ t ) gradient ∇W(θ t ) ratio (||∇W(θ t-1 )|| / ||∇W(θ t )||) and the step size α of the previous update t-1 t-1 A positive step size α that is less than or equal to the product of t This indicates that the value of

[0053] For example, in the case of a combinatorial optimization problem, the estimation result by the mathematical optimization execution unit 50 may become discontinuous with respect to changes in the reward function. Specifically, in an update in which maximization and minimization of a certain value are alternately performed, the value often oscillates and may take time to converge. On the other hand, in this embodiment, the mathematical optimization execution unit 50 uses the above-mentioned non-expansion mapping gradient method, which makes it possible to update parameters while ensuring the monotonically increasing nature of the Wasserstein distance.

[0054] Thereafter, the mathematical optimization execution unit 50 repeats the trajectory estimation process and the weight update unit 60 repeats the parameter update process until the convergence determination unit 70, which will be described later, determines that the Wasserstein distance has converged.

[0055] The convergence determination unit 70 determines whether the distance measure between the distributions has converged. Specifically, the convergence determination unit 70 determines whether the Wasserstein distance has converged. Any determination method may be used, and the convergence determination unit 70 may determine that the distance measure between the distributions has converged, for example, when the absolute value of the Wasserstein distance between the distributions becomes smaller than a predetermined threshold value.

[0056] When the convergence determination unit 70 determines that the distance has not converged, it continues the processing by the mathematical optimization execution unit 50 and the weight update unit 60. On the other hand, when the convergence determination unit 70 determines that the distance has converged, it ends the processing by the mathematical optimization execution unit 50 and the weight update unit 60.

[0057] The output unit 80 outputs the learned reward function.

[0058] 2 is an explanatory diagram showing an example of inverse reinforcement learning using the Wasserstein distance. Note that the inverse reinforcement learning using the Wasserstein distance described in this disclosure may be referred to as Wasserstein IRL (WIRL).

[0059] First, based on the initial state constraint z and the reward function for the parameter θ with the initial values ​​set, an optimization solver is used to perform mathematical optimization to minimize the Wasserstein distance to find a trajectory τ ^ The optimization solver illustrated in FIG.

[0060] On the other hand, the estimated trajectory τ ^ Based on the input trajectory τ of the expert, the parameters of the reward function (cost function) are updated by performing mathematical optimization so as to maximize the Wasserstein distance. This process corresponds to the process of the weight update unit 60.

[0061] Thereafter, the process illustrated in FIG. 2 is repeated until it is determined that the Wasserstein distance has converged.

[0062] The input unit 20, the feature setting unit 30, the weight initial value setting unit 40, the mathematical optimization execution unit 50, the weight update unit 60, the convergence judgment unit 70, and the output unit 80 are realized by a computer processor (e.g., a CPU (Central Processing Unit)) that operates according to a program (learning program).

[0063] For example, the program may be stored in a storage unit 10 included in the learning device 100, and the processor may read the program and operate, in accordance with the program, as an input unit 20, a feature value setting unit 30, an initial weight value setting unit 40, a mathematical optimization execution unit 50, a weight update unit 60, a convergence determination unit 70, and an output unit 80. Furthermore, the functions of the learning device 100 may be provided in a SaaS (Software as a Service) format.

[0064] Also, the input unit 20, the feature quantity setting unit 30, the weight initial value setting unit 40, the mathematical optimization execution unit 50, the weight update unit 60, the convergence judgment unit 70, and the output unit 80 may each be realized by dedicated hardware. Also, a part or all of the components of each device may be realized by a general-purpose or dedicated circuit, processor, etc., or a combination of these. These may be configured by a single chip, or may be configured by multiple chips connected via a bus. A part or all of the components of each device may be realized by a combination of the above-mentioned circuits, etc., and a program.

[0065] Furthermore, when some or all of the components of the learning device 100 are realized by multiple information processing devices, circuits, etc., the multiple information processing devices, circuits, etc. may be centrally or distributed. For example, the information processing devices, circuits, etc. may be realized as a client-server system, cloud computing system, etc., in a form in which each is connected via a communication network.

[0066] Next, the operation of the learning device 100 of this embodiment will be described. Fig. 3 is a flowchart showing an example of the operation of the learning device 100 of this embodiment. The input unit 20 accepts input of expert data (i.e., trajectory / decision-making history data of an expert) (step S11). The feature amount setting unit 30 sets the feature amount of the reward function from data including states and actions so as to satisfy the Lipschitz continuity condition (step S12). In addition, the weight initial value setting unit 40 initializes the weights (parameters) of the reward function (step S13).

[0067] The mathematical optimization execution unit 50 receives an input of a reward function in which features are set to satisfy the Lipschitz continuity condition (step S14). Then, the mathematical optimization execution unit 50 executes mathematical optimization to minimize the Wasserstein distance (step S15). Specifically, the mathematical optimization execution unit 50 estimates a trajectory that minimizes the Wasserstein distance, which represents the distance between the probability distribution of the expert's trajectory and the probability distribution of a trajectory determined based on the parameters of the reward function.

[0068] The weight update unit 60 updates the parameters of the reward function based on the estimated trajectory so as to maximize the Wasserstein distance (step S16). The weight update unit 60 may update the parameters of the reward function using, for example, a non-expansive gradient method.

[0069] The convergence determination unit 70 determines whether the Wasserstein distance has converged (step S17). If it is determined that the Wasserstein distance has not converged (No in step S17), the process from step S15 onward is repeated using the updated trajectory. On the other hand, if it is determined that the Wasserstein distance has converged (Yes in step S17), the output unit 80 outputs the learned reward function (step S18).

[0070] As described above, in this embodiment, the mathematical optimization execution unit 50 receives an input of a reward function in which a feature amount is set so as to satisfy the Lipschitz continuity condition, and estimates a trajectory that minimizes the Wasserstein distance, which represents the distance between the probability distribution of the expert's trajectory and the probability distribution of a trajectory determined based on the parameters of the reward function. Then, the weight update unit 60 updates the parameters of the reward function based on the estimated trajectory so as to maximize the Wasserstein distance. Therefore, inverse reinforcement learning can be stably performed in a combinatorial optimization problem.

[0071] Next, an overview of the present invention will be described. Fig. 4 is a block diagram showing an overview of a learning device according to the present invention. A learning device 90 (e.g., a learning device 100) according to the present invention includes a function input means 91 (e.g., a mathematical optimization execution unit 50) that accepts an input of a reward function in which a feature amount is set so as to satisfy the Lipschitz continuity condition, an estimation means 92 (e.g., a mathematical optimization execution unit 50) that estimates a trajectory that minimizes the Wasserstein distance that represents the distance between the probability distribution of the expert's trajectory and the probability distribution of a trajectory determined based on the parameters of the reward function, and an update means 93 (e.g., a weight update unit 60) that updates the parameters of the reward function so as to maximize the Wasserstein distance based on the estimated trajectory.

[0072] With such a configuration, inverse reinforcement learning can be stably performed in combinatorial optimization problems.

[0073] The update means 93 may update the parameters of the reward function using a non-expansive mapping gradient method, which is an update rule based on a non-expansive mapping.

[0074] Specifically, the update means 93 updates the parameters so that the Wasserstein distance (for example, W(θ)) becomes larger (i.e., W(θ t+1 )>W(θ t )), the gradient of the Wasserstein distance at the previous update (t-1) (e.g., ∇W(θ t-1 )) to the Wasserstein distance gradient (e.g., ∇W(θ t)) and the step size of the previous update (e.g., α t-1 ) and the step size (for example, α t ) may update the parameters of the reward function (e.g., see Equations 13 and 14).

[0075] Furthermore, the learning device 90 may include a determination means (e.g., a convergence determination unit 70) for determining whether or not the Wasserstein distance has converged. If it is determined that the Wasserstein distance has not converged, the estimation means 92 may estimate a trajectory that minimizes the Wasserstein distance, which represents the distance between the probability distribution of the expert's trajectory and the probability distribution of a trajectory determined based on the updated reward function parameters, and the update means 93 may update the reward function parameters based on the estimated trajectory so as to maximize the Wasserstein distance.

[0076] Furthermore, the function input means 91 may receive an input of a reward function in which the feature amount is set to be a linear function.

[0077] 5 is a schematic block diagram showing the configuration of a computer according to at least one embodiment. A computer 1000 includes a processor 1001, a main memory device 1002, an auxiliary memory device 1003, and an interface 1004.

[0078] The above-mentioned learning device 90 is implemented in a computer 1000. The operations of the above-mentioned processing units are stored in the form of a program (learning program) in an auxiliary storage device 1003. The processor 1001 reads the program from the auxiliary storage device 1003, loads it in the main storage device 1002, and executes the above-mentioned processing in accordance with the program.

[0079] In at least one embodiment, the auxiliary storage device 1003 is an example of a non-transitory tangible medium. Other examples of non-transitory tangible media include a magnetic disk, a magneto-optical disk, a CD-ROM (Compact Disc Read-only memory), a DVD-ROM (Read-only memory), and a semiconductor memory connected via the interface 1004. In addition, when this program is distributed to the computer 1000 via a communication line, the computer 1000 that receives the program may load the program into the main storage device 1002 and execute the above-mentioned process.

[0080] The program may be for realizing part of the above-mentioned functions. Furthermore, the program may be a so-called differential file (differential program) that realizes the above-mentioned functions in combination with another program already stored in the auxiliary storage device 1003.

[0081] A part or all of the above-described embodiments can be described as, but is not limited to, the following supplementary notes.

[0082] (Appendix 1) A function input means for receiving an input of a reward function in which a feature value is set so as to satisfy the Lipschitz continuity condition; an estimation means for estimating a trajectory that minimizes a Wasserstein distance that represents a distance between a probability distribution of an expert's trajectory and a probability distribution of a trajectory determined based on a parameter of the reward function; and updating means for updating parameters of the reward function based on the estimated trajectory to maximize the Wasserstein distance. A learning device characterized by:

[0083] (Appendix 2) The update method updates the parameters of the reward function using the non-expansive mapping gradient method, which is an update rule based on a non-expansive mapping. 2. The learning device of claim 1.

[0084] (Appendix 3) The update means updates the parameters of the reward function with a step size equal to or smaller than the product of the step size at the previous update and the ratio of the gradient of the Wasserstein distance at the current update to the gradient of the Wasserstein distance at the previous update, so that the Wasserstein distance after the parameter update becomes larger. 3. The learning device according to claim 1 or 2.

[0085] (Appendix 4) A determination means for determining whether the Wasserstein distance has converged, When it is determined that the Wasserstein distance has not converged, the estimation means estimates a trajectory that minimizes the Wasserstein distance, which represents a distance between a probability distribution of a trajectory of an expert and a probability distribution of a trajectory determined based on the updated parameters of the reward function, and the update means updates the parameters of the reward function based on the estimated trajectory so as to maximize the Wasserstein distance. 4. A learning device according to any one of claims 1 to 3.

[0086] (Appendix 5) The function input means accepts input of a reward function in which the features are set to be a linear function. 5. A learning device according to any one of claims 1 to 4.

[0087] (Appendix 6) Accepts input of a reward function whose features are set to satisfy the Lipschitz continuity condition, A trajectory that minimizes a Wasserstein distance that represents a distance between a probability distribution of an expert's trajectory and a probability distribution of a trajectory determined based on parameters of the reward function is estimated; Update the parameters of the reward function based on the estimated trajectory to maximize the Wasserstein distance. A learning method comprising:

[0088] (Appendix 7) Update the reward function parameters using the non-expansive map gradient method, which is an update rule based on a non-expansive map. Study method described in Appendix 6.

[0089] (Appendix 8) To the computer, A function input process that accepts an input of a reward function whose features are set to satisfy the Lipschitz continuity condition; An estimation process for estimating a trajectory that minimizes a Wasserstein distance that represents a distance between a probability distribution of an expert's trajectory and a probability distribution of a trajectory determined based on parameters of the reward function; and An update process that updates the parameters of the reward function to maximize the Wasserstein distance based on the estimated trajectory. A program storage medium that stores a learning program for executing the above.

[0090] (Appendix 9) To the computer, In the update process, the parameters of the reward function are updated using the non-expansive map gradient method, which is an update rule based on a non-expansive map. 9. The program storage medium according to claim 8, storing a learning program for the purpose.

[0091] (Appendix 10) To the computer, A function input process that accepts an input of a reward function whose features are set to satisfy the Lipschitz continuity condition; An estimation process for estimating a trajectory that minimizes a Wasserstein distance that represents a distance between a probability distribution of an expert's trajectory and a probability distribution of a trajectory determined based on parameters of the reward function; and An update process that updates the parameters of the reward function to maximize the Wasserstein distance based on the estimated trajectory. A learning program to help you implement the above.

[0092] (Appendix 11) To the computer, In the update process, the parameters of the reward function are updated using the non-expansive map gradient method, which is an update rule based on a non-expansive map. The study programme described in Appendix 10. [Explanation of symbols]

[0093] 10 Storage section 20 Input section 30 Feature setting section 40 Weight initial value setting unit 50 Mathematical Optimization Department 60 Weight Update Unit 70 Convergence judgment section 100 Learning Device

Claims

1. A function input means for receiving an input of a reward function in which a feature value is set so as to satisfy a Lipschitz continuity condition; an estimation means for estimating a trajectory that minimizes a Wasserstein distance that represents a distance between a probability distribution of an expert's trajectory and a probability distribution of a trajectory determined based on a parameter of the reward function; and updating means for updating parameters of the reward function based on the estimated trajectory to maximize the Wasserstein distance. A learning device characterized by:

2. The update method updates the parameters of the reward function using the non-expansive map gradient method, which is an update rule based on a non-expansive map. The learning device according to claim 1.

3. The update means updates the parameters of the reward function with a step size equal to or smaller than the product of the step size at the previous update and the ratio of the gradient of the Wasserstein distance at the current update to the gradient of the Wasserstein distance at the previous update, so that the Wasserstein distance after the parameter update is large.

3. The learning device according to claim 1 or 2.

4. A determination means for determining whether the Wasserstein distance has converged, When it is determined that the Wasserstein distance has not converged, the estimation means estimates a trajectory that minimizes the Wasserstein distance, which represents a distance between a probability distribution of a trajectory of an expert and a probability distribution of a trajectory determined based on the updated parameters of the reward function, and the update means updates the parameters of the reward function based on the estimated trajectory so as to maximize the Wasserstein distance. The learning device according to any one of claims 1 to 3.

5. The function input means receives an input of a reward function in which the feature is set to be a linear function. The learning device according to any one of claims 1 to 4.

6. Accepts input of a reward function with features set to satisfy the Lipschitz continuity condition, Estimating a trajectory that minimizes a Wasserstein distance that represents a distance between a probability distribution of an expert's trajectory and a probability distribution of a trajectory determined based on parameters of the reward function; Update the parameters of the reward function based on the estimated trajectory to maximize the Wasserstein distance. A learning method comprising the steps of:

7. Update the reward function parameters using the non-expansive map gradient method, which is an update rule based on a non-expansive map. The learning method according to claim 6.

8. On the computer, A function input process that accepts an input of a reward function whose features are set to satisfy the Lipschitz continuity condition; An estimation process for estimating a trajectory that minimizes a Wasserstein distance that represents a distance between a probability distribution of an expert's trajectory and a probability distribution of a trajectory determined based on parameters of the reward function; and An update process that updates the parameters of the reward function to maximize the Wasserstein distance based on the estimated trajectory. A learning program to help you implement the above.

9. On the computer, In the update process, the parameters of the reward function are updated using the non-expansive map gradient method, which is an update rule based on a non-expansive map. The learning program according to claim 8.

Citation Information

Patent Citations

  • Method for reducing exhaust gas emissions of drive system of vehicle having internal combustion engine

    JP2020177016A

  • Prediction device and prediction method

    WO2018131214A1

  • Generative neural network systems for generating instruction sequences to control an agent performing a task

    WO2019155052A1