Task planning method and equipment for heterogeneous multi-robot system driven by large language model

Through the task planning method of heterogeneous multi-robot systems driven by a large language model, the PEFA cycle mechanism and the built-in second language model are used for task decomposition and execution, which solves the problem of complex task planning of heterogeneous multi-robot systems and achieves task optimization. Efficient and coherent execution, suitable for a variety of scenarios.

CN118567222APending Publication Date: 2024-08-30SHANGHAI ARTIFICIAL INTELLIGENCE INNOVATION CENT +1
View PDF 0 Cites 7 Cited by

Patent Information

Application Number
CN202410467947.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-18
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing technologies are difficult to effectively solve the task planning problem of heterogeneous multi-robot systems, especially in complex tasks, which are error-prone and lack generalization capabilities. Moreover, existing methods are mostly designed for a single robot or homogeneous multi-robots, making it difficult to complete complex tasks.

Method used

A heterogeneous multi-robot system task planning method driven by a large language model is adopted. Through the proposal-execution-feedback-adjustment (PEFA) cycle mechanism, the second largest language model built into each heterogeneous robot is used for task decomposition and execution, and through Make adjustments based on feedback information to ensure the reasonable distribution of tasks and efficient execution.

Benefits of technology

It improves the efficiency and success rate of the task allocation and adjustment process of heterogeneous multi-robot systems, has good generalization, can achieve coherent and efficient execution of tasks in complex environments, and is suitable for simulation and real-world scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567222A
    Figure CN118567222A
Patent Text Reader

Abstract

The invention relates to a task planning method and equipment for a heterogeneous multi-robot system driven by a large language model, solves the task planning problem of the heterogeneous multi-robot system by using the large language model, and provides a proposal-execution-feedback-adjustment (PEFA) circulation mechanism. Reasonable allocation and timely adjustment of tasks are promoted through continuous circulation between task allocation and robot execution, the method has good generalization for different types of tasks and scenes, and verification is performed in a simulation environment and a real world. Compared with the prior art, two stages of task allocation and robot execution are respectively used for realizing task decomposition and allocation and action execution, so that the continuity of the whole task and the high efficiency of execution are ensured; by adopting the design of a feedback-adjustment mechanism, timely improvement is ensured when problems occur in task allocation and execution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of robot task planning, and in particular to a method and device for task planning of a heterogeneous multi-robot system driven by a large language model. Background Art

[0002] Robot task planning decomposes a high-level task instruction into a series of short-term subtasks that can be completed by a single robot in a single step, and has been proven to be a key element in achieving complex and long-term robot tasks. Compared with a single robot, a multi-robot system has attracted more attention because the robots within it can achieve more long-term and complex tasks through task decomposition, allocation and collaboration. In the past mainstream robot task planning problems, the common methods can be roughly divided into classical logic-based methods, learning-based methods and large language models (LLMs)-based methods. The classical logic-based method abstracts the problem into a certain rule-based language (such as Planning Domain Description Language, Planning Domain Description Language, referred to as PDDL), and then uses traditional solvers to obtain subtask sequences, but it cannot be applied to open environments. It is very difficult and expensive to obtain a large amount of diverse and high-quality robot training data for learning-based methods. Recently, the rich world knowledge and powerful reasoning ability of large language models have made it possible for robots to generalize in general environments. At present, the work based on large language models focuses more on the control and planning tasks of a single robot and the collaboration of a small number of robots of the same type. For heterogeneous multi-robot systems, there has been no dedicated research on using large language models to empower robots.

[0003] However, the prior art has the following problems:

[0004] (1) Existing technical methods are usually designed for a single robot or multiple robots of the same structure. Limited by the single structure and function, these methods are difficult to complete more complex tasks.

[0005] (2) Most existing technical methods directly perform task planning through a single large language model or use multiple large language models to discuss in turn, which is prone to errors in complex task planning.

[0006] Currently, there is a lack of a task planning method for heterogeneous multi-robot systems to solve or partially solve the aforementioned problems. Summary of the invention

[0007] The purpose of the present invention is to overcome the defects of the above-mentioned prior art and to provide a large language model driven heterogeneous multi-robot system task planning method and device to improve the task allocation and adjustment process for the heterogeneous multi-robot system.

[0008] The purpose of the present invention can be achieved by the following technical solutions:

