User incoming call intention recognition method and device and readable storage medium

Through the method of combining sentiment analysis and multi-round question-and-answer prompt words with knowledge graph, the problem of closed and random responses in user intent recognition is solved, and accurate intention recognition and efficient intention classification in the telecom industry is achieved.

CN118899006APending Publication Date: 2024-11-05CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 0 Cites 7 Cited by

Patent Information

Application Number
CN202410917204.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

There are problems of closed and generative replies to existing large models in user intent recognition, making it difficult to achieve accurate intent recognition in the telecommunications industry, and the debugging cost is high.

Method used

By obtaining the voice and text of the conversation, conducting sentiment analysis and multi-round Q&A prompt word construction, combining knowledge graphs for intention analysis, determining the user's final intention, using emotion dictionary and keyword weighted analysis, designing multiple rounds of Q&A prompt words to improve model performance and Adaptability.

Benefits of technology

User intention recognition under zero marking or small amount marking is realized, which improves the accuracy and adaptability of the model, and solves the problem of large-scale model generation intention classification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118899006A_ABST
    Figure CN118899006A_ABST
Patent Text Reader

Abstract

The invention provides a user incoming call intention recognition method and device and a readable storage medium, and the method specifically comprises the steps: obtaining a call voice and a corresponding call text; performing emotion analysis according to the call voice to obtain user emotion tendency information; according to the call text, obtaining user intention information by constructing multiple rounds of question and answer prompt words; and determining a final intention of the user according to the user emotion tendency information and the user intention information. According to the method, the intention priority is divided by combining user emotion and communication industry user incoming call specificity on the basis of semantic understanding. Besides, specific text prompts are provided for the pre-training language model by utilizing prompt word engineering, so that the performance and adaptability of the model are improved. By designing multiple rounds of question and answer cues, the performance and accuracy of the model are improved. Besides, by constructing the user intention and behavior knowledge graph, user intention recognition under a small amount of annotation or even zero annotation is achieved, and the problem of intention classification generated by a large model is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology, and in particular to a method, device and readable storage medium for identifying the intention of a user's incoming call. Background Art

[0002] The communications industry receives a large number of user calls every day. There are a lot of business opportunities hidden in these service requests. Facing this blue ocean of business opportunities, how to accurately identify user intentions and seize service opportunities is a typical big data gold mining problem. Unstructured data such as user calls involve a lot of semantic understanding and judgment.

[0003] At present, the large model has demonstrated generalization capabilities beyond comprehension in semantic understanding.

[0004] It can achieve good generalization effect under low or even zero annotation conditions.

[0005] But the large model also has obvious defects:

[0006] (1) The big model is a closed model, and its response information is based on the knowledge system of the big model itself. The content of the user's call is directly related to the service industry and has a certain degree of professionalism;

[0007] (2) As a generative model, the big model is prone to giving random or inconsistent answers to various user questions. Due to the huge number of parameters in the big model and the high debugging cost, it is difficult to debug the big model based on specific data types such as calls from telecom users. This results in the big model being unable to perform relatively accurate intent recognition for calls from telecom users.

[0008] Therefore, how to improve the recognition effect of user's incoming call intention becomes a problem that needs to be solved. Summary of the invention

[0009] The technical problem to be solved by the present application is to provide a method, device and readable storage medium for identifying the user's incoming call intention in view of the above-mentioned deficiencies in the prior art, so as to solve the problems existing in the prior art.

[0010] In a first aspect, the present application provides a method for identifying a user's incoming call intention, the method comprising:

[0011] S1. Obtaining the call audio and the corresponding call text;

[0012] S2. Performing sentiment analysis based on the call voice to obtain user sentiment tendency information;

[0013] S3, obtaining user intention information by constructing multiple rounds of question and answer prompts according to the call text;

[0014] S4. Determine the user's final intention based on the user's emotional tendency information and the user's intention information.

[0015] In some embodiments, S2 includes:

[0016] According to the call content and call volume changes corresponding to the call voice, sentiment analysis is performed in combination with a sentiment dictionary to obtain user sentiment tendency information;

[0017] Among them, user sentiment tendency categories include positive, neutral, negative and confrontational.

[0018] In some embodiments, S3 includes:

[0019] S31, extracting content from the call text to obtain a summary text;

[0020] S32, extracting keywords according to the summary text to obtain summary keywords;

