Planning system, planning method, and program
The planning system addresses the issue of inappropriate action sequences by abstracting and concretizing tasks to remove unnecessary elements, enabling effective robot action planning.
Patent Information
- Application Number
- PCT/JP2025/018198
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-05-20
- Publication Date
- 2026-11-26
AI Technical Summary
Existing pruning methods in robot planning systems may remove relevant components, leading to the inability to generate appropriate action sequences.
A planning system that includes an unnecessary element input unit, task generation unit, action sequence planning unit, action sequence generation unit, and task concretization unit to abstract and concretize tasks by removing unnecessary elements, allowing for the generation of appropriate action sequences.
Enables the generation of appropriate action sequences even when traditional pruning methods fail, ensuring effective task completion by robots.
Smart Images

Figure JP2025018198_26112026_PF_FP_ABST
Abstract
Description
Planning system, planning method, and program
[0001] The present disclosure relates to a planning system, a planning method, and a program.
[0002] A planning system, which is a system for creating an action plan for a robot, generates a sequence of actions from an initial state to a target state in a certain task. The action plan can be described, for example, in the PDDL (Planning Domain Definition Language) format described in Non-Patent Document 1.
[0003] One of the techniques for creating an action plan is pruning. For example, Non-Patent Document 2 performs pruning using the physical structure of the environment. In Non-Patent Document 2, components that are physically separated from the location related to the target state of the task are assumed to be irrelevant to the task and are removed from the task.
[0004] McDermott, Drew; Ghallab, Malik; Howe, Adele; Knoblock, Craig; Ram, Ashwin; Veloso, Manuela; Weld, Daniel; Wilkins, David (1998). "PDDL---The Planning Domain Definition Language". Technical Report CVC TR98003 / DCS TR1165. New Haven, CT: Yale Center for Computational Vision and Control.Agia, Christopher et al. “Taskography: Evaluating robot task planning over large 3D scene graphs.” Conference on Robot Learning (2022).
[0005] Pruning methods like those described in Non-Patent Document 2 may remove components relevant to the task. In other words, pruning may remove components necessary for generating an appropriate sequence of actions from the task. In such cases, it may not be possible to generate an appropriate sequence of actions using pruning.
[0006] This disclosure is made to solve these problems and aims to provide a planning system, planning method, and program that can generate appropriate action sequences.
[0007] The planning system according to this disclosure includes: an unnecessary element input unit that receives input of an unnecessary element set which is a set of object elements to be removed from the components of the current task in the robot's action plan; a task generation unit that generates a task that abstracts the current task by removing the object elements included in the unnecessary element set from the arguments of the components; an action sequence planning unit that plans an action sequence for the abstracted task; an action sequence generation unit that generates a concrete action sequence by concreteizing the action if the action sequence planned by the action sequence planning unit includes an abstracted action; and a task concreteization unit that concreteizes the task abstracted by the task generation unit in a manner different from the current task.
[0008] The planning method relating to this disclosure includes: an unnecessary element input process in which a computer receives input of an unnecessary element set, which is a set of object elements to be removed from the components of the current task in the robot's action plan; a task generation process that generates a task by abstracting the current task by removing the object elements included in the unnecessary element set from the arguments of the components; an action sequence planning process that plans an action sequence for the abstracted task; an action sequence generation process that generates a concrete action sequence by concreteizing the action if the action sequence planned in the action sequence planning process includes an abstracted action; and a task concreteization process that concreteizes the task abstracted in the task generation process in a way that is different from the current task.
[0009] The program relating to this disclosure causes a computer to execute: an unnecessary element input step which accepts an unnecessary element set which is a set of object elements to be removed from the components of the current task in the robot's action plan; a task generation step which generates a task that abstracts the current task by removing the object elements included in the unnecessary element set from the arguments of the components; an action sequence planning step which plans an action sequence for the abstracted task; an action sequence generation step which, if the action sequence planned in the action sequence planning step includes an abstracted action, generates an action sequence that is materialized by materializing the action; and a task materialization step which materializes the task abstracted in the task generation step in a way that is different from the current task.
[0010] This disclosure provides a planning system, a planning method, and a program that can generate appropriate action sequences.
[0011] Figure 1 is a block diagram showing the configuration of the planning system according to this disclosure. Figure 2 is a flowchart showing an example of the flow of the planning method. Figure 3 is a block diagram showing the configuration of another planning system according to this disclosure. Figure 4 is a schematic diagram showing a task of rearranging articles. Figure 5 is a schematic diagram showing another task of rearranging articles. Figure 6 is a flowchart showing an example of the flow of the planning method. Figure 7 is a schematic diagram showing a movement task. Figure 8 is a diagram showing an example of the hardware configuration of the planning system.
[0012] The embodiments relating to this disclosure will be described in detail below with reference to the drawings. In each drawing, the same or corresponding elements are denoted by the same reference numerals. In addition, redundant explanations will be omitted as appropriate for clarity.
[0013] (Embodiment 1) Hereinafter, Embodiment 1 of the present disclosure will be described with reference to the drawings. Figure 1 is a block diagram showing the configuration of the planning system 1 according to the present disclosure. The planning system 1 is typically one or more computer devices that operate by a processor executing a program stored in memory. In other words, the planning system 1 may consist of one computer device or two or more computer devices. For example, the planning system 1 is one or more server devices. That is, the planning system 1 may be a single device.
[0014] Planning System 1 is an information processing system that formulates an action plan for a robot. The "action plan" may also be called a "control plan." That is, Planning System 1 may also be a control device that controls the movements of the robot, which is the object of control, according to the formulated (generated) action plan and control plan. The robot's action plan refers to the process of determining the sequence of actions for the robot to accomplish a predetermined task within a predetermined environment. The robot is a system capable of acting autonomously based on a predetermined action plan. The robot may be an industrial robot or a service robot. Specifically, the robot may be a robotic arm, a SCARA robot, a parallel link robot, a gantry robot, or other industrial robot. Furthermore, the robot may be a cleaning robot, a transport robot, a care robot, or other service robot. In addition, the robot may include drones and vehicles with autonomous driving technology. Furthermore, the robot may include agents. That is, the robot does not have to have a physical body. In other words, the robot may be software. Note that there may be one robot or multiple robots.
[0015] In a robot's action plan, a "task" refers to the objective the robot must achieve. A task may be, for example, an action, operation, or movement that the robot must perform. Tasks can be expressed at various levels of abstraction. For example, a task may be "grasping an object," "moving to a designated location," or "pressing a button," or it may be "moving an object," "guiding a person," or any other task. For example, if the task is "moving an object," the action plan for that task will include a sequence of actions for the robot to move the object.
[0016] Tasks in a robot's action plan are composed of various elements. For example, a task may include prerequisite elements, input elements, and effect elements. These elements can include object elements. Specifically, these elements can take object elements as arguments. In other words, these elements can refer to object elements. An "object element" is a part that describes an object, such as an object that exists in a given environment, the state of that object, or the effect that the robot has on that object. For example, suppose an object "item a" is defined, and the state "item a is in table A" is defined for that object. In this case, the object elements in the task's elements are, for example, "item a" itself in the object definition "item a" and the description "item a" in the state definition "item a is in table A". The state definition "item a is in table A" takes "item a" and "table A" as arguments.
[0017] The robot's action plan can be described in any format. For example, the action plan may be described in PDDL (Planning Domain Definition Language) format, HTN (Hierarchical Task Network) format, BT (Behavior Trees) format, or any other format.
[0018] The planning system 1 comprises an unnecessary element input unit 11, a task generation unit 12, an action sequence planning unit 13, an action sequence generation unit 14, and a task concretization unit 15. These elements are typically software or modules whose processing is performed by the processor executing a program stored in memory. These elements may also be hardware such as circuits or chips. Furthermore, these elements may be configured by the same computer device or by different computer devices.
[0019] The elements in planning system 1 are connected in a way that enables data communication as needed. Data communication between them may be conducted via a wired or wireless network. Data communication may take place within the same computer device, via an internet connection, or using short-range wireless communication technology. The type of communication protocol used for data communication is not limited.
[0020] The unnecessary element input unit 11 accepts input of an unnecessary element set, which is a set of object elements that should be removed from the components of the current task in the robot's action plan. The unnecessary element input unit 11 is also called the unnecessary element input means. "Current task" means the current task. For example, the current task is the task input into the planning system 1. The current task may be a task initially generated by the user or a predetermined computer system (not shown) outside the planning system 1. Alternatively, the current task may be a task whose content has been modified in some way by the user or a predetermined computer system outside the planning system 1.
[0021] The set of unnecessary elements is a set of object elements that should be removed from the components of the current task in the robot's action plan. Specifically, the set of unnecessary elements is a set of object elements that are deemed unnecessary for generating the action sequence in the robot's action plan. The unnecessary element input unit 11 can receive the set of unnecessary elements from a user or a predetermined computer system (not shown). When receiving from a user, the unnecessary element input unit 11 may receive the set of unnecessary elements via a predetermined input device (not shown). Here, the input device is, for example, a keyboard, mouse, touch panel, or microphone. The user may input, for example, a set of object elements that they intuitively deem unnecessary in the current task. When receiving input from a predetermined computer system, the computer system may input the set of unnecessary elements to the unnecessary element input unit 11 by mechanical means. The set of unnecessary elements may be a single object element or a set of multiple object elements.
[0022] The task generation unit 12 can generate a task that is an abstraction of the current task by removing object elements included in the set of unnecessary elements received by the unnecessary element input unit 11 from at least the arguments of the constituent elements of the current task. The task generation unit 12 is also called the task generation means. That is, the task generation unit 12 can remove object elements that prerequisite elements, input elements, and effect elements, which are constituent elements of the current task, take as arguments. In other words, the task generation unit 12 can remove object elements that are referenced by prerequisite elements, input elements, and effect elements, which are constituent elements of the current task. A task from which object elements included in the set of unnecessary elements have been removed from at least the arguments of its constituent elements may be called an "abstracted task," an "abstract task," or a "post-abstract task."
[0023] The action sequence planning unit 13 can plan an action sequence for a task abstracted by the task generation unit 12. The action sequence planning unit 13 is also called the action sequence planning means. An "action sequence" is a sequence of actions performed by a robot. That is, an action sequence consists of one or more actions. The action sequence planning unit 13 plans one or more actions as an action sequence based on the components included in the abstracted task. "Planning the action sequence" is also called generating, formulating, or deciding on the action sequence.
[0024] The action sequence generation unit 14 can generate a concrete action sequence by concretizing an abstract action if the action sequence planned by the action sequence planning unit 13 includes an abstract action. The action sequence generation unit 14 is also referred to as the action sequence generation means. Here, "concretization" means changing an abstract action into a non-abstract action.
[0025] The task concretization unit 15 can concretize the task abstracted by the task generation unit 12 in a way that is different from the current task. The task concretization unit 15 is also called the task concretization means. Here, "task concretization" means making at least some of the components of the abstracted task into an unabstracted state. The task concretization unit 15 determines whether the action sequence concretized by the action sequence generation unit 14 is the solution to the current task. If the action sequence is not the solution to the current task, the task concretization unit 15 can concretize the task abstracted by the task generation unit 12 in a way that is different from the current task. Here, "solution to the task" refers to the action sequence that achieves the objective of the task.
[0026] Figure 2 is a flowchart showing an example of the planning method flow by the planning system 1. First, the unnecessary element input unit 11 receives input of an unnecessary element set, which is a set of object elements that should be removed from the components of the current task in the robot's action plan (S101). Next, the task generation unit 12 generates a task that is an abstraction of the current task by removing the object elements included in the unnecessary element set received by the unnecessary element input unit 11 from the components of the current task (S102). After that, the action sequence planning unit 13 plans an action sequence for the task abstracted by the task generation unit 12 (S103). After that, the action sequence generation unit 14 determines whether the action sequence planned by the action sequence planning unit 13 includes the abstracted actions (S104). If NO is determined in step S104, the process proceeds to S106. If YES is determined in step S104, the action sequence generation unit 14 generates a concrete action sequence by concretely defining the concretely defined actions (S105). Subsequently, the task concretization unit 15 determines whether the action sequence generated by the action sequence generation unit 14 is the solution to the current task (S106). If the result in step S106 is YES, the process ends. If the result in step S106 is NO, the task concretization unit 15 concretizes the task abstracted by the task generation unit 12 (S107).
[0027] In this way, the planning system 1 abstracts the current task by removing object elements included in the set of unnecessary elements from at least the arguments of the components of the current task. Then, the planning system 1 plans a sequence of actions for the abstracted task. Subsequently, the planning system 1 materializes the abstracted actions included in the planned sequence of actions. As a result, the planning system 1 can generate an appropriate sequence of actions even if it is not possible to generate an appropriate sequence of actions through pruning.
[0028] (Embodiment 2) Next, Embodiment 2 will be described. Embodiment 2 is a specific example of Embodiment 1 described above. Figure 3 is a block diagram showing the configuration of the planning system 2 according to this disclosure. The planning system 2 is an information processing system that plans the actions of a robot, similar to the planning system 1. That is, when the planning system 2 is given an environment, a set of actions that the robot can take, an initial state, a target state, etc., as a task, it can generate a sequence of actions starting from the initial state and reaching the target state. Here, if a sequence of actions that reaches the target state exists, we say that "the task has a solution". On the other hand, if there is no sequence of actions that reaches the target state, we say that "the task has no solution".
[0029] In Planning System 2, as in Planning System 1, the action plan can be described in any format. That is, the action plan may be described in PDDL format, HTN format, BT format, or any other format. As an example, in Embodiment 2, the action plan is described in PDDL format. In an action plan in PDDL format, a task can be represented as a set of objects, a set of propositions, an initial state, a target state, and a set of actions. That is, a task in an action plan in PDDL format has the following components: a set of objects, a set of propositions, an initial state, a target state, and a set of actions. Among the tasks in PDDL format, the set of objects, the initial state, the target state, and each of these elements can be called "problem elements." Also, the set of propositions, the set of actions, and each of these elements can be called "domain elements." Now, with reference to the drawings, each component of a task described in PDDL format will be explained. Figure 4 is a schematic diagram showing a task of rearranging items. Figure 4 shows a task in which the robot arm aims to swap item a, placed on table A, with item b, placed on table B. Note that in Figure 4, there are no items on table C.
[0030] An "object set" is a collection of objects related to a task. An object set is one of the problem elements. An object is, for example, an entity with a physical existence. An object may be a robot, an item, a place, etc. In the task in Figure 4, the object set is {item a, item b, table A, table B, table C}. Note that the robot targeted by the action plan may also be included as an object. That is, in the task in Figure 4, a robot arm may be included in the object set. Furthermore, the object elements in the object set are the individual objects included in the object set.
[0031] A "proposition set" is a collection of propositions related to a task. A proposition set is one of the domain elements. Propositions describe the state of each object or the relationships between objects. A proposition is expressed as a function that takes one or more objects as arguments and returns true or false. Object elements in a proposition set are, for example, the arguments of each proposition. In other words, a proposition set is one of the domain elements that takes object elements as arguments.
[0032] In the task shown in Figure 4, "Item a is in Table A" is an example of a proposition. This proposition takes two objects as arguments: "Item a" and "Table A". The object elements of the proposition "Item a is in Table A" are "Item a" and "Table A". This proposition is a function that returns true if Item a is in Table A, and false if Item a is not in Table A. In the task shown in Figure 4, the set of propositions may also be represented as {"Item a is in Table A", "Item a is in Table B", "Item a is in Table C", "Item b is in Table A", "Item b is in Table B", "Item b is in Table C", "Table A is empty", "Table B is empty", "Table C is empty"}. In addition, in the task shown in Figure 4, propositions can be used to specify that a new item cannot be placed on a table if an item is already on that table.
[0033] The "initial state" represents the state at the time the task is started. The initial state is one of the problem elements. The initial state can be represented as a set of propositions that are true. In the task in Figure 4, the initial state can be represented as a set of propositions such as {<item a is in table A>, <item b is in table B>, }. The object elements in the initial state may also be the arguments of each proposition in the initial state. For example, the initial state <item a is in table A> takes the object elements "item a" and "table A" as arguments.
[0034] The "target state" represents the state that you want to achieve in a task. The target state is one of the problem elements. The task in Figure 4 aims to swap item a and item b. Therefore, the target state in the task in Figure 4 can be expressed as a set of propositions such as {<item a is in table B>, <item b is in table A>}. Here, if a given state is a subset of the target state, then that state can be said to have achieved its goal. The object elements in the target state may also be the arguments of each proposition in the target state. For example, the target state <item a is in table B> takes the object elements "item a" and "table B" as arguments.
[0035] An "action set" is a collection of actions related to a task. An action set is one of the domain elements. Here, an action can be expressed as an operation that adds or removes propositions from a given state. An action also takes one or more objects as arguments. For example, in the task in Figure 4, "Move item a from table A to table B" is an example of an action. This action is an operation that removes the propositions "item a is in table A" and "table B is empty" from a given state. This action is also an operation that adds the propositions "item a is in table B" and "table A is empty". The action "Move item a from table A to table B" takes three objects as arguments: "item a", "table A", and "table B". In other words, object elements in an action set may also be arguments of their respective actions. An action set is a domain element that takes object elements as arguments.
[0036] An action may only be performed when certain execution conditions are met. In other words, an action may include execution conditions. For example, in the task in Figure 4, the action "move item a from table A to table B" includes the set {<item a is in table A>, } as execution conditions. This action can be performed when the above execution conditions constitute a subset of the state. Each action may also have a cost for execution.
[0037] The set of actions in the task shown in Figure 4 may also be {"Move item a from table A to table B", "Move item a from table A to table C", "Move item a from table B to table C", "Move item a from table C to table B", "Move item a from table C to table A", "Move item a from table B to table A", "Move item b from table A to table B", "Move item b from table A to table C", "Move item b from table B to table C", "Move item b from table C to table B", "Move item b from table C to table A", "Move item b from table B to table A"}.
[0038] An "action sequence" refers to the sequence of actions performed sequentially from the initial state of a task. In other words, an action sequence is a sequence of actions performed by the target robot. To put it another way, an action sequence is a chronological arrangement of actions performed by the robot. The objective of Planning System 2 is to plan an action sequence to achieve the target state. Planning System 2 may also aim to plan the shortest possible action sequence. In other words, Planning System 2 may aim to plan the shortest possible action sequence. That is, Planning System 2 may aim to plan the shortest possible action sequence. Furthermore, if performing an action requires a cost, Planning System 2 may aim to plan an action sequence with the lowest total cost of actions.
[0039] The planning system 2 in Figure 3 comprises a task input unit 21, an unnecessary element input unit 22, a task generation unit 23, an action sequence planning unit 24, an action sequence generation unit 25, a task concretization unit 26, and an output unit 27. These elements are typically software or modules whose processing is performed by a processor executing a program stored in memory. These elements in the planning system 2 may also be hardware such as circuits or chips. These elements may be configured by the same computer device or by different computer devices.
[0040] The elements in planning system 2 are connected to each other in a way that allows for data communication as needed. Data communication may be conducted via a wired or wireless network. Data communication may be conducted within the same computer device, via the Internet, or using short-range wireless communication technology. The type of communication protocol used for data communication is not limited.
[0041] The task input unit 21 can receive input of the current task in the robot's action plan. The task input unit 21 is also referred to as the task input means. "Current task" means the current task. The current task also means the task before abstraction by the planning system 2. The task input unit 21 can receive input of a set of objects, a set of propositions, an initial state, a target state, and a set of actions as the current task. The task input unit 21 can receive the current task from a user or a predetermined computer system (not shown). When receiving from a user, the task input unit 21 may receive input of the current task via a predetermined input device (not shown). Here, the input device is, for example, a keyboard, mouse, touch panel, or microphone. The task input unit 21 may also receive input of the current task by, for example, reading the task from a predetermined storage device (not shown). Alternatively, the task input unit 21 may receive part of the current task from the user and the other part from the computer system. For example, in the task shown in Figure 4, the task input unit 21 can accept input where the current task is a set of objects, a set of propositions, an initial state, a target state, and a set of actions as described above.
[0042] Each action in the action set for the current task, for which the task input unit 21 accepts input, may have a cost for performing that action. That is, the task input unit 21 may accept input for the cost of performing each action in the action set for the current task. The cost may be provided for some of the actions in the action set, or for all of the actions.
[0043] The Unnecessary Element Input Unit 22 receives input of an unnecessary element set, which is a set of object elements that should be deleted from the components of the current task that the Task Input Unit 21 has received input of. In other words, the Unnecessary Element Input Unit 22 can receive input of an object set that should be deleted from the components of the current task that the Task Input Unit 21 has received input of. The Unnecessary Element Input Unit 22 is also called the Unnecessary Element Input Means. The Unnecessary Element Input Unit 22 corresponds to the Unnecessary Element Input Unit 11 in the Planning System 1. Like the Unnecessary Element Input Unit 11, the Unnecessary Element Input Unit 22 can receive input of an unnecessary element set, with one or more object elements as unnecessary elements. Also, like the Unnecessary Element Input Unit 11, the Unnecessary Element Input Unit 22 can receive input of an unnecessary element set from a user or a predetermined computer system (not shown). When receiving input of an unnecessary element set from a user, the Unnecessary Element Input Unit 22 may accept input of elements that the user intuitively considers unnecessary for generating the action sequence. Furthermore, when receiving input of a set of unnecessary elements from a computer system, the unnecessary element input unit 22 may receive input of unnecessary elements based on existing mechanical methods. Specifically, the computer system may extract unnecessary elements using pruning. For example, the computer system can extract unnecessary elements using the physical structure of the environment. That is, the computer system may assume that object elements that are physically separated from the objects and locations related to the target state of the task are irrelevant to the task, and may treat such object elements as unnecessary elements. For example, in the task shown in Figure 4, the unnecessary element input unit 22 may receive input of "Table C" as an unnecessary element from the user or the computer system. In this case, the set of unnecessary elements that the unnecessary element input unit 22 accepts input of is {Table C}. Note that the unnecessary element input unit 22 does not have to accept input of a set of unnecessary elements. That is, the planning system 2 does not have to have an unnecessary element input unit 22.
[0044] The task generation unit 23 generates a task by abstracting the current task whose input is received by the task input unit 21. When the unnecessary element input unit 22 receives an input of an unnecessary element set, the task generation unit 23 generates an abstracted task of the current task by removing at least object elements included in the unnecessary element set input by the unnecessary element input unit 22 from the arguments of the constituent elements. The task generation unit 23 is also referred to as task generation means. That is, the task generation unit 23 corresponds to the task generation unit 12 in the planning system 1. The task generation unit 23 may also be referred to as a task abstraction unit.
[0045] The task generation unit 23 generates an abstract task by modifying the components of the current task that relate to object elements deemed unnecessary. In other words, the task generation unit 23 generates an abstract task by modifying the problem element or domain element of the current task that relates to object elements deemed unnecessary. The task generation unit 23 generates a new problem element by removing the object elements deemed unnecessary from the arguments of a problem element that takes an object element as an argument. Similarly, the task generation unit 23 generates a new domain element by removing the object elements deemed unnecessary from the arguments of a domain element that takes an object element as an argument. The task generation unit 23 can also generate a new object set by removing object elements deemed unnecessary from an object set. In this way, the task generation unit 23 can generate an abstract task. Removing an object element from the arguments of a component or from an object set may, for example, be done by replacing the part of the component that contains the object element with "(one of the deleted objects)". Note that for problem elements or domain elements that have an object element deemed unnecessary as their only argument, the task generation unit 23 can simply delete that element. In other words, if a problem element or domain element becomes meaningless by deleting an object element deemed unnecessary, the task generation unit 23 can delete that component. Below, using the task in Figure 4 as an example, the specific method of generating an abstracted task will be explained using the task in Figure 4.
[0046] Regarding the task in Figure 4, suppose the unnecessary element input unit 22 receives {Table C} as input for the set of unnecessary elements. In this case, the task generation unit 23 first deletes "Table C" from the set of objects. As a result, the task generation unit 23 generates a new set of objects, for example, {Item a, Item b, Table A, Table B}.
[0047] Next, the task generation unit 23 removes "Table C" from the propositions in the set of propositions that have "Table C" as an argument. For example, for the proposition "Item b is in Table C", the task generation unit 23 can remove "Table C", which is one of the arguments. As a result, the task generation unit 23 can modify the proposition "Item b is in Table C" to, for example, "Item b is in (one of the deleted objects)". Here, a proposition from which some of the arguments have been removed in this way is called an "abstracted proposition". The task generation unit 23 can similarly modify other propositions in the current task. Note that for the proposition "Table C is empty", "Table C" is the only argument. Therefore, by the task generation unit 23 removing "Table C" from "Table C is empty", "Table C is empty" becomes a meaningless proposition. For this reason, the task generation unit 23 can simply delete the proposition "Table C is empty". As a result, the task generation unit 23 can generate, for example, a new abstracted set of propositions such as {〈Item a is in table A〉, 〈Item a is in table B〉, 〈Item a is in (one of the deleted objects)〉, 〈Item b is in table A〉, 〈Item b is in table B〉, 〈Item b is in (one of the deleted objects)〉, 〈Table A is empty〉, 〈Table B is empty〉}.
[0048] Next, the task generation unit 23 makes the same modifications to the initial state and target state as it did for the proposition set. Here, the initial state of the current task in Figure 4 is {〈Item a is in Table A〉, 〈Item b is in Table B〉, 〈Table C is empty〉}. Therefore, the task generation unit 23 can generate a new initial state, {〈Item a is in Table A〉, 〈Item b is in Table B〉}, by deleting 〈Table C is empty〉. Also, the target state of the current task in Figure 4 is {〈Item a is in Table B〉, 〈Item b is in Table A〉}. Here, the target state does not include the unnecessary element set {Table C}. Therefore, the task generation unit 23 does not make any modifications or deletions to the target state.
[0049] Next, for the action set, "table C" is deleted from the proposition with "table C" as an argument. For example, for an action of "move article b from table B to table C", the task generation unit 23 can delete "table C" which is one of the arguments. As a result, the task generation unit 23 can generate a new action of "move article b from table B to (any of the deleted objects)". An action in which a part of the argument is deleted in this way is referred to as an "abstracted action". Here, the action of "move article b from table B to table C" includes execution conditions of {<article b is on table B>, }. Therefore, the task generation unit 23 corrects the execution conditions of the action in conjunction with the correction of the action. Specifically, the task generation unit 23 generates a new execution condition of {<article b is on table B>} by deleting from among the execution conditions.
[0050] Furthermore, the task generation unit 23 can correct the propositions included in the addition effect and the deletion effect accompanying the execution of the action. For example, in the current task, the addition effect accompanying the execution of the action of "move article b from table B to table C" is a proposition of <article b is on table C>. In addition, the deletion effect accompanying the execution of the action is a proposition of . The task generation unit 23 deletes "table C" which is an argument from the addition effect in accordance with the correction of the action of "move article b from table B to table C". As a result, the task generation unit 23 generates an addition effect of <article b is on (any of the deleted objects)>. In addition, the task generation unit 23 deletes which is the deletion effect.
[0051] The task generation unit 23 can generate, for example, a new set of actions such as: {"Move item a from table A to table B", "Move item a from table A to (any of the deleted objects)", "Move item a from table B to (any of the deleted objects)", "Move item a from (any of the deleted objects) to table B", "Move item a from (any of the deleted objects) to table A", "Move item a from table B to table A", "Move item b from table A to table B", "Move item b from table A to (any of the deleted objects)", "Move item b from table B to (any of the deleted objects)", "Move item b from (any of the deleted objects) to table B", "Move item b from (any of the deleted objects) to table A", "Move item b from table B to table A"}.
[0052] When the task generation unit 23 generates an abstracted action, it may add a predetermined cost to the abstracted action. The task generation unit 23 may add a cost of the same value to the abstracted action, or it may add a different cost to each abstracted action. Furthermore, if a cost has been assigned to the action before abstraction in the current task, the task generation unit 23 may add a predetermined cost to that cost. For example, the task generation unit 23 can make the cost of an abstracted action larger than the cost of an action that has not been abstracted. This makes it less likely for an abstracted action to be included in the action sequence.
[0053] If removing an object element from a problem element or domain element that is at least part of the components of the current task results in multiple related problem elements or domain elements, the task generation unit 23 can aggregate these multiple related problem elements or domain elements. Typically, if removing an object element from a problem element or domain element results in multiple identical problem elements or domain elements, the task generation unit 23 can aggregate these identical problem elements or domain elements. In other words, the task generation unit 23 can combine duplicate problem elements or domain elements into one. Here, the aggregation of domain elements will be explained using a diagram. Figure 5 is a schematic diagram showing another task of sorting items. Figure 5 is the same as the task in Figure 4, but with "item c" and "table D" added as objects. For example, in the task in Figure 5, let's assume that {item c, table C, table D} are entered into the unnecessary element input unit 22 as unnecessary elements. In this case, the task generation unit 23 modifies the propositions "<item a is in table C>" and "<item a is in table D>", that is, by removing unnecessary elements from the arguments of the propositions, it generates new propositions "<item a is in (one of the deleted objects)>" and "<item a is in (one of the deleted objects)>". As a result, there are two identical propositions "<item a is in (one of the deleted objects)>" in the set of propositions. In other words, by deleting "table C" and "table D", the task generation unit 23 has created two identical domain elements, the proposition "<item a is in (one of the deleted objects)>". In this case, the task generation unit 23 can combine these two propositions into one.
[0054] Returning to Figure 3, let's continue explaining the configuration of the planning system 2. The action sequence planning unit 24 plans the action sequence for the tasks abstracted by the task generation unit 23. The action sequence planning unit 24 is also called the action sequence planning means. In other words, the action sequence planning unit 24 corresponds to the action sequence planning unit 13 in the planning system 1. The action sequence planning unit 24 can plan the action sequence using, for example, a predetermined computer system (not shown) capable of planning action sequences. In this case, the action sequence planning unit 24 inputs the abstracted tasks generated by the task generation unit 23 into the computer system. The action sequence planning unit 24 can then plan the action sequence by outputting the action sequence from the computer system.
[0055] The sequence of actions planned by the action sequence planning unit 24 may or may not include abstracted actions. Furthermore, the state after the execution of actions in the sequence of actions planned by the action sequence planning unit 24 may or may not include abstracted propositions.
[0056] A specific example of an action sequence planned by the action sequence planning unit 24 in the task shown in Figure 4 will be explained. The initial state in the task shown in Figure 4 is {<item a is in table A>, <item b is in table B>}. In this case, the action sequence planning unit 24 can plan the following actions as an action sequence. The actions are to be performed in the order of "first action", "second action", and "third action". ・First action: "Move item b from table B to (one of the deleted objects)" ・Second action: "Move item a from table A to table B" ・Third action: "Move item b from (one of the deleted objects) to table A" In the above, the first action and the third action are abstract actions.
[0057] The states resulting from each action are as follows. Below, "second state" refers to the state after the first action. Also, "third state" refers to the state after the second action. Furthermore, "fourth state" refers to the state after the third action. Initial state: {<item a is in table A>, <item b is in table B>} Second state: {<item a is in table A>, <item b is in (one of the deleted objects)>, } Third state: {<item a is in table B>, <item b is in (one of the deleted objects)>, } Fourth state: {<item a is in table B>, <item b is in table A>} In the above, the second and third states include abstract propositions. Also, the fourth state is a set that includes the target state in the current task. Therefore, the action sequence planned by the action sequence planning unit 24 can be the solution to the current task.
[0058] If the actions generated by the task generation unit 23 include costs, the action sequence planning unit 24 may plan an action sequence that takes costs into consideration. For example, if an action in the current task has a predetermined cost, the action sequence planning unit 24 may plan an action sequence that minimizes the total cost. Also, if the task generation unit 23 adds costs to an abstracted action, the action sequence planning unit 24 may plan an action sequence that minimizes the total cost, taking into account the costs added by the task generation unit 23. If the cost of an abstracted action is set significantly higher than the cost of an unabstracted action, the action sequence planning unit 24 may plan an action sequence by prioritizing the selection of unabstracted actions.
[0059] Furthermore, the action sequence planning unit 24 can plan action sequences for tasks generated by the task concretization unit 26, which will be described later. That is, the action sequence planning unit 24 can plan action sequences for tasks generated by either the task generation unit 23 or the task concretization unit 26.
[0060] Returning to Figure 3, let's continue explaining each element of the planning system 2. The action sequence generation unit 25 can generate a concrete action sequence by concretizing an abstracted action when the action sequence planned by the action sequence planning unit 24 includes such an action. The action sequence generation unit 25 is also called the action sequence generation means. The action sequence generation unit 25 may also be called the action sequence concretization unit. The action sequence generation unit 25 corresponds to the action sequence generation unit 14 in the planning system 1. The action sequence generation unit 25 generates a concrete action sequence by changing an abstracted action into a non-abstracted action. For example, consider the task in Figure 4 where the task generation unit 23 generates the action "move item b from table B to (one of the deleted objects)" as an abstracted action. In this case, the action sequence generation unit 25 can concretize the action by changing the abstracted action to, for example, "move item b from table B to table C". In other words, the action sequence generation unit 25 can revert the abstracted action back to its original action, such as "move item b from table B to table C".
[0061] When concretizing an action before abstraction, if there are multiple candidates for concretization, the action sequence generation unit 25 can concretize the abstracted action into one of the multiple candidates. Furthermore, in candidate selection, the action sequence generation unit 25 may prioritize concretizing actions that are executable in the task before abstraction over those that are. For example, consider the task in Figure 5 where the set of unnecessary elements is {item c, table C, table D}. In this case, the abstracted action "move item b from table B to (one of the deleted objects)" can be concretized into two: "move item b from table B to table C" and "move item b from table B to table D". Now, consider, for example, the initial state in the task before abstraction being {<item a is in table A>, <item b is in table B>, <item c is in table D>, }. In this case, since table C is empty, the action "move item b from table B to table C" can be executed, but since table D is not empty, the action "move item b from table B to table D" cannot be executed. Therefore, the action sequence generation unit 25 can prioritize specifying the action as "move item b from table B to table C".
[0062] For example, if the task generation unit 23 aggregates identical actions as a result of abstraction, there may be multiple candidates for concretization of the abstracted actions. In such cases, the action sequence generation unit 25 can prioritize concretization over executable actions, as described above.
[0063] The action sequence generation unit 25 concretizes abstracted actions in chronological order. In other words, the action sequence generation unit 25 concretizes abstracted actions in sequence. For example, suppose the action sequence planning unit 24 in Figure 4 plans the action sequence as follows: ・First action: "Move item b from table B to (one of the deleted objects)" ・Second action: "Move item a from table A to table B" ・Third action: "Move item b from (one of the deleted objects) to table A" In this case, the action sequence generation unit 25 can proceed with concretization starting from the first action and going up to the third action (the last action). For example, the action sequence generation unit 25 can concretize the first action as "Move item b from table B to table C". Next, the action sequence generation unit 25 concretizes the second action, but since the second action is not an abstracted action, no concretization process is performed for the second action. In other words, the concretization process for the second action is skipped. Subsequently, the action sequence generation unit 25 implements the third action. As a result of the implemented first and second actions, the third state after the second action becomes {〈item a is in table B〉, 〈item b is in table C〉, 〈item c is in table D〉, 〈table A is empty〉}. Therefore, the action sequence generation unit 25 can implement the third action, which is "move item b from table C to table A".
[0064] Returning to Figure 3, we will continue the explanation of each element of the planning system 2. The task concretization unit 26 can concretize the tasks abstracted by the task generation unit 23. The task concretization unit 26 is also called the task concretization means. The task concretization unit 26 corresponds to the task concretization unit 15 in the planning system 1. The task concretization unit 26 can concretize the tasks abstracted by the task generation unit 23 in a way that is different from the current task input to the task input unit 21. That is, the task concretization unit 26 can generate a task that is more abstract than the current task input to the task input unit 21, and more concretized than the task generated by the task generation unit 23. However, the task concretization unit 26 may also generate a task that has the same level of concretization as the current task input to the task input unit 21 by concretizing the task. That is, the task concretization unit 26 may generate a task that is equivalent to the current task. The task concretization unit 26 performs the process of returning the object elements necessary for the task to have a solution back to the abstracted task.
[0065] The task concretization unit 26 concretizes the task abstracted by the task generation unit 23 based on the action sequence concretized by the action sequence generation unit 25. In other words, the task concretization unit 26 concretizes the task by adding some or all of the object elements that the action sequence concretized by the action sequence generation unit 25 takes as arguments to the problem elements and domain elements, which are components of the task abstracted by the task generation unit 23. To put it another way, the task concretization unit 26 concretizes the task by returning some or all of the object elements back to the arguments of the components of the abstracted task. For example, the task concretization unit 26 removes the objects that are arguments to the actions in the action sequence concretized by the action sequence generation unit 25 from the objects in the set of unnecessary elements. Then, the task concretization unit 26 concretizes the task based on the modified set of unnecessary elements. Specifically, the task concretization unit 26 concretizes the task by returning the object elements that are not included in the modified set of unnecessary elements back to the problem elements and domain elements.
[0066] For example, in the task shown in Figure 4, suppose the action sequence generated by the action sequence planning unit 24 includes the abstract action "move item b from table B to (one of the deleted objects)". Then, suppose the action sequence generation unit 25 concretizes this abstract action as "move item b from table B to table C". In this case, "table C" is deleted from the set of unnecessary elements. Therefore, the task concretization unit 26 adds "table C" to the set of objects in the abstracted task generated by the task generation unit 23. The proposition "item a is in (one of the deleted objects)" included in the set of propositions in the abstracted task is concretized to "item a is in table C". Similarly, "item b is in (one of the deleted objects)" is concretized to "item b is in table C". The task concretization unit 26 can also add "table C is empty" to the set of propositions.
[0067] The task concretization unit 26 performs similar concretization for the initial state, target state, and action set. For example, the task concretization unit 26 can add the proposition "Table C is empty" concerning "Table C" to the initial state. The task concretization unit 26 can also concretize the abstract action "Move item a from Table A to (one of the deleted objects)" as "Move item a from Table A to Table C". Similarly, the task concretization unit 26 can concretize other abstract actions. In the task shown in Figure 4, if the set of unnecessary elements received by the unnecessary element input unit 22 is {Table C}, the process of deleting "Table C" from the set of unnecessary elements corresponds to the process of returning the task abstracted by the task generation unit 23 to a task with the same level of specificity as the current task. That is, in this case, the task concretization unit 26 performs the process of returning the abstracted task to the current task.
[0068] Returning to Figure 3, we continue the explanation of each element of the planning system 2. The output unit 27 can output action sequences and tasks. The output unit 27 is also referred to as the output means. For example, if the action sequence generated by the action sequence generation unit 25 is the solution to the current task input to the task input unit 21, the output unit 27 can output the action sequence as the solution to the task. The output unit 27 can also output some or all of the components of the task materialized by the task materialization unit 26. For example, the output unit 27 may output object elements that have been deleted from the set of unnecessary elements by the task materialization unit 26.
[0069] The output unit 27 may output action sequences or tasks to the user. In this case, the output unit 27 can output action sequences or tasks to a predetermined output device (not shown). The output device is, for example, a display or a speaker. Alternatively, the output unit 27 may output action sequences or tasks to a predetermined computer device (not shown). In this case, the computer device is, for example, a user terminal owned by the user. The user terminal may be, for example, a PC (Personal Computer), a smartphone, or a tablet terminal. The computer device may also be a predetermined server device. The output unit 27 is connected to the output device or computer device in a data communication manner.
[0070] Figure 6 is a flowchart showing an example of the flow of the planning method by the planning system 2. First, the task input unit 21 receives input of the current task in the robot's action plan (S201). Next, the unnecessary element input unit 22 receives input of a set of unnecessary elements from the components of the current task that the task input unit 21 has received input of (S202). Steps S201 and S202 may be performed simultaneously. After that, the task generation unit 23 generates a task that is an abstraction of the current task that the task input unit 21 has received input of (S203). After that, the action sequence planning unit 24 plans an action sequence for the task abstracted by the task generation unit 23 (S204). After that, the action sequence generation unit 25 determines whether the action sequence planned by the action sequence planning unit 24 includes the abstracted actions (S205). If it is determined to be NO in step S205, the process proceeds to S207. If the result in step S205 is determined to be YES, the action sequence generation unit 25 generates a concrete action sequence by concretizing the abstracted actions (S206).
[0071] Subsequently, the task concretization unit 26 determines whether the action sequence generated by the action sequence planning unit 24 and the action sequence generation unit 25 is the solution to the current task (S207). Here, this determination may also be performed by the action sequence generation unit 25. If NO is determined in step S207, the task concretization unit 26 concretizes the task abstracted by the task generation unit 23 (S208). Then, the process returns to step S203, and the action sequence planning unit 24 plans the action sequence again for the task concretized by the task concretization unit 26. Here, the task concretization unit 26 can repeatedly concretize tasks until YES is determined in step S207. The action sequence planning unit 24 can also repeatedly plan action sequences for the task concretized by the task concretization unit 26. If YES is determined in step S207, the output unit 27 outputs the action sequence that is the solution to the current task (S209). Here, the output unit 27 may output some or all of the components of the task materialized by the task materialization unit 26.
[0072] Next, an embodiment of the planning system 2 will be described using drawings. Figure 7 is a schematic diagram showing a movement task. Figure 7 shows a task to move a cleaning robot, which is initially located at p1, to p4. In Figure 7, it is assumed that the cleaning robot can only move to adjacent locations. The locations to which the cleaning robot can move are p1, p2, p3, p4, p5, and p6. This task can be expressed in PDDL format as follows. - Object set: {p1, p2, p3, p4, p5, p6} - Proposition set: {<The robot is at p1>, <The robot is at p2>, <The robot is at p3>, <The robot is at p4>, <The robot is at p5>, <The robot is at p6>} - Initial state: {<The robot is at p1>} - Target state: {<The robot is at p4>} - Action set: {"The robot moves from p1 to p2", "The robot moves from p2 to p1", "The robot moves from p2 to p3", "The robot moves from p3 to p2", "The robot moves from p3 to p4", "The robot moves from p4 to p3", "The robot moves from p4 to p5", "The robot moves from p5 to p4", "The robot moves from p5 to p6", "The robot moves from p6 to p5"}
[0073] Suppose the unnecessary element input unit 22 receives the input {p2, p3, p5, p6} as a set of unnecessary elements. In this case, the task generation unit 23 can generate the following abstracted task: • Object set: {p1, p4} • Proposition set: {<The robot is at p1>, <The robot is at (one of the deleted objects)>, <The robot is at p4>} • Initial state: {<The robot is at p1>} • Target state: {<The robot is at p4>} • Action set: {"The robot moves from p1 to (one of the deleted objects)", "The robot moves from (one of the deleted objects) to p1", "The robot moves from (one of the deleted objects) to p4", "The robot moves from p4 to (one of the deleted objects)"}
[0074] For a task abstracted by the task generation unit 23, the action sequence planning unit 24 can plan an action sequence such as the following: • First action: "The robot moves from p1 to (one of the deleted objects)" • Second action: "The robot moves from (one of the deleted objects) to p4" Since the above action sequence includes abstracted actions, the action sequence generation unit 25 can generate a more concrete action sequence such as the following: • First action: "The robot moves from p1 to p2" • Second action: "The robot moves from p3 to p4"
[0075] Here, the task concretization unit 26 determines whether the action sequence generated by the action sequence generation unit 25 is the solution to the current task. However, the above action sequence is not the solution to the current task. Considering the state in the current task, - Initial state: {<The robot is at p1>} - First action: "The robot moves from p1 to p2" - Second state: {<The robot is at p2>} - Second action: "The robot moves from p3 to p4" However, in the second state, the concretized second action does not satisfy the execution condition <The robot is at p3>.
[0076] Therefore, the task concretization unit 26 concretizes the task based on the action concretized by the action sequence generation unit 25. The objects added to the action arguments by the concretization of the action are p2 and p3. Therefore, the task concretization unit 26 removes p2 and p3 from the set of unnecessary elements {p2, p3, p5, p6}. As a result, the set of unnecessary elements is changed to {p5, p6}. Then, the task concretization unit 26 can concretize the task corresponding to the changed set of unnecessary elements, for example, as follows. • Object set: {p1, p2, p3, p4} • Proposition set: {<The robot is at p1>, <The robot is at p2>, <The robot is at p3>, <The robot is at p4>} • Initial state: {<The robot is at p1>} • Target state: {<The robot is at p4>} • Action set: {"The robot moves from p1 to p2", "The robot moves from p2 to p1", "The robot moves from p2 to p3", "The robot moves from p3 to p2", "The robot moves from p3 to p4", "The robot moves from p4 to p3", "The robot moves from p4 to (one of the deleted objects)", "The robot moves from (one of the deleted objects) to p4"}
[0077] The action sequence planning unit 24 plans an action sequence again for the task that has been materialized by the task materialization unit 26. The action sequence planning unit 24 can plan an action sequence such as the following: - First action: "The robot moves from p1 to p2" - Second action: "The robot moves from p2 to p3" - Third action: "The robot moves from p3 to p4" Next, the action sequence generation unit 25 determines whether the action sequence by the action sequence planning unit 24 includes an abstracted action. Here, the action sequence does not include an abstracted action. Therefore, the task materialization unit 26 determines whether the action sequence is a solution for the current task. Here, the action sequence is a solution for the current task. Therefore, the output unit 27 outputs the action sequence as a solution for the task.
[0078] Thus, according to this second embodiment, the first embodiment can be concretely realized. When formulating the robot's action plan, a technique called pruning can be used. For example, pruning as described in Non-Patent Document 2 assumes that components that are physically separated from the location related to the target state of the task are irrelevant to the task and are removed from the task.
[0079] Here, an example of pruning will be explained using the example in Figure 4. In pruning, first, unnecessary object elements are removed from the object set. For example, if the set of unnecessary elements in Figure 4 is {Table C}, then pruning will remove "Table C" from the object set. Next, pruning will remove all problem elements and domain elements that contain unnecessary objects as arguments. For example, for the proposition set, pruning will remove <item a is in Table C>, <item b is in Table C>, and . Similarly, for the action set, pruning will remove "move item a from Table A to Table C", "move item a from Table B to Table C", "move item a from Table C to Table B", "move item a from Table C to Table A", "move item b from Table A to Table C", "move item b from Table B to Table C", "move item b from Table C to Table B", and "move item b from Table C to Table A". Similarly, pruning will remove propositions that have been removed from the proposition set from the initial state and the target state. For example, in pruning, the statement "Table C is empty" is removed from the initial state. Since the removed proposition does not exist in the target state, nothing is removed.
[0080] Thus, in pruning, if objects necessary for generating the sequence of actions are deleted, the actions necessary to reach the target state are also deleted from the task. Therefore, pruning may result in a task having no solution. In planning system 2, even if objects necessary for generating the sequence of actions are input as a set of unnecessary elements, the object elements included in the set of unnecessary elements can be deleted from the arguments of constituent elements such as problem elements and domain elements. In other words, planning system 2 does not delete the propositions or actions themselves, but rather deletes the object elements that the propositions or actions refer to. To put it another way, planning system 2 modifies, rather than deletes, propositions and actions. Therefore, planning system 2 can prevent a situation where a task has no solution. To put it another way, planning system 2 can prevent the abstracted task from having no solution. Here, the abstracted task is not necessarily the solution to the current task, but in such cases, planning system 2 can concretize the abstracted task.
[0081] Here, we will explain that if the current task has a solution, the task abstracted by planning system 2 will never lose its solution. In the task shown in Figure 4, the solution and state changes in the current task before abstraction are as follows, for example. Here, the second state, third state, and fourth state represent the states after executing the first action, second action, and third action, respectively. • Initial state: {<Item a is in Table A>, <Item b is in Table B>, } • First action: "Move item b from Table B to Table C" • Second state: {<Item a is in Table A>, <Item b is in Table C>, } • Second action: "Move item a from Table A to Table B" • Third state: {<Item a is in Table B>, <Item b is in Table C>, } • Third action: "Move item b from Table C to Table A" • Fourth state: {<Item a is in Table B>, <Item b is in Table A>, }
[0082] Next, the following shows an example of an abstracted action column obtained by removing the above action column when "Table C" is deemed unnecessary, and the state change of the abstracted task when the abstracted action column is executed.・Initial state: {〈Item a is in Table A〉, 〈Item b is in Table B〉} ・First action: "Move item b from Table B to (one of the deleted objects)" ・Second state: {〈Item a is in Table A〉, 〈Item b is in (one of the deleted objects)〉, 〈Table B is empty〉} ・Second action: "Move item a from Table A to Table B" ・Third state: {〈Item a is in Table B〉, 〈Item b is in (one of the deleted objects)〉, 〈Table A is empty〉} ・Third action: "Move item b from (one of the deleted objects) to Table A" ・Fourth state: {〈Item a is in Table B〉, 〈Item b is in Table A〉} In this way, the action sequence that abstracts the action sequence that is the solution to the current task becomes the solution to the abstracted task. Therefore, if the current task has a solution, the task abstracted by Planning System 2 also has a solution. For this reason, Planning System 2 can prevent a state where a task has no solution.
[0083] Furthermore, when pruning removes actions necessary to reach the target state from the task, i.e., when the task no longer has a solution, the computation time may be longer than when the task has a solution. The reason for this is as follows: When the task has a solution, the planning system only needs to find one sequence of actions that achieves the target state. However, when the task no longer has a solution, the planning system must explore all possible sequences of actions and determine that none of them will achieve the target state. Planning system 2 can avoid the state where the task no longer has a solution, and therefore, when the pruned task no longer has a solution, the computation time for planning can be reduced.
[0084] Furthermore, Planning System 2 can generate a concrete sequence of actions by concretizing abstracted actions. If a sequence of actions planned based on an abstracted task includes an abstracted action, such a sequence of actions cannot be a solution to the task. Planning System 2 can generate a sequence of actions that can be a solution to the task by performing a process to concretize the sequence of actions.
[0085] Furthermore, Planning System 2 can concretize an abstracted task in a way that is different from the current task input to Planning System 2. This process is performed when the solution to an abstracted task is not the solution to the current task. Planning System 2 can generate a task that is more abstract than the input current task, and more concretized than the previously abstracted task. As a result, even if the sequence of actions generated from the previously abstracted task is not the solution to the task, Planning System 2 can still generate a solution to the task. Moreover, Planning System 2 can ultimately derive a solution to the task by repeatedly concretizing the abstracted task. Furthermore, by keeping the task more abstract than the current task, Planning System 2 can reduce the computation time compared to searching for a solution from the current task.
[0086] Furthermore, in concretizing a task, Planning System 2 can concretize a task by adding some of the object elements to the abstracted task components. By returning some of the object elements that were deemed unnecessary during task abstraction back into the task components, Planning System 2 can generate a sequence of actions that constitutes a solution to the task. Also, by returning only some, rather than all, of the object elements that were deemed unnecessary, Planning System 2 can reduce the computation time compared to searching for a solution from the current task. Moreover, by returning the object elements that were deemed unnecessary, users can determine which objects are necessary to have a solution to the task.
[0087] Furthermore, if the Planning System 2 generates multiple related domain elements by deleting unnecessary object elements from the domain elements of the current task, it can consolidate these related domain elements. Also, if the Planning System 2 generates meaningless components by deleting object elements, it can delete these meaningless components. This allows the Planning System 2 to reduce the number of components in a task, thereby shortening the computation time.
[0088] Furthermore, when planning system 2 concretizes an abstracted action, if there are multiple candidate actions to concretize, it can generate a sequence of concretized actions by selecting an executable action. This allows planning system 2 to avoid generating sequences of actions that are not solutions to the task.
[0089] (Other Embodiments) Embodiments 1 and 2 describe at least a method of removing object elements from the arguments of the task components as a method of abstraction, but the method of abstraction is not limited to this. If the current task before abstraction has a solution, the planning system according to this disclosure can abstract the task in any way such that the abstracted task has a solution.
[0090] (Hardware Configuration Example) Figure 8 shows a hardware configuration example of the planning system 3. In Figure 8, the planning system 3 includes a processor 31 and a memory 32. The processor 31 may be, for example, a microprocessor, an MPU (Micro Processing Unit), or a CPU (Central Processing Unit). The processor 31 may include multiple processors. The memory 32 is composed of a combination of volatile memory and non-volatile memory. The memory 32 may include storage located away from the processor 31. In this case, the processor 31 may access the memory 32 via an I / O (Input / Output) interface, which is not shown.
[0091] In the above example, the program can be stored and provided to the computer using various types of non-transitory computer-readable medium. Non-transitory computer-readable medium includes various types of tangible storage medium. Examples of non-transitory computer-readable medium include magnetic storage media (e.g., magneto-optical disks), CD-ROMs, CD-Rs, CD-R / Ws, and semiconductor memory (e.g., mask ROMs, PROMs (Programmable ROMs), EPROMs (Erasable PROMs), flash ROMs, RAMs). Alternatively, the program may be provided to the computer using various types of transient computer-readable medium. Examples of transient computer-readable medium include electrical signals, optical signals, and electromagnetic waves. Transitory computer-readable medium can supply the program to the computer via wired communication channels such as electric wires and optical fibers, or via wireless communication channels. Computers include various information processing devices such as PCs, servers, CPUs, MPUs, FPGAs (Field Programmable Gate Arrays), and ASICs (Application Specific Integrated Circuits).
[0092] Although the present disclosure has been described above with reference to embodiments, the present disclosure is not limited to the embodiments described above. Various modifications to the structure and details of the present disclosure can be made as can be understood by those skilled in the art within the scope of the present disclosure. Furthermore, each embodiment can be combined with other embodiments as appropriate.
[0093] Each drawing is merely illustrative to illustrate one or more embodiments. Each drawing may be associated with one or more other embodiments rather than with only one specific embodiment. As those skilled in the art will understand, various features or steps described with reference to any one drawing can be combined with features or steps shown in one or more other drawings to create embodiments that are not explicitly illustrated or described. Not all features or steps shown in any one drawing to illustrate an exemplary embodiment are necessarily required, and some features or steps may be omitted. The order of steps shown in any of the drawings may be changed as appropriate.
[0094] Some or all of the above embodiments may also be described as follows, but are not limited to the following: (Note 1) A planning system comprising: an unnecessary element input unit that receives input of an unnecessary element set which is a set of object elements to be removed from the components of the current task in the robot's action plan; a task generation unit that generates a task by abstracting the current task by removing the object elements included in the unnecessary element set from the arguments of the components; an action sequence planning unit that plans an action sequence for the abstracted task; an action sequence generation unit that generates a concrete action sequence by concreteizing the action when the action sequence planned by the action sequence planning unit includes an abstracted action; and a task concreteization unit that concreteizes the task abstracted by the task generation unit in a manner different from the current task. (Note 2) The planning system according to Note 1, wherein the task concreteization unit concreteizes the task by adding some or all of the object elements that are arguments of the action sequence concreted by the action sequence generation unit to the arguments of the components of the task abstracted by the task generation unit. (Note 3) The planning system according to Note 1 or 2, wherein the action sequence planning unit plans the action sequence again for the task materialized by the task materialization unit. (Note 4) The planning system according to any one of Notes 1 to 3, wherein the task generation unit takes the object element as an argument, and if a plurality of related domain elements are generated by deleting the object element from the argument of a domain element which is at least a part of the constituent elements of the current task, the system abstracts the current task by aggregating the plurality of related domain elements. (Note 5) The planning system according to any one of Notes 1 to 4, wherein the task generation unit abstracts the current task by deleting the constituent elements which have become meaningless by deleting the object element.(Note 6) The planning system according to Note 4 or 5, wherein the task generation unit aggregates multiple identical domain elements when multiple identical domain elements are generated by deleting the object elements from the arguments of the domain elements. (Note 7) The planning system according to any one of Notes 1 to 6, wherein the action sequence generation unit generates the action sequence by selecting an executable action when there are multiple candidates for the action to be materialized. (Note 8) A planning method comprising: an unnecessary element input process that accepts input of an unnecessary element set which is a set of object elements to be removed from the components of the current task in the robot's action plan; a task generation process that generates a task that abstracts the current task by removing the object elements included in the unnecessary element set from the arguments of the components; an action sequence planning process that plans an action sequence for the abstracted task; an action sequence generation process that generates a concrete action sequence by concreteizing the action if the action sequence planned in the action sequence planning process includes an abstracted action; and a task concreteization process that concreteizes the task abstracted in the task generation process in a way that is different from the current task. (Note 9) The planning method according to Note 8, wherein the task concreteization process concreteizes the task by adding some or all of the object elements that the action sequence concreted in the action sequence generation process takes as arguments to the arguments of the components of the task abstracted in the task generation process. (Note 10) The planning method according to Note 8 or 9, wherein the action sequence planning process re-plans the action sequence for the task that was materialized in the task materialization process. (Note 11) The planning method according to any one of Notes 8 to 10, wherein the task generation process takes the object element as an argument, and if a plurality of related domain elements are generated by deleting the object element from the argument of a domain element that is at least a part of the constituent elements of the current task, the current task is abstracted by aggregating the plurality of related domain elements.(Note 12) In the task generation process, if a component becomes meaningless by deleting the object element, the current task is abstracted by deleting the meaningless component, as described in any one of Notes 8 to 11. (Note 13) In the task generation process, if multiple identical domain elements are generated by deleting the object element from the argument of the domain element, the multiple identical domain elements are aggregated, as described in Notes 11 or 12. (Note 14) In the action sequence generation process, if there are multiple candidates for the action to be materialized, the materialized action sequence is generated by selecting an executable action, as described in any one of Notes 8 to 13. (Note 15) A program that causes a computer to execute: an unnecessary element input step that accepts input of an unnecessary element set which is a set of object elements to be removed from the components of the current task in the robot's action plan; a task generation step that generates a task that abstracts the current task by removing the object elements included in the unnecessary element set from the arguments of the components; an action sequence planning step that plans an action sequence for the abstracted task; an action sequence generation step that generates a concrete action sequence by concreteizing the action if the action sequence planned in the action sequence planning step includes an abstracted action; and a task concreteization step that concreteizes the task abstracted in the task generation step in a way that is different from the current task. (Note 16) The program according to Note 15, wherein in the task concreteization step, the task is concretely realized by adding some or all of the object elements that are arguments of the action sequence concreted in the action sequence generation step to the arguments of the components of the task abstracted in the task generation step. (Note 17) The program according to Note 15 or 16, wherein the action sequence planning step re-plans the action sequence for the task that was materialized in the task materialization step.(Note 18) The program according to any one of Notes 15 to 17, wherein in the task generation step, if a plurality of related domain elements are generated by taking the object element as an argument and removing the object element from the argument of a domain element which is at least a part of the constituent elements of the current task, the current task is abstracted by aggregating the plurality of related domain elements. (Note 19) The program according to any one of Notes 15 to 18, wherein in the task generation step, if a constituent element becomes meaningless by removing the object element, the current task is abstracted by removing the meaningless constituent element. (Note 20) The program according to Note 18 or 19, wherein in the task generation step, if a plurality of identical domain elements are generated by removing the object element from the argument of a domain element, the plurality of identical domain elements are aggregated. (Note 21) The program according to any one of Notes 15 to 20, wherein in the action sequence generation step, if there are a plurality of candidates for the action to be materialized, the materialized action sequence is generated by selecting the action that can be executed.
[0095] 1 Planning system 2 Planning system 3 Planning system 11 Unnecessary element input unit 12 Task generation unit 13 Action sequence planning unit 14 Action sequence generation unit 15 Task concretization unit 21 Task input unit 22 Unnecessary element input unit 23 Task generation unit 24 Action sequence planning unit 25 Action sequence generation unit 26 Task concretization unit 27 Output unit 31 Processor 32 Memory
Claims
1. A planning system comprising: an unnecessary element input unit that accepts input of an unnecessary element set which is a set of object elements to be removed from the components of the current task in the robot's action plan; a task generation unit that generates a task by abstracting the current task by removing the object elements included in the unnecessary element set from the arguments of the components; an action sequence planning unit that plans an action sequence for the abstracted task; an action sequence generation unit that generates a concrete action sequence by concreteizing the action if the action sequence planned by the action sequence planning unit includes an abstracted action; and a task concreteization unit that concreteizes the task abstracted by the task generation unit in a way that is different from the current task.
2. The planning system according to claim 1, wherein the task embodiment unit makes the task concrete by adding some or all of the object elements that the action sequence materialized in the action sequence generation unit takes as arguments to the arguments of the constituent elements of the task abstracted by the task generation unit.
3. The planning system according to claim 1 or 2, wherein the action sequence planning unit plans the action sequence again for the task that has been materialized by the task materialization unit.
4. The planning system according to claim 1, wherein the task generation unit takes the object element as an argument, and if a plurality of related domain elements are generated by deleting the object element from the argument of a domain element which is at least a part of the constituent elements of the current task, the task generation unit abstracts the current task by aggregating the plurality of related domain elements.
5. The planning system according to claim 1, wherein the task generation unit abstracts the current task by deleting any meaningless components that result from the deletion of the object elements.
6. The planning system according to claim 4, wherein the task generation unit aggregates multiple identical domain elements when multiple identical domain elements are generated by removing the object elements from the arguments of the domain elements.
7. The planning system according to claim 1, wherein the action sequence generation unit generates the action sequence by selecting an executable action when there are multiple candidates for the action to be materialized.
8. A planning method comprising: an unnecessary element input process that accepts input of an unnecessary element set, which is a set of object elements to be removed from the components of the current task in the robot's action plan; a task generation process that generates a task by abstracting the current task by removing the object elements included in the unnecessary element set from the arguments of the components; an action sequence planning process that plans an action sequence for the abstracted task; an action sequence generation process that generates a concrete action sequence by concreteizing the action if the action sequence planned in the action sequence planning process includes an abstracted action; and a task concreteization process that concreteizes the task abstracted in the task generation process in a way that is different from the current task.
9. The planning method according to claim 8, wherein in the task concretization process, the task is concretized by adding some or all of the object elements that the action sequence concretized in the action sequence generation process takes as arguments to the components of the task abstracted in the task generation process.
10. The planning method according to claim 8 or 9, wherein the action sequence planning process re-plans the action sequence for the task that was materialized in the task materialization process.
11. The planning method according to claim 8, wherein in the task generation process, if a plurality of related domain elements are generated by taking the object element as an argument and removing the object element from the argument of a domain element which is at least a part of the constituent elements of the current task, the current task is abstracted by aggregating the plurality of related domain elements.
12. The planning method according to claim 8, wherein, in the task generation process, if any of the components become meaningless by deleting the object elements, the current task is abstracted by deleting the meaningless components.
13. The planning method according to claim 11, wherein, in the task generation process, if multiple identical domain elements are generated by deleting the object element from the argument of the domain element, the multiple identical domain elements are aggregated.
14. The planning method according to claim 8, wherein, in the action sequence generation process, if there are multiple candidates for the action to be materialized, the materialized action sequence is generated by selecting an executable action.
15. A program that causes a computer to execute: an unnecessary element input step that accepts input of an unnecessary element set which is a set of object elements to be removed from the components of the current task in the robot's action plan; a task generation step that generates a task that abstracts the current task by removing the object elements included in the unnecessary element set from the arguments of the components; an action sequence planning step that plans an action sequence for the abstracted task; an action sequence generation step that generates a concrete action sequence by concreteizing the action if the action sequence planned in the action sequence planning step includes an abstracted action; and a task concreteization step that concreteizes the task abstracted in the task generation step in a way that is different from the current task.
16. The program according to claim 15, wherein in the task embodiment step, the task is embodiment by adding some or all of the object elements that the action sequence, which was embodiment in the action sequence generation step, takes as arguments to the arguments of the constituent elements of the task that was abstracted in the task generation step.
17. The program according to claim 15 or 16, wherein the action sequence planning step involves replanning the action sequence for the task that was materialized in the task materialization step.
18. The program according to claim 15, wherein in the task generation step, if a plurality of related domain elements are generated by taking the object element as an argument and removing the object element from the argument of a domain element which is at least a part of the constituent elements of the current task, the current task is abstracted by aggregating the plurality of related domain elements.
19. The program according to claim 15, wherein in the task generation step, if any of the components become meaningless by deleting the object elements, the current task is abstracted by deleting the meaningless components.
20. The program according to claim 18, wherein in the task generation step, if multiple identical domain elements are generated by removing the object element from the arguments of the domain element, the program aggregates the multiple identical domain elements.
