AI dialogue composite robot system based on language large model and training and optimizing method

By introducing the task processing module and process execution engine module into the AI ​​dialogue composite robot system, combined with the BPMN model and language model, the problem of the composite robot being unable to understand human instructions is solved, intelligent interaction and efficient execution are achieved, and the integration of the system is improved. and user experience.

CN118535704AInactive Publication Date: 2024-08-23NANJING QINGZHAN ARTIFICIAL INTELLIGENCE RES INST CO LTD

Patent Information

Application Number
CN202410710151.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-03
Publication Date
2024-08-23
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing dialogue systems based on large language models cannot effectively combine with composite robots and cannot understand human instructions and perform complex tasks through speech models.

Method used

An AI dialogue composite robot system based on a large language model is designed, including a task processing module, a dialogue module, a robot integration module, a process execution engine module, an event and exception processing module, a monitoring and tuning module, and a security authority management module. Define task nodes through the BPMN model and use the language model for training and optimization to achieve the generation and execution of task chains.

Benefits of technology

It achieves intelligent interaction, flexible adaptation, efficient execution, personalized services and continuous learning and evolution, improves the quality of dialogue interaction and task execution efficiency, and enhances the integration and user experience of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535704A
    Figure CN118535704A
Patent Text Reader

Abstract

The invention discloses an AI dialogue composite robot system based on a language large model and a training and optimization method, and the system comprises a task processing module, a dialogue module, a robot integration module, a process execution engine module, an event and abnormal condition processing module, a monitoring and tuning module, an other integration module, and a safety and authority management module. The system is used for ensuring the security and authority management mechanism of the system, limiting the access and operation authority of a user to a robot task, and preventing unauthorized access and operation. According to the AI dialogue composite robot system based on the language large model, intelligent interaction can be achieved, by means of the powerful language model, a robot can more intelligently understand user input, more natural and more intelligent replies are generated, and therefore the dialogue interaction quality and efficiency are improved; and flexible adaptation: in combination with the BPMN node, the robot can dynamically adjust the task execution process, and the executed task node is flexibly selected according to the user demand, so that the robot has better adaptability and flexibility.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an AI dialogue composite robot system based on a language large model and a training and optimization method. Background Art

[0002] The dialogue system based on the large language model is still at the following stage: dialogue communication: natural language dialogue with users, understanding users' questions and instructions, and making corresponding replies and reactions; knowledge question and answer: based on pre-trained models and other knowledge bases, answer various questions raised by users, involving knowledge in various fields; task execution: perform various tasks according to user needs, such as setting reminders, checking the weather, ordering goods, etc.; sentiment analysis and emotion recognition: analyze the language input by users, identify the emotional color, and make corresponding responses, so as to better establish emotional connections with users; intelligent recommendations: recommend relevant content or services to users based on their preferences and historical behaviors; natural language generation: not only can it understand user input, but it can also generate natural and fluent text in response, making the dialogue more vivid and expressive.

[0003] The above functions can only reflect the current advantages of large models, and cannot be combined with composite robots to make composite robots more intelligent. They cannot understand human meanings through voice models and allow composite robots to execute human instructions. Summary of the invention

[0004] The purpose of the present invention is to provide an AI dialogue composite robot system based on a large language model and a training and optimization method, which has intelligent interaction, flexible adaptation, efficient execution, personalized service, strong integration, and continuous learning and evolution functions to solve the problems raised in the above background technology.

[0005] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: an AI dialogue composite robot system based on a language large model and a training and optimization method, comprising a task processing module, wherein the task processing module is used to abstract the tasks that the robot needs to perform into task nodes, each task node representing a specific operation or action;

[0006] The dialogue module is based on the language model and is responsible for processing natural language dialogues with users, understanding user intentions, generating natural dialogue responses, and interacting with the task processing module and the process execution engine module to trigger and manage task execution based on the dialogue content.

[0007] A robot integration module is used to integrate the robot into the system so that it can execute the tasks processed by the task processing module and connect with the robot's internal control processing module (such as a robotic arm, camera, sensor, etc.) to trigger the execution of the robot's tasks and obtain the results of the task execution;

[0008] The process execution engine module is used to drive the robot to execute each task node according to the process logic defined by the BPMN model, and manage the execution status of the task node and the control flow of the process;

[0009] The event and exception handling module is used to handle exceptions and event triggering during task execution;

[0010] The monitoring and tuning module is used to monitor the execution of robot tasks and system performance in real time, and to tune the system according to the monitoring data to improve the efficiency and quality of task execution;

[0011] Other integration modules, including ERP system module and CRM system module, are used to integrate related modules to obtain related data or perform related operations;

