Information processing device, information processing method, and program

By replacing source and destination state information, the information processing device enhances reinforcement learning efficiency in robot grasping and packing tasks by generating expanded data for improved learning outcomes.

JP7566589B2Active Publication Date: 2024-10-15KK TOSHIBA
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2020185041
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-11-05
Publication Date
2024-10-15
Estimated Expiration
2040-11-05

AI Technical Summary

Technical Problem

Conventional reinforcement learning methods fail to improve learning efficiency due to the inability to utilize expanded data effectively, particularly in scenarios where source and destination positions of objects do not switch places, such as packing an object into a container.

Method used

An information processing device that generates learning data by replacing parts of the state information from a source region with state information from a destination region, creating expanded data for reinforcement learning to enhance efficiency.

Benefits of technology

The method allows for generating multiple pieces of experience data from a single object movement, improving learning efficiency in robot grasping and packing tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007566589000001
    Figure 0007566589000001
  • Figure 0007566589000002
    Figure 0007566589000002
  • Figure 0007566589000003
    Figure 0007566589000003
Patent Text Reader

Abstract

To improve learning efficiency.SOLUTION: An information processing device includes an acquisition section and a generation control section. The acquisition section acquires one or more pieces of first state information indicating a state of each of one or more second subjects related to a first subject to be a subject of inference at first time, and one or more pieces of second state information indicating a state of each of the one or more second subjects at second time. The generation control section generates learning data including the first state information at least part of which is replaced with any of the pieces of the second state information and the second state information at least part of which is replaced with any of the pieces of the first state information, as learning data for use in reinforcement learning of a machine learning model for use in inference.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

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

[0002] In reinforcement learning, the optimal behavior policy is learned by repeating trial and error, so there is a need to improve the learning efficiency relative to the number of behavior trials. When learning the behavior of a robot, a technology has been proposed that expands the data by converting the experience data obtained from one trial into a plane-symmetric coordinate system, thereby improving the learning efficiency. [Prior art documents] [Non-patent literature]

[0003] [Non-Patent Document 1] Yijiong Lin, Jiancong Huang, Matthieu Zimmer, Yisheng Guan, Juan Rojas, Paul Weng, “Invariant Transform Experience Replay: Data Augmentation for Deep Reinforcement Learning” arxiv:1909.10707, 2019. [Non-Patent Document 2] Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A. Rusu, Joel Veness, Marc G. Bellemare, Alex Graves, Martin Riedmiller, Andreas K. Fidjeland, Georg Ostrovski, Stig Petersen, Charles Beattie, Amir Sadik, Ioannis Antonoglou, Helen King, Dharshan Kumaran, Daan Wierstra, Shane Legg & Demis Hassabis, “Human-level control through deep reinforcement learning” Nature 518.7540 (2015): 529-533. Summary of the Invention [Problem to be solved by the invention]

[0004] However, in the conventional technology, the expanded data cannot be used for learning, and there are cases where the learning efficiency cannot be improved. For example, consider a configuration in which a robot is made to learn the action of grasping an object in one container and packing it into another container. In such a configuration, data is obtained in which the origin and destination positions of the object are swapped, according to the expansion that performs a plane-symmetric coordinate transformation. However, in general packing work, the origin and destination positions do not swap, so the expanded data cannot be used for reinforcement learning.

[0005] An object of the present invention is to provide an information processing device, an information processing method, and a program capable of improving learning efficiency. [Means for solving the problem]

[0006] An information processing device according to an embodiment includes an acquisition unit and a generation control unit. The acquisition unit acquires one or more pieces of first state information indicating a state at a first time of each of one or more second objects related to a first object to be inferred, and one or more pieces of second state information indicating a state at a second time of each of the one or more second objects. The generation control unit generates learning data including the first state information at least a part of which has been replaced with any of the second state information, and the second state information at least a part of which has been replaced with any of the first state information, as learning data used in reinforcement learning of a machine learning model used for inference. [Brief description of the drawings]

[0007] [Figure 1] FIG. 1 is a configuration diagram of a robot system according to a first embodiment. [Diagram 2] FIG. 1 is a block diagram of an information processing device. [Diagram 3] FIG. [Figure 4] 5 is a flowchart of a learning process according to the first embodiment. [Diagram 5] FIG. 13 is a diagram showing an example of extended data. [Figure 6] FIG. 13 is a diagram showing an example of extended data. [Figure 7] FIG. 13 is a diagram showing an example of extended data. [Figure 8] FIG. 11 is a block diagram of an information processing apparatus according to a second embodiment. [Figure 9] FIG. 11 is a block diagram of a generation control unit according to a second embodiment. [Figure 10] FIG. 13 is a block diagram of an information processing apparatus according to a third embodiment. [Figure 11] FIG. 11 is a block diagram of a generation control unit according to a third embodiment. [Figure 12] FIG. 1 shows an example of a state in a grid world. [Figure 13] FIG. 1 is a hardware configuration diagram of an information processing device according to first to third embodiments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, preferred embodiments of an information processing apparatus according to the present invention will be described in detail with reference to the accompanying drawings.

[0009] (First embodiment) The information processing device according to the first embodiment expands data by switching the source and destination of an object and the state of a container before and after the movement, and learns the gripping position and posture of an object to be packed and the packing position and posture using the expanded data. By expanding data in this way, two or more pieces of experience data can be generated from one gripping and packing action of an object and used for reinforcement learning. This makes it possible to improve the learning efficiency.

[0010] In the first embodiment, a robot system that controls a robot having a function of gripping an article (an example of a target object), moving the gripped article, and packing it into a container (an example of a destination) will be mainly described.

[0011] The information processing device according to the first embodiment is used to learn a strategy for determining both the gripping position and posture (grippy position / posture) of an object to be packed and the packing position and posture (packing position / posture). This makes it possible to efficiently learn an efficient packing strategy that can be executed by a robot and has a high filling rate or a short packing operation time. Being executable by a robot means, for example, that the object can be packed into a box without interfering with containers and other objects.