[0009] One aspect of the present invention provides a large language model driven heterogeneous multi-robot system task planning method, including a proposal-execution-feedback-adjustment phase, each heterogeneous robot has a built-in second large language model that is different from each other, wherein:

[0010] Proposal stage: The acquired task information, heterogeneous robot capability information, historical dialogue information, and heterogeneous robot environment information are input into the first language model, at least one subtask is obtained by task decomposition, and a proposal text of the subtask is generated and sent to at least one heterogeneous robot with matching capabilities;

[0011] Execution phase: Based on the proposed text and executable action information, the heterogeneous robot uses the second largest language model built into the heterogeneous robot to select actions that match the proposed text from the executable actions and verify the action's executableness. If the verification is successful, the heterogeneous robot executes the action.

[0012] Feedback phase: For each heterogeneous robot assigned to the proposed text, feedback information of the execution phase is generated based on the built-in second largest language model;

[0013] Adjustment phase: based on the feedback information, the historical dialogue information is updated, the heterogeneous robot environment information is updated, and the proposal phase is re-executed.

[0014] As a preferred technical solution, the historical dialogue information includes historical subtask proposal texts, heterogeneous robot information that executes subtasks, and feedback information.

[0015] As a preferred technical solution, in the execution phase, the process of obtaining executable action information includes:

[0016] For each heterogeneous robot assigned to the proposed text, based on its own environmental information, it uses the built-in second largest language model to obtain its own executable action information.

[0017] As a preferred technical solution, in the feedback stage, the generation of the feedback information includes the following steps:

[0018] If the action executable verification succeeds, the result of successful execution is obtained as feedback information;

[0019] If the action executable check fails, the failure reason is obtained as feedback information.

[0020] As a preferred technical solution, the result of successful execution includes completed actions and actions to be completed in the subtask.

[0021] As a preferred technical solution, the adjustment stage further includes:

[0022] Based on the updated heterogeneous robot environment information and dialogue history information, the hierarchical prompt words of the first language model are updated.

[0023] As a preferred technical solution, the environmental information includes an image of the environment where the heterogeneous robot is located.

[0024] As a preferred technical solution, the task information includes task background and objectives.

[0025] Another aspect of the present invention provides an electronic device, comprising: one or more processors and a memory, wherein the memory stores one or more programs, and the one or more programs include instructions for executing the aforementioned large language model driven heterogeneous multi-robot system task planning method.

[0026] Another aspect of the present invention provides a computer-readable storage medium comprising one or more programs for execution by one or more processors of an electronic device, wherein the one or more programs include instructions for executing the aforementioned large language model-driven heterogeneous multi-robot system task planning method.

[0027] Compared with the prior art, the present invention has at least one of the following beneficial effects:

[0028] (1) Improving the task allocation and adjustment process for heterogeneous multi-robot systems: The present invention uses a large language model to solve the task planning problem of heterogeneous multi-robot systems and provides a proposal-execution-feedback-adjustment (PEFA) loop mechanism. It promotes the rational allocation and timely adjustment of tasks by continuously cycling between task allocation and robot execution. It has good generalization for different types of tasks and scenarios and has been verified in both simulation environments and the real world.

[0029] (2) Ensuring the consistency and efficiency of task execution: The present invention adopts two stages of task allocation and robot execution to realize task decomposition and allocation and action execution respectively, thereby ensuring the consistency and efficiency of overall task execution. The feedback-adjustment mechanism is designed to ensure timely improvement when problems arise in task allocation and execution.

[0030] (3) High execution success rate: The task allocator has a built-in large language model for task planning. Each robot (or intelligent agent) is also equipped with a large language model. These individual large models act as actuators. They have their own executable actions and are responsible for selecting executable actions, summarizing execution results, and providing feedback. The allocator's large model then makes its own planning adjustments based on the feedback results. By adopting such a configuration structure, it has higher efficiency and success rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 A schematic diagram of the proposal-execution-feedback-adjustment (PEFA) cycle mechanism in an embodiment;

[0032] Figure 2 This is a schematic diagram of the task planning framework of "task allocation-robot execution" in the embodiment;

[0033] Figure 3 It is a schematic diagram of an example of task planning in an embodiment. DETAILED DESCRIPTION

[0034] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0035] In the present invention, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0036] Example 1

[0037] The prior art has at least one of the following problems:

[0038] (1) Existing methods based on classical logic PDDL require careful manual design according to language rules, lack effective feedback and improvement, and are not conducive to human-computer interaction with non-expert users.