[0021] S33, constructing multiple rounds of question-answering prompt words and sentences according to the summary text and the summary keywords, and obtaining user intention information through a large model.

[0022] In some embodiments, S33 includes:

[0023] S331, constructing a multi-round question and answer prompt word sentence according to the summary text and the summary keywords, and conducting a dialogue with the multi-round question and answer prompt word sentence through a large model to obtain multi-round dialogue data;

[0024] S332, adjusting the model based on the multi-round dialogue data to obtain an adjusted large model;

[0025] S333. Obtain user intention information through the adjusted large model.

[0026] In some embodiments, it also includes:

[0027] Based on user intent information, a knowledge graph is constructed through a large model;

[0028] Intent analysis is performed through the knowledge graph to obtain user intent information.

[0029] In some embodiments, based on user intent information, a knowledge graph is constructed through a large model, including:

[0030] A knowledge graph is constructed using the users and their call intentions built using a large model, as well as basic information about users in the communications industry. The knowledge graph includes several user intention nodes, actual ordering information, user attributes, and edges connecting each entity node.

[0031] In some embodiments, the intention analysis is performed through the knowledge graph to obtain user intention information, including:

[0032] By retrieving user intentions and actual behaviors in the knowledge graph, the associated entities, attributes, and relationships of the corresponding entities are obtained, and the relationship between the user intention entities and the actual behavior entities is inferred through the relational reasoning and prediction method on graph computing as basic data.

[0033] In a second aspect, the present application provides a device for identifying a user's incoming call intention, the device comprising:

[0034] A call acquisition module, which is configured to acquire call audio and corresponding call text;

[0035] A sentiment analysis module, which is configured to perform sentiment analysis based on the call voice to obtain user sentiment tendency information;

[0036] An intention acquisition module, which is configured to acquire user intention information by constructing multiple rounds of question and answer prompt words according to the call text;

[0037] The final determination module is configured to determine the user's final intention based on the user's emotional tendency information and the user's intention information.

[0038] In a third aspect, the present application provides a device for identifying user call intentions, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to implement the method for identifying user call intentions described in the first aspect above.

[0039] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for identifying the user's incoming call intention described in the first aspect above is implemented.

[0040] The user call intention recognition method, device and readable storage medium provided by the present application specifically obtain the call voice and the corresponding call text; perform sentiment analysis based on the call voice to obtain the user's emotional tendency information; obtain the user's intention information by constructing multiple rounds of question and answer prompt words based on the call text; determine the user's final intention based on the user's emotional tendency information and the user's intention information. The present application provides a user call intention recognition method, which outputs the positive, neutral and negative emotional tendencies of the user's incoming calls by constructing a domain emotional dictionary, and constructs an antagonistic emotional tendency based on the judgment of the emotional dictionary combined with the volume change. Combined with the emotional tendency and the keyword intention, the judgment result output by the final large model is weighted and analyzed, and the priority of the intention is divided based on the semantic understanding and combined with the user's emotion and the communication industry user's call specificity. In addition, the embodiment of the present application uses the prompt word engineering to provide specific text prompts for the pre-trained language model to improve the performance and adaptability of the model. By designing multiple rounds of question and answer prompt words, instead of rigidly providing questions and answer examples, the intermediate reasoning links are gradually given, so that the model can learn the reasoning logic and thinking methods in the intermediate process. By manually specifying keywords, phrases, sentences or paragraphs as prompt words and automatically generating them according to the requirements of specific tasks, the output content of the generative model is standardized to make it closer to the specific terms of the communications industry, helping the model to better understand and infer the text in the context of user calls in the communications industry, thereby improving the performance and accuracy of the model. In addition, this application automatically associates the relationship between the user's predicted intention and the actual ordering behavior by constructing a user intention and behavior knowledge graph in a graph computing manner, thereby further providing positive examples for prediction, i.e., supervisory data, for the large model. The knowledge graph constructed at the same time can also perform semantic enhancement on the original summary text, adding the entities, attributes, and relationships associated with the key phrases to the key phrase sequence for intent recognition, so that the text information of the user's call is richer. User intent recognition with a small amount of annotation or even zero annotation is realized, solving the problem of intent classification generated by large models. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0042] Figure 1 A flowchart of a method for identifying a user's incoming call intention provided in an embodiment of the present application;