[0012] Fig. 1 is a diagram showing an example of the configuration of a robot system having an information processing device 120 according to the first embodiment. As shown in Fig. 1, the robot system of the present embodiment includes a robot 100, a generation unit 110, a generation unit 111, an information processing device 120, a network 130, a display unit 140, an input unit 150, a container 160, a container 170, and a simulator 180.

[0013] The robot 100 has a function of moving an object 161 to be operated from a container 160 to a container 170. The robot 100 can be configured as a multi-joint robot, a linear robot, or a combination of these. In the following, an example will be described in which the robot 100 is a multi-joint robot equipped with a multi-joint arm 101, an end effector 102, and a plurality of actuators 103.

[0014] The end effector 102 is attached to the tip of the articulated arm 101 in order to move an object (e.g., an article). The end effector 102 is, for example, a gripper capable of gripping an object, a vacuum robot hand, or the like. The articulated arm 101 and the end effector 102 are controlled in response to driving by an actuator 103. More specifically, the articulated arm 101 moves, rotates, and expands and contracts (i.e., changes the angle between joints), etc. in response to driving by the actuator 103. The end effector 102 grips (grips or adsorbs) an object and releases the grip in response to driving by the actuator 103.

[0015] The information processing device 120 controls the operation of the robot 100. The information processing device 120 can be realized as a computer, a dedicated control device for controlling the operation of the robot 100, or the like. The functions of the information processing device 120 will be described in detail later.

[0016] The network 130 is a network such as a LAN (Local Area Network) or the Internet that connects components such as the robot 100, the generation unit 110, the generation unit 111, and the information processing device 120. The network 130 may be either a wired network or a wireless network. The robot 100, the generation unit 110, the generation unit 111, and the information processing device 120 can transmit and receive data (signals) via the network 130. Note that data transmission and reception may be performed using direct wired or wireless connections between the components without going through the network 130.

[0017] The display unit 140 is a device for displaying information used in various processes by the information processing device 120. The display unit 140 can be configured with a display device such as a liquid crystal display (LCD). The display unit 140 can display settings related to the robot 100, the state of the robot 100, the working status of the robot 100, and the like.

[0018] The input unit 150 is an input device including a keyboard and a pointing device such as a mouse. The display unit 140 and the input unit 150 may be incorporated in the information processing device 120.

[0019] The robot 100 grasps an object placed in a container 160 (first container) and packs it into a container 170 (second container). The container 170 may be empty or may already have an object 171 packed inside. The container 160 is, for example, a container for storing or moving items in a warehouse. The container 170 is, for example, a container used for shipping or the like. The container 170 is, for example, a cardboard box, a pallet for transportation, etc.

[0020] The containers 160 and 170 are placed on the work tables 162 and 172, respectively. The containers 160 and 170 may be placed on a belt conveyor that can transport each of them. In this case, the containers 160 and 170 are placed within a range in which the robot 100 can operate by the operation of the belt conveyor.

[0021] Alternatively, at least one of container 160 and container 170 may not be used, and object 161 and / or object 171 may be placed directly on a work area (an example of a destination) such as a belt conveyor or a dolly.

[0022] In this embodiment, the subject of inference is the robot 100. For example, a gripping position / posture and a packing position / posture are inferred as the operation of the robot 100. In this case, the subject related to the robot 100 is, for example, the source area (first area) of the object 161 and the destination area (second area). The subject related to the robot 100 can also be interpreted as a subject that affects (the operation of) the robot 100. The container 160 and the container 170 are examples of the source area and the destination area, respectively. As described above, a working area such as a belt conveyor or a cart may be the first area or the second area.

[0023] The generating unit 110 generates state information (state information of the first area) indicating the state inside the container 160. The generating unit 111 generates state information (state information of the second area) indicating the state of the destination of the target object 161. The generating unit 110 and the generating unit 111 are, for example, a camera that generates an image and a distance sensor that generates a depth image (depth data). The generating unit 110 and the generating unit 111 may be installed in the environment including the robot 100 (for example, a pillar and a ceiling in a room) or may be attached to the robot 100.

[0024] In the case of using three-dimensional coordinates in which a plane parallel to the worktable 162 is defined as an XY plane and a direction perpendicular to the XY plane is defined as a Z axis, an image is generated by, for example, a camera whose imaging direction is parallel to the Z axis. A depth image is generated by, for example, a distance sensor whose ranging direction is parallel to the Z axis. For example, a depth image is information that represents a depth value in the Z axis direction at each position (x, y) on the XY plane.

[0025] The generator 110 generates state information, for example, by observing the state of at least a part of the inside of the container 160. The state information includes, for example, at least one of an image of the inside of the container 160 and a depth image.

[0026] The generating unit 111 generates state information, for example, by observing the state of at least a part of the inside of the container 170. The state information includes, for example, at least one of an image of the inside of the container 170 and a depth image.

[0027] The generating unit 110 and the generating unit 111 may be integrated into one generating unit. In this case, the one generating unit executes generation of the state information of the container 160 and generation of the state information of the container 170. Also, three or more generating units may be provided.

[0028] The information processing device 120 uses the state information generated by the generation unit 110 and the generation unit 111 to create an action plan for at least grasping one of the objects 161, moving it, and packing it into the container 170. The information processing device 120 operates the robot 100 by sending a control signal based on the created action plan to the actuator 103 of the robot 100.

[0029] The simulator 180 is a simulator that simulates the operation of the robot 100. The simulator 180 is realized as an information processing device such as a computer, and is used for learning and evaluating the operation of the robot 100. It is to be noted that the robot system does not necessarily have to include the simulator 180.

[0030] Fig. 2 is a block diagram showing an example of a functional configuration of the information processing device 120. As shown in Fig. 2, the information processing device 120 includes an acquisition unit 201, an inference unit 202, a robot control unit 203, an output control unit 204, a reward determination unit 211, a generation control unit 220, a learning unit 212, and a storage unit 231.

[0031] The acquisition unit 201 acquires various pieces of information used in various processes executed by the information processing device 120. For example, the acquisition unit 201 acquires (receives) state information from the generation unit 110 and the generation unit 111 via the network .

