Learning device, learning method, and learning program

The learning device facilitates safe and efficient reinforcement learning on devices by integrating rule-based safety measures with learning-based actions, addressing safety and performance challenges in conventional methods.

JP7536708B2Active Publication Date: 2024-08-20KK TOSHIBA
View PDF 5 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Conventional reinforcement learning techniques face challenges in ensuring safety and achieving optimal performance during the learning process, particularly when applied to devices like robots, leading to accidents and inefficiencies due to random behavioral searches and the need for prior learning.

Method used

A learning device that integrates an acquisition unit, first and second behavior determination units, and a selection unit to determine actions based on a reinforcement learning model and safety rules, allowing for safe and efficient learning by transitioning from rule-based to learning-based actions as the model progresses.

Benefits of technology

Enables safe and efficient reinforcement learning on actual devices by ensuring minimum performance is met while collecting learning data, reducing the risk of accidents and enhancing the learning process's effectiveness over time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007536708000013
    Figure 0007536708000013
  • Figure 0007536708000011
    Figure 0007536708000011
  • Figure 0007536708000003
    Figure 0007536708000003
Patent Text Reader

Abstract

To perform reinforcement learning while being applied to a device.SOLUTION: A learning device 10A includes an acquisition unit 40A, a first action determination unit 40B, a second action determination unit 40C, and a selection unit 40D. The acquisition unit 40A acquires a current state of a mobile robot 20 as a device. The first action determination unit 40B has a leaning function of learning a reinforcement learning model, and determines a first action of the mobile robot 20 on the basis of the current state and the reinforcement learning model. The second action determination unit 40C determines a second action of the mobile robot 20 on the basis of the current state and a first rule. The selection unit 40D selects one of the first action and the second action as a third action to be output to the mobile robot 20 according to a progress of learning of the reinforcement learning model.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] FIELD An embodiment of the present invention relates to a learning device, a learning method, and a learning program. [Background technology]

[0002] Behavioral learning is being carried out using reinforcement learning. In reinforcement learning, the optimal behavior of a device is learned by repeating various actions through trial and error. When learning is carried out using actual devices such as robots, the device may fall into an unintended state, causing accidents or breakdowns during reinforcement learning. For this reason, there is a need to ensure safety during learning.

[0003] For example, a method has been disclosed in which a rule-based framework for safe operation is determined and behavior parameters are determined by reinforcement learning within the determined framework. Also, a method has been proposed in which a control amount generated by a learning-based algorithm is corrected so as not to deviate from the control amount generated by the rule base.

[0004] However, because random behavior search is performed during reinforcement learning within the framework, conventional techniques have low performance immediately after the start of learning and take time to reach the required performance. In addition, conventional techniques require prior learning using a learning-based algorithm. For this reason, it is difficult to apply conventional techniques to reinforcement learning of equipment behavior while applying them to equipment. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2019-105891 A [Patent Document 2] Patent No. 6663822 Summary of the Invention [Problem to be solved by the invention]

[0006] The present invention has been made in consideration of the above, and has an object to provide a learning device, a learning method, and a learning program that are capable of reinforcement learning while being applied to a device. [Means for solving the problem]

[0007] The learning device according to the embodiment includes an acquisition unit, a first action decision unit, and a second action decision unit. A safety action decision-making department; and a selection unit. The acquisition unit acquires a current state of the device. The first action determination unit has a learning function of learning a reinforcement learning model and determines a first action of the device based on the current state and the reinforcement learning model. The second action determination unit determines a second action of the device based on the current state and a first rule. The safety action determination unit determines a fourth action based on the current state, the first action, and a second rule regarding safety. A selection unit selects one of the first action and the second action as a third action to be output to the device according to a progress of learning of the reinforcement learning model. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is an explanatory diagram of a learning system. [Diagram 2] Functional block diagram of the learning system. [Diagram 3] An explanatory diagram of the probability of choosing the first action. [Figure 4] FIG. [Diagram 5] FIG. [Figure 6] FIG. [Figure 7] 4 is a flowchart showing the flow of information processing of the learning device. [Figure 8] 4 is a flowchart showing the flow of information processing of a mobile robot. [Figure 9] An illustration of the reward curve. [Figure 10] Functional block diagram of the learning system. [Figure 11] FIG. [Figure 12] FIG. [Figure 13] 4 is a flowchart showing the flow of information processing of the learning device. [Figure 14] Hardware configuration diagram. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of a learning device, a learning method, and a learning program will be described in detail with reference to the accompanying drawings.

[0010] (First embodiment) FIG. 1 is an explanatory diagram showing an example of a learning system 1 of the present embodiment.

[0011] The learning system 1 includes a learning device 10A, a mobile robot 20, and an operation management system 30. The learning device 10, the mobile robot 20, and the operation management system 30 are connected to each other wirelessly or via wires so as to be able to communicate with each other.

[0012] The learning device 10A is an example of the learning device 10. The learning device 10 is an information processing device that learns the behavior of the mobile robot 20 by reinforcement learning.

[0013] The mobile robot 20 is an example of a device. The device is an object whose behavior is reinforced learning by the learning device 10. The behavior may also be called a motion. The device is a moving object with at least a part of its mechanism operating. The device operates by being controlled by a computer. The moving object may have at least a part of its mechanism operating, and may be either a moving object whose main body position moves or a fixed position whose main body position does not move. The device may be, for example, a working robot having a manipulator, a moving robot having a position moving mechanism, an automobile, a ship, or an air vehicle. The automobile may be, for example, an autonomous vehicle that runs autonomously. The air vehicle may be, for example, a drone.

[0014] In this embodiment, a mobile robot 20 is used as an example of the device.

[0015] The mobile robot 20 has, for example, a predetermined function. Fig. 1 shows an example in which the mobile robot 20 has a transport function of transporting luggage or the like while autonomously moving within a predetermined area such as a factory or warehouse. For example, the mobile robot 20 moves autonomously from a starting point A toward a destination point B. The starting point A is, for example, a waiting location for the mobile robot 20. The destination point B is, for example, a storage location for the luggage to be transported.

[0016] The departure point information indicating the departure point A and the destination point information indicating the destination point B are transmitted to the mobile robot 20 from the operation control system 30, for example.

[0017] Between the starting point A and the destination point B, for example, there are various obstacles C and no-entry areas D. The obstacles C are objects that impede the movement of the mobile robot 20. The obstacles C are, for example, other mobile robots, walls, shelves, doors, people, etc. The no-entry areas D are areas into which the mobile robot 20 is prohibited from entering. The mobile robot 20 needs to move safely and efficiently through the drivable area E while avoiding collisions with the obstacles C and avoiding entry into the no-entry areas D.

[0018] The learning device 10A performs reinforcement learning of the behavior of the mobile robot 20. The learning device 10A of this embodiment does not perform learning in advance, but performs reinforcement learning of the behavior of the mobile robot 20 while using the actual mobile robot 20 in the field.

[0019] FIG. 2 is a functional block diagram of an example of the learning system 1. As shown in FIG.

[0020] The learning system 1 includes a learning device 10A, a mobile robot 20, and a traffic management system 30. The learning device 10A, the mobile robot 20, and the traffic management system 30 are communicatively connected via a network N or the like.

[0021] The mobile robot 20 includes a control unit 22, a communication unit 24, a sensor 26, and a memory unit 28. The control unit 22, the communication unit 24, the sensor 26, and the memory unit 28 are communicatively connected via a bus 29 or the like.

[0022] The control unit 22 executes information processing in the mobile robot 20. The control unit 22 controls the behavior of the mobile robot 20. The communication unit 24 is a communication interface that communicates with the learning device 10A and the traffic control system 30 via a network N or the like.

[0023] The sensor 26 detects the mobile robot 20 and the surrounding environment of the mobile robot 20. In this embodiment, the sensor 26 detects the position information, vehicle speed information, acceleration information, environmental information, etc. of the mobile robot 20. The environmental information is information that represents the surrounding state of the mobile robot 20. The environmental information is information that represents, for example, captured images of the surroundings of the mobile robot 20, detection results of objects such as an obstacle C around the mobile robot 20, etc.