[0043] Figure 2 A schematic diagram of a sample of constructing a user intention and behavior knowledge graph provided in an embodiment of the present application;

[0044] Figure 3 A schematic diagram of the structure of a device for identifying the intention of a user's incoming call provided in an embodiment of the present application;

[0045] Figure 4 A schematic diagram of the structure of another device for identifying the user's incoming call intention provided in an embodiment of the present application.

[0046] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0047] In order to enable those skilled in the art to better understand the technical solution of the present application, the implementation mode of the present application will be further described in detail below with reference to the accompanying drawings.

[0048] It should be understood that the specific embodiments and drawings described herein are only used to explain the present application, rather than to limit the present application.

[0049] It can be understood that, in the absence of conflict, the various embodiments in the present application and the various features in the embodiments can be combined with each other.

[0050] It can be understood that, for the convenience of description, the drawings of the present application only show the parts related to the present application, while the parts unrelated to the present application are not shown in the drawings.

[0051] It can be understood that each unit and module involved in the embodiments of the present application may correspond to only one physical structure, or may be composed of multiple physical structures, or multiple units and modules may be integrated into one physical structure.

[0052] It can be understood that the terms "first", "second", etc. in the embodiments of the present application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.

[0053] It is understandable that, in the absence of conflict, the functions and steps marked in the flowcharts and block diagrams of the present application may occur in an order different from that marked in the drawings.

[0054] It is understood that the flowcharts and block diagrams of the present application illustrate the possible architectures, functions, and operations of the systems, devices, equipment, and methods according to the various embodiments of the present application. Among them, each box in the flowchart or block diagram may represent a unit, module, program segment, code, which contains executable instructions for implementing the specified functions. Moreover, each box or combination of boxes in the block diagram and flowchart may be implemented by a hardware-based system that implements the specified functions, or by a combination of hardware and computer instructions.

[0055] It can be understood that the units and modules involved in the embodiments of the present application can be implemented by software or hardware, for example, the units and modules can be located in a processor.

[0056] At present, the intent recognition methods based on large models include:

[0057] (1) For a target node of an artificial intelligence dialogue, a node prompt of the target node is obtained; the node prompt is used to identify the intent of the node prompt using an intention recognition model to obtain the user intent corresponding to the target node; wherein the node prompt of the target node is determined according to the following information: a node description of the target node, a preset intent category of the target node, a prompt template of the target domain, a dialogue sequence SOP, and a user input to the target node; or a node description of the target node, a preset intent category of the target node, the words of the previous node of the target node, a node prompt of the previous node, and a user input to the target node.

[0058] However, the above recognition method needs to collect annotated dialogue intent data through historical data, fill or update the domain prompt template based on the annotated dialogue intent data, and obtain the intention instruction training set. The intention instruction training set is used to train the preset large model. This method requires high-quality manually annotated data before application, and cannot achieve zero-annotated intent.

[0059] (2) Preset intent text and corresponding intent processing module, the preset intent processing module includes system intent and user-defined intent, the system intent is a general intent, and the user intent is a user-defined intent; the speech recognition module recognizes the user conversation content and forms a text form; the text similarity calculation module matches the text formed by the user conversation content with the preset intent text, and compares the matching result with the set matching threshold; the speech synthesis and broadcasting module synthesizes the received information into speech information through TTS and broadcasts it. By using the massive knowledge of the large model, better answers can be given to user intents that fail to match, thereby improving the intelligence of the dialogue system and the user experience.

[0060] The above recognition method requires preset intent text and corresponding intent processing module. The intent recognition part uses the calculated text similarity to match with the preset intent template. In essence, it compares the distance between the user's incoming call data and the preset intent template word vector space to judge the intent. However, the user's incoming call data is generally short and sparse after being mapped to the vector space, so the matching result is not accurate.

[0061] Based on the above problems, this application designs a method for labeling user call data under zero labeling using a large model and a knowledge graph. This method guides the large model to think by designing training data, multiple rounds of question and answer prompts, and the first prompt word in the question and answer template. At each step, the large model is asked to think about what this step should solve, and complex problems are simplified by thinking. By solving simple problems one by one, a complex problem is finally solved, thereby increasing the credibility of the question and answer results output by the large model.

