Intelligent customer service intention recognition method, device and system
Through the target feature extraction sub-algorithm of multiple customer service categories and the exclusion cost adjustment example service association network, the shortcomings of traditional intelligent customer service intent recognition technology in semantic context and diverse demand processing are solved, and the accuracy of intent recognition is improved. and efficiency.
Patent Information
- Application Number
- CN202311742746.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-18
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2043-12-18
AI Technical Summary
Traditional intelligent customer service intent recognition technology cannot effectively handle semantic context and diverse customer needs, resulting in low accuracy and efficiency of intent recognition, and cannot meet the complex needs of multiple customer service categories.
Use the target feature extraction sub-algorithm of multiple customer service categories to perform description knowledge mining, and adjust the example service association network through the exclusion cost to improve the matching score of compatible description knowledge, thereby enhancing the accuracy and combined prediction of the target intent recognition algorithm. ability.
It improves the accuracy and efficiency of intelligent customer service intent recognition, reduces the duplication of different target feature extraction sub-algorithms, increases the ability to complement each other, simplifies the calibration process, and improves the ability to recognize the intent of multi-customer service category dialogue texts.
Smart Images

Figure CN117556022B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of text data processing, and more specifically, to an intelligent customer service intention recognition method, device and system. Background Art
[0002] Intelligent customer service intent recognition is an automated customer service solution that uses artificial intelligence technology. It automatically recognizes the intentions expressed by customers by analyzing and understanding the interactions between customers and customer service systems. With the popularity of mobile devices and digital services, companies need to better meet customer needs and improve customer satisfaction, and intelligent customer service intent recognition has emerged. Intelligent customer service intent recognition technology aims to address the limitations of traditional keyword matching methods. Traditional methods cannot handle semantic context and diverse customer needs. To this end, more and more companies are beginning to adopt intelligent customer service intent recognition technology to improve customer satisfaction, reduce customer churn, and improve efficiency and reduce costs. The application of intelligent customer service intent recognition technology can significantly improve the efficiency and quality of customer service. The system can accurately understand customer intentions, respond to customer needs quickly, and provide personalized and accurate services. In addition, it helps companies better understand customer needs and behaviors, and provide valuable data support for product improvement and marketing. The process of this technology includes data preparation and annotation, feature extraction, intent classification algorithm training, intent classification, and result application. In the training of intent classification algorithms, due to factors such as the diversity of service types and real-time requirements for customer service, traditional neural network training cannot meet the requirements for accurate intent recognition. Summary of the invention
[0003] In view of this, the embodiments of the present disclosure at least provide a method, device and system for intelligent customer service intention recognition.
[0004] According to one aspect of an embodiment of the present disclosure, a method for intelligent customer service intention recognition is provided, which is applied to an intelligent customer service intention recognition system, and the method includes:
[0005] Retrieve the dialogue text to be identified from the target database; input the dialogue text to be identified into the target feature extraction sub-algorithms corresponding to the multiple customer service categories in the target intention recognition algorithm to perform description knowledge mining operations to obtain the target text description knowledge corresponding to each customer service category; the target intention recognition algorithm is obtained by adjusting the example service association network in the example feature extraction sub-algorithm through the rejection cost, and the rejection cost is used to indicate the matching score of the target compatible description knowledge, and the target compatible description knowledge is the compatible description knowledge output by the example service association network corresponding to any two customer service categories; determine the target text intention information corresponding to the dialogue text to be identified through the target text description knowledge corresponding to each customer service category and the target intention recognition sub-algorithm corresponding to each customer service category.
[0006] According to an example of an embodiment of the present disclosure, the calibration process of the target intention recognition algorithm includes:
[0007] Acquire a first set of example conversation texts; input the first set of example conversation texts into the example feature extraction sub-algorithms corresponding to the multiple customer service categories of the preset neural network algorithm to perform description knowledge mining operations to obtain example compatible description knowledge corresponding to each customer service category; determine the rejection cost corresponding to the target service category group through the example compatible description knowledge corresponding to the target service category group; the target service category pair is any two of the multiple customer service categories; adjust the example service association network corresponding to the target service category group through the rejection cost corresponding to the target service category group to obtain the target intent recognition algorithm.
[0008] According to an example of an embodiment of the present disclosure, the example feature extraction sub-algorithm corresponding to each customer service category includes an example linear projection network and an example description knowledge mining network, and the example description knowledge mining network includes a first saliency extraction network, a first activation network, an example service association network, and a first interaction network; the first example conversation text set is input into the example feature extraction sub-algorithms corresponding to the plurality of customer service categories of the preset neural network algorithm to perform description knowledge mining operations, and obtain the example compatible description knowledge corresponding to each customer service category, including:
[0009] Input the first set of example conversation texts into the example linear projection network corresponding to each customer service category for linear projection, and obtain the example text linear projection information corresponding to each customer service category; input the example text linear projection information corresponding to each customer service category into the first saliency extraction network corresponding to each customer service category for saliency weighting operation, and obtain the first adjustment description knowledge corresponding to each customer service category; input the first adjustment description knowledge corresponding to each customer service category and the example text linear projection information corresponding to each customer service category into the first activation network corresponding to each customer service category for nonlinear mapping, and obtain the first example description knowledge corresponding to each customer service category. ; Input the first adjustment description knowledge corresponding to each customer service category and the example text linear projection information corresponding to each customer service category into the example service association network corresponding to each customer service category for description knowledge compatibility processing to obtain the first compatible description knowledge corresponding to each customer service category; input the first example description knowledge corresponding to each customer service category, the first compatible description knowledge corresponding to each customer service category, the first adjustment description knowledge corresponding to each customer service category and the example text linear projection information corresponding to each customer service category into the first interaction network corresponding to each customer service category for description knowledge interaction to obtain the second example description knowledge corresponding to each customer service category.
[0010] According to an example of an embodiment of the present disclosure, the method further includes:
[0011] The method comprises the following steps: obtaining a first intention annotation mark corresponding to each example dialogue text in the first example dialogue text set; inputting the second example description knowledge corresponding to each customer service category into the example intention recognition sub-algorithm corresponding to each customer service category of the preset neural network algorithm for intention recognition, and obtaining a third intention prediction result corresponding to each customer service category; inputting the first example dialogue text set into the example eccentricity analysis network of the preset neural network algorithm for eccentricity coefficient analysis, and obtaining an example eccentricity coefficient corresponding to each example dialogue text in the first example dialogue text set; performing description knowledge interaction on the third intention prediction results corresponding to the multiple customer service categories respectively through the example eccentricity coefficient, and obtaining a fourth intention prediction result corresponding to each example dialogue text in the first example dialogue text set; determining a first eccentricity coefficient cost through the fourth intention prediction result and the first intention annotation mark; and adjusting the example service association network corresponding to the target service category group through the rejection cost corresponding to the target service category group to obtain the target intention recognition algorithm, including:
[0012] The target intent recognition algorithm is obtained by adjusting the example service association network corresponding to the target service category group through the rejection cost corresponding to the target service category group, and adjusting the example eccentricity analysis network through the first eccentricity coefficient cost.
[0013] According to an example of an embodiment of the present disclosure, the example feature extraction sub-algorithm corresponding to each customer service category includes an example linear projection network and an example description knowledge mining network, the example description knowledge mining network includes a second saliency extraction network, a second activation network, an example service association network and a second interaction network, and the example service association network includes a first example matching unit and a second example matching unit; the first example conversation text set is input into the example feature extraction sub-algorithms corresponding to the multiple customer service categories of the preset neural network algorithm to perform description knowledge mining operations to obtain the example compatible description knowledge corresponding to each customer service category, including:
[0014] Input the first set of example conversation texts into the example linear projection network corresponding to each customer service category for linear projection, and obtain the example text linear projection information corresponding to each customer service category; input the example text linear projection information corresponding to each customer service category into the second saliency extraction network corresponding to each customer service category for saliency weighting operation, and obtain the second adjustment description knowledge corresponding to each customer service category; input the second adjustment description knowledge corresponding to each customer service category into the first example matching unit corresponding to each customer service category for description knowledge compatibility processing, and obtain the second compatible description knowledge corresponding to each customer service category; and compare the second compatible description knowledge corresponding to each customer service category with the example text corresponding to each customer service category. The linear projection information is input into the second activation network corresponding to each customer service category for nonlinear mapping to obtain the third example description knowledge corresponding to each customer service category; the third example description knowledge corresponding to each customer service category is input into the second example matching unit corresponding to each customer service category for description knowledge compatibility processing to obtain the third compatible description knowledge corresponding to each customer service category; the third compatible description knowledge corresponding to each customer service category, the second compatible description knowledge corresponding to each customer service category and the example text linear projection information corresponding to each customer service category are input into the second interaction network corresponding to each customer service category for description knowledge interaction to obtain the fourth example description knowledge corresponding to each customer service category; the method further includes:
[0015] The method comprises the following steps: obtaining a first intention annotation mark corresponding to each example dialogue text in the first example dialogue text set; inputting the fourth example description knowledge corresponding to each customer service category into the example intention recognition sub-algorithm corresponding to each customer service category of the preset neural network algorithm for intention recognition, and obtaining a fifth intention prediction result corresponding to each customer service category; inputting the first example dialogue text set into the example eccentricity analysis network of the preset neural network algorithm for eccentricity coefficient analysis, and obtaining an example eccentricity coefficient corresponding to each example dialogue text in the first example dialogue text set; performing description knowledge interaction on the fifth intention prediction results corresponding to the multiple customer service categories respectively through the example eccentricity coefficient, and obtaining a sixth intention prediction result corresponding to each example dialogue text in the first example dialogue text set; determining a second eccentricity coefficient cost through the sixth intention prediction result and the first intention annotation mark; adjusting the example service association network corresponding to the target service category group through the rejection cost corresponding to the target service category group, and obtaining the target intention recognition algorithm, including:
[0016] The target intent recognition algorithm is obtained by adjusting the example service association network corresponding to the target service category group through the rejection cost corresponding to the target service category group, and adjusting the example eccentricity analysis network through the second eccentricity coefficient cost.
[0017] According to an example of an embodiment of the present disclosure, the method further includes:
[0018] Obtain a second set of example conversation texts and a second intention annotation mark corresponding to each example conversation text in the second set of example conversation texts; input the second set of example conversation texts into the example feature extraction sub-algorithms corresponding to the multiple customer service categories of the preset neural network algorithm to perform description knowledge mining operations, and obtain fifth example description knowledge corresponding to each customer service category; input the fifth example description knowledge corresponding to each customer service category into the example intention recognition sub-algorithm corresponding to each customer service category to perform intention recognition, and obtain a seventh intention prediction result corresponding to each customer service category; determine the service cost corresponding to each customer service category through the seventh intention prediction result corresponding to each customer service category and the second intention annotation mark; adjust the example service association network corresponding to the target service category group through the rejection cost corresponding to the target service category group to obtain the target intention recognition algorithm, including:
[0019] The target intention recognition algorithm is obtained by adjusting the example service association network corresponding to the target service category group through the rejection cost corresponding to the target service category group, and adjusting the example framework network corresponding to each customer service category of the preset neural network algorithm through the service cost corresponding to each customer service category; the example framework network corresponding to each customer service category is a network structure other than the example service association network corresponding to each customer service category in the example feature extraction sub-algorithm corresponding to each customer service category.
[0020] According to an example of an embodiment of the present disclosure, the step of determining the target text intention information corresponding to the to-be-recognized dialogue text by using the target text description knowledge corresponding to each customer service category and the target intention recognition sub-algorithm corresponding to each customer service category includes:
[0021] Inputting the target text description knowledge corresponding to each customer service category into the target intention recognition sub-algorithm corresponding to each customer service category to perform intention recognition, and obtaining the first intention estimation result corresponding to each customer service category; determining the target text intention information corresponding to the to-be-recognized dialogue text through the first intention estimation results respectively corresponding to the multiple customer service categories; the method further includes:
[0022] Inputting the to-be-recognized dialogue text into the target eccentricity analysis network in the target intent recognition algorithm to perform eccentricity coefficient analysis to obtain a target eccentricity coefficient; determining the target text intent information corresponding to the to-be-recognized dialogue text through the first intent estimation results corresponding to the multiple customer service categories, including:
[0023] The target eccentricity coefficient is used to describe knowledge interaction of the first intention prediction results corresponding to the multiple customer service categories, so as to obtain the second intention prediction result corresponding to the dialogue text to be recognized; and the target text intention information is determined through the second intention prediction result.
[0024] According to an example of an embodiment of the present disclosure, the step of inputting the dialogue text to be identified into the target feature extraction sub-algorithms corresponding to the multiple customer service categories in the target intention recognition algorithm to perform description knowledge mining operations to obtain the target text description knowledge corresponding to each customer service category includes:
[0025] Input the to-be-recognized conversation text into the target linear projection network in the target feature extraction sub-algorithm corresponding to each customer service category for linear projection, and obtain the target text linear projection information corresponding to each customer service category; input the target text linear projection information corresponding to each customer service category into the target description knowledge mining network in the target feature extraction sub-algorithm corresponding to each customer service category for extraction, and obtain the target text description knowledge corresponding to each customer service category.
[0026] According to another aspect of an embodiment of the present disclosure, there is provided an intelligent customer service intention recognition device, comprising:
[0027] A dialogue text retrieval module is used to retrieve the dialogue text to be identified from the target database; a text feature mining module is used to input the dialogue text to be identified into the target feature extraction sub-algorithms corresponding to multiple customer service categories in the target intention recognition algorithm to perform description knowledge mining operations to obtain the target text description knowledge corresponding to each customer service category; the target intention recognition algorithm is obtained by adjusting the example service association network in the example feature extraction sub-algorithm through the exclusion cost, and the exclusion cost is used to indicate the matching score of the target compatible description knowledge, and the target compatible description knowledge is the compatible description knowledge output by the example service association network corresponding to any two customer service categories; a text intention recognition module is used to determine the target text intention information corresponding to the dialogue text to be identified through the target text description knowledge corresponding to each customer service category and the target intention recognition sub-algorithm corresponding to each customer service category.
[0028] According to another aspect of an embodiment of the present disclosure, there is provided an intelligent customer service intention recognition system, including: a processor; and a memory, wherein the memory stores a computer-readable code, and when the computer-readable code is executed by the processor, the processor executes the method described above.
[0029] The beneficial effects of the present disclosure include at least the following:
[0030] The intelligent customer service intention recognition method, device and system provided by the present disclosure adopt the method of retrieving the dialogue text to be recognized from the target database, inputting the dialogue text to be recognized into the target feature extraction sub-algorithms corresponding to the multiple customer service categories in the target intention recognition algorithm to perform description knowledge mining operations, and obtaining the target text description knowledge corresponding to each customer service category. The target intention recognition algorithm is obtained by adjusting the example service association network in the example feature extraction sub-algorithm through the exclusion cost, and the exclusion cost is used to indicate the matching score between the compatible description knowledge output by the example service association network corresponding to any two customer service categories in the multiple customer service categories. Calibration is performed based on the rejection cost to reduce the duplication between target feature extraction sub-algorithms corresponding to different customer service categories, increase the ability to complement each other, minimize the connection between the output description knowledge of different target feature extraction sub-algorithms, and improve the verticality of the output description knowledge of different target feature extraction sub-algorithms, thereby increasing the combined prediction ability of each sub-algorithm. At the same time, the target intent recognition algorithm is obtained based on the calibrated example service association network, which does not require too many parameters and reduces the difficulty of calibration. Then, based on the target text description knowledge corresponding to each customer service category and the target intent recognition sub-algorithms corresponding to multiple customer service categories in the target intent recognition algorithm, the target text intent information corresponding to the dialogue text to be recognized is determined, which can improve the accuracy of the target intent recognition algorithm in intent recognition of customer service dialogue texts with multiple customer service categories.
[0031] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0033] Figure 1 It is a schematic diagram of an architecture of an application scenario provided by the present disclosure;
[0034] Figure 2 It is a flowchart of an intelligent customer service intention recognition method provided by the present disclosure;
[0035] Figure 3 It is a structural diagram of an intelligent customer service intention recognition device provided by an embodiment of the present disclosure;
[0036] Figure 4 It is a structural diagram of an intelligent customer service intention recognition system provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0037] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0038] In order to facilitate a clearer understanding of the present disclosure, the application scenarios of the present disclosure are first introduced. Figure 1 As shown, the application scenario includes an intelligent customer service intention recognition system 10 and a client cluster. The client cluster may include one or more clients, and the number of clients is not limited. Figure 1 As shown, the client cluster can specifically include client 1, client 2, ..., client n; it can be understood that client 1, client 2, client 3, ..., client n can all be connected to the intelligent customer service intention recognition system 10 through a network connection, so that each client can exchange data with the intelligent customer service intention recognition system 10 through a network connection.
[0039] It is understandable that the intelligent customer service intention recognition system 10 may refer to a device that performs intention recognition, and the intelligent customer service intention recognition system 10 may also be used to store conversation text. The intelligent customer service intention recognition system 10 may be a server or other computer device, wherein the server may be an independent physical server, or a server cluster or distributed system composed of at least two physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, Content Delivery Network (CDN), and big data and artificial intelligence platforms. The client may specifically refer to a terminal that generates customer service interaction, such as a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a screen speaker, a smart watch, etc., but is not limited thereto. Each client and server may be directly or indirectly connected by wired or wireless communication, and the number of clients and servers may be one or at least two, which is not limited in this disclosure.
[0040] For further information, see Figure 2 , is a flow chart of an intelligent customer service intention recognition method provided by an embodiment of the present disclosure. Figure 2 As shown, this method can be Figure 1 The intelligent customer service intention recognition system 10 is used to perform, wherein the intelligent customer service intention recognition method may include the following steps:
[0041] Operation S101: Retrieve the dialogue text to be recognized from the target database.
[0042] The dialogue text to be identified is the dialogue text generated by the user and the intelligent customer service through the dialogue mode, wherein the intelligent customer service is an automated system that uses chatbot technology to interact with the user through the dialogue mode to provide consultation, answer questions, handle complaints and other customer service work. These chatbots are usually based on natural language processing, machine learning and big data analysis technologies, and can understand the text or voice input by the user, and make corresponding replies and processing. Before the chatbot replies to the text input by the user, it is necessary to first identify the user's intention, such as identifying the user's needs, including but not limited to complaints, consultations, inquiries, product reservations, etc., and different needs will derive more customer service needs, such as under the complaint needs, which can include product complaints, service complaints, logistics complaints, merchant complaints, etc. In this disclosure, each customer service demand is regarded as a different customer service category, wherein, for complex and changeable customer service categories, the use of a single algorithm for intention recognition cannot achieve accurate recognition, based on this, the disclosure proposes a new integrated algorithm to realize the recognition of multiple customer service intentions. The specific architecture and adjustment process will be introduced in the subsequent embodiments.
[0043] In operation S102, the dialogue text to be recognized is input into the target feature extraction sub-algorithms corresponding to the multiple customer service categories in the target intention recognition algorithm to perform description knowledge mining operations to obtain the target text description knowledge corresponding to each customer service category.
[0044] In a feasible design, the target intent recognition algorithm is used to recognize the intent of the dialogue text to be recognized, which is obtained by adjusting the example service association network in the example feature extraction sub-algorithm through the rejection cost. Among them, the rejection cost is used to indicate the matching score (i.e., the degree of similarity) of the target compatible description knowledge. The target compatible description knowledge is the compatible description knowledge output by the example service association network corresponding to any two customer service categories among multiple customer service categories, which can describe the matching, or adaptability, of any two customer service categories. The higher the matching score between the compatible description knowledge output by the example service association network corresponding to any two customer service categories, the greater the rejection cost. The description knowledge is the information that describes the text features, which can be described in the form of vectors, matrices, tensors, etc.
[0045] In a feasible design, the target intention recognition algorithm includes target feature extraction sub-algorithms corresponding to multiple customer service categories and target intention recognition sub-algorithms corresponding to multiple customer service categories. Among them, the target feature extraction sub-algorithm corresponding to any customer service category is used to perform a description knowledge mining operation on the dialogue text to be recognized, and the target intention recognition sub-algorithm corresponding to any customer service category is used to perform intention recognition on the dialogue text to be recognized based on the target text description knowledge corresponding to any customer service category. In a feasible design, the calibration process of the above target intention recognition algorithm includes: obtaining a first set of example dialogue texts; inputting the first set of example dialogue texts into the example feature extraction sub-algorithms corresponding to multiple customer service categories of the preset neural network algorithm to perform description knowledge mining operations to obtain example compatible description knowledge corresponding to each customer service category; determining the rejection cost corresponding to the target service category group through the example compatible description knowledge corresponding to the target service category group; calibrating the example service association network corresponding to the target service category group through the rejection cost corresponding to the target service category group to obtain the target intention recognition algorithm.
[0046] In a feasible design, the first example conversation text set is used to adjust the preset neural network algorithm to complete the training of the preset neural network algorithm. The first example conversation text set includes multiple first example conversation texts, and the example conversation texts are pre-collected sample texts for training the algorithm. In a feasible design, the preset neural network algorithm is an intention recognition algorithm to be adjusted, and the preset neural network algorithm includes example feature extraction sub-algorithms corresponding to multiple customer service categories and example feature extraction sub-algorithms corresponding to multiple customer service categories. In a feasible design, the example compatible description knowledge corresponding to any customer service category is the feature information output by the example service association network corresponding to any of the above customer service categories in the preset neural network algorithm, which can describe the matching, or adaptability, of any two customer service categories. In a feasible design, based on different customer service categories, example feature extraction sub-algorithms with different composition architectures are selected. In a feasible design, the example feature extraction sub-algorithm corresponding to each customer service category includes an example linear projection network and an example description knowledge mining network. The example linear projection network is also called a low-dimensional mapping network or a text encoding network, such as Word2Vec, GloVe or Bert models; the example description knowledge mining network includes a first saliency extraction network (a neural network that extracts feature saliency, which can be implemented using an attention network), a first activation network (a neural network that performs nonlinear transformations), an example service association network (a neural network that completes customer service category adaptation) and a first interaction network (for knowledge fusion).In a feasible design, if the example description knowledge mining network includes a first saliency extraction network, a first activation network, an example service association network and a first interaction network, then the first example conversation text set is input into the example feature extraction sub-algorithms corresponding to the multiple customer service categories of the preset neural network algorithm to perform description knowledge mining operations to obtain example compatible description knowledge corresponding to each customer service category, including the following steps: inputting the first example conversation text set into the example linear projection network corresponding to each customer service category for linear projection, thereby projecting the corresponding conversation text into a low-dimensional representation domain to achieve text-to-vector conversion, and obtaining example text linear projection information corresponding to each customer service category (i.e., text description knowledge, such as text vector representation); inputting the example text linear projection information corresponding to each customer service category into the first saliency extraction network corresponding to each customer service category for saliency weighted processing (i.e., weighting according to the degree of attention), and obtaining the first adjusted description knowledge corresponding to each customer service category. identification (i.e., weighted result); input the first adjustment description knowledge corresponding to each customer service category and the linear projection information of the example text corresponding to each customer service category into the first activation network corresponding to each customer service category for nonlinear mapping (specifically, it can be a nonlinear transformation) to obtain the first example description knowledge corresponding to each customer service category; input the first adjustment description knowledge corresponding to each customer service category and the linear projection information of the example text corresponding to each customer service category into the example service association network corresponding to each customer service category for description knowledge compatibility processing to obtain the first compatible description knowledge corresponding to each customer service category; input the first example description knowledge corresponding to each customer service category, the first compatible description knowledge corresponding to each customer service category, the first adjustment description knowledge corresponding to each customer service category, and the linear projection information of the example text corresponding to each customer service category into the first interaction network corresponding to each customer service category for description knowledge interaction to obtain the second example description knowledge corresponding to each customer service category.
[0047] In a feasible design, the example linear projection network is used to perform linear projection on each first example dialogue text in the first example dialogue text set, and the example text linear projection information corresponding to any customer service category is the text linear projection information of each first example dialogue text in the first example dialogue text set under any customer service category. Optionally, the example text linear projection information corresponding to any customer service category is a description vector. In a feasible design, the first saliency extraction network corresponding to any customer service category includes a first saliency extraction component and a first normalization component, and the component is a layer structure constituting the network. In a feasible design, the first adjustment description knowledge corresponding to any customer service category is the feature of each first example dialogue text in the first example dialogue text set output by the first saliency extraction network corresponding to any customer service category, and the first adjustment description knowledge corresponding to any customer service category includes feature information of multiple first example dialogue texts in the first example dialogue text set under any of the above customer service categories. In a feasible design, the linear projection information of the example text corresponding to any first example dialogue text under any customer service category is input into the first normalization component corresponding to any of the above customer service categories for normalization operation (also called normalization), and the first normalized description knowledge corresponding to any of the above first example dialogue texts under any of the above customer service categories can be obtained. The first normalized description knowledge is input into the first saliency extraction component corresponding to any of the above customer service categories for weighting, and the first adjusted description knowledge of any of the first example dialogue texts under any of the above customer service categories is obtained.
[0048] In a feasible design, the first example description knowledge corresponding to any customer service category is the feature of each first example dialogue text in the first example dialogue text set output by the first activation network corresponding to any customer service category. The first example description knowledge corresponding to any customer service category, for example, includes the features of multiple first example dialogue texts in the first example dialogue text set under any of the above customer service categories. In a feasible design, the first activation network corresponding to any customer service category, for example, includes a second normalization component and a first knowledge processing component, wherein the first knowledge processing component includes a multi-layer perceptron. In a feasible design, the first adjustment description knowledge corresponding to any first example dialogue text under any of the above customer service categories is input into the second normalization component corresponding to any of the above customer service categories for normalization operation, and the second normalization description knowledge corresponding to any of the above first example dialogue texts under any of the above customer service categories can be obtained. The second normalization description knowledge is input into the first knowledge processing component corresponding to any of the above customer service categories for nonlinear mapping, and the first example description knowledge corresponding to any of the first example dialogue texts under any of the above customer service categories can be obtained. In a feasible design, the first compatible descriptive knowledge corresponding to any customer service category is the features of each first example conversation text in the first example conversation text set output by the example service association network corresponding to any customer service category under any customer service category. The first compatible descriptive knowledge corresponding to any customer service category, for example, includes the features corresponding to each first example conversation text in the first example conversation text set under any of the above customer service categories.
[0049] In a feasible design, the example service association network corresponding to any customer service category is used to extract features that match any of the above customer service categories. The example service association network corresponding to any customer service category includes, for example, two fully connected components and a rectified linear unit (ReLU). In a feasible design, the first compatible description knowledge K corresponding to any customer service category c The following formula is used for calculation:
[0050] Formula 1: K c =(e1f(e2G t )) t
[0051] Among them, K cIt is the first compatible description knowledge corresponding to any first example conversation text under any customer service category; e1 and e2 are the eccentricity coefficients of the fully connected components (which can be understood as weights), f() is the modified linear component operation, G is the description knowledge obtained by adding the first adjusted description knowledge corresponding to any customer service category and the linear projection information of the example text corresponding to any customer service category, and t is the transposition. In a feasible design, the second example description knowledge corresponding to any customer service category is the feature of each first example conversation text in the first example conversation text set output by the first interactive network in the example feature extraction sub-algorithm corresponding to any customer service category under any customer service category. The second example description knowledge corresponding to any customer service category, for example, includes the features corresponding to each first example conversation text in the first example conversation text set under any of the above customer service categories.
[0052] In a feasible design, the second example description knowledge corresponding to any customer service category can be calculated using the following formula 2:
[0053] Formula 2: K b =K c +K a +K i +K j
[0054] Among them, K b K is the second example description knowledge corresponding to any customer service category, c is the first compatible description knowledge corresponding to any customer service category, K a K is the first example description knowledge corresponding to any customer service category, i is the first adjustment description knowledge corresponding to any customer service category, K j Linear projection information of the example text corresponding to any customer service category. In a feasible design, the target service category pair is any two of a plurality of customer service categories, and the example compatible description knowledge corresponding to the target service category group is the compatible description knowledge output by the example service association network corresponding to the two customer service categories in the target service category pair. For example, the target service category group includes the first customer service category and the second customer service category, and the example compatible description knowledge corresponding to the target service category group includes, for example, the compatible description knowledge corresponding to the first customer service category and the compatible description knowledge corresponding to the second customer service category. In a feasible design, the rejection cost corresponding to the target service category group is used to indicate the matching score between the compatible description knowledge output by the example service association network corresponding to the above target service category group. The rejection cost corresponding to the target service category group is calculated by the following formula three:
[0055] Formula 3:
[0056] Among them, Cr is the rejection cost corresponding to the target service category group, U and Y are the example compatible description knowledge corresponding to the target service category group, q is the dimension of compatible description knowledge, and U p To be compatible with the pth element in the description knowledge U, Y p The pth element in the compatible description knowledge Y. In a feasible design, the example service association network corresponding to each two customer service categories is adjusted by the rejection cost corresponding to each two customer service categories to obtain the target intent recognition algorithm. For example, the parameters in the example service association network are adjusted by the rejection cost corresponding to the target service category group. In a feasible design, when the target intent recognition algorithm is obtained by adjustment, only the example service association network of the preset neural network algorithm is adjusted, and the parameters of other networks are fixed. After the example service association network is adjusted, the preset neural network algorithm obtained by adjustment is determined as the target intent recognition algorithm.
[0057] The above embodiments are based on the rejection cost adjustment, which can reduce the duplication between the target feature extraction sub-algorithms corresponding to different customer service categories, increase the ability to complement each other, minimize the connection between the descriptive knowledge output by different target feature extraction sub-algorithms, and increase the verticality (i.e., irrelevance) of the descriptive knowledge output by different target feature extraction sub-algorithms, thereby increasing the combined prediction ability of each sub-algorithm. At the same time, the target intent recognition algorithm is obtained based on the adjustment example service association network, which does not require too many parameters and reduces the difficulty of adjustment.
[0058] In a feasible design, the method provided by the present disclosure further includes: obtaining a first intention annotation mark corresponding to each example dialogue text in the first example dialogue text set; inputting the second example description knowledge corresponding to each customer service category into the example intention recognition sub-algorithm corresponding to each customer service category of the preset neural network algorithm for intention recognition, and obtaining a third intention prediction result corresponding to each customer service category; inputting the first example dialogue text set into the example eccentricity analysis network of the preset neural network algorithm for eccentricity coefficient analysis, and obtaining an example eccentricity coefficient corresponding to each example dialogue text in the first example dialogue text set; through the example eccentricity coefficient, performing description knowledge interaction on the third intention prediction results corresponding to multiple customer service categories respectively, and obtaining a fourth intention prediction result corresponding to each example dialogue text in the first example dialogue text set; and determining the first eccentricity coefficient cost through the fourth intention prediction result and the first intention annotation mark. Wherein, the eccentricity coefficient can be understood as the weight information of the corresponding dialogue text.
[0059] The above method of adjusting the example service association network corresponding to the target service category group by the rejection cost corresponding to the target service category group to obtain the target intent recognition algorithm includes: adjusting the example service association network corresponding to the target service category group by the rejection cost corresponding to the target service category group, and adjusting the example eccentricity parsing network by the first eccentricity coefficient cost to obtain the target intent recognition algorithm. Among them, the first intention annotation mark corresponding to any first example dialogue text is used to supervise the adjustment process of the preset neural network algorithm. In a feasible design, the example intent recognition sub-algorithm corresponding to any customer service category is used to predict the intent of the example dialogue text by the example description knowledge corresponding to any of the above customer service categories, and the example intent recognition sub-algorithm corresponding to any of the above customer service categories includes a multi-layer perceptron for intent prediction. In a feasible design, the third intent estimation result corresponding to any of the above customer service categories represents the support coefficient of each first example dialogue text in the first example dialogue text set under any of the above customer service categories belonging to multiple text intent information. The support coefficient is a variable that represents the possibility, which can be expressed by probability, confidence, support, etc. The third intention estimation result corresponding to any customer service category includes, for example, the third estimated support coefficients corresponding to a plurality of first example dialogue texts under any customer service category. For example, the third estimated support coefficient corresponding to any first example dialogue text under any customer service category represents the support coefficient of any first example dialogue text belonging to a product complaint under any customer service category.
[0060] In a feasible design, the second example description knowledge corresponding to any first example dialogue text in any customer service category is input into the example intention recognition sub-algorithm corresponding to any customer service category of the preset neural network algorithm for intention recognition, and the third intention estimation result corresponding to any first example dialogue text in any customer service category can be obtained. In a feasible design, the example eccentricity parsing network is used to learn the eccentricity coefficients (weights) corresponding to the estimation information output by different example intention recognition sub-algorithms, and the example eccentricity parsing network includes, for example, example convolution components, example fully connected components, and example classifier components connected in sequence. As can be understood from the above, the example eccentricity coefficient can reflect the importance of multiple third intent estimation results corresponding to multiple customer service categories. In a feasible design, any first example dialogue text in the first example dialogue text set is input into the example convolution component in the example eccentricity parsing network for description knowledge mining operation, and the convolution description knowledge corresponding to any of the above first example dialogue texts can be obtained. The convolution description knowledge corresponding to any of the first example dialogue texts is input into the example fully connected component in the example eccentricity parsing network for nonlinear mapping, and the transformed description knowledge corresponding to any of the first example dialogue texts can be obtained. Then, the mapped description knowledge corresponding to any of the above first example dialogue texts is input into the example classifier component in the example eccentricity parsing network to obtain the example eccentricity coefficient corresponding to any of the above first example dialogue texts. The example classifier component can be a logistic regression network.
[0061] In a feasible design, the fourth intention prediction result corresponding to any example dialogue text is used to indicate the support coefficient of the above arbitrary example dialogue text belonging to multiple text intention information. For example, the fourth intention prediction result corresponding to any example dialogue text includes the fourth estimated support coefficient corresponding to any example dialogue text; the fourth estimated support coefficient can indicate the support coefficient of the above arbitrary example dialogue text belonging to product complaints. In a feasible design, the fourth intention prediction result corresponding to any example dialogue text is γ, which can be calculated by the following formula 4:
[0062] Formula 4:
[0063] Among them, s p is the eccentricity coefficient corresponding to the pth customer service category in the example eccentricity coefficient corresponding to any example dialogue text above, μ p is the third intent estimation result corresponding to the pth customer service category of any of the above example conversation texts, and q is the number of customer service categories.
[0064] In a feasible design, the first eccentricity coefficient cost represents the error between the estimated intent recognition result corresponding to the fourth intent estimation result and the first intent annotation mark. In a feasible design, the first eccentricity coefficient cost Cf can be calculated using the following formula 5:
[0065] Formula 5:
[0066] Among them, C f is the first eccentricity coefficient cost, J(h p ) is the estimated support coefficient corresponding to the first intention annotation tag of the pth example dialogue text in the first example dialogue text set, and q is the number of example dialogue texts in the first example dialogue text set.
[0067] For example, when the first intention annotation of the pth example dialogue text is marked as service complaint, the estimated support coefficient corresponding to the first intention annotation mark is the support coefficient that the pth example dialogue text belongs to service complaint; when the first intention annotation of the pth example dialogue text is marked as product complaint, the estimated support coefficient corresponding to the first intention annotation mark is the support coefficient that the pth example dialogue text belongs to product complaint.
[0068] In a feasible design, the example service association network corresponding to the target service category group of the preset neural network algorithm is adjusted by the rejection cost corresponding to the target service category group, and the example eccentricity parsing network of the preset neural network algorithm is adjusted by the first eccentricity coefficient cost, and the preset neural network algorithm obtained after the adjustment is determined as the target intent recognition algorithm. In a feasible design, as an example feature extraction sub-algorithm, the example feature extraction sub-algorithm corresponding to each customer service category includes, for example, an example linear projection network and an example description knowledge mining network. Among them, the example description knowledge mining network includes, for example, a second saliency extraction network, a second activation network, an example service association network, and a second interaction network, and the example service association network includes, for example, a first example matching unit and a second example matching unit. In a feasible design, a first set of example conversation texts is input into an example feature extraction sub-algorithm corresponding to a plurality of customer service categories of a preset neural network algorithm to perform a description knowledge mining operation to obtain example compatible description knowledge corresponding to each customer service category, including: inputting the first set of example conversation texts into an example linear projection network corresponding to each customer service category to perform linear projection to obtain example text linear projection information corresponding to each customer service category; inputting the example text linear projection information corresponding to each customer service category into a second saliency extraction network corresponding to each customer service category to perform a saliency weighting operation to obtain second adjustment description knowledge corresponding to each customer service category; inputting the second adjustment description knowledge corresponding to each customer service category into a first example matching unit corresponding to each customer service category to perform description knowledge compatibility processing to obtain second compatible description knowledge corresponding to each customer service category; and comparing the second compatible description knowledge corresponding to each customer service category with the first example matching unit corresponding to each customer service category. The linear projection information of the sample text corresponding to each customer service category is input into the second activation network corresponding to each customer service category for nonlinear mapping to obtain the third sample description knowledge corresponding to each customer service category, and the third sample description knowledge corresponding to each customer service category is input into the second sample matching unit corresponding to each customer service category for description knowledge compatibility processing to obtain the third compatible description knowledge corresponding to each customer service category, and the third compatible description knowledge corresponding to each customer service category, the second compatible description knowledge corresponding to each customer service category and the sample text linear projection information corresponding to each customer service category are input into the second interaction network corresponding to each customer service category for description knowledge interaction. The description knowledge interaction is to fuse the corresponding knowledge carriers, such as the vectors, matrices or tensors mentioned above. The fusion method can adopt a general method. For example, when fusing vectors, addition, weighted addition or splicing are used for fusion. Based on this, the fourth sample description knowledge corresponding to each customer service category is obtained.
[0069] In a feasible design, the second adjustment description knowledge corresponding to any customer service category is the feature of each first example dialogue text in the first example dialogue text set output by the second saliency extraction network corresponding to any customer service category. The second adjustment description knowledge corresponding to any customer service category, for example, includes the features corresponding to any of the above customer service categories of multiple first example dialogue texts in the first example dialogue text set. In a feasible design, the second adjustment description knowledge corresponding to any customer service category is the feature of each first example dialogue text in the first example dialogue text set output by the second saliency extraction network corresponding to any customer service category. In a feasible design, the second saliency extraction network corresponding to any customer service category, for example, includes a third saliency extraction component and a first fully connected component. The linear projection information of the example text corresponding to any customer service category is input into the third saliency extraction component corresponding to any customer service category for weighting, and the fifth adjustment description knowledge corresponding to any of the above first example dialogue texts under any customer service category is obtained. The fifth adjustment description knowledge is input into the first fully connected component corresponding to any of the above customer service categories for processing, and the second adjustment description knowledge corresponding to any of the above first example dialogue texts under any of the above customer service categories is obtained. In a feasible design, the second compatible description knowledge corresponding to any customer service category includes, for example, features corresponding to multiple first example dialogue texts in the first example dialogue text set under any of the above customer service categories. In a feasible design, the first example matching unit corresponding to any customer service category includes, for example, two fully connected components and a corrected linear component. The method for obtaining the second compatible description knowledge corresponding to the customer service category can be directly compared with the method for obtaining the first compatible description knowledge corresponding to any of the above customer service categories.
[0070] In a feasible design, the example description knowledge mining network corresponding to each customer service category also includes a third normalization component, and the second compatible description knowledge corresponding to each customer service category and the example text linear projection information corresponding to each customer service category are input into the third normalization component corresponding to each customer service category for normalization operation, so as to obtain the third normalized description knowledge corresponding to any of the above customer service categories. The third normalized description knowledge corresponding to each of the above customer service categories is input into the second activation network corresponding to each customer service category for nonlinear mapping, so as to obtain the third example description knowledge corresponding to each customer service category. In a feasible design, the second activation network corresponding to any customer service category includes, for example, a second fully connected component and a third fully connected component. For example, the second compatible description knowledge corresponding to each customer service category and the example text linear projection information corresponding to each customer service category are input into the second fully connected component corresponding to each customer service category for perception processing (i.e., feedforward perception operation), so as to obtain the first perception description knowledge of each customer service category; the first perception description knowledge information corresponding to each customer service category is input into the third fully connected component corresponding to each customer service category for perception processing, so as to obtain the third example description knowledge corresponding to each customer service category.
[0071] In a feasible design, the second example matching unit corresponding to any customer service category includes, for example, two fully connected components and a corrected linear component. For the acquisition process of the third compatible description knowledge corresponding to any customer service category, please refer to the acquisition of the first compatible description knowledge corresponding to any of the above customer service categories. In a feasible design, the third normalized description knowledge corresponding to any customer service category and the third compatible description knowledge corresponding to any of the above customer service categories are input into the second interactive network corresponding to any of the above customer service categories for description knowledge interaction, and the fourth example description knowledge corresponding to any of the above customer service categories is obtained. In a feasible design, the example description knowledge mining network corresponding to each customer service category also includes a fourth normalization component. For example, the fourth example description knowledge corresponding to any customer service category is input into the fourth normalization component corresponding to any of the above customer service categories for normalization operation to obtain the fourth normalized description knowledge. The fourth normalized description knowledge corresponding to each customer service category is input into the example intent recognition sub-algorithm corresponding to each customer service category of the preset neural network algorithm for intent recognition, and the fifth intent estimation result corresponding to each customer service category is obtained.
[0072] In a feasible design, the rejection cost Cr corresponding to the target service category group is calculated using the following formula 6:
[0073] Formula 6: C r =C rI +C rII .
[0074] in,
[0075] U and Y are the second compatible description knowledge corresponding to the target service category group, X and Z are the third compatible description knowledge corresponding to the target service category group, q is the dimension of the compatible description knowledge, U p is the pth component in the second compatible description knowledge U, Y p is the pth component in the second compatible description knowledge Y, X p is the pth component in the third compatible description knowledge X, Z p is the pth component in the third compatible description knowledge Z. In a feasible design, the method disclosed herein further includes: obtaining a first intention annotation mark corresponding to each example dialogue text in the first example dialogue text set, inputting the fourth example description knowledge corresponding to each customer service category into the example intention recognition sub-algorithm corresponding to each customer service category of the preset neural network algorithm for intention recognition, and obtaining a fifth intention prediction result corresponding to each customer service category; inputting the first example dialogue text set into the example eccentricity parsing network of the preset neural network algorithm for eccentricity coefficient parsing, obtaining an example eccentricity coefficient corresponding to each example dialogue text in the first example dialogue text set, and performing description knowledge interaction on the fifth intention prediction results corresponding to multiple customer service categories respectively through the example eccentricity coefficient, obtaining a sixth intention prediction result corresponding to each example dialogue text in the first example dialogue text set, and determining the second eccentricity coefficient cost through the sixth intention prediction result and the first intention annotation mark.
[0076] The above method obtains a target intention recognition algorithm by calibrating the example service association network corresponding to the target service category group through the rejection cost corresponding to the target service category group, including: calibrating the example service association network corresponding to the target service category group through the rejection cost corresponding to the target service category group, and calibrating the example eccentricity parsing network through the second eccentricity coefficient cost to obtain a target intention recognition algorithm.
[0077] In a feasible design, the fifth intent prediction result corresponding to any customer service category represents the support coefficient of each first example conversation text in the set of first example conversation texts under any of the above customer service categories belonging to multiple text intent information. The fifth intent prediction result corresponding to any customer service category includes, for example, the fifth estimated support coefficients corresponding to multiple first example conversation texts under any of the above customer service categories. For example, the fifth estimated support coefficient corresponding to any first example conversation text under any customer service category represents the support coefficient of any first example conversation text belonging to product complaints under any of the above customer service categories. In a feasible design, the processing method of obtaining the fifth intent prediction result by performing intent recognition using the example intent recognition sub-algorithm corresponding to any customer service category can refer to the above processing method of obtaining the third intent prediction result by performing intent recognition based on the example intent recognition sub-algorithm corresponding to any customer service category.
[0078] In a feasible design, the sixth intention prediction result corresponding to any example dialogue text is used to represent the support coefficient of multiple text intention information corresponding to the above arbitrary example dialogue text. For example, the sixth intention prediction result corresponding to any example dialogue text includes the sixth estimated support coefficient corresponding to any example dialogue text. The above sixth estimated support coefficient represents the support coefficient of the product complaint corresponding to any example dialogue text. In a feasible design, the above processing method of obtaining the sixth intention prediction result corresponding to any example dialogue text based on description knowledge interaction can refer to the processing method of obtaining the fourth intention prediction result corresponding to any example dialogue text based on description knowledge interaction. The principle is the same and will not be introduced in detail here.
[0079] In a feasible design, the second eccentricity coefficient cost represents the difference between the estimated category corresponding to the sixth intent estimation result and the first intent annotation mark, and the acquisition of the second eccentricity coefficient cost refers to the acquisition of the first eccentricity coefficient cost above. In a feasible design, the example service association network corresponding to the target service category group of the preset neural network algorithm is calibrated by the rejection cost corresponding to the target service category group, and the example eccentricity parsing network of the preset neural network algorithm is calibrated by the second eccentricity coefficient cost, and the preset neural network algorithm obtained by the calibration is determined as the target intent recognition algorithm. In a feasible design, the method of the embodiment of the present disclosure also includes: obtaining a second example conversation text set and a second intention annotation mark corresponding to each example conversation text in the second example conversation text set, inputting the second example conversation text set into the example feature extraction sub-algorithms corresponding to multiple customer service categories of the preset neural network algorithm to perform description knowledge extraction, obtaining the fifth example description knowledge corresponding to each customer service category, inputting the fifth example description knowledge corresponding to each customer service category into the example intention recognition sub-algorithm corresponding to each customer service category to perform intent recognition, obtaining the seventh intention prediction result corresponding to each customer service category, and determining the service cost corresponding to each customer service category through the seventh intention prediction result corresponding to each customer service category and the second intention annotation mark.
[0080] The example service association network corresponding to the target service category group is adjusted by the rejection cost corresponding to the target service category group to obtain a target intention recognition algorithm, including: adjusting the example service association network corresponding to the target service category group by the rejection cost corresponding to the target service category group, and adjusting the example framework network corresponding to each customer service category of the preset neural network algorithm by the service cost corresponding to each customer service category to obtain a target intention recognition algorithm.
[0081] In a feasible design, the second example conversation text set is used to adjust the preset neural network algorithm, and the second example conversation text set includes, for example, one or more second example conversation texts. The second example conversation text set is used to adjust the example framework network corresponding to each customer service category in the preset neural network algorithm. The example framework network corresponding to any customer service category is a network structure other than the example service association network corresponding to any customer service category in the example feature extraction sub-algorithm corresponding to any of the above customer service categories. In a feasible design, the second intent annotation mark corresponding to any second example conversation text is used to provide constraint supervision for the preset neural network algorithm during calibration, and the specific content of the second intent annotation mark is not limited.
[0082] In a feasible design, the fifth example description knowledge corresponding to any customer service category is the feature of each second example dialogue text in the second example dialogue text set obtained by executing the example feature extraction sub-algorithm corresponding to any customer service category in any customer service category. The fifth example description knowledge corresponding to any customer service category, for example, includes the feature of each second example dialogue text in the second example dialogue text set in any of the above customer service categories. In a feasible design, the description knowledge extraction method of the example feature extraction sub-algorithm refers to the above description knowledge extraction. In a feasible design, the seventh intention prediction result corresponding to any customer service category represents the support coefficient of each second example dialogue text in the second example dialogue text set in any of the above customer service categories corresponding to multiple text intention information. The seventh intention prediction result corresponding to any customer service category, for example, includes the seventh estimated support coefficients corresponding to multiple second example dialogue texts under any of the above customer service categories. For example, the seventh estimated support coefficient corresponding to any second example dialogue text under any of the above customer service categories represents the support coefficient of the above any second example dialogue text corresponding to the product complaint in any of the above customer service categories.
[0083] In a feasible design, the example intent recognition sub-algorithm corresponding to any customer service category is used to perform intent recognition, and the method for obtaining the seventh intent estimation result can refer to the method for obtaining the third intent estimation result by performing intent recognition using the example intent recognition sub-algorithm corresponding to any of the above customer service categories. In a feasible design, the service cost corresponding to any customer service category represents the difference between the estimation category corresponding to the seventh intent estimation result corresponding to any customer service category and the second intent annotation mark.
[0084] In a feasible design, the service cost Cs corresponding to any customer service category can be calculated using the following formula 7:
[0085] Formula 7:
[0086] Among them, J x (h p ) is the estimated support coefficient corresponding to the second intention annotation tag of the p-th second example dialogue text under the x-th customer service category, and q is the number of example dialogue texts included in the second example dialogue text set.
[0087] For example, when the second intent annotation corresponding to the pth second example dialogue text is marked as product complaint, J x (h p ) is the support coefficient of the p-th second example dialogue text belonging to service complaint obtained through the seventh intention estimation result of the x-th customer service category. When the second intention annotation of the p-th second example dialogue text is marked as service complaint, J x(h p ) is the support coefficient of the product complaint corresponding to the above p-th second example dialogue text obtained through the seventh intention estimation result of the x-th customer service category.
[0088] In a feasible design, the example service association network corresponding to the target service category group of the preset neural network algorithm is adjusted by the rejection cost corresponding to the target service category group, and the example framework network corresponding to each customer service category of the preset neural network algorithm is adjusted by the service cost corresponding to each customer service category, so as to obtain the target intention recognition algorithm. In a feasible design, the example framework network corresponding to each customer service category of the preset neural network algorithm is adjusted by the service cost corresponding to each customer service category, and then the example service association network corresponding to the target service category group of the preset neural network algorithm is adjusted by the rejection cost corresponding to the target service category group, and the example eccentricity parsing network of the preset neural network algorithm is adjusted by the eccentricity coefficient cost, so as to obtain the target intention recognition algorithm.
[0089] In a feasible design, the target text description knowledge is the features of the above conversation text to be identified, and the target text description knowledge corresponding to any customer service category is the features obtained by extracting description knowledge through the target feature extraction sub-algorithm corresponding to any of the above customer service categories.
[0090] In a feasible design, the above operation S102 includes: inputting the dialogue text to be identified into the target feature extraction sub-algorithm corresponding to each customer service category, performing linear projection based on the target linear projection network, obtaining the target text linear projection information corresponding to each customer service category, inputting the target text linear projection information corresponding to each customer service category into the target description knowledge mining network in the target feature extraction sub-algorithm corresponding to each customer service category for extraction, and obtaining the target text description knowledge corresponding to each customer service category. In a feasible design, the target text linear projection information corresponding to any customer service category is the text linear projection information of the dialogue text to be identified under any of the above customer service categories. In a feasible design, the target linear projection network is a calibrated example linear projection network. In a feasible design, the target description knowledge mining network corresponding to each customer service category includes, for example, a third saliency extraction network, a third activation network, a target service association network, and a third interaction network.
[0091] In a feasible design, the linear projection information of the target text corresponding to each customer service category is input into the target description knowledge mining network in the target feature extraction sub-algorithm corresponding to each customer service category for extraction, and the target text description knowledge corresponding to each customer service category is obtained, including: the linear projection information of the target text corresponding to each customer service category is input into the third saliency extraction network corresponding to each customer service category for saliency weighting operation, and the third adjustment description knowledge corresponding to each customer service category is obtained, and then the linear projection information of the target text corresponding to each customer service category and the third adjustment description knowledge corresponding to each customer service category are input into the third activation network corresponding to each customer service category for nonlinear mapping, and the target text description knowledge corresponding to each customer service category is obtained. A first target description knowledge corresponding to a customer service category, inputting the target text linear projection information corresponding to each customer service category and the third adjustment description knowledge of each customer service category into the target service association network corresponding to each customer service category for description knowledge compatibility processing, obtaining the fourth compatible description knowledge corresponding to each customer service category, and inputting the fourth compatible description knowledge of each customer service category, the first target description knowledge corresponding to each customer service category, the target text linear projection information corresponding to each customer service category and the third adjustment description knowledge corresponding to each customer service category into the third interaction network corresponding to each customer service category for description knowledge interaction, obtaining the target text description knowledge corresponding to each customer service category. In a feasible design, the third saliency extraction network corresponding to each customer service category, for example, includes a fourth saliency extraction component and a fifth normalization component. In a feasible design, the above target text linear projection information is input into the fifth normalization component corresponding to any of the above customer service categories for normalization operation, and the fifth normalized description knowledge corresponding to the dialogue text to be identified in any of the above customer service categories can be obtained, and the fifth normalized description knowledge corresponding to any of the above customer service categories is input into the fourth saliency extraction component corresponding to any of the above customer service categories, completing saliency weighting, and obtaining the third adjustment description knowledge corresponding to any of the customer service categories. In a feasible design, the third activation network corresponding to any customer service category includes, for example, a sixth normalization component and a second knowledge processing component, and the second knowledge processing component includes, for example, a multi-layer perceptron. In a feasible design, the linear projection information of the target text corresponding to any customer service category and the third adjustment description knowledge corresponding to any customer service category are input into the sixth normalization component corresponding to any customer service category for normalization operation, and the sixth normalization description knowledge of the dialogue text to be recognized in any of the above customer service categories is obtained, and the sixth normalization description knowledge corresponding to any of the above customer service categories is input into the second knowledge processing component corresponding to any of the above customer service categories, and the first target description knowledge corresponding to any of the above customer service categories is obtained.
[0092] In a feasible design, for example, description knowledge interaction is first performed on the target text linear projection information corresponding to each customer service category and the third adjustment description knowledge of each customer service category to obtain the first integrated description knowledge corresponding to each customer service category, and the first integrated description knowledge of each customer service category is input into the target service association network corresponding to each customer service category to perform description knowledge compatibility processing to obtain the fourth compatible description knowledge corresponding to each customer service category, and description knowledge compatibility processing is performed based on the target service association network corresponding to any customer service category. The process of obtaining the fourth compatible description knowledge refers to the process of the first compatible description knowledge corresponding to any customer service category, and the same principle is not repeated here.
[0093] In a feasible design, the target description knowledge mining network corresponding to each customer service category includes, for example, a fourth saliency extraction network, a fourth activation network, a target service association network, and a fourth interaction network. The target service association network corresponding to each customer service category includes, for example, a first target matching unit and a second target matching unit. In a feasible design, the target text linear projection information corresponding to each customer service category is input into the target description knowledge mining network in the target feature extraction sub-algorithm corresponding to each customer service category for extraction, and the target text description knowledge corresponding to each customer service category is obtained, including: inputting the target text linear projection information corresponding to each customer service category into the fourth saliency extraction network corresponding to each customer service category for saliency weighting operation, obtaining the fourth adjustment description knowledge corresponding to each customer service category, inputting the fourth adjustment description knowledge corresponding to each customer service category into the first target matching unit corresponding to each customer service category for description knowledge compatibility processing, obtaining the fifth compatible description knowledge corresponding to each customer service category, and inputting the fifth compatible description knowledge corresponding to each customer service category into the first compatible description knowledge corresponding to each customer service category. The description knowledge and the linear projection information of the target text corresponding to each customer service category are input into the fourth activation network corresponding to each customer service category for nonlinear mapping to obtain the second target description knowledge corresponding to each customer service category, the second target description knowledge corresponding to each customer service category is input into the second target matching unit corresponding to each customer service category for description knowledge compatibility processing to obtain the sixth compatible description knowledge corresponding to each customer service category, the sixth compatible description knowledge corresponding to each customer service category, the fifth compatible description knowledge corresponding to each customer service category and the linear projection information of the target text corresponding to each customer service category are input into the fourth interaction network corresponding to each customer service category for description knowledge interaction to obtain the target text description knowledge corresponding to each customer service category.
[0094] In a feasible design, the fourth saliency extraction network corresponding to any customer service category includes, for example, a fifth saliency extraction component and a fourth fully connected component. Input the linear projection information of the target text corresponding to any customer service category into the fifth saliency extraction component corresponding to any of the above customer service categories, complete the saliency weighting, and obtain the sixth adjustment description knowledge corresponding to any of the above customer service categories. Input the sixth adjustment description knowledge corresponding to any of the above customer service categories into the fourth fully connected component corresponding to any of the above customer service categories to obtain the fourth adjustment description knowledge corresponding to any of the above customer service categories. In a feasible design, the first target matching unit corresponding to any of the above customer service categories includes, for example, two fully connected components and a corrected linear component. The method of performing description knowledge compatibility processing based on the first target matching unit corresponding to any of the customer service categories to obtain the fifth compatible description knowledge can refer to the process of the first compatible description knowledge corresponding to any of the customer service categories, and the same principle will not be repeated.
[0095] In a feasible design, the target description knowledge mining network corresponding to any customer service category also includes a seventh normalization component, such as inputting the fifth compatible description knowledge corresponding to each customer service category and the target text linear projection information corresponding to each customer service category into the seventh normalization component corresponding to each customer service category for standardization, obtaining the seventh normalized description knowledge corresponding to each customer service category, and inputting the seventh normalized description knowledge of each customer service category into the fourth activation network of each customer service category for nonlinear mapping, obtaining the second target description knowledge corresponding to each customer service category. In a feasible design, the second target matching unit corresponding to any customer service category includes, for example, two fully connected components and a corrected linear component. For example, the method of performing description knowledge compatibility processing based on the second target matching unit corresponding to any customer service category to obtain the sixth compatible description knowledge is the same as the first compatible description knowledge corresponding to any customer service category mentioned above. In a feasible design, the fourth activation network corresponding to any customer service category includes, for example, a fifth fully connected component and a sixth fully connected component. For example, the fifth compatible description knowledge corresponding to each customer service category and the target text linear projection information corresponding to each customer service category are input into the fifth fully connected component corresponding to each customer service category for perception, and the second perceived description knowledge corresponding to each customer service category is obtained. The second perceived description knowledge information corresponding to each customer service category is input into the sixth fully connected component corresponding to each customer service category for perception, and the second target description knowledge corresponding to each customer service category is obtained.
[0096] In a feasible design, the second target matching unit corresponding to any customer service category includes, for example, two fully connected components and a corrected linear component, and the acquisition of the sixth compatible description knowledge corresponding to any customer service category is similar to the acquisition of the first compatible description knowledge corresponding to any of the above customer service categories. In a feasible design, the seventh normalized description knowledge corresponding to any customer service category and the sixth compatible description knowledge corresponding to any customer service category are input into the fourth interactive network corresponding to any of the above customer service categories for description knowledge interaction, and the target text description knowledge corresponding to any of the above customer service categories is obtained. In a feasible design, the target description knowledge mining network corresponding to any customer service category also includes an eighth normalized component, for example, the seventh normalized description knowledge corresponding to any customer service category and the sixth compatible description knowledge corresponding to any customer service category are input into the fourth interactive network corresponding to any of the above customer service categories for description knowledge interaction, and the second integrated description knowledge corresponding to any of the above customer service categories is obtained. The second integrated description knowledge corresponding to any of the above customer service categories is input into the eighth normalized component corresponding to any of the above customer service categories for normalization operation, and the target text description knowledge corresponding to any of the above customer service categories can be obtained.
[0097] Operation S103: determining target text intention information corresponding to the dialogue text to be identified through target text description knowledge corresponding to each customer service category and a target intention identification sub-algorithm corresponding to each customer service category.
[0098] In a feasible design, the target text intent information represents the intent recognition category to which the dialogue text to be recognized belongs, and the target text intent information is one of the multiple text intent information. In a feasible design, the above operation S103 includes: inputting the target text description knowledge corresponding to each customer service category into the target intent recognition sub-algorithm corresponding to each customer service category for intent recognition, obtaining the first intent prediction result corresponding to each customer service category, and determining the target text intent information corresponding to the dialogue text to be recognized through the first intent prediction results corresponding to multiple customer service categories.
[0099] In a feasible design, the first intention prediction result corresponding to any customer service category indicates the support coefficient of the dialogue text to be identified belonging to multiple text intention information under any of the above customer service categories. The first intention prediction result corresponding to any customer service category, for example, includes the first estimated support coefficient corresponding to any of the above customer service categories. For example, the first estimated support coefficient corresponding to any of the above customer service categories indicates the support coefficient of the dialogue text to be identified belonging to product complaints in any of the above customer service categories. In a feasible design, the method provided by the present disclosure also includes: inputting the dialogue text to be identified into the target eccentricity parsing network in the target intention recognition algorithm to perform eccentricity coefficient parsing to obtain the target eccentricity coefficient. The above method determines the target text intention information corresponding to the dialogue text to be identified through the first intention prediction results corresponding to multiple customer service categories, including: performing description knowledge interaction on the first intention prediction results corresponding to multiple customer service categories through the target eccentricity coefficient (that is, performing eccentricity calculation on the first intention prediction results corresponding to multiple customer service categories through the eccentricity coefficient, that is, weighted summing, completing description knowledge interaction), obtaining the second intention prediction result corresponding to the dialogue text to be identified, and determining the target text intention information through the second intention prediction result. In a feasible design, the target eccentric parsing network is a calibrated eccentric parsing network, and the target eccentric parsing network includes, for example, a target convolution component, a target fully connected component, and a target classifier component connected in sequence.
[0100] In a feasible design, the target eccentricity coefficient is represented as weight information, representing the importance of each of the multiple first intent prediction results corresponding to the multiple customer service categories. In a feasible design, the method of parsing the eccentricity coefficient of the target eccentricity parsing network is the same as the method of parsing the eccentricity coefficient of the eccentricity parsing network in the above example. In a feasible design, the second intent prediction result represents the support coefficient of the dialogue text to be identified belonging to multiple text intent information, and the description knowledge interaction method of the first intent prediction result is the same as the description knowledge interaction method of the third intent prediction result. In a feasible design, the text intent information corresponding to the largest estimated support coefficient in the second intent prediction result is determined as the target text intent information.
[0101] See also Figure 3 , is a schematic diagram of the structure of an intelligent customer service intention recognition device provided by an embodiment of the present disclosure. The above-mentioned intelligent customer service intention recognition device can be a computer program (including program code) running in a network device, for example, the intelligent customer service intention recognition device is an application software; the device can be used to execute the corresponding steps of the method provided by an embodiment of the present disclosure. Figure 3 As shown, the intelligent customer service intention recognition device may include: a dialogue text retrieval module 310, a text feature mining module 320, and a text intention recognition module 330.
[0102] Among them, the dialogue text retrieval module 310 is used to retrieve the dialogue text to be identified from the target database; the text feature mining module 320 is used to input the dialogue text to be identified into the target feature extraction sub-algorithms corresponding to multiple customer service categories in the target intention recognition algorithm to perform description knowledge mining operations to obtain the target text description knowledge corresponding to each customer service category; the target intention recognition algorithm is obtained by adjusting the example service association network in the example feature extraction sub-algorithm through the rejection cost, and the rejection cost is used to indicate the matching score of the target compatible description knowledge, and the target compatible description knowledge is the compatible description knowledge output by the example service association network corresponding to any two customer service categories; the text intention recognition module 330 is used to determine the target text intention information corresponding to the dialogue text to be identified through the target text description knowledge corresponding to each customer service category and the target intention recognition sub-algorithm corresponding to each customer service category.
[0103] According to one embodiment of the present disclosure, Figure 2 The steps involved in the intelligent customer service intention recognition method shown can be Figure 3 It is executed by the various modules in the intelligent customer service intention recognition device shown.
[0104] According to one embodiment of the present disclosure, Figure 3 The various modules in the intelligent customer service intention recognition device shown can be separately or completely combined into one or several units to constitute, or one (some) of the units can be further divided into at least two functionally smaller sub-units, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present disclosure. The above modules are divided based on logical functions. In practical applications, the functions of one module can also be implemented by at least two units, or the functions of at least two modules can be implemented by one unit. In other embodiments of the present disclosure, the intelligent customer service intention recognition device may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented by the collaboration of at least two units.
[0105] According to one embodiment of the present disclosure, the program can be executed by running a program on a general-purpose computer device such as a computer including a central processing unit (CPU), a random access memory medium (RAM), a read-only memory medium (ROM), and other processing components and storage components. Figure 2 A computer program (including program code) for each step involved in the corresponding method shown in Figure 3 The intelligent customer service intention recognition device shown in and the intelligent customer service intention recognition method of the embodiment of the present disclosure are implemented. The above computer program can be recorded on, for example, a computer readable recording medium, and loaded into the above computing device through the computer readable recording medium and run therein.
[0106] See also Figure 4 , is a schematic diagram of a structure of a computer device implemented as an intelligent customer service intention recognition system provided by an embodiment of the present disclosure. Figure 4 As shown, the above-mentioned computer device 1000 may include: a processor 1001, a network interface 1004 and a memory 1005. In addition, the above-mentioned computer device 1000 may also include: a user interface 1003, and at least one communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. Among them, the user interface 1003 may include a display screen (Display), a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or it may be a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 1005 may optionally also be at least one storage device away from the aforementioned processor 1001. As Figure 4 As shown, the memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and a device control application program.
[0107] exist Figure 4 In the computer device 1000 shown in the figure, the network interface 1004 can provide a network communication function; the user interface 1003 is mainly used to provide an input interface; and the processor 1001 can be used to call the device control application stored in the memory 1005 to implement the method provided in the above embodiment. It should be understood that the computer device 1000 described in the embodiment of the present disclosure can execute the above Figure 2 The description of the intelligent customer service intention recognition method in the corresponding embodiment can also be performed as described above. Figure 3 The description of the intelligent customer service intention recognition device in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of using the same method will not be repeated here. In addition, it should be pointed out here that: the embodiment of the present disclosure also provides a computer-readable storage medium, and the above-mentioned computer-readable storage medium stores a computer program executed by the above-mentioned intelligent customer service intention recognition device, and the above-mentioned computer program includes program instructions. When the above-mentioned processor executes the above-mentioned program instructions, it can execute the above-mentioned Figure 2The description of the above-mentioned intelligent customer service intention recognition method in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of adopting the same method will not be repeated. For technical details not disclosed in the computer-readable storage medium embodiment involved in the present disclosure, please refer to the description of the method embodiment of the present disclosure. As an example, the above-mentioned program instructions may be deployed on a computer device for execution, or deployed on at least two computer devices at one location for execution, or, executed on at least two computer devices distributed at at least two locations and interconnected by a communication network, and at least two computer devices distributed at at least two locations and interconnected by a communication network may form a blockchain network.
[0108] The computer-readable storage medium may be the intelligent customer service intention recognition device provided in any of the aforementioned embodiments or the central storage unit of the computer device, such as a hard disk or a memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash card (flashcard), etc. equipped on the computer device. Further, the computer-readable storage medium may also include both the central storage unit of the computer device and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output. The terms "first", "second", etc. in the specification, claims, and drawings of the embodiments of the present disclosure are used to distinguish between different media contents, rather than to describe a specific order. In addition, the term "including" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, apparatus, product or device including a series of steps or units is not limited to the listed steps or modules, but may optionally include steps or modules not listed, or may optionally include other step units inherent to these processes, methods, apparatuses, products or devices. The present disclosure also provides a computer program product, including a computer program / instruction, which implements the above-mentioned when the computer program / instruction is executed by a processor. Figure 2The description of the above-mentioned intelligent customer service intention recognition method in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated. For technical details not disclosed in the embodiment of the computer program product involved in the present disclosure, please refer to the description of the method embodiment of the present disclosure. A person of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present disclosure.
[0109] The method and related apparatus provided by the embodiments of the present disclosure are described with reference to the method flow chart and / or structural diagram provided by the embodiments of the present disclosure. Specifically, each process and / or block in the method flow chart and / or structural diagram, as well as the combination of the processes and / or blocks in the flow chart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable network-connected device to generate a machine, so that the instructions executed by the processor of the computer or other programmable network-connected device generate instructions for implementing the process in the process. Figure 1 A process or multiple processes and / or structures Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable network-connected device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or structures Figure 1 These computer program instructions can also be loaded onto a computer or other programmable network connected device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process. Figure 1 The above disclosure is only the preferred embodiment of the present disclosure, and certainly cannot be used to limit the scope of the rights of the present disclosure. Therefore, equivalent changes made according to the claims of the present disclosure are still within the scope of the present disclosure.
Claims
1. An intelligent customer service intention recognition method, characterized in that: Applied to an intelligent customer service intention recognition system, the method includes: Retrieving the dialogue text to be recognized from the target database; The target feature extraction sub-algorithms corresponding to the multiple customer service categories in the target intention recognition algorithm are inputted with the dialogue text to be recognized to perform description knowledge mining operations, so as to obtain the target text description knowledge corresponding to each customer service category; the target intention recognition algorithm is obtained by adjusting the example service association network in the example feature extraction sub-algorithm through the rejection cost, and the rejection cost is used to indicate the matching score of the target compatible description knowledge, and the target compatible description knowledge is the compatible description knowledge output by the example service association network corresponding to any two customer service categories; wherein the example service association network is a neural network that completes the adaptation of the customer service category, and the output feature information is used to describe the matching of any two customer service categories; Determine the target text intention information corresponding to the to-be-identified dialogue text by using the target text description knowledge corresponding to each customer service category and the target intention recognition sub-algorithm corresponding to each customer service category; The calibration process of the target intention recognition algorithm includes: Obtaining a first sample conversation text set; Inputting the first example conversation text set into the example feature extraction sub-algorithms corresponding to the multiple customer service categories of the preset neural network algorithm to perform description knowledge mining operations to obtain example compatible description knowledge corresponding to each customer service category; Determine the rejection cost corresponding to the target service category group through the example compatible description knowledge corresponding to the target service category group; the target service category group is any two of the multiple customer service categories; The target intent recognition algorithm is obtained by adjusting the example service association network corresponding to the target service category group through the rejection cost corresponding to the target service category group.
2. The method according to claim 1, characterized in that The example feature extraction sub-algorithm corresponding to each customer service category includes an example linear projection network and an example description knowledge mining network, and the example description knowledge mining network includes a first saliency extraction network, a first activation network, an example service association network, and a first interaction network; the example feature extraction sub-algorithm corresponding to each of the plurality of customer service categories of the preset neural network algorithm is input into the first example conversation text set to perform description knowledge mining operations, and obtains example compatible description knowledge corresponding to each customer service category, including: Inputting the first example dialogue text set into the example linear projection network corresponding to each customer service category to perform linear projection, and obtaining example text linear projection information corresponding to each customer service category; Inputting linear projection information of the example text corresponding to each customer service category into a first saliency extraction network corresponding to each customer service category to perform a saliency weighting operation, thereby obtaining first adjustment description knowledge corresponding to each customer service category; Inputting the first adjustment description knowledge corresponding to each customer service category and the linear projection information of the example text corresponding to each customer service category into the first activation network corresponding to each customer service category for nonlinear mapping, so as to obtain the first example description knowledge corresponding to each customer service category; Inputting the first adjustment description knowledge corresponding to each customer service category and the linear projection information of the example text corresponding to each customer service category into the example service association network corresponding to each customer service category to perform description knowledge compatibility processing, so as to obtain the first compatible description knowledge corresponding to each customer service category; The first example description knowledge corresponding to each customer service category, the first compatible description knowledge corresponding to each customer service category, the first adjustment description knowledge corresponding to each customer service category, and the example text linear projection information corresponding to each customer service category are input into the first interaction network corresponding to each customer service category to perform description knowledge interaction, so as to obtain the second example description knowledge corresponding to each customer service category.
3. The method according to claim 2, characterized in that The method further comprises: Obtaining a first intention annotation mark corresponding to each example dialogue text in the first example dialogue text set; Inputting the second example description knowledge corresponding to each customer service category into the example intention recognition sub-algorithm corresponding to each customer service category of the preset neural network algorithm to perform intention recognition, and obtaining a third intention estimation result corresponding to each customer service category; Inputting the first set of example dialogue texts into the example eccentricity parsing network of the preset neural network algorithm to perform eccentricity coefficient parsing, and obtaining the example eccentricity coefficient corresponding to each example dialogue text in the first set of example dialogue texts; Performing description knowledge interaction on the third intent prediction results respectively corresponding to the multiple customer service categories by using the example eccentricity coefficient, to obtain a fourth intent prediction result corresponding to each example dialogue text in the first example dialogue text set; Determining a first eccentricity coefficient cost by using the fourth intention estimation result and the first intention annotation mark; The step of adjusting the example service association network corresponding to the target service category group by using the rejection cost corresponding to the target service category group to obtain the target intention recognition algorithm includes: The target intent recognition algorithm is obtained by adjusting the example service association network corresponding to the target service category group through the rejection cost corresponding to the target service category group, and adjusting the example eccentricity analysis network through the first eccentricity coefficient cost.
4. The method according to claim 1, characterized in that The example feature extraction sub-algorithm corresponding to each customer service category includes an example linear projection network and an example description knowledge mining network, the example description knowledge mining network includes a second saliency extraction network, a second activation network, an example service association network and a second interaction network, and the example service association network includes a first example matching unit and a second example matching unit; the example feature extraction sub-algorithm corresponding to each of the plurality of customer service categories of the preset neural network algorithm is inputted with the first example conversation text set to perform description knowledge mining operations, and obtains example compatible description knowledge corresponding to each customer service category, including: Inputting the first example dialogue text set into the example linear projection network corresponding to each customer service category to perform linear projection, and obtaining example text linear projection information corresponding to each customer service category; Inputting linear projection information of the example text corresponding to each customer service category into a second saliency extraction network corresponding to each customer service category to perform saliency weighting operation, so as to obtain second adjustment description knowledge corresponding to each customer service category; Inputting the second adjustment description knowledge corresponding to each customer service category into the first example matching unit corresponding to each customer service category to perform description knowledge compatibility processing, thereby obtaining the second compatible description knowledge corresponding to each customer service category; Inputting the second compatible description knowledge corresponding to each customer service category and the linear projection information of the example text corresponding to each customer service category into the second activation network corresponding to each customer service category for nonlinear mapping to obtain the third example description knowledge corresponding to each customer service category; Inputting the third example description knowledge corresponding to each customer service category into the second example matching unit corresponding to each customer service category to perform description knowledge compatibility processing, so as to obtain the third compatible description knowledge corresponding to each customer service category; Inputting the third compatible description knowledge corresponding to each customer service category, the second compatible description knowledge corresponding to each customer service category, and the linear projection information of the example text corresponding to each customer service category into the second interaction network corresponding to each customer service category to perform description knowledge interaction, and obtaining the fourth example description knowledge corresponding to each customer service category; The method further comprises: Obtaining a first intention annotation mark corresponding to each example dialogue text in the first example dialogue text set; Inputting the fourth example description knowledge corresponding to each customer service category into the example intention recognition sub-algorithm corresponding to each customer service category of the preset neural network algorithm to perform intention recognition, and obtaining a fifth intention estimation result corresponding to each customer service category; Inputting the first set of example dialogue texts into the example eccentricity parsing network of the preset neural network algorithm to perform eccentricity coefficient parsing, and obtaining the example eccentricity coefficient corresponding to each example dialogue text in the first set of example dialogue texts; By using the example eccentricity coefficient, describing knowledge interaction is performed on the fifth intent estimation results corresponding to the multiple customer service categories respectively, so as to obtain the sixth intent estimation result corresponding to each example dialogue text in the first example dialogue text set; Determining a second eccentricity coefficient cost by using the sixth intent estimation result and the first intent annotation mark; adjusting the example service association network corresponding to the target service category group by using the rejection cost corresponding to the target service category group to obtain the target intent recognition algorithm, including: The target intent recognition algorithm is obtained by adjusting the example service association network corresponding to the target service category group through the rejection cost corresponding to the target service category group, and adjusting the example eccentricity analysis network through the second eccentricity coefficient cost.
5. The method according to claim 1, characterized in that The method further comprises: Acquire a second example dialogue text set and a second intention annotation mark corresponding to each example dialogue text in the second example dialogue text set; Inputting the second example conversation text set into the example feature extraction sub-algorithms corresponding to the multiple customer service categories of the preset neural network algorithm to perform description knowledge mining operations to obtain fifth example description knowledge corresponding to each customer service category; Inputting the fifth example description knowledge corresponding to each customer service category into the example intent recognition sub-algorithm corresponding to each customer service category to perform intent recognition, and obtaining a seventh intent estimation result corresponding to each customer service category; Determine the service cost corresponding to each customer service category through the seventh intention estimation result corresponding to each customer service category and the second intention annotation mark; The step of adjusting the example service association network corresponding to the target service category group by using the rejection cost corresponding to the target service category group to obtain the target intention recognition algorithm includes: The target intention recognition algorithm is obtained by adjusting the example service association network corresponding to the target service category group through the rejection cost corresponding to the target service category group, and adjusting the example framework network corresponding to each customer service category of the preset neural network algorithm through the service cost corresponding to each customer service category; the example framework network corresponding to each customer service category is a network structure other than the example service association network corresponding to each customer service category in the example feature extraction sub-algorithm corresponding to each customer service category.
6. The method according to claim 1, characterized in that The determining the target text intention information corresponding to the to-be-identified dialogue text by using the target text description knowledge corresponding to each customer service category and the target intention identification sub-algorithm corresponding to each customer service category includes: Inputting the target text description knowledge corresponding to each customer service category into the target intention recognition sub-algorithm corresponding to each customer service category to perform intention recognition, and obtaining the first intention estimation result corresponding to each customer service category; Determining target text intent information corresponding to the to-be-recognized dialogue text through the first intent estimation results corresponding to the plurality of customer service categories; The method further comprises: Inputting the to-be-recognized dialogue text into the target eccentricity analysis network in the target intent recognition algorithm to perform eccentricity coefficient analysis to obtain a target eccentricity coefficient; determining the target text intent information corresponding to the to-be-recognized dialogue text through the first intent estimation results corresponding to the multiple customer service categories, including: Performing description knowledge interaction on the first intention estimation results respectively corresponding to the multiple customer service categories by using the target eccentricity coefficient, so as to obtain the second intention estimation result corresponding to the dialogue text to be recognized; The target text intention information is determined through the second intention prediction result.
7. The method according to claim 1, characterized in that The step of inputting the dialogue text to be identified into the target feature extraction sub-algorithms corresponding to the multiple customer service categories in the target intention recognition algorithm to perform description knowledge mining operations to obtain the target text description knowledge corresponding to each customer service category includes: Input the dialogue text to be recognized into the target linear projection network in the target feature extraction sub-algorithm corresponding to each customer service category for linear projection, and obtain the target text linear projection information corresponding to each customer service category; The target text linear projection information corresponding to each customer service category is input into the target description knowledge mining network in the target feature extraction sub-algorithm corresponding to each customer service category for extraction, so as to obtain the target text description knowledge corresponding to each customer service category.
8. An intelligent customer service intention recognition device, characterized in that: include: A dialogue text retrieval module is used to retrieve the dialogue text to be recognized from the target database; A text feature mining module is used to input the dialogue text to be identified into the target feature extraction sub-algorithms corresponding to the multiple customer service categories in the target intention recognition algorithm to perform description knowledge mining operations, so as to obtain the target text description knowledge corresponding to each customer service category; the target intention recognition algorithm is obtained by adjusting the example service association network in the example feature extraction sub-algorithm through the rejection cost, and the rejection cost is used to indicate the matching score of the target compatible description knowledge, and the target compatible description knowledge is the compatible description knowledge output by the example service association network corresponding to any two customer service categories; wherein the example service association network is a neural network that completes the adaptation of the customer service category, and the output feature information is used to describe the matching of any two customer service categories; The calibration process of the target intention recognition algorithm includes: Obtaining a first sample conversation text set; Inputting the first example conversation text set into the example feature extraction sub-algorithms corresponding to the multiple customer service categories of the preset neural network algorithm to perform description knowledge mining operations to obtain example compatible description knowledge corresponding to each customer service category; Determine the rejection cost corresponding to the target service category group through the example compatible description knowledge corresponding to the target service category group; the target service category group is any two of the multiple customer service categories; By using the rejection cost corresponding to the target service category group, the example service association network corresponding to the target service category group is adjusted to obtain the target intention recognition algorithm; The text intention recognition module is used to determine the target text intention information corresponding to the dialogue text to be recognized through the target text description knowledge corresponding to each customer service category and the target intention recognition sub-algorithm corresponding to each customer service category.
9. An intelligent customer service intention recognition system, characterized in that: include: processor; and a memory, wherein the memory stores a computer-readable code, and when the computer-readable code is executed by the processor, the processor executes the method according to any one of claims 1 to 7.