[0024] The sensor 26 may be any sensor capable of detecting the mobile robot 20 and the surrounding environment of the mobile robot 20. The sensor 26 may be, for example, a camera, a radar device, a laser range finder, a vehicle speed sensor, an acceleration sensor, or the like.

[0025] The sensor 26 may be arranged at any position and in any number as long as it can detect the mobile robot 20 and the surrounding environment of the mobile robot 20. The sensor 26 may be mounted on the outside of the mobile robot 20. For example, the sensor 26 may be installed in the mobile environment in which the mobile robot 20 moves. The sensor 26 may be installed in both the mobile robot 20 and the mobile environment in which the mobile robot 20 moves.

[0026] The control unit 22 transmits the detection results of the sensor 26 to the learning device 10A. In this embodiment, the control unit 22 transmits the detection results of the sensor 26 to the learning device 10A at predetermined time intervals. That is, the control unit 22 of the mobile robot 20 sequentially transmits successive detection results in time series to the learning device 10A.

[0027] The storage unit 28 stores various types of data and is, for example, a random access memory (RAM), a semiconductor memory element such as a flash memory, a hard disk, an optical disk, or the like.

[0028] The traffic management system 30 is an information processing device that manages the traffic of the mobile robot 20. In this embodiment, the traffic management system 30 transmits map information to the mobile robot 20. Note that the traffic management system 30 may transmit map information to both the mobile robot 20 and the learning device 10A.

[0029] The map information includes starting point information, destination point information, no-entry area information, drivable area information, obstacle information, etc. The starting point information is information that represents the starting point. The destination point information is information that represents the destination. The no-entry area information is information that represents the no-entry area. The drivable area information is information that represents the drivable area in which the mobile robot 20 can travel. Specifically, the starting point information, destination point information, no-entry area information, and drivable area information are information that respectively represent the starting point A, the destination point B, no-entry area D, and the drivable area E in FIG. 1.

[0030] The obstacle information is information that represents an obstacle C. In this embodiment, the obstacle information included in the map information is information that represents an obstacle C that is unlikely to move or that moves infrequently. The obstacle C that is unlikely to move or that moves infrequently is, for example, a wall, a shelf, a door, etc.

[0031] The learning device 10A includes a control unit 40, a memory unit 42, an input unit 44, a display unit 46, and a communication unit 48. The control unit 40, the memory unit 42, the input unit 44, the display unit 46, and the communication unit 48 are communicatively connected via a bus 49 or the like.

[0032] The storage unit 42 stores various types of data. The storage unit 42 is, for example, a semiconductor memory element such as a RAM or a flash memory, a hard disk, an optical disk, or the like. The storage unit 42 may be a storage device provided outside the learning device 10A. The storage unit 42 may also be a storage medium that stores or temporarily stores programs and various types of information downloaded via a LAN (Local Area Network) or the Internet.

[0033] The input unit 44 receives various operations by the user. The input unit 44 is, for example, a keyboard, a pointing device such as a mouse, a microphone, and the like.

[0034] The display unit 46 displays various information, such as settings related to the mobile robot 20, the state of the mobile robot 20, and the status of work being performed by the mobile robot 20.

[0035] Display unit 46 and input unit 44 may be integrated and configured as a touch panel. Input unit 44 and display unit 46 may be configured as separate entities from study device 10B. In this case, input unit 44 and display unit 46 may be configured to be communicatively connected to study device 10B.

[0036] The communication unit 48 is a communication interface that communicates with the mobile robot 20 and the traffic control system 30 via a network N or the like.

[0037] At least one of the storage unit 42 and the control unit 40 may be mounted on an external information processing device, such as a server device, connected via the network N and the communication unit 48. At least one of the functional units, which will be described later, included in the control unit 40 may be mounted on an external information processing device, such as a server device, connected to the control unit 40 via the network N and the communication unit 48.

[0038] The control unit 40 executes various information processes in the learning device 10A.

[0039] The control unit 40 includes an acquisition unit 40A, a first action decision unit 40B, a second action decision unit 40C, a selection unit 40D, a display control unit 40E, and a transmission control unit 40F.

[0040] The acquisition unit 40A, the first behavior decision unit 40B, the second behavior decision unit 40C, the selection unit 40D, the display control unit 40E, and the transmission control unit 40F are realized by one or more processors. For example, each of the above units may be realized by having a processor such as a CPU (Central Processing Unit) execute a program, that is, by software. Each of the above units may be realized by a processor such as a dedicated IC, that is, by hardware. Each of the above units may be realized by using both software and hardware. When multiple processors are used, each processor may realize one of the units, or two or more of the units.

[0041] The acquisition unit 40A acquires the current state of the mobile robot 20. The acquisition unit 40A acquires the current state of the mobile robot 20 using the detection result of the sensor 26 received from the mobile robot 20 and the map information received from the traffic control system 30. The acquisition unit 40A may receive the map information from the mobile robot 20.

[0042] The current state of the mobile robot 20 is the current state information of the mobile robot 20. The state information includes state information of the mobile robot 20 itself, state information of surrounding obstacles, and map information.

[0043] The state information of the mobile robot 20 main body is information that represents the state of the mobile robot 20 main body. The state information of the mobile robot 20 main body is, for example, position information, speed information, acceleration information, and the like of the mobile robot 20.

[0044] For example, the acquisition unit 40A acquires position information of the mobile robot 20 by analyzing images captured by a plurality of cameras included in the detection results acquired from the acquisition unit 40A. For example, the acquisition unit 40A identifies the position coordinates of the mobile robot 20 by analyzing images of the mobile robot 20 captured by a plurality of sensors 26 installed in the movement environment of the mobile robot 20. Then, the acquisition unit 40A acquires the identified position coordinates as position information of the mobile robot 20.

[0045] Also, for example, the acquisition unit 40A acquires the vehicle speed information and acceleration information of the mobile robot 20 by identifying the vehicle speed information and acceleration information included in the detection result acquired from the mobile robot 20. The acquisition unit 40A may acquire the vehicle speed information and acceleration information of the mobile robot 20 by analyzing time-series photographed images of the mobile robot 20, etc.

[0046] The status information of the surrounding obstacle is information that represents the status of the obstacle C present around the mobile robot 20. The status information of the surrounding obstacle includes, for example, position information and speed information of the obstacle C present around the mobile robot 20. The acquisition unit 40A acquires the position information and speed information of the obstacle C by analyzing the detection results of the sensor 26 such as a camera and a radar device. The acquisition unit 40A may acquire the relative position and relative speed of the obstacle C with respect to the mobile robot 20 as the position information and speed information of the obstacle C. The acquisition unit 40A may also acquire a photographed image of the periphery of the mobile robot 20 as the status information of the surrounding obstacle. The acquisition unit 40A may also acquire the status information of the surrounding obstacle by identifying the obstacle information included in the map information.

[0047] When the acquisition unit 40A acquires the current state of the mobile robot 20, it calculates a reward for the acquired current state. The reward is a reward used in learning of a reinforcement learning model provided in the first behavior decision unit 40B, which will be described later.

[0048] The acquisition unit 40A calculates a reward to be used in learning of the reinforcement learning model, based on the desirability of the current state, which is the result of the action of the mobile robot 20.

[0049] In detail, the more favorable the current state resulting from the behavior of the mobile robot 20 is, the larger the reward value calculated by the acquisition unit 40A. On the other hand, the more unfavorable the current state resulting from the behavior of the mobile robot 20 is, the smaller the reward value calculated by the acquisition unit 40A is.

[0050] The desirable state means a state in which the mobile robot 20 behaves in accordance with a predetermined criterion. The criterion may be determined in advance. For example, the desirable state may represent avoiding collision with an obstacle C, avoiding entry into a no-entry area D, reaching a destination point B, reaching a destination point B in a short time, making multiple round trips from a starting point A to a destination point B, etc.