[0062] On this basis, this application combines user behavior and intention to build a user knowledge graph, automatically matches the consistency of predicted intention and actual behavior through graph computing, and uses this as the historical positive example corpus of the large model and the knowledge enhancement of user call text, and supports the large model for repeated iterative training, realizing user intent recognition with a small amount of annotation or even zero annotation, and solving the problem of intent classification generated by the large model.

[0063] It should be noted that the large model in this application mainly refers to a large language model (LLM), which is usually a natural language processing model with large-scale parameters and computing power, such as OpenAI's GPT-3 model. These models can be trained with a large amount of data and parameters to generate human-like text or answer natural language questions. Large language models are widely used in natural language processing, text generation, and intelligent dialogue.

[0064] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0065] The present application provides a method for identifying the intention of a user's incoming call. The working process of the method can be implemented by an electronic device, such as a computer, a handheld smart terminal, etc. For the convenience of explanation, the embodiments of the present application are described with the method execution subject being a computer.

[0066] Figure 1 A schematic diagram of a method for identifying a user's incoming call intention provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the present application provides a method for identifying the user's incoming call intention, the method includes S1-S4, which are as follows:

[0067] S1. Obtaining the call audio and the corresponding call text;

[0068] The call voice may be obtained through recording after the user call is established, and the corresponding call text may be obtained by performing voice-to-text conversion on the call voice.

[0069] S2. Performing sentiment analysis based on the call voice to obtain user sentiment tendency information;

[0070] In some embodiments, S2 includes: performing sentiment analysis based on the call content and call volume changes corresponding to the call voice in combination with a sentiment dictionary to obtain user sentiment tendency information; wherein the user sentiment tendency categories include positive, neutral, negative and confrontational.

[0071] Specifically, by performing speech-to-text conversion on the call voice, the output content includes the user's call content, the customer's answer content, the conversation start time, the conversation end time, volume, emotional tendency and other information. The preliminary intention recognition can be performed on each conversation of the user based on expert rules.

[0072] For example, Table 1 below shows some sample data of speech-to-text conversion:

[0073]

[0074] Table 1

[0075] Among them, the emotional tendency is constructed according to the basic emotional dictionary, the extended emotional dictionary and the domain emotional dictionary, and is divided into positive, neutral, negative and confrontational according to the volume changes during the user's call and the characteristics of the user's calls in the communication industry.

[0076] Among them, positive, neutral, and negative emotional tendencies are marked on each user's conversation according to the corresponding relationship in the emotional dictionary. If the volume of the user's current conversation increases by more than the threshold A compared with the average volume of the previous conversation, or the volume variance changes by more than the set threshold and the emotional tendency of this conversation is negative, the emotional tendency of this conversation is upgraded to confrontation.

[0077] The positive, neutral, and negative emotional tendencies are marked on each conversation of the user according to the corresponding relationship in the emotional dictionary. If the volume of the user's current conversation increases by more than the threshold A compared with the average volume of the previous conversation, or the volume variance changes by more than the set threshold and the emotional tendency of the current conversation is negative, the emotional tendency of the current conversation is upgraded to confrontation.

[0078] Set the weights X1 to X4 for positive, neutral, negative, and confrontational, and calculate the frequency pj and sentiment score Mj of the intent that appears in the entire user conversation based on the user's sentiment tendency:

[0079]

[0080] M j =avg(X)

[0081] Among them, j represents the jth intention in the entire user's call, i represents the ith segment of the user's call, m represents a total of m segments of conversation belonging to the jth intention, and n represents a total of n segments of the other end's call. According to the frequency of intent, determine the top three main intentions of this conversation.

[0082] At the same time, according to the voice conversion results, data cleaning and format conversion are first performed, and the online and offline order contact phone information is associated with the outbound call number to eliminate users who have already placed an order to avoid secondary disturbances. Since the types of user call data are relatively complex and this part of the data is unlabeled data, in order to improve the accuracy of subsequent large model classification, the keyword + main intent recognition method is used to perform preliminary data screening on user call data. For example, the following Table 2 is an example of data type classification:

[0083] Data type classification Main intent recognition Keywords Target users for new broadband installations Consult broadband installation procedures broadband Broadband speed-up target users Consult broadband speed increase broadband Traffic package target users Activate traffic packages and consult traffic packages flow

[0084] Table 2

[0085] S3, obtaining user intention information by constructing multiple rounds of question and answer prompts according to the call text;

