CA3176868A1 - Intent identifying method and device for application to intelligent customer service robot - Google Patents

Intent identifying method and device for application to intelligent customer service robot

Info

Publication number
CA3176868A1
CA3176868A1 CA3176868A CA3176868A CA3176868A1 CA 3176868 A1 CA3176868 A1 CA 3176868A1 CA 3176868 A CA3176868 A CA 3176868A CA 3176868 A CA3176868 A CA 3176868A CA 3176868 A1 CA3176868 A1 CA 3176868A1
Authority
CA
Canada
Prior art keywords
intent
text
dialogue text
plural
term
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CA3176868A
Other languages
French (fr)
Inventor
Yiping TANG
Xuefei GONG
Bin Zhou
Baisheng DU
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
10353744 Canada Ltd
Original Assignee
10353744 Canada Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 10353744 Canada Ltd filed Critical 10353744 Canada Ltd
Publication of CA3176868A1 publication Critical patent/CA3176868A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • G06F16/3344Query execution using natural language analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking

Abstract

An intention recognition method and device for an intelligent customer service robot, relating to the technical field of artificial intelligence. The method comprises: S0, obtaining conversation text of a user; S2, determining whether the conversation text comprises an intention, if yes, executing step S4, if not, ending processing, and if it unable to determine whether the conversation text comprises an intention, executing step S3; S3, performing context expansion on the conversation text, and after step S3, executing step S4; S4, recognizing a named entity set in the conversation text, and determining intention knowledge points associated with the named entity set; S5, representing the conversation text by using a distributed word vector, and performing prediction by using a plurality of pre-trained semantic classification models to obtain a plurality of pieces of semantic information; and S6, combining and optimizing the intention knowledge points and the plurality of pieces of semantic information by using an Ensemble framework to obtain the intention of the user. According to the method and device, an intelligent customer service robot can quickly and accurately recognize the intention of a user, thereby providing guarantee for the robot to accurately answer the user's question.

Description

INTENT IDENTIFYING METHOD AND DEVICE FOR APPLICATION TO
INTELLIGENT CUSTOMER SERVICE ROBOT
BACKGROUND OF THE INVENTION
Technical Field [0001] The present invention relates to the field of artificial intelligence technology, and more particularly to an intent identifying method for application to an intelligent customer service robot, and a corresponding device.
Description of Related Art
[0002] With the rapid development of businesses, artificial intelligence technology has been progressing by leaps and bounds, and the advent of customer service robots effectively shares the workload of human customer service, economizes on personnel cost of enterprises, breaks restrictions in time, manpower, and regionalization, supplies uninterrupted consultation services for 24 hours a day and seven days a week, and alleviates pain points of human customer service. Customer service robots can accept various questions raised by users, and one of the keys bestowing highly effective availability to a customer service robot is whether it can judge out the true intent of a user according to information provided by the user.
[0003] An extremely rapid development of customer service robots has been seen over the recent years notwithstanding, since user-interactive data is involved therein, higher sensitivity is present, and there are very few texts with intents in all the dialogue texts, so the traditional intent identification work is faced with many such challenges as the chat texts are semantically understood not much deeply, and it is impossible to quickly and accurately comprehend the user intent in a shorter dialogue text with the user.

Date Regue/Date Received 2022-09-23
[0004] Accordingly, it is a problem to be urgently dealt with as how to ensure that the intelligent customer service robot quickly and accurately comprehends the user intent, so as to quickly and precisely answer questions raised by the user.
SUMMARY OF THE INVENTION
[0005] In view of the above, embodiments of the present invention provide an intent identifying method for application to an intelligent customer service robot, and a corresponding device, to realize quick and accurate recognition of user intent by the intelligent customer service robot, and to supply guarantee for the robot to accurately answer questions raised by the user.
[0006] Technical solutions provided by the embodiments of the present invention are as follows.
[0007] According to the first aspect, there is provided an intent identifying method for application to an intelligent customer service robot, and the method comprises the following steps:
[0008] SO ¨ obtaining a dialogue text of a user;
[0009] S2 ¨ judging whether the dialogue text contains any intent, if yes, executing step S4, if not, terminating the process, if impossible to judge, executing step S3;
[0010] S3 ¨ contextually expanding the dialogue text, and executing step S4 after step S3;
[0011] S4 ¨ identifying a named entity set in the dialogue text, and determining any intent knowledge point associated with the named entity set;
[0012] S5 ¨ expressing the dialogue text in distributed word vectors, and employing plural pre-trained semantically classifying models for prediction to obtain plural pieces of semantic information; and
[0013] S6 ¨ employing an Ensemble framework to merge and tune the intent knowledge point and the plural pieces of semantic information, and obtaining a user intent.

Date Regue/Date Received 2022-09-23
[0014] Moreover, prior to step S2, the method further comprises the following step:
[0015] Si ¨ performing text rectification on the dialogue text.
[0016] Further, step Si specifically includes:
[0017] term-segmenting the dialogue text, and identifying any erroneous segmented term in the dialogue text;
[0018] obtaining a rectifying term to which the erroneous segmented term corresponds; and
[0019] replacing the erroneous segmented term in the dialogue text with the rectifying term.
[0020] Further, step S3 specifically includes:
[0021] storing user conversation information with one session as a unit;
[0022] associating with contextual information of the dialogue text, and judging whether the user intent is changed, wherein the contextual information includes an intent identifying result of context of the dialogue text; and
[0023] employing a near-synonym of the context to expand the dialogue text when the user intent is not changed.
[0024] Further, step S4 specifically includes:
[0025] performing a term-segmenting process on the dialogue text according to a preset dictionary, and obtaining plural segmented terms;
[0026] matching the plural segmented terms with a preset entity lexicon, and obtaining the named entity set; and
[0027] determining an intent knowledge point relevant to the named entity set from a preset knowledge base.
[0028] Further, step S5 specifically includes:
[0029] performing a term-segmenting process on the dialogue text, and obtaining plural segmented terms;