[0051] The acquisition unit 40A determines whether the behavior of the mobile robot 20 is desirable or not based on the acquired current state of the mobile robot 20, thereby calculating a reward.

[0052] For example, in the following cases, the acquisition unit 40A determines that the behavior of the mobile robot 20 is in a favorable state and calculates a larger reward value. For example, assume that the acquisition unit 40A determines that the mobile robot 20 has reached the destination point B based on the acquired current state. In this case, the acquisition unit 40A calculates a larger reward value. Also assume that the acquisition unit 40A specifies the time required to reach the destination point B from the starting point A based on the acquired current state. In this case, the acquisition unit 40A calculates a larger reward value as the required time is shorter. Also assume that the acquisition unit 40A calculates the number of round trips per unit time from the starting point A to the destination point B based on the acquired current state. In this case, the acquisition unit 40A calculates a larger reward value as the number of round trips is greater.

[0053] Also, for example, in the following cases, the acquisition unit 40A determines that the behavior of the mobile robot 20 is in an undesirable state, and calculates a smaller reward value, for example, a negative value. For example, assume a case where the acquisition unit 40A determines that the mobile robot 20 is in an undesirable state based on the acquired current state. For example, assume a case where the acquisition unit 40A determines, based on the current state, that the destination point B cannot be reached, that the mobile robot 20 has entered a no-entry area D, that the mobile robot 20 has collided with an obstacle C, etc. In this case, the acquisition unit 40A calculates a smaller reward value.

[0054] Next, the first behavior decision unit 40B will be described. The first behavior decision unit 40B has a learning function for learning a reinforcement learning model. The first behavior decision unit 40B decides a first behavior of the mobile robot 20 based on the current state and the reinforcement learning model. That is, the first behavior decision unit 40B decides the first behavior based on learning using the reinforcement learning model.

[0055] A reinforcement learning model is a machine learning model that outputs a first action based on the current state.

[0056] The first action is information representing the next action to be taken by the mobile robot 20. In other words, the first action is information representing an action determined on a learning basis. The first action is, for example, information representing the moving direction of the mobile robot 20. The moving direction represents, for example, any one of right, left, straight ahead, and stop. The first action may be information representing the moving direction and target speed of the mobile robot 20. Also, the first action may be information representing the next action to be taken by the mobile robot 20, and is not limited to the moving direction and target speed. For example, the first action may be determined according to the operating mechanism of a device such as the mobile robot 20.

[0057] The first action decision unit 40B learns a reinforcement learning model so as to output a first action that obtains a current state with a higher reward by using the current state and reward of the mobile robot 20 acquired by the acquisition unit 40A. A known reinforcement learning algorithm may be used as the reinforcement learning algorithm. For example, Q-Learning, Sarsa, Actor-Critic, etc. may be used as the reinforcement learning algorithm.

[0058] The first action determination unit 40B outputs the first action determined based on learning using a reinforcement learning model to the selection unit 40D.

[0059] Next, the second behavior decision unit 40C will be described. The second behavior decision unit 40C decides the second behavior of the mobile robot 20 based on the current state and the first rule. That is, the second behavior decision unit 40C decides the second behavior on a rule basis using the first rule.

[0060] The second action is information that represents the next action to be taken by the mobile robot 20. In other words, the second action is information that represents an action that is determined based on a rule. The second action may be, for example, information that represents the traveling direction of the mobile robot 20, similar to the first action. Alternatively, the second action may be information that represents the traveling direction and target speed of the mobile robot 20, similar to the first action.

[0061] The first rule is a rule that satisfies at least one of ensuring the safety of the mobile robot 20 and a minimum required performance regarding the behavior of the mobile robot 20. The minimum required performance is a minimum standard required performance for the mobile robot 20 that is determined in advance by an administrator of the mobile robot 20 or the like.

[0062] For example, the first rule is to find A from the departure point information, destination point information, and map information. *The first rule is a rule that indicates that the mobile robot 20 will proceed along a route determined by a search algorithm such as the A-star method. The first rule is a rule that indicates that, when an obstacle C is present, the mobile robot 20 will stop in front of the obstacle C or proceed while avoiding the obstacle C. If the rule is set to stop in front of the obstacle C, a collision with the obstacle C is avoided. However, the greater the number of obstacles C that are detected before the mobile robot 20 reaches the destination point B, the lower the behavioral efficiency of the mobile robot 20 per unit time. For this reason, it is preferable to set the first rule so as to satisfy both the safety guarantee and the minimum required performance.

[0063] The second action decision unit 40C decides a second action, which is the next action to be taken by the mobile robot 20 from the current state, so that the next action of the mobile robot 20 is an action in accordance with the first rule. For example, the second action decision unit 40C decides the second action by inference using an IF-THEN rule expression in accordance with the first rule.

[0064] The second action determination section 40C outputs the second action determined based on the first rule to the selection section 40D.

[0065] The selection unit 40D selects either the first action or the second action as a third action to be output to the mobile robot 20 according to the progress of learning of the reinforcement learning model of the first action determination unit 40B.

[0066] As described above, the first action is an action determined based on learning using a reinforcement learning model. The second action is an action determined based on a rule according to a first rule. The selection unit 40D selects one of the learning-based first action and the rule-based second action as the third action according to the progress of learning of the reinforcement learning model.

[0067] The learning progress of the reinforcement learning model is represented by at least one of the learning time of the reinforcement learning model and the value function learned by the reinforcement learning model.

[0068] A case will be described in which the learning time of the reinforcement learning model is used as the learning progress of the reinforcement learning model. The learning time is represented by, for example, the number of trials or the calculation time of the reinforcement learning model.

[0069] The selection unit 40D changes the probability of selecting the first action and the probability of selecting the second action according to the learning time of the reinforcement learning model.

[0070] In detail, the selection unit 40D lowers the probability of selecting the first behavior and increases the probability of selecting the second behavior as the learning time becomes shorter, and increases the probability of selecting the first behavior and decreases the probability of selecting the second behavior as the learning time becomes longer. That is, the selection unit 40D sets the probability of selecting the learning-based first behavior to be smaller than the probability of selecting the rule-based second behavior at the start of learning. Then, the selection unit 40D linearly increases the probability of selecting the learning-based first behavior as the learning time passes.

[0071] Figure 3 is an explanatory diagram of an example of the probability of selecting the first action. The probability of selecting the first action is ε, and the probability of selecting the second action is 1-ε. The learning time is t. The vertical axis in Figure 3 represents the probability of selecting the first action, and the horizontal axis represents the learning time.