[0086] Among them, prompt words include instructions and context passed to the language model to achieve the desired task. Prompt engineering is the practice of developing and optimizing prompts for effective use of language models (LMs) in various applications. Prompt engineering is a useful skill for AI engineers and researchers to improve and effectively use language models.

[0087] In some embodiments, S3 includes:

[0088] S31, extracting content from the call text to obtain a summary text;

[0089] S32, extracting keywords according to the summary text to obtain summary keywords;

[0090] S33, constructing multiple rounds of question-answering prompt words and sentences according to the summary text and the summary keywords, and obtaining user intention information through a large model.

[0091] The user call text used in this application does not have standardized annotation data, which is essentially a zero-shot or few_shot problem for the large model. For the zero-shot problem, the same large model is used to design unique prompts for different tasks to solve different task problems. For the information extraction task, a three-round question-and-answer method is used for extraction. First, a summary text is generated. Given a summary generation task, it is required to extract the summary. Secondly, based on the identified summary, keyword extraction is performed. Finally, based on the keywords and summary content, the final intent judgment is generated, as follows:

[0092] Step 1: Summary text generation

[0093] This step mainly summarizes the content of multiple rounds of conversations between users and customer service, improves the efficiency of organizing and utilizing conversation information, and helps large models and users better understand and process the content of conversations. The step of generating summaries needs to summarize the main content of the original conversation as concisely as possible, and also needs to retain the core information of the original conversation as completely as possible. Therefore, the summary prompts in this round are only designed as question prompts, and do not standardize the answers.

[0094] In summary, the prompt words for this round of dialogue are designed as follows:

[0095] The text of the user's call is {exmpale}, which summarizes the main content of the above conversation between the customer service and the user.

[0096] {exmpale} is the incoming call text.

[0097] Step 2: Generate abstract keywords

[0098] This step extracts keywords from the generated summary. By extracting keywords, you can quickly understand the theme and core information of the text, and improve the accuracy and quality of subsequent intent recognition results. Since this step is to extract keywords from the user's call summary, and the number of words in the call summary text generally does not exceed 50, the results often contain a lot of uncontrollable content, and a lot of regular matching is required to clean the data, and the keyword output needs to be standardized. According to the basic rules and intentions of user calls in the communications industry, standardized call keywords are divided into the following categories:

[0099] ["New service", "Change service", "Speed ​​up service", "Query service", "Cancel service"]

[0100] Prompt word design:

[0101] Question: {exmpale} is ["new service", "change service", "speed up service", "query service", "cancel service"]

[0102] What category?

[0103] Answer: 'Keywords supporting intent analysis: {key}'

[0104] For example, for the sentence: "This conversation is about the customer service asking the user about broadband speed increase. The user asked about the broadband speed and whether it is possible to apply for broadband speed increase on the China Unicom app. The customer service replied that he had to go to the business hall to inquire about the specific fees and packages."

[0105] After constructing the prompt word prompt, it becomes:

[0106] "This conversation is about the customer service asking the user about broadband speed-up. The user asked about the broadband speed and whether it is possible to apply for broadband speed-up on the China Unicom app. The customer service replied that he had to go to the business hall to inquire about the specific fees and packages." What is the intent in ["New Service", "Change Service", "Speed-up Service", "Query Service", "Cancel Service"]?" "Keywords supporting intent analysis: "Speed-up Service""

[0107] Step 3: Intent Recognition

[0108] Based on the summary and keywords obtained in the previous two steps, further generate questions and final intents. The question refers to the description of the task, which requires the intent corresponding to different keywords and the prompt word template of the question.

[0109] For broadband services, the classification intent is:

[0110] ["Broadband speed increase","Broadband new installation","Others","Cancel service"]

[0111] Prompt word design:

[0112] Question: "Now you are an intent recognizer. You need to classify the sentence I give you into the intents ["Broadband speed increase", "Broadband new installation", "Other", "Cancel service"] as required."

[0113] Answer: 'Okay.'

[0114] Question: Based on the keywords that support intent analysis: {key}, determine what intent "{exmpale}" has in ["broadband speed increase", "broadband new installation", "others", "cancel service"]?

[0115] In some embodiments, S33 includes:

[0116] S331, constructing a multi-round question and answer prompt word sentence according to the summary text and the summary keywords, and conducting a dialogue with the multi-round question and answer prompt word sentence through a large model to obtain multi-round dialogue data;

