Intelligent customer service knowledge base optimization method and system based on graph theory
By combining the intelligent customer service knowledge base optimization method with graph theory, the problem of traditional knowledge base information dispersion and untimely updates is solved, the knowledge base is systematized and structured, the accuracy and timeliness of information retrieval are improved, and the Service efficiency and quality.
Patent Information
- Application Number
- CN202410694601.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-05-31
AI Technical Summary
The traditional customer service knowledge base suffers from scattered information, unclear structure, and untimely updates, which makes it difficult to find key information efficiently and accurately, affecting service efficiency and quality.
The intelligent customer service knowledge base optimization method combined with graph theory is used to optimize the knowledge graph based on user feedback by establishing node sets, node matching, relationship analysis models, and construction and updating of the initial knowledge graph to achieve systematization and structuring of the knowledge base. .
It improves the accuracy and timeliness of knowledge base information retrieval, and improves service efficiency and quality.
Smart Images

Figure CN118261244B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to fields related to natural language processing technology, and specifically to an intelligent customer service knowledge base optimization method and system combined with graph theory. Background Art
[0002] In the digital age, intelligent customer service systems have become a key tool for companies to improve customer service quality and enhance customer satisfaction. Graph theory, as an important branch of mathematics, is particularly important for studying the connection relationships and structural characteristics of complex networks. However, traditional customer service knowledge bases can no longer meet the requirements of efficient and accurate services. They face problems such as scattered information, unclear structure, and untimely updates, which makes it difficult for customer service personnel to quickly find accurate answers when dealing with customer problems, affecting service efficiency and quality. Moreover, with the continuous development of corporate business and the continuous changes in customer needs, traditional knowledge bases can no longer meet the increasingly complex and diversified service needs.
[0003] Therefore, at the current stage, there are technical problems in the customer service knowledge base optimization related technologies, such as scattered information, unclear structure, and untimely updates, which make it difficult to find key information efficiently and accurately, thus affecting service efficiency and quality. Summary of the invention
[0004] This application provides an intelligent customer service knowledge base optimization method and system combined with graph theory, and adopts technical means such as building analysis models, node matching and association, to solve the technical problems existing in the existing customer service knowledge base, such as scattered information, unclear structure, and untimely updates, which make it difficult to find key information efficiently and accurately, thereby affecting service efficiency and quality. The application realizes the systematization and structuring of the knowledge base, and achieves the technical effect of improving the accuracy and timeliness of knowledge base information retrieval.
[0005] The present application provides an intelligent customer service knowledge base optimization method combined with graph theory, the method comprising: establishing digital communication with an intelligent customer service knowledge base, extracting concepts and / or entities in the intelligent customer service knowledge base, and establishing a node set; using the node set as a matching subject, matching additional information of nodes in the node set through big data, and establishing an additional information set; using the node set as an identification subject, inputting the intelligent customer service knowledge base and the additional information set into a relationship analysis model, and establishing node associations; establishing an initial knowledge graph based on the node associations and the node set; obtaining node set access data of the intelligent customer service knowledge base, extracting key nodes based on the access data, and strengthening node associations of key nodes based on the access data, and updating the initial knowledge graph to an enhanced knowledge graph; obtaining multiple consecutive rounds of conversations with users, and recording response results and user feedback scores of the enhanced knowledge graph, performing a general adaptive update evaluation based on the response results and user feedback scores, and updating the enhanced knowledge graph based on the update evaluation results.
[0006] In a possible implementation, the method obtains multiple consecutive rounds of conversations with users, records the response results of the enhanced knowledge graph and the user feedback scores, performs a normal adaptation update evaluation based on the response results and the user feedback scores, updates the enhanced knowledge graph based on the update evaluation results, and further performs the following processing: generates a conversation classification based on the user feedback scores and the conversation analysis of the multiple consecutive rounds of conversations, wherein the conversation classification includes a progressive conversation classification and a decision conversation classification; performs a matching evaluation of the conversation and the response through the conversation classification and the user feedback scores, and establishes a response enhancement channel based on the matching evaluation results; and updates the response enhancement channel to the enhanced knowledge graph.
[0007] In a possible implementation, the conversation and response matching evaluation is performed through the conversation classification and the user feedback score, and a response enhancement channel is established based on the matching evaluation result, and the following processing is performed: if the corresponding conversation classification is a progressive conversation classification, multiple consecutive rounds of conversations and user feedback scores are input into a progressive analysis network, and the progressive analysis network is used to perform sequentially superimposed conversation response matching evaluation to generate a progressive enhancement channel, and the progressive enhancement channel is output as a response enhancement channel; if the corresponding conversation classification is a decision conversation classification, multiple consecutive rounds of conversations and the user feedback score are input into a decision analysis network, and the decision analysis network is used to perform decision response evaluation to generate a decision enhancement channel, and the decision enhancement channel is output as a response enhancement channel.
[0008] In a possible implementation, the node set is used as an identification subject, the intelligent customer service knowledge base and the additional information set are input into a relationship analysis model, node association is established, and the following processing is performed: each node in the node set is extracted as a participant using the relationship analysis model, and the initial trust weight of the intelligent customer service knowledge base and the additional information set is configured; the participant is used as an information association source, and the associated data of the intelligent customer service knowledge base and the additional information set is extracted to establish a participant data set; information authentication based on the initial trust weight is performed on the participant data set, and the information authentication includes:
[0009] S1: Perform unique authentication of the data in the participant data set. If the unique authentication is successful, the unique authentication data and the corresponding initial trust weight are used to establish the first authentication data;
[0010] S2: If the unique authentication fails, data consistency authentication is performed based on the multi-source data. If the data consistency authentication passes, weighted authentication superposition is performed based on the initial trust weights of the multi-source data, and the second authentication data is established based on the weighted authentication superposition result;
[0011] S3: If the data consistency authentication fails, an elimination instruction is generated, and the data with low initial trust weight is eliminated by the elimination instruction. A penalty factor is established according to the elimination result, and the initial trust weight of the retained data is penalized by the penalty factor. The third authentication data is established according to the penalty result, and the information authentication is completed with the first authentication data, the second authentication data and the third authentication data; a node association is established according to the information authentication.
[0012] In a possible implementation, the node association is established according to the information authentication, and the following processing is also performed: based on the information authentication, a game association of each participant is established, wherein the game association includes a cooperative game, a non-cooperative game and an adversarial game; a game theory model is established with the game association, and an equilibrium point search is performed through the game theory model; and the node association is established according to the equilibrium point search result.
[0013] In a possible implementation, the key node extraction is performed according to the access data, and the following processing is also performed: an access frequency is established based on the access data, and a first key factor is configured with the access frequency; a node importance analysis is performed on the nodes in the node set, and a second key factor is configured; and key node extraction is completed through the first key factor and the second key factor.
[0014] In a possible implementation, after updating the initial knowledge graph to the enhanced knowledge graph, the following processing is also performed: configuring a data update cycle, wherein the data update cycle is a dynamic update cycle based on big data retrieval results; extracting update data with the data update cycle, and optimizing the enhanced knowledge graph with the update data.
[0015] This application also provides an intelligent customer service knowledge base optimization system combined with graph theory, including:
[0016] A node set establishment module, the node set establishment module is used to establish digital communication with an intelligent customer service knowledge base, and extract concepts and / or entities in the intelligent customer service knowledge base to establish a node set;
[0017] An additional information matching module, wherein the additional information matching module is used to use the node set as a matching subject, perform additional information matching of nodes in the node set through big data, and establish an additional information set;
[0018] A node association establishment module, wherein the node association establishment module is used to take the node set as the identification subject, input the intelligent customer service knowledge base and the additional information set into the relationship analysis model, and establish node association;
[0019] An initial knowledge graph establishment module, the initial knowledge graph establishment module is used to establish an initial knowledge graph based on the node association and the node set;
[0020] An enhanced knowledge graph acquisition module, which is used to obtain node set access data of the intelligent customer service knowledge base, extract key nodes according to the access data, strengthen node associations of key nodes based on the access data, and update the initial knowledge graph to an enhanced knowledge graph;
[0021] The enhanced knowledge graph update module is used to obtain multiple consecutive rounds of conversations with users, and record the response results of the enhanced knowledge graph and the user feedback scores, perform a general adaptive update evaluation based on the response results and the user feedback scores, and update the enhanced knowledge graph based on the update evaluation results.
[0022] It is proposed to establish digital communication with the intelligent customer service knowledge base and establish a node set through the intelligent customer service knowledge base optimization method and system combined with graph theory proposed in this application; use the node set as the matching subject to match additional information; input the intelligent customer service knowledge base and the additional information set into the relationship analysis model to establish node association; establish an initial knowledge graph based on the node association and the node set;
[0023] Obtain node set access data, extract key nodes, and update them into enhanced knowledge graphs; update the enhanced knowledge graph based on the updated evaluation results, which solves the technical problems of the existing customer service knowledge base, such as scattered information, unclear structure, and untimely updates, which make it difficult to find key information efficiently and accurately, and thus affect service efficiency and quality. The knowledge base is systematized and structured, achieving the technical effect of improving the accuracy and timeliness of knowledge base information retrieval. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solution of the embodiment of the present disclosure, the accompanying drawings of the embodiment of the present disclosure will be briefly introduced below. A flow chart is used in the present application to illustrate the operations performed by the system according to the embodiment of the present application. It should be understood that the preceding or following operations are not necessarily performed accurately in order. On the contrary, various steps can be processed in reverse order or simultaneously as needed. At the same time, other operations can also be added to these processes, or one or more operations can be removed from these processes.
[0025] Figure 1 A schematic diagram of the process flow of the intelligent customer service knowledge base optimization method combined with graph theory provided in an embodiment of the present application;
[0026] Figure 2 A schematic diagram of the structure of an intelligent customer service knowledge base optimization system combined with graph theory provided in an embodiment of the present application.
[0027] Explanation of the accompanying drawings: node set establishment module 10, additional information matching module 20, node association establishment module 30, initial knowledge graph establishment module 40, enhanced knowledge graph acquisition module 50, enhanced knowledge graph update module 60. DETAILED DESCRIPTION
[0028] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below.
[0029] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
[0030] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict, and the terms "first\second" involved are merely to distinguish similar objects and do not represent a specific ordering of objects. The terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products, or devices. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by technicians in the technical field of this application. The terms used herein are for the purpose of describing the embodiments of the present application only.
[0031] The present application embodiment provides an intelligent customer service knowledge base optimization method combined with graph theory, such as Figure 1 As shown, the method includes:
[0032] Step S100, establish digital communication with the intelligent customer service knowledge base, extract concepts and / or entities in the intelligent customer service knowledge base, and establish a node set. Establish a connection with the intelligent customer service knowledge base through technical means, extract key concepts, entities or knowledge points from it, and organize these elements into a node set. Specifically, through programming interfaces, APIs or other data transmission methods, data exchange and sharing between computers or software systems and intelligent customer service knowledge bases are realized, including setting access rights for intelligent customer service knowledge bases, determining data transmission protocols, and converting data formats, etc.; extracting concepts and / or entities from the intelligent customer service knowledge base refers to identifying and extracting key information units from the knowledge base, and organizing the extracted concepts and / or entities into a structured set, in which each node represents a concept or entity, and the relationship between nodes (such as parent-child relationships, parallel relationships, etc.) can be represented by edges in graph theory, which is convenient for systematic organization and management of knowledge, and can also facilitate subsequent reasoning, query and visualization operations.
[0033] Step S200, using the node set as the matching subject, matching the additional information of the nodes in the node set through big data, and establishing an additional information set. Using big data technology and relevant data sources, further information mining and matching are performed on each node in the established node set to obtain additional information related to these nodes, and the information is integrated into an additional information set. Specifically, using the node set as the starting point or subject of query and matching, using big data platforms or tools, massive data is processed and analyzed to find additional matching information related to the node, such as structured or unstructured data captured by web crawlers, user comments and feedback on social media, industry reports, etc. The matching process may include keyword search, semantic similarity calculation, association rule mining, etc., to ensure that the additional information found has high relevance and accuracy with the node, and the matched additional information is sorted, classified and stored to form an additional information set corresponding to the node set, and each element in the set is associated with a node in the node set, providing more details, background, attributes or other relevant information about the node.
[0034] Step S300, taking the node set as the identification subject, inputting the intelligent customer service knowledge base and the additional information set into the relationship analysis model, and establishing node association. Taking the node set as the identification subject, the intelligent customer service knowledge base and the additional information set as the input data of the relationship analysis model, and establishing node association, wherein the relationship analysis model is a mathematical model for identifying the association between nodes, including calculating the similarity between nodes, finding co-occurrence relationships, mining implicit relationships, etc. Specifically, the node set is regarded as the core object of the relationship analysis model processing, and in-depth analysis and comparison are performed based on the attributes and characteristics of these nodes. The intelligent customer service knowledge base contains a lot of basic knowledge and information, and the additional information set provides additional details and background of the nodes. By inputting these data into the relationship analysis model, the model can make full use of this information for association analysis and establish a node association network. The nodes are connected by association lines to represent the association relationship between them, providing more accurate and comprehensive knowledge support for the intelligent customer service system.
[0035] In a possible implementation, step S300 further includes step S310, extracting each node in the node set as a participant using the relationship analysis model, and configuring the initial trust weights of the intelligent customer service knowledge base and the additional information set. In the relationship analysis model, the nodes in the node set are regarded as participants, and initial trust weights are assigned to them, the intelligent customer service knowledge base and the additional information set, wherein the trust weight represents the degree of trust in different information sources, which can affect the model's selection and weight allocation of information during reasoning and query processes. Specifically, within the framework of the relationship analysis model, these nodes are given specific roles or statuses. As the basic units of analysis and reasoning, the associations and interactions between participants will be used by the model to understand and interpret the complex relationships in the knowledge base. For the intelligent customer service knowledge base and the additional information set, the initial trust weight may be set based on factors such as its historical accuracy, source reliability, and content integrity; for each node in the node set, its initial trust weight may be set based on factors such as its importance in the knowledge base, frequency of use, and strength of association with other nodes. By configuring the initial trust weight, the relationship analysis model can more accurately evaluate the value and reliability of different information sources in the subsequent analysis and reasoning process, so as to make more reasonable decisions and recommendations. It also includes step S320, taking the participants as the information association source, performing the extraction of the associated data of the intelligent customer service knowledge base and the additional information set, and establishing a participant data set. On the basis of the participants that have been determined, with these participants as the core, extract the associated data related to the participants from the intelligent customer service knowledge base and the additional information set, and integrate these data into a participant data set. The participant data set will contain all important information related to each participant to form a structured data set. Specifically, with these participants as the starting point, find other information or data associated with them, that is, conduct in-depth search and analysis of the intelligent customer service knowledge base and the additional information set, and find data directly or indirectly related to the participants, including parsing and extracting various types of data such as text, images, and tables. It also includes step S330, performing information authentication based on the initial trust weight on the participant data set, and establishing node association based on the information authentication. The authenticity and reliability of the information in the participant data set are verified through the initial trust weight, and the association relationship between nodes is established based on the verification results. Specifically, by performing trust weight analysis on the information in the participant data set, more reliable and effective information can be screened out, and possible errors or false information can be eliminated. Various technical means and methods may be used, such as data verification, source verification, consistency check, etc., to ensure the accuracy and reliability of information. Based on the results of information authentication, node associations are established to reflect the actual connections and interactions between participants, providing more accurate and comprehensive knowledge support for the intelligent customer service system.
[0036] In one possible implementation, step S330 performs information authentication on the participant data set based on the initial trust weight, and the information authentication includes, S1: Execute unique authentication of the data in the participant data set. If the unique authentication passes, the unique authentication data and the corresponding initial trust weight are used to establish the first authentication data. When optimizing the intelligent customer service knowledge base, a strict data uniqueness check is performed on the data in the participant data set to ensure that there is no duplicate or redundant data in the data set, and the first authentication data is established based on the verification result and the initial trust weight. Specifically, the number is unique, indicating that there is only one data used to describe this information, and it is established as the first authentication data based on the trust and the data itself. S2: If the unique authentication fails, data consistency authentication is performed based on multi-source data. If the data consistency authentication passes, weighted authentication superposition is performed based on the initial trust weight of the multi-source data, and the second authentication data is established based on the weighted authentication superposition result. When the unique authentication fails, it means that there are duplications or inconsistencies in the data in the participant data set. At this time, it is necessary to further use multi-source data for data consistency authentication. Multi-source data refers to data from different sources and channels, which can provide more comprehensive and richer information, and help solve the problem of data inconsistency. In the process of data consistency authentication, we will compare and analyze the similarities and differences between multi-source data to determine whether they are consistent. If the consistency between multi-source data reaches a certain standard or threshold, we consider that the data consistency authentication has passed. Once the data consistency authentication has passed, weighted authentication superposition is performed based on the initial trust weight of the multi-source data. According to the result of weighted authentication superposition, we establish the second authentication data, where the second authentication data is obtained based on multi-source data consistency authentication and weighted authentication superposition, representing a higher level of authentication and confirmation of the data. Compared with the first authentication data, the second authentication data may be more accurate and reliable. S3: If the data consistency authentication fails, an elimination instruction is generated, and the data with low initial trust weight is eliminated by the elimination instruction. A penalty factor is established according to the elimination result, and the initial trust weight of the retained data is penalized by the penalty factor. A third authentication data is established according to the penalty result, and the information authentication is completed with the first authentication data, the second authentication data and the third authentication data.In the process of optimizing the intelligent customer service knowledge base, when data consistency authentication fails, a series of measures are taken to eliminate unreliable data, adjust trust weights, and finally form three authentication data to complete information authentication. Specifically, when data consistency authentication fails, in order to ensure the accuracy and reliability of the knowledge base, it is necessary to generate elimination instructions to eliminate those data with low initial trust weights, that is, automatically delete data that does not meet the requirements or has low quality, and establish a penalty factor based on the elimination results. The penalty factor is a mechanism for adjusting the initial trust weight of the retained data. By analyzing the eliminated data, the causes or characteristics that lead to data inconsistency can be identified, and corresponding penalty strategies can be formulated accordingly. The penalty factor is used to punish the initial trust weight of the retained data, and the trust weight of data that may have problems or uncertainties is reduced to reflect the decrease in its reliability and accuracy in the knowledge base. The third authentication data is established based on the penalty results. The third authentication data is obtained after eliminating low trust weight data and punishing the trust weight of the retained data, and represents a data set that has been more strictly screened and adjusted. Compared with the aforementioned first authentication data and second authentication data, the third authentication data excludes more unreliable factors and adjusts the trust weight of the retained data, which may be more accurate and reliable.
[0037] In a possible implementation, step S330 further includes step S331, establishing a game association of each participant based on the information authentication, wherein the game association includes cooperative game, non-cooperative game and hostile game. On the basis of having completed the verification of the authenticity and reliability of the information, further analyze the strategic interaction and relationship mode between the participants, including cooperative game, non-cooperative game and hostile game. Specifically, cooperative game refers to the participants seeking to maximize their interests or achieve common goals through consultation and cooperation. In cooperative games, participants are often willing to share information, resources and strategies to form a stable alliance or cooperative relationship, so as to obtain greater benefits or achieve common goals; non-cooperative game refers to the competition or conflict between participants in strategy selection, each pursuing the maximization of their own interests without considering the interests of other participants. In non-cooperative games, participants usually do not share key information or resources, but formulate strategies according to their own interests and goals; hostile game is the most tense and conflicting form of game association. In hostile games, there is obvious opposition and hostility between participants, and various means may be taken to damage the interests of the other party. Hostile games often lead to waste of resources, breakdown of trust and disintegration of cooperative relationships. It also includes step S332, establishing a game theory model with the game association, and searching for equilibrium points through the game theory model. According to different types of game associations such as cooperative games, non-cooperative games and hostile games, clarify the strategic interactions and interest structures between participants, build a game theory model, and use this game theory model to search for equilibrium points, where the equilibrium point refers to the state where each participant has no motivation to change its current strategy given the strategies of other participants. In the process of searching for equilibrium points, it is also necessary to consider the dynamics of the game (some games may be multi-stage, and the strategy choices of the participants will be adjusted with the changes of time and situation), the incompleteness of information (participants may not be able to fully understand the strategies or payment functions of other participants, which will lead to the incompleteness of the game), and verify the stability of the equilibrium point (an unstable equilibrium point means that the participants are motivated to change their strategies). It also includes step S333, establishing the node association according to the equilibrium point search results. The equilibrium search results represent the optimal strategy choices of the participants and their corresponding stable states in different game scenarios. Based on these equilibrium points, the connection strength and correlation between nodes in the network can be further analyzed. By comparing factors such as strategy choices, interaction frequency, and influence between nodes at different equilibrium points, the degree of association and importance between nodes can be determined. Based on these analysis results, node association relationships can be established or adjusted. For example, at the equilibrium point of a cooperative game, the connection between certain nodes may be strengthened to form a closer cooperative relationship; while at the equilibrium point of a non-cooperative or hostile game, the connection between certain nodes may be adjusted or disconnected to reflect the competitive or conflicting relationship between them.
[0038] Step S400, establishing an initial knowledge graph based on the node association and the node set. The node association relationship and node set obtained by analysis are integrated and constructed into an initial knowledge graph framework. The knowledge graph is a graphical knowledge representation method that can intuitively display entities, concepts and the relationship between them. Specifically, the specific steps of establishing the initial knowledge graph based on node association and node set may include determining the subject and scope of the knowledge graph, adding corresponding nodes to the knowledge graph according to the node set, each node represents an entity or concept, adding lines between nodes in the knowledge graph according to the node association to represent the relationship between them, such as using directed edges to represent directional relationships and using undirected edges to represent undirectional relationships, continuously iterating and improving the knowledge graph, updating nodes and node associations according to new data and knowledge, and finally obtaining the initial knowledge graph.
[0039] Step S500, obtaining the node set access data of the intelligent customer service knowledge base, extracting key nodes according to the access data, and strengthening the node association of key nodes based on the access data, and updating the initial knowledge graph to the enhanced knowledge graph. Collect the access data of each node in the intelligent customer service knowledge base, including the access frequency, access time, user satisfaction and other indicators of the node, reflecting the user's attention and use of different nodes in the knowledge base, analyzing and extracting key nodes based on the access data, wherein the key nodes usually have a higher access frequency, a longer access time or a higher user satisfaction, for the extracted key nodes, strengthening the node association between them according to the access data, including adding new association relationships, strengthening the weight of existing relationships or adjusting the type of association relationships, strengthening the association between key nodes, helping to form a more compact and effective knowledge network, and improving the practicality and accuracy of the knowledge graph, and updating the knowledge graph after strengthening the node association to the enhanced knowledge graph, including adding new association relationships, adjusting node weights or optimizing the graph structure on the basis of the initial knowledge graph to reflect the strengthening of key nodes and their association relationships. Strengthening the knowledge graph not only better meets the actual needs and usage habits of users, but also can more accurately reflect the structure and relationship of domain knowledge, which helps to improve the efficiency and accuracy of the intelligent customer service system and provide users with better and more personalized services. At the same time, with the continuous accumulation and updating of knowledge, the strengthened knowledge graph can also be continuously optimized and improved.
[0040] In a possible implementation, step S500, extracting key nodes according to the access data, further includes step S510, establishing access frequency based on the access data, and configuring the first key factor with the access frequency. Access frequency refers to the number of times or frequency each node is accessed in a specific time period. By collecting the access data of each node in the intelligent customer service knowledge base, the access frequency of each node can be calculated; the first key factor is a weight or importance index configured based on the access frequency, which is used to quantitatively evaluate the criticality of the node in the knowledge base. Its configuration is usually based on the access frequency, that is, the higher the access frequency of the node, the higher the value of the first key factor. The method for configuring the first key factor can be flexibly designed according to specific needs. For example, the access frequency can be directly used as the value of the first key factor, or the access frequency can be mapped to a specific numerical range through a certain conversion function (such as a logarithmic function, an exponential function, etc.) to better reflect the difference in node criticality. It also includes step S520, performing node importance analysis on the nodes in the node set, and configuring the second key factor. Performing node importance analysis on the nodes in the node set and configuring the second key factor is to quantitatively evaluate the importance of the nodes in the knowledge base. Specifically, node importance analysis is an evaluation of the importance and influence of each node in the knowledge base. During the analysis, factors such as the connection strength between nodes, the efficiency of information flow of nodes, and the role of nodes in a specific path or network structure may need to be considered. The second key factor is a weight or importance index configured based on the results of the node importance analysis, reflecting the relative importance of the node in the knowledge base. The method for configuring the second key factor is usually determined according to the specific results of the node importance analysis. For example, the value of the second key factor can be set according to the centrality score, ranking or other quantitative indicators of the node. A higher centrality score or ranking may correspond to a higher second key factor value. It also includes step S530, completing key node extraction through the first key factor and the second key factor. The first key factor based on access frequency and the second key factor based on node importance analysis are used to identify and select key nodes in the knowledge base. The actual usage of the nodes and their importance in the knowledge network structure are combined to more accurately determine those nodes that have an important impact on the overall performance of the knowledge base and user experience. Specifically, the first key factor (based on access frequency) and the second key factor (based on node importance analysis) of each node are integrated to form a comprehensive evaluation index. According to actual needs, different weights can be assigned to the first key factor and the second key factor, and then a weighted sum is performed to obtain a comprehensive score for each node. The nodes are sorted according to the comprehensive score, and then a threshold is set or the top-ranked nodes are selected as key nodes.
[0041] Step S600, obtain multiple consecutive rounds of conversations with the user, and record the response results of the enhanced knowledge graph and the user feedback scores, perform a general adaptation update evaluation based on the response results and the user feedback scores, and update the enhanced knowledge graph based on the update evaluation results. Through actual interaction with users, continuous multi-round dialogue data is collected to reflect the real needs and interaction habits of users in specific scenarios, including users' questions, requests or statements, and the system's responses. While obtaining multiple rounds of user dialogues, the response results of the enhanced knowledge graph to each user input are recorded. The response results include answers, explanations or operation suggestions provided by the system. By comparing the user's input and the system's response, the accuracy and effectiveness of the knowledge graph in practical applications can be evaluated. After the user has multiple rounds of dialogue with the system, the user is invited to provide feedback and score the system's response results, which may include evaluations in terms of satisfaction, accuracy, usefulness, etc. Based on the recorded response results and user feedback scores, a general adaptation update evaluation is performed, which mainly analyzes which aspects of the knowledge graph need to be improved, such as whether the association relationship of certain nodes is accurate, whether the coverage of certain fields is sufficient, etc., so as to identify the deficiencies and potential problems in the knowledge graph. According to the update evaluation results of general adaptation, the enhanced knowledge graph is updated and optimized accordingly, for example, adjusting the association relationship of nodes, adding new nodes and associations, optimizing node attributes, etc. Through continuous updating and optimization, the enhanced knowledge graph can better meet user needs and improve user experience and the efficiency of knowledge services.
[0042] In a possible implementation, step S600 further includes step S610, generating a dialogue classification based on the user feedback scoring and the dialogue analysis of the continuous multi-round dialogue, wherein the dialogue classification includes progressive dialogue classification and decision dialogue classification. Based on the user feedback scoring and the dialogue analysis of the continuous multi-round dialogue, a dialogue classification is generated, including progressive dialogue classification and decision dialogue classification. Specifically, progressive dialogue usually refers to the process in which the user's questions or needs gradually deepen or refine during the dialogue process, and the system needs to gradually guide the user and provide more detailed or professional information. Progressive means that questions need to be asked layer by layer, each layer is an independent question, and then the whole is associated; the decision dialogue is the process in which the user chooses or makes decisions between multiple options or solutions. The system needs to provide the user with sufficient information and suggestions to help the user make appropriate decisions, such as shopping choices, travel planning, etc. The system can provide users with personalized suggestions and solutions by analyzing the user's preferences, needs and constraints. The decision is that the purpose is only the final answer of the dialogue, no matter how the process asks questions until the result is finally generated. It also includes step S620, which evaluates the matching of the dialogue and the response through the dialogue classification and the user feedback scoring, and establishes a response enhancement channel based on the matching evaluation results. By analyzing the dialogue category and user feedback, the matching degree between the system response and the user demand is evaluated, and the response enhancement channel is established according to the matching evaluation results. Specifically, the matching degree between the response generated by the system and the user expectation is evaluated in combination with the dialogue classification (such as progressive dialogue classification and decision dialogue classification) and user feedback scoring. According to the matching evaluation results, the deficiencies and potential improvement points in the system response are identified, including inaccurate response content, lack of pertinence, incomplete information or unnatural expression, etc. For these problems, a response enhancement channel is established, which can be a data-driven model optimization path or a rule-based adjustment strategy. For example, for progressive dialogue classification, a deeper parsing and reasoning mechanism can be designed to generate a more accurate response; for decision dialogue classification, more options and detailed information can be provided to help users make decisions. It also includes step S630, which updates the response enhancement channel to the enhanced knowledge graph. The improvement and optimization information contained in the response enhancement channel obtained based on dialogue classification and user feedback scoring is integrated and applied to the enhanced knowledge graph to improve the performance and accuracy of the knowledge graph in the intelligent dialogue system.
[0043] In a possible implementation, step S620 further includes step S621. If the corresponding dialogue classification is a progressive dialogue classification, the continuous multi-round dialogue and the user feedback score are input into the progressive analysis network, and the progressive analysis network is used to perform sequential superposition dialogue response matching evaluation to generate a progressive reinforcement channel, and the progressive reinforcement channel is output as a response enhancement channel. Specifically, the progressive dialogue usually includes the gradual deepening and refinement of user needs, so the complete continuous multi-round dialogue content needs to be used as input. The progressive analysis network is a model specially designed for processing progressive dialogues. It performs in-depth analysis on the input multi-round dialogues, understands the progressive relationship of user needs, and evaluates the degree of matching between the system response and the user needs. Since the progressive dialogue is sequential and cumulative, the progressive analysis network will consider the contextual relationship of each round of dialogue, and how these dialogues jointly construct the complete needs of the user. Based on the evaluation results of the progressive analysis network, the system will generate a progressive reinforcement channel, which includes optimization suggestions and improvement directions for the system response in the progressive dialogue. The progressive reinforcement channel will be output as a response enhancement channel for use by the system. It also includes step S622, if the corresponding dialogue classification is a decision dialogue classification, the continuous multiple rounds of dialogue and the user feedback score are input into the decision analysis network, the decision analysis network is used to evaluate the response of the decision, a decision reinforcement channel is generated, and the decision reinforcement channel is output as a response reinforcement channel. Similar to the above-mentioned progressive dialogue classification, the decision analysis network will comprehensively evaluate the decision suggestions provided by the system based on the user's multiple rounds of dialogue and feedback scores. Based on the evaluation results of the decision analysis network, the system will generate a decision reinforcement channel, which will be output as a response reinforcement channel for use by the system. The system can adjust its decision support strategy, optimize the knowledge base or update model parameters based on the information in this channel to improve performance in the decision dialogue scenario.
[0044] In a possible implementation, step S600 further includes step S650, configuring a data update cycle, wherein the data update cycle is a dynamic update cycle based on the big data retrieval results. Configuring the data update cycle, especially when this cycle is a dynamic update cycle based on the big data retrieval results, means that the data update frequency is dynamically adjusted according to the real-time results or specific conditions of the big data retrieval. Specifically, the system will analyze factors such as data changes, trends or importance based on the results of the big data retrieval, and then dynamically adjust the data update cycle. For example, if the big data retrieval results show that a certain data set has undergone a large number of changes in a short period of time, the system may shorten the update cycle of the data set to reflect these changes more promptly; on the contrary, if the data shows that the changes are small or tend to be stable, the system may extend the update cycle to reduce system load and save resources. The configuration of the dynamic update cycle usually needs to be set according to specific application scenarios and business needs. For example, in scenarios with high real-time requirements, such as financial transactions, logistics tracking, etc., the system may need to update data more frequently to ensure the timeliness of information; while in some scenarios with less strict real-time requirements, such as long-term trend analysis, historical data query, etc., a relatively long update cycle can be set. It also includes step S660, extracting updated data according to the data update cycle, and optimizing the enhanced knowledge graph with the updated data. According to the configured data update cycle, the system will automatically perform data extraction operations within the specified time interval, including retrieving the latest and changed data from the database, data warehouse or external data source. The extracted updated data will be used to optimize the enhanced knowledge graph. The optimization process may include the system adding new entities or relationships to the knowledge graph, or updating the attribute information of existing entities and relationships; by comparing the new data with the existing data in the knowledge graph, the system can identify and eliminate possible redundant information or errors; based on the new data, the system can also optimize the graph structure of the knowledge graph, such as by adding new connection paths, merging similar entities or relationships, etc., to enhance the connectivity and expression ability of the knowledge graph; if the knowledge graph supports reasoning functions, the system can also update the reasoning rules according to the new data to improve the accuracy and efficiency of reasoning. Through the above steps, the system can continuously optimize the enhanced knowledge graph according to the latest data, so as to maintain its timeliness and accuracy, improve its performance and value in various application scenarios, and improve the efficiency of data processing and knowledge graph maintenance.
[0045] In the above, refer to Figure 1 The intelligent customer service knowledge base optimization method combined with graph theory according to an embodiment of the present invention is described in detail. Figure 2 An intelligent customer service knowledge base optimization system combined with graph theory according to an embodiment of the present invention is described.
[0046] The intelligent customer service knowledge base optimization system combined with graph theory according to the embodiment of the present invention is used to solve the technical problems that the existing customer service knowledge base is scattered, has unclear structure, and is not updated in time, which makes it difficult to find key information efficiently and accurately, thereby affecting service efficiency and quality, and realizes the systematization and structuring of the knowledge base, and achieves the technical effect of improving the accuracy and timeliness of knowledge base information retrieval. The intelligent customer service knowledge base optimization system combined with graph theory includes: a node set establishment module 10, an additional information matching module 20, a node association establishment module 30, an initial knowledge graph establishment module 40, an enhanced knowledge graph acquisition module 50, and an enhanced knowledge graph update module 60.
[0047] A node set establishment module 10, the node set establishment module 10 is used to establish digital communication with an intelligent customer service knowledge base, and extract concepts and / or entities in the intelligent customer service knowledge base to establish a node set;
[0048] An additional information matching module 20, wherein the additional information matching module 20 is used to use the node set as a matching subject, perform additional information matching of nodes in the node set through big data, and establish an additional information set;
[0049] A node association establishment module 30, wherein the node association establishment module 30 is used to use the node set as an identification subject, input the intelligent customer service knowledge base and the additional information set into a relationship analysis model, and establish node association;
[0050] An initial knowledge graph establishment module 40, wherein the initial knowledge graph establishment module 40 is used to establish an initial knowledge graph based on the node association and the node set;
[0051] An enhanced knowledge graph acquisition module 50, which is used to obtain node set access data of the intelligent customer service knowledge base, extract key nodes according to the access data, strengthen node associations of key nodes based on the access data, and update the initial knowledge graph to an enhanced knowledge graph;
[0052] The enhanced knowledge graph update module 60 is used to obtain multiple consecutive rounds of conversations with users, and record the response results of the enhanced knowledge graph and the user feedback scores, perform a general adaptive update evaluation based on the response results and the user feedback scores, and update the enhanced knowledge graph based on the update evaluation results.
[0053] The specific configuration of the enhanced knowledge graph update module 60 will be described in detail below. The enhanced knowledge graph update module 60 may further include: generating a dialogue classification based on the user feedback score and the dialogue analysis of the continuous multi-round dialogue, wherein the dialogue classification includes a progressive dialogue classification and a decision dialogue classification; performing a matching evaluation of the dialogue and the response through the dialogue classification and the user feedback score, and establishing a response enhancement channel based on the matching evaluation result; and updating the response enhancement channel to the enhanced knowledge graph.
[0054] The specific configuration of the enhanced knowledge graph update module 60 will be described in detail below. The enhanced knowledge graph update module 60 further includes: if the corresponding dialogue classification is a progressive dialogue classification, the continuous multiple rounds of dialogue and the user feedback score are input into the progressive analysis network, the progressive analysis network is used to perform sequentially superimposed dialogue response matching evaluation, a progressive reinforcement channel is generated, and the progressive reinforcement channel is output as a response enhancement channel; if the corresponding dialogue classification is a decision dialogue classification, the continuous multiple rounds of dialogue and the user feedback score are input into the decision analysis network, the decision analysis network is used to perform decision response evaluation, a decision reinforcement channel is generated, and the decision reinforcement channel is output as a response enhancement channel.
[0055] The specific configuration of the node association establishment module 30 will be described in detail below. The node association establishment module 30 may further include: extracting each node in the node set as a participant using the relationship analysis model, and configuring the initial trust weights of the intelligent customer service knowledge base and the additional information set; using the participant as an information association source, performing associated data extraction of the intelligent customer service knowledge base and the additional information set, and establishing a participant data set; performing information authentication on the participant data set based on the initial trust weight, the information authentication includes: S1: performing unique authentication of the data in the participant data set, if the unique authentication passes, then establishing the first authentication data with the unique authentication data and the corresponding initial trust weight; S2: if the unique authentication fails If the data consistency authentication passes, data consistency authentication is performed based on the multi-source data. If the data consistency authentication passes, weighted authentication superposition is performed based on the initial trust weights of the multi-source data, and second authentication data is established based on the weighted authentication superposition results; S3: If the data consistency authentication fails, an elimination instruction is generated, and the elimination instruction is used to eliminate the data with low initial trust weights, and a penalty factor is established based on the elimination result, and the initial trust weight of the retained data is penalized with the penalty factor, and a third authentication data is established based on the penalty result, and the information authentication is completed with the first authentication data, the second authentication data and the third authentication data; node association is established based on the information authentication.
[0056] The specific configuration of the node association establishment module 30 will be described in detail below. The node association establishment module 30 may further include: establishing a game association of each participant based on the information authentication, wherein the game association includes cooperative game, non-cooperative game and hostile game; establishing a game theory model with the game association, and performing equilibrium point search through the game theory model; and establishing the node association according to the equilibrium point search result.
[0057] The specific configuration of the enhanced knowledge graph acquisition module 50 will be described in detail below. The enhanced knowledge graph acquisition module 50 may further include: establishing an access frequency based on the access data, configuring a first key factor based on the access frequency; performing node importance analysis on the nodes in the node set, configuring a second key factor; and completing key node extraction through the first key factor and the second key factor.
[0058] The specific configuration of the enhanced knowledge graph acquisition module 50 will be described in detail below. The enhanced knowledge graph acquisition module 50 may further include: configuring a data update cycle, wherein the data update cycle is a dynamic update cycle based on big data retrieval results; extracting update data in the data update cycle, and optimizing the enhanced knowledge graph with the update data.
[0059] The intelligent customer service knowledge base optimization system combined with graph theory provided in the embodiment of the present invention can execute the intelligent customer service knowledge base optimization method combined with graph theory provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0060] Although the present application makes various references to certain modules in the system according to the embodiments of the present application, any number of different modules may be used and run on the user terminal and / or server, and the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0061] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. An intelligent customer service knowledge base optimization method based on graph theory, characterized in that: The method comprises: Establishing digital communication with an intelligent customer service knowledge base, and extracting concepts and / or entities in the intelligent customer service knowledge base to establish a node set; Taking the node set as the matching subject, matching the additional information of the nodes in the node set through big data to establish an additional information set; Taking the node set as the identification subject, inputting the intelligent customer service knowledge base and the additional information set into the relationship analysis model to establish node association; Establishing an initial knowledge graph based on the node association and the node set; Obtaining node set access data of the intelligent customer service knowledge base, extracting key nodes according to the access data, strengthening node associations of key nodes based on the access data, and updating the initial knowledge graph to a reinforced knowledge graph; Obtain multiple consecutive rounds of conversations with the user, and record the response results and user feedback scores of the enhanced knowledge graph, perform a common adaptation update evaluation based on the response results and user feedback scores, and update the enhanced knowledge graph based on the update evaluation results; The step of taking the node set as the identification subject, inputting the intelligent customer service knowledge base and the additional information set into the relationship analysis model, and establishing node association includes: Extracting each node in the node set as a participant using the relationship analysis model, and configuring the initial trust weights of the intelligent customer service knowledge base and the additional information set; Taking the participant as an information association source, extracting the associated data of the intelligent customer service knowledge base and the additional information set, and establishing a participant data set; Performing information authentication on the participant data set based on the initial trust weight, the information authentication comprising: S1: Perform unique authentication of the data in the participant data set. If the unique authentication is successful, the unique authentication data and the corresponding initial trust weight are used to establish the first authentication data; S2: If the unique authentication fails, data consistency authentication is performed based on the multi-source data. If the data consistency authentication passes, weighted authentication superposition is performed based on the initial trust weights of the multi-source data, and the second authentication data is established based on the weighted authentication superposition result; S3: If the data consistency authentication fails, an elimination instruction is generated, and the data with a low initial trust weight is eliminated by the elimination instruction, and a penalty factor is established according to the elimination result, and the initial trust weight of the retained data is punished by the penalty factor, and the third authentication data is established according to the penalty result, and the information authentication is completed with the first authentication data, the second authentication data and the third authentication data; A node association is established based on the information authentication.
2. The intelligent customer service knowledge base optimization method combined with graph theory as claimed in claim 1, characterized in that: The obtaining of multiple consecutive rounds of user conversations, and recording the response results of the enhanced knowledge graph and the user feedback scores, performing a common adaptation update evaluation according to the response results and the user feedback scores, and updating the enhanced knowledge graph according to the update evaluation results, includes: Generate a dialogue classification based on the user feedback score and the dialogue analysis of the continuous multiple rounds of dialogue, wherein the dialogue classification includes a progressive dialogue classification and a decision dialogue classification; Performing a matching evaluation of the dialogue and the response through the dialogue classification and the user feedback scoring, and establishing a response enhancement channel based on the matching evaluation results; The response enhancement channel is updated to the enhanced knowledge graph.
3. The intelligent customer service knowledge base optimization method combined with graph theory as claimed in claim 2, characterized in that: The matching evaluation of the dialogue and the response is performed through the dialogue classification and the user feedback scoring, and the response enhancement channel is established based on the matching evaluation result, including: If the corresponding dialogue classification is a progressive dialogue classification, multiple consecutive dialogue rounds and user feedback scores are input into a progressive analysis network, and the progressive analysis network is used to perform sequentially superimposed dialogue response matching evaluation to generate a progressive reinforcement channel, and the progressive reinforcement channel is output as a response enhancement channel; If the corresponding dialogue classification is a decision dialogue classification, multiple consecutive rounds of dialogues and the user feedback scores are input into the decision analysis network, and the decision analysis network is used to perform response evaluation of the decision, generate a decision reinforcement channel, and output the decision reinforcement channel as a response enhancement channel.
4. The method according to claim 1, characterized in that The establishing of node association according to the information authentication further includes: Establishing a game association of each participant based on the information authentication, wherein the game association includes cooperative game, non-cooperative game and hostile game; Establishing a game theory model based on the game association, and searching for equilibrium points through the game theory model; The node association is established according to the equilibrium point search result.
5. The intelligent customer service knowledge base optimization method combined with graph theory as claimed in claim 1, characterized in that: The extracting key nodes according to the access data includes: Establishing an access frequency based on the access data, and configuring a first key factor with the access frequency; Performing node importance analysis on the nodes in the node set and configuring a second key factor; Key node extraction is completed through the first key factor and the second key factor.
6. The intelligent customer service knowledge base optimization method combined with graph theory as claimed in claim 1, characterized in that: The method further comprises: Configure a data update cycle, wherein the data update cycle is a dynamic update cycle based on big data retrieval results; Update data is extracted according to the data update cycle, and the enhanced knowledge graph is optimized with the updated data.
7. The intelligent customer service knowledge base optimization system combined with graph theory is characterized by: The system is used to implement the intelligent customer service knowledge base optimization method combined with graph theory as described in any one of claims 1 to 6, and the system includes: A node set establishment module, the node set establishment module is used to establish digital communication with an intelligent customer service knowledge base, and extract concepts and / or entities in the intelligent customer service knowledge base to establish a node set; An additional information matching module, wherein the additional information matching module is used to use the node set as a matching subject, perform additional information matching of nodes in the node set through big data, and establish an additional information set; A node association establishment module, wherein the node association establishment module is used to take the node set as the identification subject, input the intelligent customer service knowledge base and the additional information set into the relationship analysis model, and establish node association; An initial knowledge graph establishment module, the initial knowledge graph establishment module is used to establish an initial knowledge graph based on the node association and the node set; An enhanced knowledge graph acquisition module, which is used to obtain node set access data of the intelligent customer service knowledge base, extract key nodes according to the access data, strengthen node associations of key nodes based on the access data, and update the initial knowledge graph to an enhanced knowledge graph; The enhanced knowledge graph update module is used to obtain multiple consecutive rounds of conversations with users, and record the response results of the enhanced knowledge graph and the user feedback scores, perform a general adaptive update evaluation based on the response results and the user feedback scores, and update the enhanced knowledge graph based on the update evaluation results.