Date Regue/Date Received 2022-09-23
[0030] calculating word vectors of the plural segmented terms, and expressing the word vectors of the plural segmented terms in distribution; and
[0031] inputting the word vectors of the plural segmented terms expressed in distribution to the plural semantically classifying models to output the plural pieces of semantic information.
[0032] Further, step S6 specifically includes:
[0033] determining a final user intent through the Ensemble framework according to the intent knowledge point, the plural pieces of semantic information, and preset weights to which the plural pieces of semantic information respectively correspond.
[0034] According to the second aspect, there is provided an intent identifying device for application to an intelligent customer service robot, and the device comprises:
[0035] a text obtaining module, for obtaining a dialogue text of a user;
[0036] an intent judging module, for judging whether the dialogue text contains any intent, if yes, executing a process of an entity matching module, if not, terminating the process, if impossible to judge, executing a process of a text expanding module;
[0037] the text expanding module, for contextually expanding the dialogue text, and executing the process of the entity matching module with respect to the expanded dialogue text;
[0038] the entity matching module, for identifying a named entity set in the dialogue text, and determining any intent knowledge point associated with the named entity set;
[0039] a semantically predicting module, for expressing the dialogue text in distributed word vectors, and employing plural pre-trained semantically classifying models for prediction to obtain plural pieces of semantic information; and
[0040] a merging and tuning module, for employing an Ensemble framework to merge and tune the intent knowledge point and the plural pieces of semantic information, and obtaining a user intent.
[0041] Moreover, the device further comprises:
[0042] a text rectifying module, for performing text rectification on the dialogue text.

Date Regue/Date Received 2022-09-23
[0043] Further, the text rectifying module is specifically employed for:
[0044] term-segmenting the dialogue text, and identifying any erroneous segmented term in the dialogue text;
[0045] obtaining a rectifying term to which the erroneous segmented term corresponds; and
[0046] replacing the erroneous segmented term in the dialogue text with the rectifying term.
[0047] Further, the text expanding module is specifically employed for:
[0048] storing user conversation information with one session as a unit;
[0049] associating with contextual information of the dialogue text, and judging whether the user intent is changed, wherein the contextual information includes an intent identifying result of context of the dialogue text; and
[0050] employing a near-synonym of the context to expand the dialogue text when the user intent is not changed.
[0051] Further, the entity matching module is specifically employed for:
[0052] performing a term-segmenting process on the dialogue text according to a preset dictionary, and obtaining plural segmented terms;
[0053] matching the plural segmented terms with a preset entity lexicon, and obtaining the named entity set; and
[0054] determining an intent knowledge point relevant to the named entity set from a preset knowledge base.
[0055] Further, the semantically predicting module is specifically employed for:
[0056] performing a term-segmenting process on the dialogue text, and obtaining plural segmented terms;
[0057] calculating word vectors of the plural segmented terms, and expressing the word vectors of the plural segmented terms in distribution; and
[0058] inputting the word vectors of the plural segmented terms expressed in distribution to the Date Regue/Date Received 2022-09-23 plural semantically classifying models to output the plural pieces of semantic information.
[0059] Further, the merging and tuning module is specifically employed for:
[0060] determining a final user intent through the Ensemble framework according to the intent knowledge point, the plural pieces of semantic information, and preset weights to which the plural pieces of semantic information respectively correspond.
[0061] In comparison with prior-art technology, the present invention achieves the following advantageous effects:
[0062] 1. When it is impossible to judge whether the dialogue text contains any intent, intent information can be complemented in the user dialogue text by contextually expanding the dialogue text.
[0063] 2. Semantic association among terms is taken into full consideration while features are being extracted by expressing the dialogue text in distributed word vectors and by deep feature mining through a deep learning model.
[0064] 3. An Ensemble framework is employed to merge and tune the entity matching result and the semantically predicting result to obtain the user intent, whereby are achieved to more quickly and accurately identify the user intent, to enhance precision rate in identification of the user intent, and to reduce error and incompleteness in identification of the user intent, so that guarantee is supplied for the customer service robot to correctly answer questions raised by users.
BRIEF DESCRIPTION OF THE DRAWINGS
[0065] To describe the technical solutions in the embodiments of the present invention more clearly, drawings required for use in the description of the embodiments will be briefly introduced below. Apparently, the drawings introduced below are merely directed to some embodiments of the present invention, and it is possible for persons ordinarily skilled in the art to base on these drawings to acquire other drawings without creative effort being Date Regue/Date Received 2022-09-23 spent in the process.
[0066] Fig. 1 is a flowchart illustrating an intent identifying method for application to an intelligent customer service robot;
[0067] Fig. 2 is a flowchart illustrating specific implementation of step Si in Fig. 1;
[0068] Fig. 3 is a flowchart illustrating specific implementation of step S3 in Fig. 1;
[0069] Fig. 4 is a flowchart illustrating specific implementation of step S4 in Fig. 1;
[0070] Fig. 5 is a flowchart illustrating specific implementation of step S5 in Fig. 1; and
[0071] Fig. 6 is a block diagram illustrating an intent identifying device for application to an intelligent customer service robot.
DETAILED DESCRIPTION OF THE INVENTION
[0072] To make more lucid and clear the objectives, technical solutions and advantages of the present invention, the technical solutions in the embodiments of the present invention will be clearly and comprehensively described below in conjunction with accompanying drawings in the embodiments of the present invention. Apparently, the embodiments as described below are merely partial, rather than the entire, embodiments of the present invention. All other embodiments makeable by persons ordinarily skilled in the art on the basis of the embodiments in the present invention without spending any creative effort in the process shall all fall within the protection scope of the present invention.
[0073] An embodiment of the present invention provides an intent identifying method for application to an intelligent customer service robot, the method obtains a user intent by Date Regue/Date Received 2022-09-23 contextually expanding a dialogue text in combination with entity matching identification and semantic information prediction, whereby are made possible to more quickly and accurately identify the user intent, to enhance precision rate in identification of the user intent, and to reduce error and incompleteness in identification of the user intent, so that guarantee is supplied for the customer service robot to correctly answer questions raised by users.
[0074] Understandably, the method provided by the embodiment of the present invention is applicable to any intelligent terminal that includes, but is not limited to, a table computer, a personal computer, a smart mobile phone, and a panel computer, etc.
[0075] As should be additionally noted, the terms "first" and "second" etc. as used in the description of the present invention are merely meant for descriptive purposes, rather than for indicating or implying relative importance. In addition, unless explained otherwise in the description of the present invention, the wordings of "plural" and "a plurality of' denote the meaning of "two or more".
[0076] Embodiment 1
[0077] This embodiment of the present invention provides an intent identifying method for application to an intelligent customer service robot, with reference to what is shown in Fig. 1, the method comprises the following steps.
[0078] SO ¨ obtaining a dialogue text of a user.
[0079] The user dialogue can be a speech or a text, when the dialogue is a speech, the user dialogue can be converted from speech to text before execution of the embodiment of the present invention. Besides, the dialogue text can be a long text, and can also be a short text, to which no specific definition is made in the embodiments of the present invention.