[0072] For example, the probability of selecting the first action at the learning start time, i.e., t = 0, is set to ε = ε0. The maximum learning time is t max Let the probability of choosing the first action at time t be ε = ε0(t / t max In this case, the probability of choosing the second action is 1-ε=ε0(1-t / t max )

[0073] At the start of learning, the selection unit 40D reduces the probability of selecting the first behavior. For example, ε=ε0=0.05. As learning time passes, the selection unit 40D increases the probability of selecting the first behavior and decreases the probability of selecting the second behavior. For this reason, the probability ε of selecting the first behavior by the selection unit 40D is represented, for example, by a line 50 shown in FIG. 3.

[0074] For this reason, in the early stages of learning when the reinforcement learning model is not yet fully learned, the probability that the second action determined by the rule base will be selected as the third action is high. As the learning of the reinforcement learning model progresses, the probability that the first action determined by the learning base will be selected as the third action is high.

[0075] That is, the selection unit 40D can select an action that can obtain a higher reward as the third action compared to the case where only the first action or only the second action is selected as the third action regardless of the progress of learning. In other words, the selection unit 40D can select a third action that can learn the reinforcement learning model while satisfying the minimum required performance for the action of the mobile robot 20, from the early stage of learning of the reinforcement learning model to the stage where learning has progressed sufficiently.

[0076] 3 shows an example in which the probability of selecting the first behavior changes linearly with respect to the study time. However, the change in the probability of selecting the first behavior is not limited to a linear change. The change in the probability of selecting the first behavior may be appropriately changed by a user's operation instruction on the input unit 44, etc.

[0077] The selection unit 40D may use the value function learned by the reinforcement learning model as the progress of learning of the reinforcement learning model. The value function may be referred to as an estimated value function. The value function may be, for example, a state value function, an action value function, an advantage function, or the like.

[0078] In this case, selection section 40D selects one of the first action and the second action as the third action, depending on the estimated value of each of the first action and the second action calculated by the value function.

[0079] For example, a case where an action value function is used as the value function will be described. In the first action decision unit 40B, the reinforcement learning model learns an action value function Q. The action value function Q(S, A) calculates an estimated value when action A is selected in state S.

[0080] The selection unit 40D calculates an estimated value of the first action using the action value function Q(S, A). Similarly, the selection unit 40D calculates an estimated value of the second action using the action value function Q(S, A). Then, the selection unit 40D changes the probability of selecting the first action and the probability of selecting the second action according to the estimated values ​​of the first action and the second action. The selection unit 40D may increase the probability of selecting the first action and the second action as the third action as the estimated values ​​of the first action and the second action are higher.

[0081] Furthermore, the selection unit 40D may increase the probability of selecting the action with the greater estimated value between the first action and the second action as the difference between the estimated value of the first action and the estimated value of the second action increases.

[0082] The selection unit 40D may select, from the first and second actions, an action having a higher estimated value calculated by the action value function Q(S, A) as the third action.

[0083] Furthermore, selection unit 40D may use both the learning time of the reinforcement learning model and the value function learned by the reinforcement learning model as the progress of learning of the reinforcement learning model.

[0084] In this case, selection unit 40D may change the probability of selecting the first behavior and the probability of selecting the second behavior based on the learning time and the value function.

[0085] For example, when the study time is less than a predetermined time, the selection unit 40D lowers the probability of selecting the first action and increases the probability of selecting the second action as the study time becomes shorter, and increases the probability of selecting the first action and decreases the probability of selecting the second action as the study time becomes longer. When the study time is equal to or longer than a predetermined time, the selection unit 40D may select, as the third action, one of the first and second actions that has a higher estimated value calculated by the action value function Q(S,A). The predetermined time may be set in advance. The predetermined time may be changeable by a user's operation instruction on the input unit 44.

[0086] In the above example, the reinforcement learning model of the first action decision-making unit 40B learns one action value function Q(S,A) and calculates the estimated values ​​of the first action and the second action, but the reinforcement learning model may also learn an action value function Q1(S,A) for the first action decision-making unit 40B and an action value function Q2(S,A) for the second action decision-making unit 40C and calculate the estimated values ​​of the first action and the second action.

[0087] In this case, the action value function Q1(S, A) is used to calculate the estimated value of the first action, and the action value function Q2(S, A) is used to calculate the estimated value of the second action.

[0088] Furthermore, when learning the action value function Q1(S, A) for the first action decision-making unit 40B, the reinforcement learning model learns using learning data when the first action and the second action are executed, and when learning the action value function Q2(S, A) for the first action decision-making unit 40B, the reinforcement learning model learns using only learning data when the second action is executed.

[0089] Returning to FIG. 2, we continue the explanation.

[0090] The display control unit 40E displays various images on the display unit .

[0091] In this embodiment, the display control unit 40E displays on the display unit 46 at least one of the following: the progress of learning of the reinforcement learning model, at least one of the probability that the selection unit 40D will select the first action and the probability that the selection unit 40D will select the second action, information indicating whether the third action is the first action or the second action, the number of times that the selection unit 40D has selected the first action, and the number of times that the selection unit 40D has selected the second action.

[0092] The progress of the reinforcement learning model displayed by the display control unit 40E is the progress at the current time. For example, the display control unit 40E displays the learning time of the reinforcement learning model, the time until the end of the learning of the reinforcement learning model, and the like as the progress at the current time. Therefore, the display control unit 40E can provide the user with the progress of the reinforcement learning model at the current time.

[0093] The probability displayed by the display control unit 40E is at least one of the probability that the selection unit 40D selects the first behavior and the probability that the selection unit 40D selects the second behavior at the current time. As described above, the probability that the selection unit 40D selects the first behavior or the second behavior changes according to the progress of the learning. Therefore, by displaying the above probability, the display control unit 40E can provide the user with at least one of the probability that the first behavior is selected and the probability that the second behavior is selected at the current time.

[0094] The information displayed by the display control unit 40E indicating whether the third action is the first action or the second action is information indicating the third action selected by the selection unit 40D at the current time. Therefore, the display control unit 40E can provide the user with information that allows the user to easily confirm whether the next action to be taken by the mobile robot 20 at the current time is the first action or the second action.

[0095] In addition, the display control unit 40E displays on the display unit 46 the number of times the first action has been selected and the number of times the second action has been selected up to the current time, thereby easily providing the user with the selection status of the first action and the second action.

[0096] The display control unit 40E may display these pieces of information on one display screen, or may display them on multiple different display screens. The display control unit 40E may display all of these pieces of information on the display screen at the same timing, or may display at least one piece of information on the display screen at a timing different from that of the other pieces of information.

[0097] 4 to 6 are schematic diagrams showing an example of the display screen 70. In FIG.

[0098] 4 is a schematic diagram showing an example of a display screen 60. The display screen 60 is an example of a display screen 70.

[0099] The display screen 60 includes an image 60A representing the progress of the learning of the reinforcement learning model, a probability 60B of selecting the first action, a number of times the first action was selected 60C, and a number of times the second action was selected 60D. Fig. 4 shows an example of the time until the end of learning of the reinforcement learning model as the image 60A representing the progress of the learning of the reinforcement learning model.

[0100] The display control unit 40E generates and displays the display screen 60 using the third action selected by the selection unit 40D, the probability ε of selecting the first action used when selecting the third action, the first action used in selecting the third action, the second action used in selecting the third action, and the progress.

[0101] 5 is a schematic diagram showing an example of the display screen 62. The display screen 62 is an example of the display screen 70.

[0102] The display screen 62 includes information indicating whether the third action is the first action or the second action. For example, assume that the candidate actions of the mobile robot 20 are "go straight", "go right", "go left", and "stop", which are directions of travel. Also assume that the first action is selected as the third action by the selection unit 40D, and the selected first action indicates the direction of travel "go straight".

[0103] In this case, for example, the display control unit 40E displays information 62C representing the learning-based action as the first action, and information 62D representing the rule-based action as the second action. Then, the display control unit 40E displays the selection icon of the information 62C in color and displays the selection icon of the information 62D in colorless. By displaying the selection icon of the information 62C in color, the display control unit 40E displays that the first action has been selected as the third action.

[0104] Also, for example, the display control unit 40E displays images representing candidate actions of the mobile robot 20 around the icon image 62B representing the mobile robot 20. Then, the display control unit 40E displays the image representing the selected "go straight" in a color or brightness different from the other candidate actions. For example, the display control unit 40E lights up the image representing "go straight" and does not light up the images representing the other candidate actions. By lighting up the image representing "go straight", the display control unit 40E displays that the traveling direction "go straight", which is the first action, has been selected as the third action.

[0105] 6 is a schematic diagram showing an example of a display screen 64. The display screen 64 is an example of a display screen 70.

[0106] The display screen 64 includes information indicating whether the third action is the first action or the second action. For example, assume that the candidate actions of the mobile robot 20 are "straight", "right", "left" and "stop", which are directions of travel. Also assume that the second action is selected as the third action by the selection unit 40D, and the selected second action indicates the direction of travel "left".

[0107] In this case, for example, the display control unit 40E displays information 64C representing the learning-based action as the first action, and information 64D representing the rule-based action as the second action. Then, the display control unit 40E displays the selection icon of the information 64D in color and displays the selection icon of the information 64C in colorless. By displaying the selection icon of the information 64D in color, the display control unit 40E displays that the second action has been selected as the third action.

[0108] Also, for example, the display control unit 40E displays images representing candidate actions of the moving robot 20 around the icon image 64B representing the moving robot 20. Then, the display control unit 40E displays the image representing the selected "left" in a color or brightness different from the other candidate actions. For example, the display control unit 40E lights up the image representing "left" and does not light up the images representing the other candidate actions. By lighting up the image representing "left", the display control unit 40E displays that the moving direction "left", which is the second action, has been selected as the third action.

[0109] The display control unit 40E displays these display screens 70 on the display unit 46, thereby making it possible to provide the user with various kinds of information such as the progress of learning in an easily understandable manner. Therefore, by checking the display screen 70, the user can easily understand whether learning of the reinforcement learning model regarding the behavior of the mobile robot 20 is in progress or completed.

[0110] Returning to FIG. 2, we continue the explanation.

[0111] The transmission control unit 40F transmits the third action selected by the selection unit 40D to the mobile robot 20 via the communication unit .

[0112] The control unit 22 of the mobile robot 20 receives map information from the traffic control system 30 via the communication unit 24. The control unit 22 controls the driving unit of the mobile robot 20 so that the mobile robot 20 starts to move from a starting point A represented by starting point information included in the map information toward a destination point B represented by destination point information included in the map information. This process causes the mobile robot 20 to start its action.

[0113] When the control unit 22 of the mobile robot 20 starts an action, it transmits the detection results of the sensor 26 to the learning device 10A. The control unit 22 sequentially transmits the detection results of the sensor 26 to the learning device 10A at predetermined intervals. The control unit 22 receives a third action from the learning device 10A as a response to the transmitted detection results. The control unit 22 controls the driving unit of the mobile robot 20 so as to execute an action corresponding to the received third action.

[0114] Therefore, the mobile robot 20 executes the third action determined by the learning device 10A. That is, the mobile robot 20 can move from the starting point A toward the destination point B by acting in accordance with the third actions sequentially transmitted from the learning device 10A.

[0115] Next, an example of the flow of information processing by the learning device 10A of this embodiment will be described.

[0116] FIG. 7 is a flowchart showing an example of the flow of information processing executed by the learning device 10A of this embodiment.

[0117] The acquisition unit 40A acquires the current state of the mobile robot 20 (step S100). The acquisition unit 40A acquires the current state of the mobile robot 20 using the detection results of the sensor 26 received from the mobile robot 20 and the map information received from the operation management system 30.

[0118] Next, the acquisition unit 40A calculates the reward for the current state acquired in step S100 (step S102).

[0119] The first action determination unit 40B performs reinforcement learning on the reinforcement learning model using the current state acquired in step S100 and the reward calculated in step S102 so as to output a first action that obtains a current state with a higher reward (step S104).

[0120] The first action decision unit 40B decides on the first action (step S106). The first action decision unit 40B decides on the first action as an output from the reinforcement learning model by inputting the current state acquired in step S100 to the reinforcement learning model that has been reinforced learned in step S104.

[0121] The second behavior decision unit 40C decides on the second behavior (step S108). The second behavior decision unit 40C decides on the second behavior of the mobile robot 20 based on the current state acquired in step S100 and the first rule.

[0122] Next, the selection unit 40D identifies the learning progress of the reinforcement learning model of the first behavior determination unit 40B (step S110). For example, the selection unit 40D identifies the learning time of the reinforcement learning model as the learning progress. As described above, the selection unit 40D may identify the value function learned by the reinforcement learning model, or the learning time and the value function, as the learning progress.

[0123] The selection unit 40D selects, according to the progress of the learning identified in step S110, one of the first action determined in step S106 and the second action determined in step S108 as the third action (step S112).

[0124] The transmission control unit 40F transmits the third behavior selected in step S112 to the mobile robot 20 (step S114).

[0125] The display control unit 40E displays the display screen 70 on the display unit 46 (step S116). Note that the timing for displaying the display screen 70 on the display unit 46 is not limited to this timing. For example, the display control unit 40E may start displaying the display screen 70 on the display unit 46 before the start of the process of step S100, and update the display contents of the display screen 70 according to the processing status by the control unit 40.

[0126] The control unit 40 judges whether or not to end the process (step S118). For example, the control unit 40 makes the judgment in step S118 by determining whether or not a signal indicating the end of the process has been input by a user's operation instruction on the input unit 44. If the judgment in step S118 is negative (step S118: No), the process returns to step S100. If the judgment in step S118 is positive (step S118: Yes), the present routine ends.

[0127] Next, an example of the flow of information processing by the mobile robot 20 of this embodiment will be described.

[0128] FIG. 8 is a flowchart showing an example of the flow of information processing executed by the mobile robot 20 of this embodiment.

[0129] The control unit 22 of the mobile robot 20 acquires map information from the traffic control system 30 via the communication unit 24 (step S200). The control unit 22 controls the driving unit of the mobile robot 20 so that the mobile robot 20 starts moving from a starting point A represented by starting point information included in the map information toward a destination point B represented by destination point information included in the map information. This process causes the mobile robot 20 to start moving (step S202).

[0130] Control unit 22 transmits the detection result of sensor 26 to learning device 10A (step S204).

[0131] The control unit 22 receives the third action from the learning device 10A as a response to the detection result transmitted in step S204 (step S206). The control unit 22 controls the driving unit of the mobile robot 20 so as to execute an action corresponding to the received third action. Therefore, the mobile robot 20 executes the third action determined by the learning device 10A (step S208).

[0132] The control unit 22 determines whether or not to end the process (step S210). For example, the control unit 22 determines whether or not to end the process by determining whether or not a process end signal has been input by an operational instruction by the user (step S210). If the determination in step S210 is negative (step S210: No), the process returns to step S204. On the other hand, if the determination in step S210 is positive (step S210: Yes), the present routine ends.

[0133] As described above, the learning device 10A of this embodiment includes an acquisition unit 40A, a first behavior decision unit 40B, a second behavior decision unit 40C, and a selection unit 40D. The acquisition unit 40A acquires the current state of the mobile robot 20, which is a device. The first behavior decision unit 40B has a learning function for learning a reinforcement learning model, and decides a first behavior of the mobile robot 20 based on the current state and the reinforcement learning model. The second behavior decision unit 40C decides a second behavior of the mobile robot 20 based on the current state and the first rule. The selection unit 40D selects either the first behavior or the second behavior as a third behavior to be output to the mobile robot 20 according to the progress of learning of the reinforcement learning model.

[0134] The first action is an action determined based on learning using a reinforcement learning model. The second action is an action determined based on a rule of a first rule. The selection unit 40D selects one of the first action and the second action as the third action according to the progress of learning of the reinforcement learning model.

[0135] Therefore, the selection unit 40D selects the second action determined on a rule basis as the third action in the early stages of learning when the learning of the reinforcement learning model is insufficient, and as the learning of the reinforcement learning model progresses, the probability of selecting the first action determined on a learning basis as the third action can be increased.

[0136] That is, the selection unit 40D can select an action that can obtain a higher reward as the third action compared to the case where only the first action or only the second action is selected as the third action regardless of the progress of learning. In other words, the selection unit 40D can select a third action that can learn the reinforcement learning model while satisfying the minimum required performance for the action of the mobile robot 20, from the early stage of learning of the reinforcement learning model to the stage where learning has progressed sufficiently.

[0137] FIG. 9 is an explanatory diagram of an example of a reward curve.

[0138] In Fig. 9, the vertical axis represents reward, and the horizontal axis represents learning time. In Fig. 9, P1 represents reward for satisfying the minimum required performance of the mobile robot 20. P2 represents reward for satisfying the optimal required performance of the mobile robot 20. Diagram 52 is a diagram showing a reward curve according to the reinforcement learning method of this embodiment. Diagram 520 is a diagram showing a reward curve according to a conventional reinforcement learning method.

[0139] As shown in FIG. 9, in the conventional reinforcement learning method, random behavior is selected, especially in the early stage of learning. For this reason, the mobile robot 20 cannot reach the destination point B, and cannot obtain a reward. In addition, in the conventional reinforcement learning method, it takes time to reach the reward P2 that satisfies the optimal required performance. In addition, in the conventional technology, when the mobile robot 20 executes an action determined based on learning in the early stage of learning when the learning of the reinforcement learning model is insufficient, the mobile robot 20 may fall into an unintended state, and an accident or breakdown may occur during reinforcement learning.

[0140] For this reason, in the conventional technology, it has been difficult to perform reinforcement learning while applying it to an actual device such as the mobile robot 20 from the standpoint of realizing required performance and ensuring safety.

[0141] On the other hand, in the learning device 10A of this embodiment, either the first action or the second action is selected as the third action according to the progress of the learning of the reinforcement learning model. Therefore, in the learning device 10A of this embodiment, the second action determined based on the rule is selected as the third action in the early learning stage when the reinforcement learning of the reinforcement learning model is insufficient, and the probability of selecting the first action determined based on the learning as the third action can be increased as the progress of the learning of the reinforcement learning model progresses. Therefore, the learning device 10A of this embodiment can cause the mobile robot 20 to act while collecting learning data while satisfying the minimum required performance from the early learning stage to the advanced learning stage.

[0142] Therefore, the learning device 10A of this embodiment can learn a reinforcement learning model while operating the mobile robot 20, which is an actual machine.

[0143] Therefore, the learning device 10A of this embodiment can perform reinforcement learning while being applied to a device.

[0144] Second embodiment In this embodiment, in addition to the above embodiment, a configuration will be described that further includes a safety action determination unit that determines an action based on rules regarding safety.

[0145] In this embodiment, the same functions and configurations as those in the above embodiment are denoted by the same reference numerals, and detailed description thereof will be omitted.

[0146] FIG. 10 is a functional block diagram of an example of a learning system 1B of this embodiment.

[0147] The learning system 1 includes a learning device 10B, a mobile robot 20, and a traffic management system 30. The learning device 10B, the mobile robot 20, and the traffic management system 30 are communicatively connected via a network N or the like. The mobile robot 20 and the traffic management system 30 are similar to those in the above embodiment.

[0148] The learning device 10B is an example of the learning device 10. The learning device 10B includes a control unit 41, a storage unit 42, an input unit 44, a display unit 46, and a communication unit 48. The control unit 41, the storage unit 42, the input unit 44, the display unit 46, and the communication unit 48 are communicatively connected via a bus 49 or the like. The learning device 10B is similar to the learning device 10A of the above embodiment, except that the learning device 10B includes a control unit 41 instead of the control unit 40.

[0149] The control unit 41 executes various information processes in the learning device 10B.

[0150] The control unit 41 includes an acquisition unit 40A, a first action decision unit 40B, a second action decision unit 40C, a safety action decision unit 41G, a selection unit 41D, a display control unit 41E, and a transmission control unit 40F. The acquisition unit 40A, the first action decision unit 40B, the second action decision unit 40C, and the transmission control unit 40F are the same as those in the above embodiment. That is, the control unit 41 is the same as the control unit 40 in the above embodiment, except that it includes a selection unit 41D and a display control unit 41E instead of the selection unit 40D and the display control unit 40E, and further includes a safety action decision unit 41G.

[0151] As described in the above embodiment, the first action decision unit 40B decides the first action on a learning basis using a reinforcement learning model. Since the first action is a learning-based action, it is not an action that takes into consideration safety according to the current state. For this reason, the first action is not necessarily a safe action. When the selection unit 41D selects the rule-based second action as the third action, the safety of the mobile robot 20 is guaranteed. However, when the selection unit 41D selects the learning-based first action, the safety of the mobile robot 20 may not be guaranteed, and the mobile robot 20 may fall into a dangerous state.

[0152] Therefore, the learning device 10B of this embodiment further includes a safe action determination unit 41G.

[0153] The safety action determining unit 41G determines the fourth action based on the current state acquired by the acquiring unit 40A, the first action determined by the first action determining unit 40B, and the second rule regarding safety.

[0154] The second rule is a rule that satisfies the safety assurance of the mobile robot 20. The second rule is, for example, a rule that indicates stopping before an obstacle C or proceeding while avoiding the obstacle C.

[0155] The safe action determination unit 41G determines the first to fourth actions so that the next action of the mobile robot 20 is an action in accordance with the second rule.

[0156] In detail, the safety action determination unit 41G judges the safety of the first action based on the current state and the second rule acquired by the acquisition unit 40A. For example, the safety action determination unit 41G judges the safety of the first action by inference using an IF-THEN rule expression according to the second rule.

[0157] Specifically, for example, the safe action determination unit 41G determines the safety of the first action in accordance with the following second rule.

[0158] For example, the safety behavior decision unit 41G calculates the possibility of the mobile robot 20 entering the no-entry area D when the mobile robot 20 executes the first action in the current state. If the calculation result of the entry possibility is lower than the first threshold, the safety behavior decision unit 41G determines that the first action is safe. On the other hand, if the calculation result of the entry possibility is equal to or higher than the first threshold, the safety behavior decision unit 41G determines that the first action is not safe. The first threshold may be determined in advance. In addition, the first threshold may be changeable by a user's operation instruction via the input unit 44.

[0159] Also, for example, the safety behavior decision unit 41G calculates the collision possibility of the mobile robot 20 colliding with an obstacle C when the mobile robot 20 executes the first action in the current state. If the calculation result of the collision possibility is lower than the second threshold, the safety behavior decision unit 41G determines that the first action is safe. On the other hand, if the calculation result of the collision possibility is equal to or higher than the second threshold, the safety behavior decision unit 41G determines that the first action is not safe. The second threshold may be determined in advance. Also, the second threshold may be changeable by a user's operation instruction via the input unit 44.

[0160] Then, when the safety action determination unit 41G determines that the first action is safe, it determines the first action as the fourth action.

[0161] On the other hand, when it is determined that the first action is not safe, the safety action decision unit 41G decides on a fourth action by modifying the first action to a safe action. In this case, the safety action decision unit 41G may modify the first action to a safe action in accordance with the second rule.

[0162] For example, the safety action decision unit 41G predetermines a highly safe action. For example, the safety action decision unit 41G predetermines information indicating a traveling direction "stop" as a safe action. Then, when the safety action decision unit 41G determines that the first action is not safe, it replaces the first action with the predetermining safety action and decides it as the fourth action.

[0163] Then, the safety action determination unit 41G outputs the determined fourth action to the selection unit 41D.

[0164] When the safety action decision unit 41G determines that the first action is not safe, the safety action decision unit 41G may associate the first action with a negative reward and output the association as learning data of the reinforcement learning model. For example, the safety action decision unit 41G may associate the first action with a negative reward and store the association as learning data in the storage unit 42. The safety action decision unit 41G may also directly output the learning data in which the first action is associated with the negative reward to the first action decision unit 40B. In this case, the first action decision unit 40B may further perform reinforcement learning of the reinforcement learning model using the learning data.

[0165] In this case, the control unit 41 can efficiently collect learning data for the reinforcement learning model.

[0166] The selection unit 41D selects either the fourth action or the second action determined from the first action according to the progress of learning of the reinforcement learning model of the first action determination unit 40B, as a third action to be output to the mobile robot 20. The selection unit 41D is similar to the selection unit 40D, except that the selection unit 41D uses the fourth action received from the safety action determination unit 41G instead of the first action.

[0167] The display control unit 41E displays various images on the display unit .

[0168] Similar to the display control unit 40E of the above embodiment, the display control unit 41E displays on the display unit 46 at least one of the following: the progress of learning of the reinforcement learning model, at least one of the probability that the selection unit 40D will select the first action and the probability that the selection unit 40D will select the second action, information indicating whether the third action is the fourth action or the second action, the number of times that the selection unit 41D selected the fourth action, and the number of times that the selection unit 41D selected the second action.

[0169] The display control unit 41E of this embodiment may further display on the display unit 46 the result of the determination of the safety of the first action made by the safety action determination unit 41G.

[0170] 11 is a schematic diagram showing an example of a display screen 66. The display screen 66 is an example of a display screen 70.

[0171] The display screen 66 includes information indicating whether the third action is the fourth action or the second action. For example, assume that the candidate actions of the mobile robot 20 are "go straight", "go right", "go left", and "stop", which are the directions of movement. Also assume that the first action is "go straight", and the safety action decision unit 41G judges the first action "go straight" to be safe and decides the first action as the fourth action. Then assume that the selection unit 40D selects the fourth action as the third action, and the selected fourth action represents "go straight".

[0172] In this case, for example, the display control unit 41E displays information 66C representing the learning-based behavior as the fourth behavior, and information 66D representing the rule-based behavior as the second behavior. Then, the display control unit 41E displays the selection icon of the information 66C in color and displays the selection icon of the information 66D in colorless. By displaying the selection icon of the information 66C in color, the display control unit 41E displays that the fourth behavior has been selected as the third behavior.

[0173] Also, for example, the display control unit 41E displays images representing candidate actions of the moving robot 20 around the icon image 66B representing the moving robot 20. Then, the display control unit 41E displays the image representing the selected "go straight" in a color or brightness different from the other candidate actions. For example, the display control unit 41E lights up the image representing "go straight" and does not light up the images representing the other candidate actions. By lighting up the image representing "go straight", the display control unit 41E displays that the traveling direction "go straight", which is the fourth action, has been selected as the third action.

[0174] Furthermore, the display control unit 41E further displays a judgment result 66E of the safety of the first action. Fig. 11 shows a form in which information indicating that the first action is safe is displayed as the judgment result 66E. Fig. 11 also shows a form in which information indicating that the currently selected third action is "going straight", which is an action corresponding to the first action which is a learning-based action, is further displayed as the judgment result 66E. Note that the display area for the currently selected third action and the judgment result of safety may be different areas.

[0175] 12 is a schematic diagram showing an example of a display screen 68. The display screen 68 is an example of a display screen 70.

[0176] The display screen 68 includes information indicating whether the third action is the fourth action or the second action. For example, assume that the candidate actions of the mobile robot 20 are the moving directions of "go straight", "right", "left" and "stop". Also assume that the first action is "go right" and the safety action decision unit 41G has determined that the first action "go right" is not safe, i.e., dangerous. Then, assume that the safety action decision unit 41G has determined a fourth action in which the first action "go right" is corrected to the safe "go straight". Then, assume that the selection unit 40D has selected the fourth action as the third action and the selected fourth action represents "go straight".

[0177] In this case, for example, the display control unit 41E displays information 68C representing the learning-based behavior which is the fourth behavior, and information 68D representing the rule-based behavior which is the second behavior. Then, the display control unit 41E displays the selection icon of the information 68C in color, and displays the selection icon of the information 68D in colorless. By displaying the selection icon of the information 68C in color, the display control unit 41E displays that the fourth behavior has been selected as the third behavior.

[0178] Also, for example, the display control unit 41E displays images representing candidate actions of the moving robot 20 around the icon image 68B representing the moving robot 20. Then, the display control unit 41E displays the image representing the selected "go straight" in a color or brightness different from the other candidate actions. For example, the display control unit 41E lights up the image representing "go straight" and does not light up the images representing the other candidate actions. By lighting up the image representing "go straight", the display control unit 41E displays that the traveling direction "go straight", which is the fourth action, has been selected as the third action.

[0179] Furthermore, the display control unit 41E further displays a judgment result 68E of the safety of the first action. Fig. 12 shows a form in which information indicating that the first action is not safe, i.e., dangerous, is displayed as the judgment result 68E. Fig. 12 also shows a form in which information indicating that the currently selected third action is an action in which the first action "right", which is a learning-based action, has been corrected to "go straight" is further displayed as the judgment result 68E. Note that the display areas of the currently selected third action and the judgment result of safety may be different areas.

[0180] The display control unit 41E further displays the result of the safety judgment of the first action made by the safety action decision unit 41G on the display unit 46, thereby making it possible to clearly provide the user with information as to whether the selected third action is the first action used as is, or a fourth action which is a modification of the first action.

[0181] Next, an example of the flow of information processing by the learning device 10B of this embodiment will be described.

[0182] FIG. 13 is a flowchart showing an example of the flow of information processing executed by the learning device 10B of this embodiment.

[0183] The acquisition unit 40A acquires the current state of the mobile robot 20 (step S300). The acquisition unit 40A acquires the current state of the mobile robot 20 using the detection results of the sensor 26 received from the mobile robot 20 and the map information received from the operation management system 30.

[0184] Next, the acquisition unit 40A calculates the reward for the current state acquired in step S300 (step S302).

[0185] The first action determination unit 40B performs reinforcement learning on the reinforcement learning model using the current state acquired in step S300 and the reward calculated in step S302 so as to output a first action that results in a current state with a higher reward (step S304).

[0186] The first action decision unit 40B decides on the first action (step S306). The first action decision unit 40B decides on the first action as an output from the reinforcement learning model by inputting the current state acquired in step S300 to the reinforcement learning model that underwent reinforcement learning in step S304.

[0187] The safety action determination unit 41G judges the safety of the first action determined in step S306 (step S308). The safety action determination unit 41G judges the stability of the first action by using the second rule and the current state acquired in step S300.

[0188] If the first action is determined to be safe (step S310: Yes), the process proceeds to step S312. In step S312, the safety action determination unit 41G determines the first action determined in step S306 as the fourth action. Then, the process proceeds to step S316, which will be described later.

[0189] On the other hand, if it is determined that the first action is not safe (step S310: No), the process proceeds to step S314. In step S314, the safety action determination unit 41G determines a fourth action by modifying the first action determined in step S306 to a safe action (step S314). Then, the process proceeds to step S316.

[0190] In step S316, the second behavior decision unit 40C decides on the second behavior (step S316). The second behavior decision unit 40C decides on the second behavior of the mobile robot 20 based on the current state acquired in step S300 and the first rule.

[0191] The selection unit 41D identifies the learning progress of the reinforcement learning model of the first behavior determination unit 40B (step S318). For example, the selection unit 41D identifies the learning time of the reinforcement learning model as the learning progress. As described above, the selection unit 41D may identify the value function learned by the reinforcement learning model, or the learning time and the value function, as the learning progress.

[0192] The selection unit 41D selects, according to the progress of the learning identified in step S318, one of the fourth action determined in step S312 or step S314 and the second action determined in step S316 as the third action (step S320).

[0193] The transmission control unit 40F transmits the third behavior selected in step S320 to the mobile robot 20 (step S322).

[0194] The display control unit 41E displays the display screen 70 on the display unit 46 (step S324). Note that the timing for displaying the display screen 70 on the display unit 46 is not limited to this timing. For example, the display control unit 41E may start displaying the display screen 70 on the display unit 46 before the start of the process of step S300, and update the display contents of the display screen 70 according to the processing status by the control unit 41.

[0195] The control unit 41 determines whether or not to end the process (step S326). For example, the control unit 41 makes the determination in step S326 by determining whether or not a signal indicating the end of the process has been input by a user's operation instruction on the input unit 44. If the determination in step S326 is negative (step S326: No), the process returns to step S300. If the determination in step S326 is positive (step S326: Yes), the present routine ends.

[0196] As described above, in the learning device 10B of this embodiment, the safety action determination unit 41G determines the fourth action based on the current state, the first action, and the second rule regarding safety. The selection unit 41D selects, as the third action, either the fourth action determined from the first action or the second action according to the progress.

[0197] As described in the above embodiment, the first action decision unit 40B decides the first action on a learning basis using a reinforcement learning model. Since the first action is a learning-based action, it is not an action that takes into consideration safety according to the current state. For this reason, the first action is not necessarily a safe action. When the selection unit 41D selects the rule-based second action as the third action, the safety of the mobile robot 20 is guaranteed. However, when the selection unit 41D selects the learning-based first action, the safety of the mobile robot 20 may not be guaranteed, and the mobile robot 20 may fall into a dangerous state.

[0198] In the learning device 10B of this embodiment, the safety action determination unit 41G determines the fourth action based on the current state acquired by the acquisition unit 40A, the first action determined by the first action determination unit 40B, and the second rule regarding safety. Then, the selection unit 41D selects, as the third action, either the fourth action or the second action determined from the first action, depending on the progress.

[0199] Therefore, the learning device 10B of this embodiment can ensure the safety of the third action, in addition to the effects of the above-described embodiments.

[0200] Next, an example of the hardware configuration of the learning device 10 (learning device 10A, learning device 10B), the mobile robot 20, and the traffic management system 30 of the above embodiment will be described.

[0201] FIG. 14 is a diagram showing an example of a hardware configuration of the learning device 10, the mobile robot 20, and the traffic management system 30 of the above embodiment.

[0202] The learning device 10, mobile robot 20, and traffic control system 30 of the above embodiment have a hardware configuration utilizing a conventional computer, in which a CPU (Central Processing Unit) 86, a ROM (Read Only Memory) 88, a RAM (Random Access Memory) 90, an I / F 92, etc. are interconnected via a bus 94.

[0203] The CPU 86 is a calculation device that controls the learning device 10, the mobile robot 20, and the traffic control system 30 of the above embodiment. The ROM 88 stores programs and the like that realize information processing by the CPU 86. The RAM 90 stores data necessary for various processes by the CPU 86. The I / F 82 is an interface that connects to the memory unit 42, the input unit 44, the display unit 46, the communication unit 48, the communication unit 24, the sensor 26, the memory unit 28, etc., and transmits and receives data.

[0204] In the learning device 10, the mobile robot 20, and the traffic control system 30 of the above embodiment, the CPU 86 reads a program from the ROM 88 onto the RAM 90 and executes it, thereby realizing each of the above functions on the computer.

[0205] The programs for executing the above-mentioned processes executed by the learning device 10, the mobile robot 20, and the traffic management system 30 of the above-mentioned embodiments may be stored in a HDD (hard disk drive). Also, the programs for executing the above-mentioned processes executed by the learning device 10, the mobile robot 20, and the traffic management system 30 of the above-mentioned embodiments may be provided by being pre-installed in the ROM 88.

[0206] The programs for executing the above-mentioned processes executed by the learning device 10, the mobile robot 20, and the traffic management system 30 of the above-mentioned embodiments may be stored in a computer-readable storage medium such as a CD-ROM, a CD-R, a memory card, a DVD (Digital Versatile Disk), or a flexible disk (FD) in an installable or executable format file and provided as a computer program product. The programs for executing the above-mentioned information processes executed by the learning device 10, the mobile robot 20, and the traffic management system 30 of the above-mentioned embodiments may be stored on a computer connected to a network such as the Internet and provided by downloading the programs via the network. The programs for executing the above-mentioned information processes executed by the learning device 10, the mobile robot 20, and the traffic management system 30 of the above-mentioned embodiments may be provided or distributed via a network such as the Internet.

[0207] Although the embodiment has been described above, the embodiment is presented as an example and is not intended to limit the scope of the invention. This new embodiment can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the gist of the invention. This embodiment and its modifications are included in the scope and gist of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]

