Multi-agent system cooperation method and device under information asymmetry condition
By forming a relationship network and information interaction mechanism in a multi-agent system, the problem of information asymmetry is solved, more efficient information acquisition and processing is achieved, and the accuracy of decision-making and system efficiency are ensured.
Patent Information
- Application Number
- CN202410739733.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-07
AI Technical Summary
In the case of information asymmetry in existing multi-agent systems, agents cannot obtain complete information required for tasks, resulting in inaccurate decision-making and severely limiting system efficiency.
By forming a relationship network between multiple agents based on large language models, dialogue information is obtained in advance, unknown and known reasoning basis is generated, information is updated interactively by asking questions, and consensus reasoning is achieved to obtain the final answer.
It improves the efficiency and accuracy of information acquisition and processing, ensures that each agent can obtain all the information needed to complete the task, and achieves more efficient multi-agent collaboration and information processing capabilities.
Smart Images

Figure CN118586500A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a collaboration method and device for a multi-agent system under information asymmetry conditions. Background Art
[0002] With the development of artificial intelligence technology, multi-agent systems (MAS) based on large language models (LLMs) have made significant progress in solving complex tasks. These systems achieve collaborative work through natural language communication between agents.
[0003] In the prior art, when multi-agent systems are used to enhance cooperation between users, since each agent can only access the information of its users, the agents in the existing multi-agent systems cannot obtain the complete information required for the task when dealing with information asymmetry, and thus cannot make accurate decisions. This seriously limits the efficiency of the multi-agent system.
[0004] For example, in a virtual team, different members' agents may hold different parts of the project information, which is critical to the success of the project. If information cannot be effectively exchanged between agents, the knowledge and skills of each member cannot be fully utilized, resulting in inefficient collaboration.
[0005] In summary, the existing technology has significant deficiencies in dealing with information asymmetry problems, and a new method is needed to improve the collaboration efficiency of multi-agent systems under information asymmetry. Summary of the invention
[0006] The present invention provides a method and device for cooperating a multi-agent system under information asymmetry, so as to solve the defect in the prior art that the agents of the multi-agent system under information asymmetry cannot obtain complete information required for the task, and thus cannot make accurate decisions, which seriously limits the efficiency of the multi-agent system.
[0007] The present invention provides a collaboration method for a multi-agent system facing information asymmetry situations, wherein the multi-agent system comprises a relationship network formed by multiple agents based on a large language model, wherein for any target agent: the target agent and at least one other target agent connected thereto form a relationship sub-network; each target agent obtains in advance the dialogue information of at least one other target agent in the same relationship sub-network; The method is used for a target agent and comprises the following steps: The task of receiving input; Generate unknown reasoning basis and known reasoning basis according to the input task and pre-acquired dialogue information between the target agent and at least one other target agent; Generate a question based on the unknown reasoning basis and send it to the other party's target agent, and update the corresponding unknown reasoning basis to a known reasoning basis based on the reply content returned by the other party's target agent; The known reasoning basis for the final update completion of the target agent and the known reasoning basis for the final update completion of the other target agent are collected for consensus reasoning to obtain a final answer for replying to the task.
[0008] According to a multi-agent system collaboration method for information asymmetry provided by the present invention, for a target agent, pre-acquiring the dialogue information of at least one target agent in the same relationship sub-network, specifically includes: Pre-acquire the conversation information of at least one other target agent in the same relational sub-network; The received dialogue information is respectively subjected to precise memory processing and fuzzy memory processing to obtain precise dialogue information and summary information of the dialogue information.
[0009] According to a multi-agent system collaboration method for information asymmetry provided by the present invention, the received dialogue information is accurately memorized to obtain accurate dialogue information, including: The received conversation information is subjected to an accurate matching query of keywords to obtain the accurate conversation information.
[0010] According to a collaborative method for a multi-agent system in an information asymmetry situation provided by the present invention, fuzzy memory processing is performed on the received dialogue information to obtain summary information of the dialogue information, including: segmenting the received dialogue information to determine at least one segment of dialogue information with a coherent context; and extracting a summary of at least one segment of dialogue information to obtain summary information of each segment of the dialogue information.
[0011] According to a multi-agent system collaboration method for information asymmetry provided by the present invention, unknown reasoning basis and known reasoning basis are generated according to an input task and pre-acquired dialogue information between the target agent and at least one other target agent, including: Determine a corresponding initial plan according to the input task, wherein the initial plan includes an initial reasoning basis for solving the problem, and an initial state of the initial reasoning basis is an unknown state; According to the initial reasoning basis, the pre-acquired conversation information between the target agent and at least one other target agent is queried, the initial reasoning basis for the queried answer conversation information is updated as the known reasoning basis, and the initial reasoning basis for the queried answer conversation information is used as the unknown reasoning basis.
[0012] According to a multi-agent system collaboration method for information asymmetry situations provided by the present invention, the question asked includes multiple; Generate a question based on the unknown reasoning basis and send it to the other party's target agent, and update the corresponding unknown reasoning basis to a known reasoning basis based on the reply content returned by the other party's target agent, including: A plurality of questions are generated according to the unknown reasoning basis, and a single question is sent to the other target agent in each round of inquiry, and the unknown reasoning basis corresponding to the single question is updated to a known reasoning basis according to the reply content returned by the other target agent.
[0013] According to a multi-agent system collaboration method for information asymmetry provided by the present invention, after generating unknown reasoning basis and known reasoning basis, the method further includes: Receive the question sent by the other target agent, retrieve the known reasoning basis, generate corresponding reply content and send it to the other target agent.
[0014] According to a multi-agent system collaboration method for information asymmetry provided by the present invention, the answer dialogue information includes accurate answer dialogue information and summary answer information; Receiving the question sent by the other target agent, retrieving the known reasoning basis, generating corresponding reply content and sending it to the other target agent, including: Receiving the question sent by the target agent of the other party, retrieving the precise answer dialogue information and the summary answer information in the known reasoning basis; According to the retrieved accurate answer dialogue information and summary answer information, the corresponding reply content is generated and sent to the other target agent.
[0015] According to a collaborative method of a multi-agent system for information asymmetry provided by the present invention, the known reasoning basis for the final update completion of the target agent and the known reasoning basis for the final update completion of the other target agent are collected for consensus reasoning to obtain a final answer for replying to the task, including: Collecting the updated plan of the target agent and the updated plan of the other target agent, wherein the updated plan includes the known reasoning basis for the final update completion; Cross-validating the updated plan of the target agent and the updated plan of the other target agent, and removing conflicting known reasoning evidences in the updated plan of the target agent and the updated plan of the other target agent; The final answer is obtained by reasoning based on the cross-validated plan of the target agent and the plan of the other target agent.
[0016] The present invention also provides a cooperation device of a multi-agent system facing information asymmetry, which is used for a target agent and includes the following modules: A task receiving module, used for receiving input tasks; A dialogue information processing module, used to generate unknown reasoning evidence and known reasoning evidence according to an input task and pre-acquired dialogue information between the target agent and at least one other target agent; An information interaction module, used to generate a question based on the unknown reasoning basis and send it to the other party's target agent, and update the corresponding unknown reasoning basis to a known reasoning basis based on the reply content returned by the other party's target agent; The consensus reasoning module is used to collect the known reasoning basis for the final update completion of the target agent and the known reasoning basis for the final update completion of the other target agent to perform consensus reasoning to obtain the final answer for replying to the task.
[0017] According to a multi-agent system collaboration device for information asymmetry provided by the present invention, the dialogue information processing module is specifically used to: Determine a corresponding initial plan according to the input task, wherein the initial plan includes an initial reasoning basis for solving the problem, and an initial state of the initial reasoning basis is an unknown state; According to the initial reasoning basis, the pre-acquired conversation information between the target agent and at least one other target agent is queried, the initial reasoning basis for the queried answer conversation information is updated as the known reasoning basis, and the initial reasoning basis for the queried answer conversation information is used as the unknown reasoning basis.
[0018] According to a collaborative device for a multi-agent system facing information asymmetry provided by the present invention, the question asked includes a plurality of questions; the information interaction module is specifically used for: A plurality of questions are generated according to the unknown reasoning basis, and a single question is sent to the other target agent in each round of inquiry, and the unknown reasoning basis corresponding to the single question is updated to a known reasoning basis according to the reply content returned by the other target agent.
[0019] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a collaborative method for a multi-agent system under any of the above-mentioned information asymmetry situations is implemented.
[0020] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a collaboration method for a multi-agent system under any of the above-mentioned information asymmetry situations.
[0021] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the multi-agent system collaboration method under any of the above-mentioned information asymmetry situations is implemented.
[0022] The present invention provides a collaborative method and device for a multi-agent system under information asymmetry conditions, wherein a target agent receives an input task, generates an unknown reasoning basis and a known reasoning basis according to the input task and pre-acquired conversation information between the target agent and at least one other target agent; then generates a question based on the unknown reasoning basis and sends it to the other target agent, and updates the corresponding unknown reasoning basis to a known reasoning basis according to the reply content returned by the other target agent, so that the agent can actively and dynamically obtain the latest external information, and exchange and process it through an effective communication strategy, thereby improving the efficiency and accuracy of information acquisition and processing; finally, the known reasoning basis finally updated by the target agent and the known reasoning basis finally updated by the other target agent are collected for consensus reasoning, and a final answer for replying to the task is obtained, thereby solving the problem of information asymmetry, ensuring that each target agent can obtain all the information required to complete the task, and realizing more efficient multi-agent collaboration and information processing capabilities. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0024] Figure 1 It is a structural schematic diagram of a multi-agent system provided by the present invention.
[0025] Figure 2 This is one of the flow charts of a collaborative method of a multi-agent system under information asymmetry provided by the present invention.
[0026] Figure 3 This is the second flow chart of a collaborative method of a multi-agent system under information asymmetry provided by the present invention.
[0027] Figure 4 This is the third flow chart of a collaborative method of a multi-agent system under information asymmetry provided by the present invention.
[0028] Figure 5 It is a schematic diagram of the framework of a multi-agent system provided by the present invention.
[0029] Figure 6It is a flowchart of a collaborative method of a multi-agent system provided by the present invention.
[0030] Figure 7 It is a schematic diagram of the collaboration between two agents provided by the present invention.
[0031] Figure 8 It is a structural schematic diagram of a cooperation device of a multi-agent system under information asymmetry provided by the present invention.
[0032] Fig. 9 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings 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 are within the scope of protection of the present invention.
[0034] In the prior art, there are several significant defects in multi-agent systems (MAS) and their applications in dealing with information asymmetry. These defects mainly affect the overall performance of the system, the efficiency of collaboration, and the accuracy of information processing. The following is a detailed description and analysis of the problems and defects in the prior art: 1) Information asymmetry: In existing multi-agent systems, information asymmetry is a common and difficult problem to solve. Each agent holds different information, which is often complementary to the task. Due to the lack of effective communication and collaboration mechanisms, agents cannot fully exchange information, resulting in a one-sided decision-making process and affecting the overall execution of the task.
[0035] 2) Limitations of information acquisition and processing: Existing multi-agent systems usually rely on pre-collected and stored information, which means that agents can only access information about their users or local environment, resulting in a limited global view. Since the latest external information cannot be dynamically acquired and processed, agents often make inferences and decisions based on incomplete or outdated data, which affects the accuracy and efficiency of tasks.
[0036] 3) Privacy and security risks: Although centralized information collection and sharing strategies can alleviate information asymmetry to a certain extent, they bring serious privacy and security risks in actual operations. The centralized storage and processing of user information is easy to become a target of attack, and it may be eavesdropped and tampered with during transmission.
[0037] 4) Difficulty in processing dynamically changing information: Existing technologies perform poorly in processing dynamically changing information, making it difficult to adjust and optimize agent behaviors and decisions in real time. The uncertainty and dynamic nature of information increase the complexity of the system, making it difficult for pre-designed static models and strategies to cope with complex situations in practical applications.
[0038] 5) Insufficient system scalability and flexibility: The design of existing multi-agent systems is usually relatively fixed, and it is difficult to flexibly adjust and expand according to specific application requirements. When the task scenario or user needs change, the adaptability and scalability of the system are limited, making it difficult to meet diverse application requirements.
[0039] In summary, the existing multi-agent system has obvious deficiencies in information acquisition and processing, information asymmetry, privacy and security, dynamic change processing, system scalability, etc. These defects limit the application effect and efficiency of the system in complex task scenarios. The collaborative method of the multi-agent system proposed in the present invention optimizes and improves the above problems to achieve more efficient multi-agent collaboration and information processing capabilities.
[0040] Before describing the method according to the embodiment of the present invention, a multi-agent system involved in the embodiment of the present invention is schematically described.
[0041] See also Figure 1 , Figure 1 A schematic diagram of the structure of a multi-agent system is shown. It includes multiple agents, and the multiple agents form a relationship network, each of which is formed based on a large language model. For any target agent: the target agent and at least one other target agent connected to it form a relationship sub-network; each target agent pre-acquires the dialogue information of at least one other target agent in the same relationship sub-network.
[0042] For example Figure 1 In the example, taking agent A as the target agent, agent A forms a relational sub-network with its connected agents B, E and F, and the other target agent can be any one of agent B, E and F; agent B forms a relational sub-network with its connected agents A, C and D, and the other target agent can be any one of agent A, C and D. However, there is no relation between agent A and agent C and agent D, and there is no relation between agent B and agent E and agent F.
[0043] If the target agent A and the other target agent B want to collaborate to complete task M, agent A needs to obtain the conversation information between it and agent B, agent E and agent F in advance, and agent B needs to obtain the conversation information between it and agent A, agent C and agent D in advance. It should be noted that for each agent, the conversation information does not need to be centrally stored and managed, but distributed in each user's own storage space. The agent will only query the conversation information required to complete the task according to the request.
[0044] After the target agent A and the counterpart target agent B respectively obtain the dialogue information of at least one counterpart target agent in their respective relationship sub-networks, the target agent A and the counterpart target agent B implement information exchange and collaboration to solve the information asymmetry problem.
[0045] Combine the following Figure 2-Figure 7 The collaborative method of a multi-agent system under information asymmetry according to an embodiment of the present invention is described.
[0046] Figure 2 FIG. 1 is one of the flow charts of the cooperation method of the multi-agent system under the information asymmetry situation provided by the embodiment of the present invention. Figure 2 As shown, the method includes the following: Step 201: Receive an input task.
[0047] Among them, the target agent in the multi-agent system can be determined according to the instructions input by humans.
[0048] The task can be input into the large language model corresponding to each target agent in the form of prompt + question. Of course, the task can also be input into one of the target agents, which is then synchronized to other target agents. The method of this embodiment is described by taking the input of the task into one target agent as an example.
[0049] There may be two or more target agents for writing. In the case of multiple target agents cooperating, it can be understood that every two target agents cooperate with each other. Therefore, the embodiment of the present invention takes the cooperation between two target agents as an example for explanation.
[0050] Step 202: Generate unknown reasoning basis and known reasoning basis according to the input task and pre-acquired dialogue information between the target agent and at least one other target agent.
[0051] The target agent obtains the dialogue information with at least one other target agent in advance. The dialogue information is generated for the daily dialogue process between each target agent and the other target agent, and is distributed in each user's own storage space. The target agent can query the dialogue information required to complete the task according to the request.
[0052] The reasoning basis is the basis for obtaining the final answer. The unknown reasoning basis is the content that the target agent does not know when generating the answer, and the known reasoning basis is the content that the target agent has obtained and can be used to generate the answer.
[0053] For example, in a relationship network, including agents A, B, C and D, agents A to D are connected in sequence. The current task is "Today we are going to hold an online meeting, and we need to ask each other what time slots we can arrange today?" The selected target agents are agents B and C. Then for target agent B, we can directly obtain the free time of the other target agents A and C as the known reasoning basis, and the free time of agent D as the unknown reasoning basis. For target agent C, we can directly obtain the free time of the other target agents B and D as the known reasoning basis, and the free time of the other target agent A as the unknown reasoning basis.
[0054] Step 203: Generate a question based on the unknown reasoning basis and send it to the other target agent, and update the corresponding unknown reasoning basis to a known reasoning basis based on the reply content returned by the other target agent.
[0055] Step 203 is a step for the target agent to perform information exchange. Through the information exchange between the target agent and the other target agent, the unknown reasoning basis of the target agent can be converted into a known reasoning basis, so that the information obtained by the target agent can form the answer to the task.
[0056] Still using the above example, target agent B can send a question to target agent C, "Excuse me, do you know the free time of agent D?", and after receiving the returned reply, the free time of agent D can be known based on the reply, and the unknown reasoning basis can be updated to the known reasoning basis. In addition, target agent B can also receive the question sent by target agent C, "Excuse me, do you know the free time of agent A?", and generate the corresponding reply content based on the free time of agent A and send it to target agent C.
[0057] Step 204: Collect the known reasoning basis for the final update completion of the target agent and the known reasoning basis for the final update completion of the other target agent, and perform consensus reasoning to obtain a final answer for replying to the task.
[0058] After the target agent obtains the known reasoning basis of the final update, there may be a situation where the known reasoning basis of the target agent is inconsistent due to the possibility of missing information and other problems. Then, in step 204, it is necessary to conduct consensus reasoning on the known reasoning basis of the final update of the target agent and the known reasoning basis of the final update of the other target agent, so as to cross-validate the reasoning basis of the target agent and the reasoning basis of the other target agent, and obtain the final reasoning basis that can be used to generate the answer.
[0059] Specifically, step 204 includes: collecting the updated plan of the target agent and the updated plan of the other target agent, wherein the updated plan includes the known reasoning basis for the final update; cross-validating the updated plan of the target agent and the updated plan of the other target agent, and removing the known reasoning basis that conflict with each other in the updated plan of the target agent and the updated plan of the other target agent; and reasoning based on the cross-validated plan of the target agent and the plan of the other target agent to obtain a final answer.
[0060] Consensus reasoning is to unify the known reasoning evidence of both agents and remove the conflicting reasoning evidence, and finally reason based on all the known reasoning evidence to get the final answer. The advantage of both agents maintaining a plan containing reasoning evidence is that the two agents have different perspectives, and both parties update their plans while maintaining information asymmetry. Only when the final consensus reasoning is used, the information is merged and the information asymmetry is removed, which can cross-verify the correctness of the obtained reasoning evidence.
[0061] The collaborative method of a multi-agent system under information asymmetry provided by the present invention receives an input task through a target agent, generates an unknown reasoning basis and a known reasoning basis according to the input task and pre-acquired conversation information between the target agent and at least one other target agent; then generates a question based on the unknown reasoning basis and sends it to the other target agent, and updates the corresponding unknown reasoning basis to the known reasoning basis according to the reply content returned by the other target agent, so that the agent can actively and dynamically obtain the latest external information, and exchange and process it through an effective communication strategy, thereby improving the efficiency and accuracy of information acquisition and processing; finally, the known reasoning basis finally updated by the target agent and the known reasoning basis finally updated by the other target agent are collected for consensus reasoning to obtain the final answer for replying to the task, thereby solving the problem of information asymmetry, ensuring that each agent can obtain all the information required to complete the task, and realizing more efficient multi-agent collaboration and information processing capabilities.
[0062] Furthermore, in order to effectively manage and retrieve the dialogue information of each agent, the present invention designs a hybrid memory mechanism, including precise memory and fuzzy memory.
[0063] See also Figure 3 , for the target agent, pre-acquire the conversation information of at least one target agent in the same relational sub-network, specifically including: Step 301: pre-acquire the conversation information of at least one counterpart target agent in the same relational sub-network.
[0064] Step 302: Perform precise memory processing and fuzzy memory processing on the received dialogue information to obtain precise dialogue information and summary information of the dialogue information.
[0065] Among them, precise memory stores human information in a structured way and supports precise matching queries. It can keep the original form of information, be faithful to the facts, and have no information loss, so it is precise. In the second step of information navigation, the target agent generates a query based on the last round of speech of the other target agent, and realizes precise retrieval through structured query language.
[0066] The received dialogue information is accurately memorized to obtain accurate dialogue information, including: performing an accurate keyword matching query on the received dialogue information to obtain the accurate dialogue information.
[0067] Fuzzy memory stores summary text of a conversation. A conversation refers to continuous behavior over a period of time, which often has a coherent context. Conversations are widely used in dialogue systems and recommendation systems, and have mature extraction technologies. The agent automatically extracts the user's conversation information, summarizes it, and stores it as fuzzy memory. Because fuzzy memory is a summary text, some details may be lost, so it is fuzzy, but fuzzy memory can store information with longer context content, which complements the precise memory that can only query a single piece of information. The agent uses the embedding-based approximate nearest neighbor retrieval technology to retrieve fuzzy memory and realize information retrieval at the semantic level.
[0068] The received dialogue information is subjected to fuzzy memory processing to obtain summary information of the dialogue information, including: segmenting the received dialogue information to determine at least one segment of dialogue information with a coherent context; and extracting a summary of at least one segment of dialogue information to obtain summary information of each segment of the dialogue information.
[0069] During each retrieval, the agent will retrieve both precise and fuzzy memories to ensure that the information obtained is accurate and comprehensive, so that it can communicate effectively with the other agent to eliminate information asymmetry and successfully solve the problem.
[0070] After each target agent receives a task, it can first retrieve the reasoning basis for answering the question from the pre-acquired dialogue information with the other target agent, and then determine the unknown reasoning basis. Figure 4 , step 202 includes: step 401, determining a corresponding initial plan according to the input task, wherein the initial plan includes an initial reasoning basis for solving the problem, and an initial state of the initial reasoning basis is an unknown state.
[0071] Step 402: Based on the initial reasoning basis, query the pre-acquired conversation information between the target agent and at least one other target agent, update the initial reasoning basis for the queried answer conversation information as the known reasoning basis, and use the initial reasoning basis for the queried answer conversation information as the unknown reasoning basis.
[0072] Through steps 401 to 402, the known reasoning basis and unknown reasoning basis of the target agent can be determined, wherein the unknown reasoning basis is used to generate corresponding questions.
[0073] For the situation where there are multiple questions, step 203 includes: generating multiple questions based on the unknown reasoning basis, sending a single question to the other target agent in each round of inquiry, and updating the unknown reasoning basis corresponding to the single question to a known reasoning basis according to the reply content returned by the other target agent.
[0074] By answering multiple questions through multiple rounds of questioning, the pressure on the agent to answer all questions at the same time can be avoided.
[0075] Specifically, after generating the unknown reasoning basis and the known reasoning basis, the method further includes: receiving questions sent by the other target agent, retrieving the known reasoning basis, generating corresponding reply content and sending it to the other target agent.
[0076] When the target agent receives the question, the target agent receives the question sent by the other target agent, retrieves the precise answer dialogue information and the summary answer information in the known reasoning basis; generates corresponding reply content according to the retrieved precise answer dialogue information and the summary answer information and sends it to the other target agent.
[0077] By retrieving the precise answer dialogue information and summary answer information each time, the target agent can ensure that the information obtained is accurate and comprehensive, so that it can communicate effectively with the other agent to eliminate information asymmetry.
[0078] In order to facilitate understanding of the solution of the embodiment of the present invention, the embodiment of the present invention also discloses a method, and the method of the embodiment of the present invention is schematically described. Figure 5 and Figure 6 , Figure 5 Shown is a framework diagram of a multi-agent system according to an embodiment of the present invention. Figure 6 Shown is a flow chart of a collaborative method of a multi-agent system according to an embodiment of the present invention.
[0079] This method is described by taking the collaboration between two agents A and B as an example, specifically comprising: 601, target agent A pre-acquires accurate dialogue information M between the target agent and at least one other target agent; D1 and summary information M of the conversation information F1 , the target agent B obtains the precise dialogue information M between the target agent and at least one target agent in advance D2 and summary information M of the conversation information F2 .
[0080] Among them, the precise dialogue information M obtained by the target agent A D1 and summary information M of the conversation information F1 The conversation information I1 in its relational subnetwork; the precise conversation information M obtained by the target agent B D2 and summary information M of the conversation information F2 Derived from the conversation information I2 in its relationship sub-network.
[0081] Since the reasoning evidence R required to answer task Q is distributed in different relational sub-networks, information asymmetry occurs.
[0082] 602. Input task Q to target agent A and target agent B respectively.
[0083] Among them, for target agent A, target agent B is the other target agent; for target agent B, target agent A is the other target agent.
[0084] 603. The target agent A and the target agent B determine corresponding initial plans P1 and P2 according to the input tasks.
[0085] The initial plans P1 and P2 include initial reasoning basis for solving the problem, and the initial state of the initial reasoning basis is an unknown state.
[0086] 604. Through the target agent A, the conversation information I1 between the target agent and at least one other target agent that is pre-acquired is queried according to the initial reasoning basis, and the initial reasoning basis for the conversation information with the queried answer is updated to the known reasoning basis, and the initial reasoning basis for the conversation information without the queried answer is used as the unknown reasoning basis; through the target agent B, the conversation information I2 between the target agent and at least one other target agent that is pre-acquired is queried according to the initial reasoning basis, and the initial reasoning basis for the conversation information with the queried answer is updated to the known reasoning basis, and the initial reasoning basis for the conversation information without the queried answer is used as the unknown reasoning basis.
[0087] 605. The target agent A and the target agent B communicate C: the target agent A generates a question based on the unknown reasoning basis and sends it to the target agent B, and updates the corresponding unknown reasoning basis to the known reasoning basis according to the reply content returned by the target agent B, and the target agent A receives the question sent by the target agent B, retrieves the known reasoning basis, generates a corresponding reply content and sends it to the target agent B; The target agent B generates questions based on the unknown reasoning basis and sends them to the other target agent A, and updates the corresponding unknown reasoning basis to the known reasoning basis according to the reply content returned by the target agent A, and receives the questions sent by the target agent A through the target agent B, retrieves the known reasoning basis, generates corresponding reply content and sends it to the other target agent A.
[0088] 606. The target agent A collects the known reasoning basis of the final update completion of the target agent A and the known reasoning basis of the final update completion of the other party target agent B for consensus reasoning, that is, the target agent A collects the updated plans P1 and P2 of the target agent A and the other party target agent B; the updated plans P1 and P2 of the target agent A and the other party target agent B are cross-validated to remove the conflicting known reasoning basis in the updated plans P1 and P2.
[0089] 607. The target agent A performs reasoning based on the cross-validated plans P1 and P2 to obtain the final answer Ans for the reply task.
[0090] Of course, the execution subject of steps 606 and 607 may also be the target agent B, and the target agent B outputs the final answer for replying the task, which will not be described in detail in this embodiment.
[0091] Compared with the prior art, the multi-agent system of the embodiment of the present invention has significant technical, economic and social effects. Specifically, the embodiment of the present invention significantly improves the efficiency of information acquisition and processing by introducing information navigation mechanism and hybrid memory mechanism.
[0092] 1) By applying the information navigation mechanism, the multi-agent system of the embodiment of the present invention achieved significant improvements in accuracy of 26.67%, 14.44% and 4.91% in three tasks from simple to difficult when processing information asymmetric reasoning tasks. When processing information asymmetric positioning tasks, the accuracy was improved by 12% on small relationship networks and 0.79% on large relationship networks.
[0093] 2) By applying the hybrid memory mechanism, in the task of locating information asymmetry in a large relationship network, the fuzzy memory of the embodiment of the present invention brought a 6.34% improvement in accuracy, and the clear memory brought a 2.38% improvement in accuracy.
[0094] The multi-agent system proposed in the embodiment of the present invention supports agents to actively and recursively initiate multiple communications, so that the system can be easily expanded to adapt to dynamic network changes and the automatic communication between agents can be spread in the relationship network. After the recursive communication function is turned on, the accuracy of the system has been improved by 3% in the task of locating information in a small relationship network, and by 12.69% in the task of locating information in a large relationship network.
[0095] Taking the task of processing large-scale relationship network information positioning as an example, the agent can analyze a relationship network containing 140 tasks and 588 relationship chains within 3 minutes, complete 30 rounds of communication, retrieve nearly 70,000 messages and finally successfully complete the specified task.
[0096] To further understand the collaboration method between different agents in this embodiment, see Figure 7 , Figure 7 The cooperation process between target agents A and B in this embodiment is shown.
[0097] Among them, target agent A obtains the dialogue information between it and the other target agents E and F in advance, and target agent B obtains the dialogue information between it and the other target agents C and D in advance.
[0098] After receiving the task, target agent A and target agent B respectively determine the corresponding initial plans, and query the pre-acquired dialogue information between the target agent and at least one other target agent based on the initial reasoning basis, update the initial reasoning basis for the dialogue information with the answer queried as the known reasoning basis, and use the initial reasoning basis for the dialogue information without the answer queried as the unknown reasoning basis.
[0099] Taking the other target agent B as an example, the known reasoning basis includes: its conversation information with agent C includes summary information Session1 with C, precise conversation information Session2 with C and precise conversation information Session3 with C, and its conversation information with agent D includes precise conversation information Session1 with D and summary information Session2 with D.
[0100] In the first round of dialogue, target agent A generates question 1 "I got no information, could you tell me..." based on the unknown reasoning basis and sends it to the other target agent B, and obtains "Of course. Here is..., and please tell me..." returned by the other target agent B. The response returned by the other target agent B includes both the reply content and question 2. Based on the reply content returned by the other target agent B, target agent A updates the unknown reasoning basis to the known reasoning basis.
[0101] In the second round of dialogue, target agent A generates a reply to the other target agent B, and continues to generate a question based on the unknown reasoning basis, "got it! and...?" and sends it to the other target agent B. Agent B returns "Now I know all the information. And..." Based on the reply content returned by target agent A, target agent B updates the unknown reasoning basis to the known reasoning basis; target agent A updates the unknown reasoning basis to the known reasoning basis based on the reply content returned by target agent B.
[0102] After the second round of dialogue, target agent A and the other target agent B cross-validate the updated plan to remove conflicting known reasoning bases in the updated plan; reason based on the cross-validated plan to obtain the final answer.
[0103] Compared with the prior art, the multi-agent system provided by the embodiment of the present invention solves the following key technical problems: 1) Information asymmetry problem: In the prior art, due to the lack of effective communication and collaboration mechanisms, the information asymmetry problem between agents is serious, which affects the effectiveness and efficiency of task execution. The present invention introduces an information navigation mechanism to guide agents to actively exchange information and collaborate, and gradually solves the information asymmetry problem through plan generation and updating, ensuring that each agent can obtain all the information required to complete the task.
[0104] 2) Information acquisition and processing efficiency issues: In the prior art, agents can only access information in their users or local environments, resulting in limited global vision and low efficiency in information acquisition and processing. In the multi-agent system proposed by the present invention, agents can actively and dynamically acquire the latest external information, and exchange and process it through effective communication strategies, thereby improving the efficiency and accuracy of information acquisition and processing.
[0105] 3) Privacy and security issues: In the process of centralized information management and sharing, existing multi-agent systems have privacy leakage and security risks. The multi-agent system in this invention does not need to store and manage information centrally, but distributes it in each user's own storage space. The agent will only query the information required to complete the task according to the request. In addition, users can set different permissions for their own information. When the agent requests sensitive information, it needs user authorization, so privacy security is significantly improved compared with previous systems.
[0106] 4) Dynamically changing information processing problem: Existing technologies are difficult to cope with dynamically changing task environments and information, resulting in insufficient system flexibility and adaptability. The agent in the present invention can actively initiate communication on behalf of the user and automatically spread in the user's relationship chain, so it can dynamically adapt to changes in the relationship network.
[0107] 5) System scalability and flexibility issues: The existing multi-agent system has a fixed design and is difficult to flexibly adjust and expand according to specific application requirements. The system functions of the present invention can be expanded as needed, including the agent's communication strategy, tool usage, memory mode, etc. can be dynamically adjusted and expanded, which enhances the scalability and flexibility of the system and meets diverse application requirements.
[0108] The following describes a cooperation device of a multi-agent system under information asymmetry provided by the present invention. The cooperation device of a multi-agent system under information asymmetry described below and the cooperation method of a multi-agent system under information asymmetry described above can refer to each other.
[0109] The embodiment of the present invention provides a cooperation device of a multi-agent system under information asymmetry, which is used for a target agent, see Figure 8 ,include: The task receiving module 801 is used to receive an input task; A dialogue information processing module 802, for generating unknown reasoning evidence and known reasoning evidence according to the input task and the pre-acquired dialogue information between the target agent and at least one other target agent; The information interaction module 803 is used to generate a question based on the unknown reasoning basis and send it to the other target agent, and update the corresponding unknown reasoning basis to a known reasoning basis according to the reply content returned by the other target agent; The consensus reasoning module 804 is used to collect the known reasoning basis of the final update completion of the target agent and the known reasoning basis of the final update completion of the other target agent to perform consensus reasoning to obtain the final answer for replying to the task.
[0110] Optionally, the device further comprises a preprocessing module, configured to: Pre-acquire the conversation information of at least one other target agent in the same relational sub-network; The received dialogue information is respectively subjected to precise memory processing and fuzzy memory processing to obtain precise dialogue information and summary information of the dialogue information.
[0111] Optionally, the preprocessing module is specifically used to: perform an accurate keyword matching query on the received conversation information to obtain the accurate conversation information.
[0112] Optionally, the preprocessing module is specifically used to: segment the received dialogue information to determine at least one segment of dialogue information with a coherent context; and extract a summary of at least one segment of dialogue information to obtain summary information of each segment of the dialogue information.
[0113] Optionally, the dialogue information processing module 802 is specifically configured to: Determine a corresponding initial plan according to the input task, wherein the initial plan includes an initial reasoning basis for solving the problem, and an initial state of the initial reasoning basis is an unknown state; According to the initial reasoning basis, the pre-acquired conversation information between the target agent and at least one other target agent is queried, the initial reasoning basis for the queried answer conversation information is updated as the known reasoning basis, and the initial reasoning basis for the queried answer conversation information is used as the unknown reasoning basis.
[0114] Optionally, the question includes multiple questions; the information interaction module 803 is specifically used to: A plurality of questions are generated according to the unknown reasoning basis, and a single question is sent to the other target agent in each round of inquiry, and the unknown reasoning basis corresponding to the single question is updated to a known reasoning basis according to the reply content returned by the other target agent.
[0115] Optionally, the information interaction module 803 is further used to: after generating unknown reasoning basis and known reasoning basis, receive questions sent by the other target agent, retrieve the known reasoning basis, generate corresponding reply content and send it to the other target agent.
[0116] Optionally, the answer dialogue information includes accurate answer dialogue information and summary answer information; The information interaction module 803 is specifically used for: Receiving the question sent by the target agent of the other party, retrieving the precise answer dialogue information and the summary answer information in the known reasoning basis; According to the retrieved accurate answer dialogue information and summary answer information, the corresponding reply content is generated and sent to the other target agent.
[0117] Optionally, the consensus reasoning module 804 is specifically configured to: Collecting the updated plan of the target agent and the updated plan of the other target agent, wherein the updated plan includes the known reasoning basis for the final update completion; Cross-validating the updated plan of the target agent and the updated plan of the other target agent, and removing conflicting known reasoning evidences in the updated plan of the target agent and the updated plan of the other target agent; Reasoning is performed based on the cross-validated plan of the target agent and the plan of the other target agent to obtain a final answer for replying to the task.
[0118] Fig. 9 An example of a physical structure diagram of an electronic device is shown in FIG. Fig. 9 As shown, the electronic device may include: a processor 910, a communication interface 920, a memory 930 and a communication bus 940, wherein the processor 910, the communication interface 920 and the memory 930 communicate with each other through the communication bus 940. The processor 910 may call the logic instructions in the memory 930 to execute the cooperation method of the multi-agent system under the information asymmetry situation, the method comprising: receiving an input task; generating unknown reasoning basis and known reasoning basis according to the input task and the pre-acquired dialogue information between the target agent and at least one other target agent; generating a question according to the unknown reasoning basis and sending it to the other target agent, and updating the corresponding unknown reasoning basis to the known reasoning basis according to the reply content returned by the other target agent; collecting the known reasoning basis of the target agent and the known reasoning basis of the other target agent for consensus reasoning, and obtaining the final answer for replying to the task.
[0119] In addition, the logic instructions in the above-mentioned memory 930 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0120] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the collaboration method of a multi-agent system under information asymmetry provided by the above methods, and the method includes: receiving an input task; generating unknown reasoning basis and known reasoning basis based on the input task and pre-acquired dialogue information between the target agent and at least one other target agent; generating a question based on the unknown reasoning basis and sending it to the other target agent, and updating the corresponding unknown reasoning basis to a known reasoning basis based on the reply content returned by the other target agent; collecting the known reasoning basis of the target agent and the known reasoning basis of the other target agent that are finally updated, and performing consensus reasoning to obtain a final answer for replying to the task.
[0121] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the collaboration method of a multi-agent system under information asymmetry provided by the above-mentioned methods, the method comprising: receiving an input task; generating unknown reasoning basis and known reasoning basis according to the input task and pre-acquired dialogue information between the target agent and at least one other target agent; generating a question according to the unknown reasoning basis and sending it to the other target agent, and updating the corresponding unknown reasoning basis to a known reasoning basis according to the reply content returned by the other target agent; collecting the known reasoning basis of the target agent and the known reasoning basis of the other target agent that are finally updated, and performing consensus reasoning to obtain a final answer for replying to the task.
[0122] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0123] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0124] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A collaborative method for a multi-agent system in information asymmetry situations, characterized in that: The multi-agent system includes a relationship network formed by multiple agents based on a large language model, and for any target agent: the target agent and at least one other target agent connected thereto form a relationship sub-network; Each target agent pre-acquires the conversation information of at least one other target agent in the same relational sub-network; The method is used for a target agent, comprising: The task of receiving input; Generate unknown reasoning basis and known reasoning basis according to the input task and pre-acquired dialogue information between the target agent and at least one other target agent; Generate a question based on the unknown reasoning basis and send it to the other party's target agent, and update the corresponding unknown reasoning basis to a known reasoning basis based on the reply content returned by the other party's target agent; The known reasoning basis for the final update completion of the target agent and the known reasoning basis for the final update completion of the other target agent are collected for consensus reasoning to obtain a final answer for replying to the task.
2. The cooperation method of a multi-agent system for information asymmetry according to claim 1, characterized in that: For a target agent, pre-acquiring the conversation information of at least one target agent in the same relation sub-network, specifically including: pre-acquiring the conversation information of at least one target agent in the same relation sub-network; The received dialogue information is respectively subjected to precise memory processing and fuzzy memory processing to obtain precise dialogue information and summary information of the dialogue information.
3. The cooperation method of a multi-agent system for information asymmetry according to claim 2, characterized in that: The received conversation information is accurately memorized to obtain accurate conversation information, including: The received conversation information is subjected to an accurate matching query of keywords to obtain the accurate conversation information.
4. The cooperation method of a multi-agent system for information asymmetry according to claim 2, characterized in that: The received conversation information is subjected to fuzzy memory processing to obtain summary information of the conversation information, including: Segmenting the received conversation information to determine at least one segment of conversation information having a coherent context; A summary is extracted for at least one segment of dialogue information to obtain summary information of each segment of the dialogue information.
5. The cooperation method of a multi-agent system for information asymmetry according to claim 1, characterized in that: Generate unknown reasoning basis and known reasoning basis according to the input task and pre-acquired dialogue information between the target agent and at least one other target agent, including: Determine a corresponding initial plan according to the input task, wherein the initial plan includes an initial reasoning basis for solving the problem, and an initial state of the initial reasoning basis is an unknown state; According to the initial reasoning basis, the pre-acquired conversation information between the target agent and at least one other target agent is queried, the initial reasoning basis for the queried answer conversation information is updated as the known reasoning basis, and the initial reasoning basis for the queried answer conversation information is used as the unknown reasoning basis.
6. The cooperation method of a multi-agent system for information asymmetry according to claim 1, characterized in that: The questions include multiple: Generate a question based on the unknown reasoning basis and send it to the other party's target agent, and update the corresponding unknown reasoning basis to a known reasoning basis based on the reply content returned by the other party's target agent, including: A plurality of questions are generated according to the unknown reasoning basis, and a single question is sent to the other target agent in each round of inquiry, and the unknown reasoning basis corresponding to the single question is updated to a known reasoning basis according to the reply content returned by the other target agent.
7. The cooperation method of a multi-agent system for information asymmetry according to claim 5, characterized in that: After generating the unknown reasoning basis and the known reasoning basis, the method further includes: Receive the question sent by the other target agent, retrieve the known reasoning basis, generate corresponding reply content and send it to the other target agent.
8. The cooperation method of a multi-agent system for information asymmetry according to claim 7, characterized in that: The answer dialogue information includes accurate answer dialogue information and summary answer information; Receiving the question sent by the other target agent, retrieving the known reasoning basis, generating corresponding reply content and sending it to the other target agent, including: Receiving the question sent by the target agent of the other party, retrieving the precise answer dialogue information and the summary answer information in the known reasoning basis; According to the retrieved accurate answer dialogue information and summary answer information, the corresponding reply content is generated and sent to the other target agent.
9. The cooperation method of a multi-agent system for information asymmetry according to claim 5, characterized in that: Collect the known reasoning basis of the final update completion of the target agent and the known reasoning basis of the final update completion of the other target agent for consensus reasoning to obtain the final answer for replying to the task, including: Collecting the updated plan of the target agent and the updated plan of the other target agent, wherein the updated plan includes the known reasoning basis for the final update completion; Cross-validating the updated plan of the target agent and the updated plan of the other target agent, and removing conflicting known reasoning evidences in the updated plan of the target agent and the updated plan of the other target agent; Reasoning is performed based on the cross-validated plan of the target agent and the plan of the other target agent to obtain a final answer for replying to the task.
10. A collaborative device for a multi-agent system in information asymmetry situations, characterized in that: The multi-agent system includes a relationship network formed by multiple agents based on a large language model, and for any target agent: the target agent and at least one other target agent connected thereto form a relationship sub-network; Each target agent pre-acquires the conversation information of at least one other target agent in the same relational sub-network; The device is used for a target agent, comprising: A task receiving module, used for receiving input tasks; A dialogue information processing module, used to generate unknown reasoning evidence and known reasoning evidence according to an input task and pre-acquired dialogue information between the target agent and at least one other target agent; An information interaction module, used to generate a question based on the unknown reasoning basis and send it to the other party's target agent, and update the corresponding unknown reasoning basis to a known reasoning basis based on the reply content returned by the other party's target agent; The consensus reasoning module is used to collect the known reasoning basis for the final update completion of the target agent and the known reasoning basis for the final update completion of the other target agent to perform consensus reasoning to obtain the final answer for replying to the task.
11. The cooperation device of a multi-agent system for information asymmetry according to claim 10, characterized in that: The dialogue information processing module is specifically used for: Determine a corresponding initial plan according to the input task, wherein the initial plan includes an initial reasoning basis for solving the problem, and an initial state of the initial reasoning basis is an unknown state; According to the initial reasoning basis, the pre-acquired conversation information between the target agent and at least one other target agent is queried, the initial reasoning basis for the queried answer conversation information is updated as the known reasoning basis, and the initial reasoning basis for the queried answer conversation information is used as the unknown reasoning basis.
12. The cooperation device of a multi-agent system for information asymmetry according to claim 10, characterized in that: The questions include multiple: The information interaction module is specifically used for: A plurality of questions are generated according to the unknown reasoning basis, and a single question is sent to the other target agent in each round of inquiry, and the unknown reasoning basis corresponding to the single question is updated to a known reasoning basis according to the reply content returned by the other target agent.
13. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the cooperation method of a multi-agent system for information asymmetry situations as described in any one of claims 1 to 9 is implemented.
14. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the cooperation method of a multi-agent system for information asymmetry situations as claimed in any one of claims 1 to 9 is implemented.
15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the cooperation method of a multi-agent system for information asymmetry situations as claimed in any one of claims 1 to 9 is implemented.
Citation Information
Patent Citations
Multi-agent collaborative reinforcement learning method, terminal and storage medium
CN116226662A
Multi-agent reinforcement learning method and device and medium
CN116560239A
Model reasoning method and device based on self-cognition and electronic equipment
CN116822633A
Task-based dialogue system and implementation method thereof
CN116911312A
Mental and language agent collaborative emotional dialogue generation method
CN117972075A
Cited By
Multi-agent bypass management method and device, storage medium and electronic equipment
CN121859926A