[0032] Hereinafter, the state information acquired from generating unit 110 and generating unit 111 at a first time is referred to as first state information. Also, the state information acquired from generating unit 110 and generating unit 111 at a second time after the first time is referred to as second state information. In this embodiment, since state information is acquired from both generating unit 110 and generating unit 111, there are two pieces of first state information and two pieces of second state information.

[0033] The acquisition unit 201 outputs the acquired state information to the inference unit 202 and the reward determination unit 211. At this time, the acquired state information may be output as is, or may be output after being subjected to processing such as resolution conversion, frame rate conversion, clipping, and trimming. In the following, the state information of the first region at time t acquired from the generation unit 110 is referred to as s (1) t The state information of the second region at time t acquired from the generation unit 111 is s (2) t Let us assume that.

[0034] If time t is the first time and time t+1 is the second time, the state information s of the first region at time t is (1) t , and state information s of the second region (2) t The state information s (1) t+1 , and state information s of the second region (2) t+1 respectively correspond to the second state information.

[0035] The inference unit 202 uses state information s (1) t and state information (2) t The grasping position and posture a when the robot 100 grasps the object 161 in the container 160 is calculated using the above equation. (1) t , and the packing position and posture a when packing the object 161 into the container 170 (2) tThe inference unit 202 can perform inference using various reinforcement learning algorithms. For example, when performing inference using DQN (Deep Q-Network), the inference unit 202 determines (infers) state information s (1) t and state information (2) t The connected state s t =(s (1) t ,s (2) t ) is calculated by the neural network action value function Q(s t ,a t ) and take action a according to the following formula (1): t Determine. argmax{Q(s t ,a t )} ···(1) a t

[0036] action a t is the gripping position and posture a (1) t and packaging position / attitude a (2) t It corresponds one-to-one to the combination of action a t From gripping position / attitude a (1) t and packaging position / attitude a (2) t is determined.

[0037] Gripping position / posture a (1) t represents the coordinate values ​​that determine the position of the end effector 102 when gripping the target object 161, and the direction or inclination of the end effector 102 when gripping the target object 161. (2) t represents coordinate values ​​that determine the position of the end effector 102 when placing the object 161, and the orientation or inclination of the end effector 102 when placing the object 161. The coordinate values ​​that determine the position are expressed, for example, by coordinate values ​​in a predetermined three-dimensional coordinate system. The orientation or inclination is expressed, for example, by a rotation angle around each axis of the three-dimensional coordinate system.

[0038] The machine learning model used by the inference unit 202 for inference is not limited to a neural network, and may be any model that can perform inference from similar input data. For example, the inference unit 202 may use a linear model as the machine learning model.

[0039] The robot control unit 203 controls the robot 100 so as to grasp and box the target object 161 in the planned position and posture based on the output information from the inference unit 202. For example, the robot control unit 203 generates a control signal for the actuator 103 to execute each of the following operations. The operation from the current state of the robot 100 to grasping the object 161 at the grasping position and posture planned by the inference unit 202 Grasping of object 161 Move the object 161 to the packing position and posture planned by the inference unit 202 ·Placing object 161 Operation for putting the robot 100 into a desired state after packing

[0040] The robot control unit 203 sends the generated control signal to the robot 100, for example, via the network 130. In response to the actuation of the actuator 103 based on the control signal, the robot 100 performs the operations of grasping the object 161 and packing it into a box.

[0041] The output control unit 204 controls the output of various information used in various processes by the information processing device 120. For example, the output control unit 204 controls the process of displaying the output of the neural network on the display unit 140.

[0042] The reward determination unit 211 determines the value of the reward used in reinforcement learning based on the desirability of the operation result of the robot 100. The reward determination unit 211 determines the reward so that a large reward is given when a desirable state is achieved as a result of grasping and packing the object 161 according to the plan input to the robot control unit 203, and a small reward is given when an undesirable state is achieved. For example, when grasping and packing the object 161 is successful, the reward determination unit 211 determines the value of the reward based on the volume or weight of the object 161, etc. The reward determination unit 211 may determine the reward so that the shorter the working time required by the robot from grasping to packing is, the larger the reward is.

[0043] On the other hand, if the following undesirable conditions occur, the reward determination unit 211 determines the reward to be a small value (for example, a negative value). - If the object 161 fails to be grasped When the object 161 collides (comes into contact with) the container 160, the container 170, or the object 171 during movement or packing. - When the object 161 is packed in a box in a position and orientation different from the planned one.

[0044] In the following, the reward at time t is expressed as r t Here, the reward for the action at time t is determined at time t+1 based on the state at time t+1, so r t corresponds to the reward for the action at time t-1.

[0045] The generation control unit 220 executes a data generation process for generating learning data (experience data) used in reinforcement learning. For example, the generation control unit 220 generates the experience data from the state information of the first area and the state information of the second area acquired by the acquisition unit 201, the reward determined by the reward determination unit 211, and the gripping position / posture and the packing position / posture determined by the inference unit 202.

[0046] In this embodiment, the generation control unit 220 generates not only experience data obtained by the robot control unit 203 operating the robot 100 based on the result of inference by the inference unit 202, but also experience data that expands this experience data. The generation control unit 220 generates experience data that includes first state information at least a part of which has been replaced with second state information, and second state information at least a part of which has been replaced with the first state information. A method for generating experience data by the generation control unit 220 will be described in detail later.

[0047] The storage unit 231 stores various information used in various processes executed by the information processing device 120. For example, the storage unit 231 stores the experience data generated by the generation control unit 220. The storage unit 231 may have a pre-set upper limit on the number of experience data to be stored. For example, when the number of experience data exceeds the upper limit, the storage unit 231 deletes some of the experience data already stored before storing new experience data. For example, the storage unit 231 deletes the experience data in order starting from the oldest experience data. When learning using the accumulated experience data, a certain number of experience data are sampled at a certain processing interval by a predetermined method such as random sampling, and output to the learning unit 212.

[0048] The storage unit 231 can be configured from any commonly used storage medium, such as a flash memory, a memory card, a RAM (Random Access Memory), a HDD (Hard Disk Drive), or an optical disk.