[0208] 10, 10A, 10B Learning device 20 Mobile Robot 40A Acquisition Department 40B 1st action decision section 40C 2nd Action Determination Department 40D, 41D Selection section 40E, 41E Display control unit 40F Transmission control section 41G Safe Behavior Determination Department

Claims

1. An acquisition unit that acquires a current state of the device; a first action determination unit having a learning function of learning a reinforcement learning model and determining a first action of the device based on the current state and the reinforcement learning model; a second action determination unit that determines a second action of the device based on the current state and a first rule; a safety action determination unit that determines a fourth action based on the current state, the first action, and a second rule regarding safety; a selection unit that selects, according to a progress of learning of the reinforcement learning model, one of the fourth action and the second action determined from the first action as a third action to be output to the device; A learning device comprising:

2. The safety behavior determination unit includes: determining the safety of the first action based on the current state and the second rule, and determining the first action as the fourth action when it is determined that the first action is safe, and determining the fourth action by modifying the first action to a safe action when it is determined that the first action is not safe; The learning device according to claim 1 .

3. The safety behavior determination unit includes: if it is determined that the first action is unsafe, the first action is associated with a negative reward and output as learning data of the reinforcement learning model; The learning device according to claim 2 .

4. The selection unit is changing a probability of selecting the first action and a probability of selecting the second action according to a learning time of the reinforcement learning model, which is the progress; The learning device according to any one of claims 1 to 3.