[0117] S332, adjusting the model based on the multi-round dialogue data to obtain an adjusted large model;

[0118] S333. Obtain user intention information through the adjusted large model.

[0119] S4. Determine the user's final intention based on the user's emotional tendency information and the user's intention information.

[0120] Specifically, model reasoning is to use the big model and the designed prompt words to identify the user's incoming text intent. In the case of zero annotation, the answers of the generative model are often divergent. In order to improve the accuracy of big model reasoning and make the model output closer to production needs, the model is fine-tuned using multi-round conversation data, that is, chat history is provided and the learning context is spliced. Some actual examples of correct extraction are given as follows:

[0121] Question: "You are an intent recognizer. You need to classify the sentence I give you into the following intents: ["Broadband speed increase", "Broadband new installation", "Other", "Cancel service"] as required.

[0122] A: 'Okay.'

[0123] Q: Based on the keyword "apply for broadband" that supports intent analysis, what is the intent of ["Broadband speed increase", "New broadband installation", "Others", "Cancel service"] for "This conversation is about the user asking whether they can apply for broadband in another house and inquiring about the cost"?

[0124] Answer: 'Broadband New Installation'

[0125] Question: Based on the keyword "broadband renewal" that supports intent analysis, what is the intent of "this conversation is between China Unicom customer service and the user discussing broadband renewal issues" among ["broadband speed increase", "broadband new installation", "others", "cancel service"]?

[0126] Answer: 'Broadband New Installation'

[0127] Q: Based on the keywords supporting intent analysis: "Cancel broadband speed-up package; refund application", what is the intent of ["Broadband speed-up", "Broadband new installation", "Others", "Cancel service"] when judging "The main content of this conversation between customer service and the user is that the user asks whether a broadband speed-up package can be canceled"?

[0128] Answer: 'Cancel the business'

[0129] In this application, according to the prompt words and historical records, the large model is guided to identify the user's incoming call intention and output the classification probability p of the corresponding intention j ′ Combined with the rule intention recognition results of the user cleaning stage combined with the user's emotional tendency, the final intention judgment probability is:

[0130] P j =M j (αp j ′ +βp j )

[0131] Among them, α and β are weight parameters, and the intention with the highest probability is the intention of this paragraph.

[0132] In some embodiments, it also includes: building a knowledge graph through a large model based on user intention information; performing intent analysis through the knowledge graph to obtain user intention information.

[0133] Among them, Knowledge Graph is an important branch technology of artificial intelligence. Its basic components are the "entity-relationship-entity" triples, as well as entities and their related attribute-value pairs. Entities are connected to each other through relationships to form a network knowledge structure.

[0134] In some embodiments, a knowledge graph is constructed based on user intention information through a big model, including: using the big model to construct a knowledge graph based on users and user call intentions, and basic information of users in the communications industry, wherein the knowledge graph includes several user intention nodes, actual ordering information, user attributes, and edges connecting each entity node.

[0135] In some embodiments, intent analysis is performed through a knowledge graph to obtain user intent information, including: retrieving user intent and actual behavior in the knowledge graph, obtaining associated entities, attributes, and relationships of the corresponding entities, and using relational reasoning and prediction methods on graph computing as basic data to infer the relationship between user intent entities and actual behavior entities.

[0136] This step builds a user intention and behavior knowledge graph to associate the relationship between the user's predicted intention and actual ordering behavior, thereby further providing prediction positive examples for the large model and improving the accuracy of user intention recognition. The specific steps are as follows

[0137] 1) Build a knowledge graph

[0138] With the help of the rich semantic understanding ability of the big model, user intent recognition can be achieved with a small amount of data standards. The calls from customer service line users are nothing more than four categories: inquiry, processing, cancellation, and change of services. Combined with the user's subsequent actual ordering behavior, it can be used as a true verification result of user intent recognition. The knowledge graph is constructed manually or automatically using the data of users and user call intentions, basic information of users in the communications industry, etc. constructed by the big model. The knowledge graph includes several user intent nodes, actual ordering information, user attributes, and edges connecting each entity node. For example, Figure 2 A schematic diagram of an example of constructing a user intention and behavior knowledge graph provided in an embodiment of the present application.

[0139] 2) Knowledge Enhancement