Date Regue/Date Received 2022-09-23
[0080] Si ¨ performing text rectification on the dialogue text.
[0081] With reference to what is shown in Fig. 2, the specific implementation process of step Si can include:
[0082] Sll ¨ term-segmenting the dialogue text, and identifying any erroneous segmented term in the dialogue text; and
[0083] 512 ¨ obtaining a rectifying term to which the erroneous segmented term corresponds, and replacing the erroneous segmented term in the dialogue text with the rectifying term.
[0084] Specifically, the rectifying term to which the erroneous segmented term corresponds can be obtained on the basis of a dictionary of wrong words, specifically speaking, with respect to the erroneous segmented term, a rectification confidence degree to which each term in a self-defined standard lexicon corresponds is calculated, and any term whose rectification confidence degree is greater than a preset threshold is taken to serve as the rectifying term. In addition, it is also possible to employ such modes as edit distance or language model to obtain the rectifying term to which the erroneous segmented term corresponds, while the specific obtaining process is not specifically defined in this embodiment.
[0085] In the above step 512, the rectifying term is mainly used for rectifying any erroneous segmented term in the identified text. For example, if an erroneous segmented term in the identified text "l-fEelti WM (big treeta application case)" is "A-IE (big treeta)", the corresponding rectifying term will be "ttlg (big data)".
[0086] As should be noted, step Si is an optional process.
[0087] In this embodiment, by performing text rectification on the dialogue text, the dialogue text with any phrasal error is converted into correct expression that conforms to field Date Regue/Date Received 2022-09-23 logics, so that the user intent can be more accurately identified.
[0088] S2 ¨ judging whether the dialogue text contains any intent, if yes, executing step S4, if not, terminating the process, if impossible to judge, executing step S3.
[0089] A dialogue text with intent differs from a dialogue text without intent relatively greatly in terms of wording and sentence pattern, it can hence be attempted to directly employ some template matching modes to judge whether the user dialogue is a dialogue with intent or a dialogue without intent.
[0090] The specific implementation process of judging whether the dialogue text contains any intent in step S2 can include:
[0091] searching in the dialogue text whether there is any word group matching a preset template, if yes, deciding that the dialogue text contains intent, if not, deciding that the dialogue text contains no intent, wherein the preset template can be embodied as a regular expression mode.
[0092] Besides, since the text expressed by the user in the customer service robot may be a dialogue text of only several terms, this renders the user expression extremely ambiguous and unclear, when it is impossible to judge whether the user dialogue contains any intent by means of the process of step S2, it is required to contextually expand the dialogue text.
[0093] S3 ¨ contextually expanding the dialogue text, and executing step S4 after step S3.
[0094] With reference to what is shown in Fig. 3, the specific implementation process of step S3 can include the following.
[0095] S31 - storing user conversation information with one session as a unit, associating with contextual information of the dialogue text, and judging whether the user intent is Date Regue/Date Received 2022-09-23 changed, wherein the contextual information includes an intent identifying result of context of the dialogue text.
[0096] Specifically, with respect to a dialogue text difficult to judge whether it contains any intent, it is possible to associate with relevant information of the context with one session as a unit, employ conversation information stored in one session to merge plural dialogue texts previously input by the user, and judge whether the intent is changed.
[0097] S32 - employing a near-synonym of the context to expand the dialogue text when the user intent is not changed.
[0098] Specifically, keywords in the context are extracted to obtain a set of near-synonyms, and the set of near-synonyms is used to expand the dialogue text.
[0099] In this embodiment, the dialogue text impossible to judge whether it contains any intent is contextually expanded, whereby intent information in the dialogue context can be enriched to facilitate subsequent accurate recognition of user intent.
[0100] S4 ¨ identifying a named entity set in the dialogue text, and determining any intent knowledge point associated with the named entity set.
[0101] With reference to what is shown in Fig. 4, the specific implementation process of step S4 can include the following.
[0102] S41 - performing a term-segmenting process on the dialogue text according to a preset dictionary, and obtaining plural segmented terms.
[0103] Specifically, a preset term-segmenting mode is employed to perform a term-segmenting process on the dialogue text according to a preset dictionary to obtain a plurality of Date Regue/Date Received 2022-09-23 characters or character sequences, and characters or character strings with practical semantics are screened out of the character sequences as obtained to serve as a term-segmenting result. The preset term-segmenting mode can be to a term-segmenting mode that is based on character matching, based on sematic understanding, or based on statistics.
[0104] S42 - matching the plural segmented terms with a preset entity lexicon, and obtaining the named entity set.
[0105] Specifically, with respect to each segmented term in plural segmented terms, a matching degree between each named entity in the entity lexicon and this segmented term is calculated, and any named entity whose matching degree is greater than a preset threshold is taken to serve as the named entity matching this segmented term. In addition, it is possible to employ similarities based on Hamming distance to calculate the matching degree between each named entity in the entity lexicon and this segmented term.
[0106] For example, with respect to segmented terms "Shanghai" and "aged 60"
in a user dialogue text, a named entity "region" of "Shanghai" and a named entity "age"
of "aged 60" can be matched and obtained from the entity lexicon.
[0107] S43 - determining an intent knowledge point relevant to the named entity set from a preset knowledge base.
[0108] In this embodiment, plural entities correspond to one intent knowledge point, and the intent knowledge point is used to indicate intent information; normalized intent knowledge points can be collected and sorted in advance according to historically accumulated chat data carried out between customer service and users, corresponding plural entities are then determined for each intent knowledge point, and preliminary prediction of the user intent can be obtained by matching with the entity lexicon.