5. The selection unit is the shorter the learning time, which is the progress, the lower the probability of selecting the first action and the higher the probability of selecting the second action; and the longer the learning time, which is the progress, the higher the probability of selecting the first action and the lower the probability of selecting the second action. The learning device according to claim 4.

6. The selection unit is selecting, as the third action, one of the first action and the second action in accordance with estimated values ​​of the first action and the second action calculated by a value function learned by the reinforcement learning model, which is the progress; The learning device according to any one of claims 1 to 5.

7. The selection unit is selecting, from the first action and the second action, an action having a higher estimated value calculated by the value function, as the third action; The learning device according to claim 6.

8. The selection unit is the greater the difference between the estimated value of the first action and the estimated value of the second action, the higher the probability of selecting an action having a greater estimated value from among the first action and the second action; The learning device according to claim 6 or 7.

9. The selection unit is changing a probability of selecting the first action and a probability of selecting the second action based on a learning time of the reinforcement learning model, which is the progress, and a value function learned by the reinforcement learning model; The learning device according to any one of claims 6 to 8.

10. The selection unit is If the learning time is less than a predetermined time, the shorter the learning time, which is the progress, the lower the probability of selecting the first action and the higher the probability of selecting the second action; and the longer the learning time, which is the progress, the higher the probability of selecting the first action and the lower the probability of selecting the second action; If the learning time is equal to or longer than the predetermined time, selecting, from the first action and the second action, an action having a higher estimated value calculated by the value function, as the third action; The learning device according to claim 9.