[0012] The security and permission management module is used to ensure the security and permission management mechanism of the system, limit the user's access and operation rights to robot tasks, and prevent unauthorized access and operation.

[0013] Preferably, the system designs, manages and executes robot tasks based on the specifications of the BPMN model.

[0014] Preferably, the processing of events and abnormal situations includes error processing, timeout processing, and user interaction processing.

[0015] Preferably, the task nodes include simple data processing to complex decision-making and interaction.

[0016] Preferably, in the process execution engine module, a BPMN process execution engine is used to interpret and execute the BPMN model. The process execution engine is responsible for driving the robot to execute each task node according to the process logic defined by the BPMN model.

[0017] A training and optimization method for an AI dialogue composite robot system based on a language large model comprises the following steps:

[0018] Step (A), task node labeling: First, label the task nodes defined in the BPMN process to clarify the function, input, and output information of each node;

[0019] Step (B), corpus construction: according to the annotation information of the task node, collect and construct the corpus related to each node, the corpus includes various instructions, questions, and feedback input by the user;

[0020] Step (C), language model training: Use the constructed corpus to train the language model. During the training process, the language model will learn the language patterns, word usage habits, and context information of user input at different task nodes to better understand the user's needs and intentions;

[0021] Step (D), task node intention recognition: Use the trained language model to recognize the user input intention, and match the user input with the task node defined in BPMN based on the recognition result to determine the specific task the user wants to perform.

[0022] Step (E), task chain generation and optimization: based on the matching results of the task nodes and the output of the language model, a corresponding task chain is generated. The task chain includes a series of steps that need to be executed to meet the needs of the user. At the same time, the task chain is optimized using the output information of the language model to make the generated task chain more accurate and reasonable.

[0023] Step (F), interaction between language model and task execution: During task execution, the language model helps the robot better understand the user's input, identify the user's intention, and adjust the task execution process and strategy as needed;

[0024] Step (G), continuous optimization and iteration: Continuously collect user feedback data, monitor system performance and user experience, and adjust the language model and task execution strategy as needed to continuously optimize the system performance and results.

[0025] Compared with the prior art, the advantages and benefits of the present invention are:

[0026] 1. Intelligent interaction: With the help of powerful language models, robots can understand user input more intelligently and generate more natural and intelligent responses, thereby improving the quality and efficiency of conversational interactions;

[0027] 2. Flexible adaptation: Combined with BPMN nodes, the robot can dynamically adjust the task execution process and flexibly select the task nodes to be executed according to user needs, making the robot more adaptable and flexible;

[0028] 3. Efficient execution: Through the prompts of the language model, the robot can quickly identify the user's intention and execute the corresponding task nodes, achieving more efficient task execution and service provision;

[0029] 4. Personalized service: Composite robots based on large language models can achieve a deeper understanding of user needs through continuous training and optimization, and provide more personalized and considerate services, thereby improving user satisfaction and experience;

[0030] 5. Strong integration: The composite robot with a large language model can be more easily integrated with other systems, achieving seamless connection with speech recognition systems, knowledge base systems, etc., thus improving the overall integration and efficiency of the system;

[0031] 6. Continuous learning and evolution: Composite robots based on large language models can improve their expression and comprehension abilities through continuous learning and optimization, achieve continuous learning and evolution, and provide users with better and smarter services. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 It is a schematic diagram of the system structure of the present invention;

[0033] Figure 2 Training and optimization flow chart for the present invention;

[0034] Figure 3 A flowchart for improving prompt accuracy of the present invention;

[0035] Figure 4 The speech model of the present invention automatically generates a task chain flow chart for the robot to perform tasks. DETAILED DESCRIPTION

[0036] 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 only 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 are within the scope of protection of the present invention.

[0037] See also Figure 1 —4. The present invention provides a technical solution: an AI dialogue composite robot system based on a language large model and a training and optimization method, including a task processing module, wherein the task processing module is used to abstract the tasks that the robot needs to perform into task nodes, each task node representing a specific operation or action;

[0038] The dialogue module is based on the language model and is responsible for processing natural language dialogues with users, understanding user intentions, generating natural dialogue responses, and interacting with the task processing module and the process execution engine module to trigger and manage task execution based on the dialogue content.

[0039] A robot integration module is used to integrate the robot into the system so that it can execute the tasks processed by the task processing module and connect with the robot's internal control processing module (such as a robotic arm, camera, sensor, etc.) to trigger the execution of the robot's tasks and obtain the results of the task execution;

[0040] The process execution engine module is used to drive the robot to execute each task node according to the process logic defined by the BPMN model, and manage the execution status of the task node and the control flow of the process;