Date Regue/Date Received 2022-09-23
[0109] Specifically, relevancy between the named entity set and each intent knowledge point in the knowledge base is calculated, and any intent knowledge point in the knowledge base associated with the named entity set is determined.
[0110] S5 ¨ expressing the dialogue text in distributed word vectors, and employing plural pre-trained semantically classifying models for prediction to obtain plural pieces of semantic information.
[0111] With reference to what is shown in Fig. 5, the specific implementation process of step S5 can include the following.
[0112] S51 - performing a term-segmenting process on the dialogue text, and obtaining plural segmented terms.
[0113] Specifically, the specific process of this step is identical with step S41, so it is not redundantly described here.
[0114] S52 - calculating word vectors of the plural segmented terms, and expressing the word vectors of the plural segmented terms in distribution.
[0115] Specifically, word vectors to which term units correspond can be obtained through a Word2Vec model, and the word vectors are expressed in distribution.
[0116] Word2Vec is a specific means of word embedding of natural language processing (NLP), it can characterize semantic information of terms in the mode of word vectors through the learning of texts, i.e., semantically close words are arranged very close in distance within an embedded space through this embedded (low-dimensional) space.
[0117] S53 - inputting the word vectors of the plural segmented terms expressed in distribution Date Regue/Date Received 2022-09-23 to the plural semantically classifying models to output the plural pieces of semantic information.
[0118] The process of training the plural semantically classifying models in step S5 includes the following.
[0119] Q&A data is obtained from the database, the Q&A data is preprocessed, and the preprocessed Q&A data is marked.
[0120] The Q&A data includes information of Q&A pairs accumulated by field human customer service in answering questions raised by users.
[0121] Specifically, the Q&A data can be preprocessed by means of keyword extraction and template rules, partial data without intent is filtered away, and the preprocessed Q&A data is semantically marked by marking personnel.
[0122] For instance, semantic classifications within the field can be particularized into variegated classifications including telephone charges, gift cards, managements of money matters, and Change Treasure, etc., and the Q&A data is marked in advance by marking personnel.
[0123] The marked Q&A data is divided into a training set and a testing set by the mode of offline pretraining.
[0124] Q&A statements in the training set are expressed by distribution of word vectors and are trained in a deep neural network, the testing set is used to test the trained deep neural network, and semantically classifying models whose prediction precisions satisfy a precision threshold are constructed.
[0125] The plural semantically classifying models can be embodied as such various deep-Date Regue/Date Received 2022-09-23 learning semantically classifying models as TextCNN, RNN, LSTM, and CAPsNet, etc., as can be understood by persons skilled in the art, the model training strategy can be a conventional strategy of the corresponding network, to which no explanation is made in this context.
[0126] After deep neural networks have been trained by means of the training set, the testing set can be used to respectively test the plural trained deep neural networks, to appraise prediction precision rates of the deep neural networks, and to adjust network parameters of the deep neural networks in accordance with model prediction precision rate, so as to construct the semantically classifying models whose prediction precisions satisfy the precision threshold.
[0127] In this embodiment of the present invention, semantic association among terms is taken into full consideration while features are being extracted by expressing Q&A
data well marked with semantic classifications by distribution of word vectors and by deep feature mining through deep learning models, to obtain the semantically classifying models. It is hence possible to use the plural semantically classifying models to quickly and accurately predict semantic information with respect to the user dialogue text expressed by distribution of word vectors.
[0128] S6 ¨ employing an Ensemble framework to merge and tune the intent knowledge point and the plural pieces of semantic information, and obtaining a user intent.
[0129] Specifically, the final user intent is determined through the Ensemble framework according to the intent knowledge point, the plural pieces of semantic information, and preset weights to which the plural pieces of semantic information respectively correspond.
[0130] The basic conception of the Ensemble framework is to form a strong classification framework by taking full advantages of different classification algorithms and Date Regue/Date Received 2022-09-23 compensating one's disadvantage by another's advantage. Plural classifiers are merged together to realize the optimum combination.
[0131] In the intent identifying method for application to an intelligent customer service robot provided by the embodiments of the present invention, when it is impossible to judge whether the dialogue text contains any intent, intent information can be complemented in the user dialogue text by contextually expanding the dialogue text; semantic association among terms is taken into full consideration while features are being extracted by expressing the dialogue text in distributed word vectors and by deep feature mining through a deep learning model; an Ensemble framework is employed to merge and tune the entity matching result and the semantically predicting result to obtain the user intent, whereby are achieved to more quickly and accurately identify the user intent, to enhance precision rate in identification of the user intent, and to reduce error and incompleteness in identification of the user intent, so that guarantee is supplied for the customer service robot to correctly answer questions raised by users.
[0132] Embodiment 2
[0133] As realization of the intent identifying method for application to an intelligent customer service robot in Embodiment 1, this embodiment of the present invention provides an intent identifying device for application to an intelligent customer service robot, with reference to what is shown in Fig. 6, the device comprises:
[0134] a text obtaining module 60, for obtaining a dialogue text of a user;
[0135] an intent judging module 62, for judging whether the dialogue text contains any intent, if yes, executing a process of an entity matching module, if not, terminating the process, if impossible to judge, executing a process of a text expanding module 63;
[0136] the text expanding module 63, for contextually expanding the dialogue text, and executing the process of the entity matching module with respect to the expanded dialogue text;