[0049] The learning unit 212 executes a learning process (reinforcement learning) of the machine learning model (neural network) used by the inference unit 202. For example, the learning unit 212 uses empirical data sampled from the storage unit 231 to determine the amount of update of the parameters of the neural network used by the inference unit 202. When the inference unit 202 performs inference using a neural network, the parameters correspond to the weights and biases of the neural network. When reinforcement learning is performed using DQN, the learning unit 212 determines the amount of update of the parameters of the neural network used by the inference unit 202 using empirical data x=(s t ,a t ,r t+1,s t+1 ) is sampled, the learning unit 212 performs backpropagation using the loss function expressed by the following equation (2) to determine the update amount of each parameter. L = (r t+1 +γmax{Q(s t+1 ,a t+1 )}-Q(s t ,a t )) 2 a t+1 (2)

[0050] γ is a value called the discount rate in reinforcement learning. max is a t+1 This function calculates the maximum value of Q by changing the loss function. Note that the loss function is not limited to formula (2).

[0051] Each of the above units (acquisition unit 201, inference unit 202, robot control unit 203, output control unit 204, reward determination unit 211, generation control unit 220, and learning unit 212) is realized, for example, 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 (Integrated Circuit), that is, by hardware. Each of the above units may be realized by using a combination of software and hardware. When multiple processors are used, each processor may realize one of the units, or two or more of the units.

[0052] Next, a detailed description will be given of the processing of the generation control unit 220. Fig. 3 is a block diagram showing an example of a functional configuration of the generation control unit 220. As shown in Fig. 3, the generation control unit 220 includes a data control unit 221, an extension unit 222, a data generation unit 223, and a temporary storage unit 224.

[0053] First, a case where the container 160 and the container 170 have the same size (the first area and the second area have the same size) will be described.

[0054] The temporary storage unit 224 is a storage device that temporarily stores state information and gripping positions and postures required for generating experience data. The temporary storage unit 224 can be configured with any commonly used storage medium such as a flash memory, a memory card, a RAM, a HDD, and an optical disk, similar to the storage unit 231. The storage unit 231 may be configured to operate as the temporary storage unit 224.

[0055] The generation of experience data is executed when the information required for generating experience data is stored in the temporary storage unit 224. In the following, the state information s (1) t And the state information of the second region is s (2) t and the gripping position and posture a (1) t and the packing position / attitude a (2) t It is assumed that the following are stored in the temporary storage unit 224:

[0056] The data control unit 221 prepares data necessary for generating experience data. First, the data control unit 221 receives state information s (1) t+1 and the state information of the second region is s (2) t+1 and the grip position and posture a at time t+1 input from the inference unit 202. (1) t+1 and packaging position / attitude a (2) t+1 and is output to the temporary storage unit 224.

[0057] Next, the data control unit 221 calculates the state information s (1) t And the state information of the second region is s (2) t and the gripping position and posture a (1) t and the packing position / attitude a (2) tThe data control unit 221 reads out each piece of information at time t and each piece of information obtained at time t+1 (state information s (1) t+1 , state information s of the second region (2) t+1、 The reward r input from the reward determination unit 211 t+1 ) and the data u required to generate empirical data are expressed by the following equation (3): t is output to the extension unit 222. u t =(s (1) t ,s (2) t ,a (1) t ,a (2) t ,r t+1 ,s (1) t+1 ,s (2) t+1 ) ···(3)

[0058] Data t Each item in the table below means the following information: Term 1: State information of the first domain at time t Term 2: State information of the second domain at time t ·Term 3: Grasping position and posture at time t Term 4: Packing position and posture at time t Term 5: Reward at time t+1 Term 6: State information of the first domain at time t+1 Term 7: State information of the second domain at time t+1

[0059] The extension unit 222 performs data extension to increase experience data and improve the learning efficiency of reinforcement learning. The extension unit 222 first extends the input data u t For example, if the data is successfully picked up and packed, the extension unit 222 determines whether the data u t If at least one of the grasping and packing fails, the expansion unit 222 determines that the data u tIt is determined that the data is not extensible. Determining whether or not the data is extensible can be interpreted as being equivalent to determining whether or not at least a part of the state information is replaceable.

[0060] If it is determined that data extension is possible, the extension unit 222 extends the data u t From this, three types of data extension, f1, f2, and f3, expressed by the following equations (4) to (6), can be performed. f1(u t )= (s (2) t+1 ,s (1) t+1 ,a (2) t ,a (1) t ,r t+1 ,s (2) t ,s (1) t ) (4) f2(u t )= (s (1) t ,s (1) t+1 ,a (1) t ,a (1) t ,r t+1 ,s (1) t+1 ,s (1) t ) (5) f3(u t )= (s (2) t+1 ,s (2) t ,a (2) t ,a (2) t ,r t+1 ,s (2) t ,s (2) t+1 ) (6)

[0061] When it is determined that data extension is possible, the extension unit 222 extracts the pre-extension data u t In addition to the extended data f1(u t ), f2(u t ), f3(u t ) to the data generating unit 223.

[0062] The data generation unit 223 generates empirical data x to be used in reinforcement learning. The data input from the extension unit 222 is data u t In this case, the data generation unit 223 generates empirical data x expressed by the following equation (7). x=(s t ,a t ,r t+1 ,s t+1 ) ···(7)

[0063] Status t s t =(s (1) t ,s (2) t ) and state s t+1 s t+1 =(s (1) t+1 ,s (2) t+1 ), and a t is a (1) t and a (2) t That is, the data generating unit 223 generates experience data x from the input data according to the following rules. The combined data consisting of the first and second terms of the input data is used as the first term of the empirical data. The third and fourth terms of the input data are combined to form the second term of the empirical data. · The fifth term of the input data is taken as the third term of the empirical data. The sixth and seventh terms of the input data are combined to form the fourth term of the empirical data.

[0064] The data generator 223 generates the extended data f1(ut ), f2(u t ), f3(u t ) empirical data can also be generated according to the above rules.

[0065] The state information is defined as follows: Third state information: State information s of the first domain at time t (1) t Fourth state information: State information s of the second domain at time t (2) t Fifth state information: State information s of the first region at time t+1 (1) t+1 - 6th state information: state information s of the 2nd domain at time t+1 (2) t+1