[0041] The event and exception handling module is used to handle exceptions and event triggering during task execution;

[0042] The monitoring and tuning module is used to monitor the execution of robot tasks and system performance in real time, and to tune the system according to the monitoring data to improve the efficiency and quality of task execution;

[0043] Other integration modules, including ERP system module and CRM system module, are used to integrate related modules to obtain related data or perform related operations;

[0044] The security and permission management module is used to ensure the security and permission management mechanism of the system, limit the user's access and operation rights to robot tasks, and prevent unauthorized access and operation.

[0045] Furthermore, the system designs, manages and executes robot tasks based on the specifications of the BPMN model.

[0046] Furthermore, the processing of events and abnormal situations includes error processing, timeout processing, and user interaction processing.

[0047] Furthermore, the task nodes include simple data processing to complex decision-making and interaction.

[0048] Furthermore, in the process execution engine module, a BPMN process execution engine is used to interpret and execute the BPMN model. The process execution engine is responsible for driving the robot to execute each task node according to the process logic defined by the BPMN model.

[0049] A training and optimization method for an AI dialogue composite robot system based on a language large model comprises the following steps:

[0050] Step (A), task node labeling: First, label the task nodes defined in the BPMN process to clarify the function, input, and output information of each node;

[0051] Step (B), corpus construction: according to the annotation information of the task node, collect and construct the corpus related to each node, the corpus includes various instructions, questions, and feedback input by the user;

[0052] Step (C), language model training: Use the constructed corpus to train the language model. During the training process, the language model will learn the language patterns, word usage habits, and context information of user input at different task nodes to better understand the user's needs and intentions;

[0053] Step (D), task node intention recognition: Use the trained language model to recognize the user input intention, and match the user input with the task node defined in BPMN based on the recognition result to determine the specific task the user wants to perform.

[0054] Step (E), task chain generation and optimization: based on the matching results of the task nodes and the output of the language model, a corresponding task chain is generated. The task chain includes a series of steps that need to be executed to meet the needs of the user. At the same time, the task chain is optimized using the output information of the language model to make the generated task chain more accurate and reasonable.

[0055] Step (F), interaction between language model and task execution: During task execution, the language model helps the robot better understand the user's input, identify the user's intention, and adjust the task execution process and strategy as needed;

[0056] Step (G), continuous optimization and iteration: Continuously collect user feedback data, monitor system performance and user experience, and adjust the language model and task execution strategy as needed to continuously optimize the system performance and results.

[0057] Example 1

[0058] Increase the accuracy of the prompt of the language model to adapt to the nodes of the actual robot task: including the following steps:

[0059] Step (S1), collect training data: First, collect voice data related to the actual robot task nodes. These data should include various voice inputs that users may use, covering the situations of various task nodes.

[0060] Step (S2), labeling data: labeling the collected speech data, marking the actual task node corresponding to each speech sample. This can help the speech model learn the differences and characteristics between different task nodes.

[0061] Step (S3), select a suitable speech model: According to the requirements of the task and available resources, select a suitable speech model for training. You can choose an existing pre-trained model, or consider custom training a model to better suit the specific task scenario.

[0062] Step (S4), design prompt: Design corresponding prompt according to the characteristics of the actual task node. The prompt should be able to guide the user to provide voice input related to the specific task node and express the required information as clearly as possible.

[0063] Step (S5), training model: Use the collected labeled data and the designed prompt to train the selected speech model. During the training process, focus on the recognition accuracy of the model for speech inputs of different task nodes, and continuously optimize the model to improve accuracy.

[0064] Step (S6), evaluation and tuning: After training is completed, the model is evaluated and tuned according to the evaluation results. Some evaluation indicators can be used to measure the performance of the model, such as accuracy, recall, etc. If it is found that the model performs poorly on some task nodes, the prompt design can be further optimized or the training data can be increased.

[0065] Using the large speech model as a prompt, a task chain is generated for the robot to perform the task, including the following steps:

[0066] Step (M1), voice input conversion: The user gives instructions or asks questions through voice input. The robot needs to use voice recognition technology to convert the user's voice into text form for subsequent processing.

[0067] Step (M2), language understanding: Use the language model to understand the semantics and recognize the intention of the text input by the user. The language model can help the robot accurately understand the user's intention and determine the corresponding task to be performed.

[0068] Step (M3), Task Classification and Matching: Based on the text understanding results generated by the language model, the robot will identify the user's intention and match it with the pre-defined tasks. This step determines the specific task type that the robot needs to perform.

[0069] Step (M4), task chain generation: Based on the matched task type, the robot generates the corresponding task chain. The task chain includes a series of steps that need to be performed to meet the user's needs. Each step corresponds to a specific operation or service call.