Date Regue/Date Received 2022-09-23
[0137] the entity matching module 64, for identifying a named entity set in the dialogue text, and determining any intent knowledge point associated with the named entity set;
[0138] a semantically predicting module 65, for expressing the dialogue text in distributed word vectors, and employing plural pre-trained semantically classifying models for prediction to obtain plural pieces of semantic information; and
[0139] a merging and tuning module 66, for employing an Ensemble framework to merge and tune the intent knowledge point and the plural pieces of semantic information, and obtaining a user intent.
[0140] Moreover, the device further comprises:
[0141] a text rectifying module 61, for performing text rectification on the dialogue text.
[0142] Further, the text rectifying module 61 is specifically employed for:
[0143] term-segmenting the dialogue text, and identifying any erroneous segmented term in the dialogue text;
[0144] obtaining a rectifying term to which the erroneous segmented term corresponds; and
[0145] replacing the erroneous segmented term in the dialogue text with the rectifying term.
[0146] Further, the text expanding module 63 is specifically employed for:
[0147] storing user conversation information with one session as a unit;
[0148] associating with contextual information of the dialogue text, and judging whether the user intent is changed, wherein the contextual information includes an intent identifying result of context of the dialogue text; and
[0149] employing a near-synonym of the context to expand the dialogue text when the user intent is not changed.
[0150] Further, the entity matching module 64 is specifically employed for:
[0151] performing a term-segmenting process on the dialogue text according to a preset dictionary, and obtaining plural segmented terms;

Date Regue/Date Received 2022-09-23
[0152] matching the plural segmented terms with a preset entity lexicon, and obtaining the named entity set; and
[0153] determining an intent knowledge point relevant to the named entity set from a preset knowledge base.
[0154] Further, the semantically predicting module 65 is specifically employed for:
[0155] performing a term-segmenting process on the dialogue text, and obtaining plural segmented terms;
[0156] calculating word vectors of the plural segmented terms, and expressing the word vectors of the plural segmented terms in distribution; and
[0157] inputting the word vectors of the plural segmented terms expressed in distribution to the plural semantically classifying models to output the plural pieces of semantic information.
[0158] Further, the merging and tuning module 66 is specifically employed for:
[0159] determining a final user intent through the Ensemble framework according to the intent knowledge point, the plural pieces of semantic information, and preset weights to which the plural pieces of semantic information respectively correspond.
[0160] The intent identifying device for application to an intelligent customer service robot provided by this embodiment pertains to the same inventive concept as the intent identifying method for application to an intelligent customer service robot provided by the foregoing embodiment of the present invention, can execute the intent identifying method for application to an intelligent customer service robot provided by any embodiment of the present invention, and possesses functional modules and achieves advantageous effects to which the intent identifying method for application to an intelligent customer service robot corresponds. Technical details not particularized in this embodiment can be inferred from the intent identifying method for application to an intelligent customer service robot provided by the foregoing embodiment of the present invention, and are not redundantly described in this context.