[0140] By retrieving user intentions and actual behaviors in the knowledge graph, we can obtain the associated entities, attributes, and relationships of the corresponding entities, and use them as basic data to infer the relationship between two entities through the relationship reasoning and prediction method based on graph computing. For example, a two-layer GCN network is used to embed the intention entity G1 and the behavior entity G2 into a unified vector space.

[0141] Among them, GCN: Graph Convolutional Neural Network, in fact, has the same function as CNN, that is, a feature extractor, except that its object is graph structure data. GCN cleverly designed a method to extract features from graph data, so that we can use these features to perform node classification, graph classification, and link prediction on graph data, and also get graph embedding.

[0142] In this application, G1 and G2 contain information such as associated entities, time and location attributes of user intentions and actual behaviors.

[0143]

[0144] Among them, H (l+1) are the embeddings of the entity, W (l) is its corresponding weight, is the adjacency matrix with self-connection, H (l) Characteristics of nodes representing network graphs;

[0145] The model output corresponds to the final normalized features of the entity:

[0146]

[0147] Among them, W 0 Represents the learnable weight parameters of the first GCN layer, W 1 Represents the learnable weight parameters of the second GCN layer, and finally calculates the similarity between two entities:

[0148] d(G1,G2)=‖Y(G1)-Y(G2)‖ L1

[0149] If d is set to be less than a certain threshold such as 0.2, the intent and behavior match, thus further providing positive examples for prediction, i.e., supervision data, for the large model. At the same time, based on the intent recognition results of the large model, the original summary text is semantically enhanced, and the entities, attributes, and relationships associated with the key phrases are added to the key phrase sequence of intent recognition, making the text information of the user's call richer.

[0150] This application provides a method for identifying the intention of user calls, which outputs the positive, neutral, and negative emotional tendencies of user calls by constructing a domain sentiment dictionary, and constructs an adversarial emotional tendency based on the judgment of the sentiment dictionary and the volume change. Combined with the emotional tendency and keyword intention, the judgment results output by the final large model are weighted and analyzed, and the intentions are prioritized based on semantic understanding, combined with user emotions and user call specificity in the communication industry.

[0151] In addition, the embodiments of the present application use prompt engineering to provide specific text prompts for the pre-trained language model to improve the performance and adaptability of the model. By designing multiple rounds of question and answer prompts, instead of rigidly providing question and answer examples, the intermediate reasoning links are gradually given, allowing the model to learn the reasoning logic and thinking methods in the intermediate process. By manually specifying and automatically generating keywords, phrases, sentences or paragraphs according to the requirements of specific tasks as prompts, the output content of the generative model is standardized to make it closer to the specific terms of the communications industry, helping the model to better understand and infer the text in the context of user calls in the communications industry, thereby improving model performance and accuracy.

[0152] In addition, this application constructs a user intention and behavior knowledge graph to automatically associate the relationship between the user's predicted intention and the actual ordering behavior in a graph computing manner, thereby further providing positive examples for prediction, i.e., supervisory data, for the large model. The knowledge graph constructed at the same time can also perform semantic enhancement on the original summary text, adding entities, attributes, and relationships associated with key phrases to the key phrase sequence for intent recognition, making the text information of the user's call richer. This enables user intent recognition with a small amount of annotation or even zero annotation, solving the problem of intent classification generated by large models.

[0153] It should be understood that, although the various steps in the flowcharts in the above-described embodiments are sequentially displayed according to the indications of the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and they can be executed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily to be carried out sequentially, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0154] Figure 3 A schematic diagram of a device for identifying a user's incoming call intention provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, the present application provides a device for identifying the user's incoming call intention, the device comprising:

[0155] A call acquisition module 11, which is configured to acquire call audio and corresponding call text;

[0156] The emotion analysis module 12 is configured to perform emotion analysis based on the call voice to obtain user emotion tendency information;

[0157] An intention acquisition module 13, which is configured to acquire user intention information by constructing multiple rounds of question and answer prompt words according to the call text;

[0158] The final determination module 14 is configured to determine the user's final intention based on the user's emotional tendency information and the user's intention information.

[0159] Regarding the limitation of the device for identifying the user's incoming call intention, reference may be made to the limitation of the method for identifying the user's incoming call intention in the above-mentioned embodiments of the present application, which will not be elaborated in this embodiment.

