Robot task reasoning method and system fusing multi-modal information and ontology knowledge
By integrating multi-modal information and ontology knowledge, the robot task reasoning method is combined with a large language model and ontology knowledge base to solve the problem of insufficient decision-making and execution capabilities of service robots in multi-modal environments and achieve more intelligent service tasks. Reasoning and execution.
Patent Information
- Application Number
- CN202410699295.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-05-31
AI Technical Summary
Traditional service robots are difficult to flexibly respond to complex scenarios in multi-modal environments, and lack the ability to acquire and manage scene knowledge, resulting in insufficient decision-making and execution capabilities, and difficulty in generating service tasks expected by users.
A robot task reasoning method that integrates multi-modal information and ontology knowledge is adopted. By building an ontology knowledge base containing user, environment and service robot ontology information, voice, vision and scene knowledge information are obtained and integrated, and a large language model is used to generate service tasks. Improve decision-making and execution skills.
It realizes service task reasoning that is more in line with user expectations, improves the intelligence and execution capabilities of service robots, and has the ability to manage user expected service functions and scene knowledge information.
Smart Images

Figure CN118657216A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of service robots, and in particular to a robot task reasoning method and system integrating multimodal information and ontology knowledge. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] The perception, decision-making, and execution capabilities of service robots determine the service level of the robots. Improvements based on the decision-making capabilities of service robots will help improve the service level of service robots. The ontology knowledge base is an important means for service robots to manage scene information. Service robots obtain environmental information in real time, which can improve perception efficiency and better interact with the environment. However, in a multimodal environment, multiple modal information such as voice, vision, and scene knowledge coexist, the environmental information is complex, and user behavior is changeable, which makes the service tasks expected by users diverse. The traditional reliance on robot knowledge base combined with rules for task reasoning is difficult to flexibly respond to complex multimodal scenarios.
[0004] Generative large language models have powerful text generation and reasoning capabilities, and have shown great potential in human-computer interaction scenario applications in recent years. Large language models can effectively process natural language and directly generate understandable robot instructions, simplifying development work. The migration application capability based on fine-tuning mode also provides solutions for small sample learning and low computing performance requirements for different scenario applications.
[0005] However, service robots developed based on large language models often lack the ability to acquire and manage scene knowledge. During the reasoning stage, service robots only reason based on the voice or visual information collected in the current period, and lack the acquisition and analysis of prior information about users and the environment. This type of reasoning is based on the condition that "the machine does not know people", making it difficult to generate the service tasks expected by users. On the other hand, service robots lack environmental information when interacting with the environment during the execution stage. They need to perceive the current environment from scratch in order to obtain information about the interaction target, making it difficult to accurately and effectively execute functions and complete service tasks. Summary of the invention
[0006] In order to solve the above problems, the present invention proposes a robot task reasoning method and system that integrates multimodal information and ontology knowledge, extracts multimodal information in the current scene and combines large language models and knowledge base technology, thereby improving the decision-making ability, execution ability and service level of the service robot.
[0007] In order to achieve the above object, the present invention adopts the following technical solution:
[0008] In a first aspect, the present invention provides a robot task reasoning method integrating multimodal information and ontology knowledge, comprising:
[0009] Build an ontology knowledge base containing user, environment and service robot ontology information;
[0010] Acquire the speech information, visual information and scene knowledge information in the scene;
[0011] Obtaining user behavior information and scene relationship information between the user and the environment based on visual information recognition, and obtaining visual modal information in text form through information screening; wherein the information screening includes retaining scene relationship information in which the user and the environment have an interactive relationship based on the user behavior information;
[0012] Acquire speech modal information in text form according to speech information recognition;
[0013] According to the scene knowledge information, the scene knowledge modal information in text form is obtained by querying the ontology knowledge base;
[0014] According to the speech modal information, visual modal information and scene knowledge modal information in text form, the scene multimodal fusion information is obtained;
[0015] According to the multimodal fusion information of the scene, the trained large language model is used to generate service tasks, so as to control the service robot to perform corresponding actions, and the service tasks are updated according to the feedback of the service robot.
[0016] As an optional implementation, the ontology knowledge base includes classes, instances and attributes, wherein classes represent a collection of individuals with the same characteristics, instances represent individuals, and attributes include object attributes and data attributes. Object attributes represent the relationship between classes and instances and are used for qualitative descriptions, and data attributes represent the relationship between instances and numerical values and are used for quantitative descriptions.
[0017] As an optional implementation, in the ontology knowledge base, user information includes age and behavioral habits; service robot ontology information includes robot appearance and functions; environmental information includes environmental objects, operation objects, locations and scene structures, which are used to define relevant information of objects in the scene, and are subdivided according to different subordinate categories in each category, and then defined to the smallest classification.
[0018] As an optional implementation, the scene relationship information between the user and the environment is a triple relationship pair in text form, expressed in the form of subject+predicate+object. The process of obtaining the visual modality information in text form by information screening includes:
[0019] (1) Retain the triples of predicates with the user as the subject and involving action relations. Among them, the labels with synonyms with the user behavior information labels are merged and one of them is retained, and the labels with different synonyms are retained and connected at the same time;
[0020] (2) retaining triples of predicates with user as subject and involving positional relations;
[0021] (3) retaining triples of predicates that have the user as the object and involve positional relations;
[0022] (4) Taking user as the subject, merge the behavior identification verb with the relational predicate of the preposition attributes in (2) and (3).
[0023] As an optional implementation method, the object information and user behavior habit information in the ontology knowledge base are queried. The object information includes the object location and whether it can be grasped, which is used to cooperate with the service robot's target grasping. The user behavior habit information in text form is used as the scene knowledge modal information.
[0024] In a second aspect, the present invention provides a robot task reasoning system integrating multimodal information and ontology knowledge, comprising:
[0025] A knowledge base construction module, configured to construct an ontology knowledge base containing ontological information of users, environments, and service robots;
[0026] An acquisition module, configured to acquire voice information, visual information and scene knowledge information in the scene;
[0027] A visual processing module is configured to obtain user behavior information and scene relationship information between the user and the environment based on visual information recognition, and obtain visual modal information in text form through information screening; wherein the information screening includes retaining scene relationship information in which the user has an interactive relationship with the environment based on the user behavior information;
[0028] A speech processing module is configured to obtain speech modal information in text form according to speech information recognition;
[0029] A scene knowledge processing module is configured to obtain scene knowledge modal information in text form by querying an ontology knowledge base according to the scene knowledge information;
[0030] A fusion module is configured to obtain scene multimodal fusion information according to speech modal information in text form, visual modal information, and scene knowledge modal information;
[0031] The task generation module is configured to generate service tasks based on the multimodal fusion information of the scene and adopt the trained large language model to control the service robot to perform corresponding actions and update the service tasks according to the feedback of the service robot.
[0032] In a third aspect, the present invention provides a service robot system, comprising:
[0033] The robot body is equipped with a binocular depth camera for acquiring visual information;
[0034] The edge computing platform is used to obtain user behavior information and scene relationship information between the user and the environment based on visual information recognition, and obtain visual modal information in text form through information screening, wherein the information screening includes retaining scene relationship information in which the user and the environment have an interactive relationship based on the user behavior information; and obtaining scene knowledge modal information in text form by querying the ontology knowledge base based on the scene knowledge information;
[0035] The human-computer interaction terminal is used to obtain the voice information in the scene and obtain the voice modal information in text form based on the voice information recognition;
[0036] The cloud computing platform is used to receive speech modal information, visual modal information and scene knowledge modal information in text form, and obtain scene multimodal fusion information after fusion. According to the scene multimodal fusion information, the trained large language model is used to generate service tasks, so as to control the service robot to perform corresponding actions, and update the service tasks according to the feedback of the service robot.
[0037] In a fourth aspect, the present invention provides an electronic device comprising a memory and a processor, and computer instructions stored in the memory and executed on the processor, wherein when the computer instructions are executed by the processor, the method described in the first aspect is completed.
[0038] In a fifth aspect, the present invention provides a computer-readable storage medium for storing computer instructions, which, when executed by a processor, completes the method described in the first aspect.
[0039] In a sixth aspect, the present invention provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method described in the first aspect is implemented.
[0040] Compared with the prior art, the present invention has the following beneficial effects:
[0041] The present invention proposes a robot task reasoning method and system that integrates multimodal information and ontology knowledge, extracts multimodal information in the current scene and combines large language models with knowledge base technology. The advantage of the ontology knowledge base is that it can structuredly store and manage scene knowledge information and conveniently provide the required scene knowledge; the advantage of the large language model is that it can process complex task data in complex multimodal scenes, and the excellent text generation ability of the large language model makes it possible to realize service task reasoning. Therefore, by combining the ontology knowledge base and the large language model, facing specific scenes, service task reasoning is performed based on the advantages of the versatility of task data processing of the large language model, and task execution is realized on the basis of the assistance of the ontology knowledge base, thereby improving the decision-making ability, execution ability and service level of the service robot.
[0042] The present invention proposes a robot task reasoning method and system that integrates multimodal information and ontology knowledge, to achieve service task reasoning that is more in line with user expectations, to better understand user intentions, to improve the intelligence of service robots, and to have the ability to execute user-expected service functions and manage scene knowledge information, thus contributing to the service robots entering households.
[0043] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0045] Figure 1 The overall framework diagram of the robot task reasoning method integrating multimodal information and ontology knowledge provided in Example 1 of the present invention;
[0046] Figure 2 A topological structure diagram of the ontology knowledge base provided in Example 1 of the present invention;
[0047] Figure 3 A diagram of the knowledge base class hierarchy provided in Example 1 of the present invention;
[0048] Figure 4 The ontology knowledge base object attributes and data attribute graph provided in Example 1 of the present invention;
[0049] Figure 5 This is a flowchart of the implementation of medicine delivery for falls provided in Example 1 of the present invention. DETAILED DESCRIPTION
[0050] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0051] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0052] It should be noted that the terms used herein are only for describing specific embodiments, and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that the terms "include" and "comprise" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0053] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.
[0054] Example 1
[0055] This embodiment provides a robot task reasoning method that integrates multimodal information and ontology knowledge to improve and enhance the decision-making ability of the service robot. Figure 1 As shown, including:
[0056] Build an ontology knowledge base containing user, environment and service robot ontology information;
[0057] Acquire the speech information, visual information and scene knowledge information in the scene;
[0058] Obtaining user behavior information and scene relationship information between the user and the environment based on visual information recognition, and obtaining visual modal information in text form through information screening; wherein the information screening includes retaining scene relationship information in which the user and the environment have an interactive relationship based on the user behavior information;
[0059] Acquire speech modal information in text form according to speech information recognition;
[0060] According to the scene knowledge information, the scene knowledge modal information in text form is obtained by querying the ontology knowledge base;
[0061] According to the speech modal information, visual modal information and scene knowledge modal information in text form, the scene multimodal fusion information is obtained;
[0062] According to the multimodal fusion information of the scene, the trained large language model is used to generate service tasks, so as to control the service robot to perform corresponding actions, and the service tasks are updated according to the feedback of the service robot.
[0063] In this embodiment, taking the family assistance for the elderly scenario as an example, an ontology knowledge base is constructed based on the family assistance for the elderly scenario and the family environment.
[0064] Specifically:
[0065] Based on the owl language and the Protégé ontology knowledge base visualization development software, an ontology knowledge base containing user, environment and service robot ontology information is constructed. The ontology knowledge base represents knowledge from three aspects: class, instance and attribute. The class represents the collection of individuals with the same characteristics, the instance represents the specific individual, and the attributes include object attributes and data attributes. The object attribute represents the relationship between the class and the instance, which is used for qualitative description, and the data attribute represents the relationship between the instance and the value, which is used for quantitative description.
[0066] Among them, user information includes age, behavioral habits, etc.; service robot body information includes robot appearance, functions, etc.; environmental information is constructed and represented from multiple levels of environmental objects (EnvironmentObject), operating objects (OperatingObject), locations (Locations) and scene structures (Structure), mainly defining relevant information of objects in the scene, such as tables, chairs, cups, medicines, etc. involved in the interaction in the scene, and subdivided according to different subordinate categories in each category, and then defined to the smallest classification.
[0067] In this embodiment, based on the binocular camera equipped with the service robot, a video stream in the scene, i.e., visual information, is acquired in real time, and the process of identifying the user behavior information and the scene relationship information between the user and the environment from the visual information includes:
[0068] Obtain each visual image frame of each video clip, identify the user target through the trained target detection model, and obtain the user detection frame in the scene. Then, use the trained behavior recognition model to dynamically identify the user behavior based on the user detection frame to obtain the user behavior information label in text form, which is expressed as "person do".
[0069] Relationship detection: Based on the video clip, the visual image of the first frame is obtained, and the scene relationship information between the user and the environment is obtained through the trained scene graph generation model; the scene graph generation model obtains triple relationship pairs in text form, expressed in the form of "subject predicate object", and the top five triples with confidence are selected.
[0070] Then, the user behavior information labels in text form obtained based on the behavior recognition model and the triple relationship pairs in text form obtained based on the scene graph generation model are filtered to obtain the visual modal information in text form.
[0071] Specifically:
[0072] The scene graph generation model generates a large number of triple relationship pairs based on scene images. However, commonly found triples such as "person hashand" are not helpful for scene understanding and need to be removed as redundant information. Triples involving the action interaction between users and objects, and the position relationship between users and objects are retained. Therefore, an information screening strategy is designed, including:
[0073] (a) The triples with person as the subject and predicates involving action relationships are retained, including predicates such as "sit on" and "carry", and "has" and "wearing" are removed; the labels with synonyms with user behavior information labels are merged and one of them is retained, and the labels with different meanings are retained and connected with "and".
[0074] (b) Triples with person as the subject and predicates involving positional relations, such as “on”, “infront of”, etc.
[0075] (c) Keep the triples with person as the object and the predicates involving positional relations. The predicates are the same as those described in (b), and the subordinate relations such as "of" and "part of" are eliminated.
[0076] (d) Combine the action recognition verb with the relational predicate of the preposition attribute in (b) and (c), take "person" as the subject, and obtain the recognition result of the form "person lie near chair".
[0077] Visual modal information in text form is obtained based on information screening strategies.
[0078] In this embodiment, based on the real-time collection of voice information in the scene such as recording by a smartphone microphone, combined with the voice API, recognition and processing of voice information is implemented, including speech-to-text (ASR), Chinese-English translation, etc., to obtain voice modal information in text form.
[0079] In this embodiment, after acquiring the scene knowledge information, the interaction between the service robot system and the ontology knowledge base is realized based on the OwlReady2 interface, and the real-time automatic query and update of the ontology knowledge base is realized based on the Python language. The query and update content includes item information and user behavior habit information. The item information includes the location of the item, whether it can be grasped, etc.; among them, the item information is used to cooperate with the system to realize the target grasping of the service robot, and the user behavior habit information in text form is obtained by querying the ontology knowledge base as the scene knowledge modal information.
[0080] In this embodiment, speech modal information, visual modal information and scene knowledge modal information in text form are combined to generate scene multimodal fusion information in a labeled format. The scene multimodal fusion information is used as the input of a large language model for training and testing, and feedback information from the service robot sensors is added according to the actual scene application requirements.
[0081] The meaning of scene multimodal fusion information labels is shown in Table 1, and examples of scene multimodal fusion information are shown in Table 2.
[0082] Table 1 Meaning of scene multimodal fusion information labels
[0083]
[0084] Table 2 Example of scene multimodal fusion information
[0085]
[0086] In this embodiment, taking the family assistance for the elderly scenario as an example, a family assistance for the elderly scenario data set is constructed, and a large language model is fine-tuned. Through the large language model, the multimodal fusion information of the scene in text form is processed, and relying on the text understanding and generation capabilities of the fine-tuning large language model, a service task that can be parsed and executed by the service robot is generated; wherein, the text form of the generated service task is expressed as "atomic action (interaction target); atomic action (interaction target); ... ", and the atomic actions include navigation, grasping, voice, etc., and are stored in the ontology knowledge base.
[0087] Based on the above method, this embodiment is designed, tested and verified in the following aspects:
[0088] The advantage of the ontology knowledge base is that it can structuredly store and manage scenario knowledge information, and conveniently provide the system with the required scenario knowledge. The advantage of the large language model is its ability to process complex task data in complex multimodal scenarios, and the excellent text generation ability of the large language model makes it possible to realize service task reasoning. Therefore, it is an ideal solution to combine the ontology knowledge base with the large language model, conduct service task reasoning based on the advantages of the versatility of task data processing of the large language model for specific scenarios, and realize task execution on the basis of the assistance of the ontology knowledge base.
[0089] This embodiment constructs a family-assisting-the-elderly scenario dataset based on the family-assisting-the-elderly scenario and the family task dataset Activity Progress. The input is labeled as labeled text of three modal information: voice, vision, and scene knowledge. The output is a service robot task plan with a standardized format, based on which the model is fine-tuned.
[0090] In order to verify that the scene multimodal fusion information and ontology knowledge can be inferred to obtain service tasks that better meet user expectations, this embodiment constructs three test sets based on the family-assisted elderly scene data set, which respectively contain voice information, voice + visual information, and voice + visual + scene knowledge information, and compares the test results. Based on the NLP evaluation indicators Bleu and Rouge and the subjective indicators of accuracy and usability evaluation, the comparative experimental results of Table 3 and Table 4 are obtained. Among them, accuracy means that the generated results are basically consistent with the annotation results; usability means that non-core steps in the generated task plan are missing (such as voice interaction), and the expected task results can be obtained according to the task execution.
[0091] Table 3. Service task reasoning comparison experiment results
[0092]
[0093] Table 4. Service task reasoning comparison experiment results II
[0094]
[0095]
[0096] It can be seen that in the designed home-assistance scenario, the decision-making results obtained by simple voice commands have a low accuracy rate. However, since the instructions contained in the voice are clearer, more than half of the task scenarios can still be handled accurately. After the introduction of visual modal information and ontological knowledge base information, the robot's accuracy in reasoning about service tasks is improved. The best effect is obtained when the voice information, visual information and knowledge base information in the scene are integrated.
[0097] Experimental verification:
[0098] This embodiment arranges a simulated family scene, designs scene tasks based on the family assistance scene data set, and conducts system development and actual machine testing based on the service robot hardware platform. The elderly in the family need robots to respond to sudden illness as an experimental scene, and demonstrates the execution process of the fall medicine delivery scene. The verification process and effect are as follows:
[0099] 1. System framework and execution process
[0100] Voice interaction, based on the voice information acquisition mechanism, develop and deploy an Android human-computer interaction APP, call the mobile phone microphone interface and the built-in TTS API to realize text-to-speech; establish an Android command classification database based on Text-to-SQL, and use SQL fuzzy matching to filter the voice commands that can be directly executed on the Android side, and hand them over to the functional module for execution. The natural language text that needs to be understood and reasoned is forwarded to the edge for information fusion.
[0101] Visual detection, based on a deep learning visual detection network, processes the video stream acquired by the service robot's binocular camera to obtain visual semantic information.
[0102] Scenario knowledge information, based on the OwlReady2 API, implements real-time query of the ontology knowledge base, including the query of user behavior habit information required for reasoning and the query of scenario knowledge when the service robot performs functions.
[0103] 2. The topological structure of the ontology knowledge base of the family assistance scenario is as follows Figure 2 The service home scenario based on the ontology knowledge base is constructed from the "man-machine-environment" architecture, and is subdivided according to the different subordinate categories in each category, and then defined to the smallest classification. The class hierarchy is as follows Figure 3 The object attributes mainly include the main positional relationships and action interaction relationships defined in the scene graph generation part of visual detection. The data attributes include attributes that can be quantitatively represented or do not point to specific classes or instances in the knowledge base. The object attribute and data attribute definition list is as follows: Figure 4 According to the experimental scenario and the OWL language specification of the ontology knowledge base, some scenario knowledge is pre-written, including user information (mainly user behavior habits), item information, etc., to create instances and define attributes.
[0104] 3. Scenario design. Take the example of delivering medicine to a user after he falls. The process is as follows: Figure 5 As shown, the service robot detects that the user has fallen to the ground, and approaches to ask questions. If the user lies down and is unconscious and unresponsive, the emergency treatment process is executed; if the user is sitting on the ground and asks the service robot to deliver medicine, the service robot queries the location of the first aid medicine, navigates to the target point, grabs and delivers the medicine to the user.
[0105] 4. The test process includes three stages: detection, information fusion and instruction generation, and execution. The detection stage includes voice and visual information collection, and detection and processing to obtain semantic information. The information fusion and instruction generation stage includes querying user behavior habits based on the ontology knowledge base, screening visual semantic information, fusion generation of large language model input instructions, and reasoning to generate task plans (delivering medicine). The execution stage includes the service robot parsing the task plan, querying the location information of interactive items in the ontology knowledge base, and executing service tasks, including interaction, navigation, and grasping.
[0106] The test process includes: the service robot detects that the user is lying on the ground, filters the visual semantic information, queries the ontology knowledge base to obtain the user's current non-behavioral habits, and uses the large language model to infer that the service task is to move to the user and ask questions. If the user does not respond, the emergency processing process is inferred again to call the emergency number; if the user is sitting on the ground, the user's voice "give me the medicine" is recognized, the ontology knowledge base is queried to obtain the user's current non-behavioral habits, and the task plan of the service task "give the first aid medicine to the user" is obtained based on the large language model reasoning, parsed and executed. The query obtains the location of the medicine on the table and its corresponding target detection label; navigates to the target location, detects and grabs the target based on the target detection network, and the grabbing action simultaneously realizes the grabbing of the water bottle and the first aid medicine. After grabbing the medicine, navigate to the user, hand the medicine to the user, and complete the service task.
[0107] In summary, the robot task reasoning method that integrates multimodal information and ontological knowledge proposed in this embodiment has achieved optimization in terms of service robot decision-making. The service robot effectively integrates multimodal information and ontological knowledge to achieve service task reasoning that is more in line with user expectations. The service robot system was designed and integrated, and the feasibility of the designed system in the home scene was tested. Through the designed system, the intelligence level of the home service robot is improved. The service robot can better understand the user's intentions and has the ability to perform the service functions expected by the user and manage the scene knowledge information, which contributes to the service robot entering the home.
[0108] Example 2
[0109] This embodiment provides a robot task reasoning system integrating multimodal information and ontology knowledge, including:
[0110] A knowledge base construction module, configured to construct an ontology knowledge base containing ontological information of users, environments, and service robots;
[0111] An acquisition module, configured to acquire voice information, visual information and scene knowledge information in the scene;
[0112] A visual processing module is configured to obtain user behavior information and scene relationship information between the user and the environment based on visual information recognition, and obtain visual modal information in text form through information screening; wherein the information screening includes retaining scene relationship information in which the user has an interactive relationship with the environment based on the user behavior information;
[0113] A speech processing module is configured to obtain speech modal information in text form according to speech information recognition;
[0114] A scene knowledge processing module is configured to obtain scene knowledge modal information in text form by querying an ontology knowledge base according to the scene knowledge information;
[0115] A fusion module is configured to obtain scene multimodal fusion information according to speech modal information in text form, visual modal information, and scene knowledge modal information;
[0116] The task generation module is configured to generate service tasks based on the multimodal fusion information of the scene and adopt the trained large language model to control the service robot to perform corresponding actions and update the service tasks according to the feedback of the service robot.
[0117] It should be noted that the above modules correspond to the steps described in Example 1, and the examples and application scenarios implemented by the above modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above Example 1. It should be noted that the above modules, as part of the system, can be executed in a computer system such as a set of computer executable instructions.
[0118] In further embodiments, there is also provided:
[0119] A service robot system, comprising:
[0120] The robot body is a two-handed humanoid wheeled service robot with the capabilities of mapping, navigation, and grasping. It is equipped with a binocular depth camera to obtain visual image information.
[0121] The edge computing platform is used to obtain user behavior information and scene relationship information between the user and the environment based on visual information recognition, and obtain visual modal information in text form through information screening, wherein the information screening includes retaining scene relationship information in which the user and the environment have an interactive relationship based on the user behavior information, and obtaining scene knowledge modal information in text form by querying the ontology knowledge base based on the scene knowledge information;
[0122] Among them, an edge computing smart box is used to deploy robot control algorithms, visual detection models, ontology knowledge base and its interfaces, and chassis control and communication are realized based on wireless networks.
[0123] The human-computer interaction terminal is used to obtain the voice information in the scene and obtain the voice modal information in text form based on the voice information recognition;
[0124] Specifically, a smart phone is used and carried by a service robot, a human-computer interaction APP is deployed, and voice API is combined to interact with users through voice, including converting voice information into text (ASR), converting the generated interactive text into voice playback (TTS), and executing functions such as making calls, recording videos, and voice interaction, and communicating with the edge based on TCP long links.
[0125] The cloud computing platform uses a desktop server and implements communication with the edge based on the Flask framework. It is used to deploy a large language model, receive speech modal information, visual modal information, and scene knowledge modal information in text form, and obtain scene multimodal fusion information after fusion. According to the scene multimodal fusion information, the trained large language model is used to generate service tasks, thereby controlling the service robot to perform corresponding actions and updating the service tasks according to the feedback of the service robot.
[0126] In further embodiments, there is also provided:
[0127] An electronic device includes a memory and a processor, and computer instructions stored in the memory and executed on the processor, wherein when the computer instructions are executed by the processor, the method described in Embodiment 1 is performed. For the sake of brevity, it will not be described in detail here.
[0128] It should be understood that in this embodiment, the processor may be a central processing unit CPU, and the processor may also be other general-purpose processors, digital signal processors DSP, application-specific integrated circuits ASIC, off-the-shelf programmable gate arrays FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0129] The memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory. For example, the memory may also store information about the device type.
[0130] A computer-readable storage medium is used to store computer instructions, and when the computer instructions are executed by a processor, the method described in Example 1 is completed.
[0131] The method in Example 1 can be directly embodied as a hardware processor, or a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware. To avoid repetition, it is not described in detail here.
[0132] A computer program product includes a computer program, and when the computer program is executed by a processor, the method described in embodiment 1 is implemented.
[0133] The present invention also provides at least one computer program product tangibly stored on a non-transitory computer-readable storage medium. The computer program product includes computer executable instructions, such as instructions included in a program module, which are executed in a device on a real or virtual processor of the target to perform the process / method as described above. Typically, program modules include routines, programs, libraries, objects, classes, components, data structures, etc. that perform specific tasks or implement specific abstract data types. In various embodiments, the functions of program modules can be combined or divided between program modules as needed. Machine executable instructions for program modules can be executed in local or distributed devices. In distributed devices, program modules can be located in local and remote storage media.
[0134] The computer program code for implementing the method of the present invention can be written in one or more programming languages. These computer program codes can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by the computer or other programmable data processing device, causes the function / operation specified in the flow chart and / or block diagram to be implemented. The program code can be executed completely on a computer, partially on a computer, as an independent software package, partially on a computer and partially on a remote computer or completely on a remote computer or server.
[0135] In the context of the present invention, computer program codes or related data may be carried by any appropriate carrier to enable a device, apparatus or processor to perform the various processes and operations described above. Examples of carriers include signals, computer readable media, etc. Examples of signals may include electrical, optical, radio, acoustic or other forms of propagation signals, such as carrier waves, infrared signals, etc.
[0136] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with this embodiment can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0137] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.
Claims
1. A robot task reasoning method integrating multimodal information and ontology knowledge, characterized in that: include: Build an ontology knowledge base containing user, environment and service robot ontology information; Acquire the speech information, visual information and scene knowledge information in the scene; Obtaining user behavior information and scene relationship information between the user and the environment based on visual information recognition, and obtaining visual modal information in text form through information screening; wherein the information screening includes retaining scene relationship information in which the user and the environment have an interactive relationship based on the user behavior information; Acquire speech modal information in text form according to speech information recognition; According to the scene knowledge information, the scene knowledge modal information in text form is obtained by querying the ontology knowledge base; According to the speech modal information, visual modal information and scene knowledge modal information in text form, the scene multimodal fusion information is obtained; According to the multimodal fusion information of the scene, the trained large language model is used to generate service tasks, so as to control the service robot to perform corresponding actions, and the service tasks are updated according to the feedback of the service robot.
2. The robot task reasoning method integrating multimodal information and ontology knowledge as claimed in claim 1, characterized in that: The ontology knowledge base includes classes, instances and attributes, wherein classes represent a collection of individuals with the same characteristics, instances represent individuals, and attributes include object attributes and data attributes. Object attributes represent the relationship between classes and instances and are used for qualitative descriptions, while data attributes represent the relationship between instances and values and are used for quantitative descriptions.
3. The robot task reasoning method integrating multimodal information and ontology knowledge as claimed in claim 1, characterized in that: In the ontology knowledge base, user information includes age and behavioral habits; service robot ontology information includes robot appearance and functions; environmental information includes environmental objects, operation objects, locations and scene structures, which are used to define relevant information of objects in the scene, and are subdivided according to different subordinate categories in each category, and then defined to the smallest classification.
4. The robot task reasoning method integrating multimodal information and ontology knowledge as claimed in claim 1, characterized in that: The scene relationship information between the user and the environment is a triple relationship pair in text form, expressed in the form of subject + predicate + object. The process of obtaining the visual modal information in text form through information screening includes: (1) Retain the triples of predicates with the user as the subject and involving action relations. Among them, the labels with synonyms with the user behavior information labels are merged and one of them is retained, and the labels with different synonyms are retained and connected at the same time; (2) retaining triples of predicates with user as subject and involving positional relations; (3) retaining triples of predicates that have the user as the object and involve positional relations; (4) Taking user as the subject, merge the behavior identification verb with the relational predicate of the preposition attributes in (2) and (3).
5. The robot task reasoning method integrating multimodal information and ontology knowledge as claimed in claim 1, characterized in that: Query the item information and user behavior habit information in the ontology knowledge base. The item information includes the item location and whether it can be grasped, which is used to cooperate with the service robot's target grasping. The user behavior habit information in text form is used as the scene knowledge modal information.
6. A robot task reasoning system integrating multimodal information and ontology knowledge, characterized in that: include: A knowledge base construction module, configured to construct an ontology knowledge base containing ontological information of users, environments, and service robots; An acquisition module, configured to acquire voice information, visual information and scene knowledge information in the scene; A visual processing module is configured to obtain user behavior information and scene relationship information between the user and the environment based on visual information recognition, and obtain visual modal information in text form through information screening; wherein the information screening includes retaining scene relationship information in which the user has an interactive relationship with the environment based on the user behavior information; A speech processing module is configured to obtain speech modal information in text form according to speech information recognition; A scene knowledge processing module is configured to obtain scene knowledge modal information in text form by querying an ontology knowledge base according to the scene knowledge information; A fusion module is configured to obtain scene multimodal fusion information according to speech modal information in text form, visual modal information, and scene knowledge modal information; The task generation module is configured to generate service tasks based on the multimodal fusion information of the scene and adopt the trained large language model to control the service robot to perform corresponding actions and update the service tasks according to the feedback of the service robot.
7. A service robot system, characterized in that: include: The robot body is equipped with a binocular depth camera for acquiring visual information; The edge computing platform is used to obtain user behavior information and scene relationship information between the user and the environment based on visual information recognition, and obtain visual modal information in text form through information screening, wherein the information screening includes retaining scene relationship information in which the user and the environment have an interactive relationship based on the user behavior information; and obtaining scene knowledge modal information in text form by querying the ontology knowledge base based on the scene knowledge information; The human-computer interaction terminal is used to obtain the voice information in the scene and obtain the voice modal information in text form based on the voice information recognition; The cloud computing platform is used to receive speech modal information, visual modal information and scene knowledge modal information in text form, and obtain scene multimodal fusion information after fusion. According to the scene multimodal fusion information, the trained large language model is used to generate service tasks, so as to control the service robot to perform corresponding actions, and update the service tasks according to the feedback of the service robot.
8. An electronic device, characterized in that: The method comprises a memory and a processor, and computer instructions stored in the memory and executed on the processor, wherein when the computer instructions are executed by the processor, the method according to any one of claims 1 to 5 is completed.
9. A computer-readable storage medium, characterized in that: Used to store computer instructions, which, when executed by a processor, complete the method described in any one of claims 1 to 5.
10. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Finite knowledge-based multi-modal demonstration diagram generation method and device
CN112465144A
Multi-mode fusion robot
CN116587251A
Complex scene logical reasoning method and system based on bimodal data fusion
CN118014082A
Computer implemented methods for the automated analysis or use of data, including use of a large language model
US20230274086A1
Cited By
Intelligent grabbing method of mechanical arm
CN119526384A
Self-adaptive robot sensing, guiding and controlling integrated system facing strange environment
CN120085659A
Intelligent mobile grabbing robot control method and system based on modular architecture
CN120382482A