[0039] (2) It is not flexible enough in expression when faced with dynamic and complex environments, and its efficiency will be greatly reduced as the scale of the problem increases.

[0040] (3) It cannot be generalized to some common, unknown scenarios.

[0041] (4) Learning-based methods require a large amount of robot data for training, but obtaining large amounts of high-quality, diverse data is difficult and costly, and it is also difficult to achieve generalization.

[0042] (5) Existing methods based on large language models are mostly applied to a single robot or multi-robot systems of the same type (i.e., homogeneous multi-robot systems). The robot tasks that can be solved are limited, and the planning methods are difficult to solve long-term and complex tasks.

[0043] In response to at least one of the aforementioned problems, this embodiment provides a task planning method for a heterogeneous multi-robot system driven by a large language model, in which a large language model is used to solve the task planning problem of a heterogeneous multi-robot system, and a proposal-execution-feedback-adjustment (PEFA) loop mechanism is provided, which promotes the reasonable allocation and timely adjustment of tasks by continuously cycling between task allocation and robot execution. It has good generalization for different types of tasks and scenarios, and has been verified in both simulation environments and the real world.

[0044] See also Figure 2 , the main goal of this method is to solve the long-term and complex task planning problem of heterogeneous multi-agent systems. In such problems, a single type of robot often does not have all the capabilities to solve the task. Only through the reasonable division of labor and collaborative cooperation between different types of robots can the problem be solved. This method uses a large language model to empower the robot, and designs hierarchical prompt words (that is, the task allocation model and the execution model use different prompt words). By designing task allocators and robot executors, the task implementation is divided into two stages. The former is responsible for semantic task decomposition, and then passes the instructions of each subtask to the selected robot executor; the latter is responsible for mapping the assigned subtasks to the action list that the robot can actually perform according to the current environment and state. The two-stage design ensures the reasonable allocation of tasks, the coherence of subtasks, and the executability.

[0045] See also Figure 1 ,In the framework of task allocator and robot executor, the task planning of heterogeneous ,multi-agent system will be specifically implemented by the Proposal-Execution-Feedback-Adjustment ,(PEFA) loop mechanism, and the four stages are described as follows.

[0046] In the proposal phase, the task allocator language model (i.e., the first language model) takes into account the task background and goal (i.e., task information), the capabilities of all robots (i.e., heterogeneous robot capability information), the observation results of the environment (i.e., heterogeneous robot environment information), and the historical dialogue records (i.e., historical dialogue information). This phase does not directly output control signals, but instead generates a text-based proposal that decomposes the overall task instructions into a series of subtasks. Each proposed subtask will be assigned to a robot with the corresponding execution capability.

[0047] In one example, the heterogeneous robots include a robot dog, a drone, and a robotic arm. The task information is "Please take the apple from the sofa to the dining table". The capability information of the heterogeneous robots records the functions of each heterogeneous robot, such as the robotic arm can grab objects, the drone can move in three dimensions, etc. The heterogeneous robot environment information includes images obtained by each heterogeneous robot through its own image capture device, and a pre-built graph structure, in which nodes represent objects and / or rooms, and edges represent the relationship between two nodes, such as an edge corresponding to the nodes "apple" and "sofa" is "the apple is on the sofa". The historical dialogue information includes the heterogeneous robot information that performs historical actions, the corresponding proposal text, and the execution feedback. Based on the above information and the set prompt words, the task assignor's built-in large language model is used to generate the proposal text, which includes the target heterogeneous robot information and the corresponding proposal information, and then assigned to the corresponding target heterogeneous robot.

[0048] During the execution phase, the subtask proposed in the previous step will be added to the prompt words of the robot executor's large language model (i.e., the second largest language model). The subtask may contain multiple steps of action, and each assigned robot is only responsible for solving a certain step in the subtask (the specific step is determined based on the proposal). Each robot executor can only obtain its own capabilities and observations in the current environment. According to the pre-designed rules, each robot will form its own executable action list (Action List), that is, executable action information, and select the action that best matches a certain step of the subtask to execute. If none of the actions in the action list match the subtask, the robot needs to output failure feedback for further adjustment. For example, executable information can include action type and action object information.