Date Regue/Date Received 2022-09-23
[0161] All the above optional technical solutions can be randomly combined to form optional embodiments of the present invention, and these are not redundantly described on a one-by-one basis.
[0162] As understandable by persons ordinarily skilled in the art, realization of the entire or partial steps of the aforementioned embodiments can be completed by hardware, or by a program instructing relevant hardware, the program can be stored in a computer-readable storage medium, and the storage medium can be a read-only memory, a magnetic disk, or an optical disk, etc.
[0163] What is described above is merely directed to preferred embodiments of the present invention, and is not meant to restrict the present invention. Any modification, equivalent substitution, and improvement makeable within the spirit and principle of the present invention shall all be covered by the protection scope of the present invention.

Date Regue/Date Received 2022-09-23

Claims (14)

CA 03176868 2022-09-23What is claimed is:
1. An intent identifying method for application to an intelligent customer service robot, characterized in comprising the following steps:
SO ¨ obtaining a dialogue text of a user;
S2 ¨ judging whether the dialogue text contains any intent, if yes, executing step S4, if not, terminating the process, if impossible to judge, executing step S3;
S3 ¨ contextually expanding the dialogue text, and executing step S4 after step S3;
S4 ¨ identifying a named entity set in the dialogue text, and determining any intent knowledge point associated with the named entity set;
S5 ¨ expressing the dialogue text in distributed word vectors, and employing plural pre-trained semantically classifying models for prediction to obtain plural pieces of semantic information;
and S6 ¨ employing an Ensemble framework to merge and tune the intent knowledge point and the plural pieces of semantic information, and obtaining a user intent.
2. The method according to Claim 1, characterized in that, prior to step S2, the method further comprises the following step:
S1 ¨ performing text rectification on the dialogue text.
3. The method according to Claim 2, characterized in that step S1 specifically includes:
term-segmenting the dialogue text, and identifying any erroneous segmented term in the dialogue text;
obtaining a rectifying term to which the erroneous segmented term corresponds;
and replacing the erroneous segmented term in the dialogue text with the rectifying term.
4. The method according to any of Claims 1 to 3, characterized in that step S3 specifically Date Regue/Date Received 2022-09-23 includes:
storing user conversation information with one session as a unit;
associating with contextual information of the dialogue text, and judging whether the user intent is changed, wherein the contextual information includes an intent identifying result of context of the dialogue text; and employing a near-synonym of the context to expand the dialogue text when the user intent is not changed.
5. The method according to any of Claims 1 to 3, characterized in that step S4 specifically includes:
performing a term-segmenting process on the dialogue text according to a preset dictionary, and obtaining plural segmented terms;
matching the plural segmented terms with a preset entity lexicon, and obtaining the named entity set; and determining an intent knowledge point relevant to the named entity set from a preset knowledge base.
6. The method according to any of Claims 1 to 3, characterized in that step S5 specifically includes:
performing a term-segmenting process on the dialogue text, and obtaining plural segmented terms;
calculating word vectors of the plural segmented terms, and expressing the word vectors of the plural segmented terms in distribution; and inputting the word vectors of the plural segmented terms expressed in distribution to the plural semantically classifying models to output the plural pieces of semantic information.
7. The method according to any of Claims 1 to 3, characterized in that step S6 specifically includes:
determining a final user intent through the Ensemble framework according to the intent Date Regue/Date Received 2022-09-23 knowledge point, the plural pieces of semantic information, and preset weights to which the plural pieces of semantic information respectively correspond.
8. An intent identifying device for application to an intelligent customer service robot, characterized in comprising:
a text obtaining module, for obtaining a dialogue text of a user;
an intent judging module, for judging whether the dialogue text contains any intent, if yes, executing a process of an entity matching module, if not, terminating the process, if impossible to judge, executing a process of a text expanding module;
the text expanding module, for contextually expanding the dialogue text, and executing the process of the entity matching module with respect to the expanded dialogue text;
the entity matching module, for identifying a named entity set in the dialogue text, and determining any intent knowledge point associated with the named entity set;
a semantically predicting module, for expressing the dialogue text in distributed word vectors, and employing plural pre-trained semantically classifying models for prediction to obtain plural pieces of semantic information; and a merging and tuning module, for employing an Ensemble framework to merge and tune the intent knowledge point and the plural pieces of semantic information, and obtaining a user intent.
9. The device according to Claim 8, characterized in that the device further comprises:
a text rectifying module, for performing text rectification on the dialogue text.
10. The device according to Claim 9, characterized in that the text rectifying module is specifically employed for:
term-segmenting the dialogue text, and identifying any erroneous segmented term in the dialogue text;
obtaining a rectifying term to which the erroneous segmented term corresponds;
and replacing the erroneous segmented term in the dialogue text with the rectifying term.