11. a display control unit that displays an image representing the progress on a display unit; The learning device according to any one of claims 1 to 10.

12. The display control unit is and displaying, on the display unit, at least one of a probability that the selection unit will select the first action and a probability that the selection unit will select the second action. The learning device according to claim 11.

13. The display control unit is displaying information indicating whether the third behavior is the first behavior or the second behavior on the display unit; The learning device according to claim 11 or 12.

14. The display control unit is at least one of the number of times the selection unit selected the first action and the number of times the selection unit selected the second action is displayed on the display unit; The learning device according to any one of claims 11 to 13.

15. The display control unit is displaying a result of the judgment on the safety of the first action on the display unit. The learning device according to any one of claims 11 to 14.

16. The device comprises: At least a part of the mechanism is a moving object. The learning device according to any one of claims 1 to 15.

17. A learning method executed by a learning device, comprising: obtaining a current state of the device; determining a first behavior of the device based on the current state and a reinforcement learning model; determining a second behavior of the device based on the current state and a first rule; determining a fourth action based on the current state, the first action, and a second rule regarding safety; selecting, according to a progress of learning of the reinforcement learning model, one of the fourth action and the second action determined from the first action as a third action to be output to the device; Learning methods including:

18. obtaining a current state of the device; determining a first behavior of the device based on the current state and a reinforcement learning model; determining a second behavior of the device based on the current state and a first rule; determining a fourth action based on the current state, the first action, and a second rule regarding safety; selecting, according to a progress of learning of the reinforcement learning model, one of the fourth action and the second action determined from the first action as a third action to be output to the device; A learning program for a computer to execute the above.

Citation Information

Patent Citations

  • Controller for plant

    JP2007272646A

  • Control device and control method

    JP2018106466A

  • Control apparatus, unmanned system, control method and program

    JP2019105891A

  • Autonomous driving device

    JP6663822B2

  • Methods, apparatuses, and systems for reconstruction-free image recognition from compressive sensors

    US20180197046A1