[0070] Step (M5), task execution and service call: The robot executes the tasks in the generated task chain step by step. This may involve calling various external services, performing specific operations, etc. For example, if the task chain includes the step of ordering goods, the robot will call the corresponding e-commerce platform API to complete the order.

[0071] Step (M6), feedback and result return: During the task execution process, the robot will provide feedback to the user according to the situation and return the execution result to the user. The feedback can include information such as execution status and result confirmation, so that the user can understand the progress of task execution.

[0072] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. An AI dialogue composite robot system based on a large language model, characterized by: include: A task processing module, which is used to abstract the tasks that the robot needs to perform into task nodes, each of which represents a specific operation or action; The dialogue module is based on the language model and is responsible for processing natural language dialogues with users, understanding user intentions, generating natural dialogue responses, and interacting with the task processing module and the process execution engine module to trigger and manage task execution based on the dialogue content. A robot integration module is used to integrate the robot into the system so that it can execute the tasks processed by the task processing module and to interface with the robot's internal control processing module to trigger the execution of the robot's tasks and obtain the results of the task execution; The process execution engine module is used to drive the robot to execute each task node according to the process logic defined by the BPMN model, and manage the execution status of the task node and the control flow of the process; The event and exception handling module is used to handle exceptions and event triggering during task execution; The monitoring and tuning module is used to monitor the execution of robot tasks and system performance in real time, and to tune the system according to the monitoring data to improve the efficiency and quality of task execution; Other integration modules, including ERP system module and CRM system module, are used to integrate related modules to obtain related data or perform related operations; The security and permission management module is used to ensure the security and permission management mechanism of the system, limit the user's access and operation rights to robot tasks, and prevent unauthorized access and operation.

2. The AI ​​dialogue composite robot system based on a language large model according to claim 1, characterized in that: The system designs, manages and executes robot tasks based on the specifications of the BPMN model.

3. The AI ​​dialogue composite robot system based on a language large model according to claim 1, characterized in that: The processing of events and abnormal situations includes error processing, timeout processing, and user interaction processing.

4. The AI ​​dialogue composite robot system based on a language large model according to claim 1, characterized in that: The task nodes range from simple data processing to complex decision-making and interaction.

5. The AI ​​dialogue composite robot system based on a language large model according to claim 1, characterized in that: In the process execution engine module, a BPMN process execution engine is used to interpret and execute the BPMN model. The process execution engine is responsible for driving the robot to execute each task node according to the process logic defined by the BPMN model.

6. A training and optimization method for an AI dialogue composite robot system based on a language large model according to any one of claims 1 to 5, characterized in that: The following steps are involved: Step (A), task node labeling: First, label the task nodes defined in the BPMN process to clarify the function, input, and output information of each node; Step (B), corpus construction: according to the annotation information of the task node, collect and construct the corpus related to each node, the corpus includes various instructions, questions, and feedback input by the user; Step (C), language model training: Use the constructed corpus to train the language model. During the training process, the language model will learn the language patterns, word usage habits, and context information of user input at different task nodes to better understand the user's needs and intentions; Step (D), task node intention recognition: Use the trained language model to recognize the user input intention, and match the user input with the task node defined in BPMN based on the recognition result to determine the specific task the user wants to perform. Step (E), task chain generation and optimization: based on the matching results of the task nodes and the output of the language model, a corresponding task chain is generated. The task chain includes a series of steps that need to be executed to meet the needs of the user. At the same time, the task chain is optimized using the output information of the language model to make the generated task chain more accurate and reasonable. Step (F), interaction between language model and task execution: During task execution, the language model helps the robot better understand the user's input, identify the user's intention, and adjust the task execution process and strategy as needed; Step (G), continuous optimization and iteration: Continuously collect user feedback data, monitor system performance and user experience, and adjust the language model and task execution strategy as needed to continuously optimize the system performance and results.

Citation Information

Patent Citations

  • Dialogue processing method, system and device and computer readable storage medium

    CN113705249A

  • Dialogue assisting method and device and electronic equipment

    CN116483964A

  • Medical question answering system based on large language model

    CN117851558A

  • Method and system for improving the quality of teaching through analysis using a virtual teaching device

    US20100291528A1

  • Systems and methods of question answering against system of record utilizing natural language interpretation

    US20210382923A1

Cited By

  • Task processing method and device of vehicle-mounted system, electronic equipment, medium and product

    CN119336419A

  • Simulation drilling method and system based on large model and computer equipment

    CN119358648A

  • Intelligent agent automatic generation and scheduling system based on artificial intelligence large language model

    CN119690536A

  • Voice interaction method and system based on multi-stage large model

    CN121011180A