Date Regue/Date Received 2022-09-23
11. The device according to any of Claims 8 to 10, characterized in that the text expanding module is specifically employed for:
storing user conversation information with one session as a unit;
associating with contextual information of the dialogue text, and judging whether the user intent is changed, wherein the contextual information includes an intent identifying result of context of the dialogue text; and employing a near-synonym of the context to expand the dialogue text when the user intent is not changed.
12. The device according to any of Claims 8 to 10, characterized in that the entity matching module is specifically employed for:
performing a term-segmenting process on the dialogue text according to a preset dictionary, and obtaining plural segmented terms;
matching the plural segmented terms with a preset entity lexicon, and obtaining the named entity set; and determining an intent knowledge point relevant to the named entity set from a preset knowledge base.
13. The device according to anyone of Claims 8 to 10, characterized in that the semantically predicting module is specifically employed for:
performing a term-segmenting process on the dialogue text, and obtaining plural segmented terms;
calculating word vectors of the plural segmented terms, and expressing the word vectors of the plural segmented terms in distribution; and inputting the word vectors of the plural segmented terms expressed in distribution to the plural semantically classifying models to output the plural pieces of semantic information.
14. The device according to any of Claims 8 to 10, characterized in that the merging and tuning Date Regue/Date Received 2022-09-23 module is specifically employed for:
determining a final user intent through the Ensemble framework according to the intent knowledge point, the plural pieces of semantic information, and preset weights to which the plural pieces of semantic information respectively correspond.

Date Regue/Date Received 2022-09-23
CA3176868A 2019-04-09 2019-09-29 Intent identifying method and device for application to intelligent customer service robot Pending CA3176868A1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201910281032.6 2019-04-09
CN201910281032.6A CN110096570B (en) 2019-04-09 2019-04-09 Intention identification method and device applied to intelligent customer service robot
PCT/CN2019/109122 WO2020206957A1 (en) 2019-04-09 2019-09-29 Intention recognition method and device for intelligent customer service robot

Publications (1)

Publication Number Publication Date
CA3176868A1 true CA3176868A1 (en) 2020-10-15

Family

ID=67444578

Family Applications (1)

Application Number Title Priority Date Filing Date
CA3176868A Pending CA3176868A1 (en) 2019-04-09 2019-09-29 Intent identifying method and device for application to intelligent customer service robot

Country Status (3)

Country Link
CN (1) CN110096570B (en)
CA (1) CA3176868A1 (en)
WO (1) WO2020206957A1 (en)