[0049] In the feedback phase, execution failure feedback and success feedback are processed separately to obtain feedback information. For failure feedback, it is necessary to analyze the potential causes of failure based on the capabilities of the robot executor and the environment in which it is located, such as the need for assistance from other robot executors or the inability to execute the generated action; for success feedback, it is necessary to determine the completion status of the executed action for the assigned subtask, including full completion or partial completion, and indicate which actions need to be completed, so as to ensure the coherence of the overall task execution.

[0050] In the adjustment phase, the subtasks proposed by the task assigner and the feedback information of the robot executor will be added to the historical dialogue information, and the proposal text will be updated in the next round of proposal phase. The updated environmental observation information and dialogue history will be updated to the hierarchical prompt words of the task assigner, ready to restart a new round of PEFA cycle.

[0051] Among them, the function of the task allocator can be deployed in an electronic device, such as a gateway, cloud, etc., and the robot executor can be a robot used to implement specific functions. In the above method, the tasks are from macro to micro, including the overall task (i.e., task background and goal), subtask, and step (or step). In the subtask allocation process in the proposal phase, the relationship between a single subtask and a heterogeneous robot can be one-to-one or one-to-many. For example, in the first round, the subtask is only assigned to the heterogeneous robot a, but in the feasibility evaluation of the execution phase, the heterogeneous robot a finds that it cannot completely complete the subtask, so it generates feedback information, including information about steps that can be completed and cannot be completed, and then updates the historical dialogue information and makes adjustments. In the next round, since there is feedback information from the previous round in the historical dialogue information, the first language model can reallocate the subtask to multiple heterogeneous robots for execution, and this cycle continues until the subtask is completed.

[0052] Furthermore, in the proposal stage, after decomposing the subtasks, the first language model is used to determine the dependencies and correlations between the subtasks, so that two or more unrelated and mutually non-interfering subtasks can be assigned to heterogeneous robots at the same time, that is, multiple subtasks can be executed in parallel during the execution stage, thereby improving the task execution efficiency.

[0053] See also Figure 3 For another example of robot task planning, the task information is "Put the meat on the grill. The meat is initially in the refrigerator." The planning steps are as follows.

[0054] (1) Robot Dog: [Move to] <Refrigerator>.

[0055] (2) Robot Dog: [Open] <Refrigerator>.

[0056] (3)Robot Dog: [Move to] <Meat>.

[0057] (4) Robot Dog: [Pick up] <Meat>.

[0058] (5)Robot Dog: [Move to] <Drone>.

[0059] (6) Robot Dog: [Put] <meat> into <basket>.

[0060] (7) Drone: [Takes off from] <room level>.

[0061] (8) Drone: [Move to] <Backyard>.

[0062] (9) Drone: [Move to] .

[0063] (10) Drone: [Lands on] .

[0064] (11) Robotic Arm: [Pick up] <Meat>.

[0065] (12) Robotic arm: [Put] <meat> on <grill>.

[0066] After multiple steps of planning, the three robots collaborated to successfully complete the task of putting the meat from the refrigerator on the grill.

[0067] To verify the effectiveness of this method, experiments were conducted in simulation environments and real environments respectively. The types of heterogeneous robots selected were drones, robot dogs and robotic arms, which proved that this method is feasible and can be generalized to the real world. Specifically, five typical real-world scenes were created based on the BEHAVIOR-1K simulation platform, including two apartment scenes, one apartment with a garden, one grocery store and one restaurant. A total of 100 robot tasks were designed in these scenes. Some of these tasks can be completed by a single robot, while the rest require two to three robots to collaborate to complete. The present invention tested the proposed scheme in these tasks, and the results are as follows:

[0068] Table 1 Test results

[0069]

[0070] Among them, this method is named COHERENT in the table, and the bold values ​​represent the best indicators among all methods. It can be seen that this method is superior to other methods in various tasks, including large model dialog task planning (One Round Dialogue and Two Rounds Dialogue) and large model direct planning method (Centralized Frame).

[0071] It should be noted that this embodiment provides a technical framework for taking natural language instructions as input and achieving task planning through division of labor and cooperation in heterogeneous multi-agent systems. Specifically, when solving the problem of task allocation and collaboration between multiple types of robots, a method of empowering robots with a large language model (GPT4-turbo) is adopted. A four-rotor drone, a robot dog with a small mechanical arm on its back, and a mechanical arm fixed on a plane are used as robot entities. By designing different hierarchical prompt words, a task allocator-robot planner dual-stage and PEFA cycle mechanism is designed. When solving other tasks, different types of large language models and multimodal large models can also be selected, and different types of robot entities and different prompt words can be selected to achieve more diverse and sophisticated functions.