[0066] In this case, the data generator 223 generates data f1(u t ), f2(u t ), f3(u t ) we will generate empirical data for each of them as follows: Data f1(u t ): experience data including the third state information replaced by the sixth state information, the fourth state information replaced by the fifth state information, the fifth state information replaced by the fourth state information, and the sixth state information replaced by the third state information Data f2(u t ): Experience data that includes the fourth state information replaced by the fifth state information, and the sixth state information replaced by the third state information Data f3(u t ): Experience data that includes the third state information replaced by the sixth state information, and the fifth state information replaced by the fourth state information

[0067] The data generating unit 223 outputs each of the generated experience data to the storage unit 231 .

[0068] Next, a learning process performed by the information processing device 120 according to the first embodiment configured as described above will be described below. Fig. 4 is a flowchart showing an example of the learning process according to the first embodiment.

[0069] The acquisition unit 201 receives the state information of the source container 160 at time t from the generation unit 110 as s (1) t The acquisition unit 201 acquires the state information of the destination container 170 at time t from the generation unit 111 (step S101). (2) t is obtained (step S102).

[0070] The learning unit 212 uses the acquired state information s (1) t and s (2) t are input to a neural network used by the inference unit 202, and the gripping position and posture and the packing position and posture of the robot 100 are determined from the output of the neural network (step S103).

[0071] The robot control unit 203 controls the operation of the robot 100 so that the robot 100 assumes the determined gripping position and posture and packing position and posture (step S104).

[0072] The reward determination unit 211 determines the value of the reward based on the result of the action of the robot 100 (step S105).

[0073] The generation control unit 220 executes a data generation process to generate experience data using the acquired state information of the first area and state information of the second area, the determined reward value, and the determined gripping position / posture and packing position / posture in the manner described above (step S106).

[0074] The learning unit 212 uses the generated empirical data to update the weights and biases of the convolutional layer by backpropagation (step S107).

[0075] The learning unit 212 judges whether or not to end the learning (step S108). The learning unit 212 judges the end of the learning based on, for example, whether the value of the action value function has converged or the number of times the learning has been repeated has reached an upper limit. If the learning is to be continued (step S108: No), the process returns to step S101 and the process is repeated. If it is judged that the learning has ended (step S108: Yes), the learning process ends.

[0076] Next, a specific example of the generated experience data will be described. Fig. 5 is a diagram showing an example of data expanded by data expansion f1. State information 501 in Fig. 5 represents the states of the source area and the destination area at time t and time t+1.

[0077] Specifically, the state information 501 includes third state information 501-3, fourth state information 501-4, fifth state information 501-5, and sixth state information 501-6 as follows. Third state information 501-3: state of the source area (container 160) at time t Fourth state information 501-4: state of the destination area (container 170) at time t Fifth state information 501-5: state of the source area (container 160) at time t+1 Sixth state information 501-6: state of the destination area (container 170) at time t+1

[0078] State information 501 indicates that an object 512 was gripped at a gripping position 513 at time t and packed into a box at a packing position 514, resulting in a state at time t+1.

[0079] The state information 502 represents data obtained by extending the state information 501 using the data extension f1. The state information 502 is obtained by replacing both the time and the container of each state in the state information 501. That is, the state information 502 includes the following third state information 502-3, fourth state information 502-4, fifth state information 502-5, and sixth state information 502-6. Third status information 502-3: Status information replaced with sixth status information 501-6 Fourth status information 502-4: Status information replaced with the fifth status information 501-5 Fifth status information 502-5: Status information replaced with the fourth status information 501-4 Sixth status information 502-6: Status information replaced with the third status information 501-3

[0080] State information 502 indicates that, contrary to state information 501, object 512 in container 170 was grasped at grasping position 514 and packed into container 160 at packing position 513. State information 502 is data simulating a state transition when the states of the source container (container 160) and destination container (container 170) are actually reversed, and therefore can be used as empirical data for reinforcement learning.

[0081] 6 is a diagram showing an example of data extended by data extension f2. State information 503 represents data obtained by extending state information 501 by data extension f2. State information 503 is data in which the state of container 170 in state information 501 is replaced with the state of container 160 at the reverse time. That is, state information 503 includes third state information 503-3, fourth state information 503-4, fifth state information 503-5, and sixth state information 503-6 as follows. Third status information 503-3: Same as third status information 501-3 (no replacement) Fourth status information 503-4: Status information replaced with the fifth status information 501-5 Fifth status information 503-5: Same as fourth status information 501-5 (no replacement) Sixth status information 503-6: Status information replaced with the third status information 501-3

[0082] As a result, state information 503 indicates that object 512 in container 160 was grasped at grasping position 513 and packed into container 160 at packing position 513. State information 503 is data simulating a case in which the states of the source container (container 160) and the destination container (container 170) are the same except for the object to be packed, and therefore can be used as empirical data for reinforcement learning.

[0083] 7 is a diagram showing an example of data extended by data extension f3. State information 504 represents data obtained by extending state information 501 by data extension f3. State information 504 is data in which the state of container 160 in state information 501 is replaced with the state of container 170 at the reverse time. That is, state information 504 includes third state information 504-3, fourth state information 504-4, fifth state information 504-5, and sixth state information 504-6 as follows. Third status information 504-3: Status information replaced with the third status information 501-6 Fourth status information 504-4: Same as fifth status information 501-4 (no replacement) Fifth status information 504-5: Status information replaced with the fourth status information 501-4 Sixth state information 504-6: Same as the third state information 501-6 (no replacement)

[0084] As a result, state information 504 indicates that object 512 in container 170 was grasped at grasping position 514 and packed into container 170 at packing position 514. State information 504 is data simulating a case in which the states of the source container (container 160) and the destination container (container 170) are the same except for the object to be packed, and therefore can be used as empirical data for reinforcement learning.

[0085] If the reward for successful grasping and packing is calculated based on the volume or weight of the object 161, there is no need to change the value of the reward when data augmentation is performed. However, depending on the reward definition, the reward after data augmentation may not be desirable. In such a case, the state information after data augmentation is input again to the reward determination unit 211, and the reward r t may be calculated and used.