[0160] Figure 4 Another schematic diagram of the device for identifying the user's incoming call intention provided by the embodiment of the present application is as follows Figure 4 As shown, in some embodiments, the present application provides a device for identifying user call intentions, including a memory 22 and a processor 21, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the method for identifying user call intentions in the above-mentioned embodiments of the present application.

[0161] The memory is connected to the processor, the memory may be a flash memory or a read-only memory or other memory, and the processor may be a central processing unit or a single-chip microcomputer.

[0162] In some embodiments, the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for identifying the user's incoming call intention in the above-mentioned embodiments of the present application is implemented.

[0163] The computer-readable storage medium includes volatile or non-volatile, removable or non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, computer program modules or other data). Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable read only memory), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory), digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer.

[0164] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present application, but the present application is not limited thereto. For those skilled in the art, various modifications and improvements can be made without departing from the spirit and substance of the present application, and these modifications and improvements are also considered to be within the scope of protection of the present application.

Claims

1. A method for identifying user's incoming call intention, characterized in that: The method comprises: S1. Obtaining the call audio and the corresponding call text; S2. Performing sentiment analysis based on the call voice to obtain user sentiment tendency information; S3, obtaining user intention information by constructing multiple rounds of question and answer prompts according to the call text; S4. Determine the user's final intention based on the user's emotional tendency information and the user's intention information.

2. The method for identifying the user's incoming call intention according to claim 1, characterized in that: S2, including: According to the call content and call volume changes corresponding to the call voice, sentiment analysis is performed in combination with a sentiment dictionary to obtain user sentiment tendency information; Among them, user sentiment tendency categories include positive, neutral, negative and confrontational.

3. The method for identifying the user's incoming call intention according to claim 1, characterized in that: S3, including: S31, extracting content from the call text to obtain a summary text; S32, extracting keywords according to the summary text to obtain summary keywords; S33, constructing multiple rounds of question-answering prompt words and sentences according to the summary text and the summary keywords, and obtaining user intention information through a large model.

4. The method for identifying the user's incoming call intention according to claim 3, characterized in that: S33, including: S331, constructing a multi-round question and answer prompt word sentence according to the summary text and the summary keywords, and conducting a dialogue with the multi-round question and answer prompt word sentence through a large model to obtain multi-round dialogue data; S332, adjusting the model based on the multi-round dialogue data to obtain an adjusted large model; S333. Obtain user intention information through the adjusted large model.

5. The method for identifying the user's incoming call intention according to claim 4, characterized in that: Also includes: Based on user intent information, a knowledge graph is constructed through a large model; Intent analysis is performed through the knowledge graph to obtain user intent information.

6. The method for identifying the user's incoming call intention according to claim 5, characterized in that: Based on user intent information, a knowledge graph is constructed through a large model, including: A knowledge graph is constructed using the users and their call intentions built using a large model, as well as basic information about users in the communications industry. The knowledge graph includes several user intention nodes, actual ordering information, user attributes, and edges connecting each entity node.

7. The method for identifying the user's incoming call intention according to claim 5, characterized in that: Through the knowledge graph, we can analyze the user's intention and obtain the following information: By retrieving user intentions and actual behaviors in the knowledge graph, the associated entities, attributes, and relationships of the corresponding entities are obtained, and the relationship between the user intention entities and the actual behavior entities is inferred through the relational reasoning and prediction method based on graph computing as basic data.

8. A device for identifying user's incoming call intention, characterized in that: The device comprises: A call acquisition module, which is configured to acquire call audio and corresponding call text; A sentiment analysis module, which is configured to perform sentiment analysis based on the call voice to obtain user sentiment tendency information; An intention acquisition module, which is configured to acquire user intention information by constructing multiple rounds of question and answer prompt words according to the call text; The final determination module is configured to determine the user's final intention based on the user's emotional tendency information and the user's intention information.

9. A device for identifying user's incoming call intention, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to implement the method for identifying the user's incoming call intention as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for identifying the user's incoming call intention according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Online reasoning method, device and equipment for constructing knowledge graph based on large model

    CN119358685A

  • Dynamic intention understanding method based on multi-modal fusion

    CN120579009A

  • A dynamic intention understanding method based on multi-modal fusion

    CN120579009B

  • Prompt word optimization method and device, electronic equipment, storage medium and product

    CN121029941A

  • Vehicle diagnosis guiding method based on AI large model and related device

    CN121325812A