[0072] The task allocator of this method has a built-in large language model for task planning. Each robot (or intelligent agent) is also equipped with a large language model. These individual large models act as executors. They have their own action lists and are responsible for selecting executable actions, summarizing execution results, and providing feedback. The large model of the allocator then makes its own planning adjustments based on the feedback results. By adopting such a configuration structure, it has higher efficiency and success rate.

[0073] Example 2

[0074] This embodiment provides an electronic device, including: one or more processors and a memory, wherein the memory stores one or more programs, and the one or more programs include instructions for executing the large language model driven heterogeneous multi-robot system task planning method as described in Example 1.

[0075] Example 3

[0076] This embodiment provides a computer-readable storage medium, including one or more programs for execution by one or more processors of an electronic device, wherein the one or more programs include instructions for executing the large language model-driven heterogeneous multi-robot system task planning method as described in Example 1.

[0077] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A large language model driven heterogeneous multi-robot system task planning method, characterized in that: Including the proposal-execution-feedback-adjustment phase, each heterogeneous robot has a built-in second language model that is different from each other. Proposal stage: The acquired task information, heterogeneous robot capability information, historical dialogue information, and heterogeneous robot environment information are input into the first language model, at least one subtask is obtained by task decomposition, and a proposal text of the subtask is generated and sent to at least one heterogeneous robot with matching capabilities; Execution phase: Based on the proposed text and executable action information, the heterogeneous robot uses the second largest language model built into the heterogeneous robot to select actions that match the proposed text from the executable actions and verify the action's executableness. If the verification is successful, the heterogeneous robot executes the action. Feedback phase: For each heterogeneous robot assigned to the proposed text, feedback information of the execution phase is generated based on the built-in second largest language model; Adjustment phase: based on the feedback information, the historical dialogue information is updated, the heterogeneous robot environment information is updated, and the proposal phase is re-executed.

2. According to claim 1, a large language model driven heterogeneous multi-robot system task planning method is characterized in that: The historical dialogue information includes historical subtask proposal texts, heterogeneous robot information that executes subtasks, and feedback information.

3. The method for task planning of a heterogeneous multi-robot system driven by a large language model according to claim 1, characterized in that: In the execution phase, the process of obtaining executable action information includes: For each heterogeneous robot assigned to the proposed text, based on its own environmental information, it uses the built-in second largest language model to obtain its own executable action information.

4. The method for task planning of a heterogeneous multi-robot system driven by a large language model according to claim 1, characterized in that: In the feedback stage, the generation of the feedback information includes the following steps: If the action executable verification succeeds, the result of successful execution is obtained as feedback information; If the action executable check fails, the failure reason is obtained as feedback information.

5. The method for task planning of a heterogeneous multi-robot system driven by a large language model according to claim 4, characterized in that: The result of successful execution includes completed actions and pending actions in the subtask.

6. The method for task planning of a heterogeneous multi-robot system driven by a large language model according to claim 1, characterized in that: The adjustment phase also includes: Based on the updated heterogeneous robot environment information and dialogue history information, the hierarchical prompt words of the first language model are updated.

7. The method for task planning of a heterogeneous multi-robot system driven by a large language model according to claim 1, characterized in that: The environmental information includes an image of the environment where the heterogeneous robot is located.

8. The method for task planning of a heterogeneous multi-robot system driven by a large language model according to claim 1, characterized in that: The task information includes task background and objectives.

9. An electronic device, characterized in that: include: One or more processors and a memory, wherein the memory stores one or more programs, wherein the one or more programs include instructions for executing a large language model driven heterogeneous multi-robot system task planning method as described in any one of claims 1-8.

10. A computer-readable storage medium, characterized in that: It includes one or more programs for execution by one or more processors of an electronic device, and the one or more programs include instructions for executing the large language model driven heterogeneous multi-robot system task planning method as described in any one of claims 1-8.

Citation Information

Cited By

  • Multi-agent cooperation method and system

    CN118917632A

  • Home service robot complex task planning method based on large language model and robot

    CN119347776A

  • A Complex Task Planning Method for Home Service Robots Based on Large Language Models and the Robot

    CN119347776B

  • Planning method based on feedback and value driving, computer equipment and storage medium

    CN119377387A

  • Multi-agent intelligent video image analysis method and system

    CN119741705A