[0086] So far, the processing has been described for the case where container 160 and container 170 are the same size. Next, a method for dealing with the case where container 160 and container 170 are different sizes will be described. Below, a case where container 170 is larger than container 160 will be described, but similar processing is also possible when container 170 is smaller than container 160.

[0087] A first processing method in the case where container 170 is larger than container 160 is to modify at least one of the state information of container 160 and the state information of container 170 so that they are the same size when acquiring state information inside each container by acquisition unit 201. Acquisition unit 201 may output state information of the same size as the state information of container 160 by performing trimming on the state information of container 170, or may output state information of the same size as the state information of container 170 by performing padding on the state information of container 160.

[0088] When trimming, the acquisition unit 201 may perform trimming at various trimming positions to generate a plurality of pieces of state information, and the inference unit 202 may output a gripping position / posture and a packing position / posture for each piece of state information. The inference unit 202 ultimately selects one pair of gripping position / posture and packing position / posture from the plurality of gripping positions / postures and packing positions / postures using a predetermined method. For example, the inference unit 202 determines the gripping position / posture and packing position / posture with the largest output (such as the output value of the action value function Q) of the neural network. The generation control unit 220 generates experience data using the state information trimmed at the trimming positions corresponding to the gripping position / posture and packing position / posture selected by the inference unit 202.

[0089] The second processing method when container 170 is larger than container 160 is a method in which expansion unit 222 trims and pads the state information when performing data expansion. When replacing state information of the source container (e.g., container 160) with state information of the destination container (e.g., container 170) by data expansion, expansion unit 222 adjusts the size of the state information by trimming the state information. At this time, the trimming position is adjusted so that the object to be packed is included in the state information after trimming.

[0090] On the other hand, when replacing the state information of a destination container (e.g., container 170) with the state information of a source container (e.g., container 160) by data expansion, the expansion unit 222 pads the state information to match its size. Examples of padding methods that can be used include zero padding that inserts 0, padding that repeatedly duplicates values ​​around the state information, padding that folds the inner state information to the outer side, and padding that generates and inserts random values.

[0091] The second processing method can be interpreted as a method of correcting the state information of the source to match the size of the state information of the destination. Even when the acquisition unit 201 corrects the state information as in the first processing method, the method of correcting the state information of the source to match the size of the state information of the destination may be applied.

[0092] In this embodiment, a method of performing data expansion by replacing state information at time t and state information at time t+1 with state information at the other time has been described. Such data expansion can also be combined with a data expansion method used for the purpose of image recognition. For example, the expansion unit 222 may perform data expansion by further performing inversion, affine transformation, and noise addition on state information such as an image and a depth image after performing data expansion using the above-mentioned method. However, if the gripping position / posture and the packing position / posture change due to such data expansion, it is also necessary to perform correction processing of the gripping position / posture and the packing position / posture.

[0093] In this way, in the information processing device according to the first embodiment, two or more pieces of experience data can be generated from one attempt of grasping and packing an object, and the experience data can be used for reinforcement learning. This makes it possible to improve the learning efficiency of reinforcement learning with respect to the number of attempts of grasping and packing.

[0094] Second Embodiment In the second embodiment, similarly to the first embodiment, a robot system that controls a robot having the function of grasping an item (an example of a target object), moving the grasped item, and placing it in a container (an example of a destination) will be mainly described.

[0095] In the first embodiment, a policy for determining both the gripping position and posture (grip position-posture) of an object to be packed and the packing position and posture (packing position-posture) was learned. However, when the gripping position and posture (grip position-posture) of an object to be packed can be easily determined and learning is not necessary, by learning a policy for determining only the packing position and posture, it becomes possible to learn an efficient packing policy that can be executed by a robot, has a high filling rate, or takes a short packing operation time more efficiently than in the first embodiment.

[0096] The configuration of the robot system of the second embodiment is the same as that of Fig. 1, and therefore the description will be omitted. In the second embodiment, the function of the information processing device in the robot system is different from that of the first embodiment.

[0097] Fig. 8 is a block diagram showing an example of the configuration of an information processing device 120-2 according to the second embodiment. As shown in Fig. 8, the information processing device 120-2 includes an acquisition unit 201-2, an inference unit 202-2, a robot control unit 203, an output control unit 204, a reward determination unit 211, a generation control unit 220-2, a learning unit 212, and a storage unit 231.

[0098] 9 is a block diagram showing an example of a functional configuration of the generation control unit 220-2. As shown in FIG. 9, the generation control unit 220-2 includes a data control unit 221, an extension unit 222, a data generation unit 223-2, and a temporary storage unit 224.

[0099] In the second embodiment, the functions of the acquisition unit 201-2, the inference unit 202-2, and the extension unit 222-2 and the data generation unit 223-2 in the generation control unit 220-2 are different from those in the first embodiment. The other configurations and functions are the same as those in Fig. 2 or Fig. 3 of the first embodiment, so they are denoted by the same reference numerals and will not be described here.

[0100] When learning a strategy for determining only the packing position and orientation, the acquisition unit 201-2 acquires state information s (1) t In addition, the state information s (о) t The state information of the packed object is obtained. (о) t contains information about the shape and gripping pose of the object to be packed.

[0101] The inference unit 202-2 uses state information s of the object to be packed. (о) t and status information s of the container 170 (2) t The grasping position and posture, and the packing position and posture are determined using the input. In other words, the state information s (о) t and status information s of the container 170 (2) t The connected state s t =(s (о) t ,s (2) t ) is calculated by the neural network action value function Q(s t ,a t ) and take action t In this embodiment, the action a t is the packing position / attitude a (2) thas a one-to-one correspondence with

[0102] The extension 222-2 is the data u t Then, data extension is performed according to f4 expressed by the following equation (8). f4(u t )=(s (2) t+1 ,s (1) t+1 ,a (2) t ,a (1) t ,r t+1 ,s (2) t ,s (1) t ) ···(8)

[0103] The extension unit 222-2 extends the extended data f4(u t ) to the data before expansion, u t Together with this, the data generating unit 223-2 outputs it.