Families Citing this family (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096570B (en) * 2019-04-09 2021-03-30 苏宁易购集团股份有限公司 Intention identification method and device applied to intelligent customer service robot
CN110457709A (en) * 2019-08-16 2019-11-15 北京一链数云科技有限公司 Outgoing call dialog process method, apparatus and server
CN110569331A (en) * 2019-09-04 2019-12-13 出门问问信息科技有限公司 Context-based relevance prediction method and device and storage equipment
CN112487179A (en) * 2019-09-11 2021-03-12 珠海格力电器股份有限公司 Spoken language semantic understanding method, device and system
CN110717026B (en) * 2019-10-08 2023-09-22 腾讯科技(深圳)有限公司 Text information identification method, man-machine conversation method and related devices
CN112668333A (en) * 2019-10-15 2021-04-16 华为技术有限公司 Named entity recognition method and device, and computer-readable storage medium
CN110888968A (en) * 2019-10-15 2020-03-17 浙江省北大信息技术高等研究院 Customer service dialogue intention classification method and device, electronic equipment and medium
CN111026843B (en) * 2019-12-02 2023-03-14 北京智乐瑟维科技有限公司 Artificial intelligent voice outbound method, system and storage medium
CN111091826B (en) * 2019-12-13 2023-09-01 中博信息技术研究院有限公司 Intelligent voice robot system based on deep learning and finite state machine
CN111078855A (en) * 2019-12-19 2020-04-28 联想(北京)有限公司 Information processing method, information processing device, electronic equipment and storage medium
CN111160002B (en) * 2019-12-27 2022-03-01 北京百度网讯科技有限公司 Method and device for analyzing abnormal information in output spoken language understanding
CN111325037B (en) * 2020-03-05 2022-03-29 苏宁云计算有限公司 Text intention recognition method and device, computer equipment and storage medium
CN111462752B (en) * 2020-04-01 2023-10-13 北京思特奇信息技术股份有限公司 Attention mechanism, feature embedding and BI-LSTM (business-to-business) based customer intention recognition method
CN111460122A (en) * 2020-04-03 2020-07-28 成都晓多科技有限公司 Size recognition method and system based on deep learning
CN112148862B (en) * 2020-10-15 2024-01-30 腾讯科技(深圳)有限公司 Method and device for identifying problem intention, storage medium and electronic equipment
CN112256854A (en) * 2020-11-05 2021-01-22 云南电网有限责任公司 Intelligent AI conversation method and device based on AI natural language understanding
CN112364622A (en) * 2020-11-11 2021-02-12 杭州大搜车汽车服务有限公司 Dialog text analysis method, dialog text analysis device, electronic device and storage medium
CN112562665A (en) * 2020-11-30 2021-03-26 武汉海昌信息技术有限公司 Voice recognition method, storage medium and system based on information interaction
CN112541792A (en) * 2020-12-22 2021-03-23 作业帮教育科技(北京)有限公司 Data processing method and device for mining user requirements and electronic equipment
CN112487827A (en) * 2020-12-28 2021-03-12 科大讯飞华南人工智能研究院(广州)有限公司 Question answering method, electronic equipment and storage device
CN112364149B (en) * 2021-01-12 2021-04-23 广州云趣信息科技有限公司 User question obtaining method and device and electronic equipment
CN113076403A (en) * 2021-04-21 2021-07-06 深圳追一科技有限公司 User message processing method and related equipment
CN113282737B (en) * 2021-07-21 2021-11-12 中信建投证券股份有限公司 Man-machine cooperation intelligent customer service dialogue method and device
CN113569578B (en) * 2021-08-13 2024-03-08 上海淇玥信息技术有限公司 User intention recognition method and device and computer equipment
CN114118080B (en) * 2021-11-10 2022-09-13 北京深维智信科技有限公司 Method and system for automatically identifying client intention from sales session
CN114118060B (en) * 2021-11-10 2022-09-27 北京深维智信科技有限公司 Method and system for automatically identifying key events from sales session
CN114706945A (en) * 2022-03-24 2022-07-05 马上消费金融股份有限公司 Intention recognition method and device, electronic equipment and storage medium
CN115130465A (en) * 2022-07-18 2022-09-30 浙大城市学院 Method and system for identifying knowledge graph entity annotation error on document data set
CN116468024B (en) * 2023-04-13 2023-09-29 重庆明度科技有限责任公司 AI context generation method

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110036385A (en) * 2009-10-01 2011-04-07 삼성전자주식회사 Apparatus for analyzing intention of user and method thereof
US9183310B2 (en) * 2012-06-12 2015-11-10 Microsoft Technology Licensing, Llc Disambiguating intents within search engine result pages
CN105487663B (en) * 2015-11-30 2018-09-11 北京光年无限科技有限公司 A kind of intension recognizing method and system towards intelligent robot
US20180052885A1 (en) * 2016-08-16 2018-02-22 Ebay Inc. Generating next user prompts in an intelligent online personal assistant multi-turn dialog
CN107193865B (en) * 2017-04-06 2020-03-10 上海奔影网络科技有限公司 Natural language intention understanding method and device in man-machine interaction
CN108363690A (en) * 2018-02-08 2018-08-03 北京十三科技有限公司 Dialog semantics Intention Anticipation method based on neural network and learning training method
CN108829757B (en) * 2018-05-28 2022-01-28 广州麦优网络科技有限公司 Intelligent service method, server and storage medium for chat robot
CN108763510B (en) * 2018-05-30 2021-10-15 北京五八信息技术有限公司 Intention recognition method, device, equipment and storage medium
CN108874782B (en) * 2018-06-29 2019-04-26 北京寻领科技有限公司 A kind of more wheel dialogue management methods of level attention LSTM and knowledge mapping
CN109241251B (en) * 2018-07-27 2022-05-27 众安信息技术服务有限公司 Conversation interaction method
CN109461039A (en) * 2018-08-28 2019-03-12 厦门快商通信息技术有限公司 A kind of text handling method and intelligent customer service method
CN110096570B (en) * 2019-04-09 2021-03-30 苏宁易购集团股份有限公司 Intention identification method and device applied to intelligent customer service robot

Also Published As

Publication number Publication date
WO2020206957A1 (en) 2020-10-15
CN110096570A (en) 2019-08-06
CN110096570B (en) 2021-03-30

Similar Documents

Publication Publication Date Title
CA3176868A1 (en) Intent identifying method and device for application to intelligent customer service robot
CN109151218B (en) Call voice quality inspection method and device, computer equipment and storage medium
US10540965B2 (en) Semantic re-ranking of NLU results in conversational dialogue applications
CN110377911B (en) Method and device for identifying intention under dialog framework
CN108304372B (en) Entity extraction method and device, computer equipment and storage medium
JP5831951B2 (en) Dialog system, redundant message elimination method, and redundant message elimination program
CN111739516A (en) Speech recognition system for intelligent customer service call
US6763331B2 (en) Sentence recognition apparatus, sentence recognition method, program, and medium
CN112468659B (en) Quality evaluation method, device, equipment and storage medium applied to telephone customer service
US11526512B1 (en) Rewriting queries
CN113094578A (en) Deep learning-based content recommendation method, device, equipment and storage medium
CN112732871A (en) Multi-label classification method for acquiring client intention label by robot
CN112417128A (en) Method and device for recommending dialect, computer equipment and storage medium
CN109582788A (en) Comment spam training, recognition methods, device, equipment and readable storage medium storing program for executing
CN113157859A (en) Event detection method based on upper concept information
CN114007131A (en) Video monitoring method and device and related equipment
CN110717021A (en) Input text and related device for obtaining artificial intelligence interview
CN112632248A (en) Question answering method, device, computer equipment and storage medium
CN115526171A (en) Intention identification method, device, equipment and computer readable storage medium
CN113220862A (en) Standard question recognition method and device, computer equipment and storage medium
CN113591489A (en) Voice interaction method and device and related equipment
CN110852082B (en) Synonym determination method and device
CN115905187B (en) Intelligent proposition system oriented to cloud computing engineering technician authentication
CN114528851B (en) Reply sentence determination method, reply sentence determination device, electronic equipment and storage medium
CN113591463B (en) Intention recognition method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
EEER Examination request

Effective date: 20220923

EEER Examination request

Effective date: 20220923

EEER Examination request

Effective date: 20220923

EEER Examination request

Effective date: 20220923

EEER Examination request

Effective date: 20220923

EEER Examination request

Effective date: 20220923

EEER Examination request

Effective date: 20220923