[0104] The data generating unit 223-2 generates empirical data x=(s t ,a t ,r t+1 ,s t+1 ) is generated and output from the extension unit 222-2. t =(s (1) t ,s (2) t ,a (1) t ,a (2) t ,r t+1 ,s (1) t+1 ,s (2) t+1 ) is input, the data generating unit 223-2 t =(s (о) t ,s (2) t ), s t+1 =(s (о) t+1 ,s (2) t+1 ) and action a tis the packing position / attitude a (2) t Empirical data x is generated as a value that uniquely identifies

[0105] On the other hand, from the extension portion 222-2 to f4(u t ) is input, the data generating unit 223-2 t =(s (о) t ,s (1) t+1 ), s t+1 =(s (о) t+1 ,s (1) t ) and action a t Packing position and posture A (1) t Empirical data is generated as a value that uniquely identifies

[0106] In this way, in the information processing device according to the second embodiment, two pieces of experience data can be generated from one packing operation of an object and used for reinforcement learning. This makes it possible to improve the learning efficiency of reinforcement learning with respect to the number of packing trials.

[0107] (Third embodiment) The data augmentation method as in the above embodiment can be applied to other than learning the motion control of a robot that moves an object. In the third embodiment, an example of application to reinforcement learning of the behavior policy of an agent such as an automated guided vehicle in a grid world will be described.

[0108] Fig. 10 is a block diagram showing an example of the configuration of an information processing device 120-3 according to the third embodiment. As shown in Fig. 10, the information processing device 120-3 includes an acquisition unit 201-3, an inference unit 202-3, an output control unit 204, a reward determination unit 211-3, a generation control unit 220-3, a learning unit 212, and a storage unit 231.

[0109] 11 is a block diagram showing an example of a functional configuration of the generation control unit 220-3. As shown in FIG. 11, the generation control unit 220-3 includes a data control unit 221-3, an extension unit 222-3, a data generation unit 223-3, and a temporary storage unit 224.

[0110] The third embodiment differs from the first embodiment in that the functions of the components other than the acquisition unit 201-3, the inference unit 202-3, the reward determination unit 211-3, and the temporary storage unit 224 in the generation control unit 220-3, as well as the robot control unit 203 have been deleted. The other components and functions are similar to those in Fig. 2 or Fig. 3 of the first embodiment, so they are denoted by the same reference numerals and will not be described here.

[0111] The acquisition unit 201-3 acquires state information to be used for inference. For example, the acquisition unit 201-3 acquires the state s t (An example of first status information) is acquired. t For example, the grid world map may include the agent's starting position, the agent's goal position, the positions of obstacles, and the agent's current position.

[0112] The inference unit 202-3 determines the state s t The inference unit 202-3 determines (infers) the direction (movement direction) in which the agent will move next in the grid world using the state s. As with the inference unit 202 in the first embodiment, the inference unit 202-3 can perform inference using various reinforcement learning algorithms. For example, when performing inference using DQN, the inference unit 202-3 determines (infers) the direction (movement direction) in which the agent will move next in the grid world using the state s t is calculated by the neural network action value function Q(s t ,a t ) and take action a according to the above formula (1). t Action a t is, for example, the agent's movement direction.

[0113] The reward determination unit 211-3 determines, for example, the reduction in the distance to the goal as the reward.

[0114] The data control unit 221-3 generates data u t to the extension unit 222-3. u t =(s t ,a t ,r t+1 ,s t+1 ) ···(9)

[0115] Data t Each item in the table below means the following information: Term 1: State information at time t Term 2: Action at time t (direction of movement) Term 3: Reward at time t+1 Term 4: State information at time t+1

[0116] The extension 222-3 is the data u t Then, data extension is performed according to f5 expressed by the following equation (10). f5(u t )=(s t+1 ,a' t ,r t+1 ,s t ) ···(10)

[0117] action a' t is action a t For example, action a is an action that corrects the direction of the t If indicates the right direction, action a' t is corrected to indicate the left direction. The extension unit 222-3 also corrects the reward as necessary. For example, if the reward is the reduction in the distance to the goal, the extension unit 222-3 corrects r t+1 -r t+1 to be corrected.

[0118] It should be noted that the extension unit 222-3 does not perform data extension if the agent collides with an obstacle at time t+1 or if the agent reaches the goal.

[0119] The data generating unit 223-3 converts the data input from the extension unit 222-3 into data ut In this case, data generation unit 223-3 generates empirical data x expressed by the above formula (7). That is, data generation unit 223-3 generates empirical data x from input data according to the following rules. The first term of the input data is treated as the first term of the empirical data. ·The second term of the input data is taken as the second term of the empirical data. ·The third term of the input data is taken as the third term of the empirical data. ·The fourth term of the input data is taken as the fourth term of the empirical data.

[0120] The data generator 223-3 generates the extended data f5(u t ) empirical data can also be generated according to the above rules.

[0121] Figure 12 shows the state s at time t in the grid world. t and state s at time t+1 t+1 8 is a diagram showing an example of the state information 801. The state information 801 is state information of a state actually obtained by the action of the agent. The state information 801 includes a start position 811, a goal position 812, a current position 813 of the agent, and an obstacle position 814.

[0122] Specifically, the state information 801 includes first state information 801-1 and second state information 801-2 as follows. First state information 801-1: State of the grid world at time t Second state information 801-2: State of the grid world at time t+1

[0123] The start position 811, goal position 812, and obstacle position 814 are set to values ​​that are randomly changed for each trial.

[0124] In this embodiment, the inference unit 202-3 determines which adjacent grid to move to in one action (movement direction). The agent's objective is to reach the goal in as few moves as possible without coming into contact with obstacles. In other words, the subject of inference in this embodiment is the movement path of the agent moving within the grid world. Also, the subject related to the movement path is, for example, the agent itself.

[0125] In this embodiment, the data generating unit 223-3 generates state information 802 in which the state at time t and the state at time t+1 included in the state information 801 are swapped with each other.

[0126] State information 802 represents data obtained by extending state information 801 using data extension f5. State information 802 is state information in which the time of each state in state information 801 is swapped. That is, state information 802 includes first state information 802-1 and second state information 802-2 as follows. First status information 802-1: Status information replaced with second status information 801-2 Second status information 802-2: Status information replaced with the first status information 801-1

[0127] In state information 801, the agent has moved to the right grid, while state information 802 is data simulating the action of the agent moving from the right grid to the left grid.

[0128] In this way, in the third embodiment, two or more pieces of experience data can be generated from one action in the grid world, which makes it possible to improve the learning efficiency of reinforcement learning with respect to the number of actions.

[0129] As described above, according to the first to third embodiments, it is possible to improve the learning efficiency.

[0130] Next, a hardware configuration of the information processing device according to the first to third embodiments will be described with reference to Fig. 13. Fig. 13 is an explanatory diagram showing an example of a hardware configuration of the information processing device according to the first to third embodiments.

[0131] The information processing device according to the first to third embodiments includes a control device such as a CPU 51, a storage device such as a ROM (Read Only Memory) 52 and a RAM (Random Access Memory) 53, a communication I / F 54 that connects to a network and communicates, and a bus 61 that connects each part.

[0132] The programs executed by the information processing apparatuses according to the first to third embodiments are provided in a state that they are pre-installed in the ROM 52 or the like.

[0133] The programs executed by the information processing devices according to the first to third embodiments may be configured to be provided as a computer program product by being recorded in an installable or executable format on a computer-readable recording medium such as a CD-ROM (Compact Disk Read Only Memory), a flexible disk (FD), a CD-R (Compact Disk Recordable), or a DVD (Digital Versatile Disk).

[0134] Furthermore, the programs executed by the information processing devices according to the first to third embodiments may be stored on a computer connected to a network such as the Internet and provided by being downloaded via the network. Also, the programs executed by the information processing devices according to the first to third embodiments may be provided or distributed via a network such as the Internet.

[0135] The programs executed by the information processing device according to the first to third embodiments can cause a computer to function as each unit of the information processing device described above. In this computer, the CPU 51 can read the programs from a computer-readable storage medium onto a main storage device and execute the programs.

[0136] Although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and spirit of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]

[0137] 100 Robots 110 Generation part 111 Generation part 120, 120-2, 120-3 Information processing device 130 Network 140 Display section 150 Input section 201, 201-2, 201-3 Acquisition Department 202, 202-2, 202-3 Reasoning section 203 Robot Control Unit 204 Output control section 211, 211-3 Remuneration Determination Division 212 Learning Department 220, 220-2, 220-3 Generation control unit 221, 221-3 Data control section 222, 222-2, 222-3 Extension 223, 223-2, 223-3 Data generation section 224 Temporary storage 231 Storage section

Claims

1. an acquisition unit that acquires one or more first state information indicating a state at a first time of each of one or more second objects related to a first object that is a subject of inference, and one or more second state information indicating a state at a second time of each of the one or more second objects; a generation control unit that generates, as learning data used in reinforcement learning of a machine learning model used for the inference, learning data including the first state information at least a part of which has been replaced with any of the second state information, and the second state information at least a part of which has been replaced with any of the first state information; An information processing device comprising:

2. the first object is a robot; the second target includes a first area which is a source area of ​​an object moved by the robot, and a second area which is a destination area of ​​the object, the first status information includes third status information indicating a state of the first area at the first time and fourth status information indicating a state of the second area at the first time, The second status information includes fifth status information indicating a state of the first area at the second time, and sixth status information indicating a state of the second area at the second time. The information processing device according to claim 1 .

3. The generation control unit, the third status information replaced with the sixth status information; the fourth status information replaced with the fifth status information; the fifth status information replaced with the fourth status information; and the sixth status information replaced with the third status information; generating the training data including The information processing device according to claim 2 .

4. The generation control unit, the fourth status information replaced with the fifth status information; and the sixth status information replaced with the third status information; generating the training data including The information processing device according to claim 2 .

5. The generation control unit, the third status information replaced with the sixth status information; and the fifth status information replaced with the fourth status information; generating the training data including The information processing device according to claim 2 .

6. the first region and the second region have different sizes; the acquisition unit modifies at least one of the first status information and the second status information so that the first status information and the second status information indicate states of areas of the same size. The information processing device according to claim 2 .

7. the first region and the second region have different sizes; the generation control unit modifies at least one of the first state information and the second state information so that the first state information and the second state information indicate states of regions of the same size, and generates the learning data including the modified first state information and the modified second state information. The information processing device according to claim 2 .

8. the generation control unit determines whether the first status information can be replaced with the second status information and whether the second status information can be replaced with the first status information, replaces the first status information determined to be replaceable with the second status information, and replaces the second status information determined to be replaceable with the first status information. The information processing device according to claim 1 .

9. the first object is a movement path of an agent moving within the grid world; the second object includes the agent; the first state information indicating a location of the agent at the first time; the second state information indicating a location of the agent at the second time; The information processing device according to claim 1 .

10. An information processing method executed by an information processing device, comprising: an acquisition step of acquiring one or more first state information indicating a state at a first time of each of one or more second objects related to a first object to be inferred, and one or more second state information indicating a state at a second time of each of the one or more second objects; a generation control step of generating, as learning data used in reinforcement learning of a machine learning model used for the inference, learning data including the first state information at least a part of which has been replaced with any of the second state information, and the second state information at least a part of which has been replaced with any of the first state information; An information processing method comprising:

11. On the computer, an acquisition step of acquiring one or more first state information indicating a state at a first time of each of one or more second objects related to a first object to be inferred, and one or more second state information indicating a state at a second time of each of the one or more second objects; a generation control step of generating, as learning data used in reinforcement learning of a machine learning model used for the inference, learning data including the first state information at least a part of which has been replaced with any of the second state information, and the second state information at least a part of which has been replaced with any of the first state information; A program for executing the above.

Citation Information

Patent Citations

  • Reinforcement learning system and reinforcement learning program

    JP2006309519A

  • Robot cooperative conveyance planning device, method, and program

    JP2014211667A

  • Controller, control method, and computer program product

    US20210129319A1

  • Learning data augmentation policies

    WO2019222734A1

  • Teacher data extending device, teacher data extending method, and program

    WO2